]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Get rid of lll_robust_dead.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
887865fc
RM
12014-07-10 Roland McGrath <roland@hack.frob.com>
2
c0c6bac9
RM
3 * nptl/pthread_create.c (start_thread): Use atomic_or and
4 lll_futex_wake directly rather than lll_robust_dead.
5 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6 (lll_robust_dead): Macro removed.
7 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
9 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
12 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
13 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
14 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
15 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
16 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
17 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
18 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
19 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
20 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
21
887865fc
RM
22 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
23 Use atomic_compare_and_exchange_val_acq directly rather than
24 lll_robust_trylock.
25 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
26 (__lll_robust_trylock, lll_robust_trylock): Removed.
27 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
28 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
29 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
30 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
31 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
32 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
33 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
34 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
35 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
36 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
37 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
38 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
39 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
40 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
41
58536726
FW
422014-07-02 Florian Weimer <fweimer@redhat.com>
43
44 * manual/locale.texi (Locale Names): New section documenting
45 locale name syntax. Adjust menu and node chaining accordingly.
46 (Choosing Locale): Reference Locale Names, Locale Categories.
47 Mention setting LC_ALL=C. Reflect that name syntax is now
48 documented.
49 (Locale Categories): New section title. Reference Locale Names.
50 LC_ALL is an environment variable, but not a category.
51 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
52 description, now in Locale Name. Reference that section. Locale
53 name syntax is now documented.
54
4e8f95a0
FW
552014-07-02 Florian Weimer <fweimer@redhat.com>
56
57 [BZ #17137]
58 * locale/findlocale.c (name_present, valid_locale_name): New
59 functions.
60 (_nl_find_locale): Use the loc_name variable to store name
61 candidates. Call name_present and valid_locale_name to check and
62 validate locale names. Return an error if the locale is invalid.
63
d1836456
FW
642014-07-02 Florian Weimer <fweimer@redhat.com>
65
66 * locale/setlocale.c (setlocale): Use strdup for allocating
67 composite name copy.
68
d69b7f5a
SP
692014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
70
888c679b
SP
71 Sync up with gnulib.
72 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
73 [!_LIBC && ENABLE_NLS]: Include gettext.h.
74 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
75 and _GL_ARG_NONNULL.
76 [USE_UNLOCKED_IO]: Include unlocked-io.h.
77 [!_LIBC]: Include code for Windows and Cygwin.
78 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
79 Include prototype for int strerror_r.
80 [!_LIBC] (is_open): New function.
81 (flush_stdout): New function.
82 (print_errno_message): Use it.
83 (error): Likewise.
84 (error_at_line): Likewise.
85 (error_tail) Add function attribute macros. Use
86 __builtin_expect.
87
180e0e4b
SP
88 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
89
d22f1fe2
SP
90 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
91
12f2254b
SP
92 * io/ftw.c: Include sys/param.h unconditionally.
93
c3c7c360
SP
94 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
95
d62aa75a
SP
96 [BZ #17125]
97 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
98 libc_freeres_ptr.
99 (freecache): New function to free CACHE on exit.
100
d69b7f5a
SP
101 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
102 initialization.
103
5efe06a1
DM
1042014-07-09 David S. Miller <davem@davemloft.net>
105
106 * sysdeps/sparc/fpu/libm-test-ulps: Update.
107
7000d82e
DM
108 * sysdeps/sparc/nptl/internaltypes.h: Delete.
109 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
110 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
111 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
112 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
113 * sysdeps/sparc/nptl/sem_init.c: Likewise.
114 * sysdeps/sparc/nptl/sem_post.c: Likewise.
115 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
116 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
117 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
118 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
119 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
120 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
121
c213442d
AS
1222014-07-09 Andreas Schwab <schwab@suse.de>
123
4a2552c3
AS
124 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
125 output.
126 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
127 (do_test): Likewise.
128
c213442d
AS
129 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
130
82374e65
WN
1312014-07-09 Will Newton <will.newton@linaro.org>
132
133 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
134 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
135 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
136 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
137 * sysdeps/hppa/start.S (_start): Likewise.
138
6680738a
SP
1392014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
140
6ee3eab4
SP
141 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
142
6680738a
SP
143 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
144 defined.
145
80b5c505
SP
1462014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
147
e35c53e3
SP
148 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
149 after checking that it is non-NULL.
150
80b5c505
SP
151 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
152
91f4b564
AZ
1532014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
154
27b75f56
AZ
155 * sysdeps/powerpc/memmove.c: Remove file.
156 * sysdeps/powerpc/powerpc32/power4/memcopy.h
157 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
158 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
159 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
160 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
161 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
162 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
163 string memmove instead of removed powerpc one.
164
e7f95bb5
AZ
165 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
166 [weak_alias]: Fix compiler warning due trailing data.
167 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
168 [weak_alias]: Likewise.
169 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
170 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
171
91f4b564
AZ
172 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
173 (__libc_ifunc_impl_list): Add memmove functions.
174
7c33f1e5
SP
1752014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
176
177 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
178 Remove code.
179 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
180 Likewise
181 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
182 Likewise
183 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
184 Likewise
185 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
186 Likewise
187 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
188 Likewise
189 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
190 Likewise
191 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
192 Likewise
193 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
194 Likewise
195 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
196 Likewise
197 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
198 Likewise
199 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
200 Likewise
201 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
202 Likewise
203 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
204 Likewise
205 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
206 Likewise
207 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
208 Likewise
209 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
210 Likewise
211
3f17b03b
AZ
2122014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
213
87868c24
AZ
214 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
215 to avoid alignment traps in non-cacheable memory.
216 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
217
07aedd78
AZ
218 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
219 multiarch objects.
220 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
221 file: multiarch power7 memmove.
222 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
223 multiarch default memmove.
224 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
225 multiarch memove for powerpc32/power4.
226
17762f66
AZ
227 * string/bcopy.c: Use full path to include memmove.c.
228 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
229 multiarch objects.
230 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
231 bcopy for powerpc64.
232 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
233 bcopy for powerpc64.
234 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
235 and memmove implementations.
236 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
237 optimized multiarch memmove for POWER7/powerpc64.
238 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
239 default multiarch memmove for powerpc64.
240 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
241 multiarch for powerpc64.
242 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
243 for POWER7/powerpc64.
244 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
245 memmove for POWER7/powerpc64.
246
d6f68bbe
AZ
247 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
248 glibc default one.
249
3f17b03b
AZ
250 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
251 __ELF_NATIVE_CLASS equal to 64.
252
08192659
RM
2532014-07-07 Roland McGrath <roland@hack.frob.com>
254
f4c4021b
RM
255 * sysdeps/nptl/lowlevellock.h: File removed.
256
f083450f
RM
257 * NEWS: NPTL is no longer an add-on!
258 * nptl/internaltypes.h: Moved ...
259 * sysdeps/nptl/internaltypes.h: ... here.
260 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
261 * sysdeps/nptl/fork.c: Likewise.
262 * sysdeps/nptl/gai_misc.h: Likewise.
263 * sysdeps/nptl/librt-cancellation.c: Likewise.
264 * sysdeps/nptl/jmp-unwind.c: Likewise.
265 * sysdeps/nptl/setxid.h: Likewise.
266 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
267 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
268 * sysdeps/unix/sysv/linux/arm/Implies: New file.
269 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
270 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
271 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
272 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
273 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
274 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
275 * sysdeps/unix/sysv/linux/mips/Implies: New file.
276 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
277 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
278 * sysdeps/unix/sysv/linux/sh/Implies: New file.
279 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
280 * sysdeps/unix/sysv/linux/tile/Implies: New file.
281 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
282 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
283 * nptl/Makeconfig: Moved ...
284 * sysdeps/nptl/Makeconfig: ... here.
285 * nptl/configure: File removed.
286 * nptl/ANNOUNCE: File removed.
287 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
288 * sysdeps/unix/sysv/linux/configure: Regenerated.
289
08192659
RM
290 * nptl/Makefile (routines): Add libc_pthread_init,
291 libc_multiple_threads, register-atfork and unregister-atfork.
292 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
293 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
294 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
295 pthread-pi-defines.sym, structsem.sym.
296 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
297 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
298 [$(subdir) = nptl] (tests): Add tst-setgetname.
299 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
300 * sysdeps/unix/sysv/linux/sigaction.c: Just include
301 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
302 [!LIBC_SIGACTION]: Remove aliases.
303 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
304 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
305 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
306 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
307 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
308 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
309 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
310 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
311 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
312 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
313 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
314 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
315 __libc_allocate_rtsig_private.
316 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
317 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
318 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
319 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
320 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
321 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
322 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
323 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
324 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
325 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
326 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
327 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
328 * nptl/internaltypes.h: ... here.
329 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
330 * sysdeps/nptl/jmp-unwind.c: ... here.
331 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
332 * nptl/libc-lowlevellock.c: ... here.
333 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
334 * nptl/libc_multiple_threads.c: ... here.
335 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
336 * nptl/libc_pthread_init.c: ... here.
337 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
338 * nptl/lowlevelbarrier.sym: ... here.
339 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
340 * nptl/lowlevelcond.sym: ... here.
341 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
342 * nptl/lowlevellock.c: ... here.
343 * nptl/lowlevellock.h: Moved ...
344 * sysdeps/nptl/lowlevellock.h: ... here.
345 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
346 * nptl/lowlevelrobustlock.c: ... here.
347 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
348 * nptl/lowlevelrobustlock.sym: ... here.
349 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
350 * nptl/lowlevelrwlock.sym: ... here.
351 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
352 * nptl/pt-fork.c: ... here.
353 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
354 * nptl/pthread-pi-defines.sym: ... here.
355 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
356 * nptl/pthread_attr_getaffinity.c: ... here.
357 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
358 * nptl/pthread_attr_setaffinity.c: ... here.
359 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
360 * nptl/pthread_mutex_cond_lock.c: ... here.
361 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
362 Update #include.
363 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
364 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
365 * nptl/pthread_once.c: ... here, replacing old file.
366 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
367 * nptl/pthread_yield.c: ... here.
368 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
369 * nptl/register-atfork.c: ... here.
370 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
371 * nptl/sem_post.c: ... here.
372 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
373 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
374 * nptl/sem_timedwait.c: ... here.
375 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
376 * nptl/sem_trywait.c: ... here.
377 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
378 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
379 * nptl/sem_wait.c: ... here.
380 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
381 * nptl/structsem.sym: ... here.
382 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
383 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
384 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
385 * nptl/unregister-atfork.c: ... here.
386 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
387 * nptl/unwindbuf.sym: ... here.
388 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
389 * sysdeps/nptl/fork.c: ... here.
390 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
391 * sysdeps/nptl/fork.h: ... here.
392 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
393 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
394 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
395 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
396 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
397 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
398 * sysdeps/unix/sysv/linux/getpid.c: ... here.
399 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
400 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
401 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
402 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
403 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
404 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
405 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
406 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
407 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
408 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
409 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
410 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
411 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
412 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
413 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
414 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
415 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
416 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
417 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
418 * sysdeps/unix/sysv/linux/raise.c: ... here.
419 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
420 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
421 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
422 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
423 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
424 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
425 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
426 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
427 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
428 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
429 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
430 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
431 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
432 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
433 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
434
96baf6ff
SP
4352014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
436
437 * sysdeps/generic/memcopy.h: Add comment for
438 MEMCPY_OK_FOR_FWD_MEMMOVE.
439
6b7b14b2
WN
4402014-07-04 Will Newton <will.newton@linaro.org>
441
1570a72b
WN
442 * string/memchr.c: Merge from gnulib.
443 [_LIBC]: Remove conditionals.
444 (__ptr_t): Remove define.
445 (LONG_MAX_32_BITS): Likewise.
446 (LONG_MAX): Likewise.
447 (MEMCHR): Use ANSI prototype and optimize algorithm.
448
6b7b14b2
WN
449 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
450
38851324
SP
4512014-07-03 Roland McGrath <roland@hack.frob.com>
452
3d9eb57c
RM
453 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
454 (lll_futex_timed_wait_bitset): Fix syscall argument count.
455
78b984ae
RM
456 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
457 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
458 in a bare environment with no <stdlib.h> installed.
459 * sysdeps/nptl/configure: Regenerated.
460
2d5976a5
RM
461 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
462
c1f5acd4
RM
463 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
464 AC_EGREP_CPP for kernel header checks, so they only succeed if
465 including <linux/version.h> actually works right.
466 * sysdeps/unix/sysv/linux/configure: Regenerated.
467
4d614fe5
RM
468 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
469 value so it's not diagnosed as unused.
470
38851324
SP
471 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
472 thing) with "ifeq ($(subdir),rt)".
473
b3ec00e5
RH
4742014-07-03 Richard Henderson <rth@redhat.com>
475
69862e25
RH
476 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
477 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
478 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
479
d5e16ade
RH
480 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
481 (math_force_eval): New.
482
ca7b945c
RH
483 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
484 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
485
cd1175a3
RH
486 * sysdeps/alpha/fpu/s_round.c: Remove file.
487 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
488
b3ec00e5
RH
489 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
490 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
491 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
492 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
493 (_dl_start, print_statistics): Likewise.
494 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
495 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
496
497 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
498 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
499 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
500 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
501 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
502 (HP_SMALL_TIMING_AVAIL): Define.
503 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
504 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
505 (HP_SMALL_TIMING_AVAIL): Define.
506 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
507 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
508
509 * sysdeps/aarch64/hp-timing.h: New file.
510
511 * sysdeps/generic/hp-timing.h: Remove dead comment.
512 * sysdeps/generic/hp-timing-common.h: New file.
513 * sysdeps/alpha/hp-timing.h: Include it.
514 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
515 * sysdeps/i386/i686/hp-timing.h: Likewise.
516 * sysdeps/ia64/hp-timing.h: Likewise.
517 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
518 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
519 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
520 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
521 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
522 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
523 (hp_timing_t): New.
524
525 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
526 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
527 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
528 * elf/rtld.c (_dl_start_final): Likewise.
529 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
530 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
531 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
532 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
533 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
534 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
535 (HP_TIMING_DIFF_INIT): Remove.
536 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
537 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
538 (HP_TIMING_DIFF_INIT): Remove.
539 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
540 * sysdeps/i386/i686/hp-timing.c: Remove file.
541 * sysdeps/x86_64/hp-timing.c: Remove file.
542 * sysdeps/ia64/hp-timing.c: Remove file.
543 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
544 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
545 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
546 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
547
548 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
549 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
550 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
551 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
552 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
553 (HP_TIMING_ACCUM): Remove.
554 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
555 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
556 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
557
558 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
559 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
560 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
561 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
562 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
563 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
564 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
565 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
566
567 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
568
225f410f
MR
5692014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
570
571 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
572
3247f285
SP
5732014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
574
575 Sync up with gettext.
576 * intl/loadmsgcat.c: Define O_BINARY if not defined.
577 [_MSC_VER]: Include malloc.h
578 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
579 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
580 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
581 TEMP_FAILURE_RETRY. Cast return of alloca.
582 [!_LIBC] Call gl_rwlock_init.
583 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
584
d12704c7
SP
5852014-07-02 Roland McGrath <roland@hack.frob.com>
586
587 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
588 before checking its value.
589
99f8dc92
SP
5902014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
591
05fdac77
SP
592 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
593
99f8dc92
SP
594 * debug/memcpy_chk.c: Don't include pagecopy.h.
595 * debug/mempcpy_chk.c: Likewise.
596 * string/memcpy.c: Likewise.
597 * string/memmove.c: Likewise.
598 * sysdeps/powerpc/memmove.c: Likewise.
599 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
600 definition of PAGE_COPY_FWD_MAYBE here...
601 * sysdeps/generic/pagecopy.h: ... from here.
602 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
603
bc8ea385
VR
6042014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
605 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
606
607 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
608 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
609 optimizations.
610 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
611 (__libc_ifunc_impl_list): Likewise.
612 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
613 multiarch strcat for PPC64.
614 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
615 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
616
fe5f34e4
RM
6172014-07-02 Roland McGrath <roland@hack.frob.com>
618
619 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
620
256aa665
SP
6212014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
622
d4eb8195
SP
623 * intl/loadmsgcat.c: Remove declaration of
624 get_sysdep_segment_value.
625 (get_sysdep_segment_value): Use ISO C style.
626 (_nl_load_domain): Use ISO C style. Get rid of redundant
627 semicolon. Fix typo and formatting in comment.
628 (_nl_unload_domain): Use ISO C style.
629
256aa665
SP
630 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
631
b100f9aa
WN
6322014-07-02 Will Newton <will.newton@linaro.org>
633
634 * malloc/obstack.c: Merge from gnulib master.
635 [HAVE_CONFIG_H]: Remove conditional code.
636 [!_LIBC]: Include config.h.
637 [!ELIDE_CODE]: Don't include inttypes.h, include
638 stdint.h unconditionally.
639 (print_and_abort): Mark as _Noreturn.
640 (_obstack_allocated_p): Mark as __attribute_pure__.
641 (obstack_free): Rename to __obstack_free.
642 [!__attribute__]: Remove conditional code.
643 * malloc/obstack.h: Merge from gnulib master.
644 [__cplusplus]: Move conditional down.
645 [!__attribute_pure__]: Define __attribute_pure__ here
646 if it is not already defined.
647 (_obstack_memory_used): Mark as __attribute_pure__.
648 [!__obstack_free]: Define as obstack_free.
649 [__GNUC__]: Remove check for ancient NeXT gcc.
650
c4c41244
PE
6512014-07-02 Will Newton <will.newton@linaro.org>
652 Paul Eggert <eggert@cs.ucla.edu>
653
654 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
655
e1e041c4
SP
6562014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
657
658 * resolv/gethnamaddr.c: Add comment warning that the file is
659 not maintained.
660
ccf431ff
CD
6612014-07-01 Carlos O'Donell <carlos@redhat.com>
662
d34570a6
CD
663 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
664 entries.
665
ccf431ff
CD
666 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
667 entry for aio_cancel and aio_cancel64.
668 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
669 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
670 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
671 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
672 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
673 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
674 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
675 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
676 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
677 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
678 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
679 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
680 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
681
ca06321d
RM
6822014-07-01 Roland McGrath <roland@hack.frob.com>
683
684 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
685 * nptl/pthread_mutex_lock.c: Likewise.
686 * nptl/pthread_mutex_timedlock.c: Likewise.
687 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
688
a1ac3184
RH
6892014-07-01 Richard henderson <rth@redhat.com>
690
631021e0
RH
691 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
692 (__isnan, __isnanl): Remove.
693 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
694
a1ac3184
RH
695 * sysdeps/alpha/fpu/libm-test-ulps: Update.
696
0c1d731f
SL
6972014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
698
699 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
700
76985d3e
SP
7012014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
702
703 * resolv/nss_dns/dns-host.c (getanswer_r)
704 [MULTI_PTRS_ARE_ALIASES]: Remove code.
705
b0cb3096
JM
7062014-07-01 Joseph Myers <joseph@codesourcery.com>
707
708 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
709 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
710 undefine.
711 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
712 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
713
4d76cb39
RM
7142014-07-01 Roland McGrath <roland@hack.frob.com>
715
716 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
717 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
718
719 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
720 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
721
722 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
723 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
724 ... here.
725 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
726 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
727
728 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
729 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
730 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
731 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
732
733 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
734 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
735 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
736 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
737 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
738 Moved ...
739 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
740 ... here.
741 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
742 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
743 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
744 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
745 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
746 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
747 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
748 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
749 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
750 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
751 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
752 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
753 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
754 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
755 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
756 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
757 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
758 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
759 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
760 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
761 ... here.
762 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
763 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
764 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
765 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
766 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
767 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
768 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
769 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
770
0cdcad17
DH
7712014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
772
773 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
774 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
775 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
776 Add sysdep.
777
9b71d0e3
AZ
7782014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
779
780 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
781
665390c2
JM
7822014-06-30 Joseph Myers <joseph@codesourcery.com>
783
ae05a9d7
JM
784 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
785 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
786
a7672a2f
JM
787 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
788
665390c2
JM
789 * sysdeps/arm/libm-test-ulps: Regenerated.
790
d7a05d07
MR
7912014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
792 Roland McGrath <roland@hack.frob.com>
793
794 * test-skeleton.c (signal_handler): Kill the whole process group
795 before killing the child individually.
796 (main): Report any failure on `setpgid'.
797
46f1d8a6
RM
7982014-06-30 Roland McGrath <roland@hack.frob.com>
799
800 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
801 from _TLS_H to _ARM_NPTL_TLS_H.
802 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
803 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
804
9c37ec0b
JM
8052014-06-30 Joseph Myers <joseph@codesourcery.com>
806
ce9c5b3e
JM
807 [BZ #16539]
808 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
809 (__expm1l): Return argument unchanged when small but not
810 subnormal.
811
3a6e9887
JM
812 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
813 include macro name.
814 (_FP_UNPACK_RAW_1_P): Likewise.
815 (_FP_PACK_RAW_1): Likewise.
816 (_FP_PACK_RAW_1_P): Likewise.
817 (_FP_MUL_MEAT_1_wide): Likewise.
818 (_FP_MUL_MEAT_DW_1_hard): Likewise.
819 (_FP_MUL_MEAT_1_hard): Likewise.
820 (_FP_DIV_MEAT_1_imm): Likewise.
821 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
822 (_FP_DIV_MEAT_1_udiv): Likewise.
823 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
824 (_FP_UNPACK_RAW_2): Likewise.
825 (_FP_UNPACK_RAW_2_P): Likewise.
826 (_FP_PACK_RAW_2): Likewise.
827 (_FP_PACK_RAW_2_P): Likewise.
828 (_FP_MUL_MEAT_DW_2_wide): Likewise.
829 (_FP_MUL_MEAT_2_wide): Likewise.
830 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
831 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
832 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
833 (_FP_MUL_MEAT_2_gmp): Likewise.
834 (_FP_DIV_MEAT_2_udiv): Likewise.
835 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
836 (_FP_FRAC_SRL_4): Likewise.
837 (_FP_FRAC_SRST_4): Likewise.
838 (_FP_FRAC_SRS_4): Likewise.
839 (_FP_UNPACK_RAW_4): Likewise.
840 (_FP_UNPACK_RAW_4_P): Likewise.
841 (_FP_PACK_RAW_4): Likewise.
842 (_FP_PACK_RAW_4_P): Likewise.
843 (_FP_MUL_MEAT_DW_4_wide): Likewise.
844 (_FP_MUL_MEAT_4_wide): Likewise.
845 (_FP_MUL_MEAT_4_gmp): Likewise.
846 (umul_ppppmnnn): Likewise.
847 (_FP_DIV_MEAT_4_udiv): Likewise.
848 (__FP_FRAC_ADD_4): Likewise.
849 (__FP_FRAC_SUB_3): Likewise.
850 (__FP_FRAC_SUB_4): Likewise.
851 (__FP_FRAC_DEC_3): Likewise.
852 (__FP_FRAC_DEC_4): Likewise.
853 (__FP_FRAC_ADDI_4): Likewise.
854 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
855 (_FP_FRAC_SRL_8): Likewise.
856 (_FP_FRAC_SRS_8): Likewise.
857
9c37ec0b
JM
858 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
859 include macro name.
860 (FP_UNPACK_RAW_EP): Likewise.
861 (FP_PACK_RAW_E): Likewise.
862 (FP_PACK_RAW_EP): Likewise.
863 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
864 (_FP_ISSIGNAN): Likewise.
865 (_FP_ADD_INTERNAL): Likewise.
866 (_FP_FMA): Likewise.
867 (_FP_CMP): Likewise.
868 (_FP_SQRT): Likewise.
869 (_FP_TO_INT): Likewise.
870 (_FP_FROM_INT): Likewise.
871 (FP_EXTEND): Likewise.
872 (_FP_DIV_MEAT_N_loop): Likewise.
873
2125f674
MR
8742014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
875
876 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
877 throughout.
878
edea4028
JM
8792014-06-29 Joseph Myers <joseph@codesourcery.com>
880
881 [BZ #17097]
882 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
883 result with correct sign in case of exponents that produce
884 overflow except for X very close to 1.
885
dd0ba018
PE
8862014-06-28 Paul Eggert <eggert@cs.ucla.edu>
887
888 mktime: merge #if/#ifdef usage from glibc
889 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
890 as that works with both Glibc's and Gnulib's style.
891 See thread starting at Siddhesh Poyarekar's bug report at:
892 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
893
64df73c2
SP
8942014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
895
896 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
897 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
898 * sysdeps/tile/tilegx/memmove.c: Remove file.
899
f1eafb41
JM
9002014-06-27 Joseph Myers <joseph@codesourcery.com>
901
902 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
903 abi-name definition.
904 * scripts/soversions.awk: Do not handle or generate ABI lines.
905 * shlib-versions: Remove ABI entries.
906 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
907 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
908
58eb0862
RM
9092014-06-27 Roland McGrath <roland@hack.frob.com>
910
37caf178
RM
911 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
912 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
913 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
914 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
915 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
916 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
917 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
918 Moved ...
919 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
920 ... here.
921 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
922 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
923 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
924 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
925 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
926 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
927 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
928 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
929 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
930 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
931 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
932 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
933 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
934 Moved ...
935 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
936 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
937 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
938 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
939 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
940 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
941 Moved ...
942 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
943 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
944 Moved ...
945 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
946 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
947 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
948 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
949 Moved ...
950 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
951 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
952 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
953 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
954 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
955 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
956 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
957 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
958 Moved ...
959 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
960 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
961 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
962 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
963 Moved ...
964 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
965 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
966 Moved ...
967 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
968 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
969 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
970 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
971 Moved ...
972 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
973 ... here.
974 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
975 Identical file removed.
976 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
977 Moved ...
978 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
979 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
980 Identical file removed.
981 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
982 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
983 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
984 Moved ...
985 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
986 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
987 Identical file removed.
988 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
989 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
990 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
991 Identical file removed.
992 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
993 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
994 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
995 Identical file removed.
996 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
997 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
998 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
999 Identical file removed.
1000 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
1001 Moved ...
1002 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
1003 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
1004 Identical file removed.
1005 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
1006 Moved ...
1007 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
1008 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
1009 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
1010 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
1011 Identical file removed.
1012 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
1013 Moved ...
1014 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
1015 ... here.
1016 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
1017 Identical file removed.
1018 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
1019 Moved ...
1020 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
1021 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
1022 Identical file removed.
1023 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
1024 Moved ...
1025 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
1026 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
1027 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
1028 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
1029 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
1030 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
1031 Moved ...
1032 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
1033 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
1034 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
1035
58eb0862
RM
1036 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
1037 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
1038 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
1039 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
1040 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
1041
6f12d062
AS
10422014-06-27 Arjun Shankar <arjun.is@lostca.se>
1043
1044 [BZ #17092]
1045 * nscd/nscd.c (monitor_child): Return exit status of child
1046 instead of return value from wait syscall.
1047
be254932
JM
10482014-06-27 Joseph Myers <joseph@codesourcery.com>
1049
cb403c34
JM
1050 * configure.ac (libc_commonpagesize): Remove variable.
1051 (libc_relro_required): Likewise.
1052 (libc_cv_z_relro): Remove configure test.
1053 * configure: Regenerated.
1054 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
1055 variable.
1056 (libc_relro_required): Likewise.
1057 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
1058 (libc_relro_required): Likewise.
1059 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
1060 (libc_relro_required): Likewise.
1061 * sysdeps/arm/preconfigure: Regenerated.
1062 * sysdeps/ia64/preconfigure: Remove file.
1063 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
1064 variable.
1065 (libc_relro_required): Likewise.
1066
be254932
JM
1067 [BZ #16561]
1068 [BZ #16562]
1069 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
1070 (__ieee754_yn): Set FE_TONEAREST mode internally and then
1071 recompute overflowing results in original rounding mode.
1072 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
1073 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
1074 recompute overflowing results in original rounding mode.
1075 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
1076 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1077 recompute overflowing results in original rounding mode.
1078 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
1079 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1080 recompute overflowing results in original rounding mode.
1081 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
1082 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1083 recompute overflowing results in original rounding mode.
1084 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
1085 (libc_feholdsetround_ctx): New macro.
1086 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
1087 * sysdeps/i386/fpu/libm-test-ulps: Update.
1088 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
1089
b351d85a
JM
10902014-06-26 Joseph Myers <joseph@codesourcery.com>
1091
1092 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
1093 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
1094 corresponding .cpsetup call.
1095
3cb4de47
RM
10962014-06-26 Roland McGrath <roland@hack.frob.com>
1097
1098 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
1099 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
1100 * sysdeps/arm/Makefile [$(subdir) = csu]
1101 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
1102 (static-only-routines): Add aeabi_read_tp here.
1103 (shared-only-routines): Add libc-aeabi_read_tp here.
1104 (CFLAGS-libc-start.c): Add -fexceptions here.
1105 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
1106 (sysdep_routines, static-only-routines, shared-only-routines):
1107 Don't add to these here.
1108 (CFLAGS-libc-start.c): Likewise.
1109
1110 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
1111 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1112 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
1113 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1114 * sysdeps/arm/Makefile [$(subdir) = rt]
1115 (librt-sysdep_routines, librt-shared-only-routines):
1116 Append rt-aeabi_unwind_cpp_pr1 here.
1117 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
1118 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
1119 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
1120 (libpthread-sysdep_routines, libpthread-shared-only-routines):
1121 Append nptl-aeabi_unwind_cpp_pr1 here.
1122 (tests): Filter out tst-cleanupx4 here.
1123 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
1124 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
1125 Don't do those here.
1126
354426bb
JM
11272014-06-26 Joseph Myers <joseph@codesourcery.com>
1128
1129 * scripts/list-sources.sh: Do not handle ports specially.
1130
28b0a8c9
RM
11312014-06-26 Roland McGrath <roland@hack.frob.com>
1132
a3dd035d
RM
1133 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
1134 * sysdeps/arm/feupdateenv.c: Likewise.
1135
28b0a8c9
RM
1136 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
1137
e66a8203
JM
11382014-06-26 Joseph Myers <joseph@codesourcery.com>
1139
1140 * manual/texinfo.tex: Update to version 2014-05-05.10 with
1141 trailing whitespace removed.
1142 * scripts/config.guess: Update to version 2014-03-23.
1143 * scripts/config.sub: Update to version 2014-05-01
1144 * scripts/install-sh: Update to version 2013-12-25.23.
1145 * scripts/move-if-change: Update from gnulib.
1146
74171115
SP
11472014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1148
b97c9ce5
SP
1149 * debug/memmove_chk.c: Remove pagecopy.h include.
1150
4000f892
SP
11512014-06-26 Paul Eggert <eggert@cs.ucla.edu>
1152
74171115
SP
1153 * time/mktime.c (leapyear): Remove inline keyword. The code is now
1154 identical to gnulib mktime.
1155
a8779c28
JM
11562014-06-26 Joseph Myers <joseph@codesourcery.com>
1157
e64708de
JM
1158 * configure.ac: Do not test for machine being rs6000. Do not test
1159 for powerpc*-*soft.
1160 * configure: Regenerated.
1161
a8779c28
JM
1162 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
1163 test.
1164 * configure: Regenerated.
1165 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
1166 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
1167 Remove configure test.
1168 * sysdeps/arm/configure: Regenerated.
1169 * sysdeps/nptl/configure.ac: Do not check
1170 libc_cv_asm_cfi_directives.
1171 * sysdeps/nptl/configure: Regenerated.
1172 * sysdeps/x86_64/nptl/configure.ac: Remove file.
1173 * sysdeps/x86_64/nptl/configure: Remove generated file.
1174 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
1175 unconditional.
1176 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
1177
2aac0a86
SP
11782014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1179
059bf913
SP
1180 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
1181 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
1182 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
1183 it is defined.
1184
4cf5b6d0
SP
1185 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
1186 instead of whether it is defined.
1187 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
1188 * sysdeps/hppa/dl-machine.h: Likewise.
1189 * sysdeps/ia64/dl-machine.h: Likewise.
1190 * sysdeps/m68k/dl-machine.h: Likewise.
1191 * sysdeps/microblaze/dl-machine.h: Likewise.
1192 * sysdeps/mips/dl-machine.: Likewise.
1193 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
1194 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1195 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1196 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1197 * sysdeps/sh/dl-machine.h: Likewise.
1198 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1199 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1200 * sysdeps/tile/dl-machine.h: Likewise.
1201 * sysdeps/x86_64/dl-machine.h: Likewise.
1202
2aac0a86
SP
1203 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
1204 code.
1205 (verify_persistent_db): Likewise.
1206
6ad2df0b
RM
12072014-06-26 Roland McGrath <roland@hack.frob.com>
1208
d8a483f3
RM
1209 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
1210 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
1211 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
1212 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
1213 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1214 Moved ...
1215 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
1216 ... here.
1217 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
1218 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
1219 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
1220 Identical file removed.
1221 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
1222 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
1223 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
1224 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
1225 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
1226 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
1227 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
1228 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
1229 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
1230 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
1231 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1232 Moved ...
1233 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
1234 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
1235 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
1236 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
1237 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
1238 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1239 Moved ...
1240 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
1241 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
1242 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
1243 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
1244 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
1245 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1246 Identical file removed.
1247 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
1248 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
1249 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
1250 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
1251 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1252 Moved ...
1253 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
1254 ... here.
1255 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
1256 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
1257 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
1258 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
1259 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
1260 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
1261 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
1262 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
1263 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
1264 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
1265 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1266 Moved ...
1267 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
1268 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
1269 Moved ...
1270 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
1271 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
1272 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
1273 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1274 Moved ...
1275 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
1276 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
1277 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
1278
52ae23b4
RM
1279 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
1280 folded into ...
1281 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
1282 * sysdeps/unix/sysv/linux/s390/Versions
1283 (libpthread: GLIBC_2.19): New version set.
1284 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
1285 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
1286 (librt: GLIBC_2.3.3): New version set.
1287 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
1288 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
1289 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
1290 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
1291 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
1292 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
1293 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
1294 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
1295 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
1296 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
1297 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
1298 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
1299 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
1300 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
1301 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
1302 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
1303 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
1304 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
1305 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
1306 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
1307 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
1308 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
1309 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
1310 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
1311 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
1312 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
1313 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
1314 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
1315 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
1316 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
1317 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
1318 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
1319 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
1320 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
1321 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
1322 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
1323 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
1324 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
1325 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
1326 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
1327 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
1328 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
1329 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
1330 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
1331 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
1332
39507e4a
RM
1333 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
1334 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
1335 (__libc_vfork): Define the function under this name.
1336 [!NOT_IN_libc] (__vfork): Make this an alias.
1337 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1338 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
1339 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
1340 (__libc_vfork): Define the function under this name.
1341 [!NOT_IN_libc] (__vfork): Make this an alias.
1342 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1343 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
1344 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
1345 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
1346 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
1347 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1348
e549ee56
RM
1349 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
1350 code that was previously under [RESET_PID].
1351 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
1352 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
1353 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
1354
6ad2df0b
RM
1355 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
1356 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
1357 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
1358 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
1359 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
1360 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
1361 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
1362 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
1363 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
1364 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
1365 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
1366 Moved ...
1367 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
1368 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
1369 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
1370 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
1371 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
1372 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
1373 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
1374 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
1375 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
1376 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
1377 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
1378 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
1379 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
1380 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
1381 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
1382 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
1383 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
1384 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
1385 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
1386 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
1387 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
1388 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
1389 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
1390 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
1391 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
1392 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
1393 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
1394 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
1395 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
1396
7c1c1d8e
RM
13972014-06-25 Roland McGrath <roland@hack.frob.com>
1398
1399 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
1400 that was previously under [RESET_PID].
1401 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
1402
3e239be6
JM
14032014-06-25 Joseph Myers <joseph@codesourcery.com>
1404
74385da5
JM
1405 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
1406 not undefine and redefine.
1407 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
1408 [O_CLOEXEC]: Make code unconditional.
1409 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
1410 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
1411 <kernel-features.h>.
1412 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
1413 conditional variable definition.
1414 (shm_open) [O_CLOEXEC]: Make code unconditional.
1415 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
1416 code.
1417
c2570a0b
JM
1418 * configure.ac (USE_REGPARMS): Don't define here.
1419 * configure: Regenerated.
1420 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
1421 * sysdeps/i386/configure: Regenerated.
1422
11b076bb
JM
1423 * nptl/createthread.c: Don't include kernel-features.h.
1424 * nptl/pthread_cancel.c: Likewise.
1425 * nptl/pthread_condattr_setclock.c: Likewise.
1426 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
1427 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
1428 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
1429 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
1430 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
1431 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
1432 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1433 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
1434 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1435 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
1436 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
1437 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
1438 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
1439 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
1440 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
1441 * nscd/gai.c: Likewise.
1442 * nss/nss_db/db-open.c: Likewise.
1443 * sysdeps/generic/ldsodefs.h: Likewise.
1444 * sysdeps/sh/nptl/tls.h: Likewise.
1445 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1446 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
1447 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
1448 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
1449 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
1450 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1451 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
1452 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1453 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1454 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
1455 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
1456 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1457 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
1458 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
1459 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
1460 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
1461 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
1462 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
1463 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
1464 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
1465 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
1466 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
1467 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
1468 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
1469 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
1470 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
1471 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
1472 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
1473 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1474 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
1475 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
1476 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1477 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1478 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1479 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1480 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1481 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1482 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1483 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
1484 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1485 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1486 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
1487 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
1488 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1489 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
1490 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
1491 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
1492 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
1493 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
1494 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1495 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1496 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1497 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1498 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1499 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
1500 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1501 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1502 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
1503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
1505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
1506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
1507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
1508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
1509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
1510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
1511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
1514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
1515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
1516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
1517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
1523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
1525 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1526 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1527 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
1528 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1529 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1530 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
1531 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
1532 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
1533 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
1534 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
1535 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
1536 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
1537 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1538 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1539 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1540 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1541 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1542 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
1543 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
1544 * sysdeps/unix/sysv/linux/system.c: Likewise.
1545 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
1546 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
1547 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1548 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1549 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1550 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1551 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1552
92072d57
JM
1553 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
1554 * configure: Regenerated.
1555 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
1556
3e239be6
JM
1557 * configure.ac (base_machine): Do not set specially for particular
1558 machines here.
1559 * configure: Regenerated.
1560 * sysdeps/powerpc/preconfigure: Move machine and base_machine
1561 settings from configure.ac.
1562 * sysdeps/i386/preconfigure: New file.
1563 * sysdeps/s390/preconfigure: Likewise.
1564 * sysdeps/sh/preconfigure: Likewise.
1565 * sysdeps/sparc/preconfigure: Likewise.
1566
06d50baa
RM
15672014-06-25 Roland McGrath <roland@hack.frob.com>
1568
74836003
RM
1569 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
1570 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
1571 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
1572 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
1573 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
1574 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
1575 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
1576 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
1577 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
1578 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
1579 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
1580 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
1581 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
1582 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
1583 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
1584 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
1585 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
1586 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
1587 * sysdeps/sparc/sparc64/Makefile: ... appended here.
1588
1589 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
1590 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
1591 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
1592 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
1593 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
1594 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
1595 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
1596 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
1597 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
1598 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
1599 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
1600 * sysdeps/sparc/sparc32/sem_post.c: ... here.
1601 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
1602 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
1603 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
1604 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
1605 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
1606 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
1607 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
1608 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
1609 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
1610 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
1611 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
1612 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
1613 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
1614 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
1615 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
1616 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
1617 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
1618 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
1619 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
1620 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
1621 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
1622 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
1623 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
1624 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
1625 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
1626 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
1627
06d50baa
RM
1628 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
1629 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
1630 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
1631 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
1632 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1633 Moved ...
1634 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
1635 ... here.
1636 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
1637 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
1638 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
1639 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
1640 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
1641 Moved ...
1642 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
1643 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
1644 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
1645 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
1646 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
1647 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
1648 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
1649 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1650 Moved ...
1651 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
1652 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1653 Moved ...
1654 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
1655 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
1656 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
1657 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1658 Moved ...
1659 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
1660 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
1661 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
1662 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
1663 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
1664 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
1665 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
1666 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
1667 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
1668 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1669 Moved ...
1670 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
1671 ... here.
1672 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
1673 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
1674 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
1675 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
1676 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
1677 Moved ...
1678 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
1679 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
1680 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
1681 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
1682 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
1683 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
1684 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
1685 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1686 Moved ...
1687 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
1688 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1689 Moved ...
1690 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
1691 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
1692 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
1693 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1694 Moved ...
1695 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
1696 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
1697 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
1698 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
1699 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
1700
a4ccbc9b
JM
17012014-06-25 Joseph Myers <joseph@codesourcery.com>
1702
0828edbf
JM
1703 * timezone/checktab.awk: Update from tzcode 2014e.
1704 * timezone/private.h: Likewise.
1705 * timezone/tzfile.h: Likewise.
1706 * timezone/zdump.c: Likewise.
1707 * timezone/zic.c: Likewise.
1708
a4ccbc9b
JM
1709 * sysdeps/unix/sysv/linux/kernel-features.h
1710 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
1711 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
1712 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
1713 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1714 Remove conditional code.
1715
9aea0cb8
WN
17162014-06-25 Will Newton <will.newton@linaro.org>
1717
1718 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
1719 (_dl_arm_cap_flags): Add HWCAP2 values.
1720 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
1721 (_DL_HWCAP_COUNT): Increase to 37.
1722 (_DL_HWCAP_LAST): New define.
1723 (_DL_HWCAP2_LAST): New define.
1724 (_dl_procinfo): Add support for printing
1725 AT_HWCAP2 entries.
1726 (_dl_string_hwcap): Use _dl_hwcap_string.
1727
6eaa65ce
AZ
17282014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1729
1730 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1731
0f5b7185
JM
17322014-06-25 Joseph Myers <joseph@codesourcery.com>
1733
cfd2ea50
JM
1734 * README: Do not mention ports directory.
1735
cecf2ed4
JM
1736 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
1737 Remove macro.
1738 * sysdeps/unix/sysv/linux/futimes.c: Do not include
1739 <kernel-features.h>.
1740 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
1741 conditional variable definition.
1742 (__futimes): Update comment.
1743 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
1744 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
1745
a638de82
JM
1746 [BZ #16560]
1747 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
1748 arguments close to 0.
1749 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
1750 Likewise.
1751 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
1752 Likewise.
1753 * math/auto-libm-test-in: Add more tests of exp10.
1754 * math/auto-libm-test-out: Regenerated.
1755 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1756
0f5b7185
JM
1757 * sysdeps/unix/sysv/linux/kernel-features.h
1758 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
1759 * sysdeps/unix/sysv/linux/readv.c: Do not include
1760 <kernel-features.h>.
1761 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1762 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1763 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1764 unconditional.
1765 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1766 conditional code.
1767 * sysdeps/unix/sysv/linux/writev.c: Do not include
1768 <kernel-features.h>.
1769 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1770 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1771 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1772 unconditional.
1773 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1774 conditional code.
1775
c7aec4be
WN
17762014-06-25 Will Newton <will.newton@linaro.org>
1777
1778 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
1779 comment changes throughout the file. Remove checks
1780 for HAVE_*_H definitions that are not required.
1781 (__gen_tempname): Call abort if an unknown kind value is
1782 passed.
1783
c5241f95
AS
17842014-06-25 Andreas Schwab <schwab@suse.de>
1785
1786 [BZ #17086]
1787 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
1788 scalbln, scalblnf, scalblnl in libc.
1789
911422da
SP
17902014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1791
1792 [BZ #17086]
1793 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
1794 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1795 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1796
0d749bbe
RM
17972014-06-24 Roland McGrath <roland@hack.frob.com>
1798
1799 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
1800 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
1801 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
1802 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
1803 Update #include.
1804 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
1805 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
1806 Update #include.
1807 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
1808 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
1809 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
1810 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
1811 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
1812 * sysdeps/x86/bits/pthreadtypes.h: ... here.
1813 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
1814 * sysdeps/x86/bits/semaphore.h: ... here.
1815 * sysdeps/x86/nptl/elide.h: Moved ...
1816 * sysdeps/x86/elide.h: ... here.
1817 * sysdeps/x86_64/nptl/Implies: File removed.
1818 * sysdeps/i386/nptl/Implies: File removed.
1819
0ea5d373
JM
18202014-06-24 Joseph Myers <joseph@codesourcery.com>
1821
4060283d
JM
1822 [BZ #16539]
1823 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
1824 return the argument for normal arguments with exponent below -64.
1825 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1826 Likewise.
1827 * math/auto-libm-test-in: Add another test of expm1.
1828 * math/auto-libm-test-out: Regenerated.
1829
e7dd3c8c
JM
1830 [BZ #16287]
1831 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
1832 calling __erfcl for arguments at least 16.
1833 * math/auto-libm-test-in: Add more tests of erf.
1834 * math/auto-libm-test-out: Regenerated.
1835
0ea5d373
JM
1836 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
1837 individual architectures.
1838 * sysdeps/unix/sysv/linux/configure: Regenerated.
1839 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
1840 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
1841 * sysdeps/unix/sysv/linux/powerpc/configure.ac
1842 (ldd_rewrite_script): Define variable.
1843 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
1845 file.
1846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
1847 generated file.
1848 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
1849 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
1850 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
1851 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
1852 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
1853 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
1854 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
1855 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
1856
2307e126
SP
18572014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1858
1859 [BZ #17084]
1860 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
1861 Rename member __data.d to __data.__elision_data.
1862
c0a4ed77
W
18632014-06-24 Wilco <wdijkstr@arm.com>
1864
1865 * NEWS: Add 16918 to fixed bug list.
1866
b8c00573
W
18672014-06-24 Wilco <wdijkstr@arm.com>
1868
1869 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
1870
b5570d92
W
18712014-06-24 Wilco <wdijkstr@arm.com>
1872
1873 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
1874 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
1875 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
1876 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
1877 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
1878 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
1879 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
1880 Use _FPU_MASK_RM.
1881
947bdca2
W
18822014-06-24 Wilco <wdijkstr@arm.com>
1883
1884 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
1885
00f669ed
W
18862014-06-24 Wilco <wdijkstr@arm.com>
1887
1888 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
1889 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
1890 * sysdeps/arm/fesetround.c (fesetround): Remove space.
1891 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
1892
db59bad3
W
18932014-06-24 Wilco <wdijkstr@arm.com>
1894
1895 [BZ #16918]
1896 * sysdeps/arm/feupdateenv.c (feupdateenv):
1897 Rewrite to reduce FPSCR accesses and fix return value.
1898
001f7b77
W
18992014-06-24 Wilco <wdijkstr@arm.com>
1900
1901 * sysdeps/arm/fclrexcpt.c (feclearexcept):
1902 Optimize to avoid unnecessary FPSCR writes.
1903 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
1904 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
1905 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
1906 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
1907
4841e6a6
W
19082014-06-24 Wilco <wdijkstr@arm.com>
1909
1910 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
1911 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
1912 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
1913 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
1914 Call libc_fetestexcept_vfp.
1915 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
1916 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
1917 __SOFTFP__ ifdef so that they can be built for softfp.
1918
0813022c
SP
19192014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1920
08e5862f
SP
1921 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
1922 argument type signed char.
1923
0813022c
SP
1924 * Makerules (check-abi): Dump diff of symlist if the test
1925 fails.
1926
3fc7236a
RM
19272014-06-23 Roland McGrath <roland@hack.frob.com>
1928
aba8ef95
RM
1929 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
1930 using abort.
1931
3fc7236a
RM
1932 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1933 Remove unused variable ST.
1934
4da6db51
JM
19352014-06-23 Joseph Myers <joseph@codesourcery.com>
1936
4648909d
JM
1937 [BZ #16354]
1938 [BZ #17061]
1939 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
1940 small arguments before calling __expm1.
1941 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
1942 small arguments before calling __expm1f.
1943 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
1944 small arguments before calling __expm1l.
1945 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1946 Likewise.
1947 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
1948 * math/auto-libm-test-in: Add more cosh tests. Do not allow
1949 spurious underflow for some cosh tests.
1950 * math/auto-libm-test-out: Regenerated.
1951 * sysdeps/i386/fpu/libm-test-ulps: Update.
1952
46a3d3c7
JM
1953 [BZ #17050]
1954 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
1955 (__ieee754_y1): Set errno if return value overflows.
1956 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
1957 (__ieee754_y1f): Set errno if return value overflows.
1958 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
1959 (__ieee754_y1l): Set errno if return value overflows.
1960 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
1961 (__ieee754_y1l): Set errno if return value overflows.
1962 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
1963 * math/auto-libm-test-out: Regenerated.
1964
863893ec
JM
1965 * math/gen-auto-libm-tests.c: Document use of
1966 ignore-zero-inf-sign.
1967 (input_flag_type): Add value flag_ignore_zero_inf_sign.
1968 (input_flags): Add ignore-zero-inf-sign.
1969 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
1970 * math/gen-libm-test.pl (generate_testfile): Handle
1971 ignore-zero-inf-sign.
1972 * math/auto-libm-test-in: Mark some cpow tests with
1973 ignore-zero-inf-sign and some with xfail-rounding.
1974 * math/auto-libm-test-out: Regenerated.
1975 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
1976 * sysdeps/i386/fpu/libm-test-ulps: Update.
1977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1978
4da6db51
JM
1979 [BZ #16315]
1980 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
1981 overflowing or underflowing operations take place with sign of
1982 result.
1983 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1984 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1985 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
1986 (__ieee754_pow): Recompute overflowing and underflowing results in
1987 original rounding mode.
1988 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
1989 (__powl_helper): Allow negative argument X and scale negated value
1990 as needed. Avoid passing value outside [-1, 1] to f2xm1.
1991 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
1992 overflowing or underflowing operations take place with sign of
1993 result.
1994 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
1995 Include <math.h>.
1996 * math/auto-libm-test-in: Add more tests of pow.
1997 * math/auto-libm-test-out: Regenerated.
1998 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
1999 (pow_tonearest_test_data): Remove.
2000 (pow_test_tonearest): Likewise.
2001 (pow_towardzero_test_data): Likewise.
2002 (pow_test_towardzero): Likewise.
2003 (pow_downward_test_data): Likewise.
2004 (pow_test_downward): Likewise.
2005 (pow_upward_test_data): Likewise.
2006 (pow_test_upward): Likewise.
2007 (main): Don't call removed functions.
2008 * sysdeps/i386/fpu/libm-test-ulps: Update.
2009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2010
5686b236
RM
20112014-06-23 Roland McGrath <roland@hack.frob.com>
2012
2013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
2014 Moved ...
2015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
2016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2017 Moved ...
2018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
2019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2020 Moved ...
2021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
2022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2023 Moved ...
2024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
2025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2026 File removed.
2027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2028 File removed.
2029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
2030 File removed.
2031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
2032 File removed.
2033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
2034 File removed.
2035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
2036 File removed.
2037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
2038 File removed.
2039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2040 File removed.
2041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
2042 File removed.
2043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2044 File removed.
2045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
2046 File removed.
2047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
2048 File removed.
2049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
2050 Moved ...
2051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
2052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
2053 Moved ...
2054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
2055 ... here.
2056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
2057 Moved ...
2058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
2059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
2060 Moved ...
2061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
2062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
2063 Moved ...
2064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
2065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
2066 Moved ...
2067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
2068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
2069 Moved ...
2070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
2071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
2072 Moved ...
2073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
2074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
2075 Moved ...
2076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
2077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
2078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
2079 ... here.
2080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
2081 Moved ...
2082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
2083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2084 Moved ...
2085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2086 ... here.
2087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
2088 Moved ...
2089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2090 ... here.
2091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2092 Moved ...
2093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2094 ... here.
2095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2096 Moved ...
2097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
2098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
2099 Moved ...
2100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
2101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
2102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
2103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
2104 Moved ...
2105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
2106 ... here.
2107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2108 Moved ...
2109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
2110 ... here.
2111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
2112 Moved ...
2113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
2114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2115 Moved ...
2116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
2117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
2118 Moved ...
2119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
2120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2121 Moved ...
2122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
2123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
2124 Moved ...
2125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
2126 ... here.
2127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2128 Moved ...
2129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
2130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
2131 Moved ...
2132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
2133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2134 Moved ...
2135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
2136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
2137 Moved ...
2138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
2139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
2140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
2141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
2142 Moved ...
2143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
2144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2145 Moved ...
2146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
2147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
2148 Moved ...
2149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
2150 ... here.
2151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2152 Moved ...
2153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
2154 ... here.
2155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
2156 Moved ...
2157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
2158 ... here.
2159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2160 Moved ...
2161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
2162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
2163 Moved ...
2164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
2165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2166 Moved ...
2167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
2168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
2169 Moved ...
2170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
2171 ... here.
2172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2173 Moved ...
2174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
2175 ... here.
2176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
2177 Moved ...
2178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
2179 ... here.
2180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2181 Moved ...
2182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
2183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2184 Moved ...
2185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
2186
e6d90d67
WD
21872014-06-23 Will Newton <will.newton@linaro.org>
2188 Wilco <wdijkstr@arm.com>
2189
2190 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
2191 implementation. Include get-rounding-mode.h.
2192 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
2193 [!libc_feholdsetround_noex_ctx]: Define
2194 libc_feholdsetround_noex_ctx.
2195 [!libc_feholdsetround_noexf_ctx]: Define
2196 libc_feholdsetround_noexf_ctx.
2197 [!libc_feholdsetround_noexl_ctx]: Define
2198 libc_feholdsetround_noexl_ctx.
2199 (libc_feholdsetround_ctx): New function.
2200 (libc_feresetround_ctx): New function.
2201 (libc_feholdsetround_noex_ctx): New function.
2202 (libc_feresetround_noex_ctx): New function.
2203
d42df555
RM
22042014-06-23 Roland McGrath <roland@hack.frob.com>
2205
88a46474
RM
2206 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
2207 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
2208 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
2209 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
2210 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
2211 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
2212
15bed472
RM
2213 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
2214 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
2215 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
2216 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
2217 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
2218 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
2219 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
2220 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
2221 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
2222 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
2223 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
2224 Moved ...
2225 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
2226 ... here.
2227 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
2228 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
2229 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
2230 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
2231 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
2232 Moved ...
2233 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
2234 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
2235 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
2236 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
2237 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
2238 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
2239 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
2240 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
2241 Moved ...
2242 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
2243 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
2244 Moved ...
2245 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
2246 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
2247 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
2248 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
2249 Moved ...
2250 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
2251 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
2252 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
2253 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
2254 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
2255 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
2256 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
2257 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
2258 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
2259 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
2260 Moved ...
2261 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
2262 ... here.
2263 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
2264 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
2265 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
2266 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
2267 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
2268 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
2269 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
2270 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
2271 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
2272 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
2273 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
2274 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
2275 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
2276 Moved ...
2277 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
2278 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
2279 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
2280 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
2281 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
2282 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
2283 Moved ...
2284 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
2285 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
2286 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
2287 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
2288 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
2289
d42df555
RM
2290 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
2291 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
2292 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
2293 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
2294 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
2295 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
2296 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
2297 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
2298 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
2299 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
2300 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
2301 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
2302 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
2303 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
2304 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
2305 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
2306 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
2307 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
2308 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
2309 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
2310 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
2311 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
2312 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
2313 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
2314 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
2315 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
2316 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
2317 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
2318
76e5216e
JM
23192014-06-23 Joseph Myers <joseph@codesourcery.com>
2320
2321 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
2322 (FALLOC_FL_COLLAPSE_RANGE): New macro.
2323 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
2324 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
2325 (IPV6_PMTUDISC_INTERFACE): Likewise.
2326 (IPV6_PMTUDISC_OMIT): Likewise.
2327
7a81cbcc
AS
23282014-06-23 Andreas Schwab <schwab@suse.de>
2329
2330 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
2331 Remove unused errout label.
2332
db224009
AZ
23332014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2334
2335 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
2336 macro: hardware supports Vector Crypto instructions.
2337
f393b4aa
WN
23382014-06-23 Will Newton <will.newton@linaro.org>
2339
cc7d0447
WN
2340 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
2341 rather than __builtin_expect.
2342
d6d06225
WN
2343 * elf/dl-lookup.c (undefined_msg): Remove variable.
2344 (_dl_lookup_symbol_x): Replace undefined_msg with string
2345 literal.
2346
f393b4aa
WN
2347 * elf/dl-lookup.c (do_lookup_unique): New function.
2348 (do_lookup_x): Move STB_GNU_UNIQUE handling code
2349 to a separate function.
2350
ac60763e
AS
23512014-06-23 Andreas Schwab <schwab@suse.de>
2352
2353 [BZ #17079]
2354 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
2355 before reading the next line.
2356
c5c13355
WN
23572014-06-23 Will Newton <will.newton@linaro.org>
2358
2359 * test-skeleton.c (signal_handler): Use printf and %m
2360 rather than perror. Use printf rather than fprintf to
2361 stderr. Use puts rather than fputs to stderr.
2362 (main): Likewise.
2363
bd3675f9
LC
23642014-06-22 Ludovic Courtès <ludo@gnu.org>
2365
2366 * nscd/nscd.c (thread_info_t): Remove typedef.
2367 (thread_info): Remove variable.
2368
d03efb2f
AM
23692014-06-21 Allan McRae <allan@archlinux.org>
2370
2371 * NEWS: Mention CVE-2014-4043.
2372
bc4a86fa
RM
23732014-06-20 Roland McGrath <roland@hack.frob.com>
2374
dc9a54f8
RM
2375 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
2376 * nptl/smp.h: ... here.
2377
bd7022c4
RM
2378 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
2379
26ffd5e6
RM
2380 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
2381 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
2382 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
2383 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
2384
93a6d082
RM
2385 * nptl/allocatestack.c: Include <stack-aliasing.h>.
2386 * nptl/stack-aliasing.h: New file.
2387 * sysdeps/i386/i686/stack-aliasing.h: New file.
2388 * sysdeps/i386/i686/nptl/Makefile: File removed.
2389 * sysdeps/x86_64/stack-aliasing.h: New file.
2390 * sysdeps/x86_64/nptl/Makefile
2391 (CFLAGS-pthread_create.c): Variable removed.
2392
bc4a86fa
RM
2393 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
2394 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
2395 old file.
2396 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
2397 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
2398 old file.
2399
2272ffc1
JM
24002014-06-21 Joseph Myers <joseph@codesourcery.com>
2401
2402 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2403 (__ASSUME_SIGFRAME_V2): Remove macro.
2404 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
2405 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
2406 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
2407 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
2408 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
2409 Declare as function. Remove conditional macro definitions.
2410 (__default_rt_sa_restorer): Likewise.
2411 (__default_sa_restorer_v1): Remove declaration.
2412 (__default_sa_restorer_v2): Likewise.
2413 (__default_rt_sa_restorer_v1): Likewise.
2414 (__default_rt_sa_restorer_v2): Likewise.
2415 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
2416 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
2417 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
2418
4b88139b
RM
24192014-06-20 Roland McGrath <roland@hack.frob.com>
2420
2421 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
2422 (libpthread-routines): Add sysdep.
2423 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
2424 * sysdeps/unix/sysv/linux/sparc/Versions
2425 (libpthread: GLIBC_2.3.3): New version set.
2426 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
2427 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
2428 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
2429 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
2430 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
2431 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
2432 Moved ...
2433 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
2434 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
2435 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
2436 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
2437 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
2438 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
2439 * sysdeps/sparc/nptl/sem_init.c: ... here.
2440 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
2441 * sysdeps/sparc/nptl/sem_post.c: ... here.
2442 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
2443 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
2444 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
2445 * sysdeps/sparc/nptl/sem_wait.c: ... here.
2446 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
2447 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
2448 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
2449 (libpthread-routines): Add cpu_relax.
2450 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
2451 File removed.
2452 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
2453 (librt: GLIBC_2.3.3): New version set.
2454 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
2455 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
2456 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
2457 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
2458 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
2459 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
2460 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
2461 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
2462 Moved ...
2463 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
2464 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
2465 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
2466 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
2467 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
2468 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
2469 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
2470 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
2471 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
2472 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
2473 Moved ...
2474 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
2475 Update #include.
2476 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
2477 Moved ...
2478 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
2479 Update #include.
2480 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
2481 Moved ...
2482 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
2483 Update #include.
2484 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
2485 Moved ...
2486 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
2487 Update #include.
2488 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
2489 Moved ...
2490 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
2491 Update #include.
2492 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
2493 Moved ...
2494 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
2495 Update #include.
2496 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
2497 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
2498 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
2499 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
2500 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
2501 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
2502 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
2503 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
2504 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
2505 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
2506 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2507 Moved ...
2508 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
2509 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
2510 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
2511 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
2512 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
2513
d7109027
JM
25142014-06-20 Joseph Myers <joseph@codesourcery.com>
2515
9bc6103d
JM
2516 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
2517 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
2518 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2519 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
2520 * nscd/nscd.c: Likewise.
2521 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
2522 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
2523 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
2524 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
2525
d7109027
JM
2526 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
2527 <kernel-features.h>.
2528 (init_mq_netlink): Remove conditional have_sock_cloexec
2529 definitions. Remove code conditional on have_sock_cloexec < 0.
2530 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
2531 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
2532 * sysdeps/unix/sysv/linux/opensock.c: Do not include
2533 <kernel-features.h>.
2534 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
2535 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
2536
d92d8f8a
L
25372014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2538
2539 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2540 Add tests for memset_chk and memset.
2541
2542 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
2543 with AVX2_Usable.
2544
4e6d2347
MR
25452014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
2546
257ce712
MR
2547 [BZ #16046]
2548 * elf/tst-dl-iter-static.c: New file.
2549 * elf/Makefile (tests-static): Add tst-dl-iter-static.
2550
4e6d2347
MR
2551 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
2552 error.
2553
a2a76afe
JM
25542014-06-20 Joseph Myers <joseph@codesourcery.com>
2555
7fd00f99
JM
2556 * sysdeps/unix/sysv/linux/kernel-features.h
2557 (__ASSUME_F_GETOWN_EX): Remove macro.
2558 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
2559 <kernel-features.h>.
2560 (miss_F_GETOWN_EX): Remove variable or macro.
2561 (do_fcntl): Do not check miss_F_GETOWN_EX.
2562 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
2563
4a103975
JM
2564 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
2565 Remove macro.
2566 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
2567 [!__ASSUME_AT_RANDOM]: Remove conditional code.
2568 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
2569
a2a76afe
JM
2570 * sysdeps/unix/sysv/linux/kernel-features.h
2571 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
2572 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
2573 [ADJ_OFFSET_SS_READ]: Make code unconditional.
2574 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
2575
90e5dd48
MR
25762014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
2577
2578 [BZ #17075]
2579 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
2580 Fix calculation of the symbol's value.
2581 * sysdeps/arm/tst-armtlsdescloc.c: New file.
2582 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
2583 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
2584 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
2585 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
2586 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
2587 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
2588 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
2589 (modules-names): Add `tst-armtlsdescmod',
2590 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
2591 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
2592 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2593 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
2594 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
2595 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2596 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
2597 ($(objpfx)tst-armtlsdescloc): New dependency.
2598 ($(objpfx)tst-armtlsdescextnow): Likewise.
2599 ($(objpfx)tst-armtlsdescextlazy): Likewise.
2600 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
2601 TLS scheme support.
2602 * sysdeps/arm/configure: Regenerate.
2603
809fdf0d
JM
26042014-06-20 Joseph Myers <joseph@codesourcery.com>
2605
2606 * include/fcntl.h (__atfct_seterrno): Remove prototype.
2607 (__atfct_seterrno_2): Likewise.
2608 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
2609 <kernel-features.h>.
2610 (__ASSUME_ATFCTS): Do not undefine and redefine.
2611 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
2612 (__have_atfcts): Remove conditional definition.
2613 (__fxstatat([__NR_fstatat64]: Make code unconditional.
2614 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
2615 unreachable if [__ASSUME_ATFCTS].
2616 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
2617 not undefine and redefine.
2618 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
2619 <kernel-features.h>.
2620 (faccessat) [__NR_faccessat]: Make code unconditional.
2621 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
2622 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
2623 <kernel-features.h>.
2624 (fchmodat) [__NR_fchmodat]: Make code unconditional.
2625 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2626 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
2627 <kernel-features.h>.
2628 (fchownat) [__NR_fchownat]: Make code unconditional.
2629 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
2630 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
2631 <kernel-features.h>.
2632 (futimesat) [__NR_futimesat]: Make code unconditional.
2633 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
2634 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2635 <kernel-features.h>.
2636 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2637 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2638 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2639 <kernel-features.h>.
2640 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
2641 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2642 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
2643 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2644 <kernel-features.h>.
2645 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
2646 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2647 * sysdeps/unix/sysv/linux/linkat.c: Do not include
2648 <kernel-features.h>.
2649 (linkat) [__NR_linkat]: Make code unconditional.
2650 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2651 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
2652 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
2653 <kernel-features.h>.
2654 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
2655 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2656 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
2657 <kernel-features.h>.
2658 (mkdirat) [__NR_mkdirat]: Make code unconditional.
2659 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
2660 * sysdeps/unix/sysv/linux/openat.c: Do not include
2661 <kernel-features.h>.
2662 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
2663 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
2664 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
2665 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
2666 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
2667 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
2668 <kernel-features.h>.
2669 (readlinkat) [__NR_readlinkat]: Make code unconditional.
2670 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
2671 result of INLINE_SYSCALL directly, not via int variable.
2672 * sysdeps/unix/sysv/linux/renameat.c: Do not include
2673 <kernel-features.h>.
2674 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
2675 (renameat) [__NR_renameat]: Make code unconditional.
2676 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
2677 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
2678 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
2679 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
2680 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
2681 (__ASSUME_ATFCTS): Do not undefine and redefine.
2682 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
2683 <kernel-features.h>.
2684 (symlinkat) [__NR_symlinkat]: Make code unconditional.
2685 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2686 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
2687 <kernel-features.h>.
2688 (unlinkat) [__NR_unlinkat]: Make code unconditional.
2689 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2690 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
2691 (__ASSUME_ATFCTS): Do not undefine and redefine.
2692 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2693 <kernel-features.h>.
2694 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2695 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2696 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2697 <kernel-features.h>.
2698 (__xmknodat) [__NR_mknodat]: Make code unconditional.
2699 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2700
224c6c51
L
27012014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2702
2703 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
2704
aa6ec754
AS
27052014-06-20 Andreas Schwab <schwab@linux-m68k.org>
2706
2707 [BZ #17069]
2708 * posix/regcomp.c (parse_reg_exp): Deallocate partially
2709 constructed tree before returning error.
2710 * posix/bug-regexp36.c: Expand test case.
2711
d8c2869d
SL
27122014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2713
3ef6b850
SL
2714 [BZ #6803]
2715 * math/libm-test.inc (scalbln_test_date):
2716 Add errno expectations.
2717 * math/w_scalblnf.c: New File.
2718 Add wrapper which checks for setting errno to ERANGE.
2719 Add weak_alias for corresponding scalbln function.
2720 * math/w_scalbln.c: Likewise.
2721 * math/w_scalblnl.c: Likewise.
2722 * math/Makefile (libm-calls): Add w_scalbln.
2723 * sysdeps/ieee754/flt-32/s_scalblnf.c:
2724 Remove weak_alias for corresponding scalbln function.
2725 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2726 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2727 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2728 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2729 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
2730 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2731 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
2732 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2733 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
2734 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
2735 Remove long_double_symbol for scalblnl function in libm, libc.
2736 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
2737 Add wrapper which checks for setting errno to ERANGE.
2738 Add long_double_symbol for scalblnl function in libm, libc.
2739 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
2740 Remove long_double_symbol for scalblnl in libm.
2741 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
2742 Add wrapper which checks for setting errno to ERANGE.
2743 Add long_double_symbol for scalblnl function in libm.
2744 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
2745 Do not use wrapper because of own implementation.
2746
c8daec5c
L
27472014-06-19 H.J. Lu <hongjiu.lu@intel.com>
2748
2749 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
2750 3 bytes for __pad1 for x32.
2751 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
2752
5c74e47c
LM
27532014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
2754 H.J. Lu <hongjiu.lu@intel.com>
2755
2756 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
2757 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
2758 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2759 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2760 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2761
4d43ef1e
AS
27622014-06-19 Andreas Schwab <schwab@linux-m68k.org>
2763
2764 [BZ #17069]
2765 * posix/regcomp.c (parse_expression): Deallocate partially
2766 constructed tree before returning error.
2767 * posix/Makefile.c (tests): Add bug-regex36.
2768 (generated): Add bug-regex36.mtrace.
2769 (tests-special): Add $(objpfx)bug-regex36-mem.out
2770 (bug-regex36-ENV): New variable.
2771 ($(objpfx)bug-regex36-mem.out): New rule.
2772 * posix/bug-regex36.c: New file.
2773
51a7380b
WN
27742014-06-19 Will Newton <will.newton@linaro.org>
2775
2776 * malloc/malloc.c (systrim): If extra is zero then return
2777 early.
2778
91b84fe5
SP
27792014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2780
2781 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
2782
f940b965
RE
27832014-06-19 Richard Earnshaw <rearnsha@arm.com>
2784
2785 * sysdeps/aarch64/strchr.S: New file.
2786
4ba7a00f
JM
27872014-06-18 Joseph Myers <joseph@codesourcery.com>
2788
2789 [BZ #17022]
2790 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
2791 from arguments -2 or below.
2792 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2793 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2794
b3a9f56b
AS
27952014-06-18 Andreas Schwab <schwab@suse.de>
2796
2797 [BZ #17062]
2798 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
2799 of a bracket expr not to run off the end of the string.
2800 * posix/Makefile (tests): Add tst-fnmatch3.
2801 * posix/tst-fnmatch3.c: New file.
2802
85d89278
JM
28032014-06-18 Joseph Myers <joseph@codesourcery.com>
2804
2805 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
2806 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2807 [$(cross-compiling) = no]: Likewise.
2808 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2809 [$(cross-compiling) = no]: Likewise.
2810
754c5a08
RS
28112014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2812
2813 [BZ #17031]
2814 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
2815 double, adjusted for any remainder from the high double.
2816 * math/libm-test.inc (nearbyint): Add tests.
2817 (rint): Likewise.
2818
556f529d
AZ
28192014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2820
2821 * nptl/sysdeps/powerpc/Makefile: Moved ...
2822 * sysdeps/powerpc/nptl/Makefile: ... here.
2823 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
2824 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
2825 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
2826 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
2827 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
2828 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
2829 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
2830 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
2831 * nptl/sysdeps/powerpc/tls.h: Moved ...
2832 * sysdeps/powerpc/nptl/tls.h: ... here.
2833
91c03c53
JM
28342014-06-16 Joseph Myers <joseph@codesourcery.com>
2835
2836 [BZ #16681]
2837 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
2838 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2839 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
2840 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
2841 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2842 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
2843 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
2844 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2845 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
2846
a76e63c5
AS
28472014-06-17 Andreas Schwab <schwab@linux-m68k.org>
2848
2849 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2850
f2f6d82f
AS
28512014-06-16 Andreas Schwab <schwab@linux-m68k.org>
2852
ea8a15f6
AS
2853 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
2854 defined operator.
2855
f2f6d82f
AS
2856 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
2857 $TIMEOUTFACTOR.
2858
a7291117
FW
28592014-06-16 Florian Weimer <fweimer@redhat.com>
2860
2861 [BZ #17058]
2862 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
2863 non-executed part of the test.
2864
3d7c00e3
AS
28652014-06-16 Andreas Schwab <schwab@suse.de>
2866
2867 * string/bits/string2.h (strdup, strndup): Update feature guard.
2868
6957fb31
DM
28692014-06-14 David S. Miller <davem@davemloft.net>
2870
2871 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2872
11b9e55b
AS
28732014-06-14 Andreas Schwab <schwab@linux-m68k.org>
2874
1d2a0492
AS
2875 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
2876 that was previously under [RESET_PID].
2877 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
2878
11b9e55b
AS
2879 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
2880 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
2881 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
2882 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2883 (__libc_vfork): New strong alias.
2884 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
2885
0f6901d0
AK
28862014-06-14 Andi Kleen <ak@linux.intel.com>
2887
2888 * sysdeps/generic/elide.h: New file.
2889
38bbbb9f
SL
28902014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2891
2892 * Makefile (installed-headers): Adjust path of pthread.h header.
2893
45193bb8
RM
28942014-06-13 Roland McGrath <roland@hack.frob.com>
2895
9a25fd1e
RM
2896 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
2897 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
2898 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
2899 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
2900
4004f7e4
RM
2901 * nptl/sysdeps/s390/Makefile: Moved ...
2902 * sysdeps/s390/nptl/Makefile: ... here.
2903 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
2904 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
2905 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
2906 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
2907 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
2908 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
2909 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
2910 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
2911 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
2912 * sysdeps/s390/nptl/pthreaddef.h: ... here.
2913 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
2914 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
2915 * nptl/sysdeps/s390/tls.h: Moved ...
2916 * sysdeps/s390/nptl/tls.h: ... here.
2917
45193bb8
RM
2918 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
2919 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
2920
f6fdf533
DM
29212014-06-13 David S. Miller <davem@davemloft.net>
2922
2923 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
2924 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
2925 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
2926 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
2927 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
2928 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
2929 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
2930 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
2931 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
2932 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
2933 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
2934 Remove RESET_PID cpp guards.
2935 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
2936 Remove RESET_PID cpp guards.
2937 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
2938
f5d71e14
AS
29392014-06-13 Andreas Schwab <schwab@linux-m68k.org>
2940
2941 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
2942 __sp to uintptr_t.
2943
b7aa8caa
AK
29442014-06-13 Andi Kleen <ak@linux.intel.com>
2945
4b266200
AZ
2946 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
2947 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
2948 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
2949 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
2950 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
2951 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
2952 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
2953 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
2954 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
2955 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
2956 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
2957 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
2958 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
2959 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
2960 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
2961 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
2962 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
2963 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
2964 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
2965 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
2966
2967 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
2968 (pthread_rwlock_rdlock): Add elision.
2969 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
2970 (pthread_rwlock_wrlock): Add elision.
2971 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
2972 (pthread_rwlock_trywrlock): Add elision.
2973 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
2974 (pthread_rwlock_tryrdlock): Add elision.
2975 * nptl/pthread_rwlock_unlock.c: Include elide.h.
2976 (pthread_rwlock_tryrdlock): Add elision unlock.
2977 * nptl/sysdeps/pthread/pthread.h:
2978 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
2979 (PTHREAD_RWLOCK_INITIALIZER,
2980 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
2981 Handle new elision field.
2982 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
2983 * sysdeps/arm/nptl/bits/pthreadtypes.h
2984 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2985 * sysdeps/sh/nptl/bits/pthreadtypes.h
2986 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2987 * sysdeps/tile/nptl/bits/pthreadtypes.h
2988 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2989 * sysdeps/a/nptl/bits/pthreadtypes.h
2990 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2991 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2992 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2993 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2994 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2995 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
2996 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2997 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2998 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2999 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3000 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3001 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3002 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3003 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3004 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3005 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
3006 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3007 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
3008 (elision_init): Set try_xbegin to zero when no RTM.
3009 * sysdeps/x86/nptl/bits/pthreadtypes.h
3010 (pthread_rwlock_t): Change __pad1 to __rwelision.
3011 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 3012
a832bdd3
AK
30132014-06-13 Andi Kleen <ak@linux.intel.com>
3014
3015 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
3016 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
3017 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
3018 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
3019
995a46bb
MI
30202014-06-13 Meador Inge <meadori@codesourcery.com>
3021
3022 [BZ #16996]
03ed7738 3023 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
3024 that the cached result has been set before returning it.
3025
45262aee
RM
30262014-06-12 Roland McGrath <roland@hack.frob.com>
3027
febf6cc5
RM
3028 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
3029 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
3030 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
3031 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
3032 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
3033 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
3034
e2682246
RM
3035 * nptl/sysdeps/sparc/Makefile: Moved ...
3036 * sysdeps/sparc/nptl/Makefile: ... here.
3037 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
3038 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
3039 * nptl/sysdeps/sparc/tls.h: Moved ...
3040 * sysdeps/sparc/nptl/tls.h: ... here.
3041 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
3042 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
3043 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
3044 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
3045 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
3046 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
3047 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
3048 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
3049 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
3050 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
3051 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
3052 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
3053 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
3054 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
3055 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
3056 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
3057 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
3058 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
3059 Update #include.
3060 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
3061 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
3062 Update #include.
3063 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
3064 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
3065 Update #include.
3066 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
3067 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
3068 Update #include.
3069
b0725f43
RM
3070 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3071
b14368b8
RM
3072 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
3073 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
3074
c5620eb3
RM
3075 * sysdeps/pthread/posix-timer.h: Include <list.h>.
3076 (struct list_links): Type removed.
3077 (struct thread_node, struct timer_node): Replace struct list_links
3078 with struct list_head.
3079 (list_unlink_ip): Likewise.
3080 * sysdeps/pthread/timer_routines.c
3081 (timer_free_list, thread_free_list, thread_active_list): Likewise.
3082 (list_append, list_insbefore): Likewise.
3083 (list_init): Function removed.
3084 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
3085 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
3086 * sysdeps/pthread/Makefile: ... here, new file.
3087
3088 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
3089 * sysdeps/nptl/Implies: ... here.
3090 * sysdeps/unix/sysv/linux/Implies: Add nptl.
3091 * nptl/sysdeps/pthread/list.h: Moved ...
3092 * include/list.h: ... here.
3093 * nptl/sysdeps/pthread/createthread.c: Moved ...
3094 * nptl/createthread.c: ... here.
3095 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
3096 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
3097 * nptl/pt-longjmp.c: ... here.
3098 * nptl/sysdeps/pthread/Makefile: Moved ...
3099 * sysdeps/nptl/Makefile: ... here.
3100 * nptl/sysdeps/pthread/Subdirs: Moved ...
3101 * sysdeps/nptl/Subdirs: ... here.
3102 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
3103 * sysdeps/nptl/aio_misc.h: ... here.
3104 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
3105 * sysdeps/nptl/bits/libc-lock.h: ... here.
3106 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
3107 * sysdeps/nptl/bits/libc-lockP.h: ... here.
3108 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
3109 * sysdeps/nptl/bits/stdio-lock.h: ... here.
3110 * nptl/sysdeps/pthread/configure: Moved ...
3111 * sysdeps/nptl/configure: ... here.
3112 * nptl/sysdeps/pthread/configure.ac: Moved ...
3113 * sysdeps/nptl/configure.ac: ... here.
3114 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
3115 * sysdeps/nptl/gai_misc.h: ... here.
3116 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
3117 * sysdeps/nptl/librt-cancellation.c: ... here.
3118 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
3119 * sysdeps/nptl/malloc-machine.h: ... here.
3120 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
3121 * sysdeps/nptl/pthread-functions.h: ... here.
3122 * nptl/sysdeps/pthread/pthread.h: Moved ...
3123 * sysdeps/nptl/pthread.h: ... here.
3124 * nptl/sysdeps/pthread/setxid.h: Moved ...
3125 * sysdeps/nptl/setxid.h: ... here.
3126 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
3127 * sysdeps/nptl/sigfillset.c: ... here.
3128 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
3129 * sysdeps/nptl/tcb-offsets.h: ... here.
3130 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
3131 * sysdeps/nptl/tst-mqueue8x.c: ... here.
3132 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
3133 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
3134 * nptl/sysdeps/pthread/allocalim.h: Moved ...
3135 * sysdeps/pthread/allocalim.h: ... here.
3136 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
3137 * sysdeps/pthread/bits/sigthread.h: ... here.
3138 * nptl/sysdeps/pthread/flockfile.c: Moved ...
3139 * sysdeps/pthread/flockfile.c: ... here.
3140 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
3141 * sysdeps/pthread/ftrylockfile.c: ... here.
3142 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
3143 * sysdeps/pthread/funlockfile.c: ... here.
3144 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
3145 * sysdeps/pthread/posix-timer.h: ... here.
3146 * nptl/sysdeps/pthread/timer_create.c: Moved ...
3147 * sysdeps/pthread/timer_create.c: ... here.
3148 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
3149 * sysdeps/pthread/timer_delete.c: ... here.
3150 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
3151 * sysdeps/pthread/timer_getoverr.c: ... here.
3152 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
3153 * sysdeps/pthread/timer_gettime.c: ... here.
3154 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
3155 * sysdeps/pthread/timer_routines.c: ... here.
3156 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
3157 * sysdeps/pthread/timer_settime.c: ... here.
3158 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
3159 * sysdeps/pthread/tst-timer.c: ... here.
3160 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
3161 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
3162
e876b090
RM
3163 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
3164 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
3165
f6b07b3d
RM
3166 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
3167 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
3168 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
3169 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
3170 Update #include target.
3171 * nptl/sysdeps/i386/i686/Makefile: Moved ...
3172 * sysdeps/i386/i686/nptl/Makefile: ... here.
3173 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
3174 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
3175 Update #include target.
3176 * nptl/sysdeps/i386/i686/tls.h: Moved ...
3177 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
3178 * nptl/sysdeps/i386/Makefile: Moved ...
3179 * sysdeps/i386/nptl/Makefile: ... here.
3180 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
3181 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
3182 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
3183 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
3184 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
3185 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
3186 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
3187 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
3188 * sysdeps/i386/nptl/pthreaddef.h: ... here.
3189 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
3190 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
3191 * nptl/sysdeps/i386/tls.h: Moved ...
3192 * sysdeps/i386/nptl/tls.h: ... here.
3193
45262aee
RM
3194 * sysdeps/sh/Makefile [$(subdir) = csu]
3195 (gen-as-const-headers): Add tcb-offsets.sym.
3196 * nptl/sysdeps/sh/Makefile: File removed.
3197 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
3198 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
3199 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
3200 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
3201 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
3202 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
3203 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
3204 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
3205 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
3206 * sysdeps/sh/nptl/pthreaddef.h: ... here.
3207 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
3208 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
3209 * nptl/sysdeps/sh/tls.h: Moved ...
3210 * sysdeps/sh/nptl/tls.h: ... here.
3211 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
3212 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
3213 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
3214 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
3215 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
3216 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
3217 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
3218 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
3219 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
3220 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
3221 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
3222 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
3223 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
3224 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
3225 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
3226 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
3227 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
3228 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
3229 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
3230 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
3231 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
3232 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
3233 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
3234 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
3235 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
3236 Moved ...
3237 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
3238 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
3239 Moved ...
3240 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
3241 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
3242 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
3243 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
3244 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
3245 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
3246 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
3247 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
3248 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
3249 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
3250 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
3251 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
3252 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
3253 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
3254 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
3255 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
3256 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
3257 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
3258 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
3259
35a5e3e3
SL
32602014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3261
3262 * posix/spawn_faction_addopen.c: Include string.h.
3263
14642b85
RM
32642014-06-11 Roland McGrath <roland@hack.frob.com>
3265
3266 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
3267 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
3268 * nptl/sysdeps/x86_64/Makefile: Moved ...
3269 * sysdeps/x86_64/nptl/Makefile: ... here.
3270 * nptl/sysdeps/x86_64/configure: Moved ...
3271 * sysdeps/x86_64/nptl/configure: ... here.
3272 * nptl/sysdeps/x86_64/configure.ac: Moved ...
3273 * sysdeps/x86_64/nptl/configure.ac: ... here.
3274 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
3275 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
3276 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
3277 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
3278 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
3279 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
3280 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
3281 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
3282 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
3283 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
3284 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
3285 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
3286 * nptl/sysdeps/x86_64/tls.h: Moved ...
3287 * sysdeps/x86_64/nptl/tls.h: ... here.
3288 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
3289 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
3290 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
3291 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
3292
3293 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
3294
31c44fea
AZ
32952014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3296
3297 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3298
e81a4f9a
JM
32992014-06-11 Joseph Myers <joseph@codesourcery.com>
3300
3301 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
3302 type.
3303 [POSIX] (off_t): Likewise.
3304 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
3305 [POSIX] (S_ISBLK): Require macro.
3306 [POSIX] (S_ISCHR): Likewise.
3307 [POSIX] (S_ISDIR): Likewise.
3308 [POSIX] (S_ISFIFO): Likewise.
3309 [POSIX] (S_ISREG): Likewise.
3310 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
3311 optional-macro.
3312 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
3313 type.
3314 [POSIX] (time_t): Likewise.
3315 [POSIX] (timer_t): Likewise.
3316
89e435f3
FW
33172014-06-11 Florian Weimer <fweimer@redhat.com>
3318
3319 [BZ #17048]
3320 * posix/spawn_int.h (struct __spawn_action): Make the path string
3321 non-const to support deallocation.
3322 * posix/spawn_faction_addopen.c
3323 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
3324 * posix/spawn_faction_destroy.c
3325 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
3326 path in all spawn_do_open actions.
3327 * posix/tst-spawn.c (do_test): Exercise the copy operation in
3328 posix_spawn_file_actions_addopen.
3329
c3a2ebe1
CM
33302014-06-11 Chris Metcalf <cmetcalf@tilera.com>
3331
3332 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
3333 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
3334 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
3335 conditional code always true.
3336 (__libc_vfork): New alias.
3337
9503784a
RM
33382014-06-11 Roland McGrath <roland@hack.frob.com>
3339
c9cab3d2
RM
3340 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3341 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
3342
d3996c79
RM
3343 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
3344
ba5ec611
RM
3345 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3346 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
3347
f12b4814
RM
3348 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3349 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
3350
9503784a
RM
3351 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3352 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
3353
e23d3d26
VR
33542014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3355
3356 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
3357 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
3358 multiarch strcmp for PPC64.
3359 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
3360 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
3361 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
3362 multiarch optimizations.
3363 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3364 (__libc_ifunc_impl_list): Likewise.
3365
42b1161e
SP
33662014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3367
3368 * benchtests/scripts/validate_benchout.py: New script.
3369 * benchtests/Makefile (bench-func): Call it.
3370 * benchtests/scripts/benchout.schema.json: New file.
3371
2d0fc4dc
CM
33722014-06-10 Chris Metcalf <cmetcalf@tilera.com>
3373
4a594c34
AZ
3374 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
3375 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
3376 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
3377 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
3378 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
3379 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
3380 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
3381 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
3382 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
3383 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
3384 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
3385 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
3386 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
3387 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
3388 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
3389 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
3390 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 3391 Moved ...
4a594c34 3392 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 3393 ... here.
4a594c34 3394 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 3395 Moved ...
4a594c34
AZ
3396 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
3397 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 3398 Moved ...
4a594c34 3399 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 3400 ... here.
4a594c34 3401 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 3402 Moved ...
4a594c34 3403 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 3404 ... here.
4a594c34 3405 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 3406 Moved ...
4a594c34
AZ
3407 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
3408 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 3409 Moved ...
4a594c34 3410 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 3411 ... here.
4a594c34 3412 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 3413 Moved ...
4a594c34 3414 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 3415 ... here.
4a594c34 3416 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 3417 Moved ...
4a594c34
AZ
3418 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
3419 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 3420 Moved ...
4a594c34 3421 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 3422 ... here.
4a594c34 3423 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 3424 Moved ...
4a594c34 3425 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 3426 ... here.
4a594c34 3427 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 3428 Moved ...
4a594c34 3429 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 3430 ... here.
4a594c34 3431 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 3432 Moved ...
4a594c34
AZ
3433 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
3434 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 3435 Moved ...
4a594c34 3436 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 3437 ... here.
4a594c34 3438 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 3439 Moved ...
4a594c34 3440 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 3441 ... here.
4a594c34 3442 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 3443 Moved ...
4a594c34 3444 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 3445 ... here.
4a594c34 3446 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 3447 Moved ...
4a594c34
AZ
3448 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
3449 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 3450 Moved ...
4a594c34 3451 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 3452 ... here.
4a594c34 3453 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 3454 Moved ...
4a594c34 3455 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 3456 ... here.
4a594c34 3457 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 3458 Moved ...
4a594c34
AZ
3459 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
3460 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 3461 Moved ...
4a594c34 3462 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 3463 ... here.
4a594c34 3464 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 3465 Moved ...
4a594c34
AZ
3466 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
3467 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 3468 Moved ...
4a594c34
AZ
3469 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
3470 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 3471 Moved ...
4a594c34 3472 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 3473 ... here.
4a594c34 3474 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 3475 Moved ...
4a594c34 3476 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 3477 ... here.
4a594c34 3478 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 3479 Moved ...
4a594c34 3480 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 3481 ... here.
4a594c34 3482 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 3483 Moved ...
4a594c34
AZ
3484 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
3485 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 3486 Moved ...
4a594c34 3487 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 3488 ... here.
4a594c34 3489 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 3490 Moved ...
4a594c34 3491 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 3492 ... here.
4a594c34
AZ
3493 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
3494 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
3495 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
3496 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
3497 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 3498 Moved ...
4a594c34 3499 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 3500 ... here.
4a594c34
AZ
3501 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
3502 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
3503 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
3504 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
3505 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
3506 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
3507 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
3508 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
3509 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
3510 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
3511 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
3512 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
3513 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 3514 Moved ...
4a594c34
AZ
3515 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
3516 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 3517 Moved ...
4a594c34
AZ
3518 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
3519 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
3520 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
3521 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 3522 Moved ...
4a594c34
AZ
3523 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
3524 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
3525 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
3526 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
3527 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
3528 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
3529 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 3530
0570cfed
W
35312014-06-10 Wilco <wdijkstr@arm.com>
3532
3533 * math/test-fenv-return.c: New file.
3534 * math/Makefile: Add new test test-fenv-return.
3535
f8ba1b56
JM
35362014-06-10 Joseph Myers <joseph@codesourcery.com>
3537
3538 [BZ #17042]
3539 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
3540 when x - 1 is zero.
3541 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
3542 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3543 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
3544 0.0L for an argument of 1.0L.
3545 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
3546 Likewise.
3547 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
3548 value when x - 1 is zero.
3549 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
3550 * sysdeps/i386/fpu/libm-test-ulps: Update.
3551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3552
2c3520d9
BO
35532014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
3554
3555 [BZ #15119]
3556 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
3557
acaa4d24
RM
35582014-06-09 Roland McGrath <roland@hack.frob.com>
3559
3560 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
3561 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
3562
962b744d
RM
35632014-06-09 Roland McGrath <roland@hack.frob.com>
3564
d752f0cc
RM
3565 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3566 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
3567
34eda6d1
RM
3568 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3569 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
3570
50f0a637
RM
3571 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3572 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
3573
08f41f04
RM
3574 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3575 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
3576
962b744d
RM
3577 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
3578 if not already defined.
3579 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
3580 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
3581 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
3582 (TLS_INIT_TP): Use it.
3583 (TLS_DEFINE_INIT_TP): New macro.
3584 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
3585
09f19b05
JM
35862014-06-09 Joseph Myers <joseph@codesourcery.com>
3587
3588 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
3589 constant.
3590 [POSIX] (IXANY): Likewise.
3591 [POSIX] (OLCUC): Likewise.
3592 [POSIX || POSIX2008] (CBAUD): Do not allow.
3593 [POSIX || POSIX2008] (DEFECHO): Likewise.
3594 [POSIX || POSIX2008] (ECHOCTL): Likewise.
3595 [POSIX || POSIX2008] (ECHOKE): Likewise.
3596 [POSIX || POSIX2008] (ECHOPRT): Likewise.
3597 [POSIX || POSIX2008] (EXTA): Likewise.
3598 [POSIX || POSIX2008] (EXTB): Likewise.
3599 [POSIX || POSIX2008] (FLUSHO): Likewise.
3600 [POSIX || POSIX2008] (LOBLK): Likewise.
3601 [POSIX || POSIX2008] (PENDIN): Likewise.
3602 [POSIX || POSIX2008] (SWTCH): Likewise.
3603 [POSIX || POSIX2008] (VDISCARD): Likewise.
3604 [POSIX || POSIX2008] (VDSUSP): Likewise.
3605 [POSIX || POSIX2008] (VLNEXT): Likewise.
3606 [POSIX || POSIX2008] (VREPRINT): Likewise.
3607 [POSIX || POSIX2008] (VSTATUS): Likewise.
3608 [POSIX || POSIX2008] (VWERASE): Likewise.
3609 (B*): Change to B[0123456789]*.
3610 * conform/data/time.h-data [POSIX || UNIX98]
3611 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
3612 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3613 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
3614 [POSIX] (tm_*): Do not allow.
3615
686554bf
JM
36162014-06-07 Joseph Myers <joseph@codesourcery.com>
3617
3618 * Makefile (install): Don't set LANGUAGE.
3619 * Makefile.in (install): Likewise.
3620 * assert/Makefile (test-assert-ENV): Remove variable.
3621 (test-assert-perr-ENV): Likewise.
3622 * elf/Makefile (neededtest4-ENV): Likewise.
3623 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3624 [$(cross-compiling) = no]: Don't set LANGUAGE.
3625 * io/ftwtest-sh (LANG): Remove variable.
3626 * libio/Makefile (tst-widetext-ENV): Likewise.
3627 * manual/install.texi (Running make install): Don't refer to
3628 environment settings for make install.
3629 * INSTALL: Regenerated.
3630 * nptl/tst-tls6.sh: Don't set LANG.
3631 * posix/globtest.sh (LANG): Remove variable.
3632 * string/Makefile (tester-ENV): Likewise.
3633 (inl-tester-ENV): Likewise.
3634 (noinl-tester-ENV): Likewise.
3635 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3636 [$(cross-compiling) = no]: Don't set LANGUAGE.
3637 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
3638 without explicit environment settings.
3639
68e6b6b1
RM
36402014-06-06 Roland McGrath <roland@hack.frob.com>
3641
3642 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
3643 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
3644 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
3645 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
3646
4d3ae034
CM
36472014-06-06 Chris Metcalf <cmetcalf@tilera.com>
3648
3649 * crypt/crypt-private.h [DOS]: Add some includes taken from the
3650 other files in the crypt directory.
3651 * crypt/crypt.c: Remove duplicate includes.
3652 * crypt/crypt-entry.c: Likewise.
3653 * crypt/crypt_util.c: Likewise.
3654
8540f6d2
JM
36552014-06-06 Joseph Myers <joseph@codesourcery.com>
3656
3657 * Makeconfig (run-program-env): New variable.
3658 (run-program-prefix-before-env): Likewise.
3659 (run-program-prefix-after-env): Likewise.
3660 (run-program-prefix): Define in terms of new variables.
3661 (built-program-cmd-before-env): New variable.
3662 (built-program-cmd-after-env): Likewise.
3663 (built-program-cmd): Define in terms of new variables.
3664 (test-program-prefix-before-env): New variable.
3665 (test-program-prefix-after-env): Likewise.
3666 (test-program-prefix): Define in terms of new variables.
3667 (test-program-cmd-before-env): New variable.
3668 (test-program-cmd-after-env): Likewise.
3669 (test-program-cmd): Define in terms of new variables.
3670 * Rules (make-test-out): Use $(run-program-env).
3671 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
3672 (help): Do not mention environment variables. Mention
3673 --timeoutfactor option.
3674 (timeoutfactor): New variable.
3675 (blacklist_exports): Remove function.
3676 (exports): Remove variable.
3677 (command): Do not include ${exports}.
3678 * manual/install.texi (Configuring and compiling): Do not mention
3679 test wrappers preserving environment variables. Mention that last
3680 assignment to a variable must take precedence.
3681 * INSTALL: Regenerated.
3682 * benchtests/Makefile (run-bench): Use $(run-program-env).
3683 * catgets/Makefile ($(objpfx)test1.cat): Use
3684 $(built-program-cmd-before-env), $(run-program-env) and
3685 $(built-program-cmd-after-env).
3686 ($(objpfx)test2.cat): Do not specify environment variables
3687 explicitly.
3688 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
3689 $(run-program-env) and $(built-program-cmd-after-env).
3690 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
3691 $(run-program-env) and $(test-program-cmd-after-env).
3692 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
3693 explicitly.
3694 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
3695 run_program_env and test_program_cmd_after_env arguments.
3696 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
3697 * elf/tst-pathopt.sh: Use run_program_env argument.
3698 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
3699 $(test-wrapper-env) and $(run-program-env).
3700 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
3701 run_program_env arguments.
3702 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
3703 * intl/Makefile ($(objpfx)tst-gettext.out): Use
3704 $(test-program-prefix-before-env), $(run-program-env) and
3705 $(test-program-prefix-after-env).
3706 ($(objpfx)tst-gettext2.out): Likewise.
3707 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
3708 run_program_env and test_program_prefix_after_env arguments.
3709 * intl/tst-gettext2.sh: Likewise.
3710 * intl/tst-gettext4.sh: Do not set environment variables
3711 explicitly.
3712 * intl/tst-gettext6.sh: Likewise.
3713 * intl/tst-translit.sh: Likewise.
3714 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
3715 $(test-program-prefix-before-env), $(run-program-env) and
3716 $(test-program-prefix-after-env).
3717 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
3718 run_program_env and test_program_prefix_after_env arguments.
3719 * math/Makefile (run-regen-ulps): Use $(run-program-env).
3720 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
3721 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
3722 explicitly with each use of ${test_wrapper_env}.
3723 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
3724 $(test-program-prefix-before-env), $(run-program-env) and
3725 $(test-program-prefix-after-env).
3726 * posix/tst-getconf.sh: Do not set environment variables
3727 explicitly.
3728 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
3729 run_program_env and test_program_prefix_after_env arguments.
3730 * stdio-common/tst-printf.sh: Do not set environment variables
3731 explicitly.
3732 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
3733 $(test-program-prefix-before-env), $(run-program-env) and
3734 $(test-program-prefix-after-env).
3735 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
3736 run_program_env and test_program_prefix_after_env arguments.
3737 Split $test calls into $test_pre and $test.
3738 * timezone/Makefile (build-testdata): Use
3739 $(built-program-cmd-before-env), $(run-program-env) and
3740 $(built-program-cmd-after-env).
3741
ed36bfa1
AZ
37422014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3743
3744 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
3745 strlen for non SHARED builds.
3746
fc75bf46
SP
37472014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3748
3749 * nptl/allocatestack.c (check_list): Inlined function...
3750 (__reclaim_stacks): ... here.
3751
d89b3d80
OB
37522014-06-05 Ondřej Bílka <neleai@seznam.cz>
3753
3754 [BZ #15698]
3755 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3756 memory overrun.
3757
2bf18041
JM
37582014-06-05 Joseph Myers <joseph@codesourcery.com>
3759
3760 * Rules (make-test-out): Include
3761 LOCPATH=$(common-objpfx)localedata in default environment.
3762 * debug/Makefile (tst-chk1-ENV): Remove variable.
3763 (tst-chk2-ENV): Likewise.
3764 (tst-chk3-ENV): Likewise.
3765 (tst-chk4-ENV): Likewise.
3766 (tst-chk5-ENV): Likewise.
3767 (tst-chk6-ENV): Likewise.
3768 (tst-lfschk1-ENV): Likewise.
3769 (tst-lfschk2-ENV): Likewise.
3770 (tst-lfschk3-ENV): Likewise.
3771 (tst-lfschk4-ENV): Likewise.
3772 (tst-lfschk5-ENV): Likewise.
3773 (tst-lfschk6-ENV): Likewise.
3774 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
3775 (tst-iconv7-ENV): Likewise.
3776 * intl/Makefile (LOCPATH-ENV): Likewise.
3777 (tst-codeset-ENV): Likewise.
3778 (tst-gettext3-ENV): Likewise.
3779 (tst-gettext5-ENV): Likewise.
3780 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
3781 (tst-fopenloc-ENV): Likewise.
3782 (tst-fgetws-ENV): Remove variable.
3783 (tst-ungetwc1-ENV): Likewise.
3784 (tst-ungetwc2-ENV): Likewise.
3785 (bug-ungetwc2-ENV): Likewise.
3786 (tst-swscanf-ENV): Likewise.
3787 (bug-ftell-ENV): Likewise.
3788 (tst-fgetwc-ENV): Likewise.
3789 (tst-fseek-ENV): Likewise.
3790 (tst-ftell-partial-wide-ENV): Likewise.
3791 (tst-ftell-active-handler-ENV): Likewise.
3792 (tst-ftell-append-ENV): Likewise.
3793 * posix/Makefile (tst-fnmatch-ENV): Likewise.
3794 (tst-regexloc-ENV): Likewise.
3795 (bug-regex1-ENV): Likewise.
3796 (tst-regex-ENV): Likewise.
3797 (tst-regex2-ENV): Likewise.
3798 (bug-regex5-ENV): Likewise.
3799 (bug-regex6-ENV): Likewise.
3800 (bug-regex17-ENV): Likewise.
3801 (bug-regex18-ENV): Likewise.
3802 (bug-regex19-ENV): Likewise.
3803 (bug-regex20-ENV): Likewise.
3804 (bug-regex22-ENV): Likewise.
3805 (bug-regex23-ENV): Likewise.
3806 (bug-regex25-ENV): Likewise.
3807 (bug-regex26-ENV): Likewise.
3808 (bug-regex30-ENV): Likewise.
3809 (bug-regex32-ENV): Likewise.
3810 (bug-regex33-ENV): Likewise.
3811 (bug-regex34-ENV): Likewise.
3812 (bug-regex35-ENV): Likewise.
3813 (tst-rxspencer-ENV): Likewise.
3814 (tst-rxspencer-no-utf8-ENV): Likewise.
3815 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
3816 (tst-sscanf-ENV): Likewise.
3817 (tst-swprintf-ENV): Likewise.
3818 (tst-swscanf-ENV): Likewise.
3819 (test-vfprintf-ENV): Likewise.
3820 (scanf13-ENV): Likewise.
3821 (bug14-ENV): Likewise.
3822 (tst-grouping-ENV): Likewise.
3823 * stdlib/Makefile (tst-strtod-ENV): Likewise.
3824 (tst-strtod3-ENV): Likewise.
3825 (tst-strtod4-ENV): Likewise.
3826 (tst-strtod5-ENV): Likewise.
3827 (testmb2-ENV): Likewise./
3828 * string/Makefile (tst-strxfrm-ENV): Likewise.
3829 (tst-strxfrm2-ENV): Likewise.
3830 (bug-strcoll1-ENV): Likewise.
3831 (test-strcasecmp-ENV): Likewise.
3832 (test-strncasecmp-ENV): Likewise.
3833 * time/Makefile (tst-strptime-ENV): Likewise.
3834 (tst-ftime_l-ENV): Likewise.
3835 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
3836 (tst-mbrtowc-ENV): Likewise.
3837 (tst-wcrtomb-ENV): Likewise.
3838 (tst-mbrtowc2-ENV): Likewise.
3839 (tst-c16c32-1-ENV): Likewise.
3840 (tst-mbsnrtowcs-ENV): Likewise.
3841
cd1fb604
OB
38422014-06-05 Ondřej Bílka <neleai@seznam.cz>
3843
3844 * manual/resource.texi (How to get information about the memory
3845 subsystem?): Fix typo.
3846 Reported by Peon de la Parra Ivan <peon@keba.com>
3847
b42eca7d
GY
38482014-06-03 Guo Yixuan <culu.gyx@gmail.com>
3849
3850 [BZ #16882]
3851 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
3852 (pthread_spin_lock): Branch out of spin loop to proper location.
3853 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
3854 (pthread_spin_lock): Likewise.
3855
902b71f9
DM
3856 * nptl/tst-spin4.c: New test.
3857 * nptl/Makefile (tests): Add tst-spin4.
3858
f9d2d032
AS
38592014-06-03 Andreas Schwab <schwab@suse.de>
3860
3861 [BZ #15946]
3862 * resolv/res_send.c (send_dg): Reload file descriptor after
3863 calling reopen.
3864
cf7bfd28
SL
38652014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
3866
3867 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3868
111cc714
RH
38692014-06-03 Richard Henderson <rth@redhat.com>
3870
89b4bd6b
RH
3871 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
3872 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
3873 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
3874 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
3875 in the SAVE_PID block.
3876 (__libc_vfork): New alias.
71840409 3877 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 3878
111cc714
RH
3879 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
3880 child in registers, not on the stack. Remove RESET_PID conditionals.
3881 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
3882
ccc39911
MS
38832014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
3884
3885 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3886
693096cc
W
38872014-06-03 Wilco <wdijkstr@arm.com>
3888
3889 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
3890 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
3891 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3892 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
3893 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
3894 Likewise.
3895
0b4366bc
W
38962014-06-03 Wilco <wdijkstr@arm.com>
3897
3898 * sysdeps/aarch64/fpu/math_private.h
3899 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
3900 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
3901 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
3902 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3903 Fix declarations.
3904
8747cd03
KS
39052014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3906
3907 * crypt/crypt-private.h: Include ufc-crypt.h.
3908 (__b64_from_24bit): Declare extern.
3909 * crypt/crypt_util.c(__b64_from_24bit): New function.
3910 (b64t): New static const variable.
3911 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
3912 (b64t): Remove variable.
3913 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
3914 * crypt/sha256-crypt.c: Include crypt-private.h.
3915 (b64t): Remove variable.
3916 (__sha256_crypt_r): Remove b64_from_24bit and replace
3917 with __b64_from_24bit.
3918 * crypt/sha512-crypt.c: Likewise.
3919
d936d379
RM
39202014-06-02 Roland McGrath <roland@hack.frob.com>
3921
3922 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
3923 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
3924 Label the code __libc_vfork rather than __vfork.
3925 [!NOT_IN_libc] (vfork): Define as weak alias.
3926 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
3927 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
3928 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
3929
9fa76613
SP
39302014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3931
3932 * malloc/malloc.c (malloc_info): Fix format specifier for
3933 n_mmaps.
3934
a88dadbe
W
39352014-06-02 Wilco <wdijkstr@arm.com>
3936
3937 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
3938 FPCR write.
3939
c95b3011
W
39402014-06-02 Wilco <wdijkstr@arm.com>
3941
3942 [BZ #17009]
3943 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
3944 Rewrite to reduce FPCR/FPSR accesses.
3945
6b4d7a90
DM
39462014-06-01 David S. Miller <davem@davemloft.net>
3947
3948 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3949
30f3d07c
DM
39502014-05-31 David S. Miller <davem@davemloft.net>
3951
3952 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
3953 to occur in round to nearest mode when |x| >= 2.0
3954
74f31c18
RH
39552014-05-30 Richard Henderson <rth@twiddle.net>
3956
f0712b54
RH
3957 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
3958 (PSEUDO_RET_NOERRNO): Remove.
3959 (ret): Don't redefine.
3960 (ret_NOERRNO): Define in terms of ret.
3961 (ret_ERRVAL): Likewise.
3962
74f31c18
RH
3963 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
3964 use of PSEUDO_RET; perform the error check directly.
3965
30477995
MM
39662014-05-30 Marko Myllynen <myllynen@redhat.com>
3967
3968 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
3969 with __int128_t.
3970
62a58816
SP
39712014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3972
3973 * malloc/malloc (malloc_info): Fix formatting.
3974
4d653a59
SP
39752014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3976 Roland McGrath <roland@hack.frob.com>
3977
3978 * malloc/malloc (malloc_info): Also print mmapped statistics.
3979
5190c17f
RM
39802014-05-30 Roland McGrath <roland@hack.frob.com>
3981
3982 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
3983 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
3984
987c0269
OB
39852014-05-30 Ondřej Bílka <neleai@seznam.cz>
3986
3987 * malloc/malloc.c (malloc_info): Inline mi_arena.
3988
af4e8ef9
RH
39892014-05-29 Richard Henderson <rth@twiddle.net>
3990
1670e207
RH
3991 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
3992 Remove comma before expanding ASM_ARGS_##nr.
3993 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
3994 Make _x0 a strict output; make _x8 a strict input; adjust expansion
3995 of ASM_ARGS_##nr.
3996 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
3997 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
3998 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
3999 (ASM_ARGS_1): Add leading comma.
4000
11a28aee
RH
4001 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
4002 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
4003 to __errno_location.
4004 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
4005 Remove the expected plt for __errno_location.
4006
a17e5ffb 4007 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 4008 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
4009 call to __read_tp.
4010
b5be4597
RH
4011 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4012 Always allocate 64 bytes of stack frame. Use ldp/stp to create
4013 it and break it down.
4014 (DOCARGS_0, DOCARGS_1): Do nothing.
4015 (DOCARGS_2): Update to store into the new stack frame.
4016 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
4017 (UNDOCARGS_1): Update to restore from the new stack frame.
4018 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
4019 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
4020
645d44ab
RH
4021 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4022 (SINGLE_THREAD_P): New parameter for result regno.
4023 (PSEUDO): Update to match; use cbz instead of beq.
4024
a8b4f04a
RH
4025 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4026 Use ENTRY to define the _nocancel entry point. Share the syscall
4027 and syscall error check paths with the cancel path.
4028 (PSEUDO_END): New.
4029
af4e8ef9
RH
4030 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
4031 whitespace; tabs before and after asm mnemonics.
4032
26b0d2e1
EW
40332014-05-29 Eric Wong <normalperson@yhbt.net>
4034
4035 [BZ #15132]
4036 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4037 Call fstat64 or stat64 internally, depending on arguments passed.
4038 Replace stat buffer argument with file descriptor argument.
4039 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
4040 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4041 Pass fd to __internal_statvfs instead of calling fstat64.
4042 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
4043 Pass fd to __internal_statvfs64 instead of calling fstat64.
4044 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
4045 Pass -1 to __internal_statvfs instead of calling stat64.
4046 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
4047 Pass -1 to __internal_statvfs64 instead of calling stat64.
4048
1efe2bd9
RM
40492014-05-28 Roland McGrath <roland@hack.frob.com>
4050
0d3b7a19
RM
4051 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
4052 that was previously under [RESET_PID].
4053 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
4054
1efe2bd9
RM
4055 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
4056 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
4057
a6bea3ca
RM
40582014-05-27 Roland McGrath <roland@hack.frob.com>
4059
30b6629e
RM
4060 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
4061
a6bea3ca
RM
4062 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
4063 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
4064
3dfb9a5c
OB
40652014-05-27 Ondřej Bílka <neleai@seznam.cz>
4066
4067 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
4068
774f9285
AS
40692014-05-27 Andreas Schwab <schwab@suse.de>
4070
4071 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
4072 TLS_INIT_TP macro.
4073 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4074 * elf/rtld.c (init_tls, dl_main): Likewise.
4075 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
4076 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
4077 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
4078 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
4079 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
4080 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
4081 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
4082 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
4083 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
4084 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
4085 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
4086 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
4087 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
4088 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
4089 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
4090 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
4091 * sysdeps/generic/tls.h: Update description.
4092
36ffe739
WN
40932014-05-27 Will Newton <will.newton@linaro.org>
4094
4095 [BZ #16990]
4096 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
4097 and restore r2 rather than just restoring.
4098
2482ae43
SP
40992014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4100
4101 [BZ #16724]
4102 * libio/tst-ftell-append.c: New test case.
4103 * libio/Makefile (tests): Add test case.
4104 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
4105 append mode.
4106 * libio/wfileops.c (do_ftell_wide): Likewise.
4107
3d1024e8
AZ
41082014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4109
bab90016
AZ
4110 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4111
c7a8d667
AZ
4112 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
4113 ...
4114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
4115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4116 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
4117 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
4118 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
4119 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
4120 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
4121 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
4122 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4123 Moved ...
4124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
4125 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4126 Moved ...
4127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
4128 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
4129 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
4130 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
4131 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
4132 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
4133 ...
4134 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
4135 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
4136 Moved ...
4137 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
4138 here.
4139 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
4140 ...
4141 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
4142 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
4143 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
4144
daee7851
AZ
4145 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
4146 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
4147 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
4148 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
4149
50a40819
AZ
4150 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
4151 merge into ...
4152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
4153 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
4154 ...
4155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
4156 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
4157 ...
4158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
4159 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4160 Moved ...
4161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
4162 here.
4163 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4164 Moved ...
4165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
4166 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4167 Moved ...
4168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
4169
8464c2a1
AZ
4170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
4171 conditional [RESET_PID].
4172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
4173 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
4174 removed.
4175 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
4176 removed.
4177
3d1024e8
AZ
4178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
4179 <tcb-offsets.h>.
4180 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4181 (__libc_vfork): New strong alias.
4182 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
4183 removed.
4184 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
4185 Removed.
4186
4187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
4188 <tcb-offsets.h>.
4189 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
4190 (__libc_vfork): New strong alias.
4191 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
4192 removed.
4193 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
4194 removed.
4195
fdfd175d
CD
41962014-05-26 Carlos O'Donell <carlos@redhat.com>
4197
4198 * malloc/malloc.c (mi_arena): New function.
4199 (malloc_info): Remove nested function mi_arena. Call non-nosted
4200 function mi_arena.
4201
d298c416
AZ
42022014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4203
4204 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
4205 by insrwi.
4206 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
4207 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
4208 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
4209 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
4210 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
4211 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
4212 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
4213
b60ea6ff
AS
42142014-05-26 Andreas Schwab <schwab@suse.de>
4215
4216 [BZ #16984]
4217 * locale/programs/repertoire.c (repertoire_read): Add slash
4218 between I18NPATH element and file name.
4219 * locale/programs/locfile.c (locfile_read): Likewise.
4220
67365926
SL
42212014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4222
4223 * nptl/pthread_mutexattr_settype.c
4224 (__pthread_mutexattr_settype):
4225 Disable lock elision for PTHREAD_MUTEX_NORMAL.
4226
f8bdf1f0
SL
42272014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4228
4229 * nptl/tst-mutex5 (do_test):
4230 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
4231
15eaf6ff
SP
42322014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4233
4234 * benchtests/README: Document 'init' directive.
4235 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
4236 BENCH_INIT.
4237 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
4238 (parse_file): Recognize 'init' directive.
4239
75f11331
KM
42402014-05-26 Kyle McMartin <kyle@redhat.com>
4241
4242 [BZ #16796]
4243 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
4244 alignment of struct pthread.
4245
c3ec475c
SP
42462014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4247
4248 [BZ #16878]
4249 * nscd/netgroupcache.c (addgetnetgrentX): Look for
4250 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4251 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
4252 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4253
82aab97c
RH
42542014-05-25 Richard Henderson <rth@twiddle.net>
4255
aa2f176d
RH
4256 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4257 (SINGLE_THREAD_P_PIC): Remove.
4258 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
4259 (SINGLE_THREAD_P_PIC): Remove.
4260
ca3cfa40
RH
4261 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
4262 branch to syscall error ...
4263 (PSEUDO): ... here.
4264 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
4265 from __local_syscall_error to .Lsyscall_error.
4266 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
4267 (SYSCALL_ERROR): Update label name.
4268
6e6c2d01
RH
4269 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4270 Do not use DOARGS/UNDOARGS.
4271 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
4272 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
4273 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
4274 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
4275 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
4276
c69abcee
RH
4277 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
4278 block comment.
4279
82aab97c
RH
4280 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
4281 define if !NOT_IN_libc.
4282 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
4283 define with non-default symbol versions.
4284
8820e3ac
RH
42852014-05-23 Richard Henderson <rth@twiddle.net>
4286
900e445f
RH
4287 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
4288 (vfork, __vfork): Define via compat_symbol.
4289
8820e3ac
RH
4290 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
4291 [!HAVE_IFUNC] (vfork_compat): Remove.
4292 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
4293
e59252a5
JM
42942014-05-23 Joseph Myers <joseph@codesourcery.com>
4295
4296 [BZ #16978]
4297 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
4298 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
4299 variable.
4300
132c7f5f
RH
43012014-05-23 Richard Henderson <rth@twiddle.net>
4302
bc89e962
RH
4303 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
4304 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
4305 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
4306 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
4307
4308 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
4309 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
4310 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
4311 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
4312 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
4313 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
4314 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
4315 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
4316 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
4317 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
4318 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
4319 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
4320 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
4321 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
4322 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
4323 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
4324 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
4325 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
4326 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
4327 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
4328 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
4329 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
4330 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
4331 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
4332 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
4333 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
4334 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
4335 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
4336 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
4337 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
4338 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
4339 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
4340 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
4341 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
4342 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
4343 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
4344 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
4345 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
4346 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
4347 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
4348 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
4349 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
4350 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
4351 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
4352 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
4353 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
4354 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
4355 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
4356 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
4357 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
4358 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
4359 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
4360 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
4361 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
4362 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
4363 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
4364
e2fa4bc2
RH
4365 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
4366 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
4367 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
4368 before exiting on error.
4369 (__libc_vfork): New strong alias.
4370 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
4371 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
4372
279b24e2
RH
4373 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
4374 that was previously under [RESET_PID].
4375 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
4376
132c7f5f
RH
4377 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
4378
b72592e7
JM
43792014-05-23 Joseph Myers <joseph@codesourcery.com>
4380
4381 [BZ #16977]
4382 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
4383 value when x - 1 is zero.
4384 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
4385 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4386 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
4387 0.0L for an argument of 1.0L.
4388 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
4389 Likewise.
4390 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
4391 value when x - 1 is zero.
4392 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
4393 * sysdeps/i386/fpu/libm-test-ulps: Update.
4394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4395
2302d679
RV
43962014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4397
4398 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
4399 alphasort and versionsort.
4400
32999d63
AZ
44012014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4402
4403 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
4404 macro.
4405 [copysignf]: Likewise.
4406
019324d0
SP
44072014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4408
4409 * crypt/md5-crypt.c: Fix formatting.
4410
34fff5c2
KS
44112014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4412
4413 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
4414 (b64_from_24bit): New function.
4415
3d2badac
AZ
44162014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4417
4418 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
4419 libc_hidden_builtin_def to ifunc.
4420 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4421 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
4422
f7bb179f 44232014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
4424
4425 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
4426 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
4427
4134b50d
JM
44282014-05-21 Joseph Myers <joseph@codesourcery.com>
4429
bb7d0337
JM
4430 * nscd/Depend (linuxthreads): Remove.
4431 (nptl): Add.
4432 * resolv/Depend (linuxthreads): Remove.
4433 * rt/Depend (linuxthreads): Remove.
4434
4134b50d
JM
4435 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
4436 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
4437 $(common-objpfx)elf/.
4438 (link-libc-before-gnulib): Likewise.
4439 (elfobjdir): Remove variable.
4440 * Makefile (install): Use $(elf-objpfx) instead of
4441 $(common-objpfx)elf/.
4442 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
4443 $(elfobjdir)/.
4444 (link-libc-deps): Likewise.
4445 ($(common-objpfx)libc.so): Likewise.
4446 ($(common-objpfx)linkobj/libc.so): Likewise.
4447 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
4448 instead of $(common-objpfx)elf/.
4449 (symbolic-link-list): Likewise.
4450 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4451 [$(cross-compiling) = no]: Likewise.
4452 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
4453 $(elfobjdir)/.
4454 (static-gnulib-arch): Likewise.
4455 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4456 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
4457 $(common-objpfx)elf/.
4458
3612eb8f
RH
44592014-05-21 Richard Henderson <rth@redhat.com>
4460
a6b3657b
RH
4461 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4462 (SINGLE_THREAD_P): Use the correct width load. Fold
4463 into the ldr offset.
4464
3612eb8f
RH
4465 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
4466 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
4467
175cef41
JM
44682014-05-20 Joseph Myers <joseph@codesourcery.com>
4469
4470 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
4471 (libgcc_s_resume): Use __attribute_used__.
4472 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
4473 Likewise.
4474
e13bccd3
AZ
44752014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4476
4477 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
4478 optimization when used with float constants.
4479
7c112a38
AZ
4480 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4481
ae75a883
AJ
44822014-05-20 Aurelien Jarno <aurelien@aurel32.net>
4483
4484 [BZ #16915]
4485 * locale/nl_langinfo_l.c: Make direct reference to every
4486 _nl_current_CATEGORY symbol.
4487 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
4488 (tests-static): Add tst-langinfo-static.
4489 (tests-special): Add tst-langinfo-static.out.
4490 ($(objpfx)tst-langinfo.out): Redirect output.
4491 ($(objpfx)tst-langinfo-static.out): New.
4492 * localedata/tst-langinfo.sh: Send output to stdout.
4493 * localedata/tst-langinfo-static.c: New file.
4494
4406c41c
AJ
4495 [BZ #16965]
4496 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
4497 when the shift amount is modulo the limb size.
4498
4c0a1e63
RH
44992014-05-20 Richard Henderson <rth@redhat.com>
4500
de9d8f20
RH
4501 [BZ #16967]
4502 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
4503 Change type of sa_flags from unsigned int to int.
4504
4c0a1e63
RH
4505 [BZ #16966]
4506 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
4507
4508 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
4509
a60339aa
WN
45102014-05-20 Will Newton <will.newton@linaro.org>
4511
4512 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4513 Test the return value of the system call in the nocancel case.
4514
7d05a816
YR
45152014-05-20 Will Newton <will.newton@linaro.org>
4516 Yvan Roux <yvan.roux@linaro.org>
4517
4518 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
4519 #include of asm/ptrace.h.
4520 (PTRACE_GET_THREAD_AREA): Remove #undef.
4521 (PTRACE_GETHBPREGS): Likewise.
4522 (PTRACE_SETHBPREGS): Likewise.
4523 (struct user_regs_struct): New structure.
4524 (struct user_fpsimd_struct): New structure.
4525 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
4526 #include of asm/ptrace.h and second #include of sys/user.h.
4527 (PTRACE_GET_THREAD_AREA): Remove #undef.
4528 (PTRACE_GETHBPREGS): Likewise.
4529 (PTRACE_SETHBPREGS): Likewise.
4530 (ELF_NGREG): Use new struct user_regs_struct.
4531 (elf_fpregset_t): Use new struct user_fpsimd_struct.
4532
af121e37
AZ
45332014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4534
4535 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
4536 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
4537
834caf06
JM
45382014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4539
4540 [BZ #16958]
4541 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
4542 membar to avoid block loads/stores to overlap previous stores.
4543
e184a918
RH
45442014-05-17 Richard Henderson <rth@redhat.com>
4545
4546 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
4547 Create the __##syscall_name##_nocancel entry point.
4548 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
4549 Remove; let the sysdep-cancel.h code create it.
4550
f56c7a6a
DM
45512014-05-17 David S. Miller <davem@davemloft.net>
4552
4553 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
4554 Protect with __USE_GNU.
4555 (TIOCSET_TEMPT): Likewise.
4556 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4557 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
4558 these are already provided in bits/ioctl-types.h
4559
f75616b2
RM
45602014-05-16 Roland McGrath <roland@hack.frob.com>
4561
3edeca86
RM
4562 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
4563 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
4564
f75616b2
RM
4565 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
4566 Use wait4 regardless of [__NR_waitpid].
4567
deb0f7f6
MR
45682014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4569
4570 PR libgcc/60166
4571 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4572 (_FP_NANSIGN_Q): Set the quiet bit.
4573
79520f4b
JM
45742014-05-16 Joseph Myers <joseph@codesourcery.com>
4575
4576 * benchtests/Makefile
4577 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
4578 not $(common-objpfx)math/libm.so.
4579 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
4580 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
4581 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
4582 $(common-objpfx)dlfcn/libdl.so.
4583 ($(objpfx)tst-audit8): Depend on $(libm), not
4584 $(common-objpfx)math/libm.so.
4585 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
4586 not $(common-objpfx)dlfcn/libdl.so.
4587 * math/Makefile
4588 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4589 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
4590 [$(build-shared) = yes].
4591 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
4592 $(common-objpfx)nptl/libpthread.so.
4593 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
4594 $(common-objpfx)math/libm.so$(libm.so-version) or
4595 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
4596 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
4597 $(common-objpfx)dlfcn/libdl.so.
4598 * setjmp/Makefile (link-libm): Remove variable.
4599 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
4600 * stdio-common/Makefile (link-libm): Remove variable.
4601 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
4602 * stdlib/Makefile (link-libm): Remove variable.
4603 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
4604 ($(objpfx)tst-strtod-round): Likewise.
4605 ($(objpfx)tst-tininess): Likewise.
4606 ($(objpfx)tst-strtod-underflow): Likewise.
4607 ($(objpfx)tst-strtod6): Likewise.
4608 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
4609 $(libdl), not $(common-objpfx)nptl/libpthread.so and
4610 $(common-objpfx)dlfcn/libdl.so.
4611
026b0fe4
AZ
46122014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4613
4614 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
4615 BSD terminal modes definitions.
4616
def4bcb2
RM
46172014-05-16 Roland McGrath <roland@hack.frob.com>
4618
fe39b021
RM
4619 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
4620 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
4621
1d1fc46e 4622 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
4623 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
4624 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
4625 Don't do #include_next.
4626 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
4627 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
4628 Don't do #include_next.
4629 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
4630 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
4631 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
4632 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
4633
c72399fb
AM
46342014-05-16 Allan McRae <allan@archlinux.org>
4635
d51d659d
AM
4636 * po/sv.po: Update Swedish translation from translation project.
4637
c72399fb
AM
4638 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
4639 in sed expression.
4640
d0583c40
AJ
46412014-05-16 Aurelien Jarno <aurelien@aurel32.net>
4642
4643 [BZ #16917]
4644 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
4645 errno if the TIOCGPTN ioctl fails with an error different than
4646 EINVAL.
4647 * login/tst-ptsname.c: New file.
4648 * login/Makefile (tests): Add tst-ptsname.
4649
d16e6ec7
AJ
4650 [BZ #16943]
4651 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
4652 and prlimit64.
4653
cf26a0cb
SP
46542014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4655
4656 [BZ #16849]
4657 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
4658 herrno to return EAI_AGAIN.
4659
5675da1e
RM
46602014-05-14 Roland McGrath <roland@hack.frob.com>
4661
a5d87b3d
RM
4662 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
4663 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
4664 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
4665 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
4666 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
4667 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
4668 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
4669 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
4670 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
4671 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
4672 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
4673 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
4674 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
4675 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
4676 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
4677 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
4678 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
4679 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
4680 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
4681 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
4682 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
4683 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
4684 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
4685 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
4686 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
4687 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
4688 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
4689 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
4690 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
4691 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
4692 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
4693 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
4694 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
4695 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
4696 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4697 Moved ...
4698 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
4699 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
4700 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
4701 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
4702 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
4703 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
4704 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
4705 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
4706 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
4707 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
4708 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
4709 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
4710 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
4711 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
4712 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
4713 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
4714 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
4715 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
4716 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
4717 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
4718 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
4719 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
4720 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
4721 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
4722 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
4723 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
4724 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
4725 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4726 Moved ...
4727 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
4728 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
4729 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
4730 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
4731 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
4732 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
4733 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
4734 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
4735 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
4736 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
4737 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
4738 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
4739 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
4740 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
4741 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
4742 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
4743 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
4744 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
4745 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
4746 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4747 Moved ...
4748 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
4749 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
4750 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
4751
039890a6
RM
4752 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
4753 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
4754 (libpthread-sysdep_routines): Add elision-related stuff here instead.
4755 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
4756 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
4757 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
4758 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
4759 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
4760 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
4761 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
4762 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
4763 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
4764 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
4765 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
4766 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
4767 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
4768 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
4769 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
4770 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
4771 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
4772 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
4773 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
4774 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
4775 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
4776 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
4777 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
4778 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
4779 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
4780 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
4781 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
4782 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
4783
65c89320
RM
4784 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
4785 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
4786
348f8e8c
RM
4787 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
4788 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
4789 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
4790 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
4791 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
4792 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
4793 Moved ...
4794 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
4795 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
4796 Moved ...
4797 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
4798 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
4799 Moved ...
4800 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
4801 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
4802 Moved ...
4803 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
4804 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
4805 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
4806 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4807 Moved ...
4808 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
4809 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
4810 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
4811 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
4812 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
4813 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
4814 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
4815 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4816 Moved ...
4817 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
4818 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4819 Moved ...
4820 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4821 ... here.
4822 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
4823 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
4824 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
4825 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
4826 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4827 Moved ...
4828 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4829 ... here.
4830 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
4831 Moved ...
4832 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
4833 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
4834 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
4835 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
4836 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
4837 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
4838 Moved ...
4839 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
4840 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4841 Moved ...
4842 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
4843 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4844 Moved ...
4845 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
4846 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
4847 Moved ...
4848 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
4849 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
4850 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
4851 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
4852 Moved ...
4853 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
4854 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
4855 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
4856 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
4857 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
4858 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
4859 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
4860 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4861 Moved ...
4862 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
4863 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4864 Moved ...
4865 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4866 ... here.
4867 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
4868 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
4869 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
4870 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
4871 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4872 Moved ...
4873 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4874 ... here.
4875 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
4876 Moved ...
4877 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
4878 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
4879 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
4880 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
4881 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
4882 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
4883 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
4884 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
4885 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
4886 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
4887 Moved ...
4888 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
4889 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4890 Moved ...
4891 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
4892 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4893 Moved ...
4894 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
4895 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
4896 Moved ...
4897 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
4898 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
4899 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
4900 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
4901 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
4902 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4903 Moved ...
4904 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
4905 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
4906 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
4907 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
4908 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
4909 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
4910 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
4911 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4912 Moved ...
4913 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
4914 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4915 Moved ...
4916 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4917 ... here.
4918 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
4919 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
4920 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
4921 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
4922 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4923 Moved ...
4924 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4925 ... here.
4926 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
4927 Moved ...
4928 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
4929 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
4930 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
4931 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
4932 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
4933 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
4934 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
4935 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
4936 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
4937 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
4938 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
4939
5085af05
RM
4940 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
4941 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
4942
708f0813
RM
4943 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
4944 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
4945
c96067bc
RM
4946 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
4947 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
4948 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
4949 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
4950 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
4951 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
4952 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
4953 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
4954 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
4955 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
4956 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
4957 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
4958 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
4959 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
4960 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
4961 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
4962 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
4963 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
4964 Moved ...
4965 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
4966 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
4967 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
4968 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
4969 Moved ...
4970 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
4971 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
4972 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
4973 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
4974 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
4975 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
4976 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
4977 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
4978 Moved ...
4979 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
4980 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
4981 Moved ...
4982 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
4983 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
4984 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
4985 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
4986 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
4987 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
4988 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
4989 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
4990 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
4991 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
4992 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
4993 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
4994 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
4995 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
4996 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
4997 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
4998 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
4999
ec136444
RM
5000 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
5001 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
5002 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
5003 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
5004 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
5005
2fbdf533
RM
5006 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
5007 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
5008 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
5009 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
5010 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
5011 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
5012 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
5013 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
5014 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
5015 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
5016
4c68138b
RM
5017 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
5018 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
5019
4eaae765
RM
5020 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
5021 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
5022 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
5023 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
5024 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
5025 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
5026 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
5027 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
5028 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
5029 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
5030 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
5031 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
5032 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
5033 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
5034 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
5035 Update #include.
5036 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
5037 Likewise.
5038 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5039 Likewise.
5040 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5041 Likewise.
5042 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5043 Likewise.
5044 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
5045 Likewise.
5046 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
5047 Likewise.
5048 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5049 Likewise.
5050 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
5051 Likewise.
5052 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
5053 Likewise.
4ef6befa
RM
5054 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
5055 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
5056 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
5057 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
5058 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
5059 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
5060 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
5061 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
5062 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
5063 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
5064 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
5065 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
5066 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
5067 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
5068 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 5069
941d7dfd
RM
5070 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
5071 that was previously under [RESET_PID].
5072 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5073 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
5074 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
5075
1b731c35
RM
5076 * sysdeps/i386/nptl/Implies: New file.
5077 * sysdeps/x86_64/nptl/Implies: New file.
5078 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
5079 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
5080 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
5081 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
5082
e2787137
RM
5083 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
5084 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5085 (__libc_vfork): New strong alias.
5086 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
5087 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
5088
5089 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
5090 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5091 (__libc_vfork): New strong alias.
5092 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
5093 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
5094
5675da1e
RM
5095 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
5096 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5097 (__libc_vfork): New strong alias.
5098 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
5099 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
5100 * nptl/pt-vfork.c: New file.
5101 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
5102 (libpthread: GLIBC_2.20): New version set (empty).
5103
4f02e2b8
WN
51042014-05-14 Will Newton <will.newton@linaro.org>
5105
5106 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
5107 rather than #if.
5108
0bf061d3
JM
51092014-05-14 Joseph Myers <joseph@codesourcery.com>
5110
1a84c3d6
JM
5111 [BZ #16564]
5112 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
5113 arguments with exponent 65 or above.
5114 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
5115 arguments 0x1p113L or above.
5116 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
5117 to arguments 0x1p107L or above.
5118 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
5119 positive arguments with exponent 65 or above.
5120 * math/auto-libm-test-in: Add more tests of log1p.
5121 * math/auto-libm-test-out: Regenerated.
5122
01dbacd2
JM
5123 [BZ #16928]
5124 * math/s_cacos.c (__cacos): Ensure zero real part of result from
5125 non-finite arguments is +0.
5126 * math/s_cacosf.c (__cacosf): Likewise.
5127 * math/s_cacosl.c (__cacosl): Likewise.
5128 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
5129 * sysdeps/i386/fpu/libm-test-ulps: Update.
5130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5131
913d03c8
JM
5132 [BZ #16927]
5133 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
5134 value.
5135 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5136 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
5137 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
5138 for explicit high bit of mantissa when testing for argument equal
5139 to 1.
5140 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
5141 * sysdeps/i386/fpu/libm-test-ulps: Update.
5142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5143
0bf061d3
JM
5144 [BZ #16516]
5145 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
5146 (__erf): Scale by 16 instead of 8 in potentially underflowing
5147 case. Ensure exception if result actually underflows.
5148 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
5149 (__erff): Scale by 16 instead of 8 in potentially underflowing
5150 case. Ensure exception if result actually underflows.
5151 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
5152 (efx8): Remove variable.
5153 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5154 case. Ensure exception if result actually underflows.
5155 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
5156 (efx8): Remove variable.
5157 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5158 case. Ensure exception if result actually underflows.
5159 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
5160 (efx8): Remove variable.
5161 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5162 case. Ensure exception if result actually underflows.
5163 * math/auto-libm-test-in: Add more tests of erf.
5164 * math/auto-libm-test-out: Regenerated.
5165
73ba67cb
AS
51662014-05-14 Andreas Schwab <schwab@suse.de>
5167
3d8c8bff
AS
5168 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
5169 Remove code conditionalized on USE___THREAD.
5170
73ba67cb
AS
5171 * config.h.in (HAVE_PT_CHOWN): Define as 0.
5172 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
5173 not definedness.
5174
5c521ecd
JM
51752014-05-14 Joseph Myers <joseph@codesourcery.com>
5176
5e7698c6
JM
5177 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
5178 Define unconditionally.
5179 (__ASSUME_O_CLOEXEC): Likewise.
5180 (__ASSUME_SOCK_CLOEXEC): Likewise.
5181 (__ASSUME_IN_NONBLOCK): Likewise.
5182 (__ASSUME_PIPE2): Likewise.
5183 (__ASSUME_EVENTFD2): Likewise.
5184 (__ASSUME_SIGNALFD4): Likewise.
5185 (__ASSUME_DUP3): Likewise.
5186 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5187 (__ASSUME_DUP3): Do not define.
5188 (__ASSUME_EVENTFD2): Likewise.
5189 (__ASSUME_IN_NONBLOCK): Likewise.
5190 (__ASSUME_O_CLOEXEC): Likewise.
5191 (__ASSUME_PIPE2): Likewise.
5192 (__ASSUME_SIGNALFD4): Likewise.
5193 (__ASSUME_SOCK_CLOEXEC): Likewise.
5194 (__ASSUME_UTIMES): Undefine.
5195 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5196 (__ASSUME_UTIMES): Do not define.
5197 (__ASSUME_O_CLOEXEC): Likewise.
5198 (__ASSUME_SOCK_CLOEXEC): Likewise.
5199 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
5200 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
5201 0x020621].
5202 (__ASSUME_PIPE2): Likewise.
5203 (__ASSUME_EVENTFD2): Likewise.
5204 (__ASSUME_SIGNALFD4): Likewise.
5205 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
5206 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
5207 Do not define.
5208 (__ASSUME_EVENTFD2): Likewise.
5209 (__ASSUME_SIGNALFD4): Likewise.
5210 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5211 (__ASSUME_32BITUIDS): Likewise.
5212 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5213 (__ASSUME_IPC64): Likewise.
5214 (__ASSUME_ST_INO_64_BIT): Likewise.
5215 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
5216 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
5217 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5218 (__ASSUME_UTIMES): Do not define.
5219 (__ASSUME_PSELECT): Likewise.
5220 (__ASSUME_PPOLL): Likewise.
5221 (__ASSUME_O_CLOEXEC): Likewise.
5222 (__ASSUME_SOCK_CLOEXEC): Likewise.
5223 (__ASSUME_IN_NONBLOCK): Likewise.
5224 (__ASSUME_PIPE2): Likewise.
5225 (__ASSUME_EVENTFD2): Likewise.
5226 (__ASSUME_SIGNALFD4): Likewise.
5227 (__ASSUME_DUP3): Likewise.
5228 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5229 (__ASSUME_UTIMES): Likewise.
5230 (__ASSUME_O_CLOEXEC): Likewise.
5231 (__ASSUME_SOCK_CLOEXEC): Likewise.
5232 (__ASSUME_IN_NONBLOCK): Likewise.
5233 (__ASSUME_PIPE2): Likewise.
5234 (__ASSUME_EVENTFD2): Likewise.
5235 (__ASSUME_SIGNALFD4): Likewise.
5236 (__ASSUME_DUP3): Likewise.
5237 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5238 (__ASSUME_UTIMES): Likewise.
5239 (__ASSUME_O_CLOEXEC): Likewise.
5240 (__ASSUME_SOCK_CLOEXEC): Likewise.
5241 (__ASSUME_IN_NONBLOCK): Likewise.
5242 (__ASSUME_PIPE2): Likewise.
5243 (__ASSUME_EVENTFD2): Likewise.
5244 (__ASSUME_SIGNALFD4): Likewise.
5245 (__ASSUME_DUP3): Likewise.
5246 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
5247 Likewise.
5248 (__ASSUME_UTIMES): Likewise.
5249 (__ASSUME_EVENTFD2): Likewise.
5250 (__ASSUME_SIGNALFD4): Likewise.
5251 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5252 (__ASSUME_O_CLOEXEC): Likewise.
5253 (__ASSUME_SOCK_CLOEXEC): Likewise.
5254 (__ASSUME_IN_NONBLOCK): Likewise.
5255 (__ASSUME_PIPE2): Likewise.
5256 (__ASSUME_EVENTFD2): Likewise.
5257 (__ASSUME_SIGNALFD4): Likewise.
5258 (__ASSUME_DUP3): Likewise.
5259 (__ASSUME_UTIMES): Undefine.
5260
5c521ecd
JM
5261 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
5262 feclearexcept. Remove symbol versioning code.
5263 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
5264 symbol versioning code.
5265 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
5266 symbol versioning code.
5267 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
5268 feupdateenv. Remove symbol versioning code.
5269 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
5270 fegetexceptflag. Remove symbol versioning code.
5271 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
5272 fesetexceptflag. Remove symbol versioning code.
5273 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
5274 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
5275 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
5276 (__posix_fadvise64_l32): Remove prototype.
5277 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
5278 code.
5279
5da9dfad
RM
52802014-05-13 Roland McGrath <roland@hack.frob.com>
5281
5282 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
5283 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
5284 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
5285 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
5286
893b4f37
SK
52872014-05-13 Sami Kerola <kerolasa@iki.fi>
5288
5289 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
5290 current working directory
5291
e0db6517
RM
52922014-05-13 Roland McGrath <roland@hack.frob.com>
5293
58aa195d
RM
5294 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
5295 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
5296 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
5297 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
5298 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
5299 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
5300 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
5301 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
5302 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
5303 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
5304 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
5305 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
5306 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
5307 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
5308 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
5309 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
5310 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
5311 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
5312 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
5313 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
5314 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
5315 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
5316 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
5317 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
5318 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
5319 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
5320 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
5321 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
5322 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
5323 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
5324 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
5325 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
5326 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
5327 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
5328 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
5329 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
5330 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
5331 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
5332 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
5333 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
5334 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
5335 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
5336
8c6d01f0
RM
5337 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
5338 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
5339
5340 * sysdeps/unix/sysv/linux/arm/Makefile
5341 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5342 Add rt-aeabi_unwind_cpp_pr1.
5343 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
5344 Add nptl-aeabi_unwind_cpp_pr1.
5345 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
5346 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
5347 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
5348 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5349 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
5350 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5351
5352 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
5353 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
5354 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
5355 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
5356
bba6da4e
RM
5357 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
5358 Deconditionalize the code that was previously under [RESET_PID].
5359 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
5360
e0db6517
RM
5361 * sysdeps/generic/exit-thread.h: New file.
5362 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
5363 * include/unistd.h (__exit_thread): Remove declaration.
5364 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
5365 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
5366 * csu/libc-start.c: Include <exit-thread.h>.
5367 (LIBC_START_MAIN): Pass no argument to __exit_thread.
5368 * nptl/pthread_create.c: Include <exit-thread.h>.
5369 (start_thread): Call __exit_thread in place of __exit_thread_inline.
5370 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
5371 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
5372 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
5373 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
5374 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
5375 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
5376 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
5377 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
5378 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
5379 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
5380 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
5381 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
5382 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
5383 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
5384 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
5385 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
5386
01eb16fd
AS
53872014-05-13 Andreas Schwab <schwab@suse.de>
5388
5389 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
5390
637461d9
JM
53912014-05-12 Joseph Myers <joseph@codesourcery.com>
5392
5393 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5394 (__ASSUME_UTIMES): Do not condition on kernel version.
5395 (__ASSUME_PSELECT): Define unconditionally.
5396 (__ASSUME_PPOLL): Likewise.
5397 (__ASSUME_ATFCTS): Likewise.
5398 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
5399 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
5400 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
5401 (__ASSUME_UTIMENSAT): Define unconditionally.
5402 (__ASSUME_PRIVATE_FUTEX): Likewise.
5403 (__ASSUME_FALLOCATE): Likewise.
5404 (__ASSUME_O_CLOEXEC): Likewise.
5405 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
5406 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
5407 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
5408 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
5409 (__ASSUME_IN_NONBLOCK): Likewise.
5410 (__ASSUME_PIPE2): Likewise.
5411 (__ASSUME_EVENTFD2): Likewise.
5412 (__ASSUME_SIGNALFD4): Likewise.
5413 (__ASSUME_DUP3): Likewise.
5414 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5415 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
5416 (__ASSUME_AT_RANDOM): Likewise.
5417 (__ASSUME_PREADV): Likewise.
5418 (__ASSUME_PWRITEV): Likewise.
5419 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
5420 (__ASSUME_F_GETOWN_EX): Define unconditionally.
5421 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
5422 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5423 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
5424 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5425 (__ASSUME_O_CLOEXEC): Define unconditionally.
5426 (__ASSUME_PSELECT): Do not undefine conditionally.
5427 (__ASSUME_PPOLL): Likewise.
5428 (__ASSUME_ATFCTS): Likewise.
5429 (__ASSUME_SET_ROBUST_LIST): Likewise.
5430 (__ASSUME_UTIMENSAT): Likewise.
5431 (__ASSUME_FDATASYNC): Define unconditionally.
5432 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5433 (__ASSUME_SIGFRAME_V2): Likewise.
5434 )__ASSUME_EVENTFD2): Likewise.
5435 (__ASSUME_SIGNALFD4): Likewise.
5436 (__ASSUME_PSELECT): Do not undefine conditionally.
5437 (__ASSUME_PPOLL): Likewise.
5438 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5439 (__ASSUME_PSELECT): Define unconditionally.
5440 (__ASSUME_PPOLL): Likewise.
5441 (__ASSUME_O_CLOEXEC): Likewise.
5442 (__ASSUME_SOCK_CLOEXEC): Likewise.
5443 (__ASSUME_IN_NONBLOCK): Likewise.
5444 (__ASSUME_PIPE2): Likewise.
5445 (__ASSUME_EVENTFD2): Likewise.
5446 (__ASSUME_SIGNALFD4): Likewise.
5447 (__ASSUME_DUP3): Likewise.
5448 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5449 (__ASSUME_O_CLOEXEC): Likewise.
5450 (__ASSUME_SOCK_CLOEXEC): Likewise.
5451 (__ASSUME_IN_NONBLOCK): Likewise.
5452 (__ASSUME_PIPE2): Likewise.
5453 (__ASSUME_EVENTFD2): Likewise.
5454 (__ASSUME_SIGNALFD4): Likewise.
5455 (__ASSUME_DUP3): Likewise.
5456 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5457 (__ASSUME_EVENTFD2): Likewise.
5458 (__ASSUME_SIGNALFD4): Likewise.
5459 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5460
315eb1d8
AS
54612014-05-12 Andreas Schwab <schwab@suse.de>
5462
5463 [BZ #16932]
5464 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
5465 (_nss_nis_gethostbyname4_r): Return error if item length is larger
5466 than maximum RPC packet size.
5467 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
5468 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
5469 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
5470 (_nss_nis_getservbyport_r): Likewise.
5471
91df99f7
WN
54722014-05-12 Will Newton <will.newton@linaro.org>
5473
5474 * malloc/Makefile (tests): Add tst-mallopt.
5475 * malloc/tst-mallopt.c: New file.
5476
0a982a29
RM
54772014-05-09 Roland McGrath <roland@hack.frob.com>
5478
5479 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
5480 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
5481
0ded08a5
AZ
54822014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5483
5484 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
5485 (tst-tlsmod6.so): Likewise.
5486
55d4d550
RM
54872014-05-09 Roland McGrath <roland@hack.frob.com>
5488
5489 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
5490
77d08aca
JM
54912014-05-09 Joseph Myers <joseph@codesourcery.com>
5492
5493 [BZ #16064]
5494 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
5495 and <dl-procinfo.h>.
5496 (__fegetenv): Save SSE state in envp->__eip if supported.
5497 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
5498 envp->__eip if supported.
5499 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
5500 and <dl-procinfo.h>.
5501 (__fesetenv): Always set __eip, __cs_selector, __opcode,
5502 __data_offset and __data_selector in environment to 0. Set SSE
5503 state if supported.
5504 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5505 test-fenv-sse.
5506 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
5507 -mfpmath=sse.
5508 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
5509
28162f4d
WN
55102014-05-09 Will Newton <will.newton@linaro.org>
5511
5512 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
5513 and libc_relro_required for ARM.
5514 * sysdeps/arm/preconfigure: Regenerate.
5515
5a414ff7
DV
55162014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
5517 Stefan Liebler <stli@linux.vnet.ibm.com>
5518
5519 * config.make.in (enable-lock-elision): New Makefile variable.
5520 * configure.ac: Likewise.
5521 * configure: Regenerate.
5522 * sysdeps/s390/configure.ac:
5523 Add check for gcc transactions support.
5524 * sysdeps/s390/configure: Regenerate.
5525 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
5526 Build elision files if enabled.
5527 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
5528 Add lock elision support for s390.
5529 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
5530 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
5531 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
5532 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5533 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
5534 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
5535 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5536 Likewise.
5537 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
5538 Likewise.
5539 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
5540 Likewise.
5541 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
5542 Likewise.
5543 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
5544 (__lll_timedlock_elision, __lll_lock_elision)
5545 (__lll_unlock_elision, __lll_trylock_elision)
5546 (lll_timedlock_elision, lll_lock_elision)
5547 (lll_unlock_elision, lll_trylock_elision): Add.
5548 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5549 (pthread_mutex_t): Add lock elision support for s390.
5550
1a2f40e5
W
55512014-05-14 Wilco <wdijkstr@arm.com>
5552
5553 * sysdeps/arm/fclrexcpt.c: Cleanup.
5554 * sysdeps/arm/fedisblxcpt.c: Cleanup.
5555 * sysdeps/arm/feenablxcpt.c: Cleanup.
5556 * sysdeps/arm/fegetenv.c: Cleanup.
5557 * sysdeps/arm/fegetexcept.c: Cleanup.
5558 * sysdeps/arm/fegetround.c: Cleanup.
5559 * sysdeps/arm/feholdexcpt.c: Cleanup.
5560 * sysdeps/arm/fesetenv.c: Cleanup.
5561 * sysdeps/arm/fesetround.c: Cleanup.
5562 * sysdeps/arm/feupdateenv.c: Cleanup.
5563 * sysdeps/arm/fgetexcptflg.c: Cleanup.
5564 * sysdeps/arm/fraiseexcpt.c: Cleanup.
5565 * sysdeps/arm/fsetexcptflg.c: Cleanup.
5566 * sysdeps/arm/ftestexcept.c: Cleanup.
5567 * sysdeps/arm/get-rounding-mode.h: Cleanup.
5568 * sysdeps/arm/setfpucw.c: Cleanup.
5569
f63c86fe
WN
55702014-05-09 Will Newton <will.newton@linaro.org>
5571
5572 * sysdeps/arm/armv7/strcmp.S: New file.
5573 * NEWS: Mention addition of ARMv7 optimized strcmp.
5574
7a1a51b5
RM
55752014-05-08 Roland McGrath <roland@hack.frob.com>
5576
95afbbe5
RM
5577 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
5578 look for %.ac rather than %.in.
5579
5580 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
5581 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
5582 * sysdeps/mach/hurd/configure: Regenerated.
5583 * sysdeps/unix/sysv/linux/configure: Regenerated.
5584
7a1a51b5
RM
5585 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
5586
5057ad3b
SE
55872014-05-07 Steve Ellcey <sellcey@mips.com>
5588
5589 [BZ# 16922]
5590 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
5591 (LONG_SUB): Ditto.
5592 (PTR_SUB): Ditto.
5593
8dc97517
AS
55942014-05-07 Andreas Schwab <schwab@suse.de>
5595
5596 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
5597 when skipping over non-matching result from nscd.
5598
ce0c5b8f
OB
55992014-05-07 Ondřej Bílka <neleai@seznam.cz>
5600
5601 [BZ #16876]
5602 * nptl/sockperf.c (client): Check socket return value.
8dc97517 5603
a1189263
OB
5604 [BZ #16877]
5605 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
5606 nscd security class.
ce0c5b8f 5607
0f58d252
RM
56082014-05-06 Roland McGrath <roland@hack.frob.com>
5609
5610 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
5611 * sysdeps/arm/unwind.h: ... here.
5612
83df9ad0
AJ
56132014-05-06 Aurelien Jarno <aurelien@aurel32.net>
5614
ce0c5b8f
OB
5615 [BZ# 16916]
5616 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
5617 Define.
83df9ad0 5618
f360f94a
VR
56192014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5620
5621 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
5622 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
5623 multiarch strncpy for PPC64.
5624 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
5625 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
5626 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
5627 multiarch optimizations.
5628 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5629 (__libc_ifunc_impl_list): Likewise.
5630 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
5631 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
5632 multiarch stpncpy for PPC64.
5633 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
5634 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
5635
978a41c3
AS
56362014-05-06 Andreas Schwab <schwab@suse.de>
5637
5638 [BZ #16912]
5639 * gmon/mcount.c (_MCOUNT_DECL): Use
5640 atomic_compare_and_exchange_bool_acq instead of
5641 catomic_compare_and_exchange_bool_acq.
5642
eb1ed03d
RM
56432014-05-05 Roland McGrath <roland@hack.frob.com>
5644
fe658845
RM
5645 * elf/Makefile (others, install-bin): Remove pldd.
5646 (pldd-modules): Variable removed.
5647 ($(objpfx)pldd): Target removed.
5648 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
5649 (others, install-bin): Append pldd here.
5650 ($(objpfx)pldd): New target.
5651
eb1ed03d
RM
5652 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
5653 to 0, so the first #if test emitted later doesn't see it undefined.
5654 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
5655 * sysdeps/gnu/errlist.c: Regenerated.
5656
19c4bec0
AZ
56572014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5658
5659 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5660 [libc_hidden_builtin_def]: Define to empty value.
5661 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
5662 [libc_hidden_builtin_def]: Likewise.
5663 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
5664 [libc_hidden_builtin_def]: Likewise.
5665 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
5666 [libc_hidden_builtin_def]: Likewise.
5667 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
5668 __redirect_memcpy and define ifunc as default hidden symbol.
5669 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
5670 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
5671
7776e669
AC
56722014-05-04 Adam Conrad <adconrad@0c3.net>
5673
5674 * locale/iso-4217.def: Reintroduce XDR currency.
5675
d69aeb12
AM
56762014-05-04 Allan McRae <allan@archlinux.org>
5677
5678 * po/eo.po: Update Esperanto translation from translation project.
5679
8f1df5cf
CD
56802014-05-02 Carlos O'Donell <carlos@redhat.com>
5681
5682 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
5683 and FEATURE_INDEX_MAX to 1.
5684 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
5685
13e402e7
SE
56862014-05-01 Steve Ellcey <sellcey@mips.com>
5687
5688 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
5689 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
5690 * iconvdata/big5.c (ONE_DIRECTION): Define.
5691 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
5692 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
5693 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
5694 * iconvdata/cp932.c (ONE_DIRECTION): Define.
5695 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
5696 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
5697 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
5698 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
5699 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
5700 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
5701 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
5702 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
5703 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
5704 * iconvdata/gbk.c (ONE_DIRECTION): Define.
5705 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
5706 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
5707 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
5708 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
5709 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
5710 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
5711 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
5712 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
5713 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
5714 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
5715 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
5716 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
5717 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
5718 * iconvdata/iso646.c (ONE_DIRECTION): Define.
5719 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
5720 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
5721 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
5722 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
5723 * iconvdata/johab.c (ONE_DIRECTION): Define.
5724 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
5725 * iconvdata/sjis.c (ONE_DIRECTION): Define.
5726 * iconvdata/t.61.c (ONE_DIRECTION): Define.
5727 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
5728 * iconvdata/tscii.c (ONE_DIRECTION): Define.
5729 * iconvdata/uhc.c (ONE_DIRECTION): Define.
5730 * iconvdata/unicode.c (ONE_DIRECTION): Define.
5731 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
5732 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
5733 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
5734
c727f032
RM
57352014-05-01 Roland McGrath <roland@hack.frob.com>
5736
8f2f08d0
RM
5737 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
5738 (_IO_JUMPS_OFFSET): Define to 0.
5739
c727f032
RM
5740 * nptl/sysdeps/pthread/bits/libc-lock.h
5741 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5742 (__libc_lock_define_initialized_recursive): Always define using
5743 initializer. Modern compilers treat uninitialized (implicit zero) and
5744 explicit zero initializers the same (i.e. put the datum in bss).
5745
a849e800
AS
57462014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5747
5748 * nscd/nscd-client.h: Include <string.h>.
5749
5331255b
DM
57502014-05-01 David S. Miller <davem@davemloft.net>
5751
5752 [BZ #16885]
5753 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
5754 multiple zero bytes exist at the end of a string.
5755 Reported by Aurelien Jarno <aurelien@aurel32.net>
5756
5757 * string/test-strcmp.c (check): Add explicit test for situations where
5758 there are multiple zero bytes after the first.
5759
4fdfe821
AS
57602014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5761
5762 [BZ #16890]
5763 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
5764 when compiling wprintf.
5765 * stdio-common/tstdiomisc.c (t3): New function.
5766 (main): Call it.
5767
0cdddc25
SE
57682014-05-01 Steve Ellcey <sellcey@mips.com>
5769
5770 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
5771 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
5772 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
5773 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
5774
6426d77e
SE
57752014-05-01 Steve Ellcey <sellcey@mips.com>
5776
5777 * stdlib/longlong.h: Updated from GCC.
5778
6d96f5e4
WN
57792014-05-01 Will Newton <will.newton@linaro.org>
5780 Bernard Ogden <bernie.ogden@linaro.org>
5781
7470db0c
WN
5782 * NEWS: Update fixed bug list.
5783
6d96f5e4
WN
5784 [BZ #15119]
5785 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
5786
211d653c
DM
57872014-04-30 David S. Miller <davem@davemloft.net>
5788
4fa262fa
DM
5789 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
5790 (libc_feholdexcept_setround_sparc_ctx): New function.
5791 (libc_fesetenv_sparc_ctx): Likewise.
5792 (libc_feupdateenv_sparc_ctx): Likewise.
5793 (libc_feholdsetround_sparc_ctx): Likewise.
5794 (libc_feholdexcept_setround_ctx): Define.
5795 (libc_feholdexcept_setroundf_ctx): Likewise.
5796 (libc_feholdexcept_setroundl_ctx): Likewise.
5797 (libc_fesetenv_ctx): Likewise.
5798 (libc_fesetenvf_ctx): Likewise.
5799 (libc_fesetenvl_ctx): Likewise.
5800 (libc_feupdateenv_ctx): Likewise.
5801 (libc_feupdateenvf_ctx): Likewise.
5802 (libc_feupdateenvl_ctx): Likewise.
5803 (libc_feresetround_ctx): Likewise.
5804 (libc_feresetroundf_ctx): Likewise.
5805 (libc_feresetroundl_ctx): Likewise.
5806 (libc_feholdsetround_ctx): Likewise.
5807 (libc_feholdsetroundf_ctx): Likewise.
5808 (libc_feholdsetroundl_ctx): Likewise.
5809
1d3d93ef
DM
5810 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5811 with __USE_GNU instead of XOPEN cpp guards.
5812
8aa583c3
DM
5813 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
5814 0.
5815
211d653c
DM
5816 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5817 with XOPEN cpp guards.
5818
60c8f1f6
JB
58192014-04-30 Julian Brown <julian@codesourcery.com>
5820
5821 [BZ #16888]
5822 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
5823 handling.
5824
9a461d46
JM
58252014-04-30 Joseph Myers <joseph@codesourcery.com>
5826
d0f5b3f8
JM
5827 [BZ #9894]
5828 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5829 Change to 2.6.32.
5830 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
5831 * sysdeps/unix/sysv/linux/configure: Regenerated.
5832 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
5833 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
5834 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
5835 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
5836 * README: Update reference to required Linux kernel version.
5837 * manual/install.texi (Linux): Update reference to required Linux
5838 kernel headers version.
5839 * INSTALL: Regenerated.
5840
9a461d46
JM
5841 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
5842 header inclusion.
5843 [POSIX] (limits.h): Likewise.
5844 [POSIX] (math.h): Likewise.
5845 [POSIX] (sys/wait.h): Likewise.
5846 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
5847 function.
5848 [POSIX] (stddef.h): Do not allow header inclusion.
5849
1775babf
AZ
58502014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5851
57f41c40 5852 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 5853
8f630cca
YY
58542014-04-30 Yang Yingliang <yangyingliang@huawei.com>
5855
5856 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5857 Return immediately after lll_futex_wake.
5858
1cdeb237
SP
58592014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5860
bc8f194c
SP
5861 [BZ #16791]
5862 * nscd/nscd-client.h (datahead_init_common): Initialize entire
5863 structure.
5864 (datahead_init_pos): Call datahead_init_common early.
5865 (datahead_init_neg): Likewise.
5866
1cdeb237
SP
5867 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
5868 datahead_init_neg): New functions.
5869 * nscd/aicache.c (addhstaiX): Use them.
5870 * nscd/grpcache.c (cache_addgr): Likewise.
5871 * nscd/hstcache.c (cache_addhst): Likewise.
5872 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5873 * nscd/netgroupcache.c (do_notfound): Likewise.
5874 (addgetnetgrentX): Likewise.
5875 (addinnetgrX): Likewise.
5876 * nscd/pwdcache.c (cache_addpw): Likewise.
5877 * nscd/servicescache.c (cache_addserv): Likewise.
5878
16b293a7
SP
58792014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5880 Atsushi Onoe <atsushi@onoe.org>
5881
5882 [BZ #14308]
5883 [BZ #12994]
5884 [BZ #13651]
5885 * resolv/res_query.c (__libc_res_nsearch): Return if at least
5886 one response is valid.
5887 * resolv/res_send.c (send_dg): Check for validity of other
5888 response if the current response is a referral.
5889
a28a9b94
SE
58902014-04-29 Steve Ellcey <sellcey@mips.com>
5891
5892 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
5893
2ca180e9
SL
58942014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
5895
5896 [BZ #16823]
5897 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
5898 Always divide by positive zero when computing -Inf result.
5899 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5900 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5901
18f2945a
AZ
59022014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5903
5904 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
5905 FPSCR if value do not change.
5906 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5907 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
5908 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5909 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5910 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
5911 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
5912 function.
5913
5abebba4
CD
59142014-05-29 Carlos O'Donell <carlos@systemhalted.org>
5915
5916 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
5917 * sysdeps/unix/sysv/linux/hppa: Move directory from
5918 ports/systeps/unix/sysv/linux/hppa.
5919 * README: Update listing for hppa-*-linux-gnu.
5920
f7ed60c2
OB
59212014-04-28 Ondřej Bílka <neleai@seznam.cz>
5922
fff763a5
OB
5923 [BZ #16754]
5924 * manual/stdio.texi (Hook functions): Fix types of stream hook
5925 functions.
f7ed60c2
OB
5926 [BZ #16854]
5927 * socket/sys/socket.h: Fix typo in comment.
5928
df639d73
WD
59292014-04-28 Wilco <wdijkstr@arm.com>
5930
f7ed60c2 5931 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
5932 * sysdeps/arm/math_private.h: New file.
5933 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
5934
48332d82
L
59352014-04-25 H.J. Lu <hongjiu.lu@intel.com>
5936
5937 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
5938 with __int128_t.
5939 (La_x86_64_retval): Likewise.
5940
e5e0d9a4
IB
59412014-04-24 Ian Bolton <ian.bolton@arm.com>
5942
5943 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
5944 fpsr if value didn't change.
5945 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
5946 to fpcr if value didn't change.
5947 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
5948 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
5949 fpsr or fpcr if value didn't change.
5950 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5951 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
5952 fpcr if value didn't change.
5953 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
5954 to fpsr if value didn't change.
5955
bacc75f7
SP
59562014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5957
5958 * nptl/tst-sem3.c: Use test-skeleton.c
5959 (main): Rename to do_test. Use return instead of
5960 exit.
5961 * nptl/tst-sem4.c: Use test-skeleton.c
5962 (main): Rename to do_test.
5963
a059d359
DM
59642014-04-22 David S. Miller <davem@davemloft.net>
5965
5966 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
5967 (struct sigaction): New struct member __glibc_reserved0, change
5968 type of sa_flags to int.
5969
ea6c92f3
YZ
59702014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
5971
5972 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
5973 (COUNT_LEADING_ZEROS_0): Define for AArch64.
5974
766c4a36
SP
59752014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5976
5977 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
5978 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
5979
140cc7ab
VK
59802014-04-22 Will Newton <will.newton@linaro.org>
5981 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
5982
5983 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
5984 (__longjmp): Add longjmp and longjmp_target SystemTap
5985 probes.
5986 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
5987 (__sigsetjmp): Add setjmp SystemTap probe.
5988
c54e5cf7
CD
59892014-04-17 Carlos O'Donell <carlos@redhat.com>
5990
5991 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
5992 match manual order.
5993
75ffb047
AZ
59942014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5995
5996 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
5997
2cd925f7
AZ
5998 * sysdeps/powerpc/fpu/fenv_private.h
5999 (libc_feholdexcept_setroundl_ctx): Define to
6000 libc_feholdexcept_setround_ppc_ctx.
6001 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
6002 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
6003 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
6004 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
6005
39e6cd8d
IB
60062014-04-17 Ian Bolton <ian.bolton@arm.com>
6007
6008 * sysdeps/aarch64/math-tests.h: New file.
6009
f9281df9
SY
60102014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
6011
6012 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
6013 New.
6014 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6015 Check and set bit_AVX2_Usable.
6016 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
6017 macro.
6018 (bit_AVX2): Likewise.
6019 (index_AVX2_Usable): Likewise.
6020 (CPUID_AVX2): Likewise.
6021 (HAS_AVX2): Likewise.
6022
37d35007
WN
60232014-04-17 Will Newton <will.newton@linaro.org>
6024
7c677662
WN
6025 * manual/setjmp.texi (System V contexts): Add note that
6026 calling setcontext on a context created by a call to a
6027 signal handler is undefined. Update text to note that
6028 setcontext from a signal handler is possible but not
6029 recommended.
6030
37d35007 6031 [BZ #16629]
e04a4e9d
WN
6032 * stdlib/tst-setcontext.c: Include signal.h.
6033 (main): Check that the signal stack before and
6034 after swapcontext is the same.
6035
37d35007
WN
6036 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
6037 Re-implement to restore registers in user code and avoid
6038 rt_sigreturn system call.
6039
423a7160
W
60402014-04-17 Wilco <wdijkstr@arm.com>
6041
6042 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
6043 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
6044 * math/test-fenv.c: Skip exception trap tests on targets which only
6045 support non-stop mode.
6046
bc93ab29
IB
60472014-04-17 Ian Bolton <ian.bolton@arm.com>
6048 Wilco Dijkstra <wilco.dijkstra@arm.com>
6049
6050 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
6051 (libc_feholdsetround_aarch64_ctx)
6052 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
6053 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
6054 (libc_feresetround_ctx, libc_feresetroundf_ctx)
6055 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
6056 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
6057 (libc_feresetround_noexl_ctx): Define.
6058
95fc5fa3
RH
60592014-04-16 Richard Henderson <rth@redhat.com>
6060
ddb04724
RH
6061 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
6062
d77c0899
RH
6063 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
6064 unwind tables.
6065
a3df56fc
RH
6066 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
6067 const from the non-libc, non-ldso copy.
6068
95fc5fa3
RH
6069 * sysdeps/alpha/libm-test-ulps: Regenerate.
6070
7e0b6763
IB
60712014-04-16 Ian Bolton <ian.bolton@arm.com>
6072 Wilco Dijkstra <wilco.dijkstra@arm.com>
6073
6074 * sysdeps/aarch64/fpu/math_private.h: New file.
6075
a9ea2e0c
MS
60762014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
6077
6078 * sysdeps/aarch64/libm-test-ulps: Regenerate.
6079
ea8ba7cd
IZ
60802014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
6081
6082 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
6083 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
6084 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
6085 Intel MPX bound registers before _dl_profile_fixup.
6086 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
6087 registers after _dl_profile_fixup. Save and restore bound
6088 registers bnd0/bnd1 when calling _dl_call_pltexit.
6089 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
6090 (LR_BND_OFFSET): Likewise.
6091 (LRV_BND0_OFFSET): Likewise.
6092 (LRV_BND1_OFFSET): Likewise.
6093
9f2a4fbc
ST
60942014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6095
6096 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
6097 to...
6098 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
6099 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
6100 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
6101 fields.
9f2a4fbc 6102
fd15a59b
ST
61032014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6104
6105 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
6106
f19dfa0a
SL
61072014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6108
6109 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6110
4fa8bc3b
SL
61112014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6112
6113 [BZ #14770]
6114 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
6115 * sysdeps/s390/configure: Regenerate.
6116
8ea587db
SL
6117 [BZ #16824]
6118 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
6119 Set round-to-nearest internally to reduce error accumulation.
6120
aa5f0ff1
AM
61212014-04-16 Alan Modra <amodra@gmail.com>
6122
6123 [BZ #16740]
6124 [BZ #16619]
6125 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
6126 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 6127 * NEWS: Update fixed bug list.
aa5f0ff1 6128
bb9c256f
SP
61292014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6130
6131 * benchtests/Makefile: Depend on libraries in build directory.
6132 (bench-math): Separate out math tests.
6133 (bench-pthread): Separate out pthread tests.
6134 (bench): Include math and pthread tests.
6135
f737dfd0
CD
61362014-04-14 Carlos O'Donell <carlos@redhat.com>
6137
6138 [BZ #16831]
6139 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
6140 _dl_debug_initialize.
6141
0699f766
CD
6142 * configure.ac: Remove SELinux header check.
6143 * configure: Regenerate.
6144 * nscd/selinux.c (perms): Array of const char* to permission names.
6145 (nscd_request_avc_has_perm): Call security_deny_unknown to find
6146 default policy. Call string_to_security_class and string_to_av_perm to
6147 translate strings. Enforce default policy and call avs_has_perm with
6148 results of translated strings.
6149
809bd45f
DM
61502014-04-13 David S. Miller <davem@davemloft.net>
6151
6152 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6153
89e691f2
AM
61542014-04-12 Allan McRae <allan@archlinux.org>
6155
6156 [BZ #16838]
6157 * manual/string.texi (Collation Functions): Fix qsort argument
6158 order in example.
6159 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6160
9c9daaeb
CM
61612014-04-11 Chris Metcalf <cmetcalf@tilera.com>
6162
6163 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
6164 Make the test a no-op if there are no exceptions defined.
6165
95561fb9
PP
61662014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
6167
fe8d072c 6168 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
6169 enable-hardcoded-path-in-tests
6170
970c602a
WN
61712014-04-11 Will Newton <will.newton@linaro.org>
6172
6173 * benchtests/Makefile (extra-objs): Add json-lib.o.
6174 (bench-func): Tidy up JSON output.
6175 * benchtests/bench-skeleton.c: Include json-lib.h.
6176 (main): Use JSON library functions to do output of
6177 benchmark results.
6178 * benchtests/bench-timing-type.c (main): Output the
6179 timing type simply, leaving formatting to the user.
6180 * benchtests/json-lib.c: New file.
6181 * benchtests/json-lib.h: Likewise.
6182
36875b06
TR
61832014-04-11 Torvald Riegel <triegel@redhat.com>
6184
6185 [BZ #15215]
6186 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
6187 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
6188 memory barriers. Add comments.
6189 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
6190 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
6191 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
6192 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
6193 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
6194 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
6195
579db35a
SL
61962014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6197
6198 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
6199 * sysdeps/s390/s390-64/configure.ac: ... this ...
6200 * sysdeps/s390/configure.ac: ... to here.
6201 * sysdeps/s390/s390-32/configure: Delete file.
6202 * sysdeps/s390/s390-64/configure: Delete file.
6203 * sysdeps/s390/configure: Regenerate.
6204
c12e9f37
JAPH
62052014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
6206
6207 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
6208
439bda32
WN
62092014-04-11 Will Newton <will.newton@linaro.org>
6210
6211 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
6212 to zero if it is not defined elsewhere. (mtrim): Test
6213 the value of MALLOC_DEBUG with #if rather than #ifdef.
6214
6a5d6ea1
TR
62152014-04-10 Torvald Riegel <triegel@redhat.com>
6216
6217 * benchtests/pthread_once-inputs: New file.
6218 * benchtests/pthread_once-source.c: New file.
6219 * benchtests/README: Update documentation.
6220
a4c75cfd
IZ
62212014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
6222 H.J. Lu <hongjiu.lu@intel.com>
6223
6224 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
6225 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
6226 * sysdeps/x86_64/configure: Regenerated.
6227 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
6228 macro.
6229 (REGISTER_SAVE_RAX): Likewise.
6230 (REGISTER_SAVE_RCX): Likewise.
6231 (REGISTER_SAVE_RDX): Likewise.
6232 (REGISTER_SAVE_RSI): Likewise.
6233 (REGISTER_SAVE_RDI): Likewise.
6234 (REGISTER_SAVE_R8): Likewise.
6235 (REGISTER_SAVE_R9): Likewise.
6236 (REGISTER_SAVE_BND0): Likewise.
6237 (REGISTER_SAVE_BND1): Likewise.
6238 (REGISTER_SAVE_BND2): Likewise.
6239 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
6240 bound registers when calling _dl_fixup.
6241
27822ce6
AZ
62422014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6243
6244 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
6245 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
6246 of its definition.
27822ce6
AZ
6247 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
6248 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
6249 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
6250 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
6251 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
6252 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
6253 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
6254
a88ddc90
PTB
62552014-04-09 Peter Brett <peter@peter-b.co.uk>
6256
6257 [BZ #15514]
6258 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
6259 pathconf(_PC_NAME_MAX).
6260
01f8eac2
AZ
62612014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6262
6263 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
6264 Remove macro usage.
6265 (__PTHREAD_SPINS): Move definition to ...
6266 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6267 (__PTHREAD_SPINS): ... here.
6268 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6269 (__PTHREAD_SPIN): Likewise.
6270 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
6271 (__PTHREAD_SPIN): Likewise.
6272 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
6273 (__PTHREAD_SPIN): Likewise.
6274 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
6275 (__PTHREAD_SPIN): Likewise.
6276 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6277 (__PTHREAD_SPIN): Likewise.
6278 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6279 (__PTHREAD_SPIN): Likewise.
6280 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
6281 (__PTHREAD_SPIN): Likewise.
6282 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6283 (__PTHREAD_SPIN): Likewise.
6284 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6285 (__PTHREAD_SPIN): Likewise.
6286 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6287 (__PTHREAD_SPIN): Likewise.
6288 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6289 (__PTHREAD_SPIN): Likewise.
6290 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
6291 (__PTHREAD_SPIN): Likewise.
6292
de21c33c
AZ
6293 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
6294 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
6295 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
6296 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
6297 imply folder.
6298 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
6299 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
6300 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
6301 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
6302 correct imply path.
6303 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
6304 strlen symbol for non multi-arch builds.
6305 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
6306 missing hidden_def and weak_alias.
6307
862c472e
CD
63082014-04-08 Carlos O'Donell <carlos@redhat.com>
6309
6310 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
6311
8667f90e
WN
63122014-04-07 Will Newton <will.newton@linaro.org>
6313
6314 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
6315 and contents. [!_LIBC] Remove #ifndef and contents.
6316 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
6317 * string/memccpy.c (__memccpy): Use ANSI prototype.
6318 * string/memfrob.c (memfrob): Likewise.
6319 * string/strcoll.c (STRCOLL): Likewise.
6320 * string/strlen.c (strlen): Likewise.
6321 * string/strtok.c (STRTOK): Likewise.
6322 * string/strcat.c: Remove unused #include of memcopy.h.
6323 (strcat): Use ANSI prototype.
6324 * string/strchr.c: Remove unused #include of memcopy.h.
6325 (strchr): Use ANSI prototype.
6326 * string/strcmp.c: Remove unused #include of memcopy.h.
6327 (strcmp): Use ANSI prototype.
6328 * string/strcpy.c: Remove unused #include of memcopy.h.
6329 (strcpy): Use ANSI prototype.
6330
7ffa9423
AZ
63312014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6332
6333 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
6334 * config.make.in (config-extra-cppflags): Set it from
6335 libc_extra_cppflags.
6336 * configure.ac (libc_extra_cflags): Make it accumulate over
6337 configure fragments.
6338 (libc_extra_cppflags): New flag.
6339 * configure. Regenerate.
6340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
6341 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
6342 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
6343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6344
8bd70862
AZ
6345 [BZ #16815]
6346 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
6347 result for FE_DOWNWARD rounding mode.
6348 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6349 Likewise.
6350 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6351
d42f3448
CM
63522014-04-04 Chris Metcalf <cmetcalf@tilera.com>
6353
6354 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
6355 in function argument name.
6356
1c21d115
DS
63572014-04-03 David Svoboda <svoboda@cert.org>
6358
6359 [BZ #5666]
6360 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
6361 explicitly.
6362
fcccd512
RM
63632014-04-03 Roland McGrath <roland@hack.frob.com>
6364
6365 * elf/dl-unmap-segments.h: New file.
6366 * sysdeps/generic/ldsodefs.h
6367 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
6368 * elf/dl-close.c: Include <dl-unmap-segments.h>.
6369 * elf/dl-fptr.c: Likewise.
6370 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
6371 * sysdeps/aarch64/tlsdesc.c: Likewise.
6372 * sysdeps/arm/tlsdesc.c: Likewise.
6373 * sysdeps/i386/tlsdesc.c: Likewise.
6374 * sysdeps/tile/dl-runtime.c: Likewise.
6375 * sysdeps/x86_64/tlsdesc.c: Likewise.
6376 * elf/dl-load.h: New file.
6377 * elf/dl-load.c: Include it.
6378 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
6379 Macros moved to dl-load.h.
6380 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
6381 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
6382 Use _dl_unmap_segments in place of __munmap.
6383 Break out segment-mapping loop into ...
6384 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
6385
f6488e2b
WN
63862014-04-03 Will Newton <will.newton@linaro.org>
6387
6388 * elf/dl-lookup.c (do_lookup_x): Remove comment
6389 referring to nested function and move variable
6390 declarations down to before first use.
6391
6f05bafe
JM
63922014-04-02 Joseph Myers <joseph@codesourcery.com>
6393
a84e78c8
JM
6394 [BZ #16799]
6395 [BZ #16800]
6396 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
6397 with 0 numerator.
6398 * math/s_catanf.c (__catanf): Likewise.
6399 * math/s_catanh.c (__catanh): Likewise.
6400 * math/s_catanhf.c (__catanhf): Likewise.
6401 * math/s_catanhl.c (__catanhl): Likewise.
6402 * math/s_catanl.c (__catanl): Likewise.
6403 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
6404 by positive zero when computing -Inf result.
6405 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
6406 (catanh_test): Likewise.
6407 * sysdeps/i386/fpu/libm-test-ulps: Update.
6408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6409
6f05bafe
JM
6410 [BZ #16789]
6411 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
6412 instead of using underflowing value in computing result.
6413 * math/s_clog10.c (__clog10): Likewise.
6414 * math/s_clog10f.c (__clog10f): Likewise.
6415 * math/s_clog10l.c (__clog10l): Likewise.
6416 * math/s_clogf.c (__clogf): Likewise.
6417 * math/s_clogl.c (__clogl): Likewise.
6418 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
6419 (clog10_test): Likewise.
6420 * sysdeps/i386/fpu/libm-test-ulps: Update.
6421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6422
b0abbc21
AM
64232014-04-02 Alan Modra <amodra@gmail.com>
6424
6425 [BZ #16739]
6426 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
6427 output when value is near a power of two. Use int64_t for lx and
6428 remove casts. Use decimal rather than hex exponent constants.
6429 Don't use long double multiplication when double will suffice.
6430 * math/libm-test.inc (nextafter_test_data): Add tests.
6431 * NEWS: Add 16739 and 16786 to bug list.
6432
af6b1797
AM
6433 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
6434
483818d7
AM
6435 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
6436
f6c55796
WN
64372014-04-01 Will Newton <will.newton@linaro.org>
6438
6439 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
6440 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
6441
13f7fe35
FW
64422014-04-01 Florian Weimer <fweimer@redhat.com>
6443
6444 [BZ #13347]
6445 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
6446 * nptl/tst-setuid2.c: New file.
6447 * nptl/Makefile (xtests): Add tst-setuid2.
6448
c859b32e
AM
64492014-04-01 Alan Modra <amodra@gmail.com>
6450
6451 [BZ #16786]
6452 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
6453
54fa2475
JM
64542014-03-31 Joseph Myers <joseph@codesourcery.com>
6455
8795b4a4
JM
6456 [BZ #6803]
6457 [BZ #6804]
6458 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
6459 set errno as appropriate.
6460 * math/w_scalbf.c (__scalbf): Likewise.
6461 * math/w_scalbl.c (__scalbl): Likewise.
6462 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
6463 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
6464 * math/libm-test.inc (scalb_test_data): Add errno expectations.
6465 Add more NaN tests.
6466
54fa2475
JM
6467 [BZ #16349]
6468 * math/w_atan2.c: Include <errno.h>.
6469 (__atan2): Set errno for result underflowing to zero.
6470 * math/w_atan2f.c: Include <errno.h>.
6471 (__atan2f): Set errno for result underflowing to zero.
6472 * math/w_atan2l.c: Include <errno.h>.
6473 (__atan2l): Set errno for result underflowing to zero.
6474 * math/auto-libm-test-in: Don't allow missing errno for some atan2
6475 tests.
6476 * math/auto-libm-test-out: Regenerated.
6477
757d9dd5
AZ
64782014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6479
6480 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6481 Encode instruction correctly in little endian.
6482 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6483 Likewise.
6484 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6485 Likewise.
6486 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6487 Likewise.
6488 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6489 Likewise.
6490
d7a68734
JM
64912014-03-31 Joseph Myers <joseph@codesourcery.com>
6492
47c5adeb
JM
6493 [BZ #9894]
6494 * sysdeps/unix/sysv/linux/kernel-features.h
6495 [__sparc__ && !__arch64__ && !__sparc_v9__]
6496 (__ASSUME_SET_ROBUST_LIST): Do not define.
6497 [__sparc__ && !__arch64__ && !__sparc_v9__]
6498 (__ASSUME_FUTEX_LOCK_PI): Likewise.
6499 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
6500 Likewise.
6501 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6502 (__ASSUME_FUTEX_LOCK_PI): Undefine.
6503 (__ASSUME_REQUEUE_PI): Likewise.
6504 (__ASSUME_SET_ROBUST_LIST): Likewise.
6505 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6506 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
6507 Undefine.
6508 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6509 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
6510 Likewise.
6511 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
6512 Likewise.
6513 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
6514 Likewise.
6515 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6516 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
6517 Undefine.
6518 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
6519 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
6520 Likewise.
6521
d7a68734
JM
6522 [BZ #16648]
6523 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6524 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
6525 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
6526
c760f5c2
WN
65272014-03-31 Will Newton <will.newton@linaro.org>
6528
6529 * benchtests/Makefile (bench): Add ffs and ffsll to list
6530 of tests.
6531 * benchtests/ffs-inputs: New file.
6532 * benchtests/ffsll-inputs: Likewise.
6533
ea6029b1
JM
65342014-03-29 Joseph Myers <joseph@codesourcery.com>
6535
6536 [BZ #16770]
6537 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
6538 too large before casting to int.
6539 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
6540 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
6541 * math/libm-test.inc (scalb_test_data): Add more tests.
6542
cf806aff
SP
65432014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6544
56737508
SP
6545 * benchtests/Makefile (DETAILED_OPT): New make option.
6546 (bench-func): Run benchmark program with -d if DETAILED_OPT is
6547 set.
6548 * benchtests/bench-skeleton.c: Include stdbool.h.
6549 (main): Store and print timings per input.
6550 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
6551 member to each argument value.
6552 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
6553 (_print_arg_data): Initialize per-input timing to 0.
6554
cb5e4aad
SP
6555 * benchtests/Makefile (timing-type): New binary.
6556 (bench-clean): Also remove bench-timing-type.
6557 (bench): New target for timing-type.
6558 (bench-func): Print output in JSON format.
6559 * benchtests/bench-skeleton.c (main): Print output in JSON
6560 format.
6561 * benchtests/bench-timing-type.c: New file.
6562 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
6563 (TIMING_PRINT_STATS): Remove.
6564 * benchtests/scripts/bench.py (_print_arg_data): Store variant
6565 name separately.
6566
cf806aff
SP
6567 * benchtests/bench-modf.c: Remove.
6568 * benchtests/modf-inputs: New inputs file.
6569
289e0779
JM
65702014-03-28 Joseph Myers <joseph@codesourcery.com>
6571
6572 [BZ #16362]
6573 * math/s_clog10.c (M_PI_LOG10E): New macro.
6574 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
6575 imaginary parts are 0.
6576 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
6577 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
6578 imaginary parts are 0.
6579 * math/s_clog10l.c (M_PI_LOG10El): New macro.
6580 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
6581 imaginary parts are 0.
6582 * math/libm-test.inc (clog10_test_data): Update expected results
6583 for when real and imaginary parts are 0.
6584
277ae3f1
PP
65852014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
6586
6587 * elf/dl-load.c: Finish conversion of __builtin_expect into
6588 __glibc_{un}likely.
6589
03a7091f
JM
65902014-03-27 Joseph Myers <joseph@codesourcery.com>
6591
6592 [BZ #16348]
6593 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
6594 1+x for argument with exponent below -67.
6595 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
6596 Likewise.
6597 * math/auto-libm-test-in: Add more tests of exp.
6598 * math/auto-libm-test-out: Regenerated.
6599
ea7d8b95
SP
66002014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6601
dd3022d7
SP
6602 [BZ #16759]
6603 * inet/getnetgrent_r.c (get_nonempty_val): New function.
6604 (nscd_getnetgrent): Use it.
6605
ea7d8b95
SP
6606 [BZ #16760]
6607 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
6608 of stpcpy.
6609
df5b85da
AK
66102014-03-27 Andi Kleen <ak@linux.intel.com>
6611
57f41c40
AS
6612 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
6613 (lll_robust_lock, lll_cond_lock, lll_timedlock)
6614 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6615 (lll_robust_unlock): Remove out of line section. Use cfi
6616 intrinsics.
df5b85da 6617 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
6618 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
6619 (lll_robust_lock, lll_cond_lock, lll_timedlock)
6620 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6621 (lll_robust_unlock): Remove out of line section. Use cfi
6622 intrinsics.
df5b85da
AK
6623 (LLL_STUB_UNWIND_INFO*): Remove.
6624
fbd6b5a4
SP
66252014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6626
6627 [BZ #16758]
6628 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
6629 blank values.
6630
1b26b855
PP
66312014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
6632
6633 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
6634
9be36fb8
JM
66352014-03-26 Joseph Myers <joseph@codesourcery.com>
6636
6637 [BZ #16198]
6638 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
6639 fnstenv.
6640 * math/test-fenv-preserve.c: New file.
6641 * math/Makefile (tests): Add test-fenv-preserve.
6642
60a2f3c1
WN
66432014-03-26 Will Newton <will.newton@linaro.org>
6644
6645 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
6646
a5e5f1e2
RM
66472014-03-25 Roland McGrath <roland@hack.frob.com>
6648
6649 * scripts/versionlist.awk: Partition the version sets and emit all
6650 GLIBC_* (sorted) before all others (sorted).
6651
00f4012a
JM
66522014-03-25 Joseph Myers <joseph@codesourcery.com>
6653
6654 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
6655 GLIBC_2.2.5 version.
6656
7bc5a741
AZ
66572014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6658
6659 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
6660 calls.
6661
7578473b
AZ
6662 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
6663 previous change.
6664
f3f1dab3
AZ
6665 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6666
6da36183
AS
66672014-03-25 Andreas Schwab <schwab@suse.de>
6668
6669 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
6670 label to be used after in6ailist is initialized.
6671
f3f1dab3 66722014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 6673
7578473b 6674 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
6675 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6676
046651c1
JM
66772014-03-25 Joseph Myers <joseph@codesourcery.com>
6678
6679 [BZ #16357]
6680 [BZ #16599]
6681 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
6682 min_plus_half.
6683 (fp_formats): Update initializers.
6684 (init_fp_formats): Initialize new field.
6685 (output_for_one_input_case): Allow underflow for results up to
6686 min_plus_half.
6687 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
6688 * math/auto-libm-test-in: Don't mark some underflows from asin and
6689 atanh as spurious.
6690 * math/auto-libm-test-out: Regenerated.
6691 * sysdeps/i386/fpu/libm-test-ulps: Update.
6692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6693
003e49ed
AS
66942014-03-25 Andreas Schwab <schwab@suse.de>
6695
6696 * libio/Makefile (tst-ftell-partial-wide-ENV)
6697 (tst-ftell-active-handler-ENV): Define.
6698
de031874
SL
66992014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
6700
6701 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
6702
55a81e3b
PP
67032014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6704
6705 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
6706
f3426898
JM
67072014-03-24 Joseph Myers <joseph@codesourcery.com>
6708
6709 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
6710 * sysdeps/x86_64/fpu/multiarch/e_exp.c
6711 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6712
a42faf59
PP
67132014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6714
6715 [BZ #16634]
a42faf59 6716 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
6717 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
6718 (open_path): Change from boolean 'secure' to complete flag 'mode'
6719 (_dl_map_object): Adjust.
a42faf59
PP
6720 * elf/Makefile (tests): Add tst-dlopen-aout.
6721 * elf/tst-dlopen-aout.c: New test.
6722
50936127
SL
67232014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6724
6725 [BZ #16714]
6726 * sysdeps/unix/sysv/linux/s390/bits/stat.h
6727 (struct stat): Rename member pad0 to __glibc_reserved0.
6728
26011b5c
SL
6729 [BZ #16712]
6730 * sysdeps/s390/s390-32/bits/wordsize.h
6731 (__WORDSIZE32_SIZE_ULONG): New define.
6732 * sysdeps/s390/s390-64/bits/wordsize.h
6733 (__WORDSIZE32_SIZE_ULONG): Likewise.
6734 * sysdeps/generic/stdint.h (SIZE_MAX):
6735 Define as UL if __WORDSIZE32_SIZE_ULONG.
6736
a2d86bf1
SL
6737 [BZ #16713]
6738 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
6739 (__glibc_reserved0): New variable.
6740 (sa_flags): Change type to int.
6741
78b6eebc
SL
6742 * posix/Makefile (before-compile): Use += before-compile instead
6743 of a :=.
6744
f1399b5a
SL
6745 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6746 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6747
a071766e
AS
67482014-03-20 Andreas Schwab <schwab@suse.de>
6749
6750 [BZ #16743]
6751 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
6752 non-matching result from nscd.
6753
27c673b8
SP
67542014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6755
6756 * scripts/bench.py: Moved to ...
6757 * benchtests/scripts/bench.py: ... here.
6758 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
6759
44152e4b
AS
67602014-03-24 Andreas Schwab <schwab@suse.de>
6761
6762 [BZ #16002]
6763 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
6764 alloca_account and account alloca use for struct in6ailist.
6765
b376a11a
JM
67662014-03-24 Joseph Myers <joseph@codesourcery.com>
6767
6768 [BZ #16284]
6769 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
6770 rounding mode to recompute results that overflow to infinity or
6771 underflow to zero.
6772 * math/auto-libm-test-in: Don't mark tests as expected to fail for
6773 bug 16284.
6774 * math/auto-libm-test-out: Regenerated.
6775 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
6776 (ccosh_test): Likewise.
6777 (csin_test_data): Use plus_oflow.
6778 (csin_test): Use ALL_RM_TEST.
6779 (csinh_test_data): Use plus_oflow.
6780 (csinh_test): Use ALL_RM_TEST.
6781 * sysdeps/i386/fpu/libm-test-ulps: Update.
6782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6783
f7be7376
JM
67842014-03-21 Joseph Myers <joseph@codesourcery.com>
6785
1ca2d03e
JM
6786 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
6787 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
6788 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
6789
f7be7376
JM
6790 [BZ #16731]
6791 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
6792 when x - 1 is zero.
6793 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
6794 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
6795 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6796 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
6797 argument is 1.
6798 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
6799 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
6800 zero.
6801 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
6802 * sysdeps/i386/fpu/libm-test-ulps: Update.
6803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6804
fdf4534d
SP
68052014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6806
df26ea53
SP
6807 * scripts/bench.pl: Remove file.
6808 * scripts/bench.py: New benchmark script.
6809 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
6810 * benchtests/README: Mention python dependency.
6811 * scripts/pylintrc: New file.
6812 * scripts/pylint: New file.
6813
fdf4534d
SP
6814 * bits/mathdef.h: Use #ifdef instead of #if.
6815 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
6816 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6817 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
6818 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6819 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
6820 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6821
6f23d093
AZ
68222014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6823 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6824
6825 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
6826 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
6827 and strpbrk-ppc64 objects.
6828 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6829 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
6830 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
6831 multiarch strpbrk for POWER7.
6832 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
6833 multiarch strpbrk for PPC64.
6834 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
6835 ifunc selector.
6836 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
6837 strpbrk for POWER7.
6838
8c92dfff
JM
68392014-03-20 Joseph Myers <joseph@codesourcery.com>
6840
6841 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
6842 (atan_test): Likewise.
6843 (atanh_test_data): Use NO_TEST_INLINE for two tests.
6844 (atanh_test): Use ALL_RM_TEST.
6845 (atan2_test_data): Likewise.
6846 (cabs_test): Likewise.
6847 (cacosh_test): Likewise.
6848 (carg_test): Likewise.
6849 (casin_test): Likewise.
6850 (casinh_test): Likewise.
6851 (cbrt_test): Likewise.
6852 (csqrt_test): Likewise.
6853 (erf_test): Likewise.
6854 (erfc_test): Likewise.
6855 (pow10_test): Likewise.
6856 (exp2_test): Likewise.
6857 (hypot_test): Likewise.
6858 (j0_test): Likewise.
6859 (j1_test): Likewise.
6860 (lgamma_test): Likewise.
6861 (gamma_test): Likewise.
6862 (sincos_test): Likewise.
6863 (tanh_test): Likewise.
6864 (y0_test): Likewise.
6865 (y1_test): Likewise.
6866 * sysdeps/i386/fpu/libm-test-ulps: Update.
6867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6868
6eaf95cb
AZ
68692014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6870
a387428c
SP
6871 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
6872 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
6873 and strcspn-ppc64 objects.
6874 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6875 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
6876 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
6877 multiarch strcspn for POWER7.
6878 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
6879 multiarch strcspn for PPC64.
6880 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
6881 ifunc selector.
6882 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
6883 strcspn for POWER7.
6884
ae3a5dff
JM
68852014-03-20 Joseph Myers <joseph@codesourcery.com>
6886
6887 * math/gen-libm-test.pl (generate_testfile): Expect only function
6888 name as argument to AUTO_TESTS_* and pass results for all rounding
6889 modes to parse_args.
6890 (parse_auto_input): Separate inputs of automatic tests from
6891 outputs before storing in %auto_tests.
6892 * math/libm-test.inc (acos_test_data): Update call to
6893 AUTO_TESTS_f_f.
6894 (acos_test): Use ALL_RM_TEST.
6895 (acos_tonearest_test_data): Remove.
6896 (acos_test_tonearest): Likewise.
6897 (acos_towardzero_test_data): Likewise.
6898 (acos_test_towardzero): Likewise.
6899 (acos_downward_test_data): Likewise.
6900 (acos_test_downward): Likewise.
6901 (acos_upward_test_data): Likewise.
6902 (acos_test_upward): Likewise.
6903 (acosh_test_data): Update call to AUTO_TESTS_f_f.
6904 (asin_test_data): Likewise.
6905 (asin_test): Use ALL_RM_TEST.
6906 (asin_tonearest_test_data): Remove.
6907 (asin_test_tonearest): Likewise.
6908 (asin_towardzero_test_data): Likewise.
6909 (asin_test_towardzero): Likewise.
6910 (asin_downward_test_data): Likewise.
6911 (asin_test_downward): Likewise.
6912 (asin_upward_test_data): Likewise.
6913 (asin_test_upward): Likewise.
6914 (asinh_test_data): Update call to AUTO_TESTS_f_f.
6915 (atan_test_data): Likewise.
6916 (atanh_test_data): Likewise.
6917 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
6918 (cabs_test_data): Update call to AUTO_TESTS_c_f.
6919 (carg_test_data): Likewise.
6920 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
6921 (ccos_test_data): Update call to AUTO_TESTS_c_c.
6922 (ccosh_test_data): Likewise.
6923 (cexp_test_data): Likewise.
6924 (clog_test_data): Likewise.
6925 (clog10_test_data): Likewise.
6926 (cos_test_data): Update call to AUTO_TESTS_f_f.
6927 (cos_test): Use ALL_RM_TEST.
6928 (cos_tonearest_test_data): Remove.
6929 (cos_test_tonearest): Likewise.
6930 (cos_towardzero_test_data): Likewise.
6931 (cos_test_towardzero): Likewise.
6932 (cos_downward_test_data): Likewise.
6933 (cos_test_downward): Likewise.
6934 (cos_upward_test_data): Likewise.
6935 (cos_test_upward): Likewise.
6936 (cosh_test_data): Update call to AUTO_TESTS_f_f.
6937 (cosh_test): Use ALL_RM_TEST.
6938 (cosh_tonearest_test_data): Remove.
6939 (cosh_test_tonearest): Likewise.
6940 (cosh_towardzero_test_data): Likewise.
6941 (cosh_test_towardzero): Likewise.
6942 (cosh_downward_test_data): Likewise.
6943 (cosh_test_downward): Likewise.
6944 (cosh_upward_test_data): Likewise.
6945 (cosh_test_upward): Likewise.
6946 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
6947 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
6948 (ctan_test_data): Likewise.
6949 (ctan_test): Use ALL_RM_TEST.
6950 (ctan_tonearest_test_data): Remove.
6951 (ctan_test_tonearest): Likewise.
6952 (ctan_towardzero_test_data): Likewise.
6953 (ctan_test_towardzero): Likewise.
6954 (ctan_downward_test_data): Likewise.
6955 (ctan_test_downward): Likewise.
6956 (ctan_upward_test_data): Likewise.
6957 (ctan_test_upward): Likewise.
6958 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
6959 (ctanh_test): Use ALL_RM_TEST.
6960 (ctanh_tonearest_test_data): Remove.
6961 (ctanh_test_tonearest): Likewise.
6962 (ctanh_towardzero_test_data): Likewise.
6963 (ctanh_test_towardzero): Likewise.
6964 (ctanh_downward_test_data): Likewise.
6965 (ctanh_test_downward): Likewise.
6966 (ctanh_upward_test_data): Likewise.
6967 (ctanh_test_upward): Likewise.
6968 (erf_test_data): Update call to AUTO_TESTS_f_f.
6969 (erfc_test_data): Likewise.
6970 (exp_test_data): Likewise.
6971 (exp_test): Use ALL_RM_TEST.
6972 (exp_tonearest_test_data): Remove.
6973 (exp_test_tonearest): Likewise.
6974 (exp_towardzero_test_data): Likewise.
6975 (exp_test_towardzero): Likewise.
6976 (exp_downward_test_data): Likewise.
6977 (exp_test_downward): Likewise.
6978 (exp_upward_test_data): Likewise.
6979 (exp_test_upward): Likewise.
6980 (exp10_test_data): Update call to AUTO_TESTS_f_f.
6981 (exp10_test): Use ALL_RM_TEST.
6982 (exp10_tonearest_test_data): Remove.
6983 (exp10_test_tonearest): Likewise.
6984 (exp10_towardzero_test_data): Likewise.
6985 (exp10_test_towardzero): Likewise.
6986 (exp10_downward_test_data): Likewise.
6987 (exp10_test_downward): Likewise.
6988 (exp10_upward_test_data): Likewise.
6989 (exp10_test_upward): Likewise.
6990 (exp2_test_data): Update call to AUTO_TESTS_f_f.
6991 (expm1_test_data): Likewise.
6992 (expm1_test): Use ALL_RM_TEST.
6993 (expm1_tonearest_test_data): Remove.
6994 (expm1_test_tonearest): Likewise.
6995 (expm1_towardzero_test_data): Likewise.
6996 (expm1_test_towardzero): Likewise.
6997 (expm1_downward_test_data): Likewise.
6998 (expm1_test_downward): Likewise.
6999 (expm1_upward_test_data): Likewise.
7000 (expm1_test_upward): Likewise.
7001 (fma_test_data): Update call to AUTO_TESTS_fff_f.
7002 (fma_test): Use ALL_RM_TEST.
7003 (fma_towardzero_test_data): Remove.
7004 (fma_test_towardzero): Likewise.
7005 (fma_downward_test_data): Likewise.
7006 (fma_test_downward): Likewise.
7007 (fma_upward_test_data): Likewise.
7008 (fma_test_upward): Likewise.
7009 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
7010 (j0_test_data): Update call to AUTO_TESTS_f_f.
7011 (j1_test_data): Likewise.
7012 (jn_test_data): Update call to AUTO_TESTS_if_f.
7013 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
7014 (log_test_data): Update call to AUTO_TESTS_f_f.
7015 (log10_test_data): Likewise.
7016 (log1p_test_data): Likewise.
7017 (log2_test_data): Likewise.
7018 (pow_test_data): Update call to AUTO_TESTS_ff_f.
7019 (pow_tonearest_test_data): Likewise.
7020 (sin_test_data): Update call to AUTO_TESTS_f_f.
7021 (sin_test): Use ALL_RM_TEST.
7022 (sin_tonearest_test_data): Remove.
7023 (sin_test_tonearest): Likewise.
7024 (sin_towardzero_test_data): Likewise.
7025 (sin_test_towardzero): Likewise.
7026 (sin_downward_test_data): Likewise.
7027 (sin_test_downward): Likewise.
7028 (sin_upward_test_data): Likewise.
7029 (sin_test_upward): Likewise.
7030 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
7031 (sinh_test_data): Update call to AUTO_TESTS_f_f.
7032 (sinh_test): Use ALL_RM_TEST.
7033 (sinh_tonearest_test_data): Remove.
7034 (sinh_test_tonearest): Likewise.
7035 (sinh_towardzero_test_data): Likewise.
7036 (sinh_test_towardzero): Likewise.
7037 (sinh_downward_test_data): Likewise.
7038 (sinh_test_downward): Likewise.
7039 (sinh_upward_test_data): Likewise.
7040 (sinh_test_upward): Likewise.
7041 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
7042 (sqrt_test): Use ALL_RM_TEST.
7043 (sqrt_tonearest_test_data): Remove.
7044 (sqrt_test_tonearest): Likewise.
7045 (sqrt_towardzero_test_data): Likewise.
7046 (sqrt_test_towardzero): Likewise.
7047 (sqrt_downward_test_data): Likewise.
7048 (sqrt_test_downward): Likewise.
7049 (sqrt_upward_test_data): Likewise.
7050 (sqrt_test_upward): Likewise.
7051 (tan_test_data): Update call to AUTO_TESTS_f_f.
7052 (tan_test): Use ALL_RM_TEST.
7053 (tan_tonearest_test_data): Remove.
7054 (tan_test_tonearest): Likewise.
7055 (tan_towardzero_test_data): Likewise.
7056 (tan_test_towardzero): Likewise.
7057 (tan_downward_test_data): Likewise.
7058 (tan_test_downward): Likewise.
7059 (tan_upward_test_data): Likewise.
7060 (tan_test_upward): Likewise.
7061 (tanh_test_data): Update call to AUTO_TESTS_f_f.
7062 (tgamma_test_data): Likewise.
7063 (y0_test_data): Likewise.
7064 (y1_test_data): Likewise.
7065 (yn_test_data): Update call to AUTO_TESTS_if_f.
7066 (main): Do not call removed functions.
7067
d71aeee8
JM
70682014-03-19 Joseph Myers <joseph@codesourcery.com>
7069
7070 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
7071 (ldexp_test_data): Remove.
7072 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
7073 scalbn_test_data.
7074 (scalb_test): Use ALL_RM_TEST.
7075
baaf1ded
AS
70762014-03-19 Andreas Schwab <schwab@suse.de>
7077
7078 * nscd/nscd.service: Also invalidate netgroup cache on reload.
7079
b1115e91
JM
70802014-03-19 Joseph Myers <joseph@codesourcery.com>
7081
7082 [BZ #16649]
7083 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7084 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
7085 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
7086 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7087 (__ASSUME_PREADV): Undefine.
7088 (__ASSUME_PWRITEV): Likewise.
7089
0283ecca
RM
70902014-03-18 Roland McGrath <roland@hack.frob.com>
7091
7d375303
RM
7092 * bits/mman-linux.h: Add comment about non-Linux use.
7093 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
7094 bits/mman-linux.h resting place.
7095
0283ecca
RM
7096 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
7097 * bits/mman-linux.h: ... here.
7098
aebe1003
AZ
70992014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7100
7101 * conform/conformtest.pl: Add standard definition when calling C
7102 preprocessor on data files.
7103 (checknamespace): Remove unused variable.
7104
b29b6bb8
JM
71052014-03-18 Joseph Myers <joseph@codesourcery.com>
7106
7107 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
7108 minus_oflow, plus_uflow and minus_uflow in expected results.
7109 * math/libm-test.inc (scalbn_test_data): Add more tests of
7110 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
7111 minus_uflow.
7112 (scalbn_test): Use ALL_RM_TEST.
7113 (scalbln_test_data): Add more tests of negative arguments. Use
7114 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
7115 (scalbln_test): Use ALL_RM_TEST.
7116
c8f8fa15
RM
71172014-03-18 Roland McGrath <roland@hack.frob.com>
7118
7119 * scripts/abilist.awk: Ignore symbols marked with .hidden.
7120
fede7a5f
WN
71212014-03-18 Will Newton <will.newton@linaro.org>
7122
7123 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
7124 inaccurate comment.
7125
80cf0a58
JM
71262014-03-18 Joseph Myers <joseph@codesourcery.com>
7127
7128 * Makerules [!subdir] (check-abi): Exit with error status if a
7129 test failed.
7130
b3620862
JM
71312014-03-17 Joseph Myers <joseph@codesourcery.com>
7132
7133 * math/libm-test.inc (nearbyint_test_data): Include all tests used
7134 for rint. Include results for all rounding modes.
7135 (nearbyint_test): Use ALL_RM_TEST.
7136 (rint_test_data): Include all tests used for nearbyint.
7137
788bba36
WN
71382014-03-17 Will Newton <will.newton@linaro.org>
7139
04ec140a
WN
7140 * nptl/sysdeps/pthread/pthread.h: Revert previous
7141 change.
7142
7579d8d5
WN
7143 * sysdeps/generic/ldsodefs.h: Revert previous
7144 change.
7145
c15cf13a
WN
7146 * libio/genops.c: Revert previous change.
7147 * libio/libioP.h: Likewise.
7148 * stdio-common/vfprintf.c: Likewise.
7149
d0ac1324
WN
7150 * sysdeps/generic/math_private.h: Revert previous
7151 change.
7152
9290130a
WN
7153 * sysdeps/generic/math_private.h: Check whether
7154 HAVE_RM_CTX is defined with #ifdef rather
7155 than #if.
7156
afb466fc
WN
7157 * argp/argp-fmtstream.h: Check whether
7158 __STRICT_ANSI__ is defined with #ifdef rather
7159 than #if.
7160 * argp/argp.h: Likewise.
7161
f7efd7c3
WN
7162 * libio/genops.c: Check whether
7163 _IO_JUMPS_OFFSET is defined with #ifdef rather
7164 than #if.
7165 * libio/libioP.h: Likewise.
7166 * stdio-common/vfprintf.c: Likewise.
7167
53f1bed3
WN
7168 * sysdeps/generic/ldsodefs.h: Check whether
7169 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
7170 than #if.
7171
788bba36
WN
7172 * nptl/sysdeps/pthread/pthread.h: Check
7173 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
7174 its value.
7175
fcd89ebe
SP
71762014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7177
ae42bbc5
SP
7178 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
7179 setting O_APPEND.
7180 * libio/tst-ftell-active-handler.c (do_append_test): Add a
7181 test case.
7182
ea33158c
SP
7183 [BZ #16680]
7184 * libio/fileops.c (_IO_file_open): Seek to end of file but
7185 don't cache the offset.
7186 (get_file_offset): Remove function.
7187 (do_ftell): Use cached offset when available.
7188 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
7189 don't cache the offset.
7190 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
7191 case.
7192 (do_one_test): Call it.
7193 (do_ftell_test): Fix up expected old offset for a+ mode.
7194 * libio/wfileops.c (do_ftell_wide): Used cached offset when
7195 available.
7196
b1dbb426
SP
7197 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
7198 up test status with function return status.
7199 (do_write_test): Likewise.
7200 (do_append_test): Likewise.
7201
fcd89ebe
SP
7202 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
7203 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
7204 Remove.
7205
9962a2d3
JM
72062014-03-17 Joseph Myers <joseph@codesourcery.com>
7207
7208 * math/gen-libm-test.pl (parse_args): Handle results specified for
7209 each rounding mode separately.
7210 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
7211 tests and results from lrint_tonearest_test_data,
7212 lrint_towardzero_test_data, lrint_downward_test_data and
7213 lrint_upward_test_data.
7214 (lrint_test): Use ALL_RM_TEST.
7215 (lrint_tonearest_test_data): Remove.
7216 (lrint_test_tonearest): Likewise.
7217 (lrint_towardzero_test_data): Likewise.
7218 (lrint_test_towardzero): Likewise.
7219 (lrint_downward_test_data): Likewise.
7220 (lrint_test_downward): Likewise.
7221 (lrint_upward_test_data): Likewise.
7222 (lrint_test_upward): Likewise.
7223 (llrint_test_data): Merge in per-rounding-mode tests and results
7224 from llrint_tonearest_test_data, llrint_towardzero_test_data,
7225 llrint_downward_test_data and llrint_upward_test_data.
7226 (llrint_test): Use ALL_RM_TEST.
7227 (llrint_tonearest_test_data): Remove.
7228 (llrint_test_tonearest): Likewise.
7229 (llrint_towardzero_test_data): Likewise.
7230 (llrint_test_towardzero): Likewise.
7231 (llrint_downward_test_data): Likewise.
7232 (llrint_test_downward): Likewise.
7233 (llrint_upward_test_data): Likewise.
7234 (llrint_test_upward): Likewise.
7235 (rint_test_data): Merge in per-rounding-mode tests and results
7236 from rint_tonearest_test_data, rint_towardzero_test_data,
7237 rint_downward_test_data and rint_upward_test_data. Add
7238 per-rounding-mode results for tests not in those arrays.
7239 (rint_test): Use ALL_RM_TEST.
7240 (rint_tonearest_test_data): Remove.
7241 (rint_test_tonearest): Likewise.
7242 (rint_towardzero_test_data): Likewise.
7243 (rint_test_towardzero): Likewise.
7244 (rint_downward_test_data): Likewise.
7245 (rint_test_downward): Likewise.
7246 (rint_upward_test_data): Likewise.
7247 (rint_test_upward): Likewise.
7248 (main): Don't call removed functions.
7249
5006148e
RM
72502014-03-14 Roland McGrath <roland@hack.frob.com>
7251
7252 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
7253 "Compiled on ..." crapola. It is anti-useful.
7254
d6fe5e58
JM
72552014-03-14 Joseph Myers <joseph@codesourcery.com>
7256
7257 * scripts/evaluate-test.sh: Handle fourth argument to determine
7258 whether test run should stop on failure.
7259 * Makeconfig (stop-on-test-failure): New variable.
7260 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
7261 $(stop-on-test-failure).
7262 * Makefile (tests): Give a summary of results from testing and
7263 exit with failure status if they include an ERROR or FAIL.
7264 (xtests): Likewise.
7265 * manual/install.texi (Configuring and compiling): Mention
7266 stop-on-test-failure=y.
7267 * INSTALL: Regenerated.
7268
498a2233
RM
72692014-03-14 Roland McGrath <roland@hack.frob.com>
7270
22dbc19d
RM
7271 * scripts/versionlist.awk: New file.
7272 * Makerules [$(build-shared) = yes]
7273 (postclean-generated): Add Versions.def, not Versions.def.v and
7274 Versions.def.v.i.
7275 ($(common-objpfx)Versions.def.v.i): Target removed.
7276 ($(common-objpfx)Versions.def): New target.
7277 ($(common-objpfx)Versions.all): Depend on that rather that
7278 $(common-objpfx)Versions.def.v.
7279 * Versions.def: File removed.
7280
498a2233
RM
7281 * Makeconfig (+gccwarn): Add -Wundef.
7282 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
7283 a dl-sysdep.h breaking its contract.
7284 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
7285 * include/stackinfo.h: New file.
7286 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
7287 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
7288 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
7289 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
7290 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
7291 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
7292 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7293 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7294 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7295 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7296 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7297 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
7298 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7299 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7300 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7301
c7de5025
AZ
73022014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7303
7304 [BZ #16707]
7305 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
7306 implementation.
7307 * math/libm-test.inc (round_test_data): Add more tests.
7308
98fb27a3
AZ
7309 [BZ #16706]
7310 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
7311 implementation.
7312 * math/libm-test.inc (nearbyint_test_data): Add more tests.
7313
374f7f61
AZ
7314 [BZ #16701]
7315 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
7316 implementation.
7317 * math/libm-test.inc (ceil_test_data): Add more tests.
7318
4655c291
AZ
7319 * math/libm-test.inc (trunc_test_data): Add more tests related to
7320 BZ#16414.
7321
d7329d4b
RM
73222014-03-14 Roland McGrath <roland@hack.frob.com>
7323
7324 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
7325 with #if rather than #ifdef.
7326 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
7327
aa4de9ce
L
73282014-03-14 H.J. Lu <hongjiu.lu@intel.com>
7329
7330 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
7331 first. Disable AVX-512 GCC support if assembler doesn't support
7332 it.
7333 * sysdeps/x86_64/configure: Regenerated.
7334
2e03fae7
CD
73352014-03-13 Carlos O'Donell <carlos@redhat.com>
7336
7337 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
7338 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
7339 (__old_pthread_attr_setstack): Likewise.
7340 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
7341 [!_STACK_GROWS_DOWN]: Likewise.
7342
43ca83ec
MF
73432014-03-13 Mike Frysinger <vapier@gentoo.org>
7344
7345 * config.make.in (have-bash2): Delete.
7346 * configure.ac (libc_cv_have_bash2): Delete.
7347 * configure: Regenerate.
7348 * elf/Makefile (common-ldd-rewrite): Rename to ...
7349 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
7350 (sh-ldd-rewrite): Delete.
7351 (bash-ldd-rewrite): Delete.
7352 (have-bash2): Delete checks.
57f41c40
AS
7353 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
7354 ldd-rewrite.
c66e48b4
MF
7355
7356 * config.make.in (have-ksh): Delete.
7357 (KSH): Delete.
7358 * configure.ac (libc_cv_have_ksh): Delete.
7359 * configure: Regenerate.
7360
b93834ef
MF
7361 * elf/Makefile: Delete $(have-ksh) check.
7362 ($(objpfx)sotruss): Change KSH to BASH.
7363 * elf/sotruss.ksh: Rename to ...
7364 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
7365 function style to match POSIX. Drop ksh vim mode setting.
7366
f3a4632a
MF
7367 * manual/time.texi (Specifying the Time Zone with TZ): Change
7368 Tuesday to Thursday.
7369
5896c8bd
MF
7370 * debug/tst-longjmp_chk2.c: Update header comment.
7371 (stackoverflow_handler): Add comment. Call assert on pass value.
7372
2d63a517
IZ
73732014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
7374
7375 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
7376 (HAVE_AVX512_ASM_SUPPORT): Likewise.
7377 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
7378 (La_x86_64_vector): Add zmm.
7379 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
7380 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
7381 ($(objpfx)tst-audit10): New target.
7382 ($(objpfx)tst-audit10.out): Likewise.
7383 (tst-audit10-ENV): New.
7384 (AVX512-CFLAGS): Likewise.
7385 (CFLAGS-tst-audit10.c): Likewise.
7386 (CFLAGS-tst-auditmod10a.c): Likewise.
7387 (CFLAGS-tst-auditmod10b.c): Likewise.
7388 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
7389 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
7390 * sysdeps/x86_64/configure: Regenerated.
7391 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
7392 AVX-512 zmm register support.
7393 (_dl_x86_64_save_sse): Likewise.
7394 (_dl_x86_64_restore_sse): Likewise.
7395 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
7396 size vector registers.
7397 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
7398 (ZMM_SIZE): Likewise.
7399 * sysdeps/x86_64/tst-audit10.c: New file.
7400 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
7401 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
7402
44c4e5d5
RM
74032014-03-13 Roland McGrath <roland@hack.frob.com>
7404
7405 * configure.ac (HAVE_EHDR_START): New check.
7406 * configure: Regenerated.
7407 * config.h.in (HAVE_EHDR_START): New #undef.
7408 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
7409 assuming the lowest-addressed segment maps the start of the file.
7410
acd6e389
JM
74112014-03-13 Joseph Myers <joseph@codesourcery.com>
7412
7413 * INSTALL: Regenerated.
7414
6f918f36
WN
74152014-03-13 Will Newton <will.newton@linaro.org>
7416
7417 * manual/setjmp.texi (System V contexts): Improve
7418 clarity and grammar of documentation.
7419
798212a0
PP
74202014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
7421
7422 [BZ #16381]
798212a0 7423 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 7424 (tests-pie): Add tst-pie2.
798212a0
PP
7425 * elf/tst-pie2.c: New file.
7426 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
7427 for ET_EXEC.
7428 * elf/rtld.c (map_doit): Load executable as lt_executable.
7429 (dl_main): Likewise.
7430
abe6d90c
JM
74312014-03-12 Joseph Myers <joseph@codesourcery.com>
7432
7433 [BZ #16642]
7434 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7435 (__ASSUME_PSELECT): Undefine.
7436
dd3946c6
AZ
74372014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7438
7439 [BZ #16689]
7440 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
7441 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
7442 static build.
7443 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
7444 selector for static builds.
7445
c44496df
SP
74462014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7447
7448 [BZ #16695]
7449 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
7450 key in the buffer.
7451
27c7220a
AZ
74522014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7453
57f41c40
AS
7454 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
7455 IFUNC selector for static builds.
27c7220a 7456
600fa361
JM
74572014-03-11 Joseph Myers <joseph@codesourcery.com>
7458
76c96cf7
JM
7459 * sysdeps/mips/math_private.h [__mips_hard_float]
7460 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
7461 libc_feresetround_mips_ctx.
7462 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
7463 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
7464 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
7465
600fa361
JM
7466 [BZ #16677]
7467 * math/s_nextafter.c (__nextafter): Do not return value from
7468 overflowing computation.
7469 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
7470 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
7471 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
7472 Likewise.
7473 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
7474 Likewise.
7475 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
7476 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
7477
d7706c32
RM
74782014-03-11 Roland McGrath <roland@hack.frob.com>
7479
7480 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
7481 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
7482 Move sfi_sp use from the load-multiple (that no longer sets sp) to
7483 the new mov targetting sp.
7484
4facea47
AZ
74852014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7486
7487 [BZ #16683]
7488 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
7489 Define it for static builds as well.
7490 (NO_BZERO_IMPL): Likewise.
7491
e65caf1f
VR
74922014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7493
7494 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
7495 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
7496 multiarch strspn for PPC64.
7497 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
7498 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
7499 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7500 (__libc_ifunc_impl_list): Likewise.
7501 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
7502 multiarch optimizations
7503 * string/strspn.c (strspn): Using macro to redefine symbol name.
7504
ba9cc071
AZ
75052014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7506 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7507
7508 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
7509 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
7510 multiarch strncat for PPC64.
7511 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
7512 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
7513 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7514 (__libc_ifunc_impl_list): Likewise.
7515 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
7516 multiarch optimizations
7517
8b4ff974
SP
75182014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7519
7520 [BZ #16639]
7521 * nscd/nscd.service: Make service type forking.
7522
54b46a4b
AZ
75232014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7524
7525 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
7526 sign in non default rounding modes.
7527 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7528
e9996ef7
JM
75292014-03-08 Joseph Myers <joseph@codesourcery.com>
7530
7531 * math/libm-test.inc (ALL_RM_TEST): New macro.
7532 (ceil_test): Use ALL_RM_TEST.
7533 (cimag_test): Likewise.
7534 (conj_test): Likewise.
7535 (copysign_test): Likewise.
7536 (cproj_test): Likewise.
7537 (creal_test): Likewise.
7538 (fabs_test): Likewise.
7539 (floor_test): Likewise.
7540 (fmax_test): Likewise.
7541 (fmin_test): Likewise.
7542 (fmod_test): Likewise.
7543 (fpclassify_test): Likewise.
7544 (frexp_test): Likewise.
7545 (ilogb_test): Likewise.
7546 (isfinite_test): Likewise.
7547 (finite_test): Likewise.
7548 (isgreater_test): Likewise.
7549 (isgreaterequal_test): Likewise.
7550 (isinf_test): Likewise.
7551 (isless_test): Likewise.
7552 (islessequal_test): Likewise.
7553 (islessgreater_test): Likewise.
7554 (isnan_test): Likewise.
7555 (isnormal_test): Likewise.
7556 (issignaling_test): Likewise.
7557 (isunordered_test): Likewise.
7558 (logb_test): Likewise.
7559 (logb_downward_test_data): Remove.
7560 (logb_test_downward): Likewise.
7561 (lround_test): Use ALL_RM_TEST.
7562 (llround_test): Likewise.
7563 (modf_test): Likewise.
7564 (nexttoward_test): Likewise.
7565 (remainder_test): Likewise.
7566 (drem_test): Likewise.
7567 (remainder_tonearest_test_data): Likewise.
7568 (remainder_test_tonearest): Likewise.
7569 (drem_test_tonearest): Likewise.
7570 (remainder_towardzero_test_data): Likewise.
7571 (remainder_test_towardzero): Likewise.
7572 (drem_test_towardzero): Likewise.
7573 (remainder_downward_test_data): Likewise.
7574 (remainder_test_downward): Likewise.
7575 (drem_test_downward): Likewise.
7576 (remainder_upward_test_data): Likewise.
7577 (remainder_test_upward): Likewise.
7578 (drem_test_upward): Likewise.
7579 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
7580 (round_test): Use ALL_RM_TEST.
7581 (signbit_test): Likewise.
7582 (trunc_test): Likewise.
7583 (significand_test): Likewise.
7584 (main): Don't call removed functions.
7585
bc61d27c
JM
75862014-03-07 Joseph Myers <joseph@codesourcery.com>
7587
5c780849
JM
7588 [BZ #16674]
7589 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
7590 || __USE_XOPEN2K8].
7591 (ILL_ILLOPN): Likewise.
7592 (ILL_ILLADR): Likewise.
7593 (ILL_ILLTRP): Likewise.
7594 (ILL_PRVOPC): Likewise.
7595 (ILL_PRVREG): Likewise.
7596 (ILL_COPROC): Likewise.
7597 (ILL_BADSTK): Likewise.
7598 (FPE_INTDIV): Likewise.
7599 (FPE_INTOVF): Likewise.
7600 (FPE_FLTDIV): Likewise.
7601 (FPE_FLTOVF): Likewise.
7602 (FPE_FLTUND): Likewise.
7603 (FPE_FLTRES): Likewise.
7604 (FPE_FLTINV): Likewise.
7605 (FPE_FLTSUB): Likewise.
7606 (SEGV_MAPERR): Likewise.
7607 (SEGV_ACCERR): Likewise.
7608 (BUS_ADRALN): Likewise.
7609 (BUS_ADRERR): Likewise.
7610 (BUS_OBJERR): Likewise.
7611 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7612 (TRAP_TRACE): Likewise.
7613 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7614 __USE_XOPEN2K8].
7615 (CLD_KILLED): Likewise.
7616 (CLD_DUMPED): Likewise.
7617 (CLD_TRAPPED): Likewise.
7618 (CLD_STOPPED): Likewise.
7619 (CLD_CONTINUED): Likewise.
7620 (POLL_IN): Likewise.
7621 (POLL_OUT): Likewise.
7622 (POLL_MSG): Likewise.
7623 (POLL_ERR): Likewise.
7624 (POLL_PRI): Likewise.
7625 (POLL_HUP): Likewise.
7626 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
7627 Likewise.
7628 (ILL_ILLOPN): Likewise.
7629 (ILL_ILLADR): Likewise.
7630 (ILL_ILLTRP): Likewise.
7631 (ILL_PRVOPC): Likewise.
7632 (ILL_PRVREG): Likewise.
7633 (ILL_COPROC): Likewise.
7634 (ILL_BADSTK): Likewise.
7635 (FPE_INTDIV): Likewise.
7636 (FPE_INTOVF): Likewise.
7637 (FPE_FLTDIV): Likewise.
7638 (FPE_FLTOVF): Likewise.
7639 (FPE_FLTUND): Likewise.
7640 (FPE_FLTRES): Likewise.
7641 (FPE_FLTINV): Likewise.
7642 (FPE_FLTSUB): Likewise.
7643 (SEGV_MAPERR): Likewise.
7644 (SEGV_ACCERR): Likewise.
7645 (BUS_ADRALN): Likewise.
7646 (BUS_ADRERR): Likewise.
7647 (BUS_OBJERR): Likewise.
7648 (BUS_MCEERR_AR): Likewise.
7649 (BUS_MCEERR_AO): Likewise.
7650 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7651 (TRAP_TRACE): Likewise.
7652 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7653 __USE_XOPEN2K8].
7654 (CLD_KILLED): Likewise.
7655 (CLD_DUMPED): Likewise.
7656 (CLD_TRAPPED): Likewise.
7657 (CLD_STOPPED): Likewise.
7658 (CLD_CONTINUED): Likewise.
7659 (POLL_IN): Likewise.
7660 (POLL_OUT): Likewise.
7661 (POLL_MSG): Likewise.
7662 (POLL_ERR): Likewise.
7663 (POLL_PRI): Likewise.
7664 (POLL_HUP): Likewise.
7665 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
7666 (ILL_ILLOPN): Likewise.
7667 (ILL_ILLADR): Likewise.
7668 (ILL_ILLTRP): Likewise.
7669 (ILL_PRVOPC): Likewise.
7670 (ILL_PRVREG): Likewise.
7671 (ILL_COPROC): Likewise.
7672 (ILL_BADSTK): 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 (SEGV_MAPERR): Likewise.
7682 (SEGV_ACCERR): Likewise.
7683 (BUS_ADRALN): Likewise.
7684 (BUS_ADRERR): Likewise.
7685 (BUS_OBJERR): Likewise.
7686 (BUS_MCEERR_AR): Likewise.
7687 (BUS_MCEERR_AO): Likewise.
7688 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7689 (TRAP_TRACE): Likewise.
7690 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7691 __USE_XOPEN2K8].
7692 (CLD_KILLED): Likewise.
7693 (CLD_DUMPED): Likewise.
7694 (CLD_TRAPPED): Likewise.
7695 (CLD_STOPPED): Likewise.
7696 (CLD_CONTINUED): Likewise.
7697 (POLL_IN): Likewise.
7698 (POLL_OUT): Likewise.
7699 (POLL_MSG): Likewise.
7700 (POLL_ERR): Likewise.
7701 (POLL_PRI): Likewise.
7702 (POLL_HUP): Likewise.
7703 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
7704 Likewise.
7705 (ILL_ILLOPN): Likewise.
7706 (ILL_ILLADR): Likewise.
7707 (ILL_ILLTRP): Likewise.
7708 (ILL_PRVOPC): Likewise.
7709 (ILL_PRVREG): Likewise.
7710 (ILL_COPROC): Likewise.
7711 (ILL_BADSTK): Likewise.
7712 (ILL_BADIADDR): Likewise.
7713 (ILL_BREAK): Likewise.
7714 (FPE_INTDIV): Likewise.
7715 (FPE_INTOVF): Likewise.
7716 (FPE_FLTDIV): Likewise.
7717 (FPE_FLTOVF): Likewise.
7718 (FPE_FLTUND): Likewise.
7719 (FPE_FLTRES): Likewise.
7720 (FPE_FLTINV): Likewise.
7721 (FPE_FLTSUB): Likewise.
7722 (FPE_DECOVF): Likewise.
7723 (FPE_DECDIV): Likewise.
7724 (FPE_DECERR): Likewise.
7725 (FPE_INVASC): Likewise.
7726 (FPE_INVDEC): Likewise.
7727 (SEGV_MAPERR): Likewise.
7728 (SEGV_ACCERR): Likewise.
7729 (SEGV_PSTKOVF): Likewise.
7730 (BUS_ADRALN): Likewise.
7731 (BUS_ADRERR): Likewise.
7732 (BUS_OBJERR): Likewise.
7733 (BUS_MCEERR_AR): Likewise.
7734 (BUS_MCEERR_AO): Likewise.
7735 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7736 (TRAP_TRACE): Likewise.
7737 (TRAP_BRANCH): Likewise.
7738 (TRAP_HWBKPT): Likewise.
7739 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7740 __USE_XOPEN2K8].
7741 (CLD_KILLED): Likewise.
7742 (CLD_DUMPED): Likewise.
7743 (CLD_TRAPPED): Likewise.
7744 (CLD_STOPPED): Likewise.
7745 (CLD_CONTINUED): Likewise.
7746 (POLL_IN): Likewise.
7747 (POLL_OUT): Likewise.
7748 (POLL_MSG): Likewise.
7749 (POLL_ERR): Likewise.
7750 (POLL_PRI): Likewise.
7751 (POLL_HUP): Likewise.
7752 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
7753 (ILL_ILLOPN): Likewise.
7754 (ILL_ILLADR): Likewise.
7755 (ILL_ILLTRP): Likewise.
7756 (ILL_PRVOPC): Likewise.
7757 (ILL_PRVREG): Likewise.
7758 (ILL_COPROC): Likewise.
7759 (ILL_BADSTK): Likewise.
7760 (FPE_INTDIV): Likewise.
7761 (FPE_INTOVF): Likewise.
7762 (FPE_FLTDIV): Likewise.
7763 (FPE_FLTOVF): Likewise.
7764 (FPE_FLTUND): Likewise.
7765 (FPE_FLTRES): Likewise.
7766 (FPE_FLTINV): Likewise.
7767 (FPE_FLTSUB): Likewise.
7768 (SEGV_MAPERR): Likewise.
7769 (SEGV_ACCERR): Likewise.
7770 (BUS_ADRALN): Likewise.
7771 (BUS_ADRERR): Likewise.
7772 (BUS_OBJERR): Likewise.
7773 (BUS_MCEERR_AR): Likewise.
7774 (BUS_MCEERR_AO): Likewise.
7775 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7776 (TRAP_TRACE): Likewise.
7777 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7778 __USE_XOPEN2K8].
7779 (CLD_KILLED): Likewise.
7780 (CLD_DUMPED): Likewise.
7781 (CLD_TRAPPED): Likewise.
7782 (CLD_STOPPED): Likewise.
7783 (CLD_CONTINUED): Likewise.
7784 (POLL_IN): Likewise.
7785 (POLL_OUT): Likewise.
7786 (POLL_MSG): Likewise.
7787 (POLL_ERR): Likewise.
7788 (POLL_PRI): Likewise.
7789 (POLL_HUP): Likewise.
7790 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
7791 (ILL_ILLOPN): Likewise.
7792 (ILL_ILLADR): Likewise.
7793 (ILL_ILLTRP): Likewise.
7794 (ILL_PRVOPC): Likewise.
7795 (ILL_PRVREG): Likewise.
7796 (ILL_COPROC): Likewise.
7797 (ILL_BADSTK): Likewise.
7798 (FPE_INTDIV): Likewise.
7799 (FPE_INTOVF): Likewise.
7800 (FPE_FLTDIV): Likewise.
7801 (FPE_FLTOVF): Likewise.
7802 (FPE_FLTUND): Likewise.
7803 (FPE_FLTRES): Likewise.
7804 (FPE_FLTINV): Likewise.
7805 (FPE_FLTSUB): Likewise.
7806 (SEGV_MAPERR): Likewise.
7807 (SEGV_ACCERR): Likewise.
7808 (BUS_ADRALN): Likewise.
7809 (BUS_ADRERR): Likewise.
7810 (BUS_OBJERR): Likewise.
7811 (BUS_MCEERR_AR): Likewise.
7812 (BUS_MCEERR_AO): Likewise.
7813 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7814 (TRAP_TRACE): Likewise.
7815 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7816 __USE_XOPEN2K8].
7817 (CLD_KILLED): Likewise.
7818 (CLD_DUMPED): Likewise.
7819 (CLD_TRAPPED): Likewise.
7820 (CLD_STOPPED): Likewise.
7821 (CLD_CONTINUED): Likewise.
7822 (POLL_IN): Likewise.
7823 (POLL_OUT): Likewise.
7824 (POLL_MSG): Likewise.
7825 (POLL_ERR): Likewise.
7826 (POLL_PRI): Likewise.
7827 (POLL_HUP): Likewise.
7828 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
7829 (ILL_ILLOPN): Likewise.
7830 (ILL_ILLADR): Likewise.
7831 (ILL_ILLTRP): Likewise.
7832 (ILL_PRVOPC): Likewise.
7833 (ILL_PRVREG): Likewise.
7834 (ILL_COPROC): Likewise.
7835 (ILL_BADSTK): Likewise.
7836 (FPE_INTDIV): Likewise.
7837 (FPE_INTOVF): Likewise.
7838 (FPE_FLTDIV): Likewise.
7839 (FPE_FLTOVF): Likewise.
7840 (FPE_FLTUND): Likewise.
7841 (FPE_FLTRES): Likewise.
7842 (FPE_FLTINV): Likewise.
7843 (FPE_FLTSUB): Likewise.
7844 (SEGV_MAPERR): Likewise.
7845 (SEGV_ACCERR): Likewise.
7846 (BUS_ADRALN): Likewise.
7847 (BUS_ADRERR): Likewise.
7848 (BUS_OBJERR): Likewise.
7849 (BUS_MCEERR_AR): Likewise.
7850 (BUS_MCEERR_AO): Likewise.
7851 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7852 (TRAP_TRACE): Likewise.
7853 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7854 __USE_XOPEN2K8].
7855 (CLD_KILLED): Likewise.
7856 (CLD_DUMPED): Likewise.
7857 (CLD_TRAPPED): Likewise.
7858 (CLD_STOPPED): Likewise.
7859 (CLD_CONTINUED): Likewise.
7860 (POLL_IN): Likewise.
7861 (POLL_OUT): Likewise.
7862 (POLL_MSG): Likewise.
7863 (POLL_ERR): Likewise.
7864 (POLL_PRI): Likewise.
7865 (POLL_HUP): Likewise.
7866 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
7867 (ILL_ILLOPN): Likewise.
7868 (ILL_ILLADR): Likewise.
7869 (ILL_ILLTRP): Likewise.
7870 (ILL_PRVOPC): Likewise.
7871 (ILL_PRVREG): Likewise.
7872 (ILL_COPROC): Likewise.
7873 (ILL_BADSTK): Likewise.
7874 (ILL_DBLFLT): Likewise.
7875 (ILL_HARDWALL): Likewise.
7876 (FPE_INTDIV): Likewise.
7877 (FPE_INTOVF): Likewise.
7878 (FPE_FLTDIV): Likewise.
7879 (FPE_FLTOVF): Likewise.
7880 (FPE_FLTUND): Likewise.
7881 (FPE_FLTRES): Likewise.
7882 (FPE_FLTINV): Likewise.
7883 (FPE_FLTSUB): Likewise.
7884 (SEGV_MAPERR): Likewise.
7885 (SEGV_ACCERR): Likewise.
7886 (BUS_ADRALN): Likewise.
7887 (BUS_ADRERR): Likewise.
7888 (BUS_OBJERR): Likewise.
7889 (BUS_MCEERR_AR): Likewise.
7890 (BUS_MCEERR_AO): Likewise.
7891 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7892 (TRAP_TRACE): Likewise.
7893 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7894 __USE_XOPEN2K8].
7895 (CLD_KILLED): Likewise.
7896 (CLD_DUMPED): Likewise.
7897 (CLD_TRAPPED): Likewise.
7898 (CLD_STOPPED): Likewise.
7899 (CLD_CONTINUED): Likewise.
7900 (POLL_IN): Likewise.
7901 (POLL_OUT): Likewise.
7902 (POLL_MSG): Likewise.
7903 (POLL_ERR): Likewise.
7904 (POLL_PRI): Likewise.
7905 (POLL_HUP): Likewise.
7906 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
7907 (ILL_ILLOPN): Likewise.
7908 (ILL_ILLADR): Likewise.
7909 (ILL_ILLTRP): Likewise.
7910 (ILL_PRVOPC): Likewise.
7911 (ILL_PRVREG): Likewise.
7912 (ILL_COPROC): Likewise.
7913 (ILL_BADSTK): Likewise.
7914 (FPE_INTDIV): Likewise.
7915 (FPE_INTOVF): Likewise.
7916 (FPE_FLTDIV): Likewise.
7917 (FPE_FLTOVF): Likewise.
7918 (FPE_FLTUND): Likewise.
7919 (FPE_FLTRES): Likewise.
7920 (FPE_FLTINV): Likewise.
7921 (FPE_FLTSUB): Likewise.
7922 (SEGV_MAPERR): Likewise.
7923 (SEGV_ACCERR): Likewise.
7924 (BUS_ADRALN): Likewise.
7925 (BUS_ADRERR): Likewise.
7926 (BUS_OBJERR): Likewise.
7927 (BUS_MCEERR_AR): Likewise.
7928 (BUS_MCEERR_AO): Likewise.
7929 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7930 (TRAP_TRACE): Likewise.
7931 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7932 __USE_XOPEN2K8].
7933 (CLD_KILLED): Likewise.
7934 (CLD_DUMPED): Likewise.
7935 (CLD_TRAPPED): Likewise.
7936 (CLD_STOPPED): Likewise.
7937 (CLD_CONTINUED): Likewise.
7938 (POLL_IN): Likewise.
7939 (POLL_OUT): Likewise.
7940 (POLL_MSG): Likewise.
7941 (POLL_ERR): Likewise.
7942 (POLL_PRI): Likewise.
7943 (POLL_HUP): Likewise.
7944 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
7945 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7946
bc61d27c
JM
7947 [BZ #16670]
7948 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
7949 before #include of <time.h>.
7950 [!__USE_XOPEN2K] (__need_timespec): Likewise.
7951 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
7952 (test-xfail-UNIX98/sched.h/conform): Likewise.
7953
302949e2
MS
79542014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
7955
7956 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
7957 error absence of trapping exception support.
7958 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7959
a00f522a
JM
79602014-03-07 Joseph Myers <joseph@codesourcery.com>
7961
6f99f280
JM
7962 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
7963 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
7964 * timezone/Makefile (testdata): Move definition above include of
7965 Rules.
7966 (test-zones): New variable.
7967 (tests-special): Add zone files.
7968 (build-testdata): Use $(evaluate-test).
7969
0b20a9e8
JM
7970 * elf/Makefile (tests-special): Rename tests to end with .out.
7971 ($(objpfx)noload-mem): Likewise.
7972 ($(objpfx)tst-leaks1-mem): Likewise.
7973 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
7974 * iconv/Makefile (xtests-special): Change test-iconvconfig to
7975 $(objpfx)test-iconvconfig.out.
7976 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
7977 set -e inside subshell and redirect output to file.
7978 * iconvdata/Makefile (generated): Rename tests to end with .out.
7979 Correct type.
7980 (tests-special): Rename tests to end with .out.
7981 ($(objpfx)mtrace-tst-loading): Likewise.
7982 * intl/Makefile (generated): Likewise.
7983 (tests-special): Likewise.
7984 ($(objpfx)mtrace-tst-gettext): Likewise.
7985 * misc/Makefile (generated): Likewise.
7986 (tests-special): Likewise.
7987 ($(objpfx)tst-error1-mem): Likewise.
7988 * nptl/Makefile (tests-special): Likewise.
7989 ($(objpfx)tst-stack3-mem): Likewise.
7990 (generated): Likewise.
7991 * posix/Makefile (generated): Likewise.
7992 (tests-special): Likewise.
7993 (xtests-special): Likewise.
7994 ($(objpfx)tst-fnmatch-mem): Likewise.
7995 ($(objpfx)bug-regex2-mem): Likewise.
7996 ($(objpfx)bug-regex14-mem): Likewise.
7997 ($(objpfx)bug-regex21-mem): Likewise.
7998 ($(objpfx)bug-regex31-mem): Likewise.
7999 ($(objpfx)tst-vfork3-mem): Likewise.
8000 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8001 ($(objpfx)tst-pcre-mem): Likewise.
8002 ($(objpfx)tst-boost-mem): Likewise.
8003 ($(objpfx)bug-ga2-mem): Likewise.
8004 ($(objpfx)bug-glob2-mem): Likewise.
8005 * resolv/Makefile (generate): Likewise.
8006 (tests-special): Likewise.
8007 (xtests-special): Likewise.
8008 (generated): Likewise.
8009 ($(objpfx)mtrace-tst-leaks): Likewise.
8010 ($(objpfx)mtrace-tst-leaks2): Likewise.
8011
265d52ab
JM
8012 * scripts/merge-test-results.sh: New file.
8013 * Makefile (tests-special-notdir): New variable.
8014 (tests): Run merge-test-results.sh.
8015 (xtests): Likewise.
8016 * Rules (tests-special-notdir): New variable.
8017 (xtests-special-notdir): Likewise.
8018 (tests): Run merge-test-results.sh
8019 (xtests): Likewise.
8020
54ee292d
JM
8021 * Makeconfig (test-xfail-name): New variable.
8022 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
8023 compute variable name for expected failures.
8024 * conform/Makefile (conformtest-headers-data): New variable.
8025 (conformtest-standards): Likewise.
8026 (conformtest-headers-ISO): Likewise.
8027 (conformtest-headers-ISO99): Likewise.
8028 (conformtest-headers-ISO11): Likewise.
8029 (conformtest-headers-POSIX): Likewise.
8030 (conformtest-headers-XPG3): Likewise.
8031 (conformtest-headers-XPG4): Likewise.
8032 (conformtest-headers-UNIX98): Likewise.
8033 (conformtest-headers-XOPEN2K): Likewise.
8034 (conformtest-headers-POSIX2008): Likewise.
8035 (conformtest-headers-XOPEN2K8): Likewise.
8036 (conformtest-header-list-base): Likewise.
8037 (conformtest-header-list-tests): Likewise.
8038 (conformtest-header-base): Likewise.
8039 (conformtest-header-tests): Likewise.
8040 (tests-special): Add $(conformtest-header-list-tests). If
8041 [$(fast-check) && !$(cross-compiling)], add
8042 $(conformtest-header-tests) instead of
8043 $(objpfx)run-conformtest.out.
8044 (generated): Add $(conformtest-header-list-base). If
8045 [$(fast-check) && !$(cross-compiling)], add
8046 $(conformtest-header-base). Remove previous setting.
8047 ($(conformtest-header-list-tests)): New target.
8048 (test-xfail-run-conformtest): Remove variable.
8049 ($(objpfx)run-conformtest.out): Remove target.
8050 (test-xfail-ISO11/complex.h/conform): New variable.
8051 (test-xfail-ISO11/stdalign.h/conform): Likewise.
8052 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8053 (test-xfail-XPG3/varargs.h/conform): Likewise.
8054 (test-xfail-XPG4/varargs.h/conform): Likewise.
8055 (test-xfail-UNIX98/varargs.h/conform): Likewise.
8056 (test-xfail-XPG4/ndbm.h/conform): Likewise.
8057 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
8058 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
8059 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
8060 (test-xfail-XPG3/fcntl.h/conform): Likewise.
8061 (test-xfail-XPG3/ftw.h/conform): Likewise.
8062 (test-xfail-XPG3/grp.h/conform): Likewise.
8063 (test-xfail-XPG3/langinfo.h/conform): Likewise.
8064 (test-xfail-XPG3/limits.h/conform): Likewise.
8065 (test-xfail-XPG3/pwd.h/conform): Likewise.
8066 (test-xfail-XPG3/search.h/conform): Likewise.
8067 (test-xfail-XPG3/signal.h/conform): Likewise.
8068 (test-xfail-XPG3/stdio.h/conform): Likewise.
8069 (test-xfail-XPG3/stdlib.h/conform): Likewise.
8070 (test-xfail-XPG3/string.h/conform): Likewise.
8071 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
8072 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
8073 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
8074 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
8075 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
8076 (test-xfail-XPG3/sys/types.h/conform): Likewise.
8077 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
8078 (test-xfail-XPG3/termios.h/conform): Likewise.
8079 (test-xfail-XPG3/time.h/conform): Likewise.
8080 (test-xfail-XPG3/unistd.h/conform): Likewise.
8081 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
8082 (test-xfail-XPG4/fcntl.h/conform): Likewise.
8083 (test-xfail-XPG4/langinfo.h/conform): Likewise.
8084 (test-xfail-XPG4/netdb.h/conform): Likewise.
8085 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
8086 (test-xfail-XPG4/signal.h/conform): Likewise.
8087 (test-xfail-XPG4/stdio.h/conform): Likewise.
8088 (test-xfail-XPG4/stdlib.h/conform): Likewise.
8089 (test-xfail-XPG4/stropts.h/conform): Likewise.
8090 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
8091 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
8092 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
8093 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
8094 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
8095 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
8096 (test-xfail-XPG4/sys/time.h/conform): Likewise.
8097 (test-xfail-XPG4/sys/types.h/conform): Likewise.
8098 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
8099 (test-xfail-XPG4/termios.h/conform): Likewise.
8100 (test-xfail-XPG4/ucontext.h/conform): Likewise.
8101 (test-xfail-XPG4/unistd.h/conform): Likewise.
8102 (test-xfail-XPG4/utmpx.h/conform): Likewise.
8103 (test-xfail-POSIX/sched.h/conform): Likewise.
8104 (test-xfail-POSIX/signal.h/conform): Likewise.
8105 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8106 (test-xfail-POSIX/tar.h/conform): Likewise.
8107 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
8108 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
8109 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
8110 (test-xfail-UNIX98/netdb.h/conform): Likewise.
8111 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
8112 (test-xfail-UNIX98/sched.h/conform): Likewise.
8113 (test-xfail-UNIX98/signal.h/conform): Likewise.
8114 (test-xfail-UNIX98/stdio.h/conform): Likewise.
8115 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8116 (test-xfail-UNIX98/stropts.h/conform): Likewise.
8117 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
8118 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
8119 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
8120 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
8121 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
8122 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
8123 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
8124 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
8125 (test-xfail-UNIX98/unistd.h/conform): Likewise.
8126 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
8127 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
8128 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
8129 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
8130 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
8131 (test-xfail-XOPEN2K/math.h/conform): Likewise.
8132 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
8133 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
8134 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
8135 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
8136 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
8137 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
8138 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
8139 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
8140 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
8141 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
8142 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
8143 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
8144 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
8145 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
8146 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
8147 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8148 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
8149 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
8150 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
8151 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
8152 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
8153 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
8154 (test-xfail-POSIX2008/signal.h/conform): Likewise.
8155 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
8156 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
8157 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
8158 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
8159 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
8160 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
8161 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8162 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
8163 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
8164 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
8165 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
8166 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
8167 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
8168 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
8169 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
8170 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8171 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
8172 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8173 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8174 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
8175 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8176 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8177 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
8178 (conformtest-cc-flags): Likewise.
8179 ($(conformtest-header-tests): New target.
8180 * conform/check-header-lists.sh: New file.
8181 * conform/run-conformtest.sh: Remove.
8182
a00f522a
JM
8183 * conform/conformtest.pl: Allow ' and \ in values given for
8184 constants.
8185 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
8186 inclusion.
8187 [POSIX] (sys/types.h): Likewise.
8188 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
8189 inclusion.
8190 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
8191 inclusion.
8192 * conform/data/signal.h-data (SIGIO): Remove expectation.
8193 [XPG3] (SIGBUS): Do not expect.
8194 [POSIX || XPG3] (SIGPOLL): Likewise.
8195 [POSIX || XPG3] (SIGPROF): Likewise.
8196 [POSIX || XPG3] (SIGSYS): Likewise.
8197 [XPG3] (SIGTRAP): Likewise.
8198 [POSIX || XPG3] (SIGURG): Likewise.
8199 [POSIX || XPG3] (SIGVTALRM): Likewise.
8200 [POSIX || XPG3] (SIGXCPU): Likewise.
8201 [POSIX || XPG3] (SIGXFSZ): Likewise.
8202 [POSIX] (SA_SIGINFO): Expect.
8203 [XPG3] (siginfo_t): Do not expect type or contents.
8204 [POSIX] (si_pid): Do not expect element.
8205 [POSIX] (si_uid): Likewise.
8206 [POSIX] (si_addr): Likewise.
8207 [POSIX] (si_status): Likewise.
8208 [POSIX] (si_band): Likewise.
8209 [XPG4] (si_value): Likewise.
8210 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
8211 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
8212 [POSIX || XPG3] (ILL_ILLADR): Likewise.
8213 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
8214 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
8215 [POSIX || XPG3] (ILL_PRVREG): Likewise.
8216 [POSIX || XPG3] (ILL_COPROC): Likewise.
8217 [POSIX || XPG3] (ILL_BADSTK): Likewise.
8218 [POSIX || XPG3] (FPE_INTDIV): Likewise.
8219 [POSIX || XPG3] (FPE_INTOVF): Likewise.
8220 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
8221 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
8222 [POSIX || XPG3] (FPE_FLTUND): Likewise.
8223 [POSIX || XPG3] (FPE_FLTRES): Likewise.
8224 [POSIX || XPG3] (FPE_FLTINV): Likewise.
8225 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
8226 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
8227 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
8228 [POSIX || XPG3] (BUS_ADRALN): Likewise.
8229 [POSIX || XPG3] (BUS_ADRERR): Likewise.
8230 [POSIX || XPG3] (BUS_OBJERR): Likewise.
8231 [POSIX || XPG3] (CLD_EXITED): Likewise.
8232 [POSIX || XPG3] (CLD_KILLED): Likewise.
8233 [POSIX || XPG3] (CLD_DUMPED): Likewise.
8234 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
8235 [POSIX || XPG3] (CLD_STOPPED): Likewise.
8236 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
8237 [POSIX || XPG3] (POLL_IN): Likewise.
8238 [POSIX || XPG3] (POLL_OUT): Likewise.
8239 [POSIX || XPG3] (POLL_MSG): Likewise.
8240 [POSIX || XPG3] (POLL_ERR): Likewise.
8241 [POSIX || XPG3] (POLL_PRI): Likewise.
8242 [POSIX || XPG3] (POLL_HUP): Likewise.
8243 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
8244 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
8245 (SIG*): Do not allow.
8246 [XPG3] (si_*): Likewise.
8247 [XPG3] (SI_*): Likewise.
8248 [XPG3 || XPG4] (sigev_*): Likewise.
8249 [XPG3 || XPG4] (SIGEV_*): Likewise.
8250 [XPG3 || XPG4] (sival_*): Likewise.
8251 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
8252 [POSIX || XPG3] (BUS_*): Likewise.
8253 [POSIX || XPG3] (CLD_*): Likewise.
8254 [POSIX || XPG3] (FPE_*): Likewise.
8255 [POSIX || XPG3] (ILL_*): Likewise.
8256 [POSIX || XPG3] (POLL_*): Likewise.
8257 [POSIX || XPG3] (SEGV_*): Likewise.
8258 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
8259 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
8260 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
8261 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
8262 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
8263 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
8264 Specify type and value.
8265 (TVERSLEN): Likewise.
8266 (REGTYPE): Likewise.
8267 (AREGTYPE): Likewise.
8268 (LNKTYPE): Likewise.
8269 (SYMTYPE): Likewise.
8270 (CHRTYPE): Likewise.
8271 (BLKTYPE): Likewise.
8272 (DIRTYPE): Likewise.
8273 (FIFOTYPE): Likewise.
8274 (CONTTYPE): Likewise.
8275 (TSUID): Likewise.
8276 (TSGID): Likewise.
8277 (TSVTX): Likewise.
8278 (TUREAD): Likewise.
8279 (TUWRITE): Likewise.
8280 (TUEXEC): Likewise.
8281 (TGREAD): Likewise.
8282 (TGWRITE): Likewise.
8283 (TGEXEC): Likewise.
8284 (TOREAD): Likewise.
8285 (TOWRITE): Likewise.
8286 (TOEXEC): Likewise.
8287 [POSIX] (TSVTX): Expect constant.
8288
aa97dee1
JM
82892014-03-06 Joseph Myers <joseph@codesourcery.com>
8290
f214606a
JM
8291 * Makefile (tests): Change dependencies to ....
8292 (tests-special): ... additions to this variable.
8293 (tests): Depend on $(tests-special).
8294 * Makerules (check-abi-list): New variable.
8295 (check-abi): Depend on $(check-abi-list).
8296 [$(subdir) = elf] (tests-special): Add
8297 $(objpfx)check-abi-libc.out.
8298 [$(build-shared) = yes && subdir] (tests-special): Add
8299 $(check-abi-list).
8300 [$(build-shared) = yes && subdir] (tests): Do not depend on
8301 check-abi.
8302 * Rules (tests): Depend on $(tests-special).
8303 (xtests): Depend on $(xtests-special).
8304 * catgets/Makefile (tests): Change dependencies to ....
8305 (tests-special): ... additions to this variable.
8306 * conform/Makefile (tests): Change dependencies to ....
8307 (tests-special): ... additions to this variable.
8308 * elf/Makefile (tests): Change dependencies to ....
8309 (tests-special): ... additions to this variable.
8310 * grp/Makefile (tests): Change dependencies to ....
8311 (tests-special): ... additions to this variable.
8312 * iconv/Makefile (xtests): Change dependencies to ....
8313 (xtests-special): ... additions to this variable.
8314 * iconvdata/Makefile (tests): Change dependencies to ....
8315 (tests-special): ... additions to this variable.
8316 * intl/Makefile (tests): Change dependencies to ....
8317 (tests-special): ... additions to this variable. Also add
8318 $(objpfx)tst-gettext.out.
8319 * io/Makefile (tests): Change dependencies to ....
8320 (tests-special): ... additions to this variable.
8321 * libio/Makefile (tests): Change dependencies to ....
8322 (tests-special): ... additions to this variable.
8323 * malloc/Makefile (tests): Change dependencies to ....
8324 (tests-special): ... additions to this variable.
8325 * misc/Makefile (tests): Change dependencies to ....
8326 (tests-special): ... additions to this variable.
8327 * nptl/Makefile (tests): Change dependencies to ....
8328 (tests-special): ... additions to this variable.
8329 * nptl_db/Makefile (tests): Change dependencies to ....
8330 (tests-special): ... additions to this variable.
8331 * posix/Makefile (tests): Change dependencies to ....
8332 (tests-special): ... additions to this variable.
8333 (xtests): Change dependencies to ....
8334 (xtests-special): ... additions to this variable.
8335 * resolv/Makefile (tests): Change dependencies to ....
8336 (tests-special): ... additions to this variable.
8337 (xtests): Change dependencies to ....
8338 (xtests-special): ... additions to this variable.
8339 * stdio-common/Makefile (tests): Change dependencies to ....
8340 (tests-special): ... additions to this variable.
8341 (do-tst-unbputc): Remove target.
8342 (do-tst-printf): Likewise.
8343 * stdlib/Makefile (tests): Change dependencies to ....
8344 (tests-special): ... additions to this variable.
8345 * string/Makefile (tests): Change dependencies to ....
8346 (tests-special): ... additions to this variable.
8347 * sysdeps/x86/Makefile (tests): Change dependencies to ....
8348 (tests-special): ... additions to this variable.
8349
81700b53
JM
8350 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
8351 whole file.
8352 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
8353 whole file.
8354 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
8355 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
8356
2ea18461
JM
8357 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
8358 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
8359 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
8360 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
8361 * conform/data/libgen.h-data [XPG3]: Likewise.
8362 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
8363 * conform/data/ndbm.h-data [XPG3]: Likewise.
8364 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8365 * conform/data/netdb.h-data [XPG3]: Likewise.
8366 * conform/data/netinet/in.h-data [XPG3]: Likewise.
8367 * conform/data/poll.h-data [XPG3]: Likewise.
8368 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8369 * conform/data/strings.h-data [XPG3]: Likewise.
8370 * conform/data/stropts.h-data [XPG3]: Likewise.
8371 * conform/data/sys/mman.h-data [XPG3]: Likewise.
8372 * conform/data/sys/resource.h-data [XPG3]: Likewise.
8373 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
8374 Likewise.
8375 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
8376 * conform/data/sys/time.h-data [XPG3]: Likewise.
8377 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
8378 * conform/data/sys/uio.h-data [XPG3]: Likewise.
8379 * conform/data/sys/un.h-data [XPG3]: Likewise.
8380 * conform/data/syslog.h-data [XPG3]: Likewise.
8381 * conform/data/ucontext.h-data [XPG3]: Likewise.
8382 * conform/data/utmpx.h-data [XPG3]: Likewise.
8383 * conform/data/varargs.h-data [UNIX98]: Enable file.
8384
355bc986
JM
8385 * manual/Makefile (INSTALL_INFO): Remove variable setting.
8386
215db402
JM
8387 * math/libm-test.inc (struct test_f_f_data): Move expected results
8388 into structure for each rounding mode.
8389 (struct test_ff_f_data): Likewise.
8390 (struct test_ff_f_data_nexttoward): Likewise.
8391 (struct test_fi_f_data): Likewise.
8392 (struct test_fl_f_data): Likewise.
8393 (struct test_if_f_data): Likewise.
8394 (struct test_fff_f_data): Likewise.
8395 (struct test_c_f_data): Likewise.
8396 (struct test_f_f1_data): Likewise.
8397 (struct test_fF_f1_data): Likewise.
8398 (struct test_ffI_f1_data): Likewise.
8399 (struct test_c_c_data): Likewise.
8400 (struct test_cc_c_data): Likewise.
8401 (struct test_f_i_data): Likewise.
8402 (struct test_ff_i_data): Likewise.
8403 (struct test_f_l_data): Likewise.
8404 (struct test_f_L_data): Likewise.
8405 (struct test_fFF_11_data): Likewise.
8406 (RM_): New macro.
8407 (RM_FE_DOWNWARD): Likewise.
8408 (RM_FE_TONEAREST): Likewise.
8409 (RM_FE_TOWARDZERO): Likewise.
8410 (RM_FE_UPWARD): Likewise.
8411 (RUN_TEST_LOOP_f_f): Update references to expected results.
8412 (RUN_TEST_LOOP_2_f): Likewise.
8413 (RUN_TEST_LOOP_fff_f): Likewise.
8414 (RUN_TEST_LOOP_c_f): Likewise.
8415 (RUN_TEST_LOOP_f_f1): Likewise.
8416 (RUN_TEST_LOOP_fF_f1): Likewise.
8417 (RUN_TEST_LOOP_fI_f1): Likewise.
8418 (RUN_TEST_LOOP_ffI_f1): Likewise.
8419 (RUN_TEST_LOOP_c_c): Likewise.
8420 (RUN_TEST_LOOP_cc_c): Likewise.
8421 (RUN_TEST_LOOP_f_i): Likewise.
8422 (RUN_TEST_LOOP_f_i_tg): Likewise.
8423 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8424 (RUN_TEST_LOOP_f_b): Likewise.
8425 (RUN_TEST_LOOP_f_b_tg): Likewise.
8426 (RUN_TEST_LOOP_f_l): Likewise.
8427 (RUN_TEST_LOOP_f_L): Likewise.
8428 (RUN_TEST_LOOP_fFF_11): Likewise.
8429 * math/gen-libm-test.pl (parse_args): Output four copies of
8430 expected results for each test.
8431
67737b8f
JM
8432 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8433 (__ASSUME_UTIMES): Remove.
8434 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8435 (__ASSUME_UTIMES): Likewise.
8436
aa97dee1
JM
8437 * math/gen-auto-libm-tests.c: Update comment on output format.
8438 (output_for_one_input_case): Generate before-rounding and
8439 after-rounding information as conditions on output flags not
8440 floating-point format.
8441 * math/auto-libm-test-out: Regenerated.
8442 * math/gen-libm-test.pl (cond_value): New function.
8443 (or_cond_value): Use cond_value.
8444 (generate_testfile): Handle conditional exceptions.
8445
e6b6a857
JM
84462014-03-05 Joseph Myers <joseph@codesourcery.com>
8447
2f0a0f44
JM
8448 * math/libm-test.inc (max_valid_error): New variable.
8449 (init_max_error): Take new argument specifying whether function
8450 results are exactly determined. Set max_valid_error and bound
8451 other variables for errors based on this argument.
8452 (set_max_error): Do not record results above max_valid_error.
8453 (check_float_internal): Only accept errors of up to 0.5ulps if
8454 also at most max_valid_error.
8455 (START): Take new argument EXACT and pass it to init_max_error.
8456 (acos_test): Update call to START.
8457 (acos_test_tonearest): Likewise.
8458 (acos_test_towardzero): Likewise.
8459 (acos_test_downward): Likewise.
8460 (acos_test_upward): Likewise.
8461 (acosh_test): Likewise.
8462 (asin_test): Likewise.
8463 (asin_test_tonearest): Likewise.
8464 (asin_test_towardzero): Likewise.
8465 (asin_test_downward): Likewise.
8466 (asin_test_upward): Likewise.
8467 (asinh_test): Likewise.
8468 (atan_test): Likewise.
8469 (atanh_test): Likewise.
8470 (atan2_test): Likewise.
8471 (cabs_test): Likewise.
8472 (cacos_test): Likewise.
8473 (cacosh_test): Likewise.
8474 (carg_test): Likewise.
8475 (casin_test): Likewise.
8476 (casinh_test): Likewise.
8477 (catan_test): Likewise.
8478 (catanh_test): Likewise.
8479 (cbrt_test): Likewise.
8480 (ccos_test): Likewise.
8481 (ccosh_test): Likewise.
8482 (ceil_test): Likewise.
8483 (cexp_test): Likewise.
8484 (cimag_test): Likewise.
8485 (clog_test): Likewise.
8486 (clog10_test): Likewise.
8487 (conj_test): Likewise.
8488 (copysign_test): Likewise.
8489 (cos_test): Likewise.
8490 (cos_test_tonearest): Likewise.
8491 (cos_test_towardzero): Likewise.
8492 (cos_test_downward): Likewise.
8493 (cos_test_upward): Likewise.
8494 (cosh_test): Likewise.
8495 (cosh_test_tonearest): Likewise.
8496 (cosh_test_towardzero): Likewise.
8497 (cosh_test_downward): Likewise.
8498 (cosh_test_upward): Likewise.
8499 (cpow_test): Likewise.
8500 (cproj_test): Likewise.
8501 (creal_test): Likewise.
8502 (csin_test): Likewise.
8503 (csinh_test): Likewise.
8504 (csqrt_test): Likewise.
8505 (ctan_test): Likewise.
8506 (ctan_test_tonearest): Likewise.
8507 (ctan_test_towardzero): Likewise.
8508 (ctan_test_downward): Likewise.
8509 (ctan_test_upward): Likewise.
8510 (ctanh_test): Likewise.
8511 (ctanh_test_tonearest): Likewise.
8512 (ctanh_test_towardzero): Likewise.
8513 (ctanh_test_downward): Likewise.
8514 (ctanh_test_upward): Likewise.
8515 (erf_test): Likewise.
8516 (erfc_test): Likewise.
8517 (exp_test): Likewise.
8518 (exp_test_tonearest): Likewise.
8519 (exp_test_towardzero): Likewise.
8520 (exp_test_downward): Likewise.
8521 (exp_test_upward): Likewise.
8522 (exp10_test): Likewise.
8523 (exp10_test_tonearest): Likewise.
8524 (exp10_test_towardzero): Likewise.
8525 (exp10_test_downward): Likewise.
8526 (exp10_test_upward): Likewise.
8527 (pow10_test): Likewise.
8528 (exp2_test): Likewise.
8529 (expm1_test): Likewise.
8530 (expm1_test_tonearest): Likewise.
8531 (expm1_test_towardzero): Likewise.
8532 (expm1_test_downward): Likewise.
8533 (expm1_test_upward): Likewise.
8534 (fabs_test): Likewise.
8535 (fdim_test): Likewise.
8536 (floor_test): Likewise.
8537 (fma_test): Likewise.
8538 (fma_test_towardzero): Likewise.
8539 (fma_test_downward): Likewise.
8540 (fma_test_upward): Likewise.
8541 (fmax_test): Likewise.
8542 (fmin_test): Likewise.
8543 (fmod_test): Likewise.
8544 (fpclassify_test): Likewise.
8545 (frexp_test): Likewise.
8546 (hypot_test): Likewise.
8547 (ilogb_test): Likewise.
8548 (isfinite_test): Likewise.
8549 (finite_test): Likewise.
8550 (isgreater_test): Likewise.
8551 (isgreaterequal_test): Likewise.
8552 (isinf_test): Likewise.
8553 (isless_test): Likewise.
8554 (islessequal_test): Likewise.
8555 (islessgreater_test): Likewise.
8556 (isnan_test): Likewise.
8557 (isnormal_test): Likewise.
8558 (issignaling_test): Likewise.
8559 (isunordered_test): Likewise.
8560 (j0_test): Likewise.
8561 (j1_test): Likewise.
8562 (jn_test): Likewise.
8563 (ldexp_test): Likewise.
8564 (lgamma_test): Likewise.
8565 (gamma_test): Likewise.
8566 (lrint_test): Likewise.
8567 (lrint_test_tonearest): Likewise.
8568 (lrint_test_towardzero): Likewise.
8569 (lrint_test_downward): Likewise.
8570 (lrint_test_upward): Likewise.
8571 (llrint_test): Likewise.
8572 (llrint_test_tonearest): Likewise.
8573 (llrint_test_towardzero): Likewise.
8574 (llrint_test_downward): Likewise.
8575 (llrint_test_upward): Likewise.
8576 (log_test): Likewise.
8577 (log10_test): Likewise.
8578 (log1p_test): Likewise.
8579 (log2_test): Likewise.
8580 (logb_test): Likewise.
8581 (logb_test_downward): Likewise.
8582 (lround_test): Likewise.
8583 (llround_test): Likewise.
8584 (modf_test): Likewise.
8585 (nearbyint_test): Likewise.
8586 (nextafter_test): Likewise.
8587 (nexttoward_test): Likewise.
8588 (pow_test): Likewise.
8589 (pow_test_tonearest): Likewise.
8590 (pow_test_towardzero): Likewise.
8591 (pow_test_downward): Likewise.
8592 (pow_test_upward): Likewise.
8593 (remainder_test): Likewise.
8594 (drem_test): Likewise.
8595 (remainder_test_tonearest): Likewise.
8596 (drem_test_tonearest): Likewise.
8597 (remainder_test_towardzero): Likewise.
8598 (drem_test_towardzero): Likewise.
8599 (remainder_test_downward): Likewise.
8600 (drem_test_downward): Likewise.
8601 (remainder_test_upward): Likewise.
8602 (drem_test_upward): Likewise.
8603 (remquo_test): Likewise.
8604 (rint_test): Likewise.
8605 (rint_test_tonearest): Likewise.
8606 (rint_test_towardzero): Likewise.
8607 (rint_test_downward): Likewise.
8608 (rint_test_upward): Likewise.
8609 (round_test): Likewise.
8610 (scalb_test): Likewise.
8611 (scalbn_test): Likewise.
8612 (scalbln_test): Likewise.
8613 (signbit_test): Likewise.
8614 (sin_test): Likewise.
8615 (sin_test_tonearest): Likewise.
8616 (sin_test_towardzero): Likewise.
8617 (sin_test_downward): Likewise.
8618 (sin_test_upward): Likewise.
8619 (sincos_test): Likewise.
8620 (sinh_test): Likewise.
8621 (sinh_test_tonearest): Likewise.
8622 (sinh_test_towardzero): Likewise.
8623 (sinh_test_downward): Likewise.
8624 (sinh_test_upward): Likewise.
8625 (sqrt_test): Likewise.
8626 (sqrt_test_tonearest): Likewise.
8627 (sqrt_test_towardzero): Likewise.
8628 (sqrt_test_downward): Likewise.
8629 (sqrt_test_upward): Likewise.
8630 (tan_test): Likewise.
8631 (tan_test_tonearest): Likewise.
8632 (tan_test_towardzero): Likewise.
8633 (tan_test_downward): Likewise.
8634 (tan_test_upward): Likewise.
8635 (tanh_test): Likewise.
8636 (tgamma_test): Likewise.
8637 (trunc_test): Likewise.
8638 (y0_test): Likewise.
8639 (y1_test): Likewise.
8640 (yn_test): Likewise.
8641 (significand_test): Likewise.
8642
e6b6a857
JM
8643 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
8644 individual tests in comment.
8645 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
8646 (prev_max_error): New variable.
8647 (prev_real_max_error): Likewise.
8648 (prev_imag_max_error): Likewise.
8649 (compare_ulp_data): Don't refer to test names in comment.
8650 (find_test_ulps): Remove function.
8651 (find_function_ulps): Likewise.
8652 (find_complex_function_ulps): Likewise.
8653 (init_max_error): Take function name as argument. Look up ulps
8654 for that function.
8655 (print_ulps): Remove function.
8656 (print_max_error): Use prev_max_error instead of calling
8657 find_function_ulps.
8658 (print_complex_max_error): Use prev_real_max_error and
8659 prev_imag_max_error instead of calling find_complex_function_ulps.
8660 (check_float_internal): Take max_ulp parameter instead of calling
8661 find_test_ulps. Don't call print_ulps.
8662 (check_float): Update call to check_float_internal.
8663 (check_complex): Update calls to check_float_internal.
8664 (START): Pass argument to init_max_error.
8665 * math/gen-libm-test.pl (%results): Don't include "kind"
8666 information.
8667 (parse_ulps): Don't handle ulps of individual tests.
8668 (print_ulps_file): Likewise.
8669 (output_ulps): Likewise.
8670 * math/README.libm-test: Update.
8671 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
8672 individual tests.
8673 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
8674 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
8675 * sysdeps/arm/libm-test-ulps: Likewise.
8676 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
8677 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
8678 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
8679 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
8680 * sysdeps/microblaze/libm-test-ulps: Likewise.
8681 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8682 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8683 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8684 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8685 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8686 * sysdeps/sh/libm-test-ulps: Likewise.
8687 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8688 * sysdeps/tile/libm-test-ulps: Likewise.
8689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8690
45adef3c
JM
86912014-03-04 Joseph Myers <joseph@codesourcery.com>
8692
8693 * math/libm-test.inc (print_complex_max_error): Check separately
8694 whether real and imaginary errors are within allowed range and
8695 pass 0 to print_complex_function_ulps instead of value within
8696 allowed range.
8697
000232b9
SP
86982014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8699
d4b17258
SP
8700 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
8701 formatting.
8702 (get_handles_fopen): Likewise.
8703 (do_write_test): Likewise.
8704
091eff71
SP
8705 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
8706
fa3cd248
SP
8707 * libio/fileops.c (do_ftell): Use cached offset when
8708 available.
8709 * libio/iofwide.c (do_ftell_wide): Likewise.
8710 * libio/iofdopen.c (_IO_new_fdopen): Don't use
8711 _IO_file_attach.
8712 * libio/wfileops.c (_IO_fwide): Don't cache offset.
8713
000232b9
SP
8714 [BZ #16532]
8715 * libio/libioP.h (get_file_offset): New function.
8716 * libio/fileops.c (get_file_offset): Likewise.
8717 (do_ftell): Likewise.
8718 (_IO_new_file_seekoff): Split out ftell logic.
8719 * libio/wfileops.c (do_ftell_wide): Likewise.
8720 (_IO_wfile_seekoff): Split out ftell logic.
8721 * libio/tst-ftell-active-handler.c: New test case.
8722 * libio/Makefile (tests): Add it.
8723
116f4d1a
RM
87242014-03-03 Roland McGrath <roland@hack.frob.com>
8725
8726 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
8727 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
8728
532a6035
SP
87292014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8730
8731 [BZ #16639]
8732 * nscd/connections.c (nscd_init): Call do_exit.
8733 (start_threads): Call do_exit and notify_parent.
8734 (begin_drop_privileges): Call do_exit.
8735 (finish_drop_privileges): Likewise.
8736 * nscd/selinux.c (preserve_capabilities): Likewise.
8737 (install_real_capabilities): Likewise.
8738 (nscd_selinux_enabled): Likewise.
8739 (avc_create_thread): Likewise.
8740 (avc_alloc_lock): Likewise.
8741 (nscd_avc_init): Likewise.
8742 * nscd/nscd.c (parent_fd): New static variable.
8743 (main): Create a pipe between parent and child processes.
8744 Skip closing parent_fd.
8745 (monitor_child): New function.
8746 (do_exit): Likewise.
8747 (notify_parent): Likewise.
8748 * nscd/nscd.h (notify_parent): Likewise.
8749 (do_exit): Likewise.
8750
d6285c9f
CD
87512014-03-03 Carlos O'Donell <carlos@redhat.com>
8752
8753 * malloc/malloc.c (__libc_calloc): Revert last change.
8754
2b85d2a0
AZ
87552014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8756
8757 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8758
c7debbdf
RS
87592014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8760
8761 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
8762 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
8763 implementation.
8764 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8765 (__libc_ifunc_impl_list): Likewise.
8766 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
8767 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
8768 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
8769 * string/strrchr.c: Define STRRCHR.
8770
235eed86
OB
87712014-02-28 Ondřej Bílka <neleai@seznam.cz>
8772
8773 * benchtest/bench-strtok.c (simple_strtok): Delete.
8774 (strtok_string): Use as benchmark.
8775 * string/strtok (STRTOK): New macro.
8776
8e25d1e7
CD
87772014-02-28 Carlos O'Donell <carlos@redhat.com>
8778
ef563f92
CD
8779 * manual/threads.texi: Add header and standard comments to all
8780 functions.
8781
8e25d1e7
CD
8782 * elf/dl-lookup.c (check_match): New function.
8783 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
8784 (do_lookup_x): Remove nested function check_match. Use non-nested
8785 function check_match.
8786
ff71cc37
RM
87872014-02-28 Roland McGrath <roland@hack.frob.com>
8788
f08e9a26
RM
8789 * csu/Makefile (generated, before-compile): Use += rather than =.
8790 * catgets/Makefile (generated, generated-dirs): Likewise.
8791 * debug/Makefile (generated): Likewise.
8792 * dlfcn/Makefile (generated): Likewise.
8793 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
8794 * iconvdata/Makefile (before-compile, generated): Likewise.
8795 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
8796 * libio/Makefile (generated): Likewise.
8797 * malloc/Makefile (generated): Likewise.
8798 * manual/Makefile (generated, generated-dirs): Likewise.
8799 * misc/Makefile (generated): Likewise.
8800 * posix/Makefile (generated): Likewise.
8801 * resolv/Makefile (generated): Likewise.
8802 * sunrpc/Makefile (generated, generated-dirs): Likewise.
8803 * timezone/Makefile (generated, generated-dirs): Likewise.
8804
ff71cc37
RM
8805 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
8806
fe13a20c
AZ
88072014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8808
57f41c40
AS
8809 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8810 power8 implementation.
8811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
8812 file: POWER8 llround ifunc implementation.
8813 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
8814 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
8815 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
8816 POWER8 llround implementation.
8817
57f41c40
AS
8818 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
8819 power8 implementation.
8820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
8821 file: POWER8 llrint ifunc implementation.
8822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
8823 Add POWER8 implementation.
1ad8950a
AZ
8824 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
8825 POWER8 llrint implementation.
8826
57f41c40
AS
8827 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
8828 power8 implementation.
8829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
8830 file: POWER8 finite ifunc implementation.
8831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
8832 Add POWER8 implementation.
cac626d6
AZ
8833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
8834 Likewise.
8835 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
8836 POWER8 finite implementation.
8837 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
8838
57f41c40
AS
8839 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
8840 power8 implementation.
8841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
8842 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
8843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
8844 POWER8 implementation.
8845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
8846 Likewise.
57f41c40
AS
8847 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
8848 isinf implementation.
4393fc11
AZ
8849 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
8850
57f41c40
AS
8851 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
8852 (INIT_ARCH): Add hwcap2 initialization.
8853 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8854 power8 implementation.
8855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
8856 file: POWER8 isnan ifunc implementation.
487972ae
AZ
8857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
8858 POWER8 implementation.
8859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
8860 Likewise.
57f41c40
AS
8861 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
8862 isnan implementation.
487972ae
AZ
8863 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
8864
7d92b787
JY
88652014-02-27 Joey Ye <joey.ye@arm.com>
8866
8867 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8868 (_FP_NANFRAC_Q): Set to zero.
8869
1cadc858
SP
88702014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8871
8872 [BZ #16623]
8873 * math/auto-libm-test-in: New test inputs.
8874 * math/auto-libm-test-out: Regenerate.
8875 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
8876 and DA.
8877 (__cos): Likewise.
8878 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8879
f8c17e79
JM
88802014-02-27 Joseph Myers <joseph@codesourcery.com>
8881
8882 * scripts/evaluate-test.sh: Take new argument indicating whether
8883 failure is expected.
8884 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
8885 indicating whether failure is expected.
8886 * conform/Makefile (test-xfail-run-conformtest): New variable.
8887 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
8888 level.
8889 * posix/Makefile (test-xfail-annexc): New variable.
8890 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
8891
a5f891ac
JM
88922014-02-26 Joseph Myers <joseph@codesourcery.com>
8893
8894 * argp/Makefile: Include Makeconfig immediately after defining
8895 subdir.
8896 * assert/Makefile: Likewise.
8897 * benchtests/Makefile: Likewise.
8898 * catgets/Makefile: Likewise.
8899 * conform/Makefile: Likewise.
8900 * crypt/Makefile: Likewise.
8901 * csu/Makefile: Likewise.
8902 (all): Remove target.
8903 * ctype/Makefile: Include Makeconfig immediately after defining
8904 subdir.
8905 * debug/Makefile: Likewise.
8906 * dirent/Makefile: Likewise.
8907 * dlfcn/Makefile: Likewise.
8908 * gmon/Makefile: Likewise.
8909 * gnulib/Makefile: Likewise.
8910 * grp/Makefile: Likewise.
8911 * gshadow/Makefile: Likewise.
8912 * hesiod/Makefile: Likewise.
8913 * hurd/Makefile: Likewise.
8914 (all): Remove target.
8915 * iconvdata/Makefile: Include Makeconfig immediately after
8916 defining subdir.
8917 * inet/Makefile: Likewise.
8918 * intl/Makefile: Likewise.
8919 * io/Makefile: Likewise.
8920 * libio/Makefile: Likewise.
8921 (all): Remove target.
8922 * locale/Makefile: Include Makeconfig immediately after defining
8923 subdir.
8924 * login/Makefile: Likewise.
8925 * mach/Makefile: Likewise.
8926 (all): Remove target.
8927 * malloc/Makefile: Include Makeconfig immediately after defining
8928 subdir.
8929 (all): Remove target.
8930 * manual/Makefile: Include Makeconfig immediately after defining
8931 subdir.
8932 * math/Makefile: Likewise.
8933 * misc/Makefile: Likewise.
8934 * nis/Makefile: Likewise.
8935 * nss/Makefile: Likewise.
8936 * po/Makefile: Likewise.
8937 (all): Remove target.
8938 * posix/Makefile: Include Makeconfig immediately after defining
8939 subdir.
8940 * pwd/Makefile: Likewise.
8941 * resolv/Makefile: Likewise.
8942 * resource/Makefile: Likewise.
8943 * rt/Makefile: Likewise.
8944 * setjmp/Makefile: Likewise.
8945 * shadow/Makefile: Likewise.
8946 * signal/Makefile: Likewise.
8947 * socket/Makefile: Likewise.
8948 * soft-fp/Makefile: Likewise.
8949 * stdio-common/Makefile: Likewise.
8950 * stdlib/Makefile: Likewise.
8951 * streams/Makefile: Likewise.
8952 * string/Makefile: Likewise.
8953 * sunrpc/Makefile: Likewise.
8954 (all): Remove target.
8955 * sysvipc/Makefile: Include Makeconfig immediately after defining
8956 subdir.
8957 * termios/Makefile: Likewise.
8958 * time/Makefile: Likewise.
8959 * timezone/Makefile: Likewise.
8960 (all): Remove target.
8961 * wcsmbs/Makefile: Include Makeconfig immediately after defining
8962 subdir.
8963 * wctype/Makefile: Likewise.
8964
5b456e9d
SE
89652014-02-26 Steve Ellcey <sellcey@mips.com>
8966
8967 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
8968 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
8969 (libc_feholdexcept_setround_mips): Ditto.
8970 (libc_feholdsetround): New.
8971 (libc_feholdsetroundf): New.
8972 (libc_feholdsetroundl): New.
8973 (libc_feupdateenv_test_mips): New.
8974 (libc_feupdateenv_test): New.
8975 (libc_feupdateenv_testf): New.
8976 (libc_feupdateenv_testl): New.
8977 (libc_feresetround): New.
8978 (libc_feresetroundf): New.
8979 (libc_feresetroundl): New.
8980 (libc_fetestexcept_mips): New.
8981 (libc_fetestexcept): New.
8982 (libc_fetestexceptf): New.
8983 (libc_fetestexceptl): New.
8984 (HAVE_RM_CTX): New.
8985 (libc_feholdexcept_setround_mips_ctx): New.
8986 (libc_feholdexcept_setround_ctx): New.
8987 (libc_feholdexcept_setroundf_ctx): New.
8988 (libc_feholdexcept_setroundl_ctx): New.
8989 (libc_fesetenv_mips_ctx): New.
8990 (libc_fesetenv_ctx): New.
8991 (libc_fesetenv_ctxf): New.
8992 (libc_fesetenv_ctxl): New.
8993 (libc_feupdateenv_mips_ctx): New.
8994 (libc_feupdateenv_ctx): New.
8995 (libc_feupdateenvf_ctx): New.
8996 (libc_feupdateenvl_ctx): New.
8997 (libc_feholdsetround_mips_ctx): New.
8998 (libc_feholdsetround_ctx): New.
8999 (libc_feholdsetroundf_ctx): New.
9000 (libc_feholdsetroundl_ctx): New.
9001 (libc_feresetround_mips_ctx): New.
9002 (libc_feresetround_ctx): New.
9003 (libc_feresetroundf_ctx): New.
9004 (libc_feresetroundl_ctx): New.
9005
085d0e35
CD
90062014-02-26 Carlos O'Donell <carlos@redhat.com>
9007
f067bf1f
CD
9008 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
9009
085d0e35
CD
9010 * manual/ipc.texi: New file.
9011 * manual/Makefile (chapters): Add ipc.
9012 * manual/job.texi: Add "Inter-Process Communication" to next.
9013 * manual/process.texi: Add "Inter-Process Communication" to prev.
9014
86e58c08
AZ
90152014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9016
9017 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9018
4248f0da
OB
90192014-02-26 Ondřej Bílka <neleai@seznam.cz>
9020
9021 * malloc/malloc.c (__libc_calloc): Simplify implementation.
9022
cf822e3c
OB
9023 * manual/arith.texi: Fix spaces after sentences.
9024 * manual/charset.texi: Likewise.
9025 * manual/errno.texi: Likewise.
9026 * manual/install.texi: Likewise.
9027 * manual/llio.texi: Likewise.
9028 * manual/locale.texi: Likewise.
9029 * manual/maint.texi: Likewise.
9030 * manual/math.texi: Likewise.
9031 * manual/memory.texi: Likewise.
9032 * manual/message.texi: Likewise.
9033 * manual/probes.texi: Likewise.
9034 * manual/resource.texi: Likewise.
9035 * manual/signal.texi: Likewise.
9036 * manual/socket.texi: Likewise.
9037 * manual/stdio.texi: Likewise.
9038 * manual/string.texi: Likewise.
9039 * manual/time.texi: Likewise.
9040 * manual/users.texi: Likewise.
9041
ade40b10
CD
90422014-02-25 Carlos O'Donell <carlos@redhat.com>
9043
9044 [BZ #16632]
9045 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
9046 _DEFAULT_SOURCE is defined.
9047
d0503676
CD
90482014-02-25 Ulrich Drepper <drepper@gmail.com>
9049 Carlos O'Donell <carlos@redhat.com>
9050
9051 [BZ #16613]
9052 * elf/dl-tls.c (_dl_count_modids): New function.
9053 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
9054 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
9055 audit library and increment generation counter.
9056 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
9057 * elf/tst-audit9.c: New file.
9058 * elf/tst-auditmod9a.c: New file.
9059 * elf/tst-auditmod9b.c: New file.
9060 * elf/Makefile: Add rules to build and run tst-audit9.
9061
4cbf380c
FW
90622014-02-25 Florian Weimer <fweimer@redhat.com>
9063
9064 [BZ #15347]
9065 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
9066
80a56cc3
WN
90672014-02-25 Will Newton <will.newton@linaro.org>
9068
9069 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
9070 (__longjmp): Restore sp and lr before restoring callee
9071 saved registers. Add longjmp and longjmp_target
9072 SystemTap probe point.
9073 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
9074 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
9075 Define to zero to match jmpbuf layout.
9076 * sysdeps/arm/setjmp.S: Include stap-probe.h.
9077 (__sigsetjmp): Save sp and lr before saving callee
9078 saved registers. Add setjmp SystemTap probe point.
9079
3ea0f74e
SL
90802014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
9081
9082 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9083
b04acb26
AS
90842014-02-24 Andreas Schwab <schwab@suse.de>
9085
9086 [BZ #15804]
9087 * elf/pldd.c (wait_for_ptrace_stop): New function.
9088 (main): Call it after attaching.
9089
098ad55c
RM
90902014-02-22 Roland McGrath <roland@hack.frob.com>
9091
d4ec6ae1
RM
9092 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
9093 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
9094 Versions files is now verboten.
9095 * hurd/Versions (libc: GLIBC_2.0):
9096 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
9097 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
9098 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
9099 * mach/Versions: Likewise.
9100
098ad55c
RM
9101 * csu/Versions: Remove unused %include.
9102 * resolv/Versions: Likewise.
9103
acd7f096
JM
91042014-02-21 Joseph Myers <joseph@codesourcery.com>
9105
f0881698
JM
9106 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
9107 ($(objpfx)check-local-headers.out): Likewise.
9108 ($(objpfx)begin-end-check.out): Likewise.
9109 * Makerules (check-abi-%.out): Likewise.
9110 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
9111 ($(objpfx)test2.cat): Likewise.
9112 ($(objpfx)de/libc.cat): Likewise.
9113 ($(objpfx)test-gencat.out): Likewise.
9114 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
9115 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
9116 ($(objpfx)noload-mem): Likewise.
9117 ($(objpfx)tst-pathopt.out): Likewise.
9118 ($(objpfx)tst-rtld-load-self.out): Likewise.
9119 ($(objpfx)tst-array1-cmp.out): Likewise.
9120 ($(objpfx)tst-array1-static-cmp.out): Likewise.
9121 ($(objpfx)tst-array2-cmp.out): Likewise.
9122 ($(objpfx)tst-array3-cmp.out): Likewise.
9123 ($(objpfx)tst-array4-cmp.out): Likewise.
9124 ($(objpfx)tst-array5-cmp.out): Likewise.
9125 ($(objpfx)tst-array5-static-cmp.out): Likewise.
9126 ($(objpfx)check-textrel.out): Likewise.
9127 ($(objpfx)check-execstack.out): Likewise.
9128 ($(objpfx)check-localplt.out): Likewise.
9129 ($(objpfx)order2-cmp.out): Likewise.
9130 ($(objpfx)tst-leaks1-mem): Likewise.
9131 ($(objpfx)tst-leaks1-static-mem): Likewise.
9132 ($(objpfx)tst-initorder-cmp.out): Likewise.
9133 ($(objpfx)tst-initorder2-cmp.out): Likewise.
9134 ($(objpfx)tst-unused-dep.out): Likewise.
9135 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
9136 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
9137 * iconv/Makefile (test-iconvconfig): Likewise.
9138 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
9139 ($(objpfx)iconv-test.out): Likewise.
9140 ($(objpfx)tst-tables.out): Likewise.
9141 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
9142 ($(objpfx)tst-gettext.out): Likewise.
9143 ($(objpfx)tst-translit.out): Likewise.
9144 ($(objpfx)tst-gettext2.out): Likewise.
9145 ($(objpfx)tst-gettext4.out): Likewise.
9146 ($(objpfx)tst-gettext6.out): Likewise.
9147 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
9148 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
9149 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
9150 ($(objpfx)tst-fopenloc-mem.out): Likewise.
9151 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
9152 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
9153 * posix/Makefile ($(objpfx)globtest.out): Likewise.
9154 ($(objpfx)wordexp-tst.out): Likewise.
9155 ($(objpfx)annexc.out): Likewise.
9156 ($(objpfx)tst-fnmatch-mem): Likewise.
9157 ($(objpfx)bug-regex2-mem): Likewise.
9158 ($(objpfx)bug-regex14-mem): Likewise.
9159 ($(objpfx)bug-regex21-mem): Likewise.
9160 ($(objpfx)bug-regex31-mem): Likewise.
9161 ($(objpfx)tst-vfork3-mem): Likewise.
9162 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9163 ($(objpfx)tst-pcre-mem): Likewise.
9164 ($(objpfx)tst-boost-mem): Likewise.
9165 ($(objpfx)tst-getconf.out): Likewise.
9166 ($(objpfx)bug-ga2-mem): Likewise.
9167 ($(objpfx)bug-glob2-mem): Likewise.
9168 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
9169 ($(objpfx)mtrace-tst-leaks2): Likewise.
9170 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
9171 ($(objpfx)tst-printf.out): Likewise.
9172 ($(objpfx)tst-setvbuf1.out): Likewise.
9173 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
9174 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
9175 ($(objpfx)tst-fmtmsg.out): Likewise.
9176 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
9177 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
9178
acd7f096
JM
9179 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
9180 * bits/sigaction.h [__USE_MISC]: Likewise.
9181 * bits/waitstatus.h: Update #endif comments.
9182 * ctype/ctype.h: Likewise.
9183 * dirent/dirent.h: Likewise.
9184 [__USE_MISC]: Remove redundant conditionals.
9185 * grp/grp.h: Update #endif comments.
9186 [__USE_GNU]: Remove redundant conditionals.
9187 [__USE_MISC]: Likewise.
9188 * inet/netinet/in.h [__USE_GNU]: Likewise.
9189 * io/sys/stat.h [__USE_MISC]: Likewise.
9190 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
9191 * libio/bits/stdio.h: Update #endif comments.
9192 [__USE_MISC]: Remove redundant conditionals.
9193 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
9194 * libio/stdio.h: Update #endif comments.
9195 [__USE_MISC]: Remove redundant conditionals.
9196 * math/bits/math-finite.h [__USE_MISC]: Likewise.
9197 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
9198 * math/math.h: Update #else and #endif comments.
9199 [__USE_MISC]: Remove redundant conditionals.
9200 * misc/sys/uio.h: Update #endif comments.
9201 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
9202 * posix/glob.h [__USE_MISC]: Likewise.
9203 * posix/sys/types.h: Update #endif comments.
9204 [__USE_MISC]: Remove redundant conditionals.
9205 * posix/sys/wait.h: Update #endif comments.
9206 [__USE_MISC]: Remove redundant conditionals.
9207 * posix/unistd.h: Update #endif comments.
9208 [__USE_MISC]: Remove redundant conditionals.
9209 * pwd/pwd.h [__USE_GNU]: Likewise.
9210 [__USE_MISC]: Likewise.
9211 * resolv/netdb.h [__USE_GNU]: Likewise.
9212 * signal/signal.h: Update #endif comments.
9213 [__USE_MISC]: Remove redundant conditionals.
9214 * stdlib/stdlib.h: Update #else and #endif comments.
9215 [__USE_MISC]: Remove redundant conditionals.
9216 [__USE_GNU]: Likewise.
9217 * string/bits/string2.h [__USE_MISC]: Likewise.
9218 * string/string.h: Update #endif comments.
9219 [__USE_MISC]: Remove redundant conditionals.
9220 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
9221 Likewise.
9222 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
9223 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
9224 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
9225 Likewise.
9226 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
9227 Likewise.
9228 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
9229 comments.
9230 [__USE_MISC]: Remove redundant conditionals.
9231 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
9232 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
9233 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
9234 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
9235 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
9236 Likewise.
9237 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
9238 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
9239 Likewise.
9240 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
9241 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
9242 Likewise.
9243 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
9244 Likewise.
9245 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
9246 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
9247 Likewise.
9248 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
9249 Likewise.
9250 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
9251 * sysdeps/x86/bits/string.h: Update #endif comments.
9252 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
9253 conditionals.
9254 * time/sys/time.h: Update #endif comments.
9255 * time/time.h: Likewise.
9256 [__USE_MISC]: Remove redundant conditionals.
9257
a5d82e4e
YG
92582014-02-21 Yury Gribov <y.gribov@samsung.com>
9259
9260 [BZ #16600]
9261 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
9262
9a80491d
AS
92632014-02-21 Andreas Schwab <schwab@linux-m68k.org>
9264
9265 * Versions.def (librt): Add GLIBC_2.17.
9266
105fa381
AC
92672014-02-21 Adam Conrad <adconrad@0c3.net>
9268
9269 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
9270 synonym for _SYS_AUXV_H to allow direct inclusion.
9271 * sysdeps/sparc/bits/hwcap.h: Likewise.
9272 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
9273 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
9274 * sysdeps/sparc/sysdep.h: Likewise.
9275
b8cd1c4e
SP
92762014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9277
9278 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
9279
bd939d23
RS
92802014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9281
9282 * benchtests/bench-strrchr.c: Print length instead of position.
9283
5d7b57ca
JM
92842014-02-20 Joseph Myers <joseph@codesourcery.com>
9285
bc688c10
JM
9286 [BZ #16611]
9287 * sysdeps/unix/sysv/linux/kernel-features.h
9288 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
9289 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
9290 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
9291 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
9292 Likewise.
9293 [__i386__ || __powerpc__ || __sh__ || __sparc__]
9294 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9295 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
9296 (__ASSUME_SENDMMSG): Define instead of using previous
9297 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
9298 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9299 (__ASSUME_SENDMMSG_SYSCALL): Define.
9300 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9301 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
9302 Likewise.
9303 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9304 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9305 Likewise.
9306 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9307 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9308 Likewise.
9309 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
9310 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9311 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9312 [__ASSUME_SENDMMSG]: Change conditionals to
9313 [__ASSUME_SENDMMSG_SOCKETCALL].
9314 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9315 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
9316 Define.
9317 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9318 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
9319 Likewise.
9320 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
9321 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9322 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9323 [!__ASSUME_SENDMMSG]: Change conditional to
9324 [!__ASSUME_SENDMMSG_SOCKETCALL].
9325 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9326 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9327 Define.
9328
0e31b18c
JM
9329 [BZ #16610]
9330 * sysdeps/unix/sysv/linux/kernel-features.h
9331 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
9332 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
9333 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
9334 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
9335 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9336 [__i386__ || __sparc__]
9337 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9338 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
9339 (__ASSUME_RECVMMSG): Define instead of using previous
9340 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
9341 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9342 (__ASSUME_RECVMMSG_SYSCALL): Define.
9343 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9344 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9345 Likewise.
9346 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9347 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9348 Likewise.
9349 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9350 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9351 Likewise.
9352 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
9353 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9354 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9355 [__ASSUME_RECVMMSG]: Change condition to
9356 [__ASSUME_RECVMMSG_SOCKETCALL].
9357 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9358 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9359 Define.
9360 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9361 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9362 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9363 Likewise.
9364 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
9365 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9366 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9367 [!__ASSUME_RECVMMSG]: Change condition to
9368 [!__ASSUME_RECVMMSG_SOCKETCALL].
9369 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9370 (__ASSUME_RECVMMSG_SYSCALL): Define.
9371
dd481ccf
JM
9372 [BZ #16609]
9373 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
9374 __powerpc__ || __s390__ || __sh__ || __sparc__]
9375 (__ASSUME_SOCKETCALL): Define.
9376 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
9377 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
9378 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
9379 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
9380 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9381 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
9382 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
9383 (__ASSUME_ACCEPT4): Define instead of using previous
9384 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
9385 __powerpc__ || __sparc__ || __s390__)] condition.
9386 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9387 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9388 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
9389 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9390 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9391 [!__ASSUME_ACCEPT4]: Change condition to
9392 [!__ASSUME_ACCEPT4_SOCKETCALL].
9393 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9394 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
9395 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
9396 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9397 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
9398 __ASSUME_ACCEPT4_SYSCALL.
9399 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
9400 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
9401 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9402 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
9403 __ASSUME_ACCEPT4_SYSCALL.
9404 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
9405 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9406 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9407 [__ASSUME_ACCEPT4]: Change condition to
9408 [__ASSUME_ACCEPT4_SOCKETCALL].
9409 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9410 (__ASSUME_SOCKETCALL): Define.
9411 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
9412 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9413 (__ASSUME_SOCKETCALL): Define.
9414 (__ASSUME_ACCEPT4): Remove.
9415 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
9416 Define.
9417 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9418 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
9419 Likewise.
9420 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9421 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9422
5d7b57ca
JM
9423 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
9424 macro.
9425 (HWCAP_ARM_LPAE): Likewise.
9426 (HWCAP_ARM_EVTSTRM): Likewise.
9427 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
9428 Add vpfd32, lpae and evtstrm.
9429 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
9430 Increase to 22.
9431
63689d61
JM
94322014-02-19 Joseph Myers <joseph@codesourcery.com>
9433
9434 * math/auto-libm-test-in: Add tests of clog10.
9435 * math/auto-libm-test-out: Regenerated.
9436 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
9437 * sysdeps/i386/fpu/libm-test-ulps: Update.
9438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9439
ab09bf61
AS
94402014-02-18 Andreas Schwab <schwab@suse.de>
9441
9442 [BZ #16574]
9443 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
9444 Store non-zero if the second buffer was newly allocated.
9445 (send_dg): Likewise.
9446 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
9447 to send_vc and send_dg.
9448 (res_nsend): Pass NULL for ansp2_malloced.
9449 * resolv/res_query.c (__libc_res_nquery): Add parameter
9450 answerp2_malloced and pass it down to __libc_res_nsend.
9451 (res_nquery): Pass additional NULL to __libc_res_nquery.
9452 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
9453 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
9454 second answer buffer if answerp2_malloced was set.
9455 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
9456 (__libc_res_nquerydomain): Add parameter
9457 answerp2_malloced and pass it down to __libc_res_nquery.
9458 (res_nquerydomain): Pass additional NULL to
9459 __libc_res_nquerydomain.
9460 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
9461 additional NULL to __libc_res_nsend and __libc_res_nquery.
9462 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
9463 additional NULL to __libc_res_nsearch.
9464 (_nss_dns_gethostbyname4_r): Revert last change. Use new
9465 parameter of __libc_res_nsearch to check for separately allocated
9466 second buffer.
9467 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
9468 __libc_res_nquery.
9469 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
9470 additional NULL to __libc_res_nquery.
9471 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
9472 __libc_res_nsearch.
9473 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
9474 * include/resolv.h: Update prototypes of __libc_res_nquery,
9475 __libc_res_nsearch, __libc_res_nsend.
9476
a4fb7861
JM
94772014-02-18 Joseph Myers <joseph@codesourcery.com>
9478
c6af2d89
JM
9479 * math/auto-libm-test-in: Add tests of fma.
9480 * math/auto-libm-test-out: Regenerated.
9481 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
9482 (fma_towardzero_test_data): Likewise.
9483 (fma_downward_test_data): Likewise.
9484 (fma_upward_test_data): Likewise.
9485 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
9486 mpc_mode.
9487 (rounding_modes): Add values for new field.
9488 (func_calc_method): Add value mpfr_fff_f.
9489 (func_calc_desc): Add mpfr_fff_f union field.
9490 (test_function): Add field exact_args.
9491 (FUNC): Add macro argument EXACT_ARGS.
9492 (FUNC_mpfr_f_f): Update call to FUNC.
9493 (FUNC_mpfr_f_f): Likewise.
9494 (FUNC_mpfr_ff_f): Likewise.
9495 (FUNC_mpfr_if_f): Likewise.
9496 (FUNC_mpc_c_f): Likewise.
9497 (FUNC_mpc_c_c): Likewise.
9498 (test_functions): Add fma. Update calls to FUNC.
9499 (handle_input_arg): Add argument exact_args.
9500 (add_test): Update call to handle_input_arg.
9501 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
9502 (output_for_one_input_case): Update call to calc_generic_results.
9503 Recalculate exact zero results in each rounding mode.
9504
a4fb7861
JM
9505 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
9506 non-negative before setting low bit.
9507 * math/auto-libm-test-in: Mark one asin test possibly having
9508 spurious underflow.
9509 * math/auto-libm-test-out: Regenerated.
9510 * sysdeps/i386/fpu/libm-test-ulps: Update.
9511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9512
ef114eaf
DH
95132014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
9514
2b7f4f2c
SP
9515 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
9516 * sysdeps/unix/sysv/linux/microblaze: Move directory from
9517 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
9518 * README: Add missing listing for microblaze*-*-linux-gnu.
9519
c70a4b1d
MF
95202014-02-16 Mike Frysinger <vapier@gentoo.org>
9521
9522 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
9523 * sysdeps/unix/sysv/linux/ia64: Move directory from
9524 ports/sysdeps/unix/sysv/linux/ia64.
9525 * README: Update listing for ia64-*-linux-gnu.
9526
591aeaf7
TD
95272014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
9528 Joseph Myers <joseph@codesourcery.com>
9529
9530 * Makeconfig (test-name): New variable.
9531 (evaluate-test): Likewise.
9532 * Makerules (do-test-clean): Remove .test-result files.
9533 (common-mostlyclean): Likewise.
9534 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
9535 * scripts/evaluate-test.sh: New file.
9536
6e89caf1
JM
95372014-02-14 Joseph Myers <joseph@codesourcery.com>
9538
7f98f180
JM
9539 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
9540 separate $(objpfx)tst-fopenloc-cmp.out and
9541 $(objpfx)tst-fopenloc-mem.out targets.
9542 (tests): Update dependencies.
9543 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
9544 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
9545 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
9546 (tst-rxspencer-no-utf8-ARGS): New variable.
9547 (tst-rxspencer-no-utf8-ENV): Likewise.
9548 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
9549 instead of $(objpfx)tst-rxspencer-mem.
9550 ($(objpfx)tst-rxspencer-mem): Change target to
9551 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
9552 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
9553 * posix/tst-rxspencer-no-utf8.c: New file.
9554
6e89caf1
JM
9555 * elf/Makefile ($(objpfx)order.out): Remove rule.
9556 [$(run-built-tests) = yes] (tests): Depend on
9557 $(objpfx)order-cmp.out.
9558 ($(objpfx)order-cmp.out): New rule.
9559 [$(run-built-tests) = yes] (tests): Depend on
9560 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
9561 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
9562 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
9563 $(objpfx)tst-array5-static-cmp.out.
9564 ($(objpfx)tst-array1.out): Remove rule.
9565 ($(objpfx)tst-array1-cmp.out): New rule.
9566 ($(objpfx)tst-array1-static.out): Remove rule.
9567 ($(objpfx)tst-array1-static-cmp.out): New rule.
9568 ($(objpfx)tst-array2.out): Remove rule.
9569 ($(objpfx)tst-array2-cmp.out): New rule.
9570 ($(objpfx)tst-array3.out): Remove rule.
9571 ($(objpfx)tst-array3-cmp.out): New rule.
9572 ($(objpfx)tst-array4.out): Remove rule.
9573 ($(objpfx)tst-array4-cmp.out): New rule.
9574 ($(objpfx)tst-array5.out): Remove rule.
9575 ($(objpfx)tst-array5-cmp.out): New rule.
9576 ($(objpfx)tst-array5-static.out): Remove rule.
9577 ($(objpfx)tst-array5-static-cmp.out): New rule.
9578 [$(run-built-tests) = yes] (tests): Depend on
9579 $(objpfx)order2-cmp.out.
9580 ($(objpfx)order2.out): Remove rule.
9581 ($(objpfx)order2-cmp.out): New rule.
9582 ($(objpfx)tst-initorder.out): Remove rule.
9583 [$(run-built-tests) = yes] (tests): Depend on
9584 $(objpfx)tst-initorder-cmp.out.
9585 ($(objpfx)tst-initorder-cmp.out): New rule.
9586 ($(objpfx)tst-initorder2.out): Remove rule.
9587 [$(run-built-tests) = yes] (tests): Depend on
9588 $(objpfx)tst-initorder2-cmp.out.
9589 ($(objpfx)tst-initorder2-cmp.out): New rule.
9590 [$(run-built-tests) = yes] (tests): Depend on
9591 $(objpfx)tst-unused-dep-cmp.out.
9592 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
9593 ($(objpfx)tst-unused-dep-cmp.out): New rule.
9594 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
9595 on $(objpfx)tst-setvbuf1-cmp.out.
9596 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
9597 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
9598 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
9599 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
9600 ($(objpfx)tst-svc.out): Remove rule.
9601 ($(objpfx)tst-svc-cmp.out): New rule.
9602
ed9a38e2
JM
96032014-02-13 Joseph Myers <joseph@codesourcery.com>
9604
9605 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
9606 * ctype/ctype.h [__USE_MISC]: Likewise.
9607 * dirent/dirent.h [__USE_MISC]: Likewise.
9608 * grp/grp.h [__USE_MISC]: Likewise.
9609 * io/fcntl.h [__USE_MISC]: Likewise.
9610 * io/sys/stat.h [__USE_MISC]: Likewise.
9611 * libio/stdio.h [__USE_MISC]: Likewise.
9612 * posix/unistd.h [__USE_MISC]: Likewise.
9613 * pwd/pwd.h [__USE_MISC]: Likewise.
9614 * stdlib.h [__USE_MISC]: Likewise.
9615 * string/bits/string2.h [__USE_MISC]: Likewise.
9616 * string/string.h [__USE_MISC]: Likewise.
9617 * time/time.h [__USE_MISC]: Likewise.
9618
d6680619
AS
96192014-02-13 Andreas Schwab <schwab@suse.de>
9620
9621 [BZ #16574]
9622 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
9623 second answer buffer if it was separately allocated.
9624
ace614b8
JM
96252014-02-12 Joseph Myers <joseph@codesourcery.com>
9626
743151ae
JM
9627 * sysdeps/mips/math-tests.h: Include <features.h>.
9628 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9629 (ROUNDING_TESTS_long_double): Do not define.
9630 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9631 (EXCEPTION_TESTS_long_double): Likewise.
9632 * sysdeps/mips/mips64/libm-test-ulps: Update.
9633
498afc54
JM
9634 * include/features.h (__USE_BSD): Remove macro definitions.
9635 (__USE_SVID): Likewise.
9636 (_BSD_SOURCE): Likewise.
9637 (_SVID_SOURCE): Likewise.
9638 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
9639 from definition of _DEFAULT_SOURCE.
9640 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
9641 [_DEFAULT_SOURCE].
9642 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
9643 * bits/mman.h [__USE_BSD]: Likewise.
9644 * bits/termios.h [__USE_BSD]: Likewise.
9645 * bits/waitstatus.h [__USE_BSD]: Likewise.
9646 * ctype/ctype.h [__USE_SVID]: Likewise.
9647 * dirent/dirent.h [__USE_BSD]: Likewise.
9648 * grp/grp.h [__USE_SVID]: Likewise.
9649 [__USE_BSD]: Likewise.
9650 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
9651 * io/fcntl.h [__USE_BSD]: Likewise.
9652 * io/ftw.h [__USE_BSD]: Likewise.
9653 * io/sys/stat.h [__USE_BSD]: Likewise.
9654 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
9655 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
9656 * libio/stdio.h [__USE_SVID]: Likewise.
9657 [__USE_BSD]: Likewise.
9658 * math/math.h [__USE_SVID]: Likewise.
9659 [__USE_BSD]: Likewise.
9660 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
9661 * misc/bits/syslog.h [__USE_BSD]: Likewise.
9662 * misc/search.h [__USE_SVID]: Likewise.
9663 * misc/sys/mman.h [__USE_BSD]: Likewise.
9664 * misc/sys/syslog.h [__USE_BSD]: Likewise.
9665 * misc/sys/uio.h [__USE_BSD]: Likewise.
9666 * posix/bits/unistd.h [__USE_BSD]: Likewise.
9667 * posix/glob.h [__USE_BSD]: Likewise.
9668 * posix/regex.h [__USE_BSD]: Likewise.
9669 * posix/sys/types.h [__USE_BSD]: Likewise.
9670 [__USE_SVID]: Likewise.
9671 * posix/sys/utsname.h [__USE_SVID]: Likewise.
9672 * posix/sys/wait.h [__USE_BSD]: Likewise.
9673 [__USE_SVID]: Likewise.
9674 * posix/unistd.h [__USE_BSD]: Likewise.
9675 [__USE_SVID]: Likewise.
9676 * pwd/pwd.h [__USE_SVID]: Likewise.
9677 * resolv/netdb.h [__USE_BSD]: Likewise.
9678 * setjmp/setjmp.h [__USE_BSD]: Likewise.
9679 * signal/signal.h [__USE_BSD]: Likewise.
9680 [__USE_SVID]: Likewise.
9681 * socket/sys/socket.h [__USE_BSD]: Likewise.
9682 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
9683 * stdlib/stdlib.h [__USE_BSD]: Likewise.
9684 [__USE_SVID]: Likewise.
9685 * string/bits/string2.h [__USE_BSD]: Likewise.
9686 [__USE_SVID]: Likewise.
9687 * string/bits/string3.h [__USE_BSD]: Likewise.
9688 * string/endian.h [__USE_BSD]: Likewise.
9689 * string/string.h [__USE_SVID]: Likewise.
9690 [__USE_BSD]: Likewise.
9691 * string/strings.h [__USE_BSD]: Likewise.
9692 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
9693 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
9694 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
9695 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
9696 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
9697 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
9698 Likewise.
9699 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
9700 Likewise.
9701 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
9702 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
9703 Likewise.
9704 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
9705 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
9706 Likewise.
9707 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
9708 Likewise.
9709 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
9710 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
9711 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
9712 Likewise.
9713 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
9714 Likewise.
9715 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
9716 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
9717 * termios/termios.h [__USE_BSD]: Likewise.
9718 * time/sys/time.h [__USE_BSD]: Likewise.
9719 * time/time.h [__USE_BSD]: Likewise.
9720 [__USE_SVID]: Likewise.
9721
dd7b064c
JM
9722 * Makefile (subdir_targets): Remove subdir_lint.out.
9723
a2c4c199
JM
9724 * stdio-common/Makefile (do-tst-unbputc): Remove target.
9725 (do-tst-printf): Likewise.
9726 (tests): Depend directly on $(objpfx)tst-unbputc.out and
9727 $(objpfx)tst-printf.out.
9728
8756f740
JM
9729 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
9730
1b6dd3f1
JM
9731 * Makerules (check-abi-%): Change target to
9732 $(objpfx)check-abi-%.out.
9733 (check-abi target): Update dependencies.
9734 (check-abi-pattern variable): Redirect output of diff to $@.
9735 (check-abi variable): Likewise.
9736 * elf/Makefile (check-abi): Update dependencies.
9737
ace614b8
JM
9738 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
9739 unused.
9740 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
9741 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
9742 subnormal range.
9743 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
9744 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
9745 value has largest subnormal exponent.
9746 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
9747 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
9748 * sysdeps/aarch64/soft-fp/sfp-machine.h
9749 (_FP_TININESS_AFTER_ROUNDING): New macro.
9750 * sysdeps/alpha/soft-fp/sfp-machine.h
9751 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9752 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9753 Likewise.
9754 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
9755 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9756 * sysdeps/mips/soft-fp/sfp-machine.h
9757 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9758 * sysdeps/powerpc/soft-fp/sfp-machine.h
9759 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9760 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9761 Likewise.
9762 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9763 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9764 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9765 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9766 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9767 Likewise.
9768
fbfdf9cb
DAS
97692014-02-12 Dylan Alex Simon <dylan@dylex.net>
9770
9771 [BZ #16545]
9772 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
9773 model 1.
9774
68b7efaa
RH
97752014-02-12 Richard Henderson <rth@redhat.com>
9776
c70a4b1d 9777 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
9778 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
9779 * sysdeps/unix/sysv/linux/alpha: Move directory from
9780 ports/sysdeps/unix/sysv/linux/alpha.
9781 * README: Update listing for alpha-*-linux-gnu.
9782
cb4a2928
JM
97832014-02-11 Joseph Myers <joseph@codesourcery.com>
9784
c941736c
JM
9785 * include/features.h: Update comment documenting feature test
9786 macros.
9787 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
9788 _DEFAULT_SOURCE.
9789 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
9790 (_SVID_SOURCE): Likewise.
9791 (_DEFAULT_SOURCE): Update description of default features.
9792 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
9793 with _GNU_SOURCE.
9794 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
9795 (S_ISVTX): Likewise.
9796 * manual/math.texi (Mathematical Constants): Likewise.
9797 * manual/signal.texi (Interrupted Primitives): Likewise.
9798 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
9799 * math/test-matherr.c (_SVID_SOURCE): Do not define.
9800 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
9801 Don't refer to _SVID_SOURCE in warning text.
9802
e8d8d7ec
JM
9803 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9804
cb4a2928
JM
9805 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
9806 already defined.
9807 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
9808 * sysdeps/mips/dl-lookup.c: Remove.
9809 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
9810
7e6424e3
AK
98112014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9812
9813 [BZ #16447]
9814 * math/auto-libm-test-in: Add testcase for expl.
9815 * math/auto-libm-test-out: Regenerate.
9816 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
9817 calculation of unsafe.
9818 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
9819
75eff3fe
MS
98202014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
9821
9822 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
9823 * sysdeps/unix/sysv/linux/aarch64: Move directory from
9824 ports/sysdeps/unix/sysv/linux/aarch64.
9825 * README: Update listing for aarch64*-*-linux-gnu.
9826
d35f1e80
WN
98272014-02-11 Will Newton <will.newton@linaro.org>
9828
9829 * manual/probes.texi (Mathematical Function Probes): Use
9830 "triggered" instead of "hit".
9831
7b3436d4
WN
9832 * manual/probes.texi (Internal Probes): Add documentation
9833 of setjmp, longjmp and longjmp_target probes.
9834
b4f12ca3
WN
9835 * include/stap-probe.h: Add comment about probe argument
9836 format.
9837
c13a72b7
WN
9838 * malloc/mtrace.c (attribute_hidden): Remove unused macro
9839 definition. (tr_where, tr_freehook, tr_mallochook,
9840 tr_reallochook, tr_memalignhook): Use ANSI protoype.
9841
195b8165
DM
98422014-02-11 David S. Miller <davem@davemloft.net>
9843
9844 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
9845 processing int_tests.
9846
2ad7600b
JM
98472014-02-10 Joseph Myers <joseph@codesourcery.com>
9848
9849 * sysdeps/mips: Move directory from ports/sysdeps/mips.
9850 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
9851 * sysdeps/unix/sysv/linux/mips: Move directory from
9852 ports/sysdeps/unix/sysv/linux/mips.
9853 * README: Update listing for mips-*-linux-gnu and
9854 mips64-*-linux-gnu.
9855
73588a72
AS
98562014-02-10 Andreas Schwab <schwab@linux-m68k.org>
9857
9858 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
9859 * sysdeps/unix/sysv/linux/m68k: Move directory from
9860 ports/sysdeps/unix/sysv/linux/m68k.
9861 * README: Update listing for m68k-*-linux-gnu.
9862
4372980f
CM
98632014-02-10 Chris Metcalf <cmetcalf@tilera.com>
9864
9865 * sysdeps/tile: Move directory from ports/sysdeps/tile.
9866 * sysdeps/unix/sysv/linux/generic: Move directory from
9867 ports/sysdeps/unix/sysv/linux/generic.
9868 * sysdeps/unix/sysv/linux/tile: Move directory from
9869 ports/sysdeps/unix/sysv/linux/tile.
9870 * README: Update listing for tile*-*-linux-gnu.
9871
a1ffb40e
OB
98722014-02-10 Ondřej Bílka <neleai@seznam.cz>
9873
57f41c40
AS
9874 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
9875 __builtin_expect.
a1ffb40e
OB
9876 * benchtests/bench-memmem.c (simple_memmem): Likewise.
9877 * catgets/open_catalog.c (__open_catalog): Likewise.
9878 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
9879 * debug/confstr_chk.c: Likewise.
9880 * debug/fread_chk.c (__fread_chk): Likewise.
9881 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
9882 * debug/getgroups_chk.c: Likewise.
9883 * debug/mbsnrtowcs_chk.c: Likewise.
9884 * debug/mbsrtowcs_chk.c: Likewise.
9885 * debug/mbstowcs_chk.c: Likewise.
9886 * debug/memcpy_chk.c: Likewise.
9887 * debug/memmove_chk.c: Likewise.
9888 * debug/mempcpy_chk.c: Likewise.
9889 * debug/memset_chk.c: Likewise.
9890 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9891 * debug/strcat_chk.c (__strcat_chk): Likewise.
9892 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
9893 * debug/strncat_chk.c (__strncat_chk): Likewise.
9894 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
9895 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
9896 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
9897 * debug/wcpncpy_chk.c: Likewise.
9898 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9899 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
9900 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
9901 * debug/wcsncpy_chk.c: Likewise.
9902 * debug/wcsnrtombs_chk.c: Likewise.
9903 * debug/wcsrtombs_chk.c: Likewise.
9904 * debug/wcstombs_chk.c: Likewise.
9905 * debug/wmemcpy_chk.c: Likewise.
9906 * debug/wmemmove_chk.c: Likewise.
9907 * debug/wmempcpy_chk.c: Likewise.
9908 * debug/wmemset_chk.c: Likewise.
9909 * dirent/scandirat.c (SCANDIRAT): Likewise.
9910 * dlfcn/dladdr1.c (dladdr1): Likewise.
9911 * dlfcn/dladdr.c (dladdr): Likewise.
9912 * dlfcn/dlclose.c (dlclose_doit): Likewise.
9913 * dlfcn/dlerror.c (__dlerror): Likewise.
9914 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
9915 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
9916 * dlfcn/dlopen.c (dlopen_doit): Likewise.
9917 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
9918 * dlfcn/dlsym.c (dlsym_doit): Likewise.
9919 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
9920 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
9921 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
9922 Likewise.
9923 * elf/dl-conflict.c: Likewise.
9924 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
9925 * elf/dl-dst.h: Likewise.
9926 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
9927 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
9928 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
9929 * elf/dl-init.c (call_init, _dl_init): Likewise.
9930 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
9931 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
9932 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
9933 Likewise.
a1ffb40e
OB
9934 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
9935 Likewise.
9936 * elf/dl-minimal.c (__libc_memalign): Likewise.
9937 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
9938 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9939 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
9940 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
9941 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
9942 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
9943 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
9944 * elf/dl-writev.h (_dl_writev): Likewise.
9945 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
9946 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
9947 (dl_main): Likewise.
a1ffb40e
OB
9948 * elf/setup-vdso.h (setup_vdso): Likewise.
9949 * grp/compat-initgroups.c (compat_call): Likewise.
9950 * grp/fgetgrent.c (fgetgrent): Likewise.
9951 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
9952 * grp/putgrent.c (putgrent): Likewise.
9953 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9954 Likewise.
9955 * hurd/hurdinit.c: Likewise.
9956 * iconvdata/8bit-gap.c (struct): Likewise.
9957 * iconvdata/ansi_x3.110.c : Likewise.
9958 * iconvdata/big5.c : Likewise.
9959 * iconvdata/big5hkscs.c : Likewise.
9960 * iconvdata/cp1255.c: Likewise.
9961 * iconvdata/cp1258.c : Likewise.
9962 * iconvdata/cp932.c : Likewise.
9963 * iconvdata/euc-cn.c: Likewise.
9964 * iconvdata/euc-jisx0213.c : Likewise.
9965 * iconvdata/euc-jp.c: Likewise.
9966 * iconvdata/euc-jp-ms.c : Likewise.
9967 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
9968 * iconvdata/gb18030.c : Likewise.
9969 * iconvdata/gbbig5.c (const): Likewise.
9970 * iconvdata/gbgbk.c: Likewise.
9971 * iconvdata/gbk.c : Likewise.
9972 * iconvdata/ibm1364.c : Likewise.
9973 * iconvdata/ibm930.c : Likewise.
9974 * iconvdata/ibm932.c: Likewise.
9975 * iconvdata/ibm933.c : Likewise.
9976 * iconvdata/ibm935.c : Likewise.
9977 * iconvdata/ibm937.c : Likewise.
9978 * iconvdata/ibm939.c : Likewise.
9979 * iconvdata/ibm943.c: Likewise.
9980 * iconvdata/iso_11548-1.c: Likewise.
9981 * iconvdata/iso-2022-cn.c : Likewise.
9982 * iconvdata/iso-2022-cn-ext.c : Likewise.
9983 * iconvdata/iso-2022-jp-3.c: Likewise.
9984 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
9985 * iconvdata/iso-2022-kr.c : Likewise.
9986 * iconvdata/iso646.c (gconv_end): Likewise.
9987 * iconvdata/iso_6937-2.c : Likewise.
9988 * iconvdata/iso_6937.c : Likewise.
9989 * iconvdata/iso8859-1.c: Likewise.
9990 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
9991 * iconvdata/shift_jisx0213.c : Likewise.
9992 * iconvdata/sjis.c : Likewise.
9993 * iconvdata/t.61.c : Likewise.
9994 * iconvdata/tcvn5712-1.c : Likewise.
9995 * iconvdata/tscii.c: Likewise.
9996 * iconvdata/uhc.c : Likewise.
9997 * iconvdata/unicode.c (gconv_end): Likewise.
9998 * iconvdata/utf-16.c (gconv_end): Likewise.
9999 * iconvdata/utf-32.c (gconv_end): Likewise.
10000 * iconvdata/utf-7.c (base64): Likewise.
10001 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
10002 * iconv/gconv_close.c (__gconv_close): Likewise.
10003 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
10004 * iconv/gconv_simple.c (internal_ucs4_loop_single)
10005 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
10006 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
10007 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
10008 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
10009 * iconv/iconv.c (iconv): Likewise.
10010 * iconv/iconv_close.c: Likewise.
10011 * iconv/loop.c (SINGLE): Likewise.
10012 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
10013 * include/atomic.h: Likewise.
10014 * inet/inet6_option.c (option_alloc): Likewise.
10015 * intl/bindtextdom.c (set_binding_values): Likewise.
10016 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
10017 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
10018 * intl/localealias.c (read_alias_file): Likewise.
10019 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
10020 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
10021 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
10022 * libio/fmemopen.c (fmemopen): Likewise.
10023 * libio/iofgets.c (_IO_fgets): Likewise.
10024 * libio/iofgets_u.c (fgets_unlocked): Likewise.
10025 * libio/iofgetws.c (fgetws): Likewise.
10026 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
10027 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
10028 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
10029 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
10030 * locale/findlocale.c (_nl_find_locale): Likewise.
10031 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
10032 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
10033 Likewise.
10034 * locale/setlocale.c (setlocale): Likewise.
10035 * login/programs/pt_chown.c (main): Likewise.
10036 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
10037 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
10038 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
10039 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
10040 * math/e_exp2l.c: Likewise.
10041 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
10042 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
10043 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
10044 * math/s_catan.c (__catan): Likewise.
10045 * math/s_catanf.c (__catanf): Likewise.
10046 * math/s_catanh.c (__catanh): Likewise.
10047 * math/s_catanhf.c (__catanhf): Likewise.
10048 * math/s_catanhl.c (__catanhl): Likewise.
10049 * math/s_catanl.c (__catanl): Likewise.
10050 * math/s_ccosh.c (__ccosh): Likewise.
10051 * math/s_ccoshf.c (__ccoshf): Likewise.
10052 * math/s_ccoshl.c (__ccoshl): Likewise.
10053 * math/s_cexp.c (__cexp): Likewise.
10054 * math/s_cexpf.c (__cexpf): Likewise.
10055 * math/s_cexpl.c (__cexpl): Likewise.
10056 * math/s_clog10.c (__clog10): Likewise.
10057 * math/s_clog10f.c (__clog10f): Likewise.
10058 * math/s_clog10l.c (__clog10l): Likewise.
10059 * math/s_clog.c (__clog): Likewise.
10060 * math/s_clogf.c (__clogf): Likewise.
10061 * math/s_clogl.c (__clogl): Likewise.
10062 * math/s_csin.c (__csin): Likewise.
10063 * math/s_csinf.c (__csinf): Likewise.
10064 * math/s_csinh.c (__csinh): Likewise.
10065 * math/s_csinhf.c (__csinhf): Likewise.
10066 * math/s_csinhl.c (__csinhl): Likewise.
10067 * math/s_csinl.c (__csinl): Likewise.
10068 * math/s_csqrt.c (__csqrt): Likewise.
10069 * math/s_csqrtf.c (__csqrtf): Likewise.
10070 * math/s_csqrtl.c (__csqrtl): Likewise.
10071 * math/s_ctan.c (__ctan): Likewise.
10072 * math/s_ctanf.c (__ctanf): Likewise.
10073 * math/s_ctanh.c (__ctanh): Likewise.
10074 * math/s_ctanhf.c (__ctanhf): Likewise.
10075 * math/s_ctanhl.c (__ctanhl): Likewise.
10076 * math/s_ctanl.c (__ctanl): Likewise.
10077 * math/w_pow.c: Likewise.
10078 * math/w_powf.c: Likewise.
10079 * math/w_powl.c: Likewise.
10080 * math/w_scalb.c (sysv_scalb): Likewise.
10081 * math/w_scalbf.c (sysv_scalbf): Likewise.
10082 * math/w_scalbl.c (sysv_scalbl): Likewise.
10083 * misc/error.c (error_tail): Likewise.
10084 * misc/pselect.c (__pselect): Likewise.
10085 * nis/nis_callback.c (__nis_create_callback): Likewise.
10086 * nis/nis_call.c (__nisfind_server): Likewise.
10087 * nis/nis_creategroup.c (nis_creategroup): Likewise.
10088 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
10089 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
10090 * nis/nis_getservlist.c (nis_getservlist): Likewise.
10091 * nis/nis_lookup.c (nis_lookup): Likewise.
10092 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
10093 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
10094 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 10095 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
10096 * nis/nss_compat/compat-grp.c (getgrent_next_file)
10097 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
10098 * nis/nss_compat/compat-initgroups.c (add_group)
10099 (internal_getgrent_r): Likewise.
10100 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
10101 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
10102 * nis/nss_compat/compat-spwd.c (getspent_next_file)
10103 (internal_getspnam_r): Likewise.
10104 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
10105 (_nss_nis_getaliasbyname_r): Likewise.
10106 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
10107 (_nss_nis_getntohost_r): Likewise.
10108 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
10109 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
10110 (_nss_nis_getgrgid_r): Likewise.
10111 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
10112 (internal_nis_gethostent_r, internal_gethostbyname2_r)
10113 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
10114 (_nss_nis_gethostbyname4_r): Likewise.
10115 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
10116 (initgroups_netid): Likewise.
a1ffb40e 10117 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
10118 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
10119 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
10120 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
10121 (_nss_nis_getprotobynumber_r): Likewise.
10122 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
10123 (_nss_nis_getsecretkey): Likewise.
10124 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
10125 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
10126 (_nss_nis_getpwuid_r): Likewise.
10127 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
10128 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
10129 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
10130 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
10131 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
10132 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
10133 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
10134 Likewise.
57f41c40
AS
10135 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
10136 (_nss_nisplus_getntohost_r): Likewise.
10137 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
10138 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
10139 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
10140 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 10141 Likewise.
57f41c40
AS
10142 * nis/nss_nisplus/nisplus-initgroups.c
10143 (_nss_nisplus_initgroups_dyn): Likewise.
10144 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
10145 (_nss_nisplus_getnetbyaddr_r): Likewise.
10146 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
10147 (_nss_nisplus_getprotobynumber_r): Likewise.
10148 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
10149 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
10150 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
10151 Likewise.
57f41c40
AS
10152 * nis/nss_nisplus/nisplus-service.c
10153 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
10154 (_nss_nisplus_getservbyport_r): Likewise.
10155 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
10156 (_nss_nisplus_getspnam_r): Likewise.
10157 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
10158 Likewise.
a1ffb40e
OB
10159 * nscd/aicache.c (addhstaiX): Likewise.
10160 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
10161 * nscd/connections.c (register_traced_file, send_ro_fd)
10162 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
10163 (main_loop_epoll): Likewise.
a1ffb40e
OB
10164 * nscd/grpcache.c (addgrbyX): Likewise.
10165 * nscd/hstcache.c (addhstbyX): Likewise.
10166 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10167 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
10168 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
10169 (addinnetgrX): Likewise.
10170 * nscd/nscd-client.h (__nscd_acquire_maplock)
10171 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
10172 * nscd/nscd_getai.c (__nscd_getai): Likewise.
10173 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10174 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
10175 Likewise.
10176 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
10177 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
10178 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
10179 (__nscd_get_map_ref): Likewise.
a1ffb40e 10180 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
10181 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
10182 Likewise.
a1ffb40e
OB
10183 * nscd/pwdcache.c (addpwbyX): Likewise.
10184 * nscd/selinux.c (preserve_capabilities): Likewise.
10185 * nscd/servicescache.c (addservbyX): Likewise.
10186 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
10187 * posix/fnmatch.c (fnmatch): Likewise.
10188 * posix/getopt.c (_getopt_internal_r): Likewise.
10189 * posix/glob.c (glob, glob_in_dir): Likewise.
10190 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
10191 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
10192 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
10193 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
10194 * resolv/res_init.c: Likewise.
10195 * resolv/res_mkquery.c (res_nmkquery): Likewise.
10196 * resolv/res_query.c (__libc_res_nquery): Likewise.
10197 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
10198 Likewise.
10199 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
10200 * stdio-common/perror.c (perror): Likewise.
10201 * stdio-common/printf_fp.c (___printf_fp): Likewise.
10202 * stdio-common/tmpnam.c (tmpnam): Likewise.
10203 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10204 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
10205 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10206 Likewise.
a1ffb40e
OB
10207 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10208 * stdlib/putenv.c (putenv): Likewise.
10209 * stdlib/setenv.c (__add_to_environ): Likewise.
10210 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10211 * stdlib/strtol_l.c (INTERNAL): Likewise.
10212 * string/memmem.c (memmem): Likewise.
10213 * string/strerror.c (strerror): Likewise.
10214 * string/strnlen.c (__strnlen): Likewise.
10215 * string/test-memmem.c (simple_memmem): Likewise.
10216 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
10217 * sunrpc/pm_getport.c (__get_socket): Likewise.
10218 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
10219 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
10220 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
10221 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
10222 Likewise.
10223 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10224 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10225 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
10226 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
10227 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
10228 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
10229 Likewise.
10230 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
10231 Likewise.
a1ffb40e
OB
10232 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10233 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10234 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10235 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10236 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10237 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
10238 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10239 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
10240 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
10241 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10242 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10243 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
10244 Likewise.
10245 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
10246 Likewise.
10247 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
10248 Likewise.
10249 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
10250 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10251 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
10252 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
10253 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10254 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
10255 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10256 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
10257 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
10258 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
10259 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
10260 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10261 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10262 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
10263 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
10264 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10265 Likewise.
a1ffb40e
OB
10266 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
10267 Likewise.
10268 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
10269 Likewise.
10270 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
10271 Likewise.
10272 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10273 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10274 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
10275 Likewise.
10276 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
10277 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
10278 * sysdeps/posix/opendir.c (__opendirat): Likewise.
10279 * sysdeps/posix/sleep.c: Likewise.
10280 * sysdeps/posix/tempname.c: Likewise.
10281 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
10282 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10283 Likewise.
57f41c40
AS
10284 * sysdeps/powerpc/powerpc32/dl-machine.h
10285 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
10286 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10287 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10288 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
10289 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
10290 Likewise.
10291 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
10292 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
10293 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10294 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
10295 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
10296 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
10297 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
10298 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
10299 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10300 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
10301 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
10302 (elf_machine_lazy_rel): Likewise.
a1ffb40e 10303 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
10304 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
10305 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
10306 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
10307 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
10308 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
10309 * sysdeps/unix/grantpt.c (grantpt): Likewise.
10310 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
10311 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
10312 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
10313 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10314 Likewise.
10315 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10316 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10317 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
10318 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
10319 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10320 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10321 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
10322 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
10323 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
10324 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10325 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10326 Likewise.
10327 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
10328 (__posix_fallocate64_l64): Likewise.
10329 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
10330 (posix_fallocate): Likewise.
57f41c40
AS
10331 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
10332 Likewise.
a1ffb40e 10333 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
10334 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
10335 (getifaddrs_internal): Likewise.
a1ffb40e
OB
10336 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
10337 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
10338 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10339 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10340 * sysdeps/unix/sysv/linux/posix_fallocate64.c
10341 (__posix_fallocate64_l64): Likewise.
10342 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
10343 Likewise.
10344 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
10345 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
10346 (__get_clockfreq): Likewise.
a1ffb40e
OB
10347 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
10348 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
10349 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
10350 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10351 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10352 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
10353 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
10354 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
10355 Likewise.
10356 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
10357 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
10358 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
10359 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
10360 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10361 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
10362 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
10363 Likewise.
10364 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10365 (posix_fallocate): Likewise.
10366 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10367 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10368 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
10369 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
10370 (elf_machine_rela, elf_machine_rela_relative)
10371 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
10372 * time/asctime.c (asctime_internal): Likewise.
10373 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
10374 * time/tzset.c (__tzset_parse_tz): Likewise.
10375 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10376 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10377 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
10378 * wcsmbs/wcsmbsload.h: Likewise.
10379
f3d338c9
OB
10380 [BZ #15894]
10381 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
10382
57f41c40
AS
10383 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
10384 (arena_get2): Remove THREAD_STATS conditionals.
10385 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
10386 (__malloc_stats, int): Likewise.
bdfe308a 10387
d674667c
MF
103882014-02-08 Mike Frysinger <vapier@gentoo.org>
10389
10390 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
10391 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
10392
6349768c
MF
10393 * manual/setjmp.texi: Fix typos/grammar errors.
10394
0b7c7473
MF
10395 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
10396 Only return early when n is <= 0. Delete unused return statement.
10397
ac8cc9e3
MF
10398 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
10399 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
10400 * debug/tst-longjmp_chk3.c: New file.
10401
c5bb8e23
MF
10402 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
10403 (test_main): Replace code with set_fortify_handler call.
10404 * debug/test-strcpy_chk.c: Likewise.
10405 * debug/tst-chk1.c: Likewise.
10406 * debug/tst-longjmp_chk.c: Likewise.
10407 * test-skeleton.c: Include fcntl.h & paths.h
10408 (set_fortify_handler): Define.
10409
10444e42
MF
10410 * debug/tst-longjmp_chk.c: Add header comment and include
10411 ../test-skeleton.c.
10412 (do_test): Mark static.
10413 (TEST_FUNCTION): Define.
10414
1e805e8d
MF
10415 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
10416 (IP_PMTUDISC_INTERFACE): Likewise.
10417 (IP_MULTICAST_IF): Likewise.
10418 (IP_MULTICAST_TTL): Likewise.
10419 (IP_MULTICAST_LOOP): Likewise.
10420 (IP_ADD_MEMBERSHIP): Likewise.
10421 (IP_DROP_MEMBERSHIP): Likewise.
10422 (IP_UNBLOCK_SOURCE): Likewise.
10423 (IP_BLOCK_SOURCE): Likewise.
10424 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
10425 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
10426 (IP_MSFILTER): Likewise.
10427 (MCAST_JOIN_GROUP): Likewise.
10428 (MCAST_BLOCK_SOURCE): Likewise.
10429 (MCAST_UNBLOCK_SOURCE): Likewise.
10430 (MCAST_LEAVE_GROUP): Likewise.
10431 (MCAST_JOIN_SOURCE_GROUP): Likewise.
10432 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
10433 (MCAST_MSFILTER): Likewise.
10434 (IP_MULTICAST_ALL): Likewise.
10435 (IP_UNICAST_IF): Likewise.
10436
73f79bb7
MF
10437 * timezone/Makefile: Delete $(have-ksh) check.
10438 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
10439 * timezone/tzselect.ksh: Add +x mode bits.
10440
8da79b60
MF
10441 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
10442 (ANON_INODE_FS_MAGIC): Likewise.
10443 (BDEVFS_MAGIC): Likewise.
10444 (BINFMTFS_MAGIC): Likewise.
10445 (BTRFS_TEST_MAGIC): Likewise.
10446 (CRAMFS_MAGIC_WEND): Likewise.
10447 (DEBUGFS_MAGIC): Likewise.
10448 (ECRYPTFS_SUPER_MAGIC): Likewise.
10449 (EXT3_SUPER_MAGIC): Likewise.
10450 (EXT4_SUPER_MAGIC): Likewise.
10451 (FUTEXFS_SUPER_MAGIC): Likewise.
10452 (HOSTFS_SUPER_MAGIC): Likewise.
10453 (HUGETLBFS_MAGIC): Likewise.
10454 (MINIX3_SUPER_MAGIC): Likewise.
10455 (MTD_INODE_FS_MAGIC): Likewise.
10456 (NILFS_SUPER_MAGIC): Likewise.
10457 (OPENPROM_SUPER_MAGIC): Likewise.
10458 (PIPEFS_MAGIC): Likewise.
10459 (PSTOREFS_MAGIC): Likewise.
10460 (QNX6_SUPER_MAGIC): Likewise.
10461 (RAMFS_MAGIC): Likewise.
10462 (REISERFS_SUPER_MAGIC_STRING): Likewise.
10463 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
10464 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
10465 (SECURITYFS_MAGIC): Likewise.
10466 (SELINUX_MAGIC): Likewise.
10467 (SMACK_MAGIC): Likewise.
10468 (SOCKFS_MAGIC): Likewise.
10469 (SQUASHFS_MAGIC): Likewise.
10470 (STACK_END_MAGIC): Likewise.
10471 (TMPFS_MAGIC): Likewise.
10472 (USBDEVICE_SUPER_MAGIC): Likewise.
10473 (V9FS_MAGIC): Likewise.
10474 (XENFS_SUPER_MAGIC): Likewise.
10475 (CRAMFS_MAGIC): Fix typo in comment.
10476 (EXT2_SUPER_MAGIC): Update comment.
10477 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
10478
464263cc
JM
104792014-02-08 Joseph Myers <joseph@codesourcery.com>
10480
c6bfe5c4
JM
10481 * sysdeps/arm: Move directory from ports/sysdeps/arm.
10482 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
10483 * sysdeps/unix/sysv/linux/arm: Move directory from
10484 ports/sysdeps/unix/sysv/linux/arm.
10485 * README: Update listing for arm-*-linux-gnueabi.
10486
464263cc
JM
10487 * README: Remove mention of am33.
10488
32749f6c
RM
104892014-02-07 Roland McGrath <roland@hack.frob.com>
10490
10491 * bits/sigset.h (__sigemptyset): Use a statement expression rather
10492 than the comma operator, to avoid "rhs of comma has no effect"
10493 compiler warnings.
10494 (__sigfillset, __sigandset, __sigorset): Likewise.
10495 * include/signal.h (__sigemptyset): Likewise.
10496 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
10497
d5b396c1
AM
104982014-02-07 Allan McRae <allan@archlinux.org>
10499
10500 * version.h (RELEASE): Set to "development".
10501 (VERSION): Set to "2.19.90"
10502 * NEWS: Add 2.20 section.
10503
3bfff2ed
CD
105042014-02-06 Carlos O'Donell <carlos@redhat.com>
10505
10506 [BZ #16529]
10507 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
10508
ee7cc385
SP
105092014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10510
10511 * manual/contrib.texi: Update entry for Carlos O'Donell,
10512 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
10513
f877c4f2
CD
105142014-02-05 Carlos O'Donell <carlos@rehdat.com>
10515
27e839f6
CD
10516 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
10517
f877c4f2
CD
10518 * sysdeps/unix/sysv/linux/kernel-features.h
10519 [__LINUX_KERNEL_VERSION >= 0x020621]
10520 (__ASSUME_PROC_PID_TASK_COMM): Define.
10521
68159946
SP
105222014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10523
ba17cdbd
SP
10524 [BZ #16398]
10525 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
10526 conversion when destination buffer does not have enough space.
10527 * libio/tst-ftell-partial-wide.c: New test case.
10528 * libio/Makefile (tests): Add tst-ftell-partial-wide.
10529
68159946
SP
10530 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
10531 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
10532 Leonard and Allan McRae.
10533
2b528732
DM
105342014-02-04 David S. Miller <davem@davemloft.net>
10535
10536 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
10537 32-bit.
10538
0ff82463
AZ
105392014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10540
57f41c40
AS
10541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10542 New file
c01603f7
AZ
10543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10544 New file
57f41c40
AS
10545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10546 New file.
10547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10548 New file.
c01603f7
AZ
10549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10550 New file.
57f41c40
AS
10551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10552 New file.
10553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10554 New file.
c01603f7
AZ
10555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10556 New file.
10557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10558 New file.
10559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10560 New file.
10561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10562 New file.
10563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10564 New file.
10565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10566 New file.
10567
105682014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10569
0ff82463
AZ
10570 * nptl/shlib-versions: Change powerpc*le start to 2.17.
10571 * shlib-versions: Likewise.
10572
1695c773
AZ
105732014-02-04 Roland McGrath <roland@hack.frob.com>
10574 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10575
10576 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
10577 (abilist-pattern): New variable, set to %-le.abilist.
10578
10579 * Makerules (abilist-pattern): New variable.
10580 (vpath): Use $(abilist-pattern) in place of %.abilist.
10581 (check-abi-% pattern rule): Likewise.
10582 (check-abi, update-abi): Likewise.
10583
6c0ce4b4
EW
105842014-02-04 Eric Wong <normalperson@yhbt.net>
10585
10586 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10587
481e3524
CD
105882014-02-03 Carlos O'Donell <carlos@redhat.com>
10589
10590 * manual/startup.texi: Add next, previous, and top entries for
10591 the `Program Arguments' and `Environment Variables' nodes.
10592
375592d3
AO
105932014-02-03 Alexandre Oliva <aoliva@redhat.com>
10594
10595 * manual/macros.texi: Add comments before MTASC-safety macros.
10596
f54838ba
AO
10597 * manual/users.texi: Document MTASC-safety properties.
10598
57f41c40
AS
10599 * manual/threads.texi (pthread_key_create, pthread_key_delete)
10600 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
10601 @deftypefun, and add @safety note.
10602 * manual/signal.texi: Move comments that analyze the above
10603 functions to their home place.
10604
fd3daba4
AM
106052014-02-03 Allan McRae <allan@archlinux.org>
10606
10607 * po/sl.po: Update Slovenian translation from translation project.
10608
597636d7
AO
106092014-02-02 Alexandre Oliva <aoliva@redhat.com>
10610
10611 * manual/time.texi (timegm): Add missing blank after @c.
10612 Reported by Joseph Myers <joseph@codesourcery.com>.
10613
ee196e3c
AO
106142014-02-01 Alexandre Oliva <aoliva@redhat.com>
10615
10616 * manual/check-safety.sh: New.
10617 * manual/Makefile ($(objpfx)stamp-summary): Run it.
10618
f8d529d5
AO
10619 * manual/terminal.texi: Document MTASC-safety properties.
10620
de55fdf4
AO
10621 * manual/filesys.texi: Document MTASC-safety properties.
10622
c3299c08
AO
10623 * manual/errno.texi: Document MTASC-safety properties.
10624
06e90b14
AO
10625 * manual/intro.texi: Document safety identifiers and
10626 conditionals.
10627
1acd4371
AO
10628 * manual/string.texi (wcstok): Fix prototype.
10629 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
10630
23e5b8cb
AO
10631 * manual/time.texi: Document MTASC-safety properties.
10632
11087373
AO
10633 * manual/string.texi: Document MTASC-safety properties.
10634
5da2c93d
AO
10635 * manual/threads.texi: Document MTASC-safety properties.
10636
171e9210
AO
10637 * manual/stdio.texi: Document MTASC-safety properties.
10638
d9e02532
AO
10639 * manual/syslog.texi: Document MTASC-safety properties.
10640
6af8bab7
AO
10641 * manual/sysinfo.texi: Document MTASC-safety properties.
10642
663b02d7
AO
10643 * manual/startup.texi: Document MTASC-safety properties.
10644
973f180b
AO
10645 * manual/socket.texi: Document MTASC-safety properties.
10646
8f3c25c8
AO
10647 * manual/signal.texi: Document MTASC-safety properties.
10648
542210fb
AO
106492014-01-31 Alexandre Oliva <aoliva@redhat.com>
10650
10651 * manual/setjmp.texi: Document MTASC-safety properties.
10652
433c45a2
AO
10653 * manual/search.texi: Document MTASC-safety properties.
10654
c8ce789c
AO
10655 * manual/resource.texi: Document MTASC-safety properties.
10656
19f5d29c
AO
10657 * manual/process.texi: Document MTASC-safety properties.
10658
e2dfb7f4
AO
10659 * manual/platform.texi: Document MTASC-safety properties.
10660
8c1413f5
AO
10661 * manual/pipe.texi: Document MTASC-safety properties.
10662
03483ada
AO
10663 * manual/pattern.texi: Document MTASC-safety properties.
10664
29e7e2df
AO
10665 * manual/message.texi: Document MTASC-safety properties.
10666
9f529d7c
AO
10667 [BZ #12751]
10668 * manual/memory.texi: Document MTASC-safety properties.
10669
27aaa791
AO
10670 * manual/math.texi: Document MTASC-safety properties.
10671
f2d58726
AO
10672 * manual/locale.texi: Document MTASC-safety properties.
10673
2cc3615c
AO
10674 * manual/llio.texi: Document MTASC-safety properties.
10675
d9f0ec97
AO
10676 * manual/libdl.texi: New.
10677
e7c4409a
AO
10678 * manual/lang.texi: Document MTASC-safety properties.
10679
27bdc63c
AO
10680 * manual/job.texi: Document MTASC-safety properties.
10681
a7b90ea9
AO
10682 * manual/getopt.texi: Document MTASC-safety properties.
10683
c49130e3
AO
10684 * manual/ctype.texi: Document MTASC-safety properties.
10685
0d23a5c1
MR
106862014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
10687
10688 [BZ #16046]
10689 * csu/libc-tls.c (static_map): Remove variable.
10690 (__libc_setup_tls): Use main executable's link map for TLS data.
10691 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
10692 casing for LM_ID_BASE and GL(dl_nns).
10693 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
10694 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
10695 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
10696 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
10697 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
10698 member.
10699 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
10700 l_phnum members.
10701
0037bb60
AO
107022014-01-30 Alexandre Oliva <aoliva@redhat.com>
10703
10704 * manual/debug.texi: Document MTASC-safety properties.
10705
409e00bd
L
107062014-01-29 H.J. Lu <hongjiu.lu@intel.com>
10707
10708 [BZ #16510]
10709 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
10710 of __x86_64__ when disabling x87 inline functions.
10711
86e60666
AO
107122014-01-29 Alexandre Oliva <aoliva@redhat.com>
10713
10714 * manual/charset.texi: Document MTASC-safety properties.
10715
76167637
AO
10716 * manual/crypt.texi: Document MTASC-safety properties.
10717
e567f2a0
AO
10718 * manual/conf.texi: Document MTASC-safety properties.
10719
b719dafd
AO
10720 * manual/arith.texi: Document MTASC-safety properties.
10721
4a16c662
AO
10722 * manual/argp.texi: Document MTASC-safety properties.
10723
0a57b83e
AO
10724 * manual/macros.texi: Introduce macros to document multi
10725 thread, asynchronous signal and asynchronous cancellation
10726 safety properties.
10727 * manual/intro.texi: Introduce the properties themselves.
10728
feab2397
KK
107292014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10730
10731 * sysdeps/sh/sh4/Makefile: New file.
10732
1c0d11bc
AS
107332014-01-27 Andreas Schwab <schwab@linux-m68k.org>
10734
10735 * math/gen-libm-test.pl ($srcdir): New variable.
10736 ($auto_input): Use it.
10737
af37a8a3
SP
107382014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10739
d7b00f98
SP
10740 [BZ #16506]
10741 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
10742 access beyond array bounds when parsing netgroups file.
10743
af37a8a3
SP
10744 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
10745 the old buffer before realloc.
10746
0c00f062
AM
107472014-01-27 Allan McRae <allan@archlinux.org>
10748
10749 * po/fr.po: Update French translation from translation project.
10750
7d69a1b0
KK
107512014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10752
10753 * sysdeps/sh/libm-test-ulps: Regenerate.
10754
6e697ff7
DM
107552014-01-24 David S. Miller <davem@davemloft.net>
10756
10757 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
10758
9cadb35c
KK
107592014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10760
10761 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
10762 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
10763
5d41dadf
SP
107642013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10765
10766 [BZ #16474]
10767 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
10768 string pointers after reallocation.
10769
0bad441c
KK
107702014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10771
10772 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
10773 __SH4A__ instead of __SH_FPU_ANY__.
10774
7007c661
KK
107752014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10776
10777 * sysdeps/sh/fpu_control.h: New file.
10778 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
10779 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
10780 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
10781 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
10782 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
10783 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
10784 * sysdeps/sh/sys/ucontext.h: Remove.
10785 * sysdeps/sh/sys: Remove directory.
10786
0f0c35e4
AK
107872014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10788
10789 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
10790 s390/sys/ucontext.h.
10791 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
10792 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
10793
4959e284
L
107942014-01-20 H.J. Lu <hongjiu.lu@intel.com>
10795
10796 [BZ #15605]
10797 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
10798
d98720e0
AZ
107992014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10800
10801 [BZ#16431]
10802 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10803 Adjust the vDSO correctly for internal calls.
10804 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
10805
91cbd0bc
AM
108062014-01-20 Allan McRae <allan@archlinux.org>
10807
10808 * po/ca.po: Update Catalan translation from translation project.
10809
7a02cfad
MF
108102014-01-16 Mike Frysinger <vapier@gentoo.org>
10811
10812 * sysdeps/s390/sotruss-lib.c: New file.
10813
736c304a
AZ
108142014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10815
10816 [BZ#16430]
6e077ee5 10817 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
10818 (__GI___gettimeofday): Alias for a different internal symbol to avoid
10819 local calls issues by not having a PLT stub required for IFUNC calls.
10820 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
10821
94d0cea0
JM
108222014-01-16 Joseph Myers <joseph@codesourcery.com>
10823
10824 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
10825 * math/test-fpucw-static.c: Likewise.
10826
980cb518
SP
108272013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10828
10829 [BZ #16453]
10830 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
10831
2393fc01
AZ
108322014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10833
10834 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
10835 implementation for powerpc.
10836
d359bcc2
OB
108372014-01-15 Ondřej Bílka <neleai@seznam.cz>
10838
10839 [BZ #14782]
10840 * sysdeps/posix/system.c (__libc_system): Do not enable
10841 asynchronous cancellation.
10842
7beb48cb
AK
108432014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10844
10845 [BZ #16427]
10846 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
10847 handling only for numbers special also in the IEEE case.
10848
c20d5bf5
AK
108492014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10850
10851 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10852
e83bd4ee
AM
108532014-01-11 Allan McRae <allan@archlinux.org>
10854
76d0ea69
AM
10855 * po/bg.po: Update Bulgarian translation from translation project.
10856
e83bd4ee
AM
10857 * po/de.po: Update German translation from translation project.
10858
bc2ba20a
RM
108592014-01-10 Roland McGrath <roland@hack.frob.com>
10860
10861 * sysdeps/generic/gcc-compat.h: New file.
10862
649ecea2
SP
108632014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10864
10865 * benchtests/asin-inputs: Correct slow inputs.
10866 * benchtests/acos-inputs: Likewise.
10867
1b19c006
AM
108682014-01-10 Allan McRae <allan@archlinux.org>
10869
a46dab08
AM
10870 * po:sv.po: Update Swedish translation from translation project.
10871
421df74a
AM
10872 * po/vi.po: Update Vietnamese translation from translation project.
10873
d61c51a7
AM
10874 * po/eo.po: Update Esperanto translation from translation project.
10875
0339a319
AM
10876 * po/cs.po: Update Czech translation from translation project.
10877
94ad3e99
AM
10878 * po/nl.po: Update Dutch translation from translation project.
10879
e349ca71
AM
10880 * po/pl.po: Update Polish translation from translation project.
10881
ddf930c1
AM
10882 * po/ru.po: Update Russian translation from translation project.
10883
1b19c006
AM
10884 * po/uk.po: Update Ukrainian translation from translation project.
10885
9f236c49
BM
108862014-01-08 Brooks Moses <bmoses@google.com>
10887
10888 * elf/dl-load.c: Fix comment typo.
10889
cd6701cf
CD
108902014-01-08 Carlos O'Donell <carlos@redhat.com>
10891
10892 * po/header.pot: Rename to...
10893 * po/pot.header: ... this.
10894 * po/Makefile: Use pot.header.
10895
66671c84
YK
108962014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
10897 Maxim Kuvyrkov <maxim@kugelworks.com>
10898
10899 [BZ #16394]
cd6701cf
CD
10900 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
10901 SRC and DEST against LEN.
66671c84 10902
38f34581
AZ
109032014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10904
10905 [BZ #16414]
10906 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
10907 implementation.
10908 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
10909
109102014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
10911
10912 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10913
4c327f2a
JM
109142014-01-08 Joseph Myers <joseph@codesourcery.com>
10915
10916 [BZ #16408]
10917 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
10918 for large positive arguments.
10919
b821f414
JM
109202014-01-07 Joseph Myers <joseph@codesourcery.com>
10921
1f0f2067
JM
10922 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10923
a5a326f6
JM
10924 * math/auto-libm-test-in: Mark various tests with
10925 xfail-rounding:ldbl-128ibm.
10926 * math/auto-libm-test-out: Regenerated.
10927
b821f414
JM
10928 [BZ #16407]
10929 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10930 Increase overflow threshold.
10931
94c8a4bc
OB
109322014-01-07 Ondřej Bílka <neleai@seznam.cz>
10933
10934 [BZ #14286]
10935 * stdio-common/vfprintf.c: Check for integer overflow.
10936
87ded0c3
AK
109372014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10938
10939 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
10940 the first argument and return value of __tls_get_addr_internal.
10941
c5eebdd0
AK
109422014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10943
10944 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
10945 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
10946
05d138ef
AK
109472014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10948
10949 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
10950 * sysdeps/s390/rtld-global-offsets.sym: New file.
10951 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
10952 GLIBC_2.19 symbol.
10953 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
10954 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
10955 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10956 ... this.
10957 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
10958 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10959 ... this.
10960 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10961 Regenerate.
10962 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10963 Regenerate.
10964 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
10965 halfs of GPRs for high_gprs contexts.
10966 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
10967 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
10968 field.
10969 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
10970 uc_flags field.
10971 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
10972 64 bit versions:
10973 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
10974 for high GPRs (uc_high_gprs) and for future extensions
10975 (__reserved).
10976 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
10977 for future extensions (__reserved).
10978 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
10979 64 bit versions:
10980 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
10981 SC_HIGHGPRS offset definition.
10982 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
10983 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
10984
93a45ff1
AK
10985 * Versions.def: Add GLIBC_2.19 for libpthread.
10986 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
10987 siglongjmp for libpthread with GLIBC_2.19 symver.
10988 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
10989 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
10990 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
10991 * sysdeps/s390/__longjmp.c: New file.
10992 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
10993 * sysdeps/s390/longjmp.c: New file.
10994 * sysdeps/s390/setjmp.S: New file.
10995 * sysdeps/s390/sigjmp.S: New file.
10996 * sysdeps/s390/v1-longjmp.c: New file.
10997 * sysdeps/s390/v1-setjmp.h: New file.
10998 * sysdeps/s390/v1-sigjmp.c: New file.
10999 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
11000 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
11001 GLIBC_2.19 version.
11002 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
11003 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
11004 versioned symbols for ____longjmp_chk.
11005 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11006 Likewise.
11007 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11008 Regenerate.
11009 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11010 Regenerate.
11011 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11012 Regenerate.
11013 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11014 Regenerate.
11015 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
11016 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
11017 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
11018 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
11019 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
11020 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
11021 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
11022 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
11023 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
11024 * sysdeps/s390/rtld-__longjmp.c: New file.
11025 * sysdeps/s390/rtld-setjmp.S: New file.
11026
eb3fc44b
JM
110272014-01-06 Joseph Myers <joseph@codesourcery.com>
11028
11029 [BZ #16400]
11030 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11031 Return -__logl (x) for small positive arguments without evaluating
11032 a polynomial.
11033
9341dde4
MF
110342014-01-06 Mike Frysinger <vapier@gentoo.org>
11035
11036 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
11037 Rename to ...
11038 (__ptrace_peeksiginfo_args): ... this.
11039 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11040 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11041 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11042
4cff0293
AM
110432014-01-06 Allan McRae <allan@archlinux.org>
11044
11045 * inet/netinet/in.h: Fix typo in comment.
11046
75595dcf
AJ
110472014-01-05 Andreas Jaeger <aj@suse.de>
11048
11049 * sysdeps/i386/fpu/libm-test-ulps: Update.
11050
79c1e109
AM
110512014-01-05 Allan McRae <allan@archlinux.org>
11052
dd804818
AM
11053 * po/libc.pot: Regenerated.
11054
79c1e109
AM
11055 * malloc/memusagestat.c: Fix gettext call formatting.
11056
0c813d1f
SK
110572014-01-04 Sami Kerola <kerolasa@iki.fi>
11058
11059 * nscd/nscd.c: Improve usage() output.
11060
20f4a8d9
MF
110612014-01-04 Mike Frysinger <vapier@gentoo.org>
11062
11063 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
11064 * sysdeps/unix/sysv/linux/configure: Regenerated.
11065 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
11066 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
11067
22562bb2
JM
110682014-01-03 Joseph Myers <joseph@codesourcery.com>
11069
11070 [BZ #16390]
11071 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11072 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
11073
d7ad2d9b
AZ
110742014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11075
11076 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
11077 extra tokens at end of #undef directive.
11078 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
11079 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
11080 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11081
7dd009d8
JM
110822014-01-03 Joseph Myers <joseph@codesourcery.com>
11083
24db925a
JM
11084 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11085
7dd009d8
JM
11086 * math/auto-libm-test-in: Mark various tests with
11087 xfail-rounding:ldbl-128ibm.
11088 * math/auto-libm-test-out: Regenerated.
11089
396e3ecf
JM
110902014-01-02 Joseph Myers <joseph@codesourcery.com>
11091
819e5d50
JM
11092 [BZ #16386]
11093 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
11094 numbers with subnormal high part when calculating exponent.
11095
90b6a1e5
JM
11096 [BZ #16385]
11097 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
11098 fabs.
11099
396e3ecf
JM
11100 [BZ #16384]
11101 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
11102 M_LN2l.
11103 (__ieee754_acoshl): Use __log1pl not __log1p.
11104
6c8dbf00
OB
111052013-01-02 Ondřej Bílka <neleai@seznam.cz>
11106
57f41c40
AS
11107 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
11108 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
11109 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
11110 (grow_heap, heap_trim, _int_new_arena, get_free_list)
11111 (reused_arena, arena_get2): Convert to GNU style.
11112 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
11113 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
11114 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 11115 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
11116 * malloc/malloc.c (__malloc_assert, malloc_init_state)
11117 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
11118 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
11119 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
11120 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
11121 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 11122 * malloc/malloc.h: Likewise.
57f41c40
AS
11123 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
11124 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 11125 * malloc/mcheck.h: Likewise.
57f41c40
AS
11126 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
11127 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
11128 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
11129 * malloc/morecore.c (__default_morecore): Likewise.
11130 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
11131 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
11132 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
11133 (print_and_abort): Likewise.
6c8dbf00
OB
11134 * malloc/obstack.h: Likewise.
11135 * malloc/set-freeres.c (__libc_freeres): Likewise.
11136 * malloc/tst-mallocstate.c (main): Likewise.
11137 * malloc/tst-mtrace.c (main): Likewise.
11138 * malloc/tst-realloc.c (do_test): Likewise.
11139
d4124212
SP
111402013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11141
9a3c6a6f
SP
11142 [BZ #16366]
11143 * nscd/netgroupcache.c (do_notfound): New function.
11144 (addgetnetgrentX): Use it.
11145
d4124212
SP
11146 [BZ # 16365]
11147 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
11148 NSS_STATUS_NOTFOUND.
11149
97b9a009
JM
111502014-01-01 Joseph Myers <joseph@codesourcery.com>
11151
11152 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11154
d4697bc9
AM
111552014-01-01 Allan McRae <allan@archlinux.org>
11156
ddb3687f
AM
11157 * scripts/update-copyrights: Update configure input file suffix.
11158
88726d48
AM
11159 * NEWS: Update copyright year.
11160 * catgets/gencat.c: Likewise.
11161 * csu/version.c: Likewise.
11162 * debug/catchsegv.sh: Likewise.
11163 * debug/pcprofiledump.c: Likewise.
11164 * debug/xtrace.sh: Likewise.
11165 * elf/ldconfig.c: Likewise.
11166 * elf/ldd.bash.in: Likewise.
11167 * elf/pldd.c: Likewise.
11168 * elf/sotruss.ksh: Likewise.
11169 * elf/sprof.c: Likewise.
11170 * iconv/iconv_prog.c: Likewise.
11171 * iconv/iconvconfig.c: Likewise.
11172 * locale/programs/locale.c: Likewise.
11173 * locale/programs/localedef.c: Likewise.
11174 * login/programs/pt_chown.c: Likewise.
11175 * malloc/memusage.sh: Likewise.
11176 * malloc/memusagestat.c: Likewise.
11177 * malloc/mtrace.pl: Likewise.
11178 * manual/libc.texinfo: Likewise.
11179 * nscd/nscd.c: Likewise.
11180 * nss/getent.c: Likewise.
11181 * nss/makedb.c: Likewise.
11182 * posix/getconf.c: Likewise.
11183 * scripts/test-installation.pl: Likewise.
11184
d4697bc9
AM
11185 * All files with FSF copyright notices: Update copyright dates
11186 using scripts/update-copyrights.
11187 * intl/plural.c: Regenerated.
11188 * locale/programs/charmap-kw.h: Likewise.
11189 * locale/programs/locfile-kw.h: Likewise.
11190
c8590f9d
MF
111912013-12-31 Mike Frysinger <vapier@gentoo.org>
11192
11193 * sysdeps/unix/sysv/linux/configure: Regenerated.
11194 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
11195 the linux/fanotify.h header.
11196 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
11197 HAVE_LINUX_FANOTIFY_H is defined.
11198
b19221b9
SP
111992013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11200
dd1d85e5
SP
11201 * benchtests/cos-inputs: New inputs.
11202 * benchtests/sin-inputs: Likewise.
11203
1acbb90f
SP
11204 * benchtests/atan-inputs: New inputs. Fix name of multiple
11205 precision fallback inputs.
11206
4c012ed3
SP
11207 * benchtests/atanh-inputs: New inputs.
11208 * benchtests/tanh-inputs: Likewise.
11209
eff98324
SP
11210 * benchtests/acosh-inputs: New inputs.
11211 * benchtests/asinh-inputs: Likewise.
11212
ce641152
SP
11213 * benchtests/cosh-inputs: New inputs.
11214 * benchtests/sinh-inputs: Likewise.
11215
b19221b9
SP
11216 * benchtests/acos-inputs: Add more inputs.
11217 * benchtests/asin-inputs: Likewise.
11218
030a4976 112192013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 11220
030a4976 11221 [BZ #16375]
9dcc8f11
VS
11222 * manual/arith.texi: Fix spelling.
11223 * manual/charset.texi: Likewise.
11224 * manual/errno.texi: Likewise.
11225 * manual/filesys.texi: Likewise.
11226 * manual/lang.texi: Likewise.
11227 * manual/llio.texi: Likewise.
11228 * manual/locale.texi: Likewise.
11229 * manual/message.texi: Likewise.
11230 * manual/resource.texi: Likewise.
11231 * manual/search.texi: Likewise.
11232 * manual/setjmp.texi: Likewise.
11233 * manual/stdio.texi: Likewise.
11234 * manual/string.texi: Likewise.
11235 * manual/sysinfo.texi: Likewise.
11236 * manual/time.texi: Likewise.
11237
11520a57
CD
112382013-12-27 Carlos O'Donell <carlos@redhat.com>
11239
11240 * po/sl.po: New file.
11241
471103ae
MF
112422013-12-27 Mike Frysinger <vapier@gentoo.org>
11243
11244 * .gitignore: Add core/.gdbinit/.gdb_history.
11245
6c9642ed
AM
112462013-12-27 Allan McRae <allan@archlinux.org>
11247
11248 [BZ #16369]
11249 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
11250 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
11251
3f637079
BM
112522013-12-24 Brooks Moses <bmoses@google.com>
11253
11254 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
11255 all compilers that claim C++98 compliance, not just GCC.
11256 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
11257 Likewise.
11258
abc26e99
MK
112592013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11260
11261 * NEWS: Restore accidentally deleted bug-fix entries.
11262
362b47fe
MK
112632013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11264 Ondřej Bílka <neleai@seznam.cz>
11265
11266 [BZ #15073]
11267 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 11268 have_lock.
362b47fe 11269
b9bcbbcb
OB
112702013-12-23 Ondřej Bílka <neleai@seznam.cz>
11271
11272 [BZ #12986]
11273 * manual/stdio.texi (String Input Conversions): Clarify that character
11274 classes are not supported.
11275
fb55fcd2
AZ
112762013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11277
11278 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11279
ef7344f0
JM
112802013-12-22 Joseph Myers <joseph@codesourcery.com>
11281
4f40e4b3
JM
11282 [BZ #16337]
11283 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11284 Calculate results for small negative arguments directly rather
11285 than using reflection formula with special underflow handling.
11286
ef7344f0
JM
11287 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
11288 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
11289 sysdeps/unix/bsd/bsd4.4/syscalls.list.
11290 (fchflags): Likewise.
11291 (revoke): Likewise.
11292 (setlogin): Likewise.
11293 (sigaltstack): Likewise.
11294 (wait4): Likewise.
11295 (sigblock): Remove.
11296 (sigsetmask): Likewise.
11297 (wait3): Likewise.
11298 (waitpid): Likewise.
11299 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
11300 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
11301 file.
11302 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
11303 * sysdeps/unix/bsd/Makefile: ... here.
11304 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
11305 * sysdeps/unix/bsd/Versions: ... here.
11306 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
11307 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
11308 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
11309 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
11310 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
11311 * sysdeps/unix/bsd/sigblock.c: ... here.
11312 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
11313 * sysdeps/unix/bsd/sigsetmask.c: ... here.
11314 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
11315 * sysdeps/unix/bsd/sigvec.c: ... here.
11316 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
11317 * sysdeps/unix/bsd/tcdrain.c: ... here.
11318 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
11319 * sysdeps/unix/bsd/tcgetattr.c: ... here.
11320 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
11321 * sysdeps/unix/bsd/tcsetattr.c: ... here.
11322 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
11323 * sysdeps/unix/bsd/wait.c: ... here.
11324 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
11325 * sysdeps/unix/bsd/wait3.c: ... here.
11326 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
11327 * sysdeps/unix/bsd/waitpid.c: ... here.
11328
5b0626b9
JM
113292013-12-21 Joseph Myers <joseph@codesourcery.com>
11330
11331 [BZ #16356]
11332 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
11333 round-to-nearest for [!USE_AS_EXPM1L].
11334 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
11335 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
11336 more tests of exp and exp10. Expect some exp10 tests to miss
11337 exceptions or fail in directed rounding modes.
11338 * math/auto-libm-test-out: Regenerated.
11339 * math/libm-test.inc (exp10_tonearest_test_data): New array.
11340 (exp10_test_tonearest): New function.
11341 (exp10_towardzero_test_data): New array.
11342 (exp10_test_towardzero): New function.
11343 (exp10_downward_test_data): New array.
11344 (exp10_test_downward): New function.
11345 (exp10_upward_test_data): New array.
11346 (exp10_test_upward): New function.
11347 (main): Call the new functions.
11348 * sysdeps/i386/fpu/libm-test-ulps: Update.
11349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11350
7fda5682
JM
113512013-12-20 Joseph Myers <joseph@codesourcery.com>
11352
31e3a405
JM
11353 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11354 asinh, atan, atan2, atanh, cbrt, cos and cosh.
11355 * math/auto-libm-test-out: Regenerated.
11356 * math/libm-test.inc (acosh_test_data): Add more tests.
11357 (atanh_test_data): Likewise.
11358 (ceil_test_data): Likewise.
11359 (copysign_test_data): Likewise.
11360 * sysdeps/i386/fpu/libm-test-ulps: Update.
11361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11362
85bff96a
JM
11363 * timezone/checktab.awk: Update from tzcode 2013i.
11364 * timezone/private.h: Likewise.
11365 * timezone/scheck.c: Likewise.
11366 * timezone/tzfile.h: Likewise.
11367 * timezone/tzselect.ksh: Likewise.
11368 * timezone/zdump.c: Likewise.
11369 * timezone/zic.c: Likewise.
11370
b7867a3b
JM
11371 * math/auto-libm-test-in: Add tests of cpow.
11372 * math/auto-libm-test-out: Regenerated.
11373 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 11374 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
11375 mpc_cc_c.
11376 (func_calc_desc): Add mpc_cc_c union field.
11377 (test_functions): Add cpow.
11378 (special_fill_2pi): New function.
11379 (special_real_inputs): Add 2pi.
11380 (calc_generic_results): Handle mpc_cc_c.
11381 * sysdeps/i386/fpu/libm-test-ulps: Update.
11382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11383
7fda5682
JM
11384 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
11385 csqrt, ctan and ctanh.
11386 * math/auto-libm-test-out: Regenerated.
11387 * math/libm-test.inc (TEST_COND_x86_64): New macro.
11388 (TEST_COND_x86): Likewise.
11389 (ccos_test_data): Use AUTO_TESTS_c_c.
11390 (ccosh_test_data): Likewise.
11391 (cexp_test_data): Likewise.
11392 (clog_test_data): Likewise.
11393 (csqrt_test_data): Likewise.
11394 (ctan_test_data): Likewise.
11395 (ctan_tonearest_test_data): Likewise.
11396 (ctan_towardzero_test_data): Likewise.
11397 (ctan_downward_test_data): Likewise.
11398 (ctan_upward_test_data): Likewise.
11399 (ctanh_test_data): Likewise.
11400 (ctanh_tonearest_test_data): Likewise.
11401 (ctanh_towardzero_test_data): Likewise.
11402 (ctanh_downward_test_data): Likewise.
11403 (ctanh_upward_test_data): Likewise.
11404 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11405 mpc_c_c.
11406 (func_calc_desc): Add mpc_c_c union field.
11407 (FUNC_mpc_c_c): New macro.
11408 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
11409 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
11410 ctanh.
11411 (special_fill_min_subnorm_p120): New function.
11412 (special_real_inputs): Add min_subnorm_p120.
11413 (calc_generic_results): Handle mpc_c_c.
11414 * sysdeps/i386/fpu/libm-test-ulps: Update.
11415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11416
5ff8d60e
SP
114172013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11418
57f41c40
AS
11419 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
11420 (do_sin_slow): New functions.
11421 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
11422 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 11423
84ba214c
SP
11424 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
11425 Use M to change sign of result instead of X. Assume X is
11426 positive.
11427 (csloww1): Likewise.
11428 (__sin): Adjust.
11429 (__cos): Adjust.
11430
975195e4
SP
11431 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
11432 arguments A and DA.
11433 (__sin): Adjust.
11434 (__cos): Likewise.
11435
5ff8d60e
SP
11436 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
11437 (__cos): Likewise.
11438 (sloww1): Don't adjust sign of DX.
11439 (csloww1): Likewise.
11440 (sloww2): Use X directly and don't adjust sign of DX.
11441 (csloww2): Likewise.
11442
eb983568
JM
114432013-12-19 Joseph Myers <joseph@codesourcery.com>
11444
64a17f1a
JM
11445 * math/auto-libm-test-in: Add tests of cabs and carg.
11446 * math/auto-libm-test-out: Regenerated.
11447 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
11448 (carg_test_data): Likewise.
11449 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11450 mpc_c_f.
11451 (func_calc_desc): Add mpc_c_f union field.
11452 (test_functions): Add cabs and carg.
11453 (calc_generic_results): Handle mpc_c_f.
11454
eb983568
JM
11455 * sysdeps/powerpc/powerpc32/libgcc-compat.S
11456 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
11457 as a macro and a compat symbol.
11458 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11459 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11460 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11461 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11462 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
11463 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
11464 not use .hidden.
11465 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
11466 Likewise.
11467 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
11468 Likewise.
11469 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
11470 Likewise.
11471 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
11472 Likewise.
11473 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
11474 Likewise.
11475 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
11476 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
11477 from GLIBC_2.3.2.
11478
6eeb678a
AZ
114792013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11480
11481 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11482
6f6fc482
JM
114832013-12-19 Joseph Myers <joseph@codesourcery.com>
11484
21fea2e2
JM
11485 * manual/texinfo.tex: Update to version 2013-11-26.10 with
11486 trailing whitespace removed.
11487 * scripts/config.guess: Update to version 2013-11-29.
11488 * scripts/config.sub: Update to version 2013-10-01.
11489
6f6fc482
JM
11490 * math/auto-libm-test-in: Add tests of sincos.
11491 * math/auto-libm-test-out: Regenerated.
11492 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
11493 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11494 mpfr_f_11.
11495 (func_calc_desc): Add mpfr_f_11 union field.
11496 (test_functions): Add sincos.
11497 (calc_generic_results): Handle mpfr_f_11.
11498 * sysdeps/i386/fpu/libm-test-ulps: Update.
11499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11500
83f5c32d
AS
115012013-12-19 Andreas Schwab <schwab@suse.de>
11502
11503 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
11504 CALL_MCOUNT.
11505 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11506 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
11507 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
11508
c688b419
JM
115092013-12-19 Joseph Myers <joseph@codesourcery.com>
11510
335ee092
JM
11511 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
11512 * sysdeps/i386/fpu/libm-test-ulps: Update.
11513 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11514
f88acd39
JM
11515 [BZ #16293]
11516 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
11517 round-to-nearest mode when using frndint.
11518 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
11519 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11520 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11521 Likewise.
11522 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
11523 sinh test to fail.
11524 * math/auto-libm-test-out: Regenerated.
11525 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
11526 (TEST_COND_x86): Likewise.
11527 (expm1_tonearest_test_data): New array.
11528 (expm1_test_tonearest): New function.
11529 (expm1_towardzero_test_data): New array.
11530 (expm1_test_towardzero): New function.
11531 (expm1_downward_test_data): New array.
11532 (expm1_test_downward): New function.
11533 (expm1_upward_test_data): New array.
11534 (expm1_test_upward): New function.
11535 (main): Run the new test functions.
11536 * sysdeps/i386/fpu/libm-test-ulps: Update.
11537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11538
c688b419
JM
11539 * include/features.h: Update comment documenting feature test
11540 macros. Mention _DEFAULT_SOURCE in comment.
11541 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
11542 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
11543 _BSD_SOURCE and _SVID_SOURCE.
11544 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
11545 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
11546 !_SVID_SOURCE]: Likewise.
11547 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11548 (__USE_POSIX_IMPLICITLY): Define.
11549 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11550 (_POSIX_SOURCE): Undefine and redefine.
11551 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11552 (_POSIX_C_SOURCE): Likewise.
11553 * manual/creature.texi (_DEFAULT_SOURCE): Document.
11554 (Feature Test Macros): Update documentation of default features.
11555
9f6e964c
RS
115562013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11557
11558 * benchtests/Makefile: Add bench-strtok.
11559 * benchtests/bench-strtok.c: New file: strtok benchtest.
11560
ee0a148a
AM
115612013-12-19 Allan McRae <allan@archlinux.org>
11562
11563 * manual/install.texi: Suppress menu for plain text output.
11564 * INSTALL: Regenerated.
11565
b9ab448f
BM
115662013-12-18 Brooks Moses <bmoses@google.com>
11567
11568 [BZ #15846]
11569 * misc/getauxval.c: Include errno.h.
11570 (__getauxval): Set errno to ENOENT if the requested type is not
11571 found.
11572 * misc/sys/auxv.h (getauxval): Document that it may set errno;
11573 don't declare with __attribute_const__.
11574 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
11575 * manual/startup.texi: Document that getauxval sets errno.
11576
23776487
JM
115772013-12-18 Joseph Myers <joseph@codesourcery.com>
11578
f889953b
JM
11579 * math/auto-libm-test-in: Add tests of jn and yn.
11580 * math/auto-libm-test-out: Regenerated.
11581 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
11582 (yn_test_data): Likewise.
11583 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11584 mpfr_if_f.
11585 (func_calc_desc): Add mpfr_if_f union field.
11586 (FUNC_mpfr_if_f): New macro.
11587 (test_functions): Add jn and yn.
11588 (calc_generic_results): Assert type of second input for
11589 mpfr_ff_f. Handle mpfr_if_f.
11590 (output_for_one_input_case): Disable all checking for arguments
11591 fitting floating-point types in case of an integer argument.
11592 * sysdeps/i386/fpu/libm-test-ulps: Update.
11593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11594
23776487
JM
11595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11596 Don't expect fegetround reference in libm.so.
11597
cb756c6d
MS
115982013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11599
11600 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
11601 $(config-cflags-nofma).
11602
2dec468f
JM
116032013-12-18 Joseph Myers <joseph@codesourcery.com>
11604
5953eb3a
JM
11605 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
11606 * math/auto-libm-test-out: Regenerated.
11607
2dec468f
JM
11608 [BZ #16338]
11609 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
11610 to determine exponent and adjust argument to have exponent of -1.
11611 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
11612 log2.
11613 * math/auto-libm-test-out: Regenerated.
11614 * sysdeps/i386/fpu/libm-test-ulps: Update.
11615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11616
4d84e6ad
OB
116172013-12-18 Ondřej Bílka <neleai@seznam.cz>
11618
11619 * manual/probes.texi: Remove cases when per-thread arenas are
11620 disabled.
11621
1818483b
AS
116222013-12-18 Andreas Schwab <schwab@suse.de>
11623
11624 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
11625 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
11626 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
11627 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
11628 * sysdeps/i386/i686/multiarch/Makefile: Update.
11629 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
11630
25de95bf
JM
116312013-12-17 Joseph Myers <joseph@codesourcery.com>
11632
11633 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
11634 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
11635
674762d9
PE
116362013-12-17 Paul Eggert <eggert@cs.ucla.edu>
11637
ed27ed83 11638 [BZ #15968]
0748546f
PE
11639 Support TZ transition times < 00:00:00.
11640 This is needed for version-3 tz-format files; it supports time
11641 stamps past 2037 for America/Godthab (the only entry in the tz
11642 database for which this change is relevant).
11643 * manual/time.texi (TZ Variable): Document transition times
11644 from -167:59:59 through -00:00:01.
11645 * time/tzset.c (tz_rule): Time of day is now signed.
11646 (__tzset_parse_tz): Parse negative time of day.
11647
4480e934
PE
11648 Document TZ transition times >= 25:00:00.
11649 * manual/time.texi (TZ Variable): Document transition times from
11650 25:00:00 through 167:59:59. These are already supported, and this
11651 support will help with version-3 tz-format files.
11652
69947401
PE
11653 * manual/time.texi (TZ Variable): Modernize North America example
11654 to reflect current (i.e., 2007-and-later) daylight saving rules.
11655
674762d9
PE
11656 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
11657
7011c262
JM
116582013-12-17 Joseph Myers <joseph@codesourcery.com>
11659
2fc6557e
JM
11660 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
11661 * sysdeps/unix/bsd/bits/stat.h: Likewise.
11662 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
11663 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11664 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
11665 * sysdeps/unix/bsd/bsdstat.h: Likewise.
11666 * sysdeps/unix/bsd/clock.c: Likewise.
11667 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
11668 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
11669 * sysdeps/unix/bsd/init-posix.c: Likewise.
11670 * sysdeps/unix/bsd/poll.c: Likewise.
11671 * sysdeps/unix/bsd/ptsname.c: Likewise.
11672 * sysdeps/unix/bsd/seekdir.c: Likewise.
11673 * sysdeps/unix/bsd/setegid.c: Likewise.
11674 * sysdeps/unix/bsd/seteuid.c: Likewise.
11675 * sysdeps/unix/bsd/setgid.c: Likewise.
11676 * sysdeps/unix/bsd/setrgid.c: Likewise.
11677 * sysdeps/unix/bsd/setruid.c: Likewise.
11678 * sysdeps/unix/bsd/setsid.c: Likewise.
11679 * sysdeps/unix/bsd/setuid.c: Likewise.
11680 * sysdeps/unix/bsd/sigaction.c: Likewise.
11681 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
11682 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
11683 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
11684 * sysdeps/unix/bsd/telldir.c: Likewise.
11685 * sysdeps/unix/bsd/times.c: Likewise.
11686 * sysdeps/unix/bsd/usleep.c: Likewise.
11687
029c7b25
JM
11688 * misc/Makefile (install-lib): Remove libbsd-compat.a.
11689 ($(objpfx)libbsd-compat.a): Remove rule.
11690
7011c262
JM
11691 * include/features.h (__FAVOR_BSD): Do not define.
11692 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
11693 features conflicting with POSIX.
11694 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
11695 (_BSD_SOURCE): Remove description of not being a subset of other
11696 feature test macros.
11697 * manual/job.texi (getpgrp): Do not document BSD version.
11698 (getpgid): Do not document by reference to BSD getpgrp.
11699 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
11700 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
11701 * signal/signal.h [__FAVOR_BSD]: Likewise.
11702 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
11703 instead of making contents conditional on [__FAVOR_BSD].
11704 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
11705
affb6f78
AZ
117062013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11707
11708 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11709
c88769dd
JM
117102013-12-17 Joseph Myers <joseph@codesourcery.com>
11711
6432a540
JM
11712 [BZ #16314]
11713 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
11714 values below 2**-450, not 2**-500.
11715 * math/auto-libm-test-in: Don't allow spurious underflow from
11716 hypot.
11717 * math/auto-libm-test-out: Regenerated.
11718
c88769dd
JM
11719 [BZ #16316]
11720 [BZ #16330]
11721 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
11722 values of ha and hb and sort them after adjusting subnormal
11723 arguments.
11724 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11725 Likewise.
11726 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
11727 values of ea and eb and sort them after adjusting subnormal
11728 arguments.
11729 * math/auto-libm-test-in: Do not expect some hypot tests of
11730 subnormals to fail. Add more hypot tests.
11731 * math/auto-libm-test-out: Regenerated.
11732
29618f6b
KK
117332013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11734
11735 [BZ #13304]
11736 * sysdeps/sh/s_fma.c: New file.
11737 * sysdeps/sh/s_fmaf.c: New file.
11738 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
11739 version.
11740 * sysdeps/sh/Implies: Add sh/soft-fp.
11741
eacfdfbf
RM
117422013-12-16 Roland McGrath <roland@hack.frob.com>
11743
11744 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
11745 level of indirection to members `objname', `errstring', `malloced'.
11746 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
11747 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
11748 it as the __longjmp argument (just pass 1 instead).
11749 (_dl_catch_error): Initialize C with argument pointers and address of
11750 volatile local ERRCODE rather than copying values out of C at return.
11751
ff362e5b
JM
117522013-12-16 Joseph Myers <joseph@codesourcery.com>
11753
11754 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
11755 * math/auto-libm-test-out: Regenerated.
11756 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
11757 (hypot_test_data): Likewise.
11758 (pow_test_data): Likewise.
11759 (pow_tonearest_test_data): Likewise.
11760 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11761 mpfr_ff_f.
11762 (func_calc_desc): Add mpfr_ff_f union field.
11763 (FUNC_mpfr_ff_f): New macro.
11764 (test_functions): Add atan2, hypot and pow.
11765 (special_fill_min): New function.
11766 (special_fill_minus_min): Likewise.
11767 (special_fill_min_subnorm): Likewise.
11768 (special_fill_minus_min_subnorm): Likewise.
11769 (special_real_inputs): Add min, -min, min_subnorm and
11770 -min_subnorm.
11771 (calc_generic_results): Handle mpfr_ff_f.
11772 * sysdeps/i386/fpu/libm-test-ulps: Update.
11773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11774
5764c27f
WN
117752013-12-16 Will Newton <will.newton@linaro.org>
11776
11777 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
11778 (Aligned Memory Blocks): Add documentation for aligned_alloc
11779 and suggest it as an alternative to posix_memalign.
11780 (Hooks for Malloc): Document __memalign_hook is also called
11781 for aligned_alloc. (Summary of Malloc): Add summary for
11782 aligned alloc. Document __memalign_hook is also called
11783 for aligned_alloc.
11784
0a096e44
WN
117852013-12-16 Will Newton <will.newton@linaro.org>
11786
11787 * manual/memory.texi (Malloc Examples): Clarify default
11788 alignment documentation. Suggest posix_memalign rather
11789 than memalign or valloc.
11790 (Aligned Memory Blocks): Remove suggestion to use memalign
11791 or valloc. Remove obsolete comment about BSD.
11792 Document memalign errno values and mark the function obsolete.
11793 Document posix_memalign returned error codes. Mark valloc
11794 as obsolete. (Hooks for Malloc): __memalign_hook is also
11795 called for posix_memalign and valloc.
11796 (Summary of Malloc): Add posix_memalign to function summary.
11797 __memalign_hook is also called for posix_memalign and valloc.
11798
8d561986
SP
117992013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11800
11801 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
11802 TAYLOR_SIN.
11803 (__sin): Adjust.
11804 (__cos): Likewise.
11805 (sloww): Use mynumber union. Expand ternary operator into
11806 if-else statements.
11807 (cslow): use mynumber union.
11808
73616a74
AM
118092013-12-16 Allan McRae <allan@archlinux.org>
11810
9e8ac24b
AM
11811 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
11812 * configure: Regenerated.
11813
6f8e37eb
AM
11814 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
11815
8894bad3
AM
11816 [BZ #14120]
11817 * configure.ac: Added --enable-maintainer-mode. Check for
11818 autoconf when enabled.
11819 * configure: Regenerated.
11820
73616a74
AM
11821 * nscd/nscd.service: New file.
11822 * nscd/nscd.tmpfiles: New file.
11823
584b18eb
OB
118242013-12-14 Ondřej Bílka <neleai@seznam.cz>
11825
11826 [BZ #12100]
11827 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
11828 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
11829 * sysdeps/x86_64/multiarch/strstr.c: ... here.
11830 (strstr): Add __strstr_sse2_unaligned ifunc.
11831 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
11832 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
11833 (strcasestr): Remove __strcasestr_sse42 ifunc.
11834 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
11835 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11836 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11837
8a5c7897
KK
118382013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11839
11840 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
11841 * sysdeps/sh/bits/fenv.h: ... here.
11842 * sysdeps/sh/sh4/fpu/bits: Remove directory.
11843
fd712ef3
AZ
118442013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11845
11846 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
11847
42fcb46c
AZ
11848 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
11849 hypotf multiarch implementations.
11850 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
11851 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
11852 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
11853 multiarch hypot for PPC64.
11854 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
11855 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
11856 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
11857 multiarch hypotf for PPC64.
11858
83efded4
AZ
11859 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
11860 modff multiarch implementations.
11861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
11862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
11863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
11864 multiarch modf for PPC64.
11865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
11866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
11867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
11868 multiarch modff for PPC64.
11869
43e246d2
AZ
11870 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
11871 and logl multiarch implementations.
11872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
11873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
11874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
11875 multiarch logb for PPC64.
11876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
11877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
11878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
11879 multiarch logb for PPC64.
11880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
11881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
11882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
11883 multiarch logb for PPC64.
11884
8fdad123
AZ
11885 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
11886 isinff multiarch implementation.
11887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
11888 file.
11889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
11890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
11891 multiarch isinf for PPC64.
11892 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
11893 file.
11894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
11895 multiarch isinff for PPC64.
11896
1481d706
AZ
11897 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
11898 finitef multiarch implementation.
11899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
11900 file.
11901 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
11902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
11903 multiarch finite for PPC64.
11904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
11905 file.
11906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
11907 multiarch finitef for PPC64.
11908
5ccd5fc8
AZ
11909 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
11910 lrint multiarch implementation.
11911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
11912 file.
11913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
11914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
11915 multiarch llrint for PPC64.
11916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
11917 multiarch lrint for PPC64.
11918
2568f3fa
AZ
11919 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
11920 copysignf multiarch implementation.
11921 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
11922 file.
11923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
11924 file.
11925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
11926 multiarch copysign for PPC64.
11927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
11928 multiarch copysignf for PPC64.
11929
1cb341fd
AZ
11930 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
11931 multiarch implementation.
11932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
11933 file.
11934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
11935 file.
11936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
11937 file.
11938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
11939 file.
11940 multiarch llround for PPC64.
11941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
11942 multiarch trunc for PPC64.
11943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
11944 multiarch truncf for PPC64.
11945
59a3e194
AZ
11946 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
11947 multiarch implementation.
11948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
11949 file.
11950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
11951 file.
11952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
11953 file.
11954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
11955 file.
11956 multiarch llround for PPC64.
11957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
11958 multiarch round for PPC64.
11959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
11960 multiarch roundf for PPC64.
11961
357fd3b4
AZ
11962 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
11963 multiarch implementation.
11964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
11965 file.
11966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
11967 file.
11968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
11969 file.
11970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
11971 file.
11972 multiarch llround for PPC64.
11973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
11974 multiarch floor for PPC64.
11975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
11976 multiarch floorf for PPC64.
11977
96770f12
AZ
11978 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
11979 multiarch implementation.
11980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
11981 file.
11982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
11983 file.
11984 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
11985 file.
11986 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
11987 file.
11988 multiarch llround for PPC64.
11989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
11990 multiarch ceil for PPC64.
11991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
11992 multiarch ceilf for PPC64.
11993
c3627f6e
AZ
11994 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11995 multiarch implementation.
11996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
11997 file.
11998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
11999 file.
12000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
12001 file.
12002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
12003 multiarch llround for PPC64.
12004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
12005 multiarch lround for PPC64.
12006
b2284ad7
AZ
12007 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12008 multiarch implementation.
12009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
12010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
12011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
12012 file.
12013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
12014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
12015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
12016 multiarch isnan for PPC64.
12017 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
12018 multiarch isnanf for PPC64.
12019
69bbc63d
AZ
12020 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
12021 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
12022 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
12023 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
12024 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
12025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
12026
c24517c9
AZ
12027 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
12028 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12029 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12030 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12031
a52374e8
AZ
12032 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
12033 multiarch implementations.
12034 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12035 (__libc_ifunc_impl_list): Likewise.
12036 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
12037 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
12038 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
12039 multiarch stpcpy for PPC64.
12040
7f5ec113
AZ
12041 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
12042 multiarch implementations.
12043 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12044 (__libc_ifunc_impl_list): Likewise.
12045 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
12046 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
12047 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
12048 multiarch strcpy for PPC64.
12049
e28bcd42
AZ
12050 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
12051 redefine function name.
12052 (_wordcopy_fwd_dest_aligned): Likewise.
12053 (_wordcopy_bwd_aligned): Likewise.
12054 (_wordcopy_bwd_dest_aligned): Likewise.
12055 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
12056 multiarch implementations.
12057 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12058 (__libc_ifunc_impl_list): Likewise.
12059 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
12060 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
12061 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
12062 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
12063 multiarch wcscpy for PPC64.
12064
92cacfce
AZ
12065 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
12066 multiarch implementations.
12067 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12068 (__libc_ifunc_impl_list): Likewise.
12069 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
12070 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
12071 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
12072 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
12073 multiarch wcscpy for PPC64.
12074
7b714620
AZ
12075 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
12076 multiarch implementations.
12077 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12078 (__libc_ifunc_impl_list): Likewise.
12079 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
12080 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
12081 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
12082 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
12083 multiarch wcsrchr for PPC64.
12084
16fd2ae3
AZ
12085 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
12086 multiarch implementations.
12087 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12088 (__libc_ifunc_impl_list): Likewise.
12089 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
12090 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
12091 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
12092 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
12093 multiarch wcschr for PPC64.
12094
9ee2969b
AZ
12095 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
12096 multiarch implementations.
12097 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12098 (__libc_ifunc_impl_list): Likewise.
12099 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
12100 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
12101 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
12102 multiarch strchrnul for PPC64.
12103
372dc060
AZ
12104 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
12105 implementations.
12106 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12107 (__libc_ifunc_impl_list): Likewise.
12108 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
12109 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
12110 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
12111 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
12112 strchr for PPC64.
12113
24c2c3b9
AZ
12114 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
12115 implementations.
12116 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12117 (__libc_ifunc_impl_list): Likewise.
12118 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
12119 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
12120 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
12121 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
12122 strncmp for PPC64.
12123
1c92d9a0
AZ
12124 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
12125 multiarch implementations.
12126 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12127 (__libc_ifunc_impl_list): Likewise.
12128 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
12129 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
12130 strncasecmp for PPC64.
12131 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
12132 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
12133 multiarch strncasecmp_l for PPC64.
12134
17de3ee3
AZ
12135 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
12136 multiarch implementations.
12137 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12138 (__libc_ifunc_impl_list): Likewise.
12139 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
12140 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
12141 multiarch strcasecmp for PPC64.
12142 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
12143 file.
12144 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
12145 multiarch strcasecmp_l for PPC64.
12146
62982bf9
AZ
12147 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
12148 implementations.
12149 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12150 (__libc_ifunc_impl_list): Likewise.
12151 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
12152 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
12153 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
12154 strnlen for PPC64.
12155
a65f4904
AZ
12156 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
12157 implementations.
12158 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12159 (__libc_ifunc_impl_list): Likewise.
12160 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
12161 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
12162 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
12163 strlen for PPC64.
12164
1fd005ad
AZ
12165 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
12166 implementations.
12167 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12168 (__libc_ifunc_impl_list): Likewise.
12169 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
12170 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
12171 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
12172 rawmemrchr for PPC64.
12173
cd05ba91
AZ
12174 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
12175 implementation.
12176 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12177 (__libc_ifunc_impl_list): Likewise.
12178 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
12179 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
12180 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
12181 memrchr for PPC64.
12182
870f8676
AZ
12183 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
12184 implementation.
12185 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12186 (__libc_ifunc_impl_list): Likewise.
12187 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
12188 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
12189 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
12190 memchr for PPC64.
12191
f00be62b
AZ
12192 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
12193 implementation.
12194 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12195 (__libc_ifunc_impl_list): Likewise.
12196 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
12197 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
12198 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
12199 mempcpy for PPC64.
12200
8a29a3d0
AZ
12201 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
12202 avoid cretion of __bzero symbol.
12203 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
12204 Likewise.
12205 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
12206 Likewise.
12207 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
12208 Likewise.
12209 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
12210 multiarch implementations.
12211 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12212 (__libc_ifunc_impl_list): Likewise.
12213 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
12214 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
12215 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
12216 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
12217 bzero for PPC32.
12218 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
12219 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
12220 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
12221 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
12222 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
12223 memset for PPC64.
12224 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
12225
07253fcf
AZ
12226 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
12227 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
12228 implementations.
12229 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12230 (__libc_ifunc_impl_list): Likewise.
12231 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
12232 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
12233 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
12234 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
12235 memcmp for PPC64.
12236
b5beafbc
AZ
12237 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
12238 multiarch for POWER/PPC64.
12239 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
12240 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
12241 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
12242 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
12243 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
12244 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
12245 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
12246 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
12247 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
12248 memcpy for PPC64.
12249
5e6a4d4b
AZ
12250 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
12251 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
12252 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
12253 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
12254 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
12255 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
12256 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
12257 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
12258 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
12259 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
12260 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
12261 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
12262 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
12263 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
12264 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
12265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
12266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
12267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
12268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
12269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
12270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
12271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
12272
ddfab6dc
KK
122732013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12274
12275 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
12276
19b5525e
SP
122772013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12278
12279 * benchtests/Makefile (bench): Add exp2 and log2.
12280 (LDLIBS-bench-exp2): Add -lm.
12281 (LDLIBS-bench-log2): Likewise.
12282 * benchtests/exp2-inputs: New inputs file.
12283 * benchtests/log2-inputs: New inputs file.
12284 * benchtests/log-inputs: Add new inputs.
12285 * benchtests/tan-inputs: Likewise.
12286
196f7f5d
SP
122872013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12288
7a74607f
SP
12289 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
12290 definition...
57f41c40
AS
12291 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
12292 (csloww2): ... from here.
7a74607f 12293
196f7f5d
SP
12294 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
12295 instead of structures.
12296 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
12297 (POLYNOMIAL): Likewise.
12298 (TAYLOR_SLOW): Likewise.
12299 (__sin): Likewise.
12300 (__cos): Likewise.
12301 (slow1): Likewise.
12302 (slow2): Likewise.
12303 (sloww): Likewise.
12304 (sloww1); Likewise.
12305 (sloww2): Likewise.
12306 (bsloww1): Likewise.
12307 (bsloww2): Likewise.
12308 (cslow2): Likewise.
12309 (csloww): Likewise.
12310 (csloww1): Likewise.
12311 (csloww2): Likewise.
12312
0dfa665c
OB
123132013-12-10 Ondřej Bílka <neleai@seznam.cz>
12314
12315 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
12316 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
12317 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
12318 * malloc/hooks.c (realloc_check): Likewise.
12319
5782a80f
OB
12320 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
12321 * malloc/arena.c: Remove PER_THREAD conditional.
12322 [!PER_THREAD]: Remove code.
12323 (ptmalloc_unlock_all2): Likewise.
12324 (ptmalloc_init): Likewise.
12325 (_int_new_arena): Likewise.
12326 (arena_get2): Likewise.
12327 * malloc/hooks.c (__malloc_get_state): Likewise.
12328 (__malloc_set_state): Likewise.
12329 * malloc/malloc.c: Likewise.
12330 (struct malloc_state): Likewise.
12331 (struct malloc_par): Likewise.
12332 (__libc_realloc): Likewise.
12333 (__libc_mallopt): Likewise.
12334
aeb95445
AZ
123352013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12336
12337 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
12338
e8349efd
OB
123392013-12-09 Ondřej Bílka <neleai@seznam.cz>
12340
12341 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
12342 macro to a function. Check for zero perturb_byte.
12343 (_int_malloc, _int_free): Remove zero perturb_byte checks.
12344
f3eeb3fc 12345 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
12346 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
12347 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
12348 force_reg by atomic_forced_read.
12349 * malloc/arena.c (ptmalloc_init): Likewise.
12350 * malloc/hooks.c (top_check): Likewise.
12351
be2f9009
AZ
123522013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12353
12354 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12355
e7b914bd
MT
123562013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
12357
12358 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12359
9f0be4f8
JM
123602013-12-08 Joseph Myers <joseph@codesourcery.com>
12361
12362 * math/auto-libm-test-in: Add tests of lgamma.
12363 * math/auto-libm-test-out: Regenerated.
12364 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
12365 (M_LOG_2_SQRT_PIl): Likewise.
12366 (lgamma_test_data): Use AUTO_TESTS_f_f1.
12367 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12368 mpfr_f_f1.
12369 (func_calc_desc): Add mpfr_f_f1 union field.
12370 (ARGS1): New macro.
12371 (ARGS2): Likewise.
12372 (ARGS3): Likewise.
12373 (ARGS4): Likewise.
12374 (RET1): Likewise.
12375 (RET2): Likewise.
12376 (CALC): Likewise.
12377 (FUNC): Likewise.
12378 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
12379 (test_functions): Add lgamma.
12380 (calc_generic_results): Handle mpfr_f_f1.
12381 * sysdeps/i386/fpu/libm-test-ulps: Update.
12382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12383
24eeafdb
AZ
123842013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12385
12386 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
12387 __mpn_add_n for PowerPC64/POWER7.
12388 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
12389 __mpn_sub_n for PowerPC64/POWER7.
12390
4a2c0fd4
AZ
12391 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
12392 __mpn_addmul_1 for PowerPC64.
12393 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
12394 __mpn_submul_1 for PowerPC64.
12395 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
12396 for PowerPC64.
12397 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
12398 for PowerPC64.
12399
4b5b548c
FS
124002013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
12401
12402 [BZ #15089]
12403 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
12404
0a3ac0aa
AZ
124052013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12406
12407 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
12408
ccdc8438
AZ
12409 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
12410 add multiarch folders.
12411 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
12412 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
12413 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
12414 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
12415 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
12416 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
12417 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
12418 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
12419 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
12420 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
12421 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
12422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
12423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
12424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
12425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
12426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
12427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
12428
2e973d99
AZ
12429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12430 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
12431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
12432 New file.
12433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
12434 New file.
12435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
12436 multiarch __ieee754_hypot for PowerPC32.
12437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
12438 New file.
12439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
12440 New file.
12441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
12442 multiarch __ieee754_hypotf for PowerPC32.
12443
2d9470b2
AZ
12444 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
12445 long_double_symbol only if __logbl is defined.
12446 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
12447 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
12448 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
12449 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
12450 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
12451 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
12452 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
12453 path for implementation.
12454 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
12455 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
12456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
12457 logb, and logbl multiarch implementations for PowerPC32.
12458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
12459 file.
12460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
12461 file.
12462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
12463 multiarch logb for PowerPC32.
12464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
12465 file.
12466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
12467 file.
12468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
12469 multiarch logbf for PowerPC32.
12470 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
12471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
12472 file.
12473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
12474 multiarch logbl implementation for PowerPC32.
12475
5212ffce
AZ
12476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
12477 and modff multiarch implementations.
12478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
12479 New file.
12480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
12481 New file.
12482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
12483 multiarch modf for PowerPC32.
12484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
12485 New file.
12486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
12487 New file.
12488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
12489 multiarch modff for PowerPC32.
12490
79dccf31
AZ
12491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
12492 and lrintf multiarch implementations.
12493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
12494 New file.
12495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
12496 New file.
12497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
12498 multiarch lrint for PowerPC32.
12499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
12500 file: multiarch lrintf for PowerPC32.
12501
deb66480
AZ
12502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
12503 and lroundf multiarch implementations.
12504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
12505 New file.
12506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
12507 New file.
12508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
12509 New file.
12510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
12511 multiarch lround for PowerPC32.
12512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
12513 file: multiarch lroundf for PowerPC32.
12514
264b036b
AZ
12515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12516 copysign and copysignf multiarch implementations.
12517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
12518 New file.
12519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
12520 New file.
12521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
12522 file: multiarch copysign for PowerPC32.
12523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
12524 file: multiarch copysignf for PowerPC32.
12525
d47db6c9
AZ
12526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
12527 and truncf multiarch implementations.
12528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
12529 New file.
12530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
12531 file.
12532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
12533 multiarch trunc for PowerPC32.
12534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
12535 New file.
12536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
12537 New file.
12538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
12539 multiarch truncf for PowerPC32.
12540
ddb60b5a
AZ
12541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
12542 and roundf multiarch implementations.
12543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
12544 New file.
12545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
12546 file.
12547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
12548 multiarch round for PowerPC32.
12549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
12550 New file.
12551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
12552 New file.
12553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
12554 multiarch roundf for PowerPC32.
12555
bedcf49b
AZ
12556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
12557 and floorf multiarch implementations.
12558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
12559 New file.
12560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
12561 file.
12562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
12563 multiarch floor for PowerPC32.
12564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
12565 New file.
12566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
12567 New file.
12568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
12569 multiarch floorf for PowerPC32.
12570
35ae5b40
AZ
12571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
12572 and ceilf multiarch implementations.
12573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
12574 New file.
12575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
12576 file.
12577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
12578 multiarch ceil for PowerPC32.
12579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
12580 New file.
12581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
12582 file.
12583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
12584 multiarch ceilf for PowerPC32.
12585
ae1a4cd9
AZ
12586 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
12587 is defined.
12588 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
12589 FINITEF is defined.
12590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
12591 and finitef multiarch implementations.
12592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
12593 New file.
12594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
12595 file.
12596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
12597 multiarch finite for PowerPC32.
12598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
12599 New file.
12600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
12601 file: multiarch finitef for PowerPC32.
12602
64fffd65
AZ
12603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
12604 and isinff multiarch implementations.
12605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
12606 file.
12607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
12608 file.
12609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
12610 multiarch isinf for PowerPC32.
12611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
12612 New file.
12613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
12614 multiarch isinff for PowerPC32.
12615
8e4e7ba2
AZ
12616 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
12617 alias when __isnan is defined.
12618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
12619 and isnanf multiarch implementations.
12620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
12621 file.
12622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
12623 file.
12624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
12625 file.
12626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
12627 file.
12628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
12629 multiarch isnan for PowerPC32.
12630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
12631 New file.
12632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
12633 New file.
12634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
12635 multiarch isnanf for PowerPC32.
12636
ddba588e
AZ
12637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
12638 and sqrtf multiarch implementations.
12639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
12640 file.
12641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
12642 file.
12643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
12644 multiarch sqrt for PowerPC32.
12645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
12646 file.
12647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
12648 file.
12649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
12650 multiarch sqrtf for PowerPC32.
12651
0f96a2f0
AZ
12652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
12653 and llroundf multiarch implementations.
12654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
12655 New file.
12656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
12657 New file.
12658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
12659 New file.
12660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
12661 file: multiarch llround for PowerPC32.
12662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
12663 file: multiarch llroundf for PowerPC32.
12664
c9b5d79e
AZ
12665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
12666 multiarch PowerPC32 fpu implementations.
12667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
12668 New file.
12669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
12670 New file.
12671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
12672 multiarch llrint for PowerPC32.
12673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
12674 New file.
12675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
12676 New file.
12677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
12678 file.
12679
9cbb3aab
AZ
12680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
12681
ea5a72f8
AZ
12682 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
12683 file.
12684 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
12685 file.
12686 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
12687 file.
12688 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
12689 multiarch wordcopy for PPC32.
12690 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12691 wordcopy objects.
12692 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12693 (__libc_ifunc_impl_list): Likewise.
12694 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
12695 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
12696 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
12697 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
12698 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
12699 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
12700
93be09e7
AZ
12701 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
12702 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
12703 file.
12704 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
12705 file.
12706 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
12707 file.
12708 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
12709 multiarch wcscpy for PPC32.
12710 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12711 multiarch objects.
12712 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12713 (__libc_ifunc_impl_list): Likewise.
12714 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12715 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12716 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
12717 sysdeps/powerpc/power6/wcscpy.c.
12718
bb04e529
AZ
12719 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
12720 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
12721 file.
12722 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
12723 file.
12724 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
12725 file.
12726 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
12727 multiarch wcsrchr for PPC32.
12728 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12729 multiarch objects.
12730 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12731 (__libc_ifunc_impl_list): Likewise.
12732 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12733 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12734 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
12735 sysdeps/powerpc/power6/wcsrchr.c.
12736
05b5cd1c
AZ
12737 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
12738 file.
12739 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
12740 file.
12741 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
12742 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
12743 multiarch wcschr for PPc32.
12744 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12745 multiarch objects.
12746 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12747 (__libc_ifunc_impl_list): Likewise.
12748 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
12749 * sysdeps/powerpc/power6/wcschr.c: ... to here.
12750 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
12751 sysdeps/powerpc/power6/wcschr.c.
12752
ba964147
AZ
12753 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
12754 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
12755 file.
12756 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
12757 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
12758 file: multiarch strchr for PPC32.
12759 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
12760 multiarch objects.
12761 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12762 (__libc_ifunc_impl_list): Likewise.
12763
31c81aaa
AZ
12764 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
12765 name.
12766 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
12767 file.
12768 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
12769 file.
12770 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
12771 multiarch strchrnul for PPC32.
12772 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
12773 multiarch objects.
12774 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12775 (__libc_ifunc_impl_list): Likewise.
12776
0d0607d9
AZ
12777 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
12778 file.
12779 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
12780 multiarch strncasecmp for PPC32.
12781 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
12782 file.
12783 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
12784 multiarch strncasecmp_l for PPC32.
12785 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
12786 strncasecmp multiarch objects.
12787 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12788 (__libc_ifunc_impl_list): Likewise.
12789
4dfd5c86
AZ
12790 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
12791 file.
12792 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
12793 multiarch strncasecmp for PPC32.
12794 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12795 New file.
12796 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
12797 multiarch strcasecmp_l for PPC32.
12798 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
12799 multiarch objects.
12800 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12801 (__libc_ifunc_impl_list): Likewise.
12802
a19e01a3
AZ
12803 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
12804 file.
12805 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
12806 file.
12807 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
12808 multiarch strncmp for PPC32.
12809 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
12810 multiarch objects.
12811 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12812 (__libc_ifunc_impl_list): Likewise.
12813
ae9cf7a2
AZ
12814 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
12815 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
12816 file.
12817 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
12818 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
12819 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
12820 multiarch objects.
12821 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12822 (__libc_ifunc_impl_list): Likewise.
12823
3148bb7d
AZ
12824 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
12825 file.
12826 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
12827 file.
12828 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
12829 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
12830 multiarch objects.
12831 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12832 (__libc_ifunc_impl_list): Likewise.
12833
7af8b946
AZ
12834 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
12835 file.
12836 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
12837 file.
12838 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
12839 multiarch rawmemchr for PPC32.
12840 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
12841 multiarch objects.
12842 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12843 (__libc_ifunc_impl_list): Likewise.
12844
03a6aa6a
AZ
12845 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
12846 file.
12847 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
12848 file.
12849 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
12850 file: memrchr multiarch for PPC32.
12851 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
12852 multiarch objects.
12853 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12854 (__libc_ifunc_impl_list): Likewise.
12855
1c62e6d9
AZ
12856 * string/memchr.c (__memchr): Using macro to redefine symbol name.
12857 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
12858 file.
12859 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
12860 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
12861 multiarch memchr for PPC32.
12862 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
12863 multiarch objects.
12864 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12865 (__libc_ifunc_impl_list): Likewise.
12866
87da8bdb
AZ
12867 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
12868 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
12869 file.
12870 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
12871 file.
12872 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
12873 file: multiarch mempcpy for PPC32.
12874 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
12875 multiarch objects.
12876 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12877 (__libc_ifunc_impl_list): Likewise.
12878
20ed4714
AZ
12879 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
12880 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
12881 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
12882 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
12883 multiarch bzero for PPC32.
12884 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
12885 file.
12886 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
12887 file.
12888 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
12889 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
12890 file: multiarch memset for PPC32.
12891 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
12892 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
12893 memset multiarch objects.
12894 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12895 (__libc_ifunc_impl_list): Likewise.
12896
ab3e3a46
AZ
12897 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
12898 file.
12899 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
12900 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
12901 memcmp for PPC32.
12902 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
12903 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
12904 multiarch objects.
12905 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12906 (__libc_ifunc_impl_list): Likewise.
12907
930de6f0
AZ
12908 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
12909 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
12910 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
12911 file.
12912 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
12913 file.
12914 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
12915 file.
12916 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
12917 multiarch memcpy for PPC32.
12918 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
12919 multiarch objects.
12920 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12921 (__libc_ifunc_impl_list): Likewise.
12922
4c628e00
AZ
12923 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
12924 support multiarch for POWER/PPC32.
12925 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
12926 Likewise.
12927 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
12929 Implies file to make multiarch folder appers before the fpu and
12930 default folder for power4 configuration.
12931
f4479220
SP
129322013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12933
12934 * scripts/bench.pl: Append volatile keyword to type.
12935
8517800f
KK
129362013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12937
12938 * sysdeps/sh/sotruss-lib.c: New file.
12939 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
12940
180138f1
AZ
129412013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12942
12943 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12944
bbf37bdc
JM
129452013-12-05 Joseph Myers <joseph@codesourcery.com>
12946
e47cc4e0
JM
12947 [BZ #6810]
12948 * math/w_tgamma.c: Include <errno.h>.
12949 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
12950 * math/w_tgammaf.c: Include <errno.h>.
12951 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
12952 * math/w_tgammal.c: Include <errno.h>.
12953 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
12954 * math/auto-libm-test-in: Do not allow missing errno on tgamma
12955 underflow. Add more tgamma tests.
12956 * math/auto-libm-test-out: Regenerated.
12957 * sysdeps/i386/fpu/libm-test-ulps: Update.
12958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12959
bbf37bdc
JM
12960 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
12961 sin, sinh, tan, tanh, tgamma, y0 and y1.
12962 * math/auto-libm-test-out: Regenerated.
12963 * math/libm-test.inc (TEST_COND_x86_64): New macro.
12964 (TEST_COND_x86): Likewise.
12965 (M_E2l): Remove macro.
12966 (M_E3l): Likewise.
12967 (M_2_SQRT_PIl): Likewise.
12968 (M_SQRT_PIl): Likewise.
12969 (M_1_DIV_El): Likewise.
12970 (log_test_data): Use AUTO_TESTS_f_f.
12971 (log10_test_data): Likewise.
12972 (log1p_test_data): Likewise.
12973 (log2_test_data): Likewise.
12974 (sin_test_data): Likewise.
12975 (sin_tonearest_test_data): Likewise.
12976 (sin_towardzero_test_data): Likewise.
12977 (sin_downward_test_data): Likewise.
12978 (sin_upward_test_data): Likewise.
12979 (sinh_test_data): Likewise.
12980 (sinh_tonearest_test_data): Likewise.
12981 (sinh_towardzero_test_data): Likewise.
12982 (sinh_downward_test_data): Likewise.
12983 (sinh_upward_test_data): Likewise.
12984 (tan_test_data): Likewise.
12985 (tan_tonearest_test_data): Likewise.
12986 (tan_towardzero_test_data): Likewise.
12987 (tan_downward_test_data): Likewise.
12988 (tan_upward_test_data): Likewise.
12989 (tanh_test_data): Likewise.
12990 (tgamma_test_data): Likewise.
12991 (y0_test_data): Likewise.
12992 (y1_test_data): Likewise.
12993 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
12994 (special_real_inputs): Add pi/4.
12995 * sysdeps/i386/fpu/libm-test-ulps: Update.
12996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12997
eb5ad6b9
AZ
129982013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12999
13000 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
13001 "longjmp_target" static probes.
13002 (__longjmp): Rename to __longjmp_symbol.
13003 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13004 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
13005 on which longjmp to generate.
13006 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13007 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
13008 probe.
13009 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13010 (__sigjmp_save): Rename to __sigjmp_save_symbol.
13011 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13012 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
13013 and __sigjmp_save_symbol based on which sigsetjmp to generated.
13014 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
13015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
13016 __longjmp_symbol based on which __longjmp to generate.
13017 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
13018 probe.
13019 (setjmp): Rename to setjmp_symbol.
13020 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13021 (_setjmp): Rename to _setjmp_symbol.
13022 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13023 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
13024 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
13025 which setjmp to generate.
13026 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
13027 "longjmp_target" static probes.
13028
d136c6dc
SP
130292013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13030
9298ecba
SP
13031 * benchtests/README: Add note about output arguments.
13032 * benchtests/bench-sincos.c: Remove file.
13033 * benchtests/sincos-inputs: New file.
13034 * scripts/bench.pl: Identify output arguments and define
13035 static variables for them.
13036
232983e9
SP
13037 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
13038
d136c6dc
SP
13039 [BZ #15941]
13040 * Makefile (INSTALL): Add install-plain.texi as the primary
13041 dependency.
13042 * manual/install-plain.texi: New file.
13043 * manual/install.texi: Include node directive only for
13044 non-plaintext output.
13045
699ff837
JM
130462013-12-04 Joseph Myers <joseph@codesourcery.com>
13047
ab07cea8
JM
13048 * stdlib/longlong.h: Update from GCC.
13049
699ff837
JM
13050 [BZ #6807]
13051 [BZ #15901]
13052 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
13053 * math/w_j0f.c (y0f): Likewise.
13054 * math/w_j0l.c (__y0l): Likewise.
13055 * math/w_j1.c (y1): Likewise.
13056 * math/w_j1f.c (y1f): Likewise.
13057 * math/w_j1l.c (__y1l): Likewise
13058 * math/w_jn.c (yn): Likewise.
13059 * math/w_jnf.c (ynf): Likewise.
13060 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
13061 Bessel function pole errors in _POSIX_ mode. Use NAN as return
13062 value for Bessel function domain errors outside _SVID_ mode.
13063 Adjust sign of return value for yn (negative integer, 0).
13064 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
13065 by zero in return for negative x and set sign appropriately for
13066 negative n.
13067 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
13068 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13069 * math/libm-test.inc (y0_test_data): Add more tests and adjust
13070 expectations in error cases.
13071 (y1_test_data): Likewise.
13072 (yn_test_data): Likewise.
13073 * sysdeps/i386/fpu/libm-test-ulps: Update.
13074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13075
5b118558
UW
130762013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13077
13078 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
13079 "64" to "64-v1". Add "64-v2".
13080 (abi-64-options): Rename to ...
13081 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
13082 (abi-64-condition): Rename to ...
13083 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
13084 (abi-64-ld-soname): Rename to ...
13085 (abi-64-v1-ld-soname): ... this.
13086 (abi-64-v2-options): Define.
13087 (abi-64-v2-condition): Likewise.
13088 (abi-64-v2-ld-soname): Likewise.
13089 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
13090 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
13091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
13092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
13093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
13094
61cd8fe4
UW
130952013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13096 Alan Modra <amodra@gmail.com>
13097
13098 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
13099 New versions for use with the ELFv2 ABI.
13100 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
13101 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
13102 declaration.
13103 (struct La_ppc64v2_retval): Likewise.
13104 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
13105 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
13106 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
13107 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
13108 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
13109 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13110 Do not save or restore CR.
13111 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
13112 (_dl_profile_resolve): Do no save or restore CR. Support extended
13113 return values for ELFv2 ABI. Fix location of FPR return registers.
13114 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
13115 updated values for _CALL_ELF == 2.
13116 (La_regs, La_retval, int_retval): Likewise.
13117
8b8a692c
UW
131182013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13119
13120 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
13121 (FRAME_MIN_SIZE_PARM): Likewise.
13122 (FRAME_BACKCHAIN): Likewise.
13123 (FRAME_CR_SAVE): Likewise.
13124 (FRAME_LR_SAVE): Likewise.
13125 (FRAME_TOC_SAVE): Likewise.
13126 (FRAME_PARM_SAVE): Likewise.
13127 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
13128 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
13129 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13130 (call_mcount_parm_offset): New macro.
13131 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
13132 (PROF): Use symbolic stack frame offsets.
13133 (TAIL_CALL_SYSCALL_ERROR): Likewise.
13134 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
13135 Redefine in terms of FRAME_MIN_SIZE.
13136 (_dl_runtime_resolve): Use symbolic stack frame offsets.
13137 (_dl_profile_resolve): Likewise. Update comment.
13138 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
13139 symbols stack frame offsets.
13140 (__sigsetjmp): Likewise.
13141 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
13142 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
13143 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
13144 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
13145
13146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
13147 (FRAME_BACKCHAIN): Remove.
13148 (FRAME_CR_SAVE): Likewise.
13149 (FRAME_LR_SAVE): Likewise.
13150 (FRAME_COMPILER_DW): Likewise.
13151 (FRAME_LINKER_DW): Likewise.
13152 (FRAME_TOC_SAVE): Likewise.
13153 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
13154 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
13155 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
13156 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
13157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
13158 (CHECK_SP): Use symbolic stack frame offsets.
13159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
13160 zone" instead of caller's parameter save area for temp storage.
13161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13162 Likewise. Also, use symbolic stack frame offsets.
13163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
13164 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
13165 our own stack frame instead of the caller's.
13166 (__socket): Use symbolic stack frame offsets.
13167
122b66de
UW
131682013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13169 Alan Modra <amodra@gmail.com>
13170
13171 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
13172 Define.
57f41c40
AS
13173 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
13174 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
13175 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
13176 New function.
13177 (elf_machine_fixup_plt): Call it.
13178 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
13179 reloc arguments.
13180 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
13181 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13182 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
13183 r2 before calling target.
13184
696caf1d
UW
131852013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13186 Alan Modra <amodra@gmail.com>
13187
13188 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
13189 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
13190 versions of macros to support ELFv2 ABI.
13191 (LOCALENTRY): New macro.
13192 (ENTRY, EALIGN): Use it.
13193 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
13194 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
13195 fall through into ENTRY entry point.
13196 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
13197 Only define if _CALL_ELF != 2.
13198
13199 (elf_machine_matches_host): Verify ABI version matches.
13200 (RTLD_START): Use LOCALENTRY.
13201 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
13202 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
13203 (PLT_ENTRY_WORDS): New macro.
13204 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
13205 (elf_machine_runtime_setup): Support ELFv2 ABI.
13206 (elf_machine_fixup_plt): Likewise.
13207 (elf_machine_plt_conflict): Likewise.
13208 (resolve_ifunc): Likewise.
13209 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13210 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13211 Likewise.
13212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
13213 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
13214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13215 (makecontext): Support ELFv2 ABI.
13216 * elf/elf.h (EF_PPC64_ABI): Define.
13217
d31beafa
UW
132182013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13219
57f41c40
AS
13220 * sysdeps/powerpc/powerpc64/sysdep.h
13221 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
13222 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
13223 (ENTRY) [ASSEMBLER]: ... but instead here ...
13224 (EALIGN) [ASSEMBLER]: ... and here.
13225 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
13226 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
13227 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
13228 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
13229 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
13230 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13231 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
13232 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
13233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
13234 Use PPC64_LOAD_FUNCPTR.
13235
b525166b
UW
13236 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
13237
7ec07d9a
AM
132382013-12-04 Alan Modra <amodra@gmail.com>
13239
13240 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
13241 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
13242 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
13243 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
13244
13245 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
13246 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
13247 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
13248 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
13249 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
13250 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
13251
5162e7dd
UW
132522013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13253
13254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13255 (__makecontext): Fix incorrect CFI when backtracing out of
13256 context created via makecontext.
13257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
13258 (__setcontext): Fix incorrect CFI during switch to new context.
13259 (__novec_setcontext): Likewise.
13260
19e3372b
OB
132612013-12-04 Ondřej Bílka <neleai@seznam.cz>
13262
13263 [BZ #4772]
13264 * time/strptime_l.c (__strptime_internal): Allow modifiers
13265 in strptime.
13266 * time/tst-strptime.c (day_tests): Add testcase.
13267
ecaf142d
SP
132682013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13269
13270 * scripts/bench.pl: Skip over blank lines.
13271
fbf964ae
PE
132722013-12-04 Paul Eggert <eggert@cs.ucla.edu>
13273
13274 [BZ #926]
13275 * manual/time.texi (Calendar Time): Clarify what timezone functions
13276 use.
13277
fa60a674
AZ
132782013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13279
13280 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13281
d674f0ef
OB
132822013-12-04 Ondřej Bílka <neleai@seznam.cz>
13283
13284 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
13285 implementation.
13286 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13287 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13288 * debug/memset_chk.c (__memset_chk): Likewise.
13289 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
13290 * debug/strncpy_chk.c: Likewise.
13291
17dea188
JM
132922013-12-03 Joseph Myers <joseph@codesourcery.com>
13293
749008ff
JM
13294 [BZ #15268]
13295 [BZ #15425]
13296 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
13297 (__ieee754_exp): For possibly underflowing results, check size of
13298 result and force underflow exception if required.
13299 * math/auto-libm-test-in: Add more tests of exp.
13300 * math/auto-libm-test-out: Regenerated.
13301 * sysdeps/i386/fpu/libm-test-ulps: Update.
13302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13303
17dea188
JM
13304 [BZ #16283]
13305 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
13306 * math/w_exp2f.c (__exp2f): Likewise.
13307 * math/w_exp2l.c (__exp2l): Likewise.
13308 * math/auto-libm-test-in: Do not allow missing errno on exp2
13309 underflow.
13310 * math/auto-libm-test-out: Regenerated.
13311
b20de2c3
OB
133122013-12-03 Ondřej Bílka <neleai@seznam.cz>
13313
13314 [BZ #16274]
13315 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
13316 handle filename validation.
13317 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
13318 (do_open): Delete.
13319
d8e2dbe3
JM
133202013-12-03 Joseph Myers <joseph@codesourcery.com>
13321
34e16df5
JM
13322 [BZ #6786]
13323 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
13324 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
13325 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
13326 <float.h>.
13327 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
13328 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
13329 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13330 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
13331 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13332 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
13333 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13334 * math/auto-libm-test-in: Don't allow missing errno from erfc.
13335 Add more erfc tests.
13336 * math/auto-libm-test-out: Regenerated.
13337 * sysdeps/i386/fpu/libm-test-ulps: Update.
13338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13339
d8e2dbe3
JM
13340 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
13341 exp2, expm1, j0 and j1.
13342 * math/auto-libm-test-out: Regenerated.
13343 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
13344 (erfc_test_data): Likewise.
13345 (exp_test_data): Likewise.
13346 (exp_tonearest_test_data): Likewise.
13347 (exp_towardzero_test_data): Likewise.
13348 (exp_downward_test_data): Likewise.
13349 (exp_upward_test_data): Likewise.
13350 (exp10_test_data): Likewise.
13351 (exp2_test_data): Likewise.
13352 (expm1_test_data): Likewise.
13353 (j0_test_data): Likewise.
13354 (j1_test_data): Likewise.
13355 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
13356 (input_flag_type): Add flag_xfail_rounding.
13357 (input_flags): Add xfail-rounding.
13358 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
13359 (output_for_one_input_case): Handle flag_xfail_rounding.
13360 * sysdeps/i386/fpu/libm-test-ulps: Update.
13361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13362
18d14251
AJ
133632013-12-03 Aurelien Jarno <aurelien@aurel32.net>
13364
3d2e6075 13365 [BZ #16289]
18d14251
AJ
13366 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
13367 division by 0.
13368
520d437b
SP
133692013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13370
13371 [BZ #16195]
13372 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
13373 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
13374 (STAP_PROBE0): New macro.
13375 (STAP_PROBE1): Likewise.
13376 (STAP_PROBE2): Likewise.
13377 (STAP_PROBE3): Likewise.
13378 (STAP_PROBE4): Likewise.
13379
416e0145
OB
133802013-12-02 Ondřej Bílka <neleai@seznam.cz>
13381
13382 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
13383
9d17796a
SE
133842013-12-02 Steve Ellcey <sellcey@mips.com>
13385
13386 * benchtests/Makefile (bench): Add sqrt.
13387 (LDLIBS-bench-sqrt): New.
13388 * benchtests/sqrt-input: New.
13389
f524d6a8
PS
133902013-12-02 Pavel Simerda <psimerda@redhat.com>
13391
639a0ef8
PS
13392 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
13393 (GAIH_EAI): Likewise.
13394 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
13395 (gaih_inet): Likewise.
13396 (getaddrinfo): Don't use GAIH_EAI.
13397
f524d6a8
PS
13398 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
13399 (struct gaih): Remove definition.
13400
df3aedaf
SP
134012013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13402
13403 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
13404 Use HERRNOP directly.
13405
1ab19dec
AZ
134062013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13407
b42ad38d 13408 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 13409
176b0c79
JM
134102013-11-30 Joseph Myers <joseph@codesourcery.com>
13411
13412 * math/gen-auto-libm-tests.c (test_functions): Add more
13413 single-argument functions.
13414 (special_fill_pi_2): New function.
13415 (special_fill_minus_pi_2): Likewise.
13416 (special_fill_pi_6): Likewise.
13417 (special_fill_minus_pi_6): Likewise.
13418 (special_fill_pi_3): Likewise.
13419 (special_fill_2pi_3): Likewise.
13420 (special_fill_e): Likewise.
13421 (special_fill_1_e): Likewise.
13422 (special_fill_e_minus_1): Likewise.
13423 (special_real_inputs): Add more special inputs.
13424 (output_for_one_input_case): Do not require ERANGE on underflow to
13425 zero if round-to-nearest result does not underflow to zero, unless
13426 exact results required.
13427 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
13428 atan, atanh, cbrt, cos and cosh.
13429 * math/auto-libm-test-out: Regenerated.
13430 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
13431 (acos_tonearest_test_data): Likewise.
13432 (acos_towardzero_test_data): Likewise.
13433 (acos_downward_test_data): Likewise.
13434 (acos_upward_test_data): Likewise.
13435 (acosh_test_data): Likewise.
13436 (asin_test_data): Likewise.
13437 (asin_tonearest_test_data): Likewise.
13438 (asin_towardzero_test_data): Likewise.
13439 (asin_upward_test_data): Likewise.
13440 (asinh_test_data): Likewise.
13441 (atan_test_data): Likewise.
13442 (atanh_test_data): Likewise.
13443 (cbrt_test_data): Likewise.
13444 (cos_test_data): Likewise.
13445 (cos_tonearest_test_data): Likewise.
13446 (cos_towardzero_test_data): Likewise.
13447 (cos_downward_test_data): Likewise.
13448 (cos_upward_test_data): Likewise.
13449 (cosh_test_data): Likewise.
13450 (cosh_tonearest_test_data): Likewise.
13451 (cosh_towardzero_test_data): Likewise.
13452 (cosh_downward_test_data): Likewise.
13453 (cosh_upward_test_data): Likewise.
13454 * sysdeps/i386/fpu/libm-test-ulps: Update.
13455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13456
ffb536d0
JM
134572013-11-29 Joseph Myers <joseph@codesourcery.com>
13458
2a77a467
JM
13459 [BZ #6787]
13460 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
13461 * math/w_exp10f.c (__exp10f): Likewise.
13462 * math/w_exp10l.c (__exp10l): Likewise.
13463 * math/libm-test.inc (exp10_test_data): Add more tests and expect
13464 errno settings in existing tests.
13465
ea3bc4e8
JM
13466 [BZ #14032]
13467 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
13468 precision control set to double precision.
13469 * sysdeps/i386/fpu/w_sqrt.c: New file.
13470 * math/auto-libm-test-in: Add more tests.
13471 * math/auto-libm-test-out: Update.
13472
0712c9d8
JM
13473 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
13474 (sqrt_test_tonearest): New function.
13475 (sqrt_towardzero_test_data): New variable.
13476 (sqrt_test_towardzero): New function.
13477 (sqrt_downward_test_data): New variable.
13478 (sqrt_test_downward): New function.
13479 (sqrt_upward_test_data): New variable.
13480 (sqrt_test_upward): New function.
13481 (main): Call the new functions.
13482
ffb536d0
JM
13483 * math/gen-auto-libm-tests.c: New file.
13484 * math/auto-libm-test-in: Likewise.
13485 * math/auto-libm-test-out: New generated file.
13486 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
13487 variables.
13488 (%beautify): Add generated representations of zero.
13489 (top level): Set $auto_input and call parse_auto_input.
13490 (beautify): Remove trailing "f" from hex float constants.
13491 (parse_args): Handle XFAIL_TEST.
13492 (convert_condition): New function.
13493 (or_value): Likewise.
13494 (or_cond_value): Likewise.
13495 (generate_testfile): Handle AUTO_TESTS_* lines.
13496 (parse_auto_input): New function.
13497 * math/libm-test.inc (XFAIL_TEST): New macro.
13498 (ERRNO_UNCHANGED): Update value.
13499 (ERRNO_EDOM): Likewise.
13500 (ERRNO_ERANGE): Likewise.
13501 (IGNORE_RESULT): Likewise.
13502 (TEST_COND_flt_32): New macro.
13503 (TEST_COND_dbl_64): Likewise.
13504 (TEST_COND_ldbl_96_intel): Likewise.
13505 (TEST_COND_ldbl_96_m68k): Likewise.
13506 (TEST_COND_ldbl_128): Likewise.
13507 (TEST_COND_ldbl_128ibm): Likewise.
13508 (TEST_COND_long32): Likewise.
13509 (TEST_COND_long64): Likewise.
13510 (TEST_COND_before_rounding): Likewise.
13511 (TEST_COND_after_rounding): Likewise.
13512 (enable_test): Handle XFAIL_TEST flag.
13513 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
13514 with finite results.
13515 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
13516 auto-libm-test-out.
13517
acd98a8e
AK
135182013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13519 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13520
13521 [BZ #16214]
13522 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
13523 __tls_get_addr_internal instead of __tls_get_offset in order to
13524 avoid GOT pointer dependency. Make rtld export
13525 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
13526 __tls_get_addr since we are a __tls_get_offset platform.
13527 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
13528 GOT pointer being set up before.
13529 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
13530
3c1c46a6
JM
135312013-11-28 Joseph Myers <joseph@codesourcery.com>
13532
7475aef5
JM
13533 * manual/math.texi (Errors in Math Functions): Document accuracy
13534 goals.
13535
8bca7cd8
JM
13536 [BZ #15004]
13537 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
13538 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
13539 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13540 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13541 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13542 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13543 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13544 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13545 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13546 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13547 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13548 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13549 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13550 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13551 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13552 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13553
91a1f3fe
JM
13554 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
13555 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
13556 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
13557 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
13558 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
13559 Likewise.
13560 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
13561 Likewise.
13562 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
13563 Likewise.
13564 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
13565 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13566 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
13567 atomic-feupdateenv and flt-rounds.
13568 * sysdeps/powerpc/nofpu/Versions (libc): Add
13569 __atomic_feholdexcept, __atomic_feclearexcept,
13570 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
13571 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
13572 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
13573 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
13574 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
13575 here.
13576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13577 Update.
13578
c5df7609
JM
13579 * manual/arith.texi (FP Exceptions): Document that exceptions may
13580 not be raised when matherr is used.
13581 (Math Error Reporting): Document overflow in directed rounding
13582 modes. Document that errno may not be set when finite values are
13583 returned on overflow. Document intent to set errno on underflow
13584 only for underflow to zero.
13585
3c1c46a6
JM
13586 [BZ #16271]
13587 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
13588 round-to-nearest then adjust result for other rounding modes.
13589 * include/fenv.h (fegetround): Use libm_hidden_proto.
13590 * math/fegetround.c (fegetround): Use libm_hidden_def.
13591 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
13592 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
13593 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13594 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
13595 Likewise.
13596 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
13597 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13598 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
13599 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
13600
5a4c6d53
SP
136012013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13602
13603 [BZ #16077]
13604 * nss/Versions (libnss_files): Add
13605 _nss_files_gethostbyname3_r.
13606 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
13607 New function.
13608 (HOST_DB_LOOKUP): Remove macro.
13609 (_nss_files_gethostbyname_r): Implement function without the
13610 HOST_DB_LOOKUP macro.
13611 (_nss_files_gethostbyname2_r): Likewise.
13612
897b98ba
OB
136132013-11-28 Ondřej Bílka <neleai@seznam.cz>
13614
13615 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
13616
6f476861
UB
136172013-11-26 Uros Bizjak <ubizjak@gmail.com>
13618
13619 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
13620 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
13621 warning.
13622
bd12ab55
AZ
136232013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13624
13625 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
13626 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
13627 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13628 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
13629 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
13630 __fe_nomask_env_priv and attribute_hidden.
13631 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
13632 (libc_feupdateenv_test_ppc): Likewise.
13633 (libc_feresetround_ppc): Likewise.
13634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13635 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
13636 compat_symbol macro.
13637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13638 (__fe_nomask_env): Likewise.
13639 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
13640
52bb6543
OB
136412013-11-26 Ondřej Bílka <neleai@seznam.cz>
13642
13643 * string/Makefile: Remove ifunc tests.
13644 * string/test-string.h: Define TEST_IFUNC.
13645 * string/test-bcopy-ifunc.c: Remove.
13646 * string/test-bzero-ifunc.c: Likewise.
13647 * string/test-memccpy-ifunc.c: Likewise.
13648 * string/test-memchr-ifunc.c: Likewise.
13649 * string/test-memcmp-ifunc.c: Likewise.
13650 * string/test-memcpy-ifunc.c: Likewise.
13651 * string/test-memmem-ifunc.c: Likewise.
13652 * string/test-memmove-ifunc.c: Likewise.
13653 * string/test-mempcpy-ifunc.c: Likewise.
13654 * string/test-memrchr-ifunc.c: Likewise.
13655 * string/test-memset-ifunc.c: Likewise.
13656 * string/test-rawmemchr-ifunc.c: Likewise.
13657 * string/test-stpcpy-ifunc.c: Likewise.
13658 * string/test-stpncpy-ifunc.c: Likewise.
13659 * string/test-strcasecmp-ifunc.c: Likewise.
13660 * string/test-strcasestr-ifunc.c: Likewise.
13661 * string/test-strcat-ifunc.c: Likewise.
13662 * string/test-strchr-ifunc.c: Likewise.
13663 * string/test-strchrnul-ifunc.c: Likewise.
13664 * string/test-strcmp-ifunc.c: Likewise.
13665 * string/test-strcpy-ifunc.c: Likewise.
13666 * string/test-strcspn-ifunc.c: Likewise.
13667 * string/test-strlen-ifunc.c: Likewise.
13668 * string/test-strncasecmp-ifunc.c: Likewise.
13669 * string/test-strncat-ifunc.c: Likewise.
13670 * string/test-strncmp-ifunc.c: Likewise.
13671 * string/test-strncpy-ifunc.c: Likewise.
13672 * string/test-strnlen-ifunc.c: Likewise.
13673 * string/test-strpbrk-ifunc.c: Likewise.
13674 * string/test-strrchr-ifunc.c: Likewise.
13675 * string/test-strspn-ifunc.c: Likewise.
13676 * string/test-strstr-ifunc.c: Likewise.
13677
ab260039 136782013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
13679
13680 * benchtests/Makefile: Remove ifunc tests.
13681 * benchtests/bench-string.h: Define TEST_IFUNC.
13682 * benchtests/bench-bcopy-ifunc.c: Remove.
13683 * benchtests/bench-bzero-ifunc.c: Likewise.
13684 * benchtests/bench-memccpy-ifunc.c: Likewise.
13685 * benchtests/bench-memchr-ifunc.c: Likewise.
13686 * benchtests/bench-memcmp-ifunc.c: Likewise.
13687 * benchtests/bench-memcpy-ifunc.c: Likewise.
13688 * benchtests/bench-memmem-ifunc.c: Likewise.
13689 * benchtests/bench-memmove-ifunc.c: Likewise.
13690 * benchtests/bench-mempcpy-ifunc.c: Likewise.
13691 * benchtests/bench-memrchr-ifunc.c: Likewise.
13692 * benchtests/bench-memset-ifunc.c: Likewise.
13693 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
13694 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
13695 * benchtests/bench-stpcpy-ifunc.c: Likewise.
13696 * benchtests/bench-stpncpy-ifunc.c: Likewise.
13697 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
13698 * benchtests/bench-strcasestr-ifunc.c: Likewise.
13699 * benchtests/bench-strcat-ifunc.c: Likewise.
13700 * benchtests/bench-strchr-ifunc.c: Likewise.
13701 * benchtests/bench-strchrnul-ifunc.c: Likewise.
13702 * benchtests/bench-strcmp-ifunc.c: Likewise.
13703 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
13704 * benchtests/bench-strcpy-ifunc.c: Likewise.
13705 * benchtests/bench-strcspn-ifunc.c: Likewise.
13706 * benchtests/bench-strlen-ifunc.c: Likewise.
13707 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
13708 * benchtests/bench-strncat-ifunc.c: Likewise.
13709 * benchtests/bench-strncmp-ifunc.c: Likewise.
13710 * benchtests/bench-strncpy-ifunc.c: Likewise.
13711 * benchtests/bench-strnlen-ifunc.c: Likewise.
13712 * benchtests/bench-strpbrk-ifunc.c: Likewise.
13713 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 13714 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
13715 * benchtests/bench-strspn-ifunc.c: Likewise.
13716 * benchtests/bench-strstr-ifunc.c: Likewise.
13717
137182013-11-26 Ondřej Bílka <neleai@seznam.cz>
13719
ab260039
OB
13720 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
13721
d1d9eaf4 137222013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 13723
d1d9eaf4
OB
13724 * resolv/netdb.h: Use __glibc_reserved instead __unused.
13725 * rt/aio.h: Likewise.
13726 * sysdeps/gnu/bits/utmp.h: Likewise.
13727 * sysdeps/gnu/bits/utmpx.h: Likewise.
13728 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13729 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
13730 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
13731 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
13732 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
13733 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
13734 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
13735 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
13736 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
13737 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
13738 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
13739 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
13740 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
13741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
13742 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13743 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
13744 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
13745 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
13746 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
13747 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
13748 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
13749 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
13750 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
13751 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13752 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
13753 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13754 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
13755 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
13756 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
13757 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
13758 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
13759 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
13760 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
13761 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13762 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
13763 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
13764 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
13765 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
13766 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
13767 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
13768 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
13769 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13770
a7624ed9
CD
137712013-11-25 Carlos O'Donell <carlos@redhat.com>
13772
13773 [BZ #16245]
13774 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
13775 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
13776
63cfe52b
JM
137772013-11-25 Joseph Myers <joseph@codesourcery.com>
13778
13779 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
13780 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
13781 Likewise.
13782
41e8926a
AZ
137832013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13784
13785 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
13786 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
13787 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
13788 (__fesetround): Remove define.
13789 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
13790 rounding and exceptions handling.
13791 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
13792 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
13793 (__fe_nomask_env): Likewise.
13794 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
13795 __fegetround instead of fegetround.
13796 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13797 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13798
6851bd4d
RM
137992013-11-21 Roland McGrath <roland@hack.frob.com>
13800
070906ff
RM
13801 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
13802 it's there.
13803
6851bd4d
RM
13804 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
13805
84ae135d
MI
138062013-11-21 Meador Inge <meadori@codesourcery.com>
13807
13808 [BZ #11157]
13809 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
13810 (encrypt_r): Likewise.
13811 * malloc/obstack.h (obstack_free): Likewise.
13812 * posix/unistd.h (encrypt): Likewise.
13813
daf75146
GM
138142013-11-21 Guy Martin <gmsoft@tuxicoman.be>
13815
13816 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
13817 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
13818 DL_CALL_DT_FINI() that call the functions directly.
13819 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
13820 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
13821 * elf/dl-fini.c: Likewise.
13822
10ad46bc
OB
138232013-11-20 Ondřej Bílka <neleai@seznam.cz>
13824
13825 * malloc/hooks.c (memalign_check): Add alignment rounding.
13826 * malloc/malloc.c (_mid_memalign): New function.
13827 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
13828 Implement by calling _mid_memalign.
13829 * manual/probes.texi (Memory Allocation Probes): Remove
13830 memory_valloc_retry and memory_pvalloc_retry.
13831
f3fd2628
SP
138322013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13833
4712799f
SP
13834 * locale/programs/locarchive.c (open_archive): Add const
13835 qualifier to ARCHIVEFNAME and copy default fname to
13836 DEFAULT_FNAME.
13837
0417b20f
SP
13838 [BZ #15601]
13839 * libio/tst-widetext.input: Rename Oriya to Odia.
13840 * locale/iso-639.def: Likewise.
13841
f3fd2628
SP
13842 * manual/probes.texi (Mathematical Function Probes): Add
13843 documentation for sin, cos, asin and acos probes.
13844 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
13845 (__sin32): Add slowasin probe.
13846 (__cos32): Add slowacos probe.
13847 (__mpsin): Add slowsin probe.
13848 (__mpcos): Add slowcos probe.
13849
73c1ce4f
JM
138502013-11-19 Joseph Myers <joseph@codesourcery.com>
13851
13852 [BZ #15483]
13853 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
13854 thread-local __sim_exceptions_thread and global
13855 __sim_exceptions_global.
13856 (__sim_disabled_exceptions): Change to thread-local
13857 __sim_disabled_exceptions_thread and global
13858 __sim_disabled_exceptions_global.
13859 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13860 and global __sim_round_mode_global.
13861 (__simulate_exceptions): Use thread-local floating-point state and
13862 set global state from it as needed.
13863 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
13864 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
13865 __sim_round_mode_thread.
13866 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
13867 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
13868 and global __sim_exceptions_global.
13869 (__sim_disabled_exceptions): Change to thread-local
13870 __sim_disabled_exceptions_thread and global
13871 __sim_disabled_exceptions_global.
13872 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13873 and global __sim_round_mode_global.
13874 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
13875 (SIM_SET_GLOBAL): Likewise.
13876 * sysdeps/powerpc/soft-fp/sfp-machine.h
13877 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
13878 __sim_round_mode_thread.
13879 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
13880 __sim_disabled_exceptions_thread.
13881 (__sim_exceptions): Change to __sim_exceptions_thread.
13882 (__sim_disabled_exceptions): Change to
13883 __sim_disabled_exceptions_thread.
13884 (__sim_round_mode): Change to __sim_round_mode_thread.
13885 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
13886 thread-local floating-point state and set global state from it as
13887 needed.
13888 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
13889 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
13890 (__sim_disabled_exceptions): Remove extern declaration.
13891 (feenableexcept): Use thread-local floating-point state and set
13892 global state from it as needed.
13893 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
13894 extern declaration.
13895 (__sim_disabled_exceptions): Likewise.
13896 (__sim_round_mode): Likewise.
13897 (__fegetenv): Use thread-local floating-point state.
13898 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
13899 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13900 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
13901 floating-point state and set global state from it as needed.
13902 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
13903 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13904 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
13905 Likewise.
13906 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
13907 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
13908 Likewise.
13909 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
13910 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
13911 Use __sim_round_mode_thread.
13912 * math/test-fenv-tls.c: New file.
13913 * math/Makefile (tests): Add test-fenv-tls.
13914 ($(objpfx)test-fenv-tls): Depend on
13915 $(common-objpfx)nptl/libpthread.so.
13916
b5449b12
AS
139172013-11-19 Andreas Schwab <schwab@suse.de>
13918
13919 * locale/programs/locale.c (show_info): Decode wordarray elements.
13920 * locale/categories.def (LC_MONETARY): Add element for
13921 _NL_MONETARY_CRNCYSTR.
13922 * locale/C-monetary.c (conversion_rate): New variable.
13923 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
13924 element.
13925
e186536b
CM
139262013-11-18 Chris Metcalf <cmetcalf@tilera.com>
13927
13928 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
13929 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
13930
5c349950
PP
139312013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13932
13933 * elf/Makefile (tst-auxv): New test.
13934 * elf/tst-auxv.c: New
13935 * elf/rtld.c (dl_main): Adjust AT_EXECFN
13936
699df45b
JM
139372013-11-18 Joseph Myers <joseph@codesourcery.com>
13938
13939 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
13940 (hidden_proto): Caller changed.
13941 (hidden_tls_proto): New macro.
13942 (libc_hidden_tls_proto): Likewise.
13943 (rtld_hidden_tls_proto): Likewise.
13944 (libm_hidden_tls_proto): Likewise.
13945 (libresolv_hidden_tls_proto): Likewise.
13946 (librt_hidden_tls_proto): Likewise.
13947 (libdl_hidden_tls_proto): Likewise.
13948 (libnss_files_hidden_tls_proto): Likewise.
13949 (libnsl_hidden_tls_proto): Likewise.
13950 (libnss_nisplus_hidden_tls_proto): Likewise.
13951 (libutil_hidden_tls_proto): Likewise.
13952
b7589107
OB
139532013-11-18 Ondřej Bílka <neleai@seznam.cz>
13954
13955 [BZ #10253]
13956 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
13957 (decompose_rpath): Defer expansion to fillin_rpath.
13958 (_dl_init_paths): Pass linkmap to fillin_rpath.
13959
250c23bd
RS
139602013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13961
13962 * benchtests/Makefile: Add strsep.
13963 * benchtests/bench-strsep.c: New file: strsep benchtest.
13964 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
13965
a7931fcf
AS
139662013-11-18 Andreas Schwab <schwab@suse.de>
13967
13968 * locale/programs/locale.c (show_info) [case byte]: Check for
13969 '\377' instead of '\177'.
13970 * locale/C-monetary.c (not_available): Always use "\377".
13971 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
13972 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
13973 detect unavailable sign_posn locale elements.
13974 * locale/localeconv.c (__localeconv): For grouping and
13975 mon_grouping handle "\177" and "\377" like no grouping.
13976 (INT_ELEM): New macro. Use it to set all numeric members.
13977 * locale/programs/ld-monetary.c (monetary_read)
13978 <tok_mon_grouping>: Normalize single -1 to the empty string.
13979 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
13980 Likewise.
13981
728dab0e
OB
139822013-11-07 Ondřej Bílka <neleai@seznam.cz>
13983
13984 [BZ #16055]
13985 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
13986 when we match (nil).
13987 * stdio-common/tst-sscanf.c (struct test): Add testcase.
13988
66294491
JM
139892013-11-16 Joseph Myers <joseph@codesourcery.com>
13990
ce665817
JM
13991 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
13992 (NO_TEST_INLINE): Update value.
13993 (ERRNO_UNCHANGED): Likewise.
13994 (ERRNO_EDOM): Likewise.
13995 (ERRNO_ERANGE): Likewise.
13996 (IGNORE_RESULT): Likewise.
13997 (check_float_internal): Check signs of NaN results if
13998 TEST_NAN_SIGN used.
13999 (check_complex): Pass TEST_NAN_SIGN flag through to second
14000 check_float_internal call.
14001 (copysign_test_data): Add tests with quiet NaNs as second
14002 argument. Use TEST_NAN_SIGN.
14003 (fabs_test_data): Add test of negative quiet NaN argument. Use
14004 TEST_NAN_SIGN.
14005 (signbit_test_data): Add tests of quiet NaN argument.
14006 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
14007
ee1466a9
JM
14008 * math/gen-libm-test.pl (show_exceptions): Take extra argument
14009 $ignore_result.
14010 (parse_args): Handle function results specified as IGNORE.
14011 * math/libm-test.inc (IGNORE_RESULT): New macro.
14012 (check_float_internal): Do not check numerical result if flag
14013 IGNORE_RESULT set.
14014 (check_complex): Pass through IGNORE_RESULT to second
14015 check_float_internal call.
14016 (check_int): Do not check numerical result if flag IGNORE_RESULT
14017 set.
14018 (check_long): Likewise.
14019 (check_bool): Likewise.
14020 (check_longlong): Likewise.
14021 (lrint_test_data): Add tests of infinite and NaN arguments.
14022 (lrint_tonearest_test_data): Likewise.
14023 (lrint_towardzero_test_data): Likewise.
14024 (lrint_downward_test_data): Likewise.
14025 (lrint_upward_test_data): Likewise.
14026 (llrint_test_data): Likewise.
14027 (llrint_tonearest_test_data): Likewise.
14028 (llrint_towardzero_test_data): Likewise.
14029 (llrint_downward_test_data): Likewise.
14030 (llrint_upward_test_data): Likewise.
14031 (lround_test_data): Likewise.
14032 (llround_test_data): Likewise.
14033
14407b7e
JM
14034 * math/libm-test.inc (NO_TEST_INLINE): New macro.
14035 (ERRNO_UNCHANGED): Update value.
14036 (ERRNO_EDOM): Likewise.
14037 (ERRNO_ERANGE): Likewise.
14038 (NO_TEST_INLINE_FLOAT): New macro.
14039 (NO_TEST_INLINE_DOUBLE): Likewise.
14040 (enable_test): New function.
14041 (RUN_TEST_f_f): Check enable_test before running test.
14042 (RUN_TEST_2_f): Likewise.
14043 (RUN_TEST_fff_f): Likewise.
14044 (RUN_TEST_c_f): Likewise.
14045 (RUN_TEST_f_f1): Likewise.
14046 (RUN_TEST_fF_f1): Likewise.
14047 (RUN_TEST_fI_f1): Likewise.
14048 (RUN_TEST_ffI_f1): Likewise.
14049 (RUN_TEST_c_c): Likewise.
14050 (RUN_TEST_cc_c): Likewise.
14051 (RUN_TEST_f_i): Likewise.
14052 (RUN_TEST_f_i_tg): Likewise.
14053 (RUN_TEST_ff_i_tg): Likewise.
14054 (RUN_TEST_f_b): Likewise.
14055 (RUN_TEST_f_b_tg): Likewise.
14056 (RUN_TEST_f_l): Likewise.
14057 (RUN_TEST_f_L): Likewise.
14058 (RUN_TEST_fFF_11): Likewise.
14059 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
14060 conditionals.
14061 (cosh_test_data): Likewise.
14062 (exp_test_data): Likewise.
14063 (expm1_test_data): Likewise.
14064 (hypot_test_data): Likewise.
14065 (pow_test_data): Likewise.
14066 (sinh_test_data): Likewise.
14067 (tanh_test_data): Likewise.
14068 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
14069 flags argument.
14070
ca07f197
JM
14071 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
14072 tests with quiet NaN input and output.
14073 (acosh_test_data): Likewise.
14074 (asin_test_data): Likewise.
14075 (asinh_test_data): Likewise.
14076 (atan_test_data): Likewise.
14077 (atanh_test_data): Likewise.
14078 (atan2_test_data): Likewise.
14079 (cbrt_test_data): Likewise.
14080 (cos_test_data): Likewise.
14081 (cosh_test_data): Likewise.
14082 (erf_test_data): Likewise.
14083 (erfc_test_data): Likewise.
14084 (exp_test_data): Likewise.
14085 (exp10_test_data): Likewise.
14086 (exp2_test_data): Likewise.
14087 (expm1_test_data): Likewise.
14088 (hypot_test_data): Likewise.
14089 (j0_test_data): Likewise.
14090 (j1_test_data): Likewise.
14091 (jn_test_data): Likewise.
14092 (lgamma_test_data): Likewise.
14093 (log_test_data): Likewise.
14094 (log10_test_data): Likewise.
14095 (log1p_test_data): Likewise.
14096 (log2_test_data): Likewise.
14097 (pow_test_data): Likewise.
14098 (scalb_test_data): Likewise.
14099 (sin_test_data): Likewise.
14100 (sincos_test_data): Likewise.
14101 (sinh_test_data): Likewise.
14102 (tan_test_data): Likewise.
14103 (tanh_test_data): Likewise.
14104 (tgamma_test_data): Likewise.
14105 (y0_test_data): Likewise.
14106 (y1_test_data): Likewise.
14107 (yn_test_data): Likewise.
14108
66294491
JM
14109 [BZ #16167]
14110 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
14111 argument being NaN and avoid computations with second argument in
14112 that case.
14113 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14114 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14115 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14116
1820b143
CL
141172013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
14118
14119 * locale/iso-639.def: Add Chitwani Tharu (the).
14120
714bd261
AS
141212013-11-14 Andreas Schwab <schwab@suse.de>
14122
14123 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
14124 word instead of empty string.
14125
7ab44563
AZ
141262013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14127
14128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14129 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
14130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14131 (__fe_nomask_env): Likewise.
14132
e8470ea2
SE
141332013-11-13 Steve Ellcey <sellcey@mips.com>
14134
14135 * benchtests/bench-timing.h: Include time.h.
14136
17c1d9f0
L
141372013-11-13 H.J. Lu <hongjiu.lu@intel.com>
14138
14139 [BZ #15997]
14140 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
14141 to 3.4.0 for x32.
14142 * sysdeps/unix/sysv/linux/configure: Regenerated.
14143
9310c284
JM
141442013-11-13 Joseph Myers <joseph@codesourcery.com>
14145
14146 [BZ #16151]
14147 * stdlib/strtod_l.c (round_and_return): Do not consider
14148 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
14149 exponent one less than half the least subnormal exponent.
14150 * stdlib/test-strtod-round-data: Add more tests.
14151 * stdlib/tst-strtod-round.c (tests): Regenerated.
14152
7a2ad8cf
AZ
141532013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14154
14155 [BZ #14143]
14156 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
14157 (__fe_mask_env): Likewise.
14158 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
14159 libm_hidden_proto and add function prototype.
14160 (__fe_mask_env): Add function prototype.
14161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14162 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
14163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14164 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
14165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14166 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
14167
50727aa7
MS
141682013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14169
b2f386c1 14170 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
14171 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
14172
a615be46
MS
141732013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14174
14175 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
14176 of htab_find_slot().
14177
7ddace62
DM
141782013-11-11 David S. Miller <davem@davemloft.net>
14179
14180 [BZ #16150]
14181 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
14182 symbol in the non-vis3 case in static builds.
14183 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
14184 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
14185 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
14186 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
14187
9182aa67
JK
141882013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14189
14190 [BZ #387]
14191 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
14192 it is empty.
14193
450a2e2d
AZ
141942013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14195
b2f386c1
SP
14196 * benchtests/Makefile: Add bench-strtod.
14197 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 14198
8ec3f656
AS
141992013-11-11 Andreas Schwab <schwab@suse.de>
14200
14201 [BZ #16153]
14202 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
14203 terminating NUL in key length.
14204
76a9b998
AZ
142052013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14206
14207 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14208 Add artificial ODP entry for vDSO symbol for PPC64.
14209 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
14210 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14211
e4368156
OB
142122013-11-07 Ondřej Bílka <neleai@seznam.cz>
14213
14214 [BZ #15374]
14215 * nss/getent.c (services_keys): Recognize services starting with digit.
14216
8d6bb57c
DM
142172013-11-06 David S. Miller <davem@davemloft.net>
14218
14219 [BZ #15985]
14220 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
14221 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
14222
e256c421
WN
142232013-11-06 Will Newton <will.newton@linaro.org>
14224
14225 * manual/memory.texi (Malloc Examples): Remove register
14226 keyword from examples.
14227
f6e12daa 142282013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 14229
f6e12daa 14230 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 14231
9d880655
AS
142322013-11-04 Joseph Myers <joseph@codesourcery.com>
14233
fd2f9486 14234 [BZ #6981]
9d880655
AS
14235 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
14236 depending on [__GCC_IEC_559 > 0].
14237 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
14238 depending on [__GCC_IEC_559_COMPLEX > 0].
14239
ae129d3c
CL
142402013-11-03 Chris Leonard <cjl@sugarlabs.org>
14241
14242 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
14243 to iso-639.def.
14244
4a15c2a4 142452013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
14246
14247 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
14248
8b35e35d
OB
142492013-11-01 Ondřej Bílka <neleai@seznam.cz>
14250
14251 [BZ #16112]
14252 * malloc/malloc (malloc_info): Do not handle first bin as
14253 special case.
14254
1d70fd6c
CL
142552013-11-01 Chris Leonard <cjl@sugarlabs.org>
14256
14257 * locale/iso-639.def: Add Central Nahuatl (nhn).
14258
8c5c2600
BH
142592013-11-01 Bruno Haible <bruno@clisp.org>
14260
14261 [BZ #7003]
14262 * manual/math.texi (BSD Random): Specify range upper bound as
14263 in POSIX.
14264
da5579c2
CL
142652013-10-31 Chris Leonard <cjl@sugarlabs.org>
14266
14267 * locale/iso-639.def: Add Meadow Mari (mhr).
14268
5d30d853
OB
142692013-10-31 Ondřej Bílka <neleai@seznam.cz>
14270
14271 [BZ #14752], [BZ #15763]
14272 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
14273 Validate name.
14274 * rt/tst_shm.c: Add test for escaping directory.
14275
a4966c61
AS
142762013-10-31 Andreas Schwab <schwab@suse.de>
14277
8a43e768 14278 [BZ #15917]
a4966c61
AS
14279 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
14280 followed by 'x' as part of digit sequence.
14281 * stdio-common/tst-sscanf.c (double_tests2): New tests.
14282
28d708c4
MAP
142832013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
14284
14285 [BZ #16037]
14286 * configure.ac: allow GNU Make 4.0 and greater.
14287 * configure: Regenerated.
14288
a56ee40b
WN
142892013-10-30 Will Newton <will.newton@linaro.org>
14290
14291 [BZ #16038]
14292 * malloc/hooks.c (memalign_check): Limit alignment to the
14293 maximum representable power of two.
14294 * malloc/malloc.c (__libc_memalign): Likewise.
14295 * malloc/tst-memalign.c (do_test): Add test for very
14296 large alignment values.
14297 * malloc/tst-posix_memalign.c (do_test): Likewise.
14298
c6e4925d
OB
142992013-10-30 Ondřej Bílka <neleai@seznam.cz>
14300
14301 [BZ #11087]
14302 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
14303 (munmap_chunk): Likewise.
14304 (mremap_chunk): Likewise.
14305
143062013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 14307
8a43e768 14308 [BZ #15799]
bbea82f7
OB
14309 * stdlib/div.c (div): Remove obsolete code.
14310 * stdlib/ldiv.c (ldiv): Likewise.
14311 * stdlib/lldiv.c (lldiv): Likewise.
14312
977f4b31
SP
143132013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14314
14315 [BZ #16071]
14316 * nss/nss_files/files-XXX.c (get_contents_ret): New
14317 enumerator.
14318 (get_contents): New function.
14319 (internal_getent): Use it. Expand size of LINEBUFLEN.
14320
cb8a6dbd
MF
143212013-10-30 Mike Frysinger <vapier@gentoo.org>
14322
14323 * configure.in: Moved to ...
14324 * configure.ac: ... here. Change reference to configure.in
14325 to configure.ac.
14326 * sysdeps/arm/preconfigure.ac: ... here.
14327 configure.in to configure.ac.
14328 * sysdeps/gnu/configure.in: Moved to ...
14329 * sysdeps/gnu/configure.ac: ... here.
14330 * sysdeps/i386/configure.in: Moved to ...
14331 * sysdeps/i386/configure.ac: ... here.
14332 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
14333 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
14334 * sysdeps/mach/configure.in: Moved to ...
14335 * sysdeps/mach/configure.ac: ... here.
14336 * sysdeps/mach/hurd/configure.in: Moved to ...
14337 * sysdeps/mach/hurd/configure.ac: ... here.
14338 * sysdeps/powerpc/configure.in: Moved to ...
14339 * sysdeps/powerpc/configure.ac: ... here.
14340 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
14341 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
14342 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
14343 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
14344 * sysdeps/s390/s390-32/configure.in: Moved to ...
14345 * sysdeps/s390/s390-32/configure.ac: ... here.
14346 * sysdeps/s390/s390-64/configure.in: Moved to ...
14347 * sysdeps/s390/s390-64/configure.ac: ... here.
14348 * sysdeps/sh/configure.in: Moved to ...
14349 * sysdeps/sh/configure.ac: ... here.
14350 * sysdeps/sparc/configure.in: Moved to ...
14351 * sysdeps/sparc/configure.ac: ... here.
14352 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
14353 * sysdeps/unix/sysv/linux/configure.ac: ... here.
14354 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
14355 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
14356 * sysdeps/x86_64/configure.in: Moved to ...
14357 * sysdeps/x86_64/configure.ac: ... here.
14358 * sysdeps/x86_64/preconfigure.in: Moved to ...
14359 * sysdeps/x86_64/preconfigure.ac: ... here.
14360 * aclocal.m4: Change reference to configure.in to configure.ac.
14361 * config.h.in: Likewise.
14362 * manual/install.texi: Likewise.
14363 * manual/maint.texi: Likewise.
14364 * Makefile: Likewise.
14365 * malloc/Makefile: Likewise.
14366 * nscd/Makefile: Likewise.
14367 * Makeconfig: Change reference to configure.in and
14368 preconfigure.in to configure.ac and preconfigure.ac
14369 respectively.
14370 * INSTALL: Regenerated.
14371 * configure: Likewise.
14372 * sysdeps/gnu/configure: Likewise.
14373 * sysdeps/i386/configure: Likewise.
14374 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
14375 * sysdeps/mach/configure: Likewise.
14376 * sysdeps/mach/hurd/configure: Likewise.
14377 * sysdeps/powerpc/configure: Likewise.
14378 * sysdeps/powerpc/powerpc32/configure: Likewise.
14379 * sysdeps/powerpc/powerpc64/configure: Likewise.
14380 * sysdeps/s390/s390-32/configure: Likewise.
14381 * sysdeps/s390/s390-64/configure: Likewise.
14382 * sysdeps/sh/configure: Likewise.
14383 * sysdeps/sparc/configure: Likewise.
14384 * sysdeps/unix/sysv/linux/configure: Likewise.
14385 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
14386 * sysdeps/x86_64/configure: Likewise.
14387 * sysdeps/x86_64/preconfigure: Likewise.
14388
36a4953a
AS
143892013-10-29 Andreas Schwab <schwab@suse.de>
14390
14391 * stdio-common/Makefile (tst-swscanf-ENV): Define.
14392
c79a1204
SP
143932013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14394
dfa1b402
SP
14395 * benchtests/pow-inputs: Add new inputs.
14396
54f73d9c
SP
14397 * benchtests/exp-inputs: Add new inputs.
14398
c79a1204
SP
14399 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
14400 conditional check for return value.
14401 (__cos32): Likewise.
14402
67beb545 144032013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
14404
14405 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
14406 to provide a boost for large inputs with word alignment.
14407 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
14408 implementation based on optimized PPC64 strcpy.
14409 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
14410 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
14411 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
14412 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
14413
151659f6
OB
144142013-10-25 Ondřej Bílka <neleai@seznam.cz>
14415
482a077e 14416 [BZ #2801]
151659f6
OB
14417 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
14418
10b0f26b
OB
144192013-10-25 Ondřej Bílka <neleai@seznam.cz>
14420
14421 [BZ #14876]
14422 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
14423 * time/tst-strptime.c (day_tests): Add testcase.
14424
ca42d35e
OB
144252013-10-25 Ondřej Bílka <neleai@seznam.cz>
14426
482a077e 14427 [BZ #14029]
ca42d35e
OB
14428 * manual/pattern.texi: Acknowledge that fnmatch can fail.
14429
52e6d801
FB
144302013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
14431
14432 [BZ #16074]
14433 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
14434 MAP_FAILED on error.
14435
7cbcdb36
SP
144362013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14437
14438 [BZ #16072]
14439 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
14440 heap for large requests.
14441
894f3f10
AM
144422013-10-25 Aurelien Jarno <aurelien@aurel32.net>
14443
14444 [BZ #9954]
14445 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
14446 result if the result has no associated interface.
14447 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
14448 interface for all 127.X.Y.Z addresses.
14449
b85545a6
CL
144502013-10-24 Chris Leonard <cjl@sugarlabs.org>
14451
14452 * locale/iso-639.def: Add Ligurian (lij)
14453
d1f23d46
OB
144542013-10-21 Ondřej Bílka <neleai@seznam.cz>
14455
14456 [BZ #15825]
14457 * sunrpc/rpc_main.c: Document rpcgen -5.
14458
4db5b08f
MS
144592013-10-19 Michael Stahl <mstahl@redhat.com>
14460
14461 * elf/rtld.c (do_preload): Print the reason why preloading failed.
14462
a471e96a
OB
144632013-10-19 Ondřej Bílka <neleai@seznam.cz>
14464
d1f23d46 14465 [BZ #10278]
a471e96a
OB
14466 * posix/glob.c: Match only directories when trailing slash is present.
14467 * posix/tst-gnuglob.c (my_opendir): Do not open files.
14468 (main): Add testcase.
14469
45c30c61
OB
144702013-10-19 Ondřej Bílka <neleai@seznam.cz>
14471
14472 [BZ #15670]
14473 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
14474
484c12fb
CD
144752013-10-18 Carlos O'Donell <carlos@redhat.com>
14476
3d7dc513
CD
14477 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
14478 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
14479 AUTH_DES and cindex for FIPS 140-2.
14480 (DES Encryption): Add cindex FIPS 46-3.
14481
484c12fb
CD
14482 * locale/locarchive.h (struct locarhandle): Add fname.
14483 * locale/programs/localedef.c (main): Pass ARGV[remaining]
14484 if an optional argument was specified to --list-archive,
14485 otherwise NULL.
14486 * locale/programs/locarchive.c (show_archive_content): Take new
14487 argument fname and pass it via ah.fname to open_archive.
14488 * locale/programs/localedef.h: Update decl.
14489 (open_archive): If AH->fname is non-null, open that file
14490 rather than the default file name, and don't ignore ENOENT.
14491 (create_archive): Set AH.fname to NULL.
14492 (delete_locales_from_archive): Likewise.
14493 (add_locales_to_archive): Likewise.
14494 * locale/programs/locfile.c (write_all_categories): Likewise.
14495
3c8325fb
JM
144962013-10-18 Joseph Myers <joseph@codesourcery.com>
14497 Aldy Hernandez <aldyh@redhat.com>
14498
14499 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
14500 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
14501 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
14502 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
14503 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
14504 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
14505 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
14506 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
14507 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
14508 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
14509 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
14510 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
14511 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
14512 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
14513 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
14514 Likewise.
14515 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
14516 Likewise.
14517 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
14518 Likewise.
14519 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
14520 Likewise.
14521 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
14522 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
14523 Likewise.
14524 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
14525 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
14526 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
14527 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
14528 Likewise.
14529 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
14530 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
14531 * sysdeps/powerpc/preconfigure: Likewise.
14532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
14533 Likewise.
14534 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
14535 Replace contents of file by #include of <fenv_libc.h>.
14536 * sysdeps/powerpc/soft-fp/sfp-machine.h
14537 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
14538 and <sys/prctl.h>.
14539 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
14540 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
14541 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
14542 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
14543 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
14544 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
14545 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
14546 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
14547 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
14548 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
14549 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
14550 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
14551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14552 Allow copysignl PLT reference to be missing.
14553
5abe0682
RS
145542013-10-18 Richard Sandiford <richard@codesourcery.com>
14555 Joseph Myers <joseph@codesourcery.com
14556
14557 [BZ #15948]
14558 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
14559 single character.
14560 (add_to_tablewc): Assert sequence of wide characters is nonempty.
14561
c7738d08
SP
145622013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14563
14564 * elf/tst-tls-dlinfo.c: Don't include tls.h.
14565 * elf/tst-tls1.c: Likewise.
14566 * elf/tst-tls10.h: Likewise.
14567 * elf/tst-tls14.c: Likewise.
14568 * elf/tst-tls2.c: Likewise.
14569 * elf/tst-tls3.c: Likewise.
14570 * elf/tst-tls4.c: Likewise.
14571 * elf/tst-tls5.c: Likewise.
14572 * elf/tst-tls6.c: Likewise.
14573 * elf/tst-tls7.c: Likewise.
14574 * elf/tst-tls8.c: Likewise.
14575 * elf/tst-tls9.c: Likewise.
14576 * elf/tst-tlsmod1.c: Likewise.
14577 * elf/tst-tlsmod13.c: Likewise.
14578 * elf/tst-tlsmod13a.c: Likewise.
14579 * elf/tst-tlsmod14a.c: Likewise.
14580 * elf/tst-tlsmod16a.c: Likewise.
14581 * elf/tst-tlsmod16b.c: Likewise.
14582 * elf/tst-tlsmod2.c: Likewise.
14583 * elf/tst-tlsmod3.c: Likewise.
14584 * elf/tst-tlsmod4.c: Likewise.
14585 * elf/tst-tlsmod5.c: Likewise.
14586 * elf/tst-tlsmod6.c: Likewise.
14587
0bfcf2c7
OB
145882013-10-18 Ondřej Bílka <neleai@seznam.cz>
14589
14590 [BZ #12486]
14591 * malloc/malloc.c: remove checks for statistics.
14592
264aad1e
OB
145932013-10-17 Ondřej Bílka <neleai@seznam.cz>
14594
14595 [BZ #15277]
14596 * inet/inet_net.c (inet_network): Detect additional invalid strings.
14597 * inet/tst-network.c: Add testcase.
14598
b957ced8
AS
145992013-10-17 Andreas Schwab <schwab@suse.de>
14600
14601 [BZ #15218]
14602 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
14603 to determine canonical name.
14604
c5d5d574
OB
146052013-10-17 Ondřej Bílka <neleai@seznam.cz>
14606
14607 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
14608 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
14609 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14610 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14611 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14612 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14613 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14614 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14615 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14616 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14617 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14618 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14619 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14620 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14621 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14622 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14623 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14624 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14625 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14626 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14627 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14628 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14629 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14630 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
14631 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
14632 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14633 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14634 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
14635 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14636 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
14637 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14638 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14639 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14640 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14641 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14642 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14643 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14644 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14645 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14646 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14647 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14648 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14649 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14650 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14651 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14652 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14653 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14654 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14655 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14656 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14657 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14658 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14659 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14660 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14661 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14662 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14663 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14664 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14665
e5c2c2d0
JM
146662013-10-17 Joseph Myers <joseph@codesourcery.com>
14667
14668 [BZ #16041]
14669 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
14670 make result into a quiet NaN.
14671
51ca9e29
JM
146722013-10-16 Joseph Myers <joseph@codesourcery.com>
14673
14674 * soft-fp/adddf3.c: Fix horizontal whitespace.
14675 * soft-fp/addsf3.c: Likewise.
14676 * soft-fp/addtf3.c: Likewise.
14677 * soft-fp/divdf3.c: Likewise.
14678 * soft-fp/divsf3.c: Likewise.
14679 * soft-fp/divtf3.c: Likewise.
14680 * soft-fp/double.h: Likewise.
14681 * soft-fp/eqdf2.c: Likewise.
14682 * soft-fp/eqsf2.c: Likewise.
14683 * soft-fp/eqtf2.c: Likewise.
14684 * soft-fp/extenddftf2.c: Likewise.
14685 * soft-fp/extended.h: Likewise.
14686 * soft-fp/extendsfdf2.c: Likewise.
14687 * soft-fp/extendsftf2.c: Likewise.
14688 * soft-fp/extendxftf2.c: Likewise.
14689 * soft-fp/fixdfdi.c: Likewise.
14690 * soft-fp/fixdfsi.c: Likewise.
14691 * soft-fp/fixdfti.c: Likewise.
14692 * soft-fp/fixsfdi.c: Likewise.
14693 * soft-fp/fixsfsi.c: Likewise.
14694 * soft-fp/fixsfti.c: Likewise.
14695 * soft-fp/fixtfdi.c: Likewise.
14696 * soft-fp/fixtfsi.c: Likewise.
14697 * soft-fp/fixtfti.c: Likewise.
14698 * soft-fp/fixunsdfdi.c: Likewise.
14699 * soft-fp/fixunsdfsi.c: Likewise.
14700 * soft-fp/fixunsdfti.c: Likewise.
14701 * soft-fp/fixunssfdi.c: Likewise.
14702 * soft-fp/fixunssfsi.c: Likewise.
14703 * soft-fp/fixunssfti.c: Likewise.
14704 * soft-fp/fixunstfdi.c: Likewise.
14705 * soft-fp/fixunstfsi.c: Likewise.
14706 * soft-fp/fixunstfti.c: Likewise.
14707 * soft-fp/floatdidf.c: Likewise.
14708 * soft-fp/floatdisf.c: Likewise.
14709 * soft-fp/floatditf.c: Likewise.
14710 * soft-fp/floatsidf.c: Likewise.
14711 * soft-fp/floatsisf.c: Likewise.
14712 * soft-fp/floatsitf.c: Likewise.
14713 * soft-fp/floattidf.c: Likewise.
14714 * soft-fp/floattisf.c: Likewise.
14715 * soft-fp/floattitf.c: Likewise.
14716 * soft-fp/floatundidf.c: Likewise.
14717 * soft-fp/floatundisf.c: Likewise.
14718 * soft-fp/floatunditf.c: Likewise.
14719 * soft-fp/floatunsidf.c: Likewise.
14720 * soft-fp/floatunsisf.c: Likewise.
14721 * soft-fp/floatunsitf.c: Likewise.
14722 * soft-fp/floatuntidf.c: Likewise.
14723 * soft-fp/floatuntisf.c: Likewise.
14724 * soft-fp/floatuntitf.c: Likewise.
14725 * soft-fp/fmadf4.c: Likewise.
14726 * soft-fp/fmasf4.c: Likewise.
14727 * soft-fp/fmatf4.c: Likewise.
14728 * soft-fp/gedf2.c: Likewise.
14729 * soft-fp/gesf2.c: Likewise.
14730 * soft-fp/getf2.c: Likewise.
14731 * soft-fp/ledf2.c: Likewise.
14732 * soft-fp/lesf2.c: Likewise.
14733 * soft-fp/letf2.c: Likewise.
14734 * soft-fp/muldf3.c: Likewise.
14735 * soft-fp/mulsf3.c: Likewise.
14736 * soft-fp/multf3.c: Likewise.
14737 * soft-fp/negdf2.c: Likewise.
14738 * soft-fp/negsf2.c: Likewise.
14739 * soft-fp/negtf2.c: Likewise.
14740 * soft-fp/op-1.h: Likewise.
14741 * soft-fp/op-2.h: Likewise.
14742 * soft-fp/op-4.h: Likewise.
14743 * soft-fp/op-8.h: Likewise.
14744 * soft-fp/op-common.h: Likewise.
14745 * soft-fp/quad.h: Likewise.
14746 * soft-fp/single.h: Likewise.
14747 * soft-fp/soft-fp.h: Likewise.
14748 * soft-fp/sqrtdf2.c: Likewise.
14749 * soft-fp/sqrtsf2.c: Likewise.
14750 * soft-fp/sqrttf2.c: Likewise.
14751 * soft-fp/subdf3.c: Likewise.
14752 * soft-fp/subsf3.c: Likewise.
14753 * soft-fp/subtf3.c: Likewise.
14754 * soft-fp/truncdfsf2.c: Likewise.
14755 * soft-fp/trunctfdf2.c: Likewise.
14756 * soft-fp/trunctfsf2.c: Likewise.
14757 * soft-fp/trunctfxf2.c: Likewise.
14758 * soft-fp/unorddf2.c: Likewise.
14759 * soft-fp/unordsf2.c: Likewise.
14760 * soft-fp/unordtf2.c: Likewise.
14761
9ebb0332
JM
147622013-10-15 Joseph Myers <joseph@codesourcery.com>
14763
14764 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
14765 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
14766
4b1a6d8b
OB
147672013-10-15 Ondřej Bílka <neleai@seznam.cz>
14768
14769 * elf/dl-libc.c: Clear initfini list after freeing.
14770
1e145589
JM
147712013-10-14 Joseph Myers <joseph@codesourcery.com>
14772
14773 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
14774 * soft-fp/addsf3.c: Likewise.
14775 * soft-fp/addtf3.c: Likewise.
14776 * soft-fp/divdf3.c: Likewise.
14777 * soft-fp/divsf3.c: Likewise.
14778 * soft-fp/divtf3.c: Likewise.
14779 * soft-fp/double.h: Likewise.
14780 * soft-fp/eqdf2.c: Likewise.
14781 * soft-fp/eqsf2.c: Likewise.
14782 * soft-fp/eqtf2.c: Likewise.
14783 * soft-fp/extenddftf2.c: Likewise.
14784 * soft-fp/extended.h: Likewise.
14785 * soft-fp/extendsfdf2.c: Likewise.
14786 * soft-fp/extendsftf2.c: Likewise.
14787 * soft-fp/extendxftf2.c: Likewise.
14788 * soft-fp/fixdfdi.c: Likewise.
14789 * soft-fp/fixdfsi.c: Likewise.
14790 * soft-fp/fixdfti.c: Likewise.
14791 * soft-fp/fixsfdi.c: Likewise.
14792 * soft-fp/fixsfsi.c: Likewise.
14793 * soft-fp/fixsfti.c: Likewise.
14794 * soft-fp/fixtfdi.c: Likewise.
14795 * soft-fp/fixtfsi.c: Likewise.
14796 * soft-fp/fixtfti.c: Likewise.
14797 * soft-fp/fixunsdfdi.c: Likewise.
14798 * soft-fp/fixunsdfsi.c: Likewise.
14799 * soft-fp/fixunsdfti.c: Likewise.
14800 * soft-fp/fixunssfdi.c: Likewise.
14801 * soft-fp/fixunssfsi.c: Likewise.
14802 * soft-fp/fixunssfti.c: Likewise.
14803 * soft-fp/fixunstfdi.c: Likewise.
14804 * soft-fp/fixunstfsi.c: Likewise.
14805 * soft-fp/fixunstfti.c: Likewise.
14806 * soft-fp/floatdidf.c: Likewise.
14807 * soft-fp/floatdisf.c: Likewise.
14808 * soft-fp/floatditf.c: Likewise.
14809 * soft-fp/floatsidf.c: Likewise.
14810 * soft-fp/floatsisf.c: Likewise.
14811 * soft-fp/floatsitf.c: Likewise.
14812 * soft-fp/floattidf.c: Likewise.
14813 * soft-fp/floattisf.c: Likewise.
14814 * soft-fp/floattitf.c: Likewise.
14815 * soft-fp/floatundidf.c: Likewise.
14816 * soft-fp/floatundisf.c: Likewise.
14817 * soft-fp/floatunsidf.c: Likewise.
14818 * soft-fp/floatunsisf.c: Likewise.
14819 * soft-fp/floatuntidf.c: Likewise.
14820 * soft-fp/floatuntisf.c: Likewise.
14821 * soft-fp/floatuntitf.c: Likewise.
14822 * soft-fp/fmadf4.c: Likewise.
14823 * soft-fp/fmasf4.c: Likewise.
14824 * soft-fp/fmatf4.c: Likewise.
14825 * soft-fp/gedf2.c: Likewise.
14826 * soft-fp/gesf2.c: Likewise.
14827 * soft-fp/getf2.c: Likewise.
14828 * soft-fp/ledf2.c: Likewise.
14829 * soft-fp/lesf2.c: Likewise.
14830 * soft-fp/letf2.c: Likewise.
14831 * soft-fp/muldf3.c: Likewise.
14832 * soft-fp/mulsf3.c: Likewise.
14833 * soft-fp/multf3.c: Likewise.
14834 * soft-fp/negdf2.c: Likewise.
14835 * soft-fp/negsf2.c: Likewise.
14836 * soft-fp/negtf2.c: Likewise.
14837 * soft-fp/op-1.h: Likewise.
14838 * soft-fp/op-2.h: Likewise.
14839 * soft-fp/op-4.h: Likewise.
14840 * soft-fp/op-8.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 * soft-fp/sqrtdf2.c: Likewise.
14846 * soft-fp/sqrtsf2.c: Likewise.
14847 * soft-fp/sqrttf2.c: Likewise.
14848 * soft-fp/subdf3.c: Likewise.
14849 * soft-fp/subsf3.c: Likewise.
14850 * soft-fp/subtf3.c: Likewise.
14851 * soft-fp/truncdfsf2.c: Likewise.
14852 * soft-fp/trunctfdf2.c: Likewise.
14853 * soft-fp/trunctfsf2.c: Likewise.
14854 * soft-fp/trunctfxf2.c: Likewise.
14855 * soft-fp/unorddf2.c: Likewise.
14856 * soft-fp/unordsf2.c: Likewise.
14857 * soft-fp/unordtf2.c: Likewise.
14858
17c48a60
OB
148592013-10-14 Ondřej Bílka <neleai@seznam.cz>
14860
14861 [BZ #15672]
14862 * misc/error.c (error_tail): Fix possible buffer overflow.
14863
cabba934
OB
148642013-10-14 Aurelien Jarno <aurelien@aurel32.net>
14865
14866 [BZ #13028]
14867 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
14868 address.
14869
94bf958a
PM
148702013-10-14 P. J. McDermott <pj@pehjota.net>
14871
14872 [BZ #832]
14873 * elf/ldd.bash.in (try_trace): New function. Delete previous code
14874 testing pipefail option.
14875
71b4dea7
JM
148762013-10-12 Joseph Myers <joseph@codesourcery.com>
14877
14878 * soft-fp/double.h: Indent preprocessor directives inside #if.
14879 * soft-fp/extended.h: Likewise.
14880 * soft-fp/op-2.h: Likewise.
14881 * soft-fp/op-4.h: Likewise.
14882 * soft-fp/op-common.h: Likewise.
14883 * soft-fp/quad.h: Likewise.
14884 * soft-fp/single.h: Likewise.
14885 * soft-fp/soft-fp.h: Likewise.
14886
55602758
YC
148872013-10-12 Yuri Chornoivan <yurchor@ukr.net>
14888
14889 * iconv/iconv_prog.c: Fix typos.
14890 * stdio-common/psiginfo-data.h: Likewise.
14891
9cd83302
RT
148922013-10-12 Reuben Thomas <rrt@sc3d.org>
14893
14894 [BZ #15764]
14895 * locale/setlocale.c: Fix typo.
14896
99fd9f47
JM
148972013-10-12 Joseph Myers <joseph@codesourcery.com>
14898
b7ea74f0
JM
14899 [BZ #16036]
14900 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
14901 signaling NaN arguments.
14902 * soft-fp/unordsf2.c (__unordsf2): Likewise.
14903 * soft-fp/unordtf2.c (__unordtf2): Likewise.
14904
8a509447
JM
14905 [BZ #14910]
14906 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
14907 unordered operands.
14908 * soft-fp/gesf2.c (__gesf2): Likewise.
14909 * soft-fp/getf2.c (__getf2): Likewise.
14910 * soft-fp/ledf2.c (__ledf2): Likewise.
14911 * soft-fp/lesf2.c (__lesf2): Likewise.
14912 * soft-fp/letf2.c (__letf2): Likewise.
14913
98998e9f
JM
14914 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
14915 * soft-fp/eqsf2.c (__eqsf2): Likewise.
14916 * soft-fp/eqtf2.c (__eqtf2): Likewise.
14917 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
14918 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
14919 * soft-fp/fixdfti.c (__fixdfti): Likewise.
14920 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
14921 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
14922 * soft-fp/fixsfti.c (__fixsfti): Likewise.
14923 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
14924 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
14925 * soft-fp/fixtfti.c (__fixtfti): Likewise.
14926 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
14927 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
14928 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
14929 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
14930 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
14931 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
14932 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
14933 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
14934 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
14935 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
14936 * soft-fp/floatdisf.c (__floatdisf): Likewise.
14937 * soft-fp/floatsisf.c (__floatsisf): Likewise.
14938 * soft-fp/floattidf.c (__floattidf): Likewise.
14939 * soft-fp/floattisf.c (__floattisf): Likewise.
14940 * soft-fp/floattitf.c (__floattitf): Likewise.
14941 * soft-fp/floatundidf.c (__floatundidf): Likewise.
14942 * soft-fp/floatundisf.c (__floatundisf): Likewise.
14943 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
14944 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
14945 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
14946 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
14947 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
14948 * soft-fp/gesf2.c (__gesf2): Likewise.
14949 * soft-fp/getf2.c (__getf2): Likewise.
14950 * soft-fp/ledf2.c (__ledf2): Likewise.
14951 * soft-fp/lesf2.c (__lesf2): Likewise.
14952 * soft-fp/letf2.c (__letf2): Likewise.
14953
8edc4a11
JM
14954 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
14955 Undefine and redefine.
14956 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
14957 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
14958 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
14959 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
14960 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14961 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
14962 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14963 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
14964 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14965 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
14966 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14967 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
14968 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14969 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
14970 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14971
8399acaf
JM
14972 [BZ #16032]
14973 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
14974 without decrementing exponent if mantissa >= that for the
14975 denominator, not >.
14976 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
14977 denominator, not >. Decrement exponent in < case instead of
14978 incrementing in >= case.
14979 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
14980 without decrementing exponent if mantissa >= that for the
14981 denominator, not >.
14982
99fd9f47
JM
14983 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
14984 computing saturated result for unsigned overflow.
14985
10e1cf6b
SP
149862013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14987 Jeff Law <law@redhat.com>
14988
14989 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
14990 (atan2Mp): Add systemtap probe marker.
14991 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
14992 (__ieee754_log): Add systemtap probe marker.
14993 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
14994 (atanMp): Add systemtap probe marker.
14995 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
14996 (tanMp): Add systemtap probe marker.
14997 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
14998 (__slowexp): Add systemtap probe marker.
14999 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
15000 (__slowpow): Add systemtap probe marker.
15001 * manual/probes.texi: Document probes.
15002
3d110c7c
EB
150032013-10-11 Eric Biggers <ebiggers3@gmail.com>
15004
15005 [BZ #15362]
15006 * libio/fileops.c (_IO_new_file_write): Return count of bytes
15007 written.
15008 (_IO_new_file_xsputn): Don't return EOF if nothing has been
15009 written.
15010 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
15011 written to buffer but not flushed.
15012 * libio/iofwrite_u.c: Likewise.
15013 * libio/iopadn.c: Return bytes returned even if EOF was
15014 encountered.
15015 * libio/iowpadn.c: Likewise.
15016 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
15017 if _IO_padn does not write the whole buffer.
15018 [!COMPILE_WPRINTF] (PAD): Likewise.
15019
75b4202a
DM
150202013-10-10 David S. Miller <davem@davemloft.net>
15021
15022 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
15023 directory block.
15024
6c6352e6
JM
150252013-10-10 Joseph Myers <joseph@codesourcery.com>
15026
33b853c3
JM
15027 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
15028 instead of FSF address.
15029 * soft-fp/fixdfti.c: Likewise.
15030 * soft-fp/fixsfti.c: Likewise.
15031 * soft-fp/fixtfti.c: Likewise.
15032 * soft-fp/fixunsdfti.c: Likewise.
15033 * soft-fp/fixunssfti.c: Likewise.
15034 * soft-fp/fixunstfti.c: Likewise.
15035 * soft-fp/floattidf.c: Likewise.
15036 * soft-fp/floattisf.c: Likewise.
15037 * soft-fp/floattitf.c: Likewise.
15038 * soft-fp/floatuntidf.c: Likewise.
15039 * soft-fp/floatuntisf.c: Likewise.
15040 * soft-fp/floatuntitf.c: Likewise.
15041 * soft-fp/trunctfxf2.c: Likewise.
15042
6c6352e6
JM
15043 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
15044 * soft-fp/fixdfti.c: Likewise.
15045 * soft-fp/fixsfti.c: Likewise.
15046 * soft-fp/fixtfti.c: Likewise.
15047 * soft-fp/fixunsdfti.c: Likewise.
15048 * soft-fp/fixunssfti.c: Likewise.
15049 * soft-fp/fixunstfti.c: Likewise.
15050 * soft-fp/floattidf.c: Likewise.
15051 * soft-fp/floattisf.c: Likewise.
15052 * soft-fp/floattitf.c: Likewise.
15053 * soft-fp/floatuntidf.c: Likewise.
15054 * soft-fp/floatuntisf.c: Likewise.
15055 * soft-fp/floatuntitf.c: Likewise.
15056 * soft-fp/trunctfxf2.c: Likewise.
15057
3bf78b71
DM
150582013-10-10 David S. Miller <davem@davemloft.net>
15059
15060 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15061
6f10289e
JM
150622013-10-10 Joseph Myers <joseph@codsourcery.com>
15063
bd878fc0
JM
15064 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15065 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
15066 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
15067 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
15068 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
15069 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
15070 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
15071
6f10289e
JM
15072 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
15073 for NaNs before doing comparisons on argument.
15074 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
15075 Likewise.
15076
321e2684
WN
150772013-10-10 Will Newton <will.newton@linaro.org>
15078
15079 * malloc/hooks.c (memalign_check): Ensure the value of bytes
15080 passed to _int_memalign does not overflow.
15081
40fefba1
TR
150822013-10-10 Torvald Riegel <triegel@redhat.com>
15083
15084 * scripts/bench.pl: Add include-sources directive.
15085 * benchtests/README: Update documentation.
15086
2ae21ed2
JM
150872013-10-10 Joseph Myers <joseph@codesourcery.com>
15088
dcc2dd3f
JM
15089 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
15090 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
15091 instead of FP_INIT_ROUNDMODE.
15092 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
15093 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
15094
2ae21ed2
JM
15095 [BZ #16034]
15096 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
15097 copy class of input value.
15098 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
15099 not handle exceptions.
15100 * soft-fp/negsf2.c (__negsf2): Likewise.
15101 * soft-fp/negtf2.c (__negtf2): Likewise.
15102 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
15103
cb8f9562
JM
151042013-10-09 Joseph Myers <joseph@codesourcery.com>
15105
15106 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
15107 semicolon. From Linux kernel.
15108
5b60c59d
AB
151092013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
15110
15111 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
15112
b86835ca
YC
151132013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
15114
15115 [BZ #156]
15116 * manual/socket.texi: Added statement about buffer
15117 for gethostbyname2_r.
15118
e7044ea7
OB
151192013-10-08 Ondřej Bílka <neleai@seznam.cz>
15120
15121 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
15122 Use .p2align directive instead, throughout.
15123 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15124 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
15125 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
15126 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15127 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15128 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15129 * sysdeps/x86_64/strchr.S: Likewise.
15130 * sysdeps/x86_64/strrchr.S: Likewise.
15131
09544cbc
SP
151322013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15133
88576635
SP
15134 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
15135
e7b2d1dd
SP
15136 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
15137
09544cbc
SP
15138 * sysdeps/generic/math_private.h (__mpsin1): Remove
15139 declaration.
15140 (__mpcos1): Likewise.
15141 (__mpsin): New argument __range_reduce.
15142 (__mpcos): Likewise.
15143 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15144 (slow): Use __mpsin and __mpcos.
15145 (slow1): Likewise.
15146 (slow2): Likewise.
15147 (sloww): Likewise.
15148 (sloww1): Likewise.
15149 (sloww2): Likewise.
15150 (bsloww): Likewise.
15151 (bsloww1): Likewise.
15152 (bsloww2): Likewise.
15153 (cslow2): Likewise.
15154 (csloww): Likewise.
15155 (csloww1): Likewise.
15156 (csloww2): Likewise.
15157 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
15158 range_reduce. Merge in __mpsin1.
15159 (__mpcos): Likewise.
15160 (__mpsin1): Remove.
15161 (__mpcos1): Likewise.
15162
7602d070
JM
151632013-10-07 Joseph Myers <joseph@codesourcery.com>
15164
15165 * locale/loadlocale.c (_nl_intern_locale_data): Use
15166 LOCFILE_ALIGNED_P.
15167 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
15168 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
15169 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
15170 obstack data is appropriately aligned.
15171 (obstack_int32_grow_fast): Likewise.
15172 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
15173 * locale/programs/locfile.c (add_locale_uint32): Likewise.
15174 (add_locale_uint32_array): Likewise.
15175
a357259b
SP
151762013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15177
15178 * benchtests/Makefile: Remove ARGLIST and RET variables.
15179 ($(objpfx)bench-%.c): Pass only function name to the script.
15180 * benchtests/README: Update documentation.
15181 * benchtests/acos-inputs: Add new directives.
15182 * benchtests/acosh-inputs: Likewise.
15183 * benchtests/asin-inputs: Likewise.
15184 * benchtests/asinh-inputs: Likewise.
15185 * benchtests/atan-inputs: Likewise.
15186 * benchtests/atanh-inputs: Likewise.
15187 * benchtests/cos-inputs: Likewise.
15188 * benchtests/cosh-inputs: Likewise.
15189 * benchtests/exp-inputs: Likewise.
15190 * benchtests/log-inputs: Likewise.
15191 * benchtests/pow-inputs: Likewise.
15192 * benchtests/rint-inputs: Likewise.
15193 * benchtests/sin-inputs: Likewise.
15194 * benchtests/sinh-inputs: Likewise.
15195 * benchtests/tan-inputs: Likewise.
15196 * benchtests/tanh-inputs: Likewise.
15197 * scripts/bench.pl: Add support for new directives.
15198
9ec1b13d
AM
151992013-10-07 Alan Modra <amodra@gmail.com>
15200
15201 * README: Fix careless merge.
15202
8b7d57cd
AM
152032013-10-05 Alan Modra <amodra@gmail.com>
15204
15205 * NEWS: Mention powerpc64le support and bugs fixed.
15206 * README: Both big-endian and little-endian powerpc64 supported.
15207
7b7bab13
ST
152082013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15209
57f41c40
AS
15210 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
15211 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
15212 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
15213 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
15214
d39baad1
RA
152152013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
15216
15217 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
15218 match prototype.
15219
cd78f7e7
JM
152202013-10-04 Joseph Myers <joseph@codesourcery.com>
15221
29d73d86
JM
15222 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
15223 Move -mhard-float appending from
15224 ports/sysdeps/powerpc/powerpc32/Makefile.
15225 [$(with-fp) = yes] (ASFLAGS): Likewise.
15226 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
15227 * sysdeps/powerpc/nofpu: Move directory from
15228 ports/sysdeps/powerpc/nofpu.
15229 * sysdeps/powerpc/soft-fp: Move directory from
15230 ports/sysdeps/powerpc/soft-fp.
15231 * sysdeps/powerpc/powerpc32/405: Move directory from
15232 ports/sysdeps/powerpc/powerpc32/405.
15233 * sysdeps/powerpc/powerpc32/440: Move directory from
15234 ports/sysdeps/powerpc/powerpc32/440.
15235 * sysdeps/powerpc/powerpc32/464: Move directory from
15236 ports/sysdeps/powerpc/powerpc32/464.
15237 * sysdeps/powerpc/powerpc32/476: Move directory from
15238 ports/sysdeps/powerpc/powerpc32/476.
15239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
15240 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
15241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
15242 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
15243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
15244 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
15245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
15246 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
15247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
15248 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
15249 * README: Update for powerpc-*-linux-gnu software floating point
15250 support in libc.
15251
e246b347
JM
15252 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
15253 case to powerpc/powerpc32*.
15254 * sysdeps/unix/sysv/linux/configure: Regenerated.
15255
89c2003e
JM
15256 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
15257 (_FPU_MASK_OM): Define as 0x04.
15258 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
15259 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
15260 0x00c10080.
15261 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
15262 0x0000003c.
15263 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
15264
cd78f7e7
JM
15265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
15266 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15267 getcontext_e500.
15268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
15269 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15270 setcontext_e500.
15271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
15272 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
15273 and setcontext_e500.
15274
c755294d
CL
152752013-10-04 Chris Leonard <cjl@sugarlabs,.org>
15276
15277 * locale/iso-3166.def: Update iso-1366.def and related occurrences
15278
e16d221c
SP
152792013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15280
15281 * manual/threads.texi (Default Thread Attributes): Fix typo.
15282
215c7d43
WN
152832013-10-04 Will Newton <will.newton@linaro.org>
15284
15285 * malloc/Makefile: Add tst-memalign.
15286 * malloc/tst-memalign.c: New file.
15287
27d0461b
WN
15288 * malloc/tst-posix_memalign.c: Add comments.
15289 (do_test): Add comments and call free on all potentially
15290 allocated pointers. Add space after cast.
15291
1bc92709
WN
15292 * malloc/tst-pvalloc.c: Add comments.
15293 (do_test): Add comments and call free on all potentially
15294 allocated pointers. Remove duplicate check for NULL pointer.
15295 Add space after cast.
15296
66a9be9d
WN
15297 * malloc/tst-valloc.c: Add comments.
15298 (do_test): Add comments and call free on all potentially
15299 allocated pointers. Remove duplicate check for NULL pointer.
15300 Add space after cast.
15301
4cb81307
AM
153022013-10-04 Alan Modra <amodra@gmail.com>
15303
15304 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15305 Use stdint types in rather than __attribute__((mode())).
15306 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15307
f8e3e9f3
AM
153082013-10-04 Alan Modra <amodra@gmail.com>
15309
15310 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15311 Correct handling of unaligned relocs for little-endian.
15312 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15313
8f9ebb08
AM
153142013-10-04 Alan Modra <amodra@gmail.com>
15315
15316 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
15317 * configure: Regenerate.
15318 * nptl/shlib-versions: Powerpc*le starts at 2.18.
15319 * shlib-versions: Likewise.
15320
0edf96c2
AM
153212013-10-04 Alan Modra <amodra@gmail.com>
15322
15323 * string/tester.c (test_memrchr): Increment reported test cycle.
15324
e0f7a380
AM
153252013-10-04 Alan Modra <amodra@gmail.com>
15326
15327 * string/test-memcpy.c (do_one_test): When reporting errors, print
15328 string address and don't overrun end of string.
15329
466b0393
AM
153302013-10-04 Alan Modra <amodra@gmail.com>
15331
15332 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
15333 insrdi. Make better use of reg selection to speed exit slightly.
15334 Schedule entry path a little better. Remove useless "are we done"
15335 checks on entry to main loop. Handle wrapping around zero address.
15336 Correct main loop count. Handle single left-over word from main
15337 loop inline rather than by using loop_small. Remove extra word
15338 case in loop_small caused by wrong loop count. Add little-endian
15339 support.
15340 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15341 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
15342 cache hint.
15343 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15344 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
15345 support. Avoid rlwimi.
15346 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
15347
3be87c77
AM
153482013-10-04 Alan Modra <amodra@gmail.com>
15349
15350 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 15351 insrdi. Formatting.
3be87c77
AM
15352 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
15353 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15354 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15355 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15356 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15357 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
15358
759cfef3
AM
153592013-10-04 Alan Modra <amodra@gmail.com>
15360
15361 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
15362 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15363 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15364 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
15365 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15366 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15367 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15368 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15369 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
15370 use of regs. Use power7 mtocrf. Tidy function tails.
15371
fe6e95d7
AM
153722013-10-04 Alan Modra <amodra@gmail.com>
15373
15374 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
15375 Formatting. Consistently use rXXX register defines or rN defines.
15376 Use early exit labels that avoid restoring unused non-volatile regs.
15377 Make cr field use more consistent with rWORDn compares. Rename
15378 regs used as shift registers for unaligned loop, using rN defines
15379 for short lifetime/multiple use regs.
15380 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15381 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
15382 addi 1,1,64 to pop stack frame. Simplify return value code.
15383 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15384
664318c3
AM
153852013-10-04 Alan Modra <amodra@gmail.com>
15386
15387 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
15388 support. Correct typos, formatting. Optimize tail. Use insrdi
15389 rather than rlwimi.
15390 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
15391 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
15392 little-endian support. Correct typos.
15393 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
15394 rather than rlwimi.
15395 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
15396 in loop and entry code to keep "and." results.
15397 (strchr): Add little-endian support. Comment. Move cntlzd
15398 earlier in tail.
15399 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
15400
43b84013
AM
154012013-10-04 Alan Modra <amodra@gmail.com>
15402
15403 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
15404 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
15405 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
15406 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
15407
8a7413f9
AM
154082013-10-04 Alan Modra <amodra@gmail.com>
15409
15410 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
15411 (rTMP): Define as r11.
15412 (strcmp): Add little-endian support. Optimise tail.
15413 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
15414 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15415 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15416 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15417 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15418 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15419 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15420
33ee81de
AM
154212013-10-04 Alan Modra <amodra@gmail.com>
15422
15423 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
15424 little-endian support. Remove unnecessary "are we done" tests.
15425 Handle "s" wrapping around zero and extremely large "size".
15426 Correct main loop count. Handle single left-over word from main
15427 loop inline rather than by using small_loop. Correct comments.
15428 Delete "zero" tail, use "end_max" instead.
15429 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
15430
db9b4570
AM
154312013-10-04 Alan Modra <amodra@gmail.com>
15432
15433 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
15434 support. Don't branch over align.
15435 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
15436 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
15437 support. Rearrange tmp reg use to suit. Comment.
15438 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
15439
f7c399cf
AM
154402013-10-04 Alan Modra <amodra@gmail.com>
15441
15442 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
15443
0b2c2ace
AM
154442013-10-04 Alan Modra <amodra@gmail.com>
15445
15446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
15447 conditional form of branch and link when obtaining pc.
15448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
15449
02f04a6c
AM
154502013-10-04 Alan Modra <amodra@gmail.com>
15451
15452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
15453 HIWORD/LOWORD.
15454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
15455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
15456
9b874b2f
AM
154572013-10-04 Alan Modra <amodra@gmail.com>
15458
15459 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
15460 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
15461 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
15462 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
15463 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15464 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15465 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
15466 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15467 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
15468 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
15469
be1e5d31
AB
154702013-10-04 Anton Blanchard <anton@au1.ibm.com>
15471 Alistair Popple <alistair@ozlabs.au.ibm.com>
15472 Alan Modra <amodra@gmail.com>
15473
15474 [BZ #15723]
15475 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
15476 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
15477 _dl_hwcap access for little-endian.
15478 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
15479 destroy vmx regs when saving unaligned.
15480 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
15481 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
15482 destroy vmx regs when saving unaligned.
15483
fef13a78
AM
154842013-10-04 Alan Modra <amodra@gmail.com>
15485
15486 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
15487 Don't use a union to pack hi/low value.
15488
76a66d51
AB
154892013-10-04 Anton Blanchard <anton@au1.ibm.com>
15490
15491 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
15492 for little-endian.
15493 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15494 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
15495 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15496 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15497 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15498
6a31fe7f
AM
154992013-10-04 Alan Modra <amodra@gmail.com>
15500
15501 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
15502 constants to usual value for .cst8 section, and remove redundant
15503 high address load.
15504 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
15505 constant for 0x1p52. Load little-endian words of double from
15506 correct stack offsets.
15507
7b88401f
AM
155082013-10-04 Alan Modra <amodra@gmail.com>
15509
15510 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
15511 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
15512 words of double from correct stack offsets.
15513 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
15514 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
15515 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15516 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15517 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15518 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15519 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15520 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
15521 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
15522 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15523 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15524 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15525 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15526 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15527 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15528 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
15529 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
15530
9c008155
AM
155312013-10-04 Alan Modra <amodra@gmail.com>
15532
15533 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
15534 64-bit int/double union.
15535 (_FPU_SETCW): Likewise.
15536 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
15537 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
15538
da13146d
AM
155392013-10-04 Alan Modra <amodra@gmail.com>
15540
15541 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
15542 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
15543
603e8410
AM
155442013-10-04 Alan Modra <amodra@gmail.com>
15545
15546 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
15547 use vector int constants.
15548 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
15549
4a28b3ca
AB
155502013-10-04 Anton Blanchard <anton@au1.ibm.com>
15551
15552 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
15553 array with long long.
15554 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
15555 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
15556 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
15557 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
15558 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
15559 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
15560 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
15561 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
15562 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
15563 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
15564 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
15565 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
15566 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
15567
2ca85d2b
AB
155682013-10-04 Anton Blanchard <anton@au1.ibm.com>
15569
15570 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
15571 (__signbit): Likewise. Correct for little-endian.
15572 (__signbitl): Call __signbit.
15573 (lrint): Correct for little-endian.
15574 (lrintf): Call lrint.
15575
62a728ae
AM
155762013-10-04 Alan Modra <amodra@gmail.com>
15577
15578 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
15579 union 32-bit int array member with 64-bit int array.
15580 (t515, tm256): Double rather than long double.
15581 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
15582
32c301df
AM
155832013-10-04 Alan Modra <amodra@gmail.com>
15584
15585 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
15586 Delete.
15587 (IEEE854_LONG_DOUBLE_BIAS): Delete.
15588 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
15589 version of math_ldbl.h.
15590
650ef4bd
AM
155912013-10-04 Alan Modra <amodra@gmail.com>
15592
15593 [BZ #15734], [BZ #15735]
15594 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
15595 all uses of ieee875 long double macros and unions. Simplify test
15596 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
15597 ldbl_extract_mantissa value for ix,iy exponents. Properly
15598 normalize after ldbl_extract_mantissa, and don't add hidden bit
15599 already handled. Don't treat low word of ieee854 mantissa like
15600 low word of IBM long double and mask off bit when testing for
15601 zero.
15602 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
15603 all uses of ieee875 long double macros and unions. Simplify tests
15604 for 0.0L and inf. Correct double adjustment of k. Delete dead code
15605 adjusting ha,hb. Simplify code setting kld. Delete two600 and
15606 two1022, instead use their values. Recognise that tests for large
15607 "a" and small "b" are mutually exclusive. Rename vars. Comment.
15608 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
15609 Rewrite all uses of ieee875 long double macros and unions. Simplify
15610 test for 0.0L and nan. Correct negation.
15611 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
15612 ieee875 long double macros and unions. Correct output for large
15613 magnitude x. Correct absolute value calculation.
15614 (__erfcl): Likewise.
15615 * math/libm-test.inc: Add tests for errors discovered in IBM long
15616 double versions of fmodl, remainderl, erfl and erfcl.
15617
765714ca
AM
156182013-10-04 Alan Modra <amodra@gmail.com>
15619
15620 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
15621 all uses of ieee854 long double macros and unions. Simplify tests
15622 for long doubles that are fully specified by the high double.
15623 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15624 Likewise.
15625 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
15626 Remove dead code too.
15627 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15628 (__ieee754_ynl): Likewise.
15629 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
15630 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
15631 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15632 Remove dead code too.
15633 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
15634 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
15635 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
15636 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
15637 Simplify.
15638 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
15639 Simplify.
15640 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
15641 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
15642 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
15643 Comment on variable precision.
15644 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
15645 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15646 Likewise.
15647 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15648 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15649 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15650 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
15651 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
15652
4ebd120c
AM
156532013-10-04 Alan Modra <amodra@gmail.com>
15654
15655 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
15656 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
15657 all uses of ieee854 long double macros and unions.
15658 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
15659 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15660 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
15661 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
15662 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
15663 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15664 Likewise.
15665 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
15666 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15667 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
15668 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15669 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
15670 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
15671 Simplify sign and nan test too.
15672 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
15673 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
15674 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
15675 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
15676 Likewise.
15677 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15678 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
15679 Likewise.
15680 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15681 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15682 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
15683 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
15684 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
15685 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
15686
1b6adf88
AM
156872013-10-04 Alan Modra <amodra@gmail.com>
15688
15689 * stdio-common/printf_size.c (__printf_size): Don't use
15690 union ieee854_long_double in fpnum union.
15691 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
15692 signbit macro to retrieve sign from long double.
15693 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
15694 retrieve sign from long double.
15695 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
15696 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
15697 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
15698 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15699 * math/test-misc.c (main): Don't use union ieee854_long_double.
15700
4cf69995
AM
157012013-10-04 Alan Modra <amodra@gmail.com>
15702
15703 [BZ #15680]
15704 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
15705 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
15706 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
15707 calculation. Remove unnecessary test for denormal exponent.
15708 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
15709 Correct handling of denormals. Avoid undefined shift behaviour.
15710 Correct normalisation of low mantissa when low double is denormal.
15711 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
15712 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
15713 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
15714 Correct normalisation of low mantissa. Test for overflow of high
15715 mantissa and normalise.
15716 (ldbl_nearbyint): Use more readable constant for two52.
15717 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
15718 (__mpn_construct_long_double): Fix test for overflow of high
15719 mantissa and correct normalisation. Avoid undefined shift.
15720
9605ca6c
AM
157212013-10-04 Alan Modra <amodra@gmail.com>
15722
15723 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15724 (union ibm_extended_long_double): Define as an array of ieee754_double.
15725 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
15726 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
15727 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
15728 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15729 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15730 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
15731 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15732 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15733 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15734 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
15735 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15736
975569d0
JM
157372013-10-03 Joseph Myers <joseph@codesourcery.com>
15738
d3d23756
JM
15739 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
15740 page size instead of calling getpagesize.
15741
975569d0
JM
15742 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
15743 (LOCFILE_ALIGN_MASK): Likewise.
15744 (LOCFILE_ALIGN_UP): Likewise.
15745 (LOCFILE_ALIGNED_P): Likewise.
15746 * locale/programs/ld-collate.c (collate_output): Use the new
15747 macros instead of __alignof__ (int32_t).
15748 * locale/weight.h (findidx): Likewise.
15749
b1fe1f2b
OB
157502013-10-03 Ondřej Bílka <neleai@seznam.cz>
15751
15752 [BZ #431]
15753 * manual/string.texi: Fix strncat and wcsncat.
15754
5f855e35
BM
157552013-10-03 Brooks Moses <bmoses@google.com>
15756
15757 [BZ #15915]
15758 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
15759 * Makerules: ...here, and adjust associated comments.
15760
3cef6009
WN
157612013-10-02 Will Newton <will.newton@linaro.org>
15762
15763 * malloc/Makefile: Add tst-pvalloc.
15764 * malloc/tst-pvalloc.c: New file.
15765
7815420b
WN
157662013-10-02 Will Newton <will.newton@linaro.org>
15767
15768 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
15769 improve test coverage.
15770
4868b204
WN
157712013-10-02 Will Newton <will.newton@linaro.org>
15772
15773 * malloc/Makefile: Add tst-posix_memalign.
15774 * malloc/tst-posix_memalign.c: New file.
15775
29c793b3
EB
157762013-10-01 Eric Blake <eblake@redhat.com>
15777
15778 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
15779 Use __THROWNL rather than __THROW on static functions.
15780
fd967522
PM
157812013-09-30 Petr Machata <pmachata@redhat.com>
15782
15783 * elf/elf.h (R_AARCH64_ABS16): New macro.
15784 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
15785 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
15786 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
15787 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
15788 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
15789 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
15790 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
15791 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
15792 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
15793 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
15794 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
15795 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
15796 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
15797 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
15798 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
15799 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
15800 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
15801 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
15802 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
15803 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
15804 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
15805 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
15806 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
15807 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
15808 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
15809 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
15810 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
15811 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
15812 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
15813 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
15814 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
15815 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
15816 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
15817 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
15818 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
15819 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
15820 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
15821 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
15822 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
15823 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
15824 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
15825 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
15826 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
15827 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
15828 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
15829 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
15830 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
15831 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
15832 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
15833 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
15834 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
15835 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
15836 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
15837 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
15838 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
15839 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
15840 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
15841 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
15842 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
15843 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
15844 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
15845 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
15846 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
15847 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
15848 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
15849 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
15850 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
15851 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
15852 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
15853 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
15854 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
15855 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
15856 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
15857 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
15858 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
15859 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
15860 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
15861 (R_AARCH64_TLSDESC_LDR): Likewise.
15862 (R_AARCH64_TLSDESC_ADD): Likewise.
15863 (R_AARCH64_TLSDESC_CALL): Likewise.
15864
b2179107
AS
158652013-09-30 Andreas Schwab <schwab@suse.de>
15866
15867 [BZ #15048]
15868 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
15869 the nss database lookup.
15870 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15871 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15872
47f28d0a
MF
158732013-09-28 Mike Frysinger <vapier@gentoo.org>
15874
15875 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
15876
158772013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
15878
15879 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
15880 ${Bash-specific parameter/pattern/string} parameter expansion.
15881 * sysdeps/unix/make-syscalls.sh: Likewise.
15882
f4518a17
KK
158832013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15884
15885 * sysdeps/sh/stackguard-macros.h: New file.
15886
dc1a95c7
OB
158872013-09-26 Ondřej Bílka <neleai@seznam.cz>
15888
15889 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15890 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
15891 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
15892 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
15893 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15894 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
15895
5ebbff8f
AZ
158962013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15897
15898 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
15899 Fix thread ID register.
15900
4fd2cf9f
JM
159012013-09-25 Joseph Myers <joseph@codesourcery.com>
15902
15903 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
15904 [POSIX || UNIX98]: Require rather than permitting all symbols from
15905 <time.h>.
15906 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
15907 element of struct sched_param.
15908 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
15909 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
15910 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
15911 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
15912 constant.
15913
12c22bc4
OL
159142013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
15915
15916 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
15917 argument calculation.
15918
a03d8ea7
JM
159192013-09-24 Joseph Myers <joseph@codesourcery.com>
15920
15921 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
15922 Expect macro.
15923 [POSIX] (pthread_attr_t): Do not require type.
15924 [POSIX] (pthread_cond_t): Likewise.
15925 [POSIX] (pthread_condattr_t): Likewise.
15926 [POSIX] (pthread_key_t): Likewise.
15927 [POSIX] (pthread_mutex_t): Likewise.
15928 [POSIX] (pthread_mutexattr_t): Likewise.
15929 [POSIX] (pthread_once_t): Likewise.
15930 [POSIX] (pthread_t): Likewise.
15931 [POSIX-based standards] (pthread_atfork): Expect function.
15932
6055173a
JM
159332013-09-24 Joseph Myers <joseph@codesourcery.com>
15934 Richard Sandiford <richard@codesourcery.com>
15935
15936 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
15937 (swap_endianness_p): New extern variable.
15938 (set_big_endian): New inline function.
15939 (maybe_swap_uint32): Likewise.
15940 (maybe_swap_uint32_array): Likewise.
15941 (maybe_swap_uint32_obstack): Likewise.
15942 * locale/programs/locfile.c: Include <stdbool.h>.
15943 (swap_endianness_p): New variable.
15944 (add_locale_uint32): Call maybe_swap_uint32.
15945 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
15946 (write_locale_data): Call maybe_swap_uint32_array.
15947 * locale/programs/ld-collate.c (obstack_int32_grow): Call
15948 maybe_swap_uint32.
15949 (obstack_int32_grow_fast): Likewise.
15950 (output_weightwc): Call maybe_swap_uint32_obstack.
15951 (collate_output): Likewise.
15952 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
15953 (OPT_LITTLE_ENDIAN): Likewise.
15954 (options): Add --little-endian and --big-endian options.
15955 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
15956 * locale/programs/locarchive.c: Include "locfile.h".
15957 (GET): New macro.
15958 (SET): Likewise.
15959 (INC): Likewise.
15960 (create_archive): Use the new macros to access fields of
15961 structures directly mapped from or written to locale archives.
15962 (oldlocrecentcmp): Likewise.
15963 (enlarge_archive): Likewise.
15964 (insert_name): Likewise.
15965 (add_alias): Likewise.
15966 (add_locale): Likewise.
15967 (delete_locales_from_archive): Likewise.
15968 (show_archive_content): Likewise.
15969 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
15970 locale data.
15971
39bf0bb4
RM
159722013-09-24 Roland McGrath <roland@hack.frob.com>
15973
15974 * manual/freemanuals.texi: Updated from (newly) canonical copy at
15975 http://www.gnu.org/doc/freemanuals.texi.
15976 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
15977
f02eed10
WN
159782013-09-24 Will Newton <will.newton@linaro.org>
15979
15980 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
15981 macro.
15982
a3a6c312
JM
159832013-09-23 Joseph Myers <joseph@codesourcery.com>
15984
15985 * locale/hashval.h (compute_hashval): Interpret bytes of key as
15986 unsigned char.
15987
107375ac
MR
159882013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
15989
15990 * manual/threads.texi (POSIX Threads): Fix a typo.
15991
141f3a77
SP
159922013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15993
303e567a
SP
15994 [BZ #14547]
15995 * string/tst-strcoll-overflow.c: New test case.
15996 * string/Makefile (xtests): Add tst-strcoll-overflow.
15997 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
15998 cache if string sizes may cause integer overflow.
15999
141f3a77
SP
16000 [BZ #14547]
16001 * string/strcoll_l.c (coll_seq): New members rule, idx,
16002 save_idx and back_us.
16003 (get_next_seq_nocache): New function.
16004 (do_compare_nocache): New function.
16005 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
16006 when malloc fails.
16007
c61b4d41
CD
160082013-09-23 Carlos O'Donell <carlos@redhat.com>
16009
0b1f8e35
CD
16010 [BZ #15754]
16011 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
16012 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
16013 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
16014
c61b4d41
CD
16015 [BZ #15754]
16016 * elf/Makefile (tests): Add tst-ptrguard1.
16017 (tests-static): Add tst-ptrguard1-static.
16018 (tst-ptrguard1-ARGS): Define.
16019 (tst-ptrguard1-static-ARGS): Define.
16020 * elf/tst-ptrguard1.c: New file.
16021 * elf/tst-ptrguard1-static.c: New file.
16022 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
16023 * sysdeps/i386/stackguard-macros.h: Likewise.
16024 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16025 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16026 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16027 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16028 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16029 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16030
160312013-09-23 Hector Marco <hecmargi@upv.es>
16032 Ismael Ripoll <iripoll@disca.upv.es>
16033 Carlos O'Donell <carlos@redhat.com>
16034
16035 [BZ #15754]
16036 * sysdeps/generic/stackguard-macros.h: Define
16037 __pointer_chk_guard_local and POINTER_CHK_GUARD.
16038 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
16039 Define __pointer_chk_guard_local.
16040 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
16041 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
16042
f5f4e7b4
VV
160432013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
16044
16045 [BZ #15859]
16046 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
16047
5bb43a43
AS
160482013-09-20 Andreas Schwab <schwab@linux-m68k.org>
16049
16050 * include/string.h (__ffs): Declare as hidden.
16051 * string/ffs.c (__ffs): Define as hidden.
16052 * sysdeps/i386/ffs.c (__ffs): Likewise.
16053 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
16054 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
16055 * sysdeps/s390/ffs.c (__ffs): Likewise.
16056 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
16057
3ea5be54
AO
160582013-09-20 Alexandre Oliva <aoliva@redhat.com>
16059
ffb89e53
AO
16060 * NEWS: Mention malloc probes.
16061
322dea08
AO
16062 * malloc/arena.c (new_heap): New memory_heap_new probe.
16063 (grow_heap): New memory_heap_more probe.
16064 (shrink_heap): New memory_heap_less probe.
16065 (heap_trim): New memory_heap_free probe.
16066 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
16067 (systrim): New memory_sbrk_less probe.
16068 * manual/probes.texi: Document them.
16069
655673f3
AO
16070 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
16071 * manual/probes.texi: Document it.
16072
35fed6f1
AO
16073 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
16074 (__libc_realloc): Add memory_realloc_retry probe.
16075 (__libc_memalign): Add memory_memalign_retry probe.
16076 (__libc_valloc): Add memory_valloc_retry probe.
16077 (__libc_pvalloc): Add memory_pvalloc_retry probe.
16078 (__libc_calloc): Add memory_calloc_retry probe.
16079 * manual/probes.texi: Document them.
16080
6999d38c
AO
16081 * malloc/arena.c (get_free_list): Add probe
16082 memory_arena_reuse_free_list.
16083 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
16084 and memory_arena_reuse.
16085 (arena_get2) [!PER_THREAD]: Likewise.
16086 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
16087 memory_arena_reuse_realloc.
16088 * manual/probes.texi: Document them.
16089
0653427f
AO
16090 * malloc/malloc.c (__libc_free): Add
16091 memory_mallopt_free_dyn_thresholds probe.
16092 (__libc_mallopt): Add multiple memory_mallopt probes.
16093 * manual/probes.texi: Document them.
16094
3ea5be54
AO
16095 * malloc/malloc.c: Include stap-probe.h.
16096 (__libc_mallopt): Add memory_mallopt probe.
16097 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
16098 * manual/probes.texi: New.
16099 * manual/Makefile (chapters): Add probes.
16100 * manual/threads.texi: Set next node.
16101
e35696c3 161022013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 16103
e35696c3
CL
16104 [BZ #15963, #13985]
16105 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
16106 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
16107 Add `Chinese' to `nan' entry name.
16108
4aafb73c
SP
161092013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16110
16111 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
16112 (POLYNOMIAL): Likewise.
16113 (TAYLOR_SINCOS): Likewise.
16114 (TAYLOR_SLOW): Likewise.
16115 (__sin): Use TAYLOR_SINCOS.
16116 (__cos): Likewise.
16117 (slow): Use TAYLOR_SLOW.
16118 (sloww): Likewise.
16119 (bsloww): Likewise.
16120 (csloww): Likewise.
16121
d84f25c7
LD
161222013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16123
16124 * stdlib/strtod_l.c: Fix buffer overrun.
16125
5eea0404
SP
161262013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16127
7849ff93
SP
16128 * benchtests/Makefile (bench): Add sincos.
16129 * benchtests/bench-sincos.c: New file.
16130
cfa3c886
SP
16131 * math/libm-test.inc (cos_test_data): New test inputs.
16132 (sin_test_data): Likewise.
16133
b348e1e3
SP
16134 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
16135 macro.
16136 (__sin): Use it.
16137 (__cos): Likewise.
16138 (slow1): Likewise.
16139 (slow2): Likewise.
16140 (sloww1): Likewise.
16141 (sloww2): Likewise.
16142 (bsloww1): Likewise.
16143 (bsloww2): Likewise.
16144 (cslow2): Likewise.
16145 (csloww1): Likewise.
16146 (csloww2): Likewise.
16147
6cce25f8
SP
16148 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
16149 function.
16150 (__sin): Use it.
16151 (__cos): Likewise.
16152
5eea0404
SP
16153 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
16154 gotos.
16155 (__cos): Likewise.
16156
9c21573c
MR
161572013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
16158
16159 * config.h.in (HAVE_MIPS_NAN2008): New macro.
16160 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
16161 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
16162 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
16163 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
16164 * elf/cache.c (print_entry): Handle the new cache flags.
16165
24d22e65
JM
161662013-09-18 Joseph Myers <joseph@codesourcery.com>
16167 Aldy Hernandez <aldyh@redhat.com>
16168
16169 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
16170 Change condition to [_SOFT_FLOAT].
16171 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
16172 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
16173 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
16174 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
16175 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
16176 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
16177 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
16178 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
16179 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
16180 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
16181 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
16182 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
16183 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
16184 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
16185 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
16186 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
16187 declaration.
16188
d13ef066
JM
161892013-09-18 Joseph Myers <joseph@codesourcery.com>
16190
2e071de0
JM
16191 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
16192 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16193 (__longjmp): Use LOAD_GP to load saved GPRs.
16194 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
16195 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16196 (__sigsetjmp): Use SAVE_GP to save GPRs.
16197
d13ef066
JM
16198 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
16199 Do not append -msoft-float.
16200 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
16201
97a0650b
SP
162022013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16203
16204 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
16205
11ca09e9
JM
162062013-09-17 Joseph Myers <joseph@codesourcery.com>
16207
16208 [BZ #15966]
16209 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
16210 (_FPU_GETCW): Use initial "__" on variable and field names but not
16211 on macro parameter name.
16212 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
16213 parentheses around reference to macro parameter.
16214
08ffcf34
RS
162152013-09-13 Richard Sandiford <richard@codesourcery.com>
16216
16217 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
16218 prototype.
16219 (ctype_startup): Use uint32_t in cast and sizeof for
16220 ctype->charnames.
16221
ae7080d3
JL
162222013-09-11 Jia Liu <proljc@gmail.com>
16223
16224 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
16225 __daddr_t_defined.
16226 [__FreeBSD__]: Likewise.
16227
5905e7b3
OB
162282013-09-11 Ondřej Bílka <neleai@seznam.cz>
16229
16230 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16231 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
16232 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
16233 (strchr): Remove __strchr_sse42 ifunc selection.
16234 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
16235 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
16236
b987c776
WN
162372013-09-11 Will Newton <will.newton@linaro.org>
16238
16239 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
16240 parameter to RES. Remove hardcoded 1000 value.
16241 * benchtests/bench-skeleton.c (main): Pass RES parameter
16242 to TIMING_INIT and multiply result by 1000.
16243
ddf985af
AZ
162442013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16245
16246 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16247
ffdd3181
AS
162482013-09-11 Andreas Schwab <schwab@suse.de>
16249
16250 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16251 if not defined.
16252 (O_TMPFILE) [__USE_GNU]: Define.
16253 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
16254 Define.
16255
b73ed247
WN
162562013-09-11 Will Newton <will.newton@linaro.org>
16257
16258 [BZ #15857]
16259 * malloc/malloc.c (__libc_memalign): Check the value of bytes
16260 does not overflow.
16261
55e17aad
WN
162622013-09-11 Will Newton <will.newton@linaro.org>
16263
16264 [BZ #15856]
16265 * malloc/malloc.c (__libc_valloc): Check the value of bytes
16266 does not overflow.
16267
1159a193
WN
162682013-09-11 Will Newton <will.newton@linaro.org>
16269
16270 [BZ #15855]
16271 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
16272 does not overflow.
16273
5905e7b3 162742013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
16275
16276 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
16277 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16278 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16279 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16280 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16281
cdfc721b
AM
162822013-09-10 Allan McRae <allan@archlinux.org>
16283
aa04af00
AM
16284 [BZ #15748]
16285 * manual/arith.texi (Parsing of Floats): Clarify
16286 cross-reference.
16287
cdfc721b
AM
16288 [BZ #15849]
16289 * manual/install.texi (Running make install): Mention
16290 --enable-pt-chown.
16291 * INSTALL: Regenerated.
16292
95e7cf29
MR
162932013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16294
16295 * csu/init-first.c (_init): Remove the !SHARED condition around
16296 FPU control word initialization.
16297 * elf/dl-support.c (_dl_fpu_control): New variable.
16298 (_dl_aux_init) <AT_FPUCW>: Initialize it.
16299 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
16300 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
16301 * math/test-fpucw-static.c: New file.
16302 * math/test-fpucw-ieee.c: New file.
16303 * math/test-fpucw-ieee-static.c: New file.
16304 * math/Makefile (tests): Add `test-fpucw-ieee' and
16305 `$(tests-static)'.
16306 (tests-static): New variable.
16307 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
16308 dependency to...
16309 [($(build-shared),yes)]
16310 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16311 ... this.
16312 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
16313 New dependency.
16314
83e43bf0
AM
163152013-09-09 Allan McRae <allan@archlinux.org>
16316
a9f5ce09
AM
16317 [BZ #15939]
16318 * manual/string.texi (Collation Functions): Fix typo in
16319 strcoll example.
16320 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
16321
34829bc2
AM
16322 [BZ #15893]
16323 * stdlib/isomac.c (get_null_defines): Fix memory leak.
16324
3932737d
AM
16325 [BZ #15892]
16326 * libio/memstream.c (open_memstream): Fix memory leak.
16327 * libio/wmemstream.c (open_wmemstream): Likewise.
16328
83e43bf0
AM
16329 [BZ #15895]
16330 * nscd/netgroupcache.c: Fix nesting of ifdefs.
16331
0c66b8e9
WN
163322013-09-09 Will Newton <will.newton@linaro.org>
16333
16334 * malloc/Makefile: Add tst-realloc to tests.
16335 * malloc/tst-realloc.c: New file.
16336
f6b00fd1
AM
163372013-09-09 Allan McRae <allan@archlinux.org>
16338
16339 [BZ #15844]
16340 * COPYING: Update from GNU website to fix FSF address.
16341 * COPYING.LIB: Likewise.
16342
eec55e16
DM
163432013-09-06 David S. Miller <davem@davemloft.net>
16344
16345 * po/zh_TW.po: Update Chinese (traditional) translation from
16346 translation project.
16347
1ecbb381
RS
163482013-09-06 Richard Sandiford <richard@codesourcery.com>
16349 Joseph Myers <joseph@codesourcery.com>
16350
16351 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
16352 "localeinfo.h".
16353 (obstack_chunk_alloc): New macro.
16354 (obstack_chunk_free): Likewise.
16355 (record_offset): New function.
16356 (init_locale_data): Likewise.
16357 (align_locale_data): Likewise.
16358 (add_locale_empty): Likewise.
16359 (add_locale_raw_data): Likewise.
16360 (add_locale_raw_obstack): Likewise.
16361 (add_locale_string): Likewise.
16362 (add_locale_wstring): Likewise.
16363 (add_locale_uint32): Likewise.
16364 (add_locale_uint32_array): Likewise.
16365 (add_locale_char): Likewise.
16366 (start_locale_structure): Likewise.
16367 (end_locale_structure): Likewise.
16368 (start_locale_prelude): Likewise.
16369 (end_locale_prelude): Likewise.
16370 (write_locale_data): Take locale_file structure rather than an
16371 iovec.
16372 * locale/programs/locfile.h: Include "obstack.h".
16373 (struct locale_file): Change to store locale file contents instead
16374 of header.
16375 (init_locale_data): New prototype.
16376 (align_locale_data): Likewise.
16377 (add_locale_empty): Likewise.
16378 (add_locale_raw_data): Likewise.
16379 (add_locale_raw_obstack): Likewise.
16380 (add_locale_string): Likewise.
16381 (add_locale_wstring): Likewise.
16382 (add_locale_uint32): Likewise.
16383 (add_locale_uint32_array): Likewise.
16384 (add_locale_char): Likewise.
16385 (start_locale_structure): Likewise.
16386 (end_locale_structure): Likewise.
16387 (start_locale_prelude): Likewise.
16388 (end_locale_prelude): Likewise.
16389 (write_locale_data): Update prototype.
16390 * locale/programs/3level.h (struct TABLE): Remove result field.
16391 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
16392 Use new locale_file interface.
16393 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
16394 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
16395 * locale/programs/ld-address.c (address_output): Use new
16396 locale_file interface.
16397 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
16398 NO_ADD_LOCALE.
16399 (collate_finish): Don't call collseq_table_finalize.
16400 (collate_output): Use new locale_file interface.
16401 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
16402 in file.
16403 (NO_FINALIZE): Change to NO_ADD_LOCALE.
16404 (TABLE): Move defines earlier in file.
16405 (ELEMENT): Likewise.
16406 (DEFAULT): Likewise.
16407 (wctrans_table_add): Move macro and inline function earlier in
16408 file.
16409 (struct wctype_table): Move type earlier in file.
16410 (add_locale_wctype_table): New static prototype.
16411 (struct locale_ctype_t): Use logical types instead of struct iovec
16412 pointers for members.
16413 (ctype_output): Use new locale_file interface.
16414 (wctype_table_finalize): Change to add_locale_wctype_table. Use
16415 new locale_file interface.
16416 (allocate_arrays): Update for use of new locale_file interface.
16417 * locale/programs/ld-identification.c (identification_output): Use
16418 new locale_file interface.
16419 * locale/programs/ld-measurement.c (measurement_output): Likewise.
16420 * locale/programs/ld-messages.c (messages_output): Likewise.
16421 * locale/programs/ld-monetary.c (monetary_output): Likewise.
16422 * locale/programs/ld-name.c (name_output): Likewise.
16423 * locale/programs/ld-numeric.c (numeric_output): Likewise.
16424 * locale/programs/ld-paper.c (paper_output): Likewise.
16425 * locale/programs/ld-telephone.c (telephone_output): Likewise.
16426 * locale/programs/ld-time.c (time_output): Likewise.
16427
e029e2e5
AZ
164282013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16429
16430 * benchtests/Makefile: Add memrchr benchmark.
16431 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
16432 benchmark as memrchr.
16433 * benchtests/bench-memrchr-ifunc.c: New file.
16434 * benchtests/bench-memrchr.c: New file.
16435
bbf6e8e4
WN
164362013-09-06 Will Newton <will.newton@linaro.org>
16437
16438 * benchtests/Makefile (string-bench): Add memcpy.
16439
6c82a2f8
CD
164402013-09-05 Carlos O'Donell <carlos@redhat.com>
16441 Cong Wang <amwang@redhat.com>
16442
e732c5f0 16443 [BZ #15850]
6c82a2f8
CD
16444 * sysdeps/unix/sysv/linux/bits/in.h
16445 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
16446 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
16447 before __USE_KERNEL_IPV6_DEFS uses.
16448 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
16449 IPPROTO_BEETPH.
16450 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
16451 sockaddr_in6, or ipv6_mreq.
16452
5430fc65
AZ
164532013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16454
16455 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
16456 memory access for final bytes in some large inputs.
16457 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
16458
4660856c
AZ
164592013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16460
16461 * string/test-memrchr.c: New file.
16462 * string/test-memrchr-ifunc.c: New file.
16463 * string/Makefile: Add new memrchr testcase.
16464
bb8ea713
MF
164652013-09-05 Mike Frysinger <vapier@gentoo.org>
16466
16467 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
16468 fanotify_init returns EPERM.
16469
b92a20b5
JM
164702013-09-04 Joseph Myers <joseph@codesourcery.com>
16471
16472 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
16473 errors.
16474 (top level): Treat second token from macro or constant entries for
16475 allowed headers as allowed.
16476 * include/complex.h: Condition internal declarations on
16477 [!_ISOMAC].
16478 * include/fenv.h: Condition include of <stdbool.h> and internal
16479 declarations on [!_ISOMAC].
7447ccd9
CL
16480
164812013-09-04 Chris Leonard <cjl@sugarlabs,.org>
16482
3e181dda 16483 [BZ #15923]
7447ccd9
CL
16484 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
16485
3f2e46a4
JM
164862013-09-04 Joseph Myers <joseph@codesourcery.com>
16487
16488 * configure.in (--enable-versioning): Remove configure option.
16489 (libc_cv_asm_symver_directive): Remove configure test.
16490 (libc_cv_ld_version_script_option): Likewise.
16491 (VERSIONING): Remove variable and AC_SUBST.
16492 (DO_VERSIONING): Remove AC_DEFINE.
16493 * configure: Regenerated.
16494 * config.h.in (DO_VERSIONING): Remove macro.
16495 * Makerules [$(versioning) = yes]: Change conditionals to
16496 [$(build-shared) = yes].
16497 * config.make.in (versioning): Remove variable.
16498 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
16499 [$(build-shared) = yes].
16500 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
16501 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
16502 * elf/Makefile [$(versioning) = yes]: Change conditionals to
16503 [$(build-shared) = yes].
16504 * extra-lib.mk [$(versioning) = yes]: Likewise.
16505 * hurd/Makefile [$(versioning) = yes]: Likewise.
16506 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
16507 [SHARED].
16508 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
16509 [SHARED].
16510 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16511 [SHARED && !NO_HIDDEN].
16512 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
16513 [SHARED].
16514 [SHARED && DO_VERSIONING]: Likewise..
16515 * libio/Makefile [$(versioning) = yes]: Change conditionals to
16516 [$(build-shared) = yes].
16517 * manual/install.texi (--disable-versioning): Remove
16518 documentation.
16519 * INSTALL: Regenerated.
16520 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
16521 to [SHARED].
16522 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
16523 [$(build-shared) = yes].
16524 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
16525 * sysdeps/i386/i686/multiarch/strstr-c.c
16526 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16527 [SHARED && !NO_HIDDEN].
16528 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
16529 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
16530 * sysdeps/powerpc/powerpc32/dl-machine.c
16531 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
16532 * sysdeps/powerpc/powerpc32/sysdep.h
16533 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
16534 to [SHARED && PIC && !NO_HIDDEN].
16535 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
16536 conditional to [SHARED].
16537
44558701
WN
165382013-09-04 Will Newton <will.newton@linaro.org>
16539
16540 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
16541 * benchtests/bench-string.h: Include bench-timing.h instead
16542 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
16543 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
16544 call to HP_TIMING_DIFF_INIT.
16545 * benchtests/bench-memccpy.c: Use bench-timing.h macros
16546 instead of hp-timing.h macros.
16547 * benchtests/bench-memchr.c: Likewise.
16548 * benchtests/bench-memcmp.c: Likewise.
16549 * benchtests/bench-memcpy.c: Likewise.
16550 * benchtests/bench-memmem.c: Likewise.
16551 * benchtests/bench-memmove.c: Likewise.
16552 * benchtests/bench-memset.c: Likewise.
16553 * benchtests/bench-rawmemchr.c: Likewise.
16554 * benchtests/bench-strcasecmp.c: Likewise.
16555 * benchtests/bench-strcasestr.c: Likewise.
16556 * benchtests/bench-strcat.c: Likewise.
16557 * benchtests/bench-strchr.c: Likewise.
16558 * benchtests/bench-strcmp.c: Likewise.
16559 * benchtests/bench-strcpy.c: Likewise.
16560 * benchtests/bench-strcpy_chk.c: Likewise.
16561 * benchtests/bench-strlen.c: Likewise.
16562 * benchtests/bench-strncasecmp.c: Likewise.
16563 * benchtests/bench-strncat.c: Likewise.
16564 * benchtests/bench-strncmp.c: Likewise.
16565 * benchtests/bench-strncpy.c: Likewise.
16566 * benchtests/bench-strnlen.c: Likewise.
16567 * benchtests/bench-strpbrk.c: Likewise.
16568 * benchtests/bench-strrchr.c: Likewise.
16569 * benchtests/bench-strspn.c: Likewise.
16570 * benchtests/bench-strstr.c: Likewise.
16571
cae16d66
WN
165722013-09-04 Will Newton <will.newton@linaro.org>
16573
16574 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
16575
ffa3cd7f
JM
165762013-09-03 Joseph Myers <joseph@codesourcery.com>
16577
16578 [BZ #15427]
16579 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
16580 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
16581 * math/libm-test.inc (lgamma_test_data): Add more tests.
16582 * sysdeps/i386/fpu/libm-test-ulps: Update.
16583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16584
8f02859f
OB
165852013-09-03 Ondřej Bílka <neleai@seznam.cz>
16586
16587 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
16588 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16589 Add ifunc.
16590 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16591 Add strcmp-sse2-unaligned
16592 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
16593
18d43716
MF
165942013-09-02 Mike Frysinger <vapier@gentoo.org>
16595
16596 * Versions.def (libc): Add GLIBC_2.19.
16597
ac444012
MF
165982013-09-02 Mike Frysinger <vapier@gentoo.org>
16599
16600 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
16601 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
16602
b7835e32
JM
166032013-09-02 Joseph Myers <joseph@codesourcery.com>
16604
16605 [BZ #14155]
16606 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
16607 intermediate calculations in recurrence.
16608 (__ieee754_ynf): Likewise.
16609 * math/libm-test.inc (jn_test_data): Do not allow spurious
16610 underflow exception. Add more tests.
16611 (yn_test_data): Add more tests.
16612 * sysdeps/i386/fpu/libm-test-ulps: Update.
16613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16614
8220f4f0
OB
166152013-09-02 Ondřej Bílka <neleai@seznam.cz>
16616
16617 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
16618
f24a6d08
OB
166192013-08-30 Ondřej Bílka <neleai@seznam.cz>
16620
16621 * csu/init-first.c: Fix then/than typos.
16622 * locale/programs/ld-collate.c: Likewise.
16623 * locale/programs/linereader.h: Likewise.
16624 * manual/charset.texi: Likewise.
16625 * manual/filesys.texi: Likewise.
16626 * manual/stdio.texi: Likewise.
16627 * manual/string.texi: Likewise.
16628 * stdlib/fmtmsg.c: Likewise.
16629 * sysdeps/i386/stpncpy.S: Likewise.
16630 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16631 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16632 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16633 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16634
382466e0
OB
166352013-08-30 Ondřej Bílka <neleai@seznam.cz>
16636
16637 * elf/dl-open.c: Fix typos.
16638 * iconvdata/gbbig5.c: Likewise.
16639 * iconvdata/iso-2022-jp.c: Likewise.
16640 * iconv/gconv_int.h: Likewise.
16641 * iconv/loop.c: Likewise.
16642 * nis/rpcsvc/nis.h: Likewise.
16643 * resolv/ns_name.c: Likewise.
16644 * stdio-common/vfscanf.c: Likewise.
16645 * streams/stropts.h: Likewise.
16646 * sunrpc/rpc_thread.c: Likewise.
16647 * sysdeps/i386/strpbrk.S: Likewise.
16648 * sysdeps/ieee754/k_standard.c: Likewise.
16649 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16650 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16651 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
16652 * sysdeps/mach/hurd/profil.c: Likewise.
16653 * sysdeps/s390/dl-procinfo.h: Likewise.
16654 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
16655 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
16656 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
16657 * sysdeps/x86_64/dl-trampoline.S: Likewise.
16658 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16659
0186c6e9
OB
166602013-08-30 Ondřej Bílka <neleai@seznam.cz>
16661
16662 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
16663 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
16664
d4e16af1
OB
166652013-08-29 Ondřej Bílka <neleai@seznam.cz>
16666
16667 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
16668 aix specific files.
16669 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
16670 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
16671 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
16672 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
16673 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
16674 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
16675 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
16676 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
16677
88335980
TS
166782013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16679 Roland McGrath <roland@hack.frob.com>
16680
16681 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
16682 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16683
ed479b02
ST
166842013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
16685
16686 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
16687 __executable_start symbol instead of _start.
16688
f1cc4c86
TS
166892013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16690
d821f07c
TS
16691 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
16692 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
16693 Move macros to...
16694 * sysdeps/gnu/ldsodefs.h: ... this new file.
16695
c54290cf
TS
16696 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
16697 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
16698 instead of ELFOSABI_LINUX.
16699
0007fc9b 16700 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
16701 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
16702 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
16703 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
16704 Likewise.
16705 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
16706 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
16707 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
16708 Likewise.
16709 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16710 (ibm_extended_long_double): Add ieee_nan member.
16711 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
16712 (do_test): New function.
16713
f1cc4c86
TS
16714 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
16715 TEST_TRUNC.
16716 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
16717 functions, renamed from truncdfsf_test, trunctfsf_test,
16718 trunctfdf_test.
16719 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
16720 functions.
16721 (do_test): Run all these.
16722
6f65e668
OB
167232013-08-29 Ondřej Bílka <neleai@seznam.cz>
16724
16725 * argp/argp-help.c: Fix typos.
16726 * argp/argp-parse.c: Likewise.
16727 * debug/backtracesyms.c: Likewise.
16728 * elf/elf.h: Likewise.
16729 * malloc/malloc.c: Likewise.
16730 * nis/nis_print.c: Likewise.
16731 * resolv/res_comp.c: Likewise.
16732 * stdlib/stdlib.h: Likewise.
16733 * sunrpc/clnt_tcp.c: Likewise.
16734 * sunrpc/clnt_udp.c: Likewise.
16735 * sunrpc/clnt_unix.c: Likewise.
16736 * sysdeps/unix/bsd/ptsname.c: Likewise.
16737 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16738 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
16739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
16740 Likewise.
16741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
16742 Likewise.
16743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
16744 Likewise.
6f65e668
OB
16745 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16746
3a309239
SP
167472013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16748
16749 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
16750 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16751
3b813b29
MF
167522013-08-27 Mike Frysinger <vapier@gentoo.org>
16753
16754 [BZ #15897]
16755 * dlfcn/Makefile (tests): Add bug-dl-leaf.
16756 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
16757 ($(objpfx)bug-dl-leaf): New rule.
16758 ($(objpfx)bug-dl-leaf.so): Likewise.
16759 ($(objpfx)bug-dl-leaf.out): Likewise.
16760 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
16761 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
16762 * dlfcn/bug-dl-leaf.c: New test.
16763 * dlfcn/bug-dl-leaf-lib.c: Likewise.
16764 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
16765 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
16766 (dlclose): Likewise.
16767 (dlmopen): Likewise.
16768
8cc3269f
RM
167692013-08-27 Roland McGrath <roland@hack.frob.com>
16770
7f9d0034
RM
16771 * include/netdb.h [!_ISOMAC]:
16772 Don't include <tls.h>.
16773 (h_errno, __libc_h_errno): Move declaration and macros out of
16774 [_LIBC_REENTRANT].
16775
fb431262
RM
16776 * include/resolv.h [_RESOLV_H_]:
16777 Don't include <tls.h>.
16778 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
16779 * resolv/res_libc.c: Don't include <tls.h>.
16780 (_res): Use __attribute__ ((nocommon)) in place of
16781 __attribute__ ((section (".bss"))).
16782
bd81123a
RM
16783 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
16784 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
16785
c4e42566
RM
16786 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
16787
f890a59b
RM
16788 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
16789 only under [SIOCGIFCONF && SIOCGIFNETMASK].
16790
16791 * resolv/res_mkquery.c: Include <sys/time.h>.
16792
5d1f0a09
RM
16793 * inet/ifreq.c: Moved to ...
16794 * sysdeps/unix/ifreq.c: ... here.
16795 * inet/ifreq.c: New file, true stub version.
16796
6fcf28b3
RM
16797 * socket/sa_len.c: New file.
16798 * socket/Makefile (aux): Add it.
16799 * sysdeps/unix/sysv/linux/Makefile
16800 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
16801 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
16802 and #include <socket/sa_len.c>.
16803 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
16804 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
16805
e041fb8b
RM
16806 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
16807 * bits/socket.h: ... here.
16808
8cc3269f
RM
16809 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
16810 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
16811 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
16812
5d228a43
AS
168132013-08-27 Andreas Schwab <schwab@suse.de>
16814
45b8accc
AS
16815 [BZ #15736]
16816 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
16817 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
16818 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
16819 * string/test-strcasecmp.c (test_main): Run tests in several
16820 locales.
16821 * string/test-strncasecmp.c (test_main): Likewise.
16822
5d228a43
AS
16823 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
16824 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
16825 to __strcasecmp_nonascii and __strncasecmp_nonascii.
16826 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
16827 (__strncasecmp_ssse3) [PIC]: Likewise.
16828
59d112a4
RM
168292013-08-26 Roland McGrath <roland@hack.frob.com>
16830
53234cc3
RM
16831 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
16832
59d112a4
RM
16833 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
16834 instead of explicitly declaring xdecrypt.
16835 * nis/nss_nis/nis-publickey.c: Likewise.
16836
595aba70
SP
168372013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16838
16839 [BZ #15890]
16840 * nscd/aicache.c: Include res_hconf.h.
16841 (addhstaiX): Initialize res_hconf.
16842
ffabd393
AS
168432013-08-26 Andreas Schwab <schwab@suse.de>
16844
16845 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
16846 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
16847
e0a69f5c
SP
168482013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16849
16850 * nscd/aicache.c (addhstaiX): Fix indentation.
16851
8c12f01d
MF
168522013-08-25 Mike Frysinger <vapier@gentoo.org>
16853
16854 * configure.ac: Quote $build_pt_chown test.
16855 * configure: Regenerated.
16856
8fe89494
JM
168572013-08-23 Joseph Myers <joseph@codesourcery.com>
16858
16859 [BZ #15532]
16860 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
16861 * math/s_cexpf.c (__cexpf): Likewise.
16862 * math/s_cexpl.c (__cexpl): Likewise.
16863 * math/libm-test.inc (cexp_test_data): Correct expected return
16864 value for NaN + i0. Add another test.
16865
75b181d6
DM
168662013-08-22 David S. Miller <davem@davemloft.net>
16867
16868 * po/ca.po: Update Catalan translation from translation project.
936241e4 16869 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 16870
acd06bb1
JM
168712013-08-21 Joseph Myers <joseph@codesourcery.com>
16872
16873 [BZ #15797]
16874 * math/s_fdim.c (__fdim): Check for infinite arguments if result
16875 is infinite, not alongside NaN test.
16876 * math/s_fdimf.c (__fdimf): Likewise.
16877 * math/s_fdiml.c (__fdiml): Likewise.
16878 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
16879 errno is unchanged.
16880
c0c3f78a
OB
168812013-08-21 Ondřej Bílka <neleai@seznam.cz>
16882
16883 * argp/argp-help.c: Fix typos.
16884 * crypt/speeds.c: Likewise.
16885 * csu/check_fds.c: Likewise.
16886 * elf/dl-load.c: Likewise.
16887 * elf/dl-open.c: Likewise.
16888 * elf/reldep3.c: Likewise.
16889 * elf/reldep.c: Likewise.
16890 * elf/sprof.c: Likewise.
16891 * iconv/iconv_charmap.c: Likewise.
16892 * iconv/skeleton.c: Likewise.
16893 * iconv/strtab.c: Likewise.
16894 * io/lockf64.c: Likewise.
16895 * libio/libioP.h: Likewise.
16896 * resolv/gai_notify.c: Likewise.
16897 * resolv/ns_name.c: Likewise.
16898 * resolv/ns_samedomain.c: Likewise.
16899 * resolv/res_send.c: Likewise.
16900 * stdlib/random.c: Likewise.
16901 * sunrpc/rpc/xdr.h: Likewise.
16902 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
16903 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16904 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16905 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16906 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16907 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16908 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16909 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16910 * sysdeps/mach/hurd/check_fds.c: Likewise.
16911 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16912 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16913 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16914 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16915 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16916 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16917 * sysdeps/pthread/aio_notify.c: Likewise.
16918 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
16919 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
16920 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
16921 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16922 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16923
46ed1038
LD
169242013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16925
16926 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
16927 version if bit_Slow_SSE4_2 is set.
16928 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16929 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16930
d400dcac
AZ
169312013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16932
16933 [BZ #15867]
16934 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
16935 trampoline stack frame information.
16936 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
16937 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
16938 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
16939 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
16940 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
16941 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16942 (_libc_vdso_platform_setup): Initialize the signal trampolines.
16943 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
16944 sa_flags value.
16945 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
16946 interrupting a syscall and set with option SA_SIGINFO.
16947
42c8fdd8
JM
169482013-08-20 Joseph Myers <joseph@codesourcery.com>
16949
c980f2f4
JM
16950 [BZ #15531]
16951 * math/s_cproj.c (__cproj): Only return an infinity if one part of
16952 argument is infinite.
16953 * math/s_cprojf.c (__cprojf): Likewise.
16954 * math/s_cprojl.c (__cprojl): Likewise.
16955 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
16956 * math/libm-test.inc (cproj_test_data): Add more tests.
16957
0716c4fc
JM
16958 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
16959
42c8fdd8
JM
16960 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
16961 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
16962 size. Use __ffs to determine corresponding shift.
16963
b31469d0
JM
169642013-08-20 Joseph Myers <joseph@codesourcery.com>
16965 Roland McGrath <roland@hack.frob.com>
16966
16967 * Makefile (INSTALL): Remove trailing blank lines from output of
16968 makeinfo.
16969
4e39af6e
AK
169702013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16971
16972 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
16973 Align 32 bit compat elf_greg to 8 bytes.
16974
f315524e
AA
169752013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
16976
16977 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
16978
1326ba1a
SP
169792013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16980
16981 * string/strcoll_l.c (coll_seq): New structure.
16982 (get_next_seq_cached): New function.
16983 (get_next_seq): New function.
16984 (do_compare): New function.
16985 (STRCOLL): Use GNU style definition. Simplify implementation
16986 by using get_next_seq, get_next_seq_cached and do_compare.
16987
91ce4085
FW
169882013-08-16 Florian Weimer <fweimer@redhat.com>
16989
16990 [BZ #14699]
16991 CVE-2013-4237
16992 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
16993 member.
16994 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
16995 member.
16996 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
16997 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
16998 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
16999 conditional.
17000 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
17001 GETDENTS_64BIT_ALIGNED.
17002 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17003 * manual/filesys.texi (Reading/Closing Directory): Document
17004 ENAMETOOLONG return value of readdir_r. Recommend readdir more
17005 strongly.
17006 * manual/conf.texi (Limits for Files): Add portability note to
17007 NAME_MAX, PATH_MAX.
17008 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
17009
ca0a6bc4
AS
170102013-08-13 Andreas Schwab <schwab@suse.de>
17011
17012 [BZ #15749]
17013 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
17014 of fabs.
17015 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
17016 LDBL_MAX_EXP >= 16384]: Add tests for it.
17017
6c1fd795
DM
170182013-08-12 David S. Miller <davem@davemloft.net>
17019
17020 * version.h (RELEASE): Set to "development".
17021 (VERSION): Set to "2.18.90".
17022 * NEWS: Add 2.19 section.
17023
31ad488d
DM
170242013-08-03 David S. Miller <davem@davemloft.net>
17025
17026 * po/ko.po: Update Korean translation from translation project.
17027
db24e684
DM
170282013-08-01 David S. Miller <davem@davemloft.net>
17029
17030 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
17031 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
17032 Bilka.
17033
f723285b
DM
170342013-07-30 David S. Miller <davem@davemloft.net>
17035
17036 * po/fr.po: Update French translation from translation project.
17037
3cbc52db
DM
170382013-07-28 David S. Miller <davem@davemloft.net>
17039
30bbc0cc
DM
17040 * po/cs.po: Update Czech translation from translation project.
17041
3cbc52db
DM
17042 * po/sv.po: Update Swedish translation from translation project.
17043
d492e6d0
DM
170442013-07-27 David S. Miller <davem@davemloft.net>
17045
f1a7f492
DM
17046 * po/eo.po: Update Esperanto translation from translation project.
17047
90e62a4a
DM
17048 * po/vi.po: Update Vietnamese translation from translation project.
17049
d492e6d0
DM
17050 * po/de.po: Update German translation from translation project.
17051
d4baa62d
DM
170522013-07-26 David S. Miller <davem@davemloft.net>
17053
641aa7b4
DM
17054 * po/bg.po: Update Bulgarian translation from translation project.
17055
d4baa62d
DM
17056 * po/nl.po: Update Dutch translation from translation project.
17057 * po/pl.po: Update Polish translation from translation project.
17058 * po/ru.po: Update Russian translation from translation project.
17059
61a9dcb9
DM
170602013-07-24 David S. Miller <davem@davemloft.net>
17061
17062 * po/libc.pot: Update.
17063
7b1f8b58
AZ
170642013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17065
17066 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
17067 variable page size.
17068 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
17069 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
17070 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
17071
a8fc7a03
AK
170722013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17073
17074 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
17075
e4608715
CD
170762013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17077 Andreas Schwab <schwab@suse.de>
17078 Roland McGrath <roland@hack.frob.com>
17079 Joseph Myers <joseph@codesourcery.com>
17080 Carlos O'Donell <carlos@redhat.com>
17081
17082 [BZ #15755]
17083 * config.h.in: Define HAVE_PT_CHOWN.
17084 * config.make.in (build-pt-chown): New variable.
17085 * configure.in (--enable-pt_chown): New configure option.
17086 * configure: Regenerate.
17087 * login/Makefile: Include Makeconfig. Build pt_chown only if
17088 build-pt-chown is enabled.
17089 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
17090 pt_chown to fix pty ownership.
17091 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
17092 CLOSE_ALL_FDS.
17093 * manual/install.texi (Configuring and compiling): Mention
17094 --enable-pt_chown. Add @findex for grantpt.
17095 * INSTALL: Regenerate.
17096
da2d62df
DM
170972013-07-20 David S. Miller <davem@davemloft.net>
17098
17099 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
17100 difference between 32-bit and 64-bit.
17101
d7e06450
CD
171022013-07-15 Carlos O'Donell <carlos@redhat.com>
17103
17104 [BZ #15711]
17105 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
17106 Avoid system header dependency with -ffreestanding.
17107 ($(objpfx)bits/syscall%d): Likewise.
17108
f959cfd7
DM
171092013-07-13 David S. Miller <davem@davemloft.net>
17110
17111 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
17112 underflows from atanl/atan2l due to bug 15319.
17113 (casinh_test_data): Likewise.
17114
c61f8513
DM
171152013-07-07 David S. Miller <davem@davemloft.net>
17116
17117 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
17118
72c90ed0
JA
171192013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
17120
17121 * sysdeps/i386/fpu/libm-test-ulps: Update.
17122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17123
52dfbe13
SP
171242013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17125
17126 * configure.in (--enable-lock-elision): Fix message text.
17127 * INSTALL: Regenerate.
17128 * configure: Regenerate.
17129
3f169543
AZ
171302013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17131
17132 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17133
521c6785
AJ
171342013-07-03 Andreas Jaeger <aj@suse.de>
17135
17136 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
17137 define.
17138 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
17139 (ptrace_peeksiginfo_args): Add.
17140 (__ptrace_peeksiginfo_flags): Add.
17141 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17142 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17143 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17144
d2cc15cb
AM
171452013-07-03 Allan McRae <allan@archlinux.org>
17146
17147 * sysdeps/i386/fpu/libm-test-ulps: Update.
17148
3aaeeca7
DM
171492013-07-02 David S. Miller <davem@davemloft.net>
17150
17151 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17152
5314ed1a
MT
171532013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
17154
17155 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17156
67338156
JM
171572013-07-02 Joseph Myers <joseph@codesourcery.com>
17158
17159 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17161
1717da59
AK
171622013-07-02 Andi Kleen <ak@linux.intel.com>
17163
17164 * config.h.in (ENABLE_LOCK_ELISION): Add.
17165 * configure.in (--enable-lock-elision): Add option.
17166 * manual/install.texi: Document --enable lock elision.
17167 * configure: Regenerate
17168 * INSTALL: Regenerate.
17169
1c81621c
L
171702013-07-02 H.J. Lu <hongjiu.lu@intel.com>
17171
17172 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
17173 SSE4.2 strcasecmp for libc.a.
17174 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17175
77f01ab5
JM
171762013-07-02 Joseph Myers <joseph@codesourcery.com>
17177
17178 [BZ #13304]
17179 * soft-fp/op-common.h (_FP_FMA): New macro.
17180 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
17181 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
17182 (_FP_MUL_MEAT_1_imm): ... here.
17183 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
17184 (_FP_MUL_MEAT_1_wide): ... here.
17185 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
17186 (_FP_MUL_MEAT_1_hard): ... here.
17187 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
17188 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
17189 (_FP_MUL_MEAT_2_wide): ... here.
17190 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
17191 (_FP_MUL_MEAT_2_wide_3mul): ... here.
17192 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
17193 (_FP_MUL_MEAT_2_gmp): ... here.
17194 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
17195 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
17196 (_FP_MUL_MEAT_4_wide): ... here.
17197 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
17198 (_FP_MUL_MEAT_4_gmp): ... here.
17199 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
17200 (_FP_WFRACBITS_DW_S): Likewise.
17201 (_FP_WFRACXBITS_DW_S): Likewise.
17202 (_FP_HIGHBIT_DW_S): Likewise.
17203 (FP_FMA_S): Likewise.
17204 (_FP_FRAC_HIGH_DW_S): Likewise.
17205 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
17206 (_FP_WFRACBITS_DW_D): Likewise.
17207 (_FP_WFRACXBITS_DW_D): Likewise.
17208 (_FP_HIGHBIT_DW_D): Likewise.
17209 (FP_FMA_D): Likewise.
17210 (_FP_FRAC_HIGH_DW_D): Likewise.
17211 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
17212 (_FP_WFRACBITS_DW_E): Likewise.
17213 (_FP_WFRACXBITS_DW_E): Likewise.
17214 (_FP_HIGHBIT_DW_E): Likewise.
17215 (FP_FMA_E): Likewise.
17216 (_FP_FRAC_HIGH_DW_E): Likewise.
17217 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
17218 (_FP_WFRACBITS_DW_Q): Likewise.
17219 (_FP_WFRACXBITS_DW_Q): Likewise.
17220 (_FP_HIGHBIT_DW_Q): Likewise.
17221 (FP_FMA_Q): Likewise.
17222 (_FP_FRAC_HIGH_DW_Q): Likewise.
17223 * soft-fp/fmasf4.c: New file.
17224 * soft-fp/fmadf4.c: Likewise.
17225 * soft-fp/fmatf4.c: Likewise.
17226
6308fd9a
LD
172272013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17228
17229 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17230 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
17231 Silvermont.
17232 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
17233 macro.
17234 (index_Slow_SSE4_2): Likewise.
17235 (index_Prefer_PMINUB_for_stringop): Likewise.
17236 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
17237 bit_Slow_SSE4_2 is set.
17238 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17239 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17240
89cd9569
RA
172412013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17242
17243 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
17244 rtld_global._dl_hwcap2.
17245 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
17246 POWER8.
17247 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
17248 POWER8 feature descriptions defined in _dl_hwcap2.
17249 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
17250 string handling for POWER8 feature bits.
17251 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
17252 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
17253 _dl_powerpc_cap_flags.
17254 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
17255 * sysdeps/powerpc/rtld-global-offsets.sym
17256 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
17257 _dl_hwcap2 in the rtld_global_ro structure.
17258
1ae8bfe0
RA
172592013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17260
17261 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
17262 hardware capabilities in support of AT_HWCAP2.
17263 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
17264 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
17265 GLRO(dl_hwcap2).
17266 (_dl_show_auxv): Add support for calling _dl_procinfo to display
17267 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
17268 explicitly the unknown a_type display mechanism is used.
17269 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
17270 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
17271 struct member.
17272 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
17273 to macro prototype for AT_HWCAP2 support.
17274 * sysdeps/i386/dl-procinfo.h: Likewise.
17275 * sysdeps/s390/dl-procinfo.h: Likewise.
17276 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
17277 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
17278 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
17279 return -1 for unknown a_type display fallback.
17280 * sysdeps/sparc/dl-procinfo.h: Likewise.
17281 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
17282 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
17283
8fbec010
JM
172842013-06-28 Joseph Myers <joseph@codesourcery.com>
17285
17286 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
17287 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
17288
0432680e
PY
172892013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
17290
17291 [BZ #12492]
17292 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
17293 mprotect making __stack_prot writable.
17294
ce61a2ad
NF
172952013-06-28 Nathan Froyd <froydnj@codesourcery.com>
17296 Joseph Myers <joseph@codesourcery.com>
17297
17298 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
17299 as being properly aligned.
17300
f91f1c0f
MR
173012013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
17302
3d0f5d0c
MR
17303 * dlfcn/modstatic5.c: New file.
17304 * dlfcn/tststatic5.c: New file.
17305 * dlfcn/Makefile (tests): Add tststatic5.
17306 (tests-static): Likewise.
17307 (modules-names): Add modstatic5.
17308 (tststatic5-ENV): New variable.
17309 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
17310
f91f1c0f
MR
17311 [BZ #15022]
17312 * elf/dl-support.c (_dl_main_map): New variable.
17313 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
17314 (_dl_nns, _dl_load_adds): Set to 1.
17315 (_dl_initial_searchlist): Refer to _dl_main_map.
17316 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
17317 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
17318 call to _dl_get_origin.
17319 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
17320 around call_map.
17321 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
17322 * dlfcn/modstatic3.c: New file.
17323 * dlfcn/tststatic3.c: New file.
17324 * dlfcn/tststatic4.c: New file.
17325 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
17326 (tests-static): Likewise.
17327 (modules-names): Add modstatic3.
17328 (tststatic3-ENV, tststatic4-ENV): New variables.
17329 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
17330 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
17331
cbe7d24b
JM
173322013-06-26 Joseph Myers <joseph@codesourcery.com>
17333
17334 * configure.in (CC): Require GCC version 4.4 or later.
17335 * configure: Regenerated.
17336 * manual/install.texi (Tools for Compilation): Update GCC version
17337 requirement.
17338 * INSTALL: Regenerated.
17339
11b8a0e1
LD
173402013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17341
17342 [BZ #15674]
bb5bb87c
L
17343 * string/test-memcmp.c (check2): New.
17344 (main): Call check2.
17345
11b8a0e1
LD
17346 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
17347
b0037103
MR
173482013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
17349
17350 [BZ #15022]
17351 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
17352 over to...
17353 (dl_open_worker) [!SHARED]: ... here.
17354
c18c701d
RA
173552013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17356
17357 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
17358
1d17fa5f
RH
173592013-06-25 Richard Henderson <rth@redhat.com>
17360
17361 * locale/programs/locarchive.c: Include <libc-internal.h>
17362
8fcb833a
JM
173632013-06-25 Joseph Myers <joseph@codesourcery.com>
17364
17365 * manual/texinfo.tex: Update to version 2013-06-21.17, with
17366 trailing whitespace removed.
17367
17db6e8d
MF
173682013-06-24 Mike Frysinger <vapier@gentoo.org>
17369
17370 [BZ #10283]
17db6e8d
MF
17371 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
17372 * locale/programs/locarchive.c: Include libc-mmap.h.
17373 (prepare_address_space): Take two new outputs (the mmap base and len).
17374 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
17375 values.
17376 (create_archive): Declare new mmap base and len values for
17377 prepare_address_space, and store the result in ah.
17378 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
17379 (enlarge_archive): If ah->mmap_base is not NULL, use that and
17380 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17381 Declare new mmap base and len values for
17382 prepare_address_space, and store the result in new_ah.
17383 (open_archive): Declare new mmap base and len values for
17384 prepare_address_space, and store the result in ah.
17385 (close_archive): If ah->mmap_base is not NULL, use that and
17386 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17387 * sysdeps/generic/libc-mmap.h: New file.
17388
d605071e
MF
173892013-06-24 Mike Frysinger <vapier@gentoo.org>
17390
17391 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
17392 (ALIGN_UP): Likewise.
17393 (PTR_ALIGN_DOWN): Likewise.
17394 (PTR_ALIGN_UP): Likewise.
17395
2f063a6e
RA
173962013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17397
17398 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
17399 entry mapped to PPC_PLATFORM_POWER8.
17400 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
17401 POWER8.
17402 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
17403 (_dl_string_platform): Add case for exporting platform position for
17404 POWER8.
17405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
17406 search path to sysdeps/powerpc/powerpc32/power8 directory.
17407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
17408 search path to sysdeps/powerpc/powerpc64/power8 directory.
17409 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
17410 power7 directories.
17411 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
17412 power7 directories.
17413
a31ee4b3
SP
174142013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17415
a74ca98f
SP
17416 * INSTALL: Regenerate.
17417
a31ee4b3
SP
17418 * nscd/connections.c (nscd_init): Fix comment.
17419
695c378f
JM
174202013-06-22 Joseph Myers <joseph@codesourcery.com>
17421
d8412221
JM
17422 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
17423
695c378f
JM
17424 [BZ #15667]
17425 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
17426 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
17427
d1d54715
MR
174282013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
17429
17430 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
17431 DL_DST_REQ_STATIC.
17432 (DL_DST_REQ_STATIC): Remove macro.
17433
8fdda7af
JM
174342013-06-21 Joseph Myers <joseph@codesourcery.com>
17435
17436 [BZ #7006]
17437 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
17438 with a shift of 0 bits.
17439
f3bc5e5a
MR
174402013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
17441
17442 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
17443 $(tststatic-ENV).
17444
be09e8c9
KK
174452013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17446
17447 [BZ #15655]
17448 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
17449
85c2e611
AZ
174502013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17451
17452 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
17453 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
17454 accepts -fno-tree-loop-distribute-patterns.
17455 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
17456 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
17457 recursive call.
17458 * string/memset.c (memset): Likewise.
17459 * string/test-memmove.c (simple_memmove): Disable loop transformation
17460 to library calls.
17461 * string/test-memset.c (simple_memset): Likewise.
17462 * benchtests/bench-memmove.c (simple_memmove): Likewise.
17463 * benchtests/bench-memset.c (simple_memset): Likewise.
17464 * configure: Regenerated.
17465
c91e0825
JM
174662013-06-20 Joseph Myers <joseph@codesourcery.com>
17467
b8c792af
JM
17468 * math/test-misc.c (main): Ignore fesetround failure when failures
17469 of subsequent rounding tests would be ignored.
17470
c91e0825
JM
17471 [BZ #15654]
17472 * math/fedisblxcpt.c (fedisableexcept): Return 0.
17473 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
17474 * math/fegetenv.c (__fegetenv): Return 0.
17475 * math/fegetexcept.c (fegetexcept): Return 0.
17476 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
17477 FE_TONEAREST.
17478 * math/feholdexcpt.c (feholdexcept): Return 0.
17479 * math/fesetenv.c (__fesetenv): Return 0.
17480 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
17481 argument FE_TONEAREST.
17482 * math/feupdateenv.c (__feupdateenv): Return 0.
17483 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
17484
bfcacbde
RM
174852013-06-18 Roland McGrath <roland@hack.frob.com>
17486
17487 * elf/rtld-Rules (rtld-compile-command.S): New variable.
17488 (rtld-compile-command.s, rtld-compile-command.c): New variables.
17489 ($(objpfx)rtld-%.os rules): Use them.
17490
e55a9b25
AZ
174912013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17492
17493 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
17494 fields.
17495
346d65b3
RM
174962013-06-17 Roland McGrath <roland@hack.frob.com>
17497
12086fb4
RM
17498 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
17499 length of target pattern, then descending length of dependency pattern.
17500 * configure.in (AWK): Require gawk 3.1.2 or newer.
17501 * manual/install.texi (Tools for Compilation): Say that we do.
17502 * configure: Regenerated.
17503
346d65b3
RM
17504 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
17505 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
17506 * scripts/sysd-rules.awk: ... this new script.
17507 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
17508 than a glob-style pattern.
17509
1a846317
JM
175102013-06-17 Joseph Myers <joseph@codesourcery.com>
17511
17512 * math/test-misc.c (main): Do not treat incorrectly rounded
17513 conversions as failure unless ROUNDING_TESTS passes.
17514
8fc75e6f
JM
175152013-06-15 Joseph Myers <joseph@codesourcery.com>
17516
3711a167
JM
17517 [BZ #15631]
17518 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
17519 restore exception state around main square root computation, then
17520 check for inexactness explicitly.
17521
8fc75e6f
JM
17522 * math/libm-test.inc (fma_test_data): Add another test.
17523
61dd6208
SP
175242013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17525
adf23d2c
SP
17526 * manual/threads.texi (Non-POSIX Extensions): New document
17527 node. Document pthread_getattr_default_np and
17528 pthread_setattr_default_np.
17529
61dd6208
SP
17530 * Versions.def (libpthread): Add GLIBC_2.18.
17531 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
17532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17533 Likewise.
17534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17535 Likewise.
17536 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17537 Likewise.
17538 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17539 Likewise.
17540 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
17541 Likewise.
17542 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17543 Likewise.
17544 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17545 Likewise.
17546 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
17547 Likewise.
17548 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17549 Likewise.
17550
d086fc7b
LD
175512013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17552
17553 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17554 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
17555
747ef469
SP
175562013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17557 H.J. Lu <hjl.tools@gmail.com>
17558
17559 [BZ #15627]
17560 * sysdeps/x86_64/rtld-memset.c: Remove file.
17561 * sysdeps/x86_64/rtld-memset.S: New file.
17562
1b2feed2
JM
175632013-06-14 Joseph Myers <joseph@codesourcery.com>
17564
17565 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
17566 (test_in_one_mode): Take arguments for whether the rounding mode
17567 is supported for each floating-point type.
17568 (do_test): Pass new arguments to test_in_one_mode using
17569 ROUNDING_TESTS.
17570
a58ad3f8
RM
175712013-06-13 Roland McGrath <roland@hack.frob.com>
17572
17573 * posix/tst-waitid.c (do_test): Distinguish different instances of
17574 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
17575 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
17576 before entering the kernel for waitpid.
17577
c204ab28
SP
175782013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17579
17580 * NEWS: Fix note on clock function precision. Text by Roland
17581 McGrath.
17582
f4a29fba
RM
175832013-06-13 Roland McGrath <roland@hack.frob.com>
17584
17585 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
17586 it into place only when and if the sanity check passes.
17587
1f24b9ad
JM
175882013-06-13 Joseph Myers <joseph@codesourcery.com>
17589
17590 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
17591 output for whether conversion result is exact. Take argument
17592 indicating whether type is IBM long double.
17593 (round_for_all): Change need_exact field to ibm_ld.
17594 * stdlib/tst-strtod-round.c (struct exactness): New type.
17595 (struct test): Change bool ld_ok field to struct exactness exact.
17596 (TEST): Update all definitions for change to field.
17597 (tests): Regenerate array contents.
17598 (test_in_one_mode): Take pointer to new field instead of old ld_ok
17599 field value. Check for IBM long double here.
17600 (do_test): Update calls to test_in_one_mode.
17601
58206c68
SP
176022013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17603
17604 [BZ #12515]
17605 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
17606 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
17607
2d6f4c5b 176082013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
17609
17610 [BZ #15605]
17611 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
17612 generated by the compiler on loop optimizations.
17613 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
17614 general definitions.
17615
94f2c076
JM
176162013-06-12 Joseph Myers <joseph@codesourcery.com>
17617
17618 * math/bug-nextafter.c: Include <math-tests.h>.
17619 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17620 the relevant type.
17621 * math/bug-nexttoward.c: Include <math-tests.h>.
17622 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17623 the relevant type.
17624 * math/test-misc.c: Include <math-tests.h>.
17625 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17626 the relevant type.
17627
e0e50a0a
AJ
176282013-06-12 Andreas Jaeger <aj@suse.de>
17629
17630 * po/ia.po: Update Interlingua translation from translation
17631 project.
17632
25061094
SP
176332013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17634
17635 * include/fenv.h: Include stdbool.h.
17636 (struct rm_ctx): New structure.
17637 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
17638 Define macro.
17639 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
17640 (SET_RESTORE_ROUNDF): Likewise.
17641 (SET_RESTORE_ROUNDL): Likewise.
17642 (SET_RESTORE_ROUND_NOEX): Likewise.
17643 (SET_RESTORE_ROUND_NOEXF): Likewise.
17644 (SET_RESTORE_ROUND_NOEXL): Likewise.
17645 (SET_RESTORE_ROUND_53BIT): Likewise.
17646 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
17647 (libc_feresetround_noexf_ctx): Likewise.
17648 (libc_feresetround_noexl_ctx): Likewise.
17649 (libc_feholdsetround_53bit_ctx): Likewise.
17650 (libc_feresetround_53bit_ctx): Likewise.
17651 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
17652 (libc_feholdexcept_setround_sse_ctx): New function.
17653 (libc_fesetenv_sse_ctx): Likewise.
17654 (libc_feupdateenv_sse_ctx): Likewise.
17655 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
17656 (libc_feholdexcept_setround_387_ctx): Likewise.
17657 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
17658 (libc_feholdsetround_387_prec_ctx): Likewise.
17659 (libc_feholdsetround_387_ctx): Likewise.
17660 (libc_feholdsetround_387_53bit_ctx): Likewise.
17661 (libc_feholdsetround_sse_ctx): Likewise.
17662 (libc_feresetround_sse_ctx): Likewise.
17663 (libc_feresetround_387_ctx): Likewise.
17664 (libc_feupdateenv_387_ctx): Likewise.
17665 (libc_feholdexcept_setroundf_ctx): Define macro.
17666 (libc_fesetenvf_ctx): Likewise.
17667 (libc_feupdateenvf_ctx): Likewise.
17668 (libc_feholdsetroundf_ctx): Likewise.
17669 (libc_feresetroundf_ctx): Likewise.
17670 (libc_feholdexcept_setround_ctx): Likewise.
17671 (libc_fesetenv_ctx): Likewise.
17672 (libc_feupdateenv_ctx): Likewise.
17673 (libc_feholdsetround_ctx): Likewise.
17674 (libc_feresetround_ctx): Likewise.
17675 (libc_feholdexcept_setroundl_ctx): Likewise.
17676 (libc_feupdateenvl_ctx): Likewise.
17677 (libc_feholdsetroundl_ctx): Likewise.
17678 (libc_feresetroundl_ctx): Likewise.
17679 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
17680 (libc_feresetround_53bit_ctx): Likewise.
17681
59b30555
SP
176822013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17683
17684 * locale/iso-639.def: Convert to UTF-8.
17685
f1d73d30
JM
176862013-06-11 Joseph Myers <joseph@codesourcery.com>
17687
17688 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
17689 (EXCEPTION_TESTS_double): Likewise.
17690 (EXCEPTION_TESTS_long_double): Likewise.
17691 (EXCEPTION_TESTS): Likewise.
17692 * math/libm-test.inc (test_exceptions): Only test exceptions if
17693 EXCEPTION_TESTS (FLOAT).
17694
94aca5e7
SP
176952013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17696
17697 * benchtests/Makefile (string-bench): Add strcpy_chk and
17698 stpcpy_chk.
17699 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
17700 * benchtests/bench-stpcpy_chk.c: New file.
17701 * benchtests/bench-strcpy_chk-ifunc.c: New file.
17702 * benchtests/bench-strcpy_chk.c: New file.
17703 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
17704 code.
17705 (do_test): Likewise.
17706
fac0c5f2
RA
177072013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17708
17709 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
17710 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
17711 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
17712 with tabs where appropriate.
17713 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
17714 dl-procinfo.h.
17715 [PPC_PLATFORM_PPC440]: Likewise.
17716 [PPC_PLATFORM_PPC464]: Likewise.
17717 [PPC_PLATFORM_PPC476]: Likewise.
17718 (_dl_string_platform): Add support for detecting ppc405, ppc440,
17719 ppc464, and ppc476 platform strings merging from ports/
17720 dl-procinfo.h.
17721
f22bc486
AS
177222013-06-11 Andreas Schwab <schwab@suse.de>
17723
17724 [BZ #14991]
17725 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
17726 (from_ucs4_idx): Regenerate.
17727 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
17728 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
17729 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
17730 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
17731 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
17732 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
17733 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
17734 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
17735 from FROM_LOOP and TO_LOOP specific macros.
17736 (BODY): Handle combining characters.
17737 * iconvdata/BIG5HKSCS.irreversible: Update.
17738 * iconvdata/BIG5HKSCS.precomposed: New file.
17739 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
17740 characters.
17741 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
17742
c1f75dc3
SP
177432013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17744
4eacded2
SP
17745 * include/sys/time.h: Fix indentation and add copyright header.
17746
fec799f8
SP
17747 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
17748 (do_test): Likewise.
17749 * string/test-memchr.c (do_one_test): Likewise.
17750 (do_test): Likewise.
17751 * string/test-memcmp.c (do_one_test): Likewise.
17752 (do_test): Likewise.
17753 * string/test-memcpy.c (do_one_test): Likewise.
17754 (do_test): Likewise.
17755 * string/test-memmem.c (do_one_test): Likewise.
17756 (do_test): Likewise.
17757 (do_random_tests): Likewise.
17758 * string/test-memmove.c (do_one_test): Likewise.
17759 (do_test): Likewise.
17760 * string/test-memset.c (do_one_test): Likewise.
17761 (do_test): Likewise.
17762 * string/test-rawmemchr.c (do_one_test): Likewise.
17763 (do_test): Likewise.
17764 * string/test-strcasecmp.c (do_one_test): Likewise.
17765 (do_test): Likewise.
17766 * string/test-strcasestr.c (do_one_test): Likewise.
17767 (do_test): Likewise.
17768 * string/test-strcat.c (do_one_test): Likewise.
17769 (do_test): Likewise.
17770 * string/test-strchr.c (do_one_test): Likewise.
17771 (do_test): Likewise.
17772 * string/test-strcmp.c (do_one_test): Likewise.
17773 (do_test): Likewise.
17774 * string/test-strcpy.c (do_one_test): Likewise.
17775 (do_test): Likewise.
17776 * string/test-string.h: Likewise.
17777 (test_init): Likewise.
17778 * string/test-strlen.c (do_one_test): Likewise.
17779 (do_test): Likewise.
17780 * string/test-strncasecmp.c (do_one_test): Likewise.
17781 (do_test): Likewise.
17782 * string/test-strncat.c (do_one_test): Likewise.
17783 (do_test): Likewise.
17784 * string/test-strncmp.c (do_one_test): Likewise.
17785 (do_test_limit): Likewise.
17786 (do_test): Likewise.
17787 * string/test-strncpy.c (do_one_test): Likewise.
17788 (do_test): Likewise.
17789 * string/test-strnlen.c (do_one_test): Likewise.
17790 (do_test): Likewise.
17791 * string/test-strpbrk.c (do_one_test): Likewise.
17792 (do_test): Likewise.
17793 * string/test-strrchr.c (do_one_test): Likewise.
17794 (do_test): Likewise.
17795 * string/test-strspn.c (do_one_test): Likewise.
17796 (do_test): Likewise.
17797 * string/test-strstr.c (do_one_test): Likewise.
17798 (do_test): Likewise.
17799
97020474
SP
17800 * benchtests/Makefile (string-bench): Add string benchmarks.
17801 * benchtests/bench-bcopy-ifunc.c: New file.
17802 * benchtests/bench-bcopy.c: New file.
17803 * benchtests/bench-bzero-ifunc.c: New file.
17804 * benchtests/bench-bzero.c: New file.
17805 * benchtests/bench-memccpy-ifunc.c: New file.
17806 * benchtests/bench-memccpy.c: New file.
17807 * benchtests/bench-memchr-ifunc.c: New file.
17808 * benchtests/bench-memchr.c: New file.
17809 * benchtests/bench-memcmp-ifunc.c: New file.
17810 * benchtests/bench-memcmp.c: New file.
17811 * benchtests/bench-memmem-ifunc.c: New file.
17812 * benchtests/bench-memmem.c: New file.
17813 * benchtests/bench-memmove-ifunc.c: New file.
17814 * benchtests/bench-memmove.c: New file.
17815 * benchtests/bench-mempcpy-ifunc.c: New file.
17816 * benchtests/bench-mempcpy.c: New file.
17817 * benchtests/bench-memset-ifunc.c: New file.
17818 * benchtests/bench-memset.c: New file.
17819 * benchtests/bench-rawmemchr-ifunc.c: New file.
17820 * benchtests/bench-rawmemchr.c: New file.
17821 * benchtests/bench-stpcpy-ifunc.c: New file.
17822 * benchtests/bench-stpcpy.c: New file.
17823 * benchtests/bench-stpncpy-ifunc.c: New file.
17824 * benchtests/bench-stpncpy.c: New file.
17825 * benchtests/bench-strcasecmp-ifunc.c: New file.
17826 * benchtests/bench-strcasecmp.c: New file.
17827 * benchtests/bench-strcasestr-ifunc.c: New file.
17828 * benchtests/bench-strcasestr.c: New file.
17829 * benchtests/bench-strcat-ifunc.c: New file.
17830 * benchtests/bench-strcat.c: New file.
17831 * benchtests/bench-strchr-ifunc.c: New file.
17832 * benchtests/bench-strchr.c: New file.
17833 * benchtests/bench-strchrnul-ifunc.c: New file.
17834 * benchtests/bench-strchrnul.c: New file.
17835 * benchtests/bench-strcmp-ifunc.c: New file.
17836 * benchtests/bench-strcmp.c: New file.
17837 * benchtests/bench-strcpy-ifunc.c: New file.
17838 * benchtests/bench-strcpy.c: New file.
17839 * benchtests/bench-strcspn-ifunc.c: New file.
17840 * benchtests/bench-strcspn.c: New file.
17841 * benchtests/bench-strlen-ifunc.c: New file.
17842 * benchtests/bench-strlen.c: New file.
17843 * benchtests/bench-strncasecmp-ifunc.c: New file.
17844 * benchtests/bench-strncasecmp.c: New file.
17845 * benchtests/bench-strncat-ifunc.c: New file.
17846 * benchtests/bench-strncat.c: New file.
17847 * benchtests/bench-strncmp-ifunc.c: New file.
17848 * benchtests/bench-strncmp.c: New file.
17849 * benchtests/bench-strncpy-ifunc.c: New file.
17850 * benchtests/bench-strncpy.c: New file.
17851 * benchtests/bench-strnlen-ifunc.c: New file.
17852 * benchtests/bench-strnlen.c: New file.
17853 * benchtests/bench-strpbrk-ifunc.c: New file.
17854 * benchtests/bench-strpbrk.c: New file.
17855 * benchtests/bench-strrchr-ifunc.c: New file.
17856 * benchtests/bench-strrchr.c: New file.
17857 * benchtests/bench-strspn-ifunc.c: New file.
17858 * benchtests/bench-strspn.c: New file.
17859 * benchtests/bench-strstr-ifunc.c: New file.
17860 * benchtests/bench-strstr.c: New file.
17861
c1f75dc3
SP
17862 * benchtests/Makefile: Disable parallel execution of targets.
17863 (string-bench): Add memcpy.
17864 (benchset): New variable to store a list of benchmark sets.
17865 (bench-func): Renamed from bench.
17866 (bench-set): New target.
17867 (bench): Depend on bench-func and bench-set.
17868 * benchtests/README: Add section on benchmark sets.
17869 * benchtests/bench-memcpy-ifunc.c: New file.
17870 * benchtests/bench-memcpy.c: New file.
17871 * benchtests/bench-string.h: New file.
17872
50fd745b
AS
178732013-06-11 Andreas Schwab <schwab@suse.de>
17874
17875 [BZ #15577]
17876 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
17877 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
17878 values in the triple.
17879 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
17880 terminator in the group key.
17881
3ee7e9fe
AJ
178822013-06-11 Andreas Jaeger <aj@suse.de>
17883
17884 * po/zh_TW.po: Update Chinese (traditional) translation from
17885 translation project.
17886
89fb6835
SP
178872013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17888
17889 * include/time.h (__clock_gettime): Add libc_hidden_proto.
17890 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
17891 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
17892 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17893 (clock_getcpuclockid): Likewise.
17894 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
17895 Add weak_alias and libc_hidden_def.
17896 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
17897 * rt/clock_gettime.c (clock_gettime): Rename to
17898 __clock_gettime. Add weak_alias and libc_hidden_def.
17899 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
17900 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
17901 __clock_nanosleep. Add weak_alias and libc_hidden_def.
17902 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
17903 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
17904 Likewise.
17905 * rt/clock_settime.c (clock_settime): Rename to
17906 __clock_settime. Add weak_alias and libc_hidden_def.
17907 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
17908
0efa6f8b
JM
179092013-06-10 Joseph Myers <joseph@codesourcery.com>
17910
b8c61b4b
JM
17911 * mach/err_boot.sub: Remove trailing whitespace.
17912 * mach/err_ipc.sub: Likewise.
17913 * mach/err_mach.sub: Likewise.
17914
0efa6f8b
JM
17915 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
17916 (ROUNDING_TESTS_double): Likewise.
17917 (ROUNDING_TESTS_long_double): Likewise.
17918 (ROUNDING_TESTS): Likewise.
17919 * math/libm-test.inc: Include <math-tests.h>.
17920 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
17921 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17922 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17923 (IF_ROUND_INIT_FE_UPWARD): Likewise.
17924
50b818bf
SP
179252013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17926
17927 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
17928 of assigning.
17929
60d2f8f3
JM
179302013-06-08 Joseph Myers <joseph@codesourcery.com>
17931
4902d2c3
JM
17932 * sysdeps/gnu/errlist.awk: Do not generate space at end of
17933 otherwise empty TRANS lines.
17934 * sysdeps/gnu/errlist.c: Regenerated.
17935
60d2f8f3
JM
17936 * catgets/gencat.c (error_print): Use (void) in function
17937 definition.
17938 * crypt/crypt_util.c (__init_des): Likewise.
17939 * crypt/speeds.c (Stop): Likewise.
17940 (main): Likewise.
17941 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
17942 * inet/ruserpass.c (token): Likewise.
17943 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
17944 * intl/localealias.c (extend_alias_table): Likewise.
17945 * intl/plural-exp.c (init_germanic_plural): Likewise.
17946 * libio/fcloseall.c (__fcloseall): Likewise.
17947 * libio/genops.c (_IO_flush_all): Likewise.
17948 (_IO_flush_all_linebuffered): Likewise.
17949 (_IO_cleanup): Likewise.
17950 (_IO_iter_begin): Likewise.
17951 (_IO_iter_end): Likewise.
17952 (_IO_list_lock): Likewise.
17953 (_IO_list_unlock): Likewise.
17954 (_IO_list_resetlock): Likewise.
17955 * libio/getchar.c (getchar): Likewise.
17956 * libio/getchar_u.c (getchar_unlocked): Likewise.
17957 * libio/getwchar.c (getwchar): Likewise.
17958 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
17959 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
17960 * login/getpt.c (__getpt): Likewise.
17961 * login/tst-utmp.c (main): Likewise.
17962 * malloc/hooks.c (__malloc_check_init): Likewise.
17963 * malloc/malloc.c (__malloc_stats): Likewise.
17964 * malloc/mtrace.c (tr_break): Likewise.
17965 (mtrace): Likewise.
17966 (muntrace): Likewise.
17967 * misc/fstab.c (endfsent): Likewise.
17968 * misc/getclktck.c (__getclktck): Likewise.
17969 * misc/getdtsz.c (__getdtablesize): Likewise.
17970 * misc/gethostid.c (gethostid): Likewise.
17971 * misc/getpagesize.c (__getpagesize): Likewise.
17972 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
17973 (__get_nprocs): Likewise.
17974 (__get_phys_pages): Likewise.
17975 (__get_avphys_pages): Likewise.
17976 * misc/getttyent.c (getttyent): Likewise.
17977 (setttyent): Likewise.
17978 (endttyent): Likewise.
17979 * misc/getusershell.c (getusershell): Likewise.
17980 (endusershell): Likewise.
17981 (setusershell): Likewise.
17982 (initshells): Likewise.
17983 * misc/hsearch.c (__hdestroy): Likewise.
17984 * misc/sync.c (sync): Likewise.
17985 * misc/syslog.c (closelog_internal): Likewise.
17986 (closelog): Likewise.
17987 * misc/ttyslot.c (ttyslot): Likewise.
17988 * misc/vhangup.c (vhangup): Likewise.
17989 * posix/fork.c (__fork): Likewise.
17990 * posix/getegid.c (__getegid): Likewise.
17991 * posix/geteuid.c (__geteuid): Likewise.
17992 * posix/getgid.c (__getgid): Likewise.
17993 * posix/getpid.c (__getpid): Likewise.
17994 * posix/getppid.c (__getppid): Likewise.
17995 * posix/getuid.c (__getuid): Likewise.
17996 * posix/pause.c (pause): Likewise.
17997 * posix/setpgrp.c (setpgrp): Likewise.
17998 * posix/setsid.c (__setsid): Likewise.
17999 * posix/test-vfork.c (noop): Likewise.
18000 * resolv/gethnamaddr.c (_endhtent): Likewise.
18001 (_gethtent): Likewise.
18002 (ht_endhostent): Likewise.
18003 (gethostent): Likewise.
18004 (dns_service): Likewise.
18005 * stdlib/drand48.c (drand48): Likewise.
18006 * stdlib/lrand48.c (lrand48): Likewise.
18007 * stdlib/mrand48.c (mrand48): Likewise.
18008 * stdlib/rand.c (rand): Likewise.
18009 * stdlib/random.c (__random): Likewise.
18010 * stdlib/setenv.c (clearenv): Likewise.
18011 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
18012 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
18013 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
18014 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
18015 (__get_nprocs): Likewise.
18016 (__get_phys_pages): Likewise.
18017 (__get_avphys_pages): Likewise.
18018 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
18019 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
18020 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
18021 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
18022 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
18023 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
18024 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
18025 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
18026 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
18027 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
18028 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
18029 * sysdeps/mach/hurd/sync.c (sync): Likewise.
18030 * sysdeps/posix/clock.c (clock): Likewise.
18031 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
18032 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
18033 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
18034 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
18035 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
18036 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
18037 (__get_nprocs_conf): Likewise.
18038 (__get_phys_pages): Likewise.
18039 (__get_avphys_pages): Likewise.
18040 * time/clock.c (clock): Likewise.
18041 * time/tzset.c (__tzname_max): Likewise.
18042
2e09a79a
JM
180432013-06-07 Joseph Myers <joseph@codesourcery.com>
18044
18045 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
18046 (__bswap_32): Do not use "register".
18047 * crypt/crypt.c (_ufc_doit_r): Likewise.
18048 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18049 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18050 * gmon/gmon.c (__monstartup): Likewise.
18051 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
18052 * hurd/hurdmalloc.c (more_memory): Likewise.
18053 (malloc): Likewise.
18054 (free): Likewise.
18055 (realloc): Likewise.
18056 (malloc_fork_prepare): Likewise.
18057 (malloc_fork_parent): Likewise.
18058 (malloc_fork_child): Likewise.
18059 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
18060 (_svcauth_des): Likewise.
18061 * inet/inet_lnaof.c (inet_lnaof): Likewise.
18062 * inet/inet_net.c (inet_network): Likewise.
18063 * inet/inet_netof.c (inet_netof): Likewise.
18064 * inet/rcmd.c (__validuser2_sa): Likewise.
18065 * io/fts.c (fts_open): Likewise.
18066 (fts_load): Likewise.
18067 (fts_close): Likewise.
18068 (fts_read): Likewise.
18069 (fts_children): Likewise.
18070 (fts_build): Likewise.
18071 (fts_stat): Likewise.
18072 (fts_sort): Likewise.
18073 (fts_alloc): Likewise.
18074 (fts_lfree): Likewise.
18075 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
18076 (_IO_file_xsgetn): Likewise.
18077 (_IO_file_xsgetn_mmap): Likewise.
18078 * libio/iofopncook.c (_IO_cookie_read): Likewise.
18079 (_IO_cookie_write): Likewise.
18080 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
18081 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
18082 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
18083 * malloc/obstack.c (_obstack_begin): Likewise.
18084 (_obstack_begin_1): Likewise.
18085 (_obstack_newchunk): Likewise.
18086 (_obstack_allocated_p): Likewise.
18087 (obstack_free): Likewise.
18088 (_obstack_memory_used): Likewise.
18089 * misc/getttyent.c (getttynam): Likewise.
18090 (getttyent): Likewise.
18091 (skip): Likewise.
18092 (value): Likewise.
18093 * misc/getusershell.c (initshells): Likewise.
18094 * misc/syslog.c (__vsyslog_chk): Likewise.
18095 * misc/ttyslot.c (ttyslot): Likewise.
18096 * nis/nis_hash.c (__nis_hash): Likewise.
18097 * posix/fnmatch_loop.c (FCT): Likewise.
18098 * posix/getconf.c (print_all): Likewise.
18099 (main): Likewise.
18100 * posix/getopt.c (exchange): Likewise.
18101 * posix/glob.c (globfree): Likewise.
18102 (prefix_array): Likewise.
18103 (__glob_pattern_type): Likewise.
18104 * resolv/arpa/nameser.h (NS_GET16): Likewise.
18105 (NS_GET32): Likewise.
18106 (NS_PUT16): Likewise.
18107 (NS_PUT32): Likewise.
18108 * resolv/gethnamaddr.c (getanswer): Likewise.
18109 (gethostbyname2): Likewise.
18110 (gethostbyaddr): Likewise.
18111 (_gethtent): Likewise.
18112 (_gethtbyname2): Likewise.
18113 (_gethtbyaddr): Likewise.
18114 * resolv/ns_print.c (dst_s_get_int16): Likewise.
18115 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18116 * resolv/res_init.c (__res_vinit): Likewise.
18117 (net_mask): Likewise.
18118 * resolv/res_mkquery.c (outchar): Likewise.
18119 (PRINT): Likewise.
18120 * stdio-common/printf_fp.c (outchar): Likewise.
18121 (PRINT): Likewise.
18122 * stdio-common/printf_fphex.c (outchar): Likewise.
18123 (PRINT): Likewise.
18124 * stdio-common/printf_size.c (outchar): Likewise.
18125 (PRINT): Likewise.
18126 * stdio-common/test_rdwr.c (main): Likewise.
18127 * stdio-common/tfformat.c (matches): Likewise.
18128 * stdio-common/vfprintf.c (outchar): Likewise.
18129 (printf_unknown): Likewise.
18130 (buffered_vfprintf): Likewise.
18131 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18132 * stdio-common/xbug.c (AppendToBuffer): Likewise.
18133 (ReadFile): Likewise.
18134 * stdlib/qsort.c (SWAP): Likewise.
18135 (_quicksort): Likewise.
18136 * stdlib/setenv.c (__add_to_environ): Likewise.
18137 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18138 * stdlib/strtol_l.c (__strtol_l): Likewise.
18139 * stdlib/tst-strtod.c (main): Likewise.
18140 * stdlib/tst-strtol.c (main): Likewise.
18141 * stdlib/tst-strtoll.c (main): Likewise.
18142 * string/bits/string2.h (__strcmp_cc): Likewise.
18143 (__strcmp_cg): Likewise.
18144 (__strcspn_c1): Likewise.
18145 (__strcspn_c2): Likewise.
18146 (__strcspn_c3): Likewise.
18147 (__strspn_c1): Likewise.
18148 (__strspn_c2): Likewise.
18149 (__strspn_c3): Likewise.
18150 (__strsep_1c): Likewise.
18151 (__strsep_2c): Likewise.
18152 (__strsep_3c): Likewise.
18153 * string/memccpy.c (__memccpy): Likewise.
18154 * string/stpcpy.c (__stpcpy): Likewise.
18155 * string/strcmp.c (strcmp): Likewise.
18156 * string/strrchr.c (strrchr): Likewise.
18157 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
18158 Likewise.
18159 * sysdeps/mach/hurd/getcwd.c
18160 (_hurd_canonicalize_directory_name_internal): Likewise.
18161 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
18162 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
18163 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
18164 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
18165 Likewise, in both definitions.
18166 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
18167 definitions.
18168 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
18169 64] (__bswap_64): Likewise.
18170 * time/test_time.c (main): Likewise.
18171 * time/tzfile.c (__tzfile_read): Likewise.
18172 (__tzfile_compute): Likewise.
18173 * time/tzset.c (__tzset_parse_tz): Likewise.
18174 (tzset_internal): Likewise.
18175 (compute_change): Likewise.
18176 * wcsmbs/wcscat.c (__wcscat): Likewise.
18177 * wcsmbs/wcschr.c (wcschr): Likewise.
18178 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18179 * wcsmbs/wcscspn.c (wcscspn): Likewise.
18180 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18181 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
18182 * wcsmbs/wcsspn.c (wcsspn): Likewise.
18183 * wcsmbs/wcsstr.c (wcsstr): Likewise.
18184 * wcsmbs/wmemchr.c (wmemchr): Likewise.
18185 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18186 * wcsmbs/wmemset.c (wmemset): Likewise.
18187
9e54314b
JM
181882013-06-06 Joseph Myers <joseph@codesourcery.com>
18189
18190 * scripts/config.guess: Update to version 2013-05-16.
18191 * scripts/config.sub: Update to version 2013-04-24.
18192 * scripts/install-sh: Update to version 2011-11-20.07.
18193 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
18194 * scripts/move-if-change: Update to version 2012-01-06 07:23.
18195
350635a5
OB
181962013-06-06 Ondřej Bílka <neleai@seznam.cz>
18197
18198 * debug/fgetws_u_chk.c: Fix leading whitespaces.
18199 * elf/sln.c: Likewise.
18200 * hurd/hurd/ioctl.h: Likewise.
18201 * hurd/hurdmalloc.c: Likewise.
18202 * hurd/xattr.c: Likewise.
18203 * include/shlib-compat.h: Likewise.
18204 * inet/ruserpass.c: Likewise.
18205 * libio/iofgets_u.c: Likewise.
18206 * libio/iofgetws_u.c: Likewise.
18207 * locale/programs/ld-identification.c: Likewise.
18208 * locale/programs/ld-time.c: Likewise.
18209 * mach/msg-destroy.c: Likewise.
18210 * nss/nss_files/files-netgrp.c: Likewise.
18211 * resolv/res_data.c: Likewise.
18212 * soft-fp/op-1.h: Likewise.
18213 * soft-fp/op-2.h: Likewise.
18214 * soft-fp/op-4.h: Likewise.
18215 * soft-fp/op-common.h: Likewise.
18216 * stdio-common/printf_fphex.c: Likewise.
18217 * stdlib/strtod_l.c: Likewise.
18218 * sunrpc/rpc/clnt.h: Likewise.
18219 * sysdeps/generic/framestate.c: Likewise.
18220 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18221 * sysdeps/i386/bsd-setjmp.S: Likewise.
18222 * sysdeps/i386/__longjmp.S: Likewise.
18223 * sysdeps/i386/setjmp.S: Likewise.
18224 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18225 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18226 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18227 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18228 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18229 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18230 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18231 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18232 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18233 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18234 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18235 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18236 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18237 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18238 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18239 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18240 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18241 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
18242 * sysdeps/ieee754/support.c: Likewise.
18243 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18244 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
18245 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
18246 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
18247 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
18248 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
18249 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
18250 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
18251 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
18252 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
18253 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
18254 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
18255 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
18256 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
18257 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
18258 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
18259 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18261
44a988af
OB
182622013-06-05 Ondřej Bílka <neleai@seznam.cz>
18263
25506f09 18264 * posix/transbug.c: Remove executable mode.
44a988af 18265
9c84384c
JM
182662013-06-05 Joseph Myers <joseph@codesourcery.com>
18267
18268 * crypt/speeds.c: Remove trailing whitespace.
18269 * dlfcn/default.c: Likewise.
18270 * elf/ifuncdep2.c: Likewise.
18271 * elf/ifuncmain1.c: Likewise.
18272 * elf/ifuncmain1vis.c: Likewise.
18273 * elf/testobj.h: Likewise.
18274 * elf/tst-stackguard1.c: Likewise.
18275 * gmon/sys/gmon.h: Likewise.
18276 * hurd/hurdmsg.c: Likewise.
18277 * hurd/new-fd.c: Likewise.
18278 * hurd/ports-get.c: Likewise.
18279 * iconvdata/ibm1008_420.c: Likewise.
18280 * inet/tst-getni1.c: Likewise.
18281 * inet/tst-getni2.c: Likewise.
18282 * libio/ioungetc.c: Likewise.
18283 * libio/wfiledoalloc.c: Likewise.
18284 * manual/libm-err-tab.pl: Likewise.
18285 * math/w_dremf.c: Likewise.
18286 * misc/ftruncate.c: Likewise.
18287 * posix/bug-glob2.c: Likewise.
18288 * posix/tst-pcre.c: Likewise.
18289 * posix/wait4.c: Likewise.
18290 * resolv/README: Likewise.
18291 * resolv/res_debug.h: Likewise.
18292 * resolv/tst-inet_ntop.c: Likewise.
18293 * setjmp/bug269-setjmp.c: Likewise.
18294 * soft-fp/extended.h: Likewise.
18295 * soft-fp/op-1.h: Likewise.
18296 * soft-fp/op-2.h: Likewise.
18297 * soft-fp/op-4.h: Likewise.
18298 * soft-fp/op-8.h: Likewise.
18299 * soft-fp/testit.c: Likewise.
18300 * stdio-common/bug16.c: Likewise.
18301 * stdlib/random.c: Likewise.
18302 * sunrpc/rpcsvc/rquota.x: Likewise.
18303 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
18304 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18305 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18306 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18307 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18308 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18309 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18310 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18311 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18312 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18313 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18314 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18315 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18316 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18317 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18318 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18319 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18320 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18321 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18322 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18323 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18324 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18325 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
18326 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18327 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18328 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18329 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18330 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18331 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18332 * sysdeps/ieee754/s_lib_version.c: Likewise.
18333 * sysdeps/mach/hurd/check_fds.c: Likewise.
18334 * sysdeps/mach/hurd/getsockname.c: Likewise.
18335 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
18336 * sysdeps/mach/hurd/recvfrom.c: Likewise.
18337 * sysdeps/powerpc/bits/link.h: Likewise.
18338 * sysdeps/powerpc/dl-procinfo.c: Likewise.
18339 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
18340 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
18341 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
18342 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18343 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18344 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
18345 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18346 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
18347 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18348 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
18349 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18350 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
18351 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18352 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18353 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18354 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18355 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18356 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18357 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18358 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18359 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
18360 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18361 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18362 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
18363 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18364 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18365 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18366 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18367 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18368 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18369 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18370 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18371 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18372 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
18373 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18374 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
18375 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18376 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
18377 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
18378 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
18379 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
18380 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
18381 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
18382 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18383 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
18384 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
18385 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18386 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
18387 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
18388 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18389 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18390 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18391 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18392 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
18393 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
18394 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
18395 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18396 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
18397 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
18398 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
18399 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
18400 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
18401 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18402 * sysdeps/powerpc/sysdep.h: Likewise.
18403 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18404 * sysdeps/s390/s390-64/sub_n.S: Likewise.
18405 * sysdeps/sh/dl-trampoline.S: Likewise.
18406 * sysdeps/sh/memset.S: Likewise.
18407 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
18408 * sysdeps/sh/strlen.S: Likewise.
18409 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
18410 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
18411 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
18412 * sysdeps/sparc/sparc32/rem.S: Likewise.
18413 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
18414 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
18415 * sysdeps/sparc/sparc32/strchr.S: Likewise.
18416 * sysdeps/sparc/sparc32/udiv.S: Likewise.
18417 * sysdeps/sparc/sparc32/urem.S: Likewise.
18418 * sysdeps/sparc/sparc64/add_n.S: Likewise.
18419 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
18420 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
18421 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
18422 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
18423 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
18424 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
18425 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
18426 * sysdeps/unix/bsd/times.c: Likewise.
18427 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
18428 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
18429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
18430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
18431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18432 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
18433 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18434 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
18435 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
18436 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
18437 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
18438 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18439 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
18440 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18441 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18442 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
18443 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18444 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
18445 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
18446 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
18447 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
18448 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
18449 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18450 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
18451 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
18452 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
18453 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
18454 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18455 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
18456 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
18457 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
18458 * sysdeps/x86_64/strcspn.S: Likewise.
18459
869378a5
RA
184602013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18461
18462 * locale/C-translit.h: Revert #include <stdint.h> because this is a
18463 generated file. Regenerate properly from gen-translit.pl.
18464 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
18465 locale/C-translit.h.
18466
840e2943
AS
184672013-06-05 Andreas Schwab <schwab@suse.de>
18468
18469 [BZ #15100]
18470 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
18471 week as 6 instead of -1.
18472 * time/tst-strptime.c (day_tests): Add test case.
18473
4c60cb0c
SP
184742013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18475
18476 * sysdeps/generic/math_private.h
18477 (libc_feholdexcept_setround_53bit): Replace with
18478 libc_feholdsetround_53bit.
18479 (libc_feupdateenv_53bit): Replace with
18480 libc_feresetround_53bit.
18481 (SET_RESTORE_ROUND_53BIT): Adjust.
18482
d180203e
SP
184832013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18484
96df079a
SP
18485 * string/test-strchrnul.c: Add copyright header.
18486
d180203e
SP
18487 * posix/tst-getaddrinfo4.c: Increase test timeout.
18488
8b0ccb2d
CD
184892013-06-03 Carlos O'Donell <carlos@redhat.com>
18490
18491 [BZ #15536]
18492 * math/libm-test.inc (MAX_EXP): Remove
18493 (MIN_EXP): Define.
18494 (ulp): Use MIN_EXP - MANT_DIG.
18495 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
18496
3b3c4d40
CD
184972013-05-31 Carlos O'Donell <carlos@redhat.com>
18498
18499 * po/be.po: Revert last change.
18500 * po/zh_CN.po: Likewise.
18501 * po/header.pot: Likewise.
18502
fab7ce3f
JM
185032013-05-31 Joseph Myers <joseph@codesourcery.com>
18504
18505 * Makefile ($(common-objpfx)linkobj/libc.so): Define
18506 link-libc-deps to empty as target-specific variable.
18507 * Makerules (link-libc-args): New variable.
18508 (libc-for-link): Likewise.
18509 (link-libc-deps): Likewise.
18510 (lib%.so): Depend on $(link-libc-deps). Link with
18511 $(link-libc-args).
18512 (build-module): Link with $(link-libc-args).
18513 (build-module-asneeded): Likewise.
18514 (build-module-helper-objlist): Filter out $(link-libc-deps) from
18515 list of objects.
18516 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
18517 target-specific variable.
18518 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
18519 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
18520 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
18521 libc.
18522 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
18523 libc and ld.so.
18524 ($(objpfx)libpcprofile.so): Likewise.
18525 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
18526 libc_nonshared.a.
18527 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
18528 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
18529 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
18530 $(link-libc-deps).
18531 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
18532 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
18533 * login/Makefile ($(objpfx)libutil.so): Likewise.
18534 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
18535 * math/Makefile ($(objpfx)libm.so): Likewise.
18536 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
18537 $(objpfx)libnsl.so): Define libc-for-link as target-specific
18538 variable instead of depending directly on libc.
18539 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
18540 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
18541 $(link-libc-deps).
18542 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
18543 libc.
18544 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
18545 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
18546 ($(objpfx)libanl.so): Likewise.
18547 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
18548 ld.so.
18549 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
18550 $(link-libc-deps).
18551 * sysdeps/i386/fpu/Makefile: Remove file.
18552 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
18553 ($(objpfx)libm.so): Remove dependency on ld.so.
18554
eca5920c
PF
185552013-05-30 Patsy Franklin <pfrankli@redhat.com>
18556
18557 [BZ # 15553]
18558 * nis/yp_xdr.c (XDRMAXNAME): Define.
18559 (XDRMAXRECORD): Define.
18560 (xdr_domainname): Use XDRMAXNAME.
18561 (xdr_mapname): Likewise.
18562 (xdr_peername): Likewise.
18563 (xdr_keydat): Use XDRMAXRECORD.
18564 (xdr_valdat): Likewise.
18565
185662013-05-30 Jeff Law <law@redhat.com>
96945714
JL
18567
18568 [BZ #14256]
18569 * manual/errno.texi (ESTALE): Update to account for more than
18570 just NFS file systems.
18571 * sysdeps/gnu/errlist.c: Regenerated.
18572
b9375348
SP
185732013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18574
18575 [BZ #15465]
18576 * elf/Makefile (tests): Add tst-null-argv.
18577 (modules-names): Add tst-null-argv-lib.
18578 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
18579 (tst-null-argv-ENV): Set environment for tst-null-argv.
18580 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
18581 (RTLD_PROGNAME): New macro.
18582 * elf/tst-null-argv.c: New test case.
18583 * elf/tst-null-argv-lib.c: Library for test case.
18584 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
18585 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
18586 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
18587 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
18588 * elf/dl-init.c (call_init): Likewise.
18589 (_dl_init): Likewise.
18590 * elf/dl-load.c (print_search_path): Likewise.
18591 (_dl_map_object): Likewise.
18592 * elf/dl-lookup.c (do_lookup_x): Likewise.
18593 (add_dependency): Likewise.
18594 (_dl_lookup_symbol_x): Likewise.
18595 (_dl_debug_bindings): Likewise.
18596 * elf/dl-open.c (_dl_show_scope): Likewise.
18597 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18598 * elf/dl-version.c (match_symbol): Likewise.
18599 (_dl_check_map_versions): Likewise.
18600 * elf/rtld.c (dl_main): Likewise.
18601 (print_unresolved): Use RTLD_PROGNAME.
18602 (print_missing_version): Likewise.
18603 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
18604 (elf_machine_rela): Likewise.
18605 * sysdeps/powerpc/powerpc32/dl-machine.c
18606 (__process_machine_rela): Likewise.
18607 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18608 Likewise.
18609 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18610 Likewise.
18611 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18612 Likewise.
18613 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18614 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
18615 Likewise.
18616 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
18617 Likewise.
18618 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18619
8a9f20c8
CD
186202013-05-28 Carlos O'Donell <carlos@redhat.com>
18621
18622 * po/be.po: Add descriptive title.
18623 * po/zh_CN.po: Likewise.
18624 * po/header.pot: Likewise.
18625
0e60d68e
MF
186262013-05-28 Mike Frysinger <vapier@gentoo.org>
18627
18628 * locale/programs/locarchive.c (create_archive): Inlucde fname in
18629 error message.
18630 (enlarge_archive): Likewise.
18631
56b672e9
BN
186322013-05-28 Ben North <ben@redfrontdoor.org>
18633
18634 * manual/arith.texi (frexp): It is the magnitude of the return
18635 value which lies in [0.5, 1), not the return value itself.
18636
5e056687
AZ
186372013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18638
18639 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18640
2b66ef5d
TS
186412013-05-26 Thomas Schwinge <thomas@codesourcery.com>
18642
528c2405
TS
18643 * stdio-common/bug26.c (main): Correct fscanf template.
18644
07b4c13d
TS
18645 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
18646 declare _dl_skip_args.
18647
ec9dd97c
TS
18648 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
18649 Don't declare.
18650
2b66ef5d
TS
18651 * manual/platform.texi: Add missing @end deftypefun.
18652
4f8dfe27
JM
186532013-05-24 Joseph Myers <joseph@codesourcery.com>
18654
0323d086
JM
18655 [BZ #15529]
18656 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
18657 bit of mantissa of 2^16382.
18658 * math/libm-test.inc (hypot_test_data): Add more tests.
18659
dd4259b9
JM
18660 * math/libm-test.inc: Add drem and pow10 to list of tested
18661 functions.
18662 (pow10_test): New function.
18663 (drem_test): Likewise.
18664 (drem_test_tonearest): Likewise.
18665 (drem_test_towardzero): Likewise.
18666 (drem_test_downward): Likewise.
18667 (drem_test_upward): Likewise.
18668 (main): Call the new functions.
18669
4f8dfe27
JM
18670 * math/libm-test.inc (finite_test_data): Remove.
18671 (finite_test): Run tests from isfinite_test_data.
18672 (gamma_test_data): Remove.
18673 (gamma_test): Run tests from lgamma_test_data.
18674 * sysdeps/i386/fpu/libm-test-ulps: Update.
18675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18676
d116b7c4
AZ
186772013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18678
18679 * manual/platform.texi: Add PowerPC PPR function set documentation.
18680 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
18681 implementation.
18682
e96e3767
CD
186832013-05-24 Carlos O'Donell <carlos@redhat.com>
18684
18685 * math/libm-test.inc (MAX_EXP): Define.
18686 (ULPDIFF): Define.
18687 (ulp): New function.
18688 (check_float_internal): Use ULPDIFF.
18689 (cpow_test): Disable failing test.
18690 (check_ulp): Test ulp() implemetnation.
18691 (main): Call check_ulp before starting tests.
18692
b679a606
JM
186932013-05-24 Joseph Myers <joseph@codesourcery.com>
18694
e8bdba36
JM
18695 * math/gen-libm-test.pl (generate_testfile): Do not handle
18696 START_DATA and END_DATA.
18697 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
18698 END_DATA.
18699 (acos_tonearest_test_data): Likewise.
18700 (acos_towardzero_test_data): Likewise.
18701 (acos_downward_test_data): Likewise.
18702 (acos_upward_test_data): Likewise.
18703 (acosh_test_data): Likewise.
18704 (asin_test_data): Likewise.
18705 (asin_tonearest_test_data): Likewise.
18706 (asin_towardzero_test_data): Likewise.
18707 (asin_downward_test_data): Likewise.
18708 (asin_upward_test_data): Likewise.
18709 (asinh_test_data): Likewise.
18710 (atan_test_data): Likewise.
18711 (atanh_test_data): Likewise.
18712 (atan2_test_data): Likewise.
18713 (cabs_test_data): Likewise.
18714 (cacos_test_data): Likewise.
18715 (cacosh_test_data): Likewise.
18716 (carg_test_data): Likewise.
18717 (casin_test_data): Likewise.
18718 (casinh_test_data): Likewise.
18719 (catan_test_data): Likewise.
18720 (catanh_test_data): Likewise.
18721 (cbrt_test_data): Likewise.
18722 (ccos_test_data): Likewise.
18723 (ccosh_test_data): Likewise.
18724 (ceil_test_data): Likewise.
18725 (cexp_test_data): Likewise.
18726 (cimag_test_data): Likewise.
18727 (clog_test_data): Likewise.
18728 (clog10_test_data): Likewise.
18729 (conj_test_data): Likewise.
18730 (copysign_test_data): Likewise.
18731 (cos_test_data): Likewise.
18732 (cos_tonearest_test_data): Likewise.
18733 (cos_towardzero_test_data): Likewise.
18734 (cos_downward_test_data): Likewise.
18735 (cos_upward_test_data): Likewise.
18736 (cosh_test_data): Likewise.
18737 (cosh_tonearest_test_data): Likewise.
18738 (cosh_towardzero_test_data): Likewise.
18739 (cosh_downward_test_data): Likewise.
18740 (cosh_upward_test_data): Likewise.
18741 (cpow_test_data): Likewise.
18742 (cproj_test_data): Likewise.
18743 (creal_test_data): Likewise.
18744 (csin_test_data): Likewise.
18745 (csinh_test_data): Likewise.
18746 (csqrt_test_data): Likewise.
18747 (ctan_test_data): Likewise.
18748 (ctan_tonearest_test_data): Likewise.
18749 (ctan_towardzero_test_data): Likewise.
18750 (ctan_downward_test_data): Likewise.
18751 (ctan_upward_test_data): Likewise.
18752 (ctanh_test_data): Likewise.
18753 (ctanh_tonearest_test_data): Likewise.
18754 (ctanh_towardzero_test_data): Likewise.
18755 (ctanh_downward_test_data): Likewise.
18756 (ctanh_upward_test_data): Likewise.
18757 (erf_test_data): Likewise.
18758 (erfc_test_data): Likewise.
18759 (exp_test_data): Likewise.
18760 (exp_tonearest_test_data): Likewise.
18761 (exp_towardzero_test_data): Likewise.
18762 (exp_downward_test_data): Likewise.
18763 (exp_upward_test_data): Likewise.
18764 (exp10_test_data): Likewise.
18765 (exp2_test_data): Likewise.
18766 (expm1_test_data): Likewise.
18767 (fabs_test_data): Likewise.
18768 (fdim_test_data): Likewise.
18769 (finite_test_data): Likewise.
18770 (floor_test_data): Likewise.
18771 (fma_test_data): Likewise.
18772 (fma_towardzero_test_data): Likewise.
18773 (fma_downward_test_data): Likewise.
18774 (fma_upward_test_data): Likewise.
18775 (fmax_test_data): Likewise.
18776 (fmin_test_data): Likewise.
18777 (fmod_test_data): Likewise.
18778 (fpclassify_test_data): Likewise.
18779 (frexp_test_data): Likewise.
18780 (gamma_test_data): Likewise.
18781 (hypot_test_data): Likewise.
18782 (ilogb_test_data): Likewise.
18783 (isfinite_test_data): Likewise.
18784 (isgreater_test_data): Likewise.
18785 (isgreaterequal_test_data): Likewise.
18786 (isinf_test_data): Likewise.
18787 (isless_test_data): Likewise.
18788 (islessequal_test_data): Likewise.
18789 (islessgreater_test_data): Likewise.
18790 (isnan_test_data): Likewise.
18791 (isnormal_test_data): Likewise.
18792 (issignaling_test_data): Likewise.
18793 (isunordered_test_data): Likewise.
18794 (j0_test_data): Likewise.
18795 (j1_test_data): Likewise.
18796 (jn_test_data): Likewise.
18797 (ldexp_test_data): Likewise.
18798 (lgamma_test_data): Likewise.
18799 (lrint_test_data): Likewise.
18800 (lrint_tonearest_test_data): Likewise.
18801 (lrint_towardzero_test_data): Likewise.
18802 (lrint_downward_test_data): Likewise.
18803 (lrint_upward_test_data): Likewise.
18804 (llrint_test_data): Likewise.
18805 (llrint_tonearest_test_data): Likewise.
18806 (llrint_towardzero_test_data): Likewise.
18807 (llrint_downward_test_data): Likewise.
18808 (llrint_upward_test_data): Likewise.
18809 (log_test_data): Likewise.
18810 (log10_test_data): Likewise.
18811 (log1p_test_data): Likewise.
18812 (log2_test_data): Likewise.
18813 (logb_test_data): Likewise.
18814 (logb_downward_test_data): Likewise.
18815 (lround_test_data): Likewise.
18816 (llround_test_data): Likewise.
18817 (modf_test_data): Likewise.
18818 (nearbyint_test_data): Likewise.
18819 (nextafter_test_data): Likewise.
18820 (nexttoward_test_data): Likewise.
18821 (pow_test_data): Likewise.
18822 (pow_tonearest_test_data): Likewise.
18823 (pow_towardzero_test_data): Likewise.
18824 (pow_downward_test_data): Likewise.
18825 (pow_upward_test_data): Likewise.
18826 (remainder_test_data): Likewise.
18827 (remainder_tonearest_test_data): Likewise.
18828 (remainder_towardzero_test_data): Likewise.
18829 (remainder_downward_test_data): Likewise.
18830 (remainder_upward_test_data): Likewise.
18831 (remquo_test_data): Likewise.
18832 (rint_test_data): Likewise.
18833 (rint_tonearest_test_data): Likewise.
18834 (rint_towardzero_test_data): Likewise.
18835 (rint_downward_test_data): Likewise.
18836 (rint_upward_test_data): Likewise.
18837 (round_test_data): Likewise.
18838 (scalb_test_data): Likewise.
18839 (scalbn_test_data): Likewise.
18840 (scalbln_test_data): Likewise.
18841 (signbit_test_data): Likewise.
18842 (sin_test_data): Likewise.
18843 (sin_tonearest_test_data): Likewise.
18844 (sin_towardzero_test_data): Likewise.
18845 (sin_downward_test_data): Likewise.
18846 (sin_upward_test_data): Likewise.
18847 (sincos_test_data): Likewise.
18848 (sinh_test_data): Likewise.
18849 (sinh_tonearest_test_data): Likewise.
18850 (sinh_towardzero_test_data): Likewise.
18851 (sinh_downward_test_data): Likewise.
18852 (sinh_upward_test_data): Likewise.
18853 (sqrt_test_data): Likewise.
18854 (tan_test_data): Likewise.
18855 (tan_tonearest_test_data): Likewise.
18856 (tan_towardzero_test_data): Likewise.
18857 (tan_downward_test_data): Likewise.
18858 (tan_upward_test_data): Likewise.
18859 (tanh_test_data): Likewise.
18860 (tgamma_test_data): Likewise.
18861 (trunc_test_data): Likewise.
18862 (y0_test_data): Likewise.
18863 (y1_test_data): Likewise.
18864 (yn_test_data): Likewise.
18865 (significand_test_data): Likewise.
18866
b679a606
JM
18867 * math/gen-libm-test.pl (@functions): Remove variable.
18868 (generate_testfile): Don't handle START and END lines.
18869 * math/libm-test.inc (START): New macro.
18870 (END): Likewise.
18871 (END_COMPLEX): Likewise.
18872 (acos_test): Use END macro without arguments.
18873 (acos_test_tonearest): Likewise.
18874 (acos_test_towardzero): Likewise.
18875 (acos_test_downward): Likewise.
18876 (acos_test_upward): Likewise.
18877 (acosh_test): Likewise.
18878 (asin_test): Likewise.
18879 (asin_test_tonearest): Likewise.
18880 (asin_test_towardzero): Likewise.
18881 (asin_test_downward): Likewise.
18882 (asin_test_upward): Likewise.
18883 (asinh_test): Likewise.
18884 (atan_test): Likewise.
18885 (atanh_test): Likewise.
18886 (atan2_test): Likewise.
18887 (cabs_test): Likewise.
18888 (cacos_test): Use END_COMPLEX macro without arguments.
18889 (cacosh_test): Likewise.
18890 (carg_test): Use END macro without arguments.
18891 (casin_test): Use END_COMPLEX macro without arguments.
18892 (casinh_test): Likewise.
18893 (catan_test): Likewise.
18894 (catanh_test): Likewise.
18895 (cbrt_test): Use END macro without arguments.
18896 (ccos_test): Use END_COMPLEX macro without arguments.
18897 (ccosh_test): Likewise.
18898 (ceil_test): Use END macro without arguments.
18899 (cexp_test): Use END_COMPLEX macro without arguments.
18900 (cimag_test): Use END macro without arguments.
18901 (clog_test): Use END_COMPLEX macro without arguments.
18902 (clog10_test): Likewise.
18903 (conj_test): Likewise.
18904 (copysign_test): Use END macro without arguments.
18905 (cos_test): Likewise.
18906 (cos_test_tonearest): Likewise.
18907 (cos_test_towardzero): Likewise.
18908 (cos_test_downward): Likewise.
18909 (cos_test_upward): Likewise.
18910 (cosh_test): Likewise.
18911 (cosh_test_tonearest): Likewise.
18912 (cosh_test_towardzero): Likewise.
18913 (cosh_test_downward): Likewise.
18914 (cosh_test_upward): Likewise.
18915 (cpow_test): Use END_COMPLEX macro without arguments.
18916 (cproj_test): Likewise.
18917 (creal_test): Use END macro without arguments.
18918 (csin_test): Use END_COMPLEX macro without arguments.
18919 (csinh_test): Likewise.
18920 (csqrt_test): Likewise.
18921 (ctan_test): Likewise.
18922 (ctan_test_tonearest): Likewise.
18923 (ctan_test_towardzero): Likewise.
18924 (ctan_test_downward): Likewise.
18925 (ctan_test_upward): Likewise.
18926 (ctanh_test): Likewise.
18927 (ctanh_test_tonearest): Likewise.
18928 (ctanh_test_towardzero): Likewise.
18929 (ctanh_test_downward): Likewise.
18930 (ctanh_test_upward): Likewise.
18931 (erf_test): Use END macro without arguments.
18932 (erfc_test): Likewise.
18933 (exp_test): Likewise.
18934 (exp_test_tonearest): Likewise.
18935 (exp_test_towardzero): Likewise.
18936 (exp_test_downward): Likewise.
18937 (exp_test_upward): Likewise.
18938 (exp10_test): Likewise.
18939 (exp2_test): Likewise.
18940 (expm1_test): Likewise.
18941 (fabs_test): Likewise.
18942 (fdim_test): Likewise.
18943 (finite_test): Likewise.
18944 (floor_test): Likewise.
18945 (fma_test): Likewise.
18946 (fma_test_towardzero): Likewise.
18947 (fma_test_downward): Likewise.
18948 (fma_test_upward): Likewise.
18949 (fmax_test): Likewise.
18950 (fmin_test): Likewise.
18951 (fmod_test): Likewise.
18952 (fpclassify_test): Likewise.
18953 (frexp_test): Likewise.
18954 (gamma_test): Likewise.
18955 (hypot_test): Likewise.
18956 (ilogb_test): Likewise.
18957 (isfinite_test): Likewise.
18958 (isgreater_test): Likewise.
18959 (isgreaterequal_test): Likewise.
18960 (isinf_test): Likewise.
18961 (isless_test): Likewise.
18962 (islessequal_test): Likewise.
18963 (islessgreater_test): Likewise.
18964 (isnan_test): Likewise.
18965 (isnormal_test): Likewise.
18966 (issignaling_test): Likewise.
18967 (isunordered_test): Likewise.
18968 (j0_test): Likewise.
18969 (j1_test): Likewise.
18970 (jn_test): Likewise.
18971 (ldexp_test): Likewise.
18972 (lgamma_test): Likewise.
18973 (lrint_test): Likewise.
18974 (lrint_test_tonearest): Likewise.
18975 (lrint_test_towardzero): Likewise.
18976 (lrint_test_downward): Likewise.
18977 (lrint_test_upward): Likewise.
18978 (llrint_test): Likewise.
18979 (llrint_test_tonearest): Likewise.
18980 (llrint_test_towardzero): Likewise.
18981 (llrint_test_downward): Likewise.
18982 (llrint_test_upward): Likewise.
18983 (log_test): Likewise.
18984 (log10_test): Likewise.
18985 (log1p_test): Likewise.
18986 (log2_test): Likewise.
18987 (logb_test): Likewise.
18988 (logb_test_downward): Likewise.
18989 (lround_test): Likewise.
18990 (llround_test): Likewise.
18991 (modf_test): Likewise.
18992 (nearbyint_test): Likewise.
18993 (nextafter_test): Likewise.
18994 (nexttoward_test): Likewise.
18995 (pow_test): Likewise.
18996 (pow_test_tonearest): Likewise.
18997 (pow_test_towardzero): Likewise.
18998 (pow_test_downward): Likewise.
18999 (pow_test_upward): Likewise.
19000 (remainder_test): Likewise.
19001 (remainder_test_tonearest): Likewise.
19002 (remainder_test_towardzero): Likewise.
19003 (remainder_test_downward): Likewise.
19004 (remainder_test_upward): Likewise.
19005 (remquo_test): Likewise.
19006 (rint_test): Likewise.
19007 (rint_test_tonearest): Likewise.
19008 (rint_test_towardzero): Likewise.
19009 (rint_test_downward): Likewise.
19010 (rint_test_upward): Likewise.
19011 (round_test): Likewise.
19012 (scalb_test): Likewise.
19013 (scalbn_test): Likewise.
19014 (scalbln_test): Likewise.
19015 (signbit_test): Likewise.
19016 (sin_test): Likewise.
19017 (sin_test_tonearest): Likewise.
19018 (sin_test_towardzero): Likewise.
19019 (sin_test_downward): Likewise.
19020 (sin_test_upward): Likewise.
19021 (sincos_test): Likewise.
19022 (sinh_test): Likewise.
19023 (sinh_test_tonearest): Likewise.
19024 (sinh_test_towardzero): Likewise.
19025 (sinh_test_downward): Likewise.
19026 (sinh_test_upward): Likewise.
19027 (sqrt_test): Likewise.
19028 (tan_test): Likewise.
19029 (tan_test_tonearest): Likewise.
19030 (tan_test_towardzero): Likewise.
19031 (tan_test_downward): Likewise.
19032 (tan_test_upward): Likewise.
19033 (tanh_test): Likewise.
19034 (tgamma_test): Likewise.
19035 (trunc_test): Likewise.
19036 (y0_test): Likewise.
19037 (y1_test): Likewise.
19038 (yn_test): Likewise.
19039 (significand_test): Likewise.
19040
bae143d2
OB
190412013-05-24 Ondřej Bílka <neleai@seznam.cz>
19042
19043 [BZ #15381]
19044 * libio/genops.c (_IO_no_init): Initialize wide struct info.
19045
9323d39b
EM
190462013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
19047
d4ea44a0 19048 [BZ #14894]
9323d39b
EM
19049 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
19050 __ppc_mdoio and __ppc_mdoom.
19051 * manual/platform.texi: Document new functions __ppc_yield,
19052 __ppc_mdoio and __ppc_mdoom.
19053
13e23af7
CD
190542013-05-22 Carlos O'Donell <carlos@redhat.com>
19055
19056 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
19057 (main): Mention "tls" pseudo-hwcap is legacy.
19058 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
19059
351fe550
JM
190602013-05-22 Joseph Myers <joseph@codesourcery.com>
19061
19062 * math/gen-libm-test.pl (parse_args): Output only string of
19063 arguments as text for test name, not full call or descriptions of
19064 tests for extra outputs.
19065 (generate_testfile): Do not pass function name to parse_args.
19066 Generate this_func variable from START.
19067 * math/libm-test.inc (struct test_f_f_data): Rename test_name
19068 field to arg_str.
19069 (struct test_ff_f_data): Likewise.
19070 (test_ff_f_data_nexttoward): Likewise.
19071 (struct test_fi_f_data): Likewise.
19072 (struct test_fl_f_data): Likewise.
19073 (struct test_if_f_data): Likewise.
19074 (struct test_fff_f_data): Likewise.
19075 (struct test_c_f_data): Likewise.
19076 (struct test_f_f1_data): Likewise. Remove field extra_name.
19077 (struct test_fF_f1_data): Likewise.
19078 (struct test_ffI_f1_data): Likewise.
19079 (struct test_c_c_data): Rename test_name field to arg_str.
19080 (struct test_cc_c_data): Likewise.
19081 (struct test_f_i_data): Likewise.
19082 (struct test_ff_i_data): Likewise.
19083 (struct test_f_l_data): Likewise.
19084 (struct test_f_L_data): Likewise.
19085 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
19086 and extra2_name.
19087 (COMMON_TEST_SETUP): New macro.
19088 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
19089 (COMMON_TEST_CLEANUP): Likewise.
19090 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
19091 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
19092 macros.
19093 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
19094 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
19095 macros.
19096 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
19097 (RUN_TEST_fff_f): Take argument string. Call new setup and
19098 cleanup macros.
19099 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
19100 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
19101 macros.
19102 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
19103 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
19104 macros.
19105 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19106 (RUN_TEST_fF_f1): Take argument string. Call new setup and
19107 cleanup macros.
19108 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19109 (RUN_TEST_fI_f1): Take argument string. Call new setup and
19110 cleanup macros.
19111 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19112 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
19113 cleanup macros.
19114 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19115 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
19116 macros.
19117 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
19118 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
19119 macros.
19120 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
19121 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
19122 macros.
19123 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
19124 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
19125 cleanup macros.
19126 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
19127 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
19128 cleanup macros.
19129 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
19130 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
19131 macros.
19132 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
19133 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
19134 cleanup macros.
19135 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
19136 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
19137 macros.
19138 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
19139 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
19140 macros.
19141 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
19142 (RUN_TEST_fFF_11): Take argument string. Call new setup and
19143 cleanup macros.
19144 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
19145
85118d4d
EBM
191462013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19147
19148 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
19149 to _sifields.sigfault.
19150 (si_addr_lsb): Define new macro.
19151 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19152 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19153 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
19154
7a44c18f
CD
191552013-05-03 Carlos O'Donell <carlos at redhat.com>
19156
19157 [BZ #15441]
19158 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
19159 returns -1.
19160 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
19161 null return -1.
19162 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
19163 loading the domain.
19164
b50a7181
JM
191652013-05-22 Joseph Myers <joseph@codesourcery.com>
19166
19167 * math/gen-libm-test.pl (parse_args): Do not include expected
19168 result in test name.
19169 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
19170 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19171 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19172 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19173 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19175
051063c8
SP
191762013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19177
3ce9e010
SP
19178 * benchtests/Makefile: Sort function entries.
19179
051063c8
SP
19180 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
19181 tanh, asinh, acosh, atanh.
19182 * benchtests/acos-inputs: New file.
19183 * benchtests/acosh-inputs: New file.
19184 * benchtests/asin-inputs: New file.
19185 * benchtests/asinh-inputs: New file.
19186 * benchtests/atanh-inputs: New file.
19187 * benchtests/cosh-inputs: New file.
19188 * benchtests/log-inputs: New file.
19189 * benchtests/sinh-inputs: New file.
19190 * benchtests/tanh-inputs: New file.
19191
47c22455
DL
191922013-05-21 Dmitry V. Levin <ldv@altlinux.org>
19193
19194 [BZ #15339]
19195 * posix/tst-getaddrinfo4.c: New test.
19196 * posix/Makefile (tests): Add it.
19197
3d04f5db
SP
191982013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19199
19200 [BZ #15339]
19201 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
19202 when no services were used.
19203 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
19204 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
19205
d5dd6189
AS
192062013-05-21 Andreas Schwab <schwab@suse.de>
19207
19208 [BZ #15014]
19209 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
19210 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
19211 successful.
19212 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
19213 redundant variable declarations and reallocation of buffer when
19214 parsing as IPv6 address. Always set NSS status when called from
19215 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
19216 buffer too small. Correct computation of needed size.
19217 * nss/Makefile (tests): Add test-digits-dots.
19218 * nss/test-digits-dots.c: New test.
19219
fef94eab
SP
192202013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19221
19222 * benchtests/Makefile: Remove instructions for adding
19223 benchmark tests.
19224 * benchtests/README: New file to explain how to execute and
19225 enhance the benchmark tests.
19226
e39adf43
AS
192272013-05-21 Andreas Schwab <schwab@suse.de>
19228
19229 [BZ #15493]
19230 * setjmp/Makefile (tests): Add tst-sigsetjmp.
19231 * setjmp/tst-sigsetjmp.c: New test.
19232
b2b671b6
OB
192332013-05-20 Ondřej Bílka <neleai@seznam.cz>
19234
19235 * sysdeps/x86_64/memset.S (memset): New implementation.
19236 (__bzero): Likewise.
19237 (__memset_tail): New function.
19238
2d48b41c
OB
192392013-05-20 Ondřej Bílka <neleai@seznam.cz>
19240
19241 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
19242 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
19243 __memcpy_sse2_unaligned ifunc selection.
19244 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19245 Add memcpy-sse2-unaligned.S.
19246 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19247 Add: __memcpy_sse2_unaligned.
19248
f16cc3eb
JM
192492013-05-19 Joseph Myers <joseph@codesourcery.com>
19250
3e694268
JM
19251 [BZ #15490]
19252 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19253 math_force_eval before restoring floating-point envrionment.
19254 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
19255 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
19256 Likewise.
19257 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
19258 <math_private.h>.
19259 (__nearbyintl): Use math_force_eval before restoring
19260 floating-point environment.
19261 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
19262
db62a907
JM
19263 * math/gen-libm-test.pl (special_functions): Remove.
19264 (parse_args): Don't handle TEST_extra. Handle functions with no
19265 return value.
19266 * math/libm-test.inc (struct test_sincos_data): Replace with
19267 struct test_fFF_11_data.
19268 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
19269 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
19270 (sincos_test_data): Change element type to struct
19271 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
19272 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
19273 RUN_TEST_LOOP_sincos.
19274 * math/README.libm-test: Don't mention special handling of
19275 individual functions.
19276 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
19277 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19278 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19279 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19280 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19282
f16cc3eb
JM
19283 * math/gen-libm-test.pl (get_variable): Remove function.
19284 (parse_args): Don't show pointer parameters to call in test
19285 names. Use "extra output N" in test names for extra outputs
19286 rather than naming variables.
19287
3779b5b6
JM
192882013-05-18 Joseph Myers <joseph@codesourcery.com>
19289
2ee094ff
JM
19290 [BZ #15488]
19291 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
19292 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
19293 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
19294 double tests.
19295 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
19296 disable.
19297 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
19298 check_long_double.
19299
3779b5b6
JM
19300 * math/gen-libm-test.pl (@tests): Remove variable.
19301 ($count): Likewise.
19302 (new_test): Remove function.
19303 (show_exceptions): New function.
19304 (special_functions): Use show_exceptions instead of new_test.
19305 (parse_args): Likewise.
19306 (generate_testfile): Pass only function name in generated call to
19307 print_max_error or print_complex_max_error.
19308 (get_ulps): Do not handle complex tests specially.
19309 (output_test): Rename to ...
19310 (get_all_ulps_for_test): ... this. Return a string rather than
19311 printing to a file. Require ulps to be present.
19312 (output_ulps): Generate arrays rather than #defines.
19313 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
19314 (struct ulp_data): New type.
19315 (BUILD_COMPLEX_ULP): Remove macro.
19316 (compare_ulp_data): New function.
19317 (find_ulps): Likewise.
19318 (find_test_ulps): Likewise.
19319 (find_function_ulps): Likewise.
19320 (find_complex_function_ulps): Likewise.
19321 (print_max_error): Determine allowed ulps using
19322 find_function_ulps.
19323 (print_complex_max_error): Determine allowed ulps using
19324 find_complex_function_ulps.
19325 (check_float_internal): Determine max ulps using find_test_ulps.
19326 (check_float): Do not take max_ulp parameter. Update call to
19327 check_float_internal.
19328 (check_complex): Likewise.
19329 (check_int): Do not take max_ulp parameter.
19330 (check_long): Likewise.
19331 (check_bool): Likewise.
19332 (check_longlong): Likewise.
19333 (struct test_f_f_data): Remove max_ulp field.
19334 (struct test_ff_f_data): Likewise.
19335 (struct test_ff_f_data_nexttoward): Likewise.
19336 (struct test_fi_f_data): Likewise.
19337 (struct test_fl_f_data): Likewise.
19338 (struct test_if_f_data): Likewise.
19339 (struct test_fff_f_data): Likewise.
19340 (struct test_c_f_data): Likewise.
19341 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
19342 (struct test_fF_f1_data): Likewise.
19343 (struct test_ffI_f1_data): Likewise.
19344 (struct test_c_c_data): Remove max_ulp field.
19345 (struct test_cc_c_data): Likewise.
19346 (struct test_f_i_data): Likewise.
19347 (struct test_ff_i_data): Likewise.
19348 (struct test_f_l_data): Likewise.
19349 (struct test_f_L_data): Likewise.
19350 (struct test_sincos_data): Likewise.
19351 (RUN_TEST_f_f): Do not handle ulps.
19352 (RUN_TEST_LOOP_f_f): Likewise.
19353 (RUN_TEST_2_f): Likewise.
19354 (RUN_TEST_LOOP_2_f): Likewise.
19355 (RUN_TEST_fff_f): Likewise.
19356 (RUN_TEST_LOOP_fff_f): Likewise.
19357 (RUN_TEST_c_f): Likewise.
19358 (RUN_TEST_LOOP_c_f): Likewise.
19359 (RUN_TEST_f_f1): Likewise.
19360 (RUN_TEST_LOOP_f_f1): Likewise.
19361 (RUN_TEST_fF_f1): Likewise.
19362 (RUN_TEST_LOOP_fF_f1): Likewise.
19363 (RUN_TEST_fI_f1): Likewise.
19364 (RUN_TEST_LOOP_fI_f1): Likewise.
19365 (RUN_TEST_ffI_f1): Likewise.
19366 (RUN_TEST_LOOP_ffI_f1): Likewise.
19367 (RUN_TEST_c_c): Likewise.
19368 (RUN_TEST_LOOP_c_c): Likewise.
19369 (RUN_TEST_cc_c): Likewise.
19370 (RUN_TEST_LOOP_cc_c): Likewise.
19371 (RUN_TEST_f_i): Likewise.
19372 (RUN_TEST_LOOP_f_i): Likewise.
19373 (RUN_TEST_f_i_tg): Likewise.
19374 (RUN_TEST_LOOP_f_i_tg): Likewise.
19375 (RUN_TEST_ff_i_tg): Likewise.
19376 (RUN_TEST_LOOP_ff_i_tg): Likewise.
19377 (RUN_TEST_f_b): Likewise.
19378 (RUN_TEST_LOOP_f_b): Likewise.
19379 (RUN_TEST_f_b_tg): Likewise.
19380 (RUN_TEST_LOOP_f_b_tg): Likewise.
19381 (RUN_TEST_f_l): Likewise.
19382 (RUN_TEST_LOOP_f_l): Likewise.
19383 (RUN_TEST_f_L): Likewise.
19384 (RUN_TEST_LOOP_f_L): Likewise.
19385 (RUN_TEST_sincos): Likewise.
19386 (RUN_TEST_LOOP_sincos): Likewise.
19387
8269107f
JM
193882013-05-17 Joseph Myers <joseph@codesourcery.com>
19389
bb38759d
JM
19390 [BZ #15480]
19391 [BZ #15485]
19392 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
19393 main case of finite arguments, set rounding mode to FE_TONEAREST
19394 and discard exceptions.
19395 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
19396 exceptions.
19397 (remainder_tonearest_test_data): New variable.
19398 (remainder_test_tonearest): New function.
19399 (remainder_towardzero_test_data): New variable.
19400 (remainder_test_towardzero): New function.
19401 (remainder_downward_test_data): New variable.
19402 (remainder_test_downward): New function.
19403 (remainder_upward_test_data): New variable.
19404 (remainder_test_upward): New function.
19405 (main): Call the new test functions.
19406
a00bdcf0
JM
19407 * math/libm-test.inc (struct test_f_f1_data): Remove field
19408 extra_init.
19409 (struct test_fF_f1_data): Likewise.
19410 (struct test_ffI_f1_data): Likewise.
19411 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
19412 based on value of EXTRA_EXPECTED.
19413 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19414 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
19415 EXTRA_VAR based on value of EXTRA_EXPECTED.
19416 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19417 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
19418 EXTRA_VAR based on value of EXTRA_EXPECTED.
19419 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19420 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
19421 EXTRA_VAR based on value of EXTRA_EXPECTED.
19422 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19423 * math/gen-libm-test.pl (parse_args): Don't output initializers
19424 for extra output values.
19425
de407f79
JM
19426 * math/libm-test.inc (check_int): Expect result to be exactly
19427 equal to expected value and do not handle ulps.
19428 (check_long): Likewise.
19429 (check_longlong): Likewise.
19430
8269107f
JM
19431 * math/libm-test.inc (ceil_test_data): Test for "inexact"
19432 exceptions.
19433 (cimag_test_data): Likewise.
19434 (conj_test_data): Likewise.
19435 (copysign_test_data): Likewise.
19436 (cproj_test_data): Likewise.
19437 (creal_test_data): Likewise.
19438 (fabs_test_data): Likewise.
19439 (fdim_test_data): Likewise.
19440 (finite_test_data): Likewise.
19441 (floor_test_data): Likewise.
19442 (fmax_test_data): Likewise.
19443 (fmin_test_data): Likewise.
19444 (fmod_test_data): Likewise.
19445 (fpclassify_test_data): Likewise.
19446 (frexp_test_data): Likewise.
19447 (ilogb_test_data): Likewise.
19448 (isfinite_test_data): Likewise.
19449 (isgreater_test_data): Likewise.
19450 (isgreaterequal_test_data): Likewise.
19451 (isinf_test_data): Likewise.
19452 (isless_test_data): Likewise.
19453 (islessequal_test_data): Likewise.
19454 (islessgreater_test_data): Likewise.
19455 (isnan_test_data): Likewise.
19456 (isnormal_test_data): Likewise.
19457 (issignaling_test_data): Likewise.
19458 (isunordered_test_data): Likewise.
19459 (ldexp_test_data): Likewise.
19460 (lrint_test_data): Likewise.
19461 (lrint_test_data) [TEST_FLOAT]: Disable one test.
19462 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
19463 (lrint_tonearest_test_data): Test for "inexact" exceptions.
19464 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19465 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
19466 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19467 test input.
19468 (lrint_towardzero_test_data): Test for "inexact" exceptions.
19469 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19470 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
19471 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
19472 that test input.
19473 (lrint_downward_test_data): Test for "inexact" exceptions.
19474 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19475 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
19476 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19477 test input.
19478 (lrint_upward_test_data): Test for "inexact" exceptions.
19479 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
19480 test input.
19481 (llrint_test_data): Test for "inexact" exceptions.
19482 (llrint_test_data) [TEST_FLOAT]: Disable one test.
19483 (llrint_tonearest_test_data): Test for "inexact" exceptions.
19484 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19485 (llrint_towardzero_test_data): Test for "inexact" exceptions.
19486 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19487 (llrint_downward_test_data): Test for "inexact" exceptions.
19488 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19489 (llrint_upward_test_data): Test for "inexact" exceptions.
19490 (logb_test_data): Likewise.
19491 (logb_downward_test_data): Likewise.
19492 (nextafter_test_data): Likewise.
19493 (nexttoward_test_data): Likewise.
19494 (remainder_test_data): Likewise.
19495 (remquo_test_data): Likewise.
19496 (scalbn_test_data): Likewise.
19497 (scalbln_test_data): Likewise.
19498 (signbit_test_data): Likewise.
19499 (sqrt_test_data): Likewise.
19500 (significand_test_data): Likewise.
19501
48a18de1
SP
195022013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19503
19504 [BZ #15424]
19505 * benchtests/bench-modf.c (struct args): Mark arg0 as
19506 volatile.
19507 * scripts/bench.pl: Mark members of struct args as volatile.
19508
13d3b41a
AZ
195092013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19510
68191c1d 19511 [BZ # 15497]
13d3b41a
AZ
19512 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
19513 negative infinity on POWER6 or lower.
19514 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
19515
2848b105
MR
195162013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
19517
19518 [BZ #15442]
19519 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
19520 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
19521 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
19522 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
19523 (_FP_SETQNAN): New macro.
19524 (_FP_SETQNAN_SEMIRAW): Likewise.
19525 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
19526 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
19527 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
19528 (FP_EXTEND): Use _FP_FRAC_SNANP.
19529 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
19530 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
19531 into account.
19532 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19533 New macro.
19534 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19535 Likewise.
19536
323e5cb7
JM
195372013-05-16 Joseph Myers <joseph@codesourcery.com>
19538
c58b274f
JM
19539 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
19540 with DIVIDE_BY_ZERO_EXCEPTION.
19541 (gamma_test_data): Likewise.
19542 (lgamma_test_data): Likewise.
19543 (log_test_data): Likewise.
19544 (log10_test_data): Likewise.
19545 (log2_test_data): Likewise.
19546 (tgamma_test_data): Likewise.
19547
0ab34904
JM
19548 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
19549 (acos_test_tonearest): Likewise.
19550 (acos_test_towardzero): Likewise.
19551 (acos_test_downward): Likewise.
19552 (acos_test_upward): Likewise.
19553 (acosh_test): Likewise.
19554 (asin_test): Likewise.
19555 (asin_test_tonearest): Likewise.
19556 (asin_test_towardzero): Likewise.
19557 (asin_test_downward): Likewise.
19558 (asin_test_upward): Likewise.
19559 (asinh_test): Likewise.
19560 (atan_test): Likewise.
19561 (atanh_test): Likewise.
19562 (atan2_test): Likewise.
19563 (cabs_test): Likewise.
19564 (cacos_test): Likewise.
19565 (cacosh_test): Likewise.
19566 (casin_test): Likewise.
19567 (casinh_test): Likewise.
19568 (catan_test): Likewise.
19569 (catanh_test): Likewise.
19570 (cbrt_test): Likewise.
19571 (ccos_test): Likewise.
19572 (ccosh_test): Likewise.
19573 (cexp_test): Likewise.
19574 (clog_test): Likewise.
19575 (clog10_test): Likewise.
19576 (cos_test): Likewise.
19577 (cos_test_tonearest): Likewise.
19578 (cos_test_towardzero): Likewise.
19579 (cos_test_downward): Likewise.
19580 (cos_test_upward): Likewise.
19581 (cosh_test): Likewise.
19582 (cosh_test_tonearest): Likewise.
19583 (cosh_test_towardzero): Likewise.
19584 (cosh_test_downward): Likewise.
19585 (cosh_test_upward): Likewise.
19586 (cpow_test): Likewise.
19587 (csin_test): Likewise.
19588 (csinh_test): Likewise.
19589 (csqrt_test): Likewise.
19590 (ctan_test): Likewise.
19591 (ctan_test_tonearest): Likewise.
19592 (ctan_test_towardzero): Likewise.
19593 (ctan_test_downward): Likewise.
19594 (ctan_test_upward): Likewise.
19595 (ctanh_test): Likewise.
19596 (ctanh_test_tonearest): Likewise.
19597 (ctanh_test_towardzero): Likewise.
19598 (ctanh_test_downward): Likewise.
19599 (ctanh_test_upward): Likewise.
19600 (erf_test): Likewise.
19601 (erfc_test): Likewise.
19602 (exp_test): Likewise.
19603 (exp_test_tonearest): Likewise.
19604 (exp_test_towardzero): Likewise.
19605 (exp_test_downward): Likewise.
19606 (exp_test_upward): Likewise.
19607 (exp10_test): Likewise.
19608 (exp2_test): Likewise.
19609 (expm1_test): Likewise.
19610 (fmod_test): Likewise.
19611 (gamma_test): Likewise.
19612 (hypot_test): Likewise.
19613 (j0_test): Likewise.
19614 (j1_test): Likewise.
19615 (jn_test): Likewise.
19616 (lgamma_test): Likewise.
19617 (log_test): Likewise.
19618 (log10_test): Likewise.
19619 (log1p_test): Likewise.
19620 (log2_test): Likewise.
19621 (logb_test_downward): Likewise.
19622 (pow_test): Likewise.
19623 (pow_test_tonearest): Likewise.
19624 (pow_test_towardzero): Likewise.
19625 (pow_test_downward): Likewise.
19626 (pow_test_upward): Likewise.
19627 (remainder_test): Likewise.
19628 (remquo_test): Likewise.
19629 (sin_test): Likewise.
19630 (sin_test_tonearest): Likewise.
19631 (sin_test_towardzero): Likewise.
19632 (sin_test_downward): Likewise.
19633 (sin_test_upward): Likewise.
19634 (sincos_test): Likewise.
19635 (sinh_test): Likewise.
19636 (sinh_test_tonearest): Likewise.
19637 (sinh_test_towardzero): Likewise.
19638 (sinh_test_downward): Likewise.
19639 (sinh_test_upward): Likewise.
19640 (sqrt_test): Likewise.
19641 (tan_test): Likewise.
19642 (tan_test_tonearest): Likewise.
19643 (tan_test_towardzero): Likewise.
19644 (tan_test_downward): Likewise.
19645 (tan_test_upward): Likewise.
19646 (tanh_test): Likewise.
19647 (tgamma_test): Likewise.
19648 (y0_test): Likewise.
19649 (y1_test): Likewise.
19650 (yn_test): Likewise.
19651
323e5cb7
JM
19652 * math/gen-libm-test.pl (adjust_arg): Remove function.
19653 (special_function): Remove argument $in_func. Only handle
19654 generating output for tables of tests, not inside functions.
19655 (parse_args): Likewise.
19656 (generate_testfile): Remove variable $in_func. Update call to
19657 parse_args.
19658 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
19659 (MINUS_ZERO_INIT): Rename macro to minus_zero.
19660 (PLUS_INFTY_INIT): Rename macro to plus_infty.
19661 (MINUS_INFTY_INIT): Rename macro to minus_infty.
19662 (QNAN_VALUE_INIT): Rename macro to qnan_value.
19663 (MAX_VALUE_INIT): Rename macro to max_value.
19664 (MIN_VALUE_INIT): Rename macro to min_value.
19665 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
19666 (plus_zero): Remove variable.
19667 (minus_zero): Likewise.
19668 (plus_infty): Likewise.
19669 (minus_infty): Likewise.
19670 (qnan_value): Likewise.
19671 (max_value): Likewise.
19672 (min_value): Likewise.
19673 (min_subnorm_value): Likewise.
19674
e054f494
RA
196752013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19676
19677 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
19678 uint64_t or uint32_t usage.
19679 * crypt/sha256-block.c: Likewise.
19680 * crypt/sha256-crypt.c: Likewise.
19681 * crypt/sha256.c: Likewise.
19682 * crypt/sha512-block.c: Likewise.
19683 * crypt/sha512-crypt.c: Likewise.
19684 * crypt/sha512.c: Likewise.
19685 * debug/backtrace-tst.c: Likewise.
19686 * debug/pcprofiledump.c: Likewise.
19687 * elf/cache.c: Likewise.
19688 * elf/dl-cache.c: Likewise.
19689 * elf/dl-misc.c: Likewise.
19690 * elf/dl-profile.c: Likewise.
19691 * elf/dl-support.c: Likewise.
19692 * elf/ldconfig.c: Likewise.
19693 * elf/sprof.c: Likewise.
19694 * iconv/dummy-repertoire.c: Likewise.
19695 * iconv/iconv_charmap.c: Likewise.
19696 * iconv/skeleton.c: Likewise.
19697 * iconvdata/8bit-generic.c: Likewise.
19698 * iconvdata/cp737.h: Likewise.
19699 * iconvdata/cp775.h: Likewise.
19700 * iconvdata/ibm1008.h: Likewise.
19701 * iconvdata/ibm1025.h: Likewise.
19702 * iconvdata/ibm1046.h: Likewise.
19703 * iconvdata/ibm1097.h: Likewise.
19704 * iconvdata/ibm1112.h: Likewise.
19705 * iconvdata/ibm1122.h: Likewise.
19706 * iconvdata/ibm1123.h: Likewise.
19707 * iconvdata/ibm1124.h: Likewise.
19708 * iconvdata/ibm1129.h: Likewise.
19709 * iconvdata/ibm1130.h: Likewise.
19710 * iconvdata/ibm1132.h: Likewise.
19711 * iconvdata/ibm1133.h: Likewise.
19712 * iconvdata/ibm1137.h: Likewise.
19713 * iconvdata/ibm1140.h: Likewise.
19714 * iconvdata/ibm1141.h: Likewise.
19715 * iconvdata/ibm1142.h: Likewise.
19716 * iconvdata/ibm1143.h: Likewise.
19717 * iconvdata/ibm1144.h: Likewise.
19718 * iconvdata/ibm1145.h: Likewise.
19719 * iconvdata/ibm1146.h: Likewise.
19720 * iconvdata/ibm1147.h: Likewise.
19721 * iconvdata/ibm1148.h: Likewise.
19722 * iconvdata/ibm1149.h: Likewise.
19723 * iconvdata/ibm1153.h: Likewise.
19724 * iconvdata/ibm1154.h: Likewise.
19725 * iconvdata/ibm1155.h: Likewise.
19726 * iconvdata/ibm1156.h: Likewise.
19727 * iconvdata/ibm1157.h: Likewise.
19728 * iconvdata/ibm1158.h: Likewise.
19729 * iconvdata/ibm1160.h: Likewise.
19730 * iconvdata/ibm1161.h: Likewise.
19731 * iconvdata/ibm1162.h: Likewise.
19732 * iconvdata/ibm1163.h: Likewise.
19733 * iconvdata/ibm1164.h: Likewise.
19734 * iconvdata/ibm1166.h: Likewise.
19735 * iconvdata/ibm1167.h: Likewise.
19736 * iconvdata/ibm12712.h: Likewise.
19737 * iconvdata/ibm1390.h: Likewise.
19738 * iconvdata/ibm1399.h: Likewise.
19739 * iconvdata/ibm16804.h: Likewise.
19740 * iconvdata/ibm4517.h: Likewise.
19741 * iconvdata/ibm4899.h: Likewise.
19742 * iconvdata/ibm4909.h: Likewise.
19743 * iconvdata/ibm4971.h: Likewise.
19744 * iconvdata/ibm5347.h: Likewise.
19745 * iconvdata/ibm803.h: Likewise.
19746 * iconvdata/ibm856.h: Likewise.
19747 * iconvdata/ibm901.h: Likewise.
19748 * iconvdata/ibm902.h: Likewise.
19749 * iconvdata/ibm9030.h: Likewise.
19750 * iconvdata/ibm9066.h: Likewise.
19751 * iconvdata/ibm921.h: Likewise.
19752 * iconvdata/ibm922.h: Likewise.
19753 * iconvdata/ibm9448.h: Likewise.
19754 * iconvdata/isiri-3342.h: Likewise.
19755 * iconvdata/jis0201.h: Likewise.
19756 * include/link.h: Likewise.
19757 * include/netdb.h: Likewise.
19758 * inet/check_native.c: Likewise.
19759 * inet/check_pf.c: Likewise.
19760 * inet/getipv4sourcefilter.c: Likewise.
19761 * inet/getnameinfo.c: Likewise.
19762 * inet/getsourcefilter.c: Likewise.
19763 * inet/htonl.c: Likewise.
19764 * inet/setipv4sourcefilter.c: Likewise.
19765 * inet/setsourcefilter.c: Likewise.
19766 * inet/test-inet6_opt.c: Likewise.
19767 * inet/tst-network.c: Likewise.
19768 * locale/C-collate.c: Likewise.
19769 * locale/C-ctype.c: Likewise.
19770 * locale/C-time.c: Likewise.
19771 * locale/C-translit.h: Likewise.
19772 * locale/loadarchive.c: Likewise.
19773 * locale/programs/3level.h: Likewise.
19774 * locale/programs/charmap.c: Likewise.
19775 * locale/programs/charmap.h: Likewise.
19776 * locale/programs/ld-address.c: Likewise.
19777 * locale/programs/ld-collate.c: Likewise.
19778 * locale/programs/ld-ctype.c: Likewise.
19779 * locale/programs/ld-identification.c: Likewise.
19780 * locale/programs/ld-measurement.c: Likewise.
19781 * locale/programs/ld-messages.c: Likewise.
19782 * locale/programs/ld-monetary.c: Likewise.
19783 * locale/programs/ld-name.c: Likewise.
19784 * locale/programs/ld-numeric.c: Likewise.
19785 * locale/programs/ld-paper.c: Likewise.
19786 * locale/programs/ld-telephone.c: Likewise.
19787 * locale/programs/ld-time.c: Likewise.
19788 * locale/programs/linereader.c: Likewise.
19789 * locale/programs/locale.c: Likewise.
19790 * locale/programs/locarchive.c: Likewise.
19791 * locale/programs/locfile.h: Likewise.
19792 * locale/programs/repertoire.c: Likewise.
19793 * locale/programs/simple-hash.c: Likewise.
19794 * locale/programs/simple-hash.h: Likewise.
19795 * malloc/memusage.c: Likewise.
19796 * malloc/memusagestat.c: Likewise.
19797 * nis/nis_defaults.c: Likewise.
19798 * nis/nis_hash.c: Likewise.
19799 * nis/nis_print.c: Likewise.
19800 * nis/nis_xdr.c: Likewise.
19801 * nscd/connections.c: Likewise.
19802 * nscd/hstcache.c: Likewise.
19803 * nscd/nscd_gethst_r.c: Likewise.
19804 * nscd/nscd_getserv_r.c: Likewise.
19805 * nscd/nscd_helper.c: Likewise.
19806 * nscd/servicescache.c: Likewise.
19807 * nss/makedb.c: Likewise.
19808 * nss/nss_db/db-XXX.c: Likewise.
19809 * nss/nss_db/db-initgroups.c: Likewise.
19810 * nss/nss_db/db-netgrp.c: Likewise.
19811 * nss/nss_files/files-network.c: Likewise.
19812 * nss/nss_files/files-parse.c: Likewise.
19813 * posix/bug-regex5.c: Likewise.
19814 * posix/fnmatch_loop.c: Likewise.
19815 * posix/regcomp.c: Likewise.
19816 * posix/regexec.c: Likewise.
19817 * posix/tst-rfc3484-2.c: Likewise.
19818 * posix/tst-rfc3484-3.c: Likewise.
19819 * posix/tst-rfc3484.c: Likewise.
19820 * resolv/nss_dns/dns-canon.c: Likewise.
19821 * resolv/nss_dns/dns-network.c: Likewise.
19822 * resolv/res_init.c: Likewise.
19823 * resolv/res_mkquery.c: Likewise.
19824 * resolv/tst-aton.c: Likewise.
19825 * stdlib/cxa_atexit.c: Likewise.
19826 * stdlib/cxa_finalize.c: Likewise.
19827 * stdlib/gen-fpioconst.c: Likewise.
19828 * stdlib/strtol_l.c: Likewise.
19829 * string/tst-endian.c: Likewise.
19830 * sunrpc/auth_des.c: Likewise.
19831 * sunrpc/clnt_udp.c: Likewise.
19832 * sunrpc/rtime.c: Likewise.
19833 * sunrpc/svcauth_des.c: Likewise.
19834 * sunrpc/xdr.c: Likewise.
19835 * sunrpc/xdr_intXX_t.c: Likewise.
19836 * sunrpc/xdr_rec.c: Likewise.
19837 * sysdeps/generic/ldconfig.h: Likewise.
19838 * sysdeps/generic/ldsodefs.h: Likewise.
19839 * sysdeps/generic/memusage.h: Likewise.
19840 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19841 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
19842 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
19843 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19844 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19845 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19846 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19847 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19848 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19849 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19850 * sysdeps/posix/getaddrinfo.c: Likewise.
19851 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19852 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19853 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19854 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19855 * sysdeps/powerpc/test-gettimebase.c: Likewise.
19856 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19857 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
19858 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
19859 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
19860 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
19861 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19862 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19863 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
19864 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
19865 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
19866 * sysdeps/x86_64/dl-tls.h: Likewise.
19867 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
19868 * time/alt_digit.c: Likewise.
19869 * time/era.c: Likewise.
19870 * wcsmbs/tst-c16c32-1.c: Likewise.
19871
8c75f674
JM
198722013-05-16 Joseph Myers <joseph@codesourcery.com>
19873
19874 * math/libm-test.inc (struct test_sincos_data): New type.
19875 (RUN_TEST_LOOP_sincos): New macro.
19876 (sincos_test_data): New variable.
19877 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
19878
e6e49e59
RH
198792013-05-16 Richard Henderson <rth@redhat.com>
19880
19881 * math/atest-exp2.c (LIMB64): New macro.
19882 (CONSTSZ): New macro.
19883 (mp_exp1, mp_exp_m1, mp_log2): New variables.
19884 (hexdig): Move ...
19885 (print_mpn_fp): ... to function scope.
19886 (read_mpn_hex): Remove.
19887 (get_log2): Remove.
19888 (exp2_mpn): Use mp_log2.
19889 (main): Use mp_exp1.
19890
15c7c18d
JM
198912013-05-16 Joseph Myers <joseph@codesourcery.com>
19892
105a07df
JM
19893 * math/libm-test.inc: Remove comment about not testing "inexact"
19894 exceptions.
19895 (INEXACT_EXCEPTION): New macro.
19896 (NO_INEXACT_EXCEPTION): Likewise.
19897 (INVALID_EXCEPTION_OK): Update value.
19898 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19899 (OVERFLOW_EXCEPTION_OK): Likewise.
19900 (UNDERFLOW_EXCEPTION_OK): Likewise.
19901 (IGNORE_ZERO_INF_SIGN): Likewise.
19902 (ERRNO_UNCHANGED): Likewise.
19903 (ERRNO_EDOM): Likewise.
19904 (ERRNO_ERANGE): Likewise.
19905 (test_exceptions): Handle testing "inexact" exceptions.
19906 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
19907 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
19908 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
19909 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
19910 INEXACT_EXCEPTION.
19911 (rint_towardzero_test_data): Likewise.
19912 (rint_downward_test_data): Likewise.
19913 (rint_upward_test_data): Likewise.
19914
e9eee333
JM
19915 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
19916 with OVERFLOW_EXCEPTION.
19917 (exp10_test_data): Likewise.
19918 (exp2_test_data): Likewise.
19919 (expm1_test_data): Likewise.
19920 (lgamma_test_data): Likewise.
19921 (pow_test_data): Likewise.
19922 (tgamma_test_data): Likewise.
19923 (yn_test_data): Remove duplicate test of overflow.
19924
1c38ff73
JM
19925 * math/libm-test.inc (struct test_cc_c_data): New type.
19926 (RUN_TEST_LOOP_cc_c): New macro.
19927 (cpow_test_data): New variable.
19928 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
19929
15c7c18d
JM
19930 * math/libm-test.inc (struct test_f_L_data): New type.
19931 (RUN_TEST_LOOP_f_L): New macro.
19932 (llrint_test_data): New variable.
19933 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
19934 (llrint_tonearest_test_data): New variable.
19935 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
19936 (llrint_towardzero_test_data): New variable.
19937 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
19938 (llrint_downward_test_data): New variable.
19939 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
19940 (llrint_upward_test_data): New variable.
19941 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
19942 (llround_test_data): New variable.
19943 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
19944
f137ff13
PC
199452013-05-13 Peter Collingbourne <pcc@google.com>
19946
19947 * math/atest-exp2.c (get_log2): Remove const attribute.
19948
3608cb24
JM
199492013-05-15 Joseph Myers <joseph@codesourcery.com>
19950
19951 * math/libm-test.inc (struct test_f_l_data): New type.
19952 (RUN_TEST_LOOP_f_l): New macro.
19953 (lrint_test_data): New variable.
19954 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
19955 (lrint_tonearest_test_data): New variable.
19956 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
19957 (lrint_towardzero_test_data): New variable.
19958 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
19959 (lrint_downward_test_data): New variable.
19960 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
19961 (lrint_upward_test_data): New variable.
19962 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
19963 (lround_test_data): New variable.
19964 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
19965
39b1f617
PC
199662013-05-15 Peter Collingbourne <pcc@google.com>
19967
1deff3dc
PC
19968 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
19969 (EXTRACT_WORDS64) Use where appropriate.
19970 (INSERT_WORDS64) Likewise.
19971
791f3ba0
PC
19972 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
19973 constraints with x constraints.
19974 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
19975
39b1f617
PC
19976 * malloc/obstack.c (_obstack_compat): Add initializer.
19977
12fba011
EM
199782013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
19979
19980 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
19981 si_trapno and add si_addr_lsb to _sifields.sigfault.
19982 (si_trapno): Remove macro.
19983 (si_addr_lsb): Define new macro.
19984 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19985
d369f531
JM
199862013-05-15 Joseph Myers <joseph@codesourcery.com>
19987
b861c6c4
JM
19988 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
19989 instead of TEST_f_l.
19990 (llrint_test_tonearest): Likewise.
19991 (llrint_test_towardzero): Likewise.
19992 (llrint_test_downward): Likewise.
19993 (llrint_test_upward): Likewise.
19994 (llround_test): Likewise.
19995
7abeee12
JM
19996 * math/libm-test.inc (struct test_f_i_data): Add comment.
19997 (RUN_TEST_LOOP_f_b): New macro.
19998 (RUN_TEST_LOOP_f_b_tg): Likewise.
19999 (finite_test_data): New variable.
20000 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
20001 (isfinite_test_data): New variable.
20002 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20003 (isinf_test_data): New variable.
20004 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20005 (isnan_test_data): New variable.
20006 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20007 (isnormal_test_data): New variable.
20008 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20009 (issignaling_test_data): New variable.
20010 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20011 (signbit_test_data): New variable.
20012 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20013
cbe8c4d3
JM
20014 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
20015 with INVALID_EXCEPTION.
20016 (acosh_test_data): Likewise.
20017 (asin_test_data): Likewise.
20018 (atanh_test_data): Likewise.
20019 (fmod_test_data): Likewise.
20020 (log_test_data): Likewise.
20021 (log10_test_data): Likewise.
20022 (log2_test_data): Likewise.
20023 (pow_test_data): Likewise.
20024 (sqrt_test_data): Likewise.
20025 (y0_test_data): Likewise.
20026 (y1_test_data): Likewise.
20027 (yn_test_data): Likewise.
20028
5575c0e5
JM
20029 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
20030 function contents.
20031
d369f531
JM
20032 * math/libm-test.inc (struct test_ff_i_data): New type.
20033 (RUN_TEST_LOOP_ff_i_tg): New macro.
20034 (isgreater_test_data): New variable.
20035 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20036 (isgreaterequal_test_data): New variable.
20037 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20038 (isless_test_data): New variable.
20039 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20040 (islessequal_test_data): New variable.
20041 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20042 (islessgreater_test_data): New variable.
20043 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20044 (isunordered_test_data): New variable.
20045 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20046
781fd748
DM
200472013-05-14 David S. Miller <davem@davemloft.net>
20048
20049 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20050
87aa21df
JM
200512013-05-14 Joseph Myers <joseph@codesourcery.com>
20052
5e908270
JM
20053 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
20054
f71172e5
JM
20055 * math/libm-test.inc (struct test_fF_f1_data): Change type of
20056 extra_test to int.
20057 (struct test_f_i_data): Change type of max_ulp to int.
20058
8cfa635a
JM
20059 * math/libm-test.inc (test_ffI_f1_data): New type.
20060 (RUN_TEST_LOOP_ffI_f1): New macro.
20061 (remquo_test_data): New variable.
20062 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
20063
2bcb36b2
JM
20064 * setjmp/tst-setjmp-fp.c: New file.
20065 * setjmp/Makefile (tests): Add tst-setjmp-fp.
20066 (link-libm): New variable.
20067 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
20068
acbd839a
JM
20069 * math/libm-test.inc (struct test_f_i_data): New type.
20070 (RUN_TEST_LOOP_f_i): New macro.
20071 (RUN_TEST_LOOP_f_i_tg): Likewise.
20072 (fpclassify_test_data): New variable.
20073 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
20074 (ilogb_test_data): New variable.
20075 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
20076
e414d745
JM
20077 * math/libm-test.inc (scalbln_test): Correct function name in END
20078 call.
20079
d9c2a0fd
JM
20080 * math/libm-test.inc (struct test_f_f1_data): Add comment.
20081 (RUN_TEST_LOOP_fI_f1): New macro.
20082 (frexp_test_data): New variable.
20083 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
20084
9dc9095d
JM
20085 * math/libm-test.inc (struct test_fF_f1_data): New type.
20086 (RUN_TEST_LOOP_fF_f1): New macro.
20087 (modf_test_data): New variable.
20088 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
20089
87aa21df
JM
20090 * math/libm-test.inc (struct test_f_f1_data): New type.
20091 (RUN_TEST_LOOP_f_f1): New macro.
20092 (gamma_test_data): New variable.
20093 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20094 (lgamma_test_data): New variable.
20095 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20096
141af660
CD
200972013-05-13 Carlos O'Donell <carlos@redhat.com>
20098
20099 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
20100 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
20101 (main): Comment "tls" pseudo-hwcap.
20102
6d33265c
JM
201032013-05-13 Joseph Myers <joseph@codesourcery.com>
20104
68fc074c
JM
20105 * math/libm-test.inc (struct test_fl_f_data): New type.
20106 (RUN_TEST_LOOP_fl_f): New variable.
20107 (scalbln_test_data): New variable.
20108 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
20109
243216e1
JM
20110 * math/libm-test.inc (struct test_fi_f_data): New type.
20111 (RUN_TEST_LOOP_fi_f): New macro.
20112 (ldexp_test_data): New variable.
20113 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
20114 (scalbn_test_data): New variable.
20115 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
20116
6a1992e2
JM
20117 * math/libm-test.inc (struct test_c_f_data): New type.
20118 (RUN_TEST_LOOP_c_f): New macro.
20119 (cabs_test_data): New variable.
20120 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
20121 (carg_test_data): New variable.
20122 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
20123 (cimag_test_data): New variable.
20124 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
20125 (creal_test_data): New variable.
20126 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
20127
0e400df5
JM
20128 * math/libm-test.inc (struct test_if_f_data): New type.
20129 (RUN_TEST_LOOP_if_f): New macro.
20130 (jn_test_data): New variable.
20131 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
20132 (yn_test_data): New variable.
20133 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
20134
6d33265c
JM
20135 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
20136
f98ece5f
AZ
201372013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20138
20139 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
20140 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
20141
0f7d347b
SP
201422013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20143
43fe811b
SP
20144 * benchtests/Makefile (CPPFLAGS-nonlib): Add
20145 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
20146 (bench-deps): Add bench-timing.h.
20147 * benchtests-bench-skeleton.c: Include bench-timing.h.
20148 (main): Use TIMING_* macros instead of clock_gettime.
20149 * benchtests/bench-timing.h: New file.
20150
0f7d347b
SP
20151 [BZ #14582]
20152 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
20153 Renamed from _LIB_VERSION.
20154 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
20155
601a3a5f
JM
201562013-05-12 Joseph Myers <joseph@codesourcery.com>
20157
4f184d30
JM
20158 * math/libm-test.inc (struct test_fff_f_data): New type.
20159 (RUN_TEST_LOOP_fff_f): New macro.
20160 (fma_test_data): New variable.
20161 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
20162 (fma_towardzero_test_data): New variable.
20163 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
20164 (fma_downward_test_data): New variable.
20165 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
20166 (fma_upward_test_data): New variable.
20167 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
20168
08198877
JM
20169 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
20170 (struct test_c_c_data): New type.
20171 (RUN_TEST_LOOP_c_c): New macro.
20172 (cacos_test_data): New variable.
20173 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
20174 (cacosh_test_data): New variable.
20175 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
20176 (casin_test_data): New variable.
20177 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
20178 (casinh_test_data): New variable.
20179 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
20180 (catan_test_data): New variable.
20181 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
20182 (catanh_test_data): New variable.
20183 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
20184 (ccos_test_data): New variable.
20185 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
20186 (ccosh_test_data): New variable.
20187 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
20188 (cexp_test_data): New variable.
20189 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
20190 (clog_test_data): New variable.
20191 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
20192 (clog10_test_data): New variable.
20193 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
20194 (conj_test_data): New variable.
20195 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
20196 (cproj_test_data): New variable.
20197 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
20198 (csin_test_data): New variable.
20199 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
20200 (csinh_test_data): New variable.
20201 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
20202 (csqrt_test_data): New variable.
20203 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
20204 (ctan_test_data): New variable.
20205 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
20206 (ctan_tonearest_test_data): New variable.
20207 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20208 (ctan_towardzero_test_data): New variable.
20209 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20210 (ctan_downward_test_data): New variable.
20211 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20212 (ctan_upward_test_data): New variable.
20213 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20214 (ctanh_test_data): New variable.
20215 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
20216 (ctanh_tonearest_test_data): New variable.
20217 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20218 (ctanh_towardzero_test_data): New variable.
20219 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20220 (ctanh_downward_test_data): New variable.
20221 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20222 (ctanh_upward_test_data): New variable.
20223 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20224 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
20225 of BUILD_COMPLEX.
20226
601a3a5f
JM
20227 * math/libm-test.inc (struct test_ff_f_data): New type.
20228 (struct test_ff_f_data_nexttoward): Likewise.
20229 (RUN_TEST_LOOP_2_f): New macro.
20230 (RUN_TEST_LOOP_ff_f): Likewise.
20231 (atan2_test_data): New variable.
20232 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
20233 (copysign_test_data): New variable.
20234 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
20235 (fdim_test_data): New variable.
20236 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
20237 (fmax_test_data): New variable.
20238 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
20239 (fmin_test_data): New variable.
20240 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
20241 (fmod_test_data): New variable.
20242 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
20243 (hypot_test_data): New variable.
20244 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
20245 (nextafter_test_data): New variable.
20246 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
20247 (nexttoward_test_data): New variable.
20248 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
20249 (pow_test_data): New variable.
20250 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
20251 (pow_tonearest_test_data): New variable.
20252 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
20253 (pow_towardzero_test_data): New variable.
20254 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
20255 (pow_downward_test_data): New variable.
20256 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
20257 (pow_upward_test_data): New variable.
20258 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
20259 (remainder_test_data): New variable.
20260 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
20261 (scalb_test_data): New variable.
20262 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
20263 * sysdeps/i386/fpu/libm-test-ulps: Update.
20264
74c57478
JM
202652013-05-11 Joseph Myers <joseph@codesourcery.com>
20266
8329e4da
JM
20267 * math/libm-test.inc (fma_test): Use max_value instead of local
20268 variable fltmax.
20269 (nextafter_test): Likewise.
20270
74c57478
JM
20271 * math/libm-test.inc (acos_towardzero_test_data): New variable.
20272 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20273 (acos_downward_test_data): New variable.
20274 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20275 (acos_upward_test_data): New variable.
20276 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20277 (acosh_test_data): New variable.
20278 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
20279 (asin_test_data): New variable.
20280 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
20281 (asin_tonearest_test_data): New variable.
20282 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20283 (asin_towardzero_test_data): New variable.
20284 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20285 (asin_downward_test_data): New variable.
20286 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20287 (asin_upward_test_data): New variable.
20288 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20289 (asinh_test_data): New variable.
20290 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
20291 (atan_test_data): New variable.
20292 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
20293 (atanh_test_data): New variable.
20294 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
20295 (cbrt_test_data): New variable.
20296 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
20297 (ceil_test_data): New variable.
20298 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
20299 (cos_test_data): New variable.
20300 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
20301 (cos_tonearest_test_data): New variable.
20302 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20303 (cos_towardzero_test_data): New variable.
20304 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20305 (cos_downward_test_data): New variable.
20306 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20307 (cos_upward_test_data): New variable.
20308 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20309 (cosh_test_data): New variable.
20310 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
20311 (cosh_tonearest_test_data): New variable.
20312 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20313 (cosh_towardzero_test_data): New variable.
20314 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20315 (cosh_downward_test_data): New variable.
20316 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20317 (cosh_upward_test_data): New variable.
20318 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20319 (erf_test_data): New variable.
20320 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
20321 (erfc_test_data): New variable.
20322 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
20323 (exp_test_data): New variable.
20324 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
20325 (exp_tonearest_test_data): New variable.
20326 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20327 (exp_towardzero_test_data): New variable.
20328 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20329 (exp_downward_test_data): New variable.
20330 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20331 (exp_upward_test_data): New variable.
20332 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20333 (exp10_test_data): New variable.
20334 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
20335 (exp2_test_data): New variable.
20336 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
20337 (expm1_test_data): New variable.
20338 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
20339 (fabs_test_data): New variable.
20340 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
20341 (floor_test_data): New variable.
20342 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
20343 (j0_test_data): New variable.
20344 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
20345 (j1_test_data): New variable.
20346 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
20347 (log_test_data): New variable.
20348 (log_test): Run tests with RUN_TEST_LOOP_f_f.
20349 (log10_test_data): New variable.
20350 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
20351 (log1p_test_data): New variable.
20352 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
20353 (log2_test_data): New variable.
20354 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
20355 (logb_test_data): New variable.
20356 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
20357 (logb_downward_test_data): New variable.
20358 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20359 (nearbyint_test_data): New variable.
20360 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
20361 (rint_test_data): New variable.
20362 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
20363 (rint_tonearest_test_data): New variable.
20364 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20365 (rint_towardzero_test_data): New variable.
20366 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20367 (rint_downward_test_data): New variable.
20368 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20369 (rint_upward_test_data): New variable.
20370 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20371 (round_test_data): New variable.
20372 (round_test): Run tests with RUN_TEST_LOOP_f_f.
20373 (sin_test_data): New variable.
20374 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
20375 (sin_tonearest_test_data): New variable.
20376 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20377 (sin_towardzero_test_data): New variable.
20378 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20379 (sin_downward_test_data): New variable.
20380 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20381 (sin_upward_test_data): New variable.
20382 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20383 (sinh_test_data): New variable.
20384 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
20385 (sinh_tonearest_test_data): New variable.
20386 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20387 (sinh_towardzero_test_data): New variable.
20388 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20389 (sinh_downward_test_data): New variable.
20390 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20391 (sinh_upward_test_data): New variable.
20392 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20393 (sqrt_test_data): New variable.
20394 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
20395 (tan_test_data): New variable.
20396 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
20397 (tan_tonearest_test_data): New variable.
20398 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20399 (tan_towardzero_test_data): New variable.
20400 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20401 (tan_downward_test_data): New variable.
20402 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20403 (tan_upward_test_data): New variable.
20404 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20405 (tanh_test_data): New variable.
20406 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
20407 (tgamma_test_data): New variable.
20408 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
20409 (trunc_test_data): New variable.
20410 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
20411 (y0_test_data): New variable.
20412 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
20413 (y1_test_data): New variable.
20414 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
20415 (significand_test_data): New variable.
20416 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
20417
7187d844
CG
204182013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
20419
20420 [BZ #12387]
20421 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
20422
f63fae73
PT
204232013-05-10 Pino Toscano <toscano.pino@tiscali.it>
20424
20425 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
20426
8a67a4b3
AJ
204272013-05-10 Andreas Jaeger <aj@suse.de>
20428
20429 [BZ #15448]
20430 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
20431 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
20432
51df539d
JM
204332013-05-10 Joseph Myers <joseph@codesourcery.com>
20434
20435 * math/gen-libm-test.pl (adjust_arg): New function.
20436 (special_functions): Handle generating output in both functions
20437 and arrays.
20438 (parse_args): Likewise.
20439 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
20440 $in_func argument to parse_args.
20441 * math/libm-test.inc (struct test_f_f_data): New type.
20442 (IF_ROUND_INIT_): New macro.
20443 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
20444 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20445 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20446 (IF_ROUND_INIT_FE_UPWARD): Likewise.
20447 (ROUND_RESTORE_): Likewise.
20448 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
20449 (ROUND_RESTORE_FE_TONEAREST): Likewise.
20450 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
20451 (ROUND_RESTORE_FE_UPWARD): Likewise.
20452 (RUN_TEST_LOOP_f_f): New macro.
20453 (acos_test_data): New variable.
20454 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
20455 (acos_tonearest_test_data): New variable.
20456 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20457
5c637fe5
SP
204582013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20459
20460 * benchtests/bench-skeleton.c (startup): Fix coding style.
20461
ab2b9461
JM
204622013-05-10 Joseph Myers <joseph@codesourcery.com>
20463
20464 [BZ #6809]
20465 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
20466 negative infinity argument.
20467 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
20468 negative infinity argument.
20469 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
20470 negative infinity argument.
20471 * math/libm-test.inc (tgamma_test): Expect errno to be set for
20472 domain errors.
20473
4c0fe6fe
FW
204742013-05-10 Florian Weimer <fweimer@redhat.com>
20475
20476 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
20477 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
20478 * iconv/iconv_prog.c (main): Likewise.
20479 * locale/programs/charmap-dir.c (charmap_readdir)
20480 (fopen_uncompressed): Likewise.
20481 * locale/programs/locfile.c (siblings_uncached)
20482 (write_locale_data): Use lstat64 instead of lstat.
20483 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
20484 stat.
20485
a3375d29
AJ
204862013-05-10 Andreas Jaeger <aj@suse.de>
20487
20488 [BZ #15395]
20489 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
20490 localization.
20491 Include <locale.h>.
20492
36129722
CD
204932013-05-09 Carlos O'Donell <carlos@redhat.com>
20494
20495 * elf/dl-close.c (_dl_close_worker): Add comments.
20496
faa7f811
JM
204972013-05-09 Joseph Myers <joseph@codesourcery.com>
20498
ed41ffef
JM
20499 [BZ #15359]
20500 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
20501 high part of pi/2.
20502 (__ieee754_rem_pio2l): Update comments.
20503
d0213cd0
JM
20504 [BZ #15429]
20505 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
20506 high part of pi/2.
20507 (__ieee754_rem_pio2l): Update comments.
20508
0d3e777a
JM
20509 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
20510 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
20511
24f56066
JM
20512 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
20513 M_PI_4l.
20514
faa7f811
JM
20515 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
20516 (M_PI_34_LOG10El): Likewise.
20517 (M_PI2_LOG10El): Likewise.
20518 (M_PI4_LOG10El): Likewise.
20519 (M_PI_LOG10El): Likewise.
20520
e9a5e0fd
AZ
205212013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20522
20523 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20524
d8cd06db
JM
205252013-05-08 Joseph Myers <joseph@codesourcery.com>
20526
a0d9f9d7
JM
20527 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
20528 (MINUS_ZERO_INIT): Likewise.
20529 (PLUS_INFTY_INIT): Likewise.
20530 (MINUS_INFTY_INIT): Likewise.
20531 (QNAN_VALUE_INIT): Likewise.
20532 (MAX_VALUE_INIT): Likewise.
20533 (MIN_VALUE_INIT): Likewise.
20534 (MIN_SUBNORM_VALUE_INIT): Likewise.
20535 (plus_zero): Initialize with PLUS_ZERO_INIT.
20536 (minus_zero): Initialize with MINUS_ZERO_INIT.
20537 (plus_infty): Initialize with PLUS_INFTY_INIT.
20538 (minus_infty): Initialize with MINUS_INFTY_INIT.
20539 (qnan_value): Initialize with QNAN_VALUE_INIT.
20540 (max_value): Initialize with MAX_VALUE_INIT.
20541 (min_value): Initialize with MIN_VALUE_INIT.
20542 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
20543
ae08db3b
JM
20544 * math/libm-test.inc (RUN_TEST_if_f): New macro.
20545 (jn_test): Use TEST_if_f instead of TEST_ff_f.
20546 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
20547 (yn_test): Use TEST_if_f instead of TEST_ff_f.
20548
f44bf14a
JM
20549 * math/libm-test.inc (RUN_TEST_f_f): New macro.
20550 (RUN_TEST_2_f): Likewise.
20551 (RUN_TEST_ff_f): Likewise.
20552 (RUN_TEST_fi_f): Likewise.
20553 (RUN_TEST_fl_f): Likewise.
20554 (RUN_TEST_fff_f): Likewise.
20555 (RUN_TEST_c_f): Likewise.
20556 (RUN_TEST_f_f1): Likewise.
20557 (RUN_TEST_fF_f1): Likewise.
20558 (RUN_TEST_fI_f1): Likewise.
20559 (RUN_TEST_ffI_f1): Likewise.
20560 (RUN_TEST_c_c): Likewise.
20561 (RUN_TEST_cc_c): Likewise.
20562 (RUN_TEST_f_i): Likewise.
20563 (RUN_TEST_f_i_tg): Likewise.
20564 (RUN_TEST_ff_i_tg): Likewise.
20565 (RUN_TEST_f_b): Likewise.
20566 (RUN_TEST_f_b_tg): Likewise.
20567 (RUN_TEST_f_l): Likewise.
20568 (RUN_TEST_f_L): Likewise.
20569 (RUN_TEST_sincos): Likewise.
20570 * math/gen-libm-test.pl (new_test): Take new argument to indicate
20571 whether to show exceptions. Do not include ");\n" in return
20572 value.
20573 (special_functions): Output call to RUN_TEST_sincos instead of
20574 check_float calls. Update calls to new_test.
20575 (parse_args): Output call to single RUN_TEST_* macro instead of
20576 check_* calls and other assignments. Update calls to new_test.
20577
d8cd06db
JM
20578 [BZ #2546]
20579 [BZ #2560]
20580 [BZ #5159]
20581 [BZ #15426]
20582 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
20583 input to result for tgamma overflow.
20584 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
20585 (gamma_coeff): New variable.
20586 (NCOEFF): New macro.
20587 (gamma_positive): New function.
20588 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
20589 underflow here. Use gamma_positive instead of exp (lgamma) for
20590 other arguments.
20591 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
20592 (gamma_coeff): New variable.
20593 (NCOEFF): New macro.
20594 (gammaf_positive): New function.
20595 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
20596 underflow here. Use gamma_positive instead of exp (lgamma) for
20597 other arguments.
20598 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
20599 (gamma_coeff): New variable.
20600 (NCOEFF): New macro.
20601 (gammal_positive): New function.
20602 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
20603 underflow here. Use gamma_positive instead of exp (lgamma) for
20604 other arguments.
20605 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
20606 (gamma_coeff): New variable.
20607 (NCOEFF): New macro.
20608 (gammal_positive): New function.
20609 (__ieee754_gammal_r): Handle positive infinity, overflow and
20610 underflow here. Handle NaN the same as positive infinity. Remove
20611 check x < 0xffffffff for negative integers. Use gamma_positive
20612 instead of exp (lgamma) for other arguments.
20613 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
20614 (gamma_coeff): New variable.
20615 (NCOEFF): New macro.
20616 (gammal_positive): New function.
20617 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
20618 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
20619 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
20620 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
20621 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
20622 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
20623 * sysdeps/generic/math_private.h (__gamma_productf): New
20624 prototype.
20625 (__gamma_product): Likewise.
20626 (__gamma_productl): Likewise.
20627 * math/Makefile (libm-calls): Add gamma_product.
20628 * math/libm-test.inc (tgamma_test): Add more tests.
20629 * sysdeps/i386/fpu/libm-test-ulps: Update.
20630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20631
bb7cf681
OB
206322013-05-08 Ondřej Bílka <neleai@seznam.cz>
20633
20634 * benchtests/bench-skeleton.c (main): Preheat CPU.
20635
ba853947
AJ
206362013-05-07 Aurelien Jarno <aurelien@aurel32.net>
20637
20638 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
20639
8347c74c
RM
206402013-05-07 Roland McGrath <roland@hack.frob.com>
20641
20642 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
20643 and _dl_skip_args_internal.
20644
e8dd4791
CD
206452013-05-07 Carlos O'Donell <carlos@redhat.com>
20646
20647 * manual/message.texi (Message Translation): Talk about users.
20648 Message to key mapping impacts design.
20649
c7405830
RM
206502013-05-06 Roland McGrath <roland@hack.frob.com>
20651
a9173057
RM
20652 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
20653
976e2f03
RM
20654 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
20655
9723ffc5
RM
20656 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
20657 * sysdeps/wordsize-64/glob64.c: ... here.
20658
962e6658
RM
20659 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
20660 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
20661 New macros.
20662
ee586a6d
RM
20663 * debug/getlogin_r_chk.c: Moved to ...
20664 * login/getlogin_r_chk.c: ... here.
20665 * debug/Makefile (routines): Move getlogin_r_chk to ...
20666 * login/Makefile (routines): ... here.
20667 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
20668 * login/Versions (libc: GLIBC_2.4): ... here.
20669
355f9165
RM
20670 * io/poll.c (__poll): Renamed from poll.
20671 Add libc_hidden_def.
20672 (poll): Define as weak alias.
20673
bd9ffde6
RM
20674 * debug/ptsname_r_chk.c: Moved to ...
20675 * login/ptsname_r_chk.c: ... here.
20676 * debug/Makefile (routines): Move ptsname_r_chk to ...
20677 * login/Makefile (routines): ... here.
20678 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
20679 * login/Versions (libc: GLIBC_2.4): ... here.
20680
8fb16a04
RM
20681 * posix/getlogin.c: Moved to ...
20682 * login/getlogin.c: ... here.
20683 * posix/getlogin_r.c: Moved to ...
20684 * login/getlogin_r.c: ... here.
20685 * posix/getlogin_r.c: Moved to ...
20686 * login/getlogin_r.c: ... here.
20687 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
20688 * login/Makefile (routines): ... here.
20689 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
20690 * login/Versions (libc: GLIBC_2.0): ... here.
20691
b99b892f
RM
20692 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
20693 (setrlimit): Define as weak alias.
20694
c7405830
RM
20695 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
20696 Call __ names for open, ftruncate, and close.
20697 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
20698 (truncate): Define as weak alias.
20699
5bf96de5
JM
207002013-05-06 Joseph Myers <joseph@codesourcery.com>
20701
9ea3513c
JM
20702 * math/gen-libm-test.pl (parse_args): Initialize x before each
20703 test of frexp, modf and remquo.
20704
5bf96de5
JM
20705 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
20706 test signgam value.
20707
16e616a7
AZ
207082013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20709
20710 [BZ #15418]
20711 [BZ #15419]
20712 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
20713 internal tests.
20714 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20715
d5e82754
RM
207162013-05-06 Roland McGrath <roland@hack.frob.com>
20717
20718 * elf/dl-writev.h: New file.
20719 * elf/dl-misc.c: Include it.
20720 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
20721 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
20722
a7548d41
JM
207232013-05-04 Joseph Myers <joseph@codesourcery.com>
20724
b7dab1e4
JM
20725 * math/libm-test.inc (noXFails): Remove variable.
20726 (noXPasses): Likewise.
20727 (BUILD_COMPLEX_INT): Remove macro.
20728 (print_screen): Remove xfail argument.
20729 (print_screen_max_error): Likewise.
20730 (update_stats): Likewise.
20731 (print_max_error): Likewise. Update calls to other affected
20732 functions.
20733 (print_complex_max_error): Likewise.
20734 (test_single_exception): Update calls to print_screen.
20735 (test_single_errno): Likewise.
20736 (check_float_internal): Remove xfail argument. Update calls to
20737 other affected functions.
20738 (check_float): Likewise.
20739 (check_complex): Likewise.
20740 (check_int): Likewise.
20741 (check_long): Likewise.
20742 (check_bool): Likewise.
20743 (check_longlong): Likewise.
20744 (main): Don't print noXFails and noXPasses.
20745 * math/gen-libm-test.pl (top level): Don't mention expected
20746 failure handling in comment.
20747 (new_test): Don't handle expected failures.
20748 (parse_args): Don't mention expected failure handling in comment.
20749 (generate_testfile): Don't handle expected failures.
20750 (parse_ulps): Likewise.
20751 (print_ulps_file): Likewise.
20752 (get_failure): Remove function.
20753 (output_test): Don't handle expected failures.
20754 * make/README.libm-test: Don't mention expected failure handling.
20755
a7548d41
JM
20756 * math/libm-test.inc (plus_zero): Make const. Add initializer.
20757 (minus_zero): Likewise.
20758 (plus_infty): Likewise.
20759 (minus_infty): Likewise.
20760 (qnan_value): Likewise.
20761 (max_value): Likewise.
20762 (min_value): Likewise.
20763 (min_subnorm_value): Likewise.
20764 (initialize): Do not initialize those variables dynamically.
20765
60bfd54c
RM
207662013-05-03 Roland McGrath <roland@hack.frob.com>
20767
cc0e6ed8
RM
20768 * io/open.c (__open_2): Moved to ...
20769 * io/open_2.c: ... this new file.
20770 * io/open64.c (__open64_2): Moved to ...
20771 * io/open64_2.c: ... this new file.
20772 * io/openat.c (__openat_2): Moved to ...
20773 * io/openat_2.c: ... this new file.
20774 * io/openat64.c (__openat64_2): Moved to ...
20775 * io/openat64_2.c: ... this new file.
20776 * io/Makefile (routines): Add them.
20777 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
20778 * sysdeps/unix/sysv/linux/open_2.c: File removed.
20779 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
20780 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
20781 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
20782 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
20783 (__openat64): Add hidden_ver.
20784 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
20785 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
20786
60bfd54c
RM
20787 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
20788 Separately conditionalize setting of GLRO(dl_sysinfo) so
20789 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
20790 as well, but the actual setting is only under [NEED_DL_SYSINFO].
20791
83e7640f
AZ
207922013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20793
20794 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
20795 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
20796 definition.
20797 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
20798 * sysdeps/unix/sysv/linux/powerpc/init-first.c
20799 (_libc_vdso_platform_setup): Add __vdso_time initialization.
20800 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
20801 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
20802
d5dc2af3
JM
208032013-05-03 Joseph Myers <joseph@codesourcery.com>
20804
c31a5b1e
JM
20805 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
20806 test signgam value.
20807
d5dc2af3
JM
20808 * math/libm-test.inc (hypot_test): Do not use
20809 IGNORE_ZERO_INF_SIGN.
20810
164fd39d
AJ
208112013-05-03 Andreas Jaeger <aj@suse.de>
20812
20813 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
20814 Linux 3.9.
20815 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
20816 (PF_MAX): Adjust for VSOCK change.
20817
8237f48c
AZ
208182013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20819
20820 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20821
9df02941
CD
208222013-05-02 Carlos O'Donell <carlos@redhat.com>
20823
20824 [BZ #15264]
20825 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
20826 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
20827 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
20828
d422395e
DM
208292013-05-02 David S. Miller <davem@davemloft.net>
20830
20831 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20832
a07c5731
OB
208332013-05-01 Ondřej Bílka <neleai@seznam.cz>
20834
20835 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
20836
1324e37f
RM
208372013-05-01 Roland McGrath <roland@hack.frob.com>
20838
20839 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
20840
0695940b
RS
208412013-05-01 Richard Smith <richard@metafoo.co.uk>
20842
bb5f27ad 20843 [BZ #14952]
0695940b
RS
20844 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
20845 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20846 Use __attribute__ ((__gnu_inline__)).
20847 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20848 Don't use __attribute__ ((__gnu_inline__)).
20849
10de07f5
JM
208502013-05-01 Joseph Myers <joseph@codesourcery.com>
20851
20852 [BZ #15423]
20853 * math/s_catan.c (__catan): Handle small real or imaginary part of
20854 input specially to avoid spurious underflow.
20855 * math/s_catanf.c (__catanf): Likewise.
20856 * math/s_catanh.c (__catanh): Likewise.
20857 * math/s_catanhf.c (__catanhf): Likewise.
20858 * math/s_catanhl.c (__catanhl): Likewise.
20859 * math/s_catanl.c (__catanl): Likewise.
20860 * math/libm-test.inc (catan_test): Add more tests.
20861 (catanh_test): Likewise.
20862 * sysdeps/i386/fpu/libm-test-ulps: Update.
20863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20864
cb4d5414
AZ
208652013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20866
20867 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20868
caf84319
JM
208692013-04-30 Joseph Myers <joseph@codesourcery.com>
20870
20871 [BZ #15416]
20872 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
20873 accurately for denominator in atan2.
20874 * math/s_catanf.c (__catanf): Likewise.
20875 * math/s_catanh.c (__catanh): Likewise.
20876 * math/s_catanhf.c (__catanhf): Likewise.
20877 * math/s_catanhl.c (__catanhl): Likewise.
20878 * math/s_catanl.c (__catanl): Likewise.
20879 * math/libm-test.inc (catan_test): Add more tests.
20880 (catanh_test): Likewise.
20881 * sysdeps/i386/fpu/libm-test-ulps: Update.
20882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20883
d569c6ee
SP
208842013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20885
6dbe713d
SP
20886 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
20887
f0ee064b
SP
20888 * benchtests/Makefile (bench): Remove slow benchmarks.
20889 * benchtests/atan-inputs: Add slow benchmark inputs.
20890 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
20891 (BENCH_FUNC): Accept variant offset.
20892 (VARIANT): Define.
20893 * benchtests/bench-skeleton.c (main): Run benchmark for each
20894 variant.
20895 * benchtests/cos-inputs: Add slow benchmark inputs.
20896 * benchtests/exp-inputs: Likewise.
20897 * benchtests/pow-inputs: Likewise.
20898 * benchtests/sin-inputs: Likewise.
20899 * benchtests/slowatan-inputs: Remove.
20900 * benchtests/slowatan.c: Remove.
20901 * benchtests/slowcos-inputs: Remove.
20902 * benchtests/slowcos.c: Remove.
20903 * benchtests/slowexp-inputs: Remove.
20904 * benchtests/slowexp.c: Remove.
20905 * benchtests/slowpow-inputs: Remove.
20906 * benchtests/slowpow.c: Remove.
20907 * benchtests/slowsin-inputs: Remove.
20908 * benchtests/slowsin.c: Remove.
20909 * benchtests/slowtan-inputs: Remove.
20910 * benchtests/slowtan.c: Remove.
20911 * benchtests/tan-inputs: Add slow benchmark inputs.
20912 * scripts/bench.pl: Parse comments and directives.
20913
d569c6ee
SP
20914 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
20915 in CPPFLAGS.
20916 ($(objpfx)bench-%.c): Remove *-ITER.
20917 * benchtests/bench-modf.c: Remove definition of ITER.
20918 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
20919 (main): Loop for DURATION seconds instead of fixed number of
20920 iterations.
20921 * scripts/bench.pl: Don't expect iterations in parameters.
20922
a6a242fe
RM
209232013-04-29 Roland McGrath <roland@hack.frob.com>
20924
20925 * io/fchdir.c (__fchdir): Renamed from fchdir.
20926 (fchdir): Define as weak alias.
20927
f2da7793
JM
209282013-04-29 Joseph Myers <joseph@codesourcery.com>
20929
20930 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
20931 (ERRNO_EDOM): Likewise.
20932 (ERRNO_ERANGE): Likewise.
20933 (noErrnoTests): New variable.
20934 (init_max_error): Set errno to 0.
20935 (test_single_errno): New function.
20936 (test_errno): Likewise.
20937 (check_float_internal): Call test_errno. Set errno to 0.
20938 (check_complex): Refer to errno tests in comment.
20939 (check_int): Call test_errno. Set errno to 0.
20940 (check_long): Likewise.
20941 (check_bool): Likewise.
20942 (check_longlong): Likewise.
20943 (cos_test): Use ERRNO_* flags for errno tests instead of
20944 check_int.
20945 (expm1_test): Likewise.
20946 (fmod_test): Likewise.
20947 (ilogb_test): Likewise.
20948 (lgamma_test): Likewise.
20949 (pow_test): Likewise.
20950 (remainder_test): Likewise.
20951 (sin_test): Likewise.
20952 (tan_test): Likewise.
20953 (yn_test): Likewise.
20954 (initialize): Set errno to 0.
20955 (main): Print number of errno tests.
20956 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
20957
b1a36ceb
AJ
209582013-04-29 Andreas Jaeger <aj@suse.de>
20959
c3ed8088
AJ
20960 [BZ #15084]
20961 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
20962 and RES_USEVC.
20963
f1a24198
AJ
20964 [BZ #15085]
20965 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
20966 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
20967 unimplemented.
20968
9ce3b2cb
AJ
20969 [BZ #15380]
20970 * stdlib/random.c (__initstate): Return NULL if
20971 __initstate fails.
20972
f1a24198 20973 [BZ #15086]
b1a36ceb
AJ
20974 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
20975 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
20976 RES_SNGLKUPREOP.
20977
7e7b6f36
AZ
209782013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20979
20980 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20981
4d14f449
JM
209822013-04-29 Joseph Myers <joseph@codesourcery.com>
20983
20984 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
20985 of individual tests.
20986 (casin_test): Likewise.
20987 (casinh_test): Likewise.
20988
5b4217d7
JM
209892013-04-27 Joseph Myers <joseph@codesourcery.com>
20990
20991 [BZ #15409]
20992 * math/s_catan.c (__catan): Handle arguments with large real or
20993 imaginary part separately without squaring.
20994 * math/s_catanf.c (__catanf): Likewise.
20995 * math/s_catanh.c (__catanh): Likewise.
20996 * math/s_catanhf.c (__catanhf): Likewise.
20997 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20998 and redefine.
20999 (__catanhl): Handle arguments with large real or imaginary part
21000 separately without squaring.
21001 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21002 and redefine.
21003 (__catanl): Handle arguments with large real or imaginary part
21004 separately without squaring.
21005 * math/libm-test.inc (catan_test): Add more tests.
21006 (catanh_test): Likewise.
21007 * sysdeps/i386/fpu/libm-test-ulps: Update.
21008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21009
4220c3ef
AJ
210102013-04-27 Andreas Jaeger <aj@suse.de>
21011
21012 [BZ #15007]
21013 * stdlib/stdlib.h: Update guards for qecvt.
21014 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
21015 <stdlib.h>.
21016
4721b2d1
AM
210172013-04-27 Allan McRae <allan@archlinux.org>
21018
21019 * sysdeps/i386/fpu/libm-test-ulps: Update.
21020
f0302940
JM
210212013-04-26 Joseph Myers <joseph@codesourcery.com>
21022
9457fd95
JM
21023 [BZ #15406]
21024 * math/s_catan.c: Include <float.h>.
21025 (__catan): Ensure underflow exception occurs for underflowed
21026 result.
21027 * math/s_catanf.c: Include <float.h>.
21028 (__catanf): Ensure underflow exception occurs for underflowed
21029 result.
21030 * math/s_catanh.c: Include <float.h>.
21031 (__catanh): Ensure underflow exception occurs for underflowed
21032 result.
21033 * math/s_catanhf.c: Include <float.h>.
21034 (__catanhf): Ensure underflow exception occurs for underflowed
21035 result.
21036 * math/s_catanhl.c: Include <float.h>.
21037 (__catanhl): Ensure underflow exception occurs for underflowed
21038 result.
21039 * math/s_catanl.c: Include <float.h>.
21040 (__catanl): Ensure underflow exception occurs for underflowed
21041 result.
21042 * math/libm-test.inc (catan_test): Add more tests.
21043 (catanh_test): Likewise.
21044
f0302940
JM
21045 [BZ #15405]
21046 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
21047 underflowed result.
21048 * math/s_ccoshf.c (__ccoshf): Likewise.
21049 * math/s_ccoshl.c (__ccoshl): Likewise.
21050 * math/s_csin.c (__csin): Likewise.
21051 * math/s_csinf.c (__csinf): Likewise.
21052 * math/s_csinh.c (__csinh): Likewise.
21053 * math/s_csinhf.c (__csinhf): Likewise.
21054 * math/s_csinhl.c (__csinhl): Likewise.
21055 * math/s_csinl.c (__csinl): Likewise.
21056 * math/libm-test.inc (ccos_test): Add more tests.
21057 (ccosh_test): Likewise.
21058 (csin_test): Likewise.
21059 (csinh_test): Likewise.
21060
aa630f59
AZ
210612013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21062
21063 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
21064 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
21065 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
21066 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
21067 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
21068 powerpc/power5+/fpu folders.
21069 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
21070
21071
1b835983
MT
210722013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
21073
21074 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21075
73709b26
JM
210762013-04-25 Joseph Myers <joseph@codesourcery.com>
21077
21078 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
21079 additions to variable.
21080 [$(config-machine) = x86_64] (modules-names): Likewise.
21081 ($(objpfx)tst-audit3): Remove dependency.
21082 ($(objpfx)tst-audit3.out): Likewise.
21083 ($(objpfx)tst-audit4): Likewise.
21084 ($(objpfx)tst-audit4.out): Likewise.
21085 ($(objpfx)tst-audit5): Likewise.
21086 ($(objpfx)tst-audit5.out): Likewise.
21087 ($(objpfx)tst-audit6): Likewise.
21088 ($(objpfx)tst-audit6.out): Likewise.
21089 ($(objpfx)tst-audit7): Likewise.
21090 ($(objpfx)tst-audit7.out): Likewise.
21091 (tst-audit3-ENV): Remove variable.
21092 (tst-audit4-ENV): Likewise.
21093 (tst-audit5-ENV): Likewise.
21094 (tst-audit6-ENV): Likewise.
21095 (tst-audit7-ENV): Likewise.
21096 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
21097 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
21098 addition to variable.
21099 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
21100 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
21101 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
21102 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
21103 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
21104 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
21105 tst-audit3, tst-audit4 and tst-audit5.
21106 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
21107 tst-audit6 and tst-audit7.
21108 [$(subdir) = elf] (modules-names): Add audit modules for those
21109 tests.
21110 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
21111 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
21112 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
21113 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
21114 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
21115 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
21116 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
21117 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
21118 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
21119 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
21120 [$(subdir) = elf] (tst-audit3-ENV): New variable.
21121 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
21122 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
21123 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
21124 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
21125 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
21126 Likewise.
21127 [$(subdir) = elf && $(config-cflags-avx) = yes]
21128 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
21129 [$(subdir) = elf && $(config-cflags-avx) = yes]
21130 (CFLAGS-tst-auditmod4a.c): Likewise.
21131 [$(subdir) = elf && $(config-cflags-avx) = yes]
21132 (CFLAGS-tst-auditmod4b.c): Likewise.
21133 [$(subdir) = elf && $(config-cflags-avx) = yes]
21134 (CFLAGS-tst-auditmod6b.c): Likewise.
21135 [$(subdir) = elf && $(config-cflags-avx) = yes]
21136 (CFLAGS-tst-auditmod6c.c): Likewise.
21137 [$(subdir) = elf && $(config-cflags-avx) = yes]
21138 (CFLAGS-tst-auditmod7b.c): Likewise.
21139 * elf/tst-audit3.c: Move to ...
21140 * sysdeps/x86_64/tst-audit3.c: ... here.
21141 * elf/tst-audit4.c: Move to ...
21142 * sysdeps/x86_64/tst-audit4.c: ... here.
21143 * elf/tst-audit5.c: Move to ...
21144 * sysdeps/x86_64/tst-audit5.c: ... here.
21145 * elf/tst-audit6.c: Move to ...
21146 * sysdeps/x86_64/tst-audit6.c: ... here.
21147 * elf/tst-audit7.c: Move to ...
21148 * sysdeps/x86_64/tst-audit7.c: ... here.
21149 * elf/tst-auditmod3a.c: Move to ...
21150 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
21151 * elf/tst-auditmod3b.c: Move to ...
21152 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
21153 * elf/tst-auditmod4a.c: Move to ...
21154 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
21155 * elf/tst-auditmod4b.c: Move to ...
21156 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
21157 * elf/tst-auditmod5a.c: Move to ...
21158 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
21159 * elf/tst-auditmod5b.c: Move to ...
21160 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
21161 * elf/tst-auditmod6a.c: Move to ...
21162 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
21163 * elf/tst-auditmod6b.c: Move to ...
21164 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
21165 * elf/tst-auditmod6c.c: Move to ...
21166 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
21167 * elf/tst-auditmod7a.c: Move to ...
21168 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
21169 * elf/tst-auditmod7b.c: Move to ...
21170 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
21171
1ef74943
PP
211722013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
21173
21174 [BZ #15366]
21175 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
21176 define unconditionally.
21177 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
21178 define unconditionally.
21179 (INT8_C, INT16_C, etc.): Likewise.
21180
93fd48c5
MR
211812013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
21182
ae9552cf
MR
21183 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
21184 __ehdr_start with hidden visibility.
21185
93fd48c5
MR
21186 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
21187
418601aa
CD
211882013-04-24 Carlos O'Donell <carlos@redhat.com>
21189
21190 * math/libm-test.inc (cos_test): Use accurate hex constants.
21191 (sincost_test): Likewise.
21192
2f38fbfe
JM
211932013-04-24 Joseph Myers <joseph@codesourcery.com>
21194
5e221800
JM
21195 * math/libm-test.inc (catan_test): Add more tests.
21196 (catanh_test): Likewise.
21197
77f143fd
JM
21198 * math/s_catanf.c (__catanf): Use suffixed floating-point
21199 constants.
21200 * math/s_catanhf.c (__catanhf): Likewise.
21201 * math/s_catanhl.c (__catanhl): Likewise.
21202 * math/s_catanl.c (__catanl): Likewise.
21203
2f38fbfe
JM
21204 [BZ #15394]
21205 * math/s_catan.c (__catan): Calculate imaginary part of result
21206 with log1p not log unless computing log of number close to 0.
21207 * math/s_catanf.c (__catanf): Likewise.
21208 * math/s_catanl.c (__catanl): Likewise.
21209 * math/s_catanh.c (__catanh): Calculate real part of result with
21210 log1p not log unless computing log of number close to 0.
21211 * math/s_catanhf.c (__catanhf): Likewise.
21212 * math/s_catanhl.c (__catanhl): Likewise.
21213 * math/libm-test.inc (catan_test): Add more tests.
21214 (catanh_test): Likewise.
21215 * sysdeps/i386/fpu/libm-test-ulps: Update.
21216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21217
45d69176
SP
212182013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21219
21220 * benchtests/Makefile: Mention files in which fast and slow
21221 paths of math functions are implemented.
21222
87f51853
RM
212232013-04-23 Roland McGrath <roland@hack.frob.com>
21224
21225 * sysdeps/posix/timespec_get.c: New file.
21226
3c026539
AZ
212272013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21228
21229 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
21230 POWER.
21231 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
21232 for POWER.
21233 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
21234 powerpc/power5/fpu folders.
21235 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
21236 * benchtests/Makefile: Add modf testcase.
21237 * benchtests/bench-modf.c: New file: Benchmark test for mo
21238
ff491d14
SP
212392013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
21240
21241 [BZ #14888]
21242 * time/Makefile (tests): Add tst-strptime-whitespace.
21243 * time/strptime_l.c (get_number): Use ISSPACE.
21244 (__strptime_internal): Likewise.
21245 * time/tst-strptime-whitespace.c: New test case.
21246
7ed3f4e8
AS
212472013-04-23 Andreas Schwab <schwab@linux-m68k.org>
21248
21249 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
21250 member.
21251 (_nss_files_init): Set it here.
21252
5c95f7b6
HC
212532013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
21254
21255 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
21256 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
21257 unsigned.
21258
d34c9158
JBG
212592013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
21260
21261 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
21262
2169712d
SP
212632013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21264
21265 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
21266 size just once.
21267
29c5de99
DM
212682013-04-21 David S. Miller <davem@davemloft.net>
21269
21270 * po/ru.po: Update Russion translation from translation project.
21271
ccdad15d
AC
212722013-04-17 Adam Conrad <adconrad@0c3.net>
21273
21274 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
21275 and setfsgid.
21276
0f122b8d
CD
212772013-04-17 Carlos O'Donell <carlos@redhat.com>
21278
5c5b07da 21279 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 21280 * configure: Regenerate.
5c5b07da 21281 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
21282 Add example to error message.
21283 * sysdeps/i386/configure: Regenerate.
21284
037714dd
SP
212852013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21286
21287 * benchtests/Makefile (bench): Add cos, tan, slowcos and
21288 slowtan.
21289 * benchtests/cos-inputs: New file.
21290 * benchtests/slowcos-inputs: New file.
21291 * benchtests/slowcos.c: New file.
21292 * benchtests/slowtan-inputs: New file.
21293 * benchtests/slowtan.c: New file.
21294 * benchtests/tan-inputs: New file.
21295
e913141d
RM
212962013-04-16 Roland McGrath <roland@hack.frob.com>
21297
21298 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
21299 considered kosher.
21300
a2964074
SP
213012013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21302
4856bcd2
SP
21303 * benchtests/Makefile: Include cppflags-iterator.mk to add
21304 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
21305
a2964074
SP
21306 * Makefile.in (bench-clean): New target.
21307 * benchtests/Makefile (bench-clean): Likewise.
21308
9fbf9aca
DH
213092013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
21310
21311 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
21312
207d1e2a
TS
213132013-04-15 Thomas Schwinge <thomas@codesourcery.com>
21314
21315 * stdio-common/tstdiomisc.c: Fix coding-style violation.
21316
306dfba9
AS
213172013-04-15 Andreas Schwab <schwab@suse.de>
21318
21319 * nscd/grpcache.c (cache_addgr): Properly check for short write.
21320 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21321 * nscd/pwdcache.c (cache_addpw): Likewise.
21322 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
21323 more than recsize.
21324
206a6699
SP
213252013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21326
21327 * benchtests/Makefile (bench): Write all output to
21328 bench-out.tmp together.
21329
0582f6b3
AS
213302013-04-15 Andreas Schwab <schwab@suse.de>
21331
21332 * nscd/nscd.c (main): Don't fork again after closing files.
21333
acb4325f
SP
213342013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21335
5cb26d0a
SP
21336 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
21337
acb4325f
SP
21338 * benchtests/Rules (bench-deps): Collect dependencies into a
21339 single variable. Add Makefile to dependencies.
21340 ($(objpfx)bench-%.c): Depend on bench-deps.
21341
47792506
RM
213422013-04-12 Roland McGrath <roland@hack.frob.com>
21343 Xavier Roche <roche+kml2@exalead.com>
21344
21345 [BZ #15361]
21346 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
21347 just that it's a file descriptor.
21348 * manual/llio.texi (Synchronizing AIO Operations): Update description
21349 for EBADF error from aio_fsync.
21350
8fc1bee5
SP
213512013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21352
21353 * Rules (bench): Move target definition...
21354 * benchtests/Makefile: ... here.
21355
aba5e333
CD
213562013-04-11 Carlos O'Donell <carlos@redhat.com>
21357
21358 * math/libm-test.inc (cos_test): Fix PI/2 test.
21359 (sincos_test): Likewise.
21360 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21361 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
21362
273cdee8
AS
213632013-04-11 Andreas Schwab <schwab@suse.de>
21364
6ecec3b6
AS
21365 [BZ #13988]
21366 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
21367 accept exponent character only when digits were seen.
21368 * stdio-common/Makefile (tests): Add bug26.
21369 * stdio-common/bug26.c: New file.
21370
273cdee8
AS
21371 [BZ #14293]
21372 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
21373 non-freeable.
21374
8da491f5
SP
213752013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21376
01dc6df9
SP
21377 * Makeconfig (rtld-prefix): Define built linker prefix.
21378 * Rules (run-bench): Use it.
21379 * math/Makefile (run-regen-ulps): Likewise.
21380
8da491f5
SP
21381 * Rules (bench): Remove eval.
21382
abe7f530
SP
213832013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21384 Roland McGrath <roland@hack.frob.com>
21385 Ondrej Bilka <neleai@seznam.cz>
21386
21387 [BZ #15346]
21388 * time/getdate.c: Include ctype.h and alloca.h.
21389 (__getdate_r): Trim leading and trailing spaces of input.
21390 * time/tst-getdate.c (tests): Add tests with leading and
21391 trailing spaces.
21392
61c23e62
RM
213932013-04-08 Roland McGrath <roland@hack.frob.com>
21394
21395 [BZ #14280]
21396 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
21397 when computing value.
21398
7208a313
CD
213992013-04-06 Carlos O'Donell <carlos@redhat.com>
21400
085b2d41
CD
21401 * math/README.libm-test (How can I generate "libm-test-ulps"?):
21402 Use testrun.sh to run libm tests.
21403
7208a313
CD
21404 [BZ #15309]
21405 * elf/dl-open.c (dl_open_worker): memset all of seen array.
21406
872c0acd
MM
214072013-04-06 Marko Myllynen <myllynen@redhat.com>
21408
21409 [BZ #15264]
21410 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
21411
26510bdd
CD
214122013-04-06 Carlos O'Donell <carlos@redhat.com>
21413
21414 * Makefile.in (regen-ulps): New target.
21415 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
21416 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
21417 [ifneq (no,$(PERL)] (regen-ulps): New target.
21418 [ifeq (no,$(PERL)] (regen-ulps): New target.
21419 * math/libm-test.inc (ulps_file_name): Define.
21420 (output_dir): New variable.
21421 (options): Add "output-dir" option.
21422 (parse_opt): Handle 'o' case.
21423 (main): If output_dir is non-NULL use it as a prefix
21424 otherwise use "".
21425 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
21426
a01f19c8
CD
214272013-04-06 Carlos O'Donell <carlos@redhat.com>
21428
21429 [BZ #10060, #10062]
21430 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
21431 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
21432 fail configure if __sync_val_compare_and_swap is not inlined.
21433 * sysdeps/i386/configure: Regenerate.
21434 * configure.in: Build for i686 when configured for i386.
21435 * configure: Regenerate.
21436 * README: Remove i386 reference.
21437
b7a329a5
CD
214382013-04-06 Carlos O'Donell <carlos@redhat.com>
21439
21440 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
21441 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21442
bf0f50df
TS
214432013-04-05 Thomas Schwinge <thomas@codesourcery.com>
21444
ee091edf
TS
21445 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
21446 (lmsnanval): New variables.
21447 (F): Add conversion tests.
21448 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
21449 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
21450
a8b792d6
TS
21451 * stdio-common/tstdiomisc.c (F): Properly collect individual
21452 tests' results.
21453
a1cbf437
TS
21454 [BZ #14686, #15336]
21455 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
21456 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
21457 Instead, use input NaN values or generate a qNaN by arithmetic
21458 operation. Also fix bugs to comply with the standard.
21459 * math/libm-test.inc (remainder_test): Add more tests.
21460
8b43a0c9
TS
21461 [BZ #15335, #15342]
21462 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
21463 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
21464 input NaN values or generate a qNaN by arithmetic operation.
21465
d91da4ce
TS
21466 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
21467 unreachable code.
21468
bf0f50df
TS
21469 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
21470 definitions.
21471
05e166c8
JM
214722013-04-03 Joseph Myers <joseph@codesourcery.com>
21473
21474 [BZ #14478]
21475 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
21476 underflowed result.
21477 * math/s_cexpf.c (__cexpf): Likewise.
21478 * math/s_cexpl.c (__cexpl): Likewise.
21479 * math/libm-test.inc (cexp_test): Add more tests.
21480
1cef1b19
AS
214812013-04-03 Andreas Schwab <schwab@suse.de>
21482
21483 [BZ #15330]
21484 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
21485 order arrays from heap if bigger than alloca cutoff.
21486
74d87055
TS
214872013-04-03 Thomas Schwinge <thomas@codesourcery.com>
21488
21489 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
21490 (SNAN_TESTS_double): Refer to GCC PR56831.
21491 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
21492 GCC PR56828.
21493
d755bba4
SP
214942013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21495
90d5d5bb
SP
21496 * Rules (bench): Move bench.out after the run is complete.
21497
73e0cd5d
SP
21498 * Rules (bench): Echo currently running benchmark.
21499
64aabd4b
SP
21500 * benchtests/Makefile (bench): Add atan and slowatan.
21501 * benchtests/atan-inputs: New file.
21502 * benchtests/slowatan-inputs: New file.
21503 * benchtests/slowatan.c: New file.
21504
c871eccd
SP
21505 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
21506 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
21507 its value.
21508
d755bba4
SP
21509 [BZ #15305]
21510 * sysdeps/unix/sysv/linux/kernel-features.h
21511 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
21512 __ASSUME_XFS_RESTRICTED_CHOWN.
21513 * sysdeps/unix/sysv/linux/pathconf.c
21514 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
21515 Save and restore errno.
21516
52ce4860
JM
215172013-04-02 Joseph Myers <joseph@codesourcery.com>
21518
21519 [BZ #15327]
21520 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
21521 arguments using __kernel_casinh.
21522 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
21523 arguments using __kernel_casinhf.
21524 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
21525 arguments using __kernel_casinhl.
21526 * math/libm-test.inc (cacosh_test): Add more tests.
21527 * sysdeps/i386/fpu/libm-test-ulps: Update.
21528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21529
81f311c2
SP
215302013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21531
e7906a47
SP
21532 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
21533 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
21534
92e3664b
SP
21535 * bench/Makefile (bench): Add sin and slowsin.
21536 * benchtests/sin-inputs: New file.
21537 * benchtests/slowsin-inputs: New file.
21538 * benchtests/slowsin.c: New file.
21539
81f311c2
SP
21540 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
21541 (bench): Add slowexp and slowpow.
21542 (exp-ITER): Increase iterations.
21543 (pow-ITER): Likewise.
21544 * benchtests/exp-inputs: Change input.
21545 * benchtests/pow-inputs: Likewise.
21546 * benchtests/slowexp-inputs: New file.
21547 * benchtests/slowexp.c: New file.
21548 * benchtests/slowpow-inputs: New file.
21549 * benchtests/slowpow.c: New file.
21550
ab0f1aa9
AZ
215512013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21552
21553 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
21554 instructions.
21555 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21556 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
21557 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21558 * benchtests/Makefile: Add rint benchtest.
21559 * benchtests/rint-inputs: Input for rint benchtest.
21560
57267616
TS
215612013-04-02 Thomas Schwinge <thomas@codesourcery.com>
21562
21563 * Versions.def (libm): Add GLIBC_2.18.
21564 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
21565 hidden libm prototypes.
21566 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
21567 * math/Makefile (libm-calls): Add s_issignaling.
21568 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
21569 __issignalingf, __issignalingl. Adjust all libm.abilist files.
21570 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
21571 declaration.
21572 * math/math.h [__USE_GNU] (issignaling): New macro.
21573 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
21574 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
21575 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
21576 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
21577 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
21578 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
21579 * manual/arith.texi (issignaling): New section.
21580 * manual/libm-err-tab.pl (@all_functions): Update comment.
21581 * math/gen-libm-test.pl (parse_args): Apply special handling for
21582 issignaling.
21583 * math/libm-test.inc (print_float, issignaling_test): New
21584 functions.
21585 (check_float_internal): Add issignaling checks.
21586 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
21587 default definition.
21588 * sysdeps/powerpc/math-tests.h: New file.
21589 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
21590 tests.
21591 * math/test-snan.c (TEST_FUNC): Likewise.
21592
6142896d
DM
215932013-03-30 David S. Miller <davem@davemloft.net>
21594
21595 * po/de.po: Update from translation team.
21596
ccc8cadf
JM
215972013-03-30 Joseph Myers <joseph@codesourcery.com>
21598
21599 [BZ #10357]
21600 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21601 imaginary part less than 1.0 and real part less than 0.5
21602 specially.
21603 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21604 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21605 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
21606 (cacos_test): Add more tests.
21607 (casin_test): Likewise.
21608 (casinh_test): Likewise.
21609 * sysdeps/i386/fpu/libm-test-ulps: Update.
21610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21611
0f6a8d4b
SP
216122013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21613
0d1029de
SP
21614 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
21615 ONE with its value.
21616
c2d94018
SP
21617 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
21618 (__pow_mp): Replace ONE and MONE with their values.
21619 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21620 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
21621 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21622 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
21623 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21624 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21625
27ec37f1
SP
21626 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
21627
a64d7e0e
SP
21628 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
21629 (__pow_mp): Replace ZERO and MZERO with their values.
21630 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21631 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21632 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21633 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21634 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21635 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
21636 (__sqr): Likewise.
21637
d26dd3eb
SP
21638 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
21639
0f6a8d4b
SP
21640 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
21641
e57b0c61
RM
216422013-03-28 Roland McGrath <roland@hack.frob.com>
21643
21644 * include/stdlib.h [!SHARED] (__call_tls_dtors):
21645 Declare with __attribute__ ((weak)).
21646 * stdlib/exit.c (__libc_atexit) [!SHARED]:
21647 Call __call_tls_dtors only if it's not NULL.
21648
356b3480
RM
216492013-03-28 Roland McGrath <roland@hack.frob.com>
21650
288f7d79
RM
21651 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
21652 didn't do it already, then set _dl_phdr and _dl_phnum based on the
21653 magic __ehdr_start linker symbol if it's defined.
21654 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
21655 them up here if it was already done.
21656
dc0a0263
RM
21657 * elf/dl-support.c (_dl_phdr): Make pointer to const.
21658 (_dl_aux_init): Use const in cast when setting it.
21659 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
21660 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
21661 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
21662
3d3436ae
RM
21663 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
21664 Declare them here.
21665 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
21666 * csu/libc-tls.c: Nor here.
21667 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
21668
356b3480
RM
21669 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
21670 (__libc_message): Never call vsyslog.
21671
b0f1246a
AM
216722013-03-28 Alan Modra <amodra@gmail.com>
21673
21674 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
21675 Define as empty.
21676 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
21677 Likewise.
21678
fbbe2b9a
AZ
216792013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21680
21681 [BZ #15214]
21682 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
21683 underflow.
21684 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21685
1728ab37
SP
216862013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21687
7a86be6e
SP
21688 [BZ #15304]
21689 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21690 Don't add gid passed as argument.
21691
1728ab37
SP
21692 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
21693
3a7182a1
JM
216942013-03-27 Joseph Myers <joseph@codesourcery.com>
21695
21696 [BZ #15307]
21697 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21698 imaginary part between 1.0 and 1.5 and real part less than 0.5
21699 specially.
21700 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21701 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21702 * math/libm-test.inc (cacos_test): Add more tests.
21703 (casin_test): Likewise.
21704 (casinh_test): Likewise.
21705 * sysdeps/i386/fpu/libm-test-ulps: Update.
21706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21707
6f2e90e7
SP
217082013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21709
5739f705
SP
21710 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
21711 constants.
21712 (norm): Likewise.
21713 (denorm): Likewise.
21714 (__dbl_mp): Likewise.
21715 (add_magnitudes): Likewise.
21716 (sub_magnitudes): Likewise.
21717 (__add): Likewise.
21718 (__sub): Likewise.
21719 (__mul): Likewise.
21720 (__sqr): Likewise.
21721 (__inv): Likewise.
21722 (__dvd): Likewise.
21723
e375e83d
SP
21724 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
21725 commented code.
21726 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
21727 (__dubcos): Likewise.
21728 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
21729 (__ieee754_acos): Likewise.
21730 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21731 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
21732 (__exp1): Likewise.
21733 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21734 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21735 (log1): Likewise.
21736 (my_log2): Likewise.
21737 (checkint): Likewise.
21738 * sysdeps/ieee754/dbl-64/e_remainder.c
21739 (__ieee754_remainder): Likewise.
21740 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21741 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
21742 (bsloww): Likewise.
21743 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21744
6f2e90e7
SP
21745 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21746 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
21747 MANTISSA_STORE_T to store computations on mantissa. Use
21748 macros for rounding and division.
21749 (denorm): Likewise.
21750 (__dbl_mp): Likewise.
21751 (add_magnitudes): Likewise.
21752 (sub_magnitudes): Likewise.
21753 (__mul): Likewise.
21754 (__sqr): Likewise.
21755 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21756 powers of two in terms of TWOPOW macro.
21757 (mp_no): Make type of mantissa as MANTISSA_T.
21758 [!RADIXI]: Define RADIXI.
21759 [!TWO52]: Define TWO52.
21760 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21761
fce14d4e
AZ
217622013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21763
21764 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
21765 llroundl symbol when building for PPC32.
21766
9ad027fb
MW
217672013-03-24 Mark H Weaver <mhw@netris.org>
21768
21769 * manual/arith.texi (Normalization Functions): Fix prototypes for
21770 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
21771
e42a38dd
AZ
217722013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21773
21774 [BZ #13889]
21775 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
21776 high value to check if expl overflow.
21777 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
21778 to check for underflow and overflow.
21779 * math/libm-test.inc: Add exp test.
21780
2e0fb521
DL
217812013-03-21 Dmitry V. Levin <ldv@altlinux.org>
21782
21783 [BZ #11120]
21784 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
21785 with NOT_IN_libc.
21786
b5784d95
AZ
217872013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21788
21789 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
21790 symbol.
21791
5aa4a1a1
TS
217922013-03-21 Thomas Schwinge <thomas@codesourcery.com>
21793
bdef0be7
TS
21794 * math/gen-libm-test.pl (parse_args, special_functions): Properly
21795 wrap blocks consisting of several statements.
21796
5aa4a1a1
TS
21797 * sysdeps/generic/math-tests.h: New file.
21798 * sysdeps/i386/fpu/math-tests.h: Likewise.
21799 * math/test-snan.c: Include it.
21800 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
21801
98c48fe5
JM
218022013-03-21 Joseph Myers <joseph@codesourcery.com>
21803
21804 [BZ #15285]
21805 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
21806 (__ieee754_j0l): Do not improve calculations using cos of twice
21807 input for inputs above LDBL_MAX / 2.0L.
21808 (__ieee754_y0l): Likewise.
21809 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
21810 (__ieee754_j1l): Do not improve calculations using cos of twice
21811 input for inputs above LDBL_MAX / 2.0L.
21812 (__ieee754_y1l): Likewise.
21813 * math/libm-test.inc (j0_test): Add another test.
21814 (j1_test): Likewise.
21815 (y0_test): Likewise.
21816 (y1_test): Likewise.
21817 * sysdeps/i386/fpu/libm-test-ulps: Update.
21818
3775a8bc
SP
218192013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21820
21821 * Rules ($(objpfx)bench-%.c): Include code from a C source
21822 file.
21823
0a1b2ae6
JM
218242013-03-21 Joseph Myers <joseph@codesourcery.com>
21825
21826 [BZ #15287]
21827 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21828 imaginary part 1.0 and real part less than 0.5 specially.
21829 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21830 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21831 * math/libm-test.inc (cacos_test): Add more tests.
21832 (casin_test): Likewise.
21833 (casinh_test): Likewise.
21834 * sysdeps/i386/fpu/libm-test-ulps: Update.
21835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21836
b33d4ce4
SP
218372013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21838
21839 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
21840 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
21841
bef0b507
JM
218422013-03-20 Joseph Myers <joseph@codesourcery.com>
21843
21844 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
21845 * config.make.in (config-cflags-sse4): Remove variable.
21846 (config-cflags-avx): Likewise.
21847 (config-cflags-sse2avx): Likewise.
21848 (config-cflags-novzeroupper): Likewise.
21849 (config-asflags-i686): Likewise.
21850 (have-mfma4): Likewise.
21851 (have-as-vis3): Likewise.
21852 (MIG): Likewise.
21853 * configure.in (MIG): Do not AC_SUBST.
21854 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
21855 (libc_cv_cc_sse4): Do not AC_SUBST.
21856 (libc_cv_cc_avx): Likewise.
21857 (libc_cv_cc_sse2avx): Likewise.
21858 (libc_cv_cc_novzeroupper): Likewise.
21859 (libc_cv_cc_fma4): Likewise.
21860 (libc_cv_as_i686): Likewise.
21861 (libc_cv_sparc_as_vis3): Likewise.
21862 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
21863 LIBC_CONFIG_VAR.
21864 (config-asflags-i686): Likewise.
21865 (config-cflags-avx): Likewise.
21866 (config-cflags-sse2avx): Likewise.
21867 (have-mfma4): Likewise.
21868 (config-cflags-novzeroupper): Likewise.
21869 * sysdeps/mach/configure.in (MIG): Likewise.
21870 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
21871 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
21872 LIBC_CONFIG_VAR.
21873 (config-cflags-avx): Likewise.
21874 (config-cflags-sse2avx): Likewise.
21875 (have-mfma4): Likewise.
21876 (config-cflags-novzeroupper): Likewise.
21877 * configure: Regenerated.
21878 * sysdeps/i386/configure: Likewise.
21879 * sysdeps/mach/configure: Likewise.
21880 * sysdeps/sparc/configure: Likewise.
21881 * sysdeps/x86_64/configure: Likewise.
21882
912cc4b3
RM
218832013-03-20 Roland McGrath <roland@hack.frob.com>
21884
21885 [BZ #14812]
21886 * locale/programs/localedef.c (options): Put N_ translation marker
21887 on argument names, not just descriptions.
21888
04eed2b0
MS
218892013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21890
21891 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
21892
a065ceff
OB
218932013-03-20 Ondřej Bílka <neleai@seznam.cz>
21894
9bb2a810 21895 [BZ #14176]
a065ceff
OB
21896 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
21897
a600e5ce
RM
218982013-03-19 Roland McGrath <roland@hack.frob.com>
21899
21900 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
21901 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
21902 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
21903 [!BEFORE_ABORT] (before_abort): New function.
21904 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
21905 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
21906 (writev_for_fatal): New function.
21907 (WRITEV_FOR_FATAL): New macro; call that.
21908 (backtrace_and_maps): New function.
21909 (BEFORE_ABORT): New macro; call that.
21910 (struct str_list): Type removed.
21911 (__libc_message, __libc_fatal): Functions removed.
21912 Include <sysdeps/posix/libc_fatal.c> instead.
21913
6b18bea6
JM
219142013-03-19 Joseph Myers <joseph@codesourcery.com>
21915
21916 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
21917 constants.
21918 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
21919 double constants.
21920
aaa8cb4b
AS
219212013-03-19 Andreas Schwab <schwab@suse.de>
21922
44673770
AS
21923 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
21924 * sysdeps/gnu/configure: Regenerate.
21925
aaa8cb4b
AS
21926 * configure.in: Substitute libc_cv_rtlddir.
21927 * configure: Regenerate.
21928 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
21929 * Makeconfig (rtlddir, inst_rtlddir): New variables.
21930 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
21931 * elf/Makefile (install-others, CFLAGS-interp.c)
21932 (ldso_install, common-ldd-rewrite): Likewise.
21933 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
21934 $(inst_slibdir)/$(rtld-installed-name).
21935 * scripts/rellns-sh: Add -p option.
21936 * Makerules (make-shlib-link): Use rellns-sh to get relative name
21937 for source.
21938
d3cfc668
SP
219392013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21940
21941 * manual/nptl.texi: Renamed to ...
21942 * manual/threads.texi: ... this.
21943 * manual/Makefile (chapters): Update.
21944
0e2b9cdd
RM
219452013-03-18 Roland McGrath <roland@hack.frob.com>
21946
21947 [BZ #14812]
21948 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
21949 on argument names, not just descriptions.
0e2b9cdd
RM
21950 * malloc/memusagestat.c (options): Likewise.
21951 * nss/getent.c (options): Likewise.
63270c24
RM
21952
219532013-03-18 Benno Schulenberg <bensberg@justemail.net>
21954
21955 [BZ #14812]
21956 * iconv/iconv_prog.c (options): Put N_ translation marker
21957 on argument names, not just descriptions.
21958 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 21959
b2e1393c
OB
219602013-03-18 Ondrej Bilka <neleai@seznam.cz>
21961
21962 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
21963 implementation which is faster on all x86_64 architectures.
21964 Tested on AMD, Intel Nehalem, SNB, IVB.
21965 * sysdeps/x86_64/strnlen.S: Likewise.
21966
21967 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21968 Remove all multiarch strlen and strnlen versions.
21969 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21970 Remove strlen and strnlen related parts.
21971
21972 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
21973 Inline strlen part.
21974 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
21975
21976 * sysdeps/x86_64/multiarch/strlen.S: Remove.
21977 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
21978 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
21979 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
21980 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21981 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
21982
ec4ff04d
CD
219832013-03-17 Carlos O'Donell <carlos@redhat.com>
21984
21985 * manual/memory.texi (Malloc Tunable Parameters):
21986 Sort parameters alphabetically. Add comments for missing entries.
21987
cd18e90a
DM
219882013-03-17 David S. Miller <davem@davemloft.net>
21989
21990 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21991
2a185d32
JM
219922013-03-16 Joseph Myers <joseph@codesourcery.com>
21993
d2f9799e
JM
21994 [BZ #15283]
21995 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
21996 for arguments at most half maximum finite value.
21997 * math/libm-test.inc (j0_test): Add more tests.
21998 (j1_test): Likewise.
21999 (y0_test): Likewise.
22000 (y1_test): Likewise.
22001 * sysdeps/i386/fpu/libm-test-ulps: Update.
22002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22003
2a185d32
JM
22004 [BZ #14155]
22005 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
22006 1 / x and functions P and Q for arguments above 0x1p256L.
22007 (__ieee754_y0l): Likewise.
22008 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
22009 (__ieee754_y1l): Likewise.
22010 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
22011 (j1_test): Likewise.
22012 (y0_test): Likewise.
22013 (y1_test): Likewise.
22014
6cbec759
TS
220152013-03-16 Thomas Schwinge <thomas@codesourcery.com>
22016
22017 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
22018 variable.
22019
bc16e260
RM
220202013-03-15 Roland McGrath <roland@hack.frob.com>
22021
aefc9b8c
RM
22022 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
22023 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
22024 zero since it's initialized to EXEC_PAGESIZE.
22025
bc16e260
RM
22026 * sysdeps/unix/sysv/linux/ldsodefs.h
22027 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
22028 * sysdeps/generic/ldsodefs.h: ... here.
22029
a57da955
TS
220302013-03-15 Thomas Schwinge <thomas@codesourcery.com>
22031
af00a34d
TS
22032 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
22033
495ded2c
TS
22034 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
22035 math/test-snan.c.
22036 * math/test-snan.c: Renamed from
22037 sysdeps/powerpc/fpu/test-powerpc-snan.c.
22038 * math/Makefile (tests): Add test-snan.
22039 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
22040 test-powerpc-snan.
22041
777b0332
TS
22042 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
22043 SUFFIX. Initialize qNaN_var with __builtin_nan family of
22044 functions.
22045 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
22046 __builtin_nan family of functions.
22047 * math/libm-test.inc (initialize): Initialize qnan_value with
22048 __builtin_nan family of functions.
22049 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
22050 Remove variables.
22051 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
22052 Remove functions.
22053 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
22054 storage class. Initialize qNaN_var and sNaN_var with
22055 __builtin_nan and __builtin_nans families of functions,
22056 respectively.
22057
64d063b8
TS
22058 * math/libm-test.inc (acosh_test): Also test with qNaN input.
22059 (sqrt_test): Remove duplicate test with qNaN input.
22060 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
22061 (round_test, signbit_test, significand_test): Note missing +/-Inf
22062 as well as qNaN tests.
22063
67e971f1
TS
22064 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
22065 qNaN_var. Fix a few strings, too.
22066 * math/libm-test.inc (nan_value): Rename to qnan_value.
22067 * math/gen-libm-test.pl (%beautify): Adjust to that.
22068 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
22069 * math/test-misc.c (main): Likewise.
22070 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
22071 to __qnan_bytes, and __qnan_union, respectively.
22072 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
22073 Likewise.
22074 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
22075 and lqnanval, respectively.
22076 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
22077 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
22078 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
22079 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
22080
64487e12
TS
22081 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
22082 * math/test-misc.c (main) [__x86_64__]: Enable test for long
22083 doubles.
22084
e015e27b
TS
22085 * math/test-misc.c (main): Fix copy'n'pastos.
22086 * misc/tst-efgcvt.c (special): Likewise.
22087
a57da955
TS
22088 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
22089 Remove declarations.
22090
1e380345
SP
220912013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22092
22093 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
22094 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
22095 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
22096 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
22097
ef26eece
AZ
220982013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22099
22100 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
22101 macro to return vdso values correctly in IFUNC implementations.
22102 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22103 Optimization by using IFUNC.
22104
8cfdb7e0
SP
221052013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22106 Richard Henderson <rth@redhat.com>
22107 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22108
22109 * Makefile.in (bench): New target.
22110 * NEWS: Mention the benchmark framework.
22111 * Rules (bench): Likewise.
22112 (binaries-bench): Generate binaries for functions to
22113 benchmark.
22114 * benchtests/Makefile: New makefile for benchmark tests.
22115 * benchtests/bench-skeleton.c: New skeleton file for benchmark
22116 programs.
22117 * benchtests/exp-inputs: New input file for EXP function.
22118 * benchtests/pow-inputs: New input file for POW function.
22119 * scripts/bench.pl: New script to generate source files for
22120 benchmark programs.
22121
bcda9880
SP
221222013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22123
d22ca8cd
SP
22124 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22125 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
22126 computations on mantissa. Use macros for rounding and
22127 division.
22128 (denorm): Likewise.
22129 (__dbl_mp): Likewise.
22130 (add_magnitudes): Likewise.
22131 (sub_magnitudes): Likewise.
22132 (__mul): Likewise.
22133 (__sqr): Likewise.
22134 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22135 powers of two in terms of TWOPOW macro.
22136 (mp_no): Make type of mantissa as MANTISSA_T.
22137 [!RADIXI]: Define RADIXI.
22138 [!TWO52]: Define TWO52.
22139 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22140
bcda9880
SP
22141 * manual/nptl.texi (cindex): Modify threads to pthreads.
22142
06d5adfb
JM
221432013-03-15 Joseph Myers <joseph@codesourcery.com>
22144
22145 * sysdeps/x86_64/preconfigure: Regenerated.
22146
41c7328e
JM
221472013-03-14 Joseph Myers <joseph@codesourcery.com>
22148
22149 [BZ #14155]
22150 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
22151 0x1p28 and above.
22152 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
22153 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
22154 0x1p28 and above.
22155 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
22156 * math/libm-test.inc (j0_test): Do not allow one spurious
22157 underflow exception.
22158 (y1_test): Likewise.
22159
e25cfa60
SP
221602013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22161
0409959c
SP
22162 * manual/Makefile (chapters): Add nptl.
22163 * manual/debug.texi (Debugging Support): Add link to Threads
22164 chapter.
22165 * manual/nptl.texi: New file.
22166
e25cfa60
SP
22167 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
22168
58a1335e
PB
221692013-03-14 Petr Baudis <pasky@ucw.cz>
22170
22171 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
22172 for non-NULL pointer before the memory validity test. Pointed
22173 out by Holger Brunck <holger.brunck@keymile.com>.
22174
9dc7c64f
AS
221752013-03-13 Andreas Schwab <schwab@suse.de>
22176
22177 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
22178 instead of .os.
22179
54206aa6
JM
221802013-03-13 Joseph Myers <joseph@codesourcery.com>
22181
22182 * timezone/zic.c: Update from tzcode 2013b.
22183
e98cdb38
CD
221842013-03-12 Carlos O'Donell <carlos@redhat.com>
22185
22186 * manual/install.texi (Configuring and compiling):
22187 Mention i686 and i586.
22188 * INSTALL: Regenerate.
22189
9967e003
RM
221902013-03-12 Roland McGrath <roland@hack.frob.com>
22191
22192 * sysdeps/init_array/elf-init.c: New file.
22193 * csu/elf-init.c
22194 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
22195 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
22196
22197 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
22198 __gmon_start__ as global, but as static with a .preinit_array pointer.
22199 * sysdeps/init_array/gmon-start.c: New file. Use that.
22200 * sysdeps/init_array/crti.S: New file, empty except for comments.
22201 * sysdeps/init_array/crtn.S: Likewise.
22202
e6b5a293 222032013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
22204
22205 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
22206 definining bcopy.
80f844c9
OB
22207 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22208 Remove Prefer_SSE_for_memop.
22209 * sysdeps/x86_64/multiarch/init-arch.h: Remove
22210 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
22211 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
22212 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22213 memset-x86-64.
80f844c9 22214 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 22215 Remove bzero, memset ifunc support.
80f844c9
OB
22216 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
22217 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
22218 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22219 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22220
fb6b0fcb
AS
222212013-03-11 Andreas Schwab <schwab@suse.de>
22222
22223 [BZ #15234]
22224 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
22225 by SHLIB_COMPAT.
22226 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
22227 (GLIBC_2.16): Remove pthread_atfork.
22228
3e6bd4b1
PP
222292013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
22230
22231 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
22232 (ptestcases.h): Likewise.
22233
222d7f00
RM
222342013-03-08 Roland McGrath <roland@hack.frob.com>
22235
22236 * Makeconfig ($(common-objpfx)config.status): Depend on
22237 sysdeps/*/preconfigure{,.in} too.
22238
1ba4f030
JM
222392013-03-08 Joseph Myers <joseph@codesourcery.com>
22240
a222d91a
JM
22241 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
22242 (__free_hook): Use void * instead of __malloc_ptr_t.
22243 (__malloc_hook): Likewise.
22244 (__realloc_hook): Likewise.
22245 (__memalign_hook): Likewise.
22246 (__after_morecore_hook): Likewise.
22247 * malloc/arena.c (save_malloc_hook): Likewise.
22248 (save_free_hook): Likewise.
22249 * malloc/hooks.c (malloc_hook_ini): Likewise.
22250 (realloc_hook_ini): Likewise.
22251 (memalign_hook_ini): Likewise.
22252 * malloc/malloc.c (malloc_hook_ini): Likewise.
22253 (realloc_hook_ini): Likewise.
22254 (memalign_hook_ini): Likewise.
22255 (__free_hook): Likewise.
22256 (__malloc_hook): Likewise.
22257 (__realloc_hook): Likewise.
22258 (__memalign_hook): Likewise.
22259 (__libc_malloc): Likewise.
22260 (__libc_free): Likewise.
22261 (__libc_realloc): Likewise.
22262 (__libc_memalign): Likewise.
22263 (__libc_valloc): Likewise.
22264 (__libc_pvalloc): Likewise.
22265 (__libc_calloc): Likewise.
22266 (__posix_memalign): Likewise.
22267 * malloc/morecore.c (__sbrk): Likewise.
22268 (__default_morecore): Likewise.
22269
5cc45e10
JM
22270 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
22271
dd54b864
JM
22272 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
22273 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
22274 __malloc_ptrdiff_t.
22275
1ba4f030
JM
22276 * malloc/malloc.h (__malloc_size_t): Remove macro.
22277 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
22278 __malloc_size_t.
22279 (old_memalign_hook): Likewise.
22280 (old_realloc_hook): Likewise.
22281 (struct hdr): Likewise.
22282 (flood): Likewise.
22283 (mallochook): Likewise.
22284 (memalignhook): Likewise.
22285 (reallochook): Likewise.
22286 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
22287 (tr_old_realloc_hook): Likewise.
22288 (tr_old_memalign_hook): Likewise.
22289 (tr_mallochook): Likewise.
22290 (tr_reallochook): Likewise.
22291 (tr_memalignhook): Likewise.
22292
edf66e57
AZ
222932013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22294
22295 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
22296 default_ldbl_pack and using as default implementation.
22297 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
22298 implementation.
22299 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
22300 redundant definition.
22301 (ldbl_insert_mantissa): Likewise.
22302 (ldbl_canonicalize): Likewise.
22303 (ldbl_nearbyint): Likewise.
22304 (ldbl_pack): Rename to ldbl_pack_ppc.
22305 (ldbl_unpack): Rename to ldbl_unpack_ppc.
22306 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
22307 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
22308
6d9145d8
SP
223092013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22310
22311 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
22312 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
22313 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
22314 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
22315 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
22316 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
22317 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
22318 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
22319
4dd4e157
AJ
223202013-03-07 Andreas Jaeger <aj@suse.de>
22321
22322 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22323 bits/mman-linux.h.
22324
adbb8027
SP
223252013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22326
ce544b5b
SP
22327 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
22328 Include mpa.h and declare __MPEXP.
22329 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
22330 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22331 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22332 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
22333 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22334 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22335 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
22336
4cc149fd
SP
22337 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
22338 (__slowpow): Use long double EXPL and LOGL functions to
22339 compute POW.
22340 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22341 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22342 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
22343 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22344 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22345 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
22346
e6ebd4a7
SP
22347 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
22348 intermediate variable to calculate exponent.
22349 (__sqr): Likewise.
22350 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22351 Likewise.
22352 (__sqr): Likewise.
22353
82a9811d
SP
22354 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
22355 [!NO__SQR]: Define __sqr.
22356 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
22357 and NO__SQR. Remove all code except __mul and __sqr. Include
22358 sysdeps/ieee754/dbl-64/mpa.c.
22359 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22360
adbb8027
SP
22361 [BZ #12723]
22362 * posix/Makefile (tests): Add tst-pathconf.
22363 * posix/tst-pathconf.c: New test case.
22364 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
22365 _PC_PIPE_BUF.
22366 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
22367
39120df9
PF
223682013-03-06 Patsy Franklin <pfrankli@redhat.com>
22369
22370 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
22371
67525cb8
AJ
223722013-03-06 Andreas Jaeger <aj@suse.de>
22373
664a9ce4
AJ
22374 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
22375 definition via __MAP_ANONYMOUS.
22376
8e39047d
AJ
22377 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
22378 it's not part of Linux headers.
22379
67525cb8
AJ
22380 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
22381 (MAP_HUGE_MASK): Define.
22382
22383 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22384 Define.
22385 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22386 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22387 Define.
22388 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22389 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22390 Define.
22391 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22392 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
22393 Define.
22394 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22395
22396 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
22397 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
22398 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
22399 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
22400 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
22401 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
22402
22403 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22404 Handle f2fs.
22405
22406 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22407 Handle f2fs and efivarfs.
22408
22409 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
22410 f2fs.
22411
22412 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
22413 (EFIVARFS_MAGIC): Add.
22414 (F2FS_LINK_MAX): Add.
22415
e1b42695
PP
224162013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22417
22418 * stdio-common/vfprintf.c: Replace __builtin_expect with
22419 __glibc_unlikely.
22420
2d67d91a
JM
224212013-03-06 Joseph Myers <joseph@codesourcery.com>
22422
22423 [BZ #13550]
22424 * sysdeps/generic/bp-sym.h: Remove file.
22425 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
22426 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
22427 <bp-sym.h> and <bp-asm.h>.
22428 (__longjmp): Don't use BP_SYM.
22429 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
22430 and <bp-asm.h>.
22431 (memcpy): Don't use BP_SYM.
22432 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
22433 <bp-sym.h> and <bp-asm.h>.
22434 (memcpy): Don't use BP_SYM.
22435 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
22436 <bp-asm.h>.
22437 (memcpy): Don't use BP_SYM.
22438 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
22439 <bp-asm.h>.
22440 (memset): Don't use BP_SYM.
22441 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22442 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22443 (__bzero): Don't use BP_SYM.
22444 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22445 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22446 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
22447 <bp-sym.h> and <bp-asm.h>.
22448 (memcmp): Don't use BP_SYM. Remove comment about bounded
22449 pointers.
22450 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
22451 <bp-sym.h> and <bp-asm.h>.
22452 (memcpy): Don't use BP_SYM.
22453 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
22454 <bp-sym.h> and <bp-asm.h>.
22455 (memset): Don't use BP_SYM.
22456 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22457 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22458 (__bzero): Don't use BP_SYM.
22459 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22460 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22461 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
22462 <bp-sym.h> and <bp-asm.h>.
22463 (strncmp): Don't use BP_SYM. Remove comment about bounded
22464 pointers.
22465 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
22466 <bp-sym.h> and <bp-asm.h>.
22467 (memcpy): Don't use BP_SYM.
22468 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
22469 <bp-sym.h> and <bp-asm.h>.
22470 (memset): Don't use BP_SYM.
22471 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22472 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22473 (__bzero): Don't use BP_SYM.
22474 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22475 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22476 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
22477 <bp-sym.h> and <bp-asm.h>.
22478 (__memchr): Don't use BP_SYM.
22479 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
22480 <bp-sym.h> and <bp-asm.h>.
22481 (memcmp): Don't use BP_SYM. Remove comment about bounded
22482 pointers.
22483 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
22484 <bp-sym.h> and <bp-asm.h>.
22485 (memcpy): Don't use BP_SYM.
22486 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
22487 <bp-sym.h> and <bp-asm.h>.
22488 (__mempcpy): Don't use BP_SYM.
22489 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
22490 <bp-sym.h> and <bp-asm.h>.
22491 (__memrchr): Don't use BP_SYM.
22492 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
22493 <bp-sym.h> and <bp-asm.h>.
22494 (memset): Don't use BP_SYM.
22495 (__bzero): Likewise.
22496 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
22497 <bp-sym.h> and <bp-asm.h>.
22498 (__rawmemchr): Don't use BP_SYM.
22499 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
22500 <bp-sym.h> and <bp-asm.h>.
22501 (__STRCMP): Don't use BP_SYM.
22502 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
22503 <bp-sym.h> and <bp-asm.h>.
22504 (strchr): Don't use BP_SYM.
22505 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
22506 <bp-sym.h> and <bp-asm.h>.
22507 (__strchrnul): Don't use BP_SYM.
22508 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
22509 <bp-sym.h> and <bp-asm.h>.
22510 (strlen): Don't use BP_SYM.
22511 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
22512 <bp-sym.h> and <bp-asm.h>.
22513 (strncmp): Don't use BP_SYM. Remove comment about bounded
22514 pointers.
22515 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
22516 <bp-sym.h> and <bp-asm.h>.
22517 (__strnlen): Don't use BP_SYM.
22518 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
22519 <bp-sym.h> and <bp-asm.h>.
22520 (__GI__setjmp): Don't use BP_SYM.
22521 (_setjmp): Likewise.
22522 (__sigsetjmp): Likewise.
22523 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
22524 (L(start_addresses)): Don't use BP_SYM.
22525 (_start): Likewise.
22526 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
22527 <bp-asm.h>.
22528 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
22529 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
22530 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22531 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22532 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
22533 <bp-asm.h>.
22534 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
22535 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
22536 about bounded pointers.
22537 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22538 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22539 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
22540 <bp-asm.h>.
22541 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
22542 about bounded pointers. Remove GKM FIXME comments.
22543 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22544 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
22545 <bp-asm.h>.
22546 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
22547 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
22548 Remove GKM FIXME comments.
22549 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22550 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22551 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
22552 <bp-asm.h>.
22553 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
22554 about bounded pointers. Remove GKM FIXME comment.
22555 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
22556 and <bp-asm.h>.
22557 (strncmp): Don't use BP_SYM. Remove comment about bounded
22558 pointers.
22559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
22560 <bp-sym.h> and <bp-asm.h>.
22561 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
22563 <bp-sym.h> and <bp-asm.h>.
22564 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22565 comment.
22566
cdcf361f
PP
225672013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22568
22569 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
22570 call free(NULL).
22571
3c4a2b15
DM
225722013-03-05 David S. Miller <davem@davemloft.net>
22573
22574 * po/es.po: Update from translation team.
22575
cdcf361f 225762013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
22577
22578 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
22579 <bits/mman-linux.h>.
22580 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22581 is fine.
22582 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
22583 <bits/mman-linux.h> to end of file.
22584 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22585 is fine.
22586 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
22587 <bits/mman-linux.h> to end of file.
22588 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22589 is fine.
22590 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
22591 <bits/mman-linux.h> to end of file.
22592
22593 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
22594 (MCL_CURRENT, MCL_FUTURE): Define here.
22595
5f67c04f
AK
225962013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22597
8a4473cc 22598 [BZ #15232]
5f67c04f
AK
22599 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
22600 attribute_hidden.
22601 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22602
c3e94a95
AK
226032013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22604
22605 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
22606 fourth parameter needed for rt_sigprocmask syscall.
22607 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
22608 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
22609 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
22610 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
22611 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
22612 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
22613
cfb6382a
JM
226142013-03-04 Joseph Myers <joseph@codesourcery.com>
22615
22616 [BZ #13550]
22617 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
22618 comment about bounded pointers.
22619 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
22620 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
22621
539d8e01
AJ
226222013-03-04 Andreas Jaeger <aj@suse.de>
22623
22624 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
22625 common definitions.
22626
22627 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
22628 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
22629 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
22630 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22631 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
22632 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22633
2e167a70 226342013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
22635
22636 [BZ #15055]
22637 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
22638 __ieee754_sqrl instead of __sqrl.
22639
68508633
JM
226402013-03-01 Joseph Myers <joseph@codesourcery.com>
22641
22642 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
22643 * sysdeps/powerpc/fpu_control.h: ... here.
22644 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
22645 * sysdeps/powerpc/bits/fenvinline.h: ... here.
22646 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
22647 * sysdeps/powerpc/bits/mathinline.h: ... here.
22648
7775448e
RM
226492013-03-01 Roland McGrath <roland@hack.frob.com>
22650
22651 * elf/dl-hwcaps.c (_dl_important_hwcaps):
22652 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
22653 to just [NEED_DL_SYSINFO_DSO].
22654 * elf/dl-support.c: Likewise.
22655 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
22656 * elf/rtld.c (dl_main): Likewise.
22657 * elf/setup-vdso.h (setup_vdso): Likewise.
22658 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
22659 * sysdeps/unix/sysv/linux/dl-sysdep.c
22660 (_dl_discover_osversion): Likewise.
22661
4e9b5995
CD
226622013-03-01 Carlos O'Donell <carlos@redhat.com>
22663
22664 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
22665 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22666
e23872c8
SP
226672013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
22668
e5c74c63
SP
22669 * NEWS: Mention libm performance improvements and non-x86 PI
22670 futex support.
22671
e23872c8
SP
22672 * csu/libc-start.c (__pthread_initialize_minimal): Change
22673 function arguments.
22674 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22675
b5510883
JM
226762013-02-28 Joseph Myers <joseph@codesourcery.com>
22677
22678 [BZ #13550]
22679 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
22680 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
22681 <bp-sym.h> and <bp-asm.h>.
22682 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22683 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
22684 and <bp-asm.h>.
22685 (memcpy): Don't use BP_SYM.
22686 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
22687 <bp-asm.h>.
22688 (__mpn_add_n): Don't use BP_SYM.
22689 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
22690 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
22691 and <bp-asm.h>.
22692 (__mpn_addmul_1): Don't use BP_SYM.
22693 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22694 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
22695 <bp-sym.h>.
22696 (_setjmp): Don't use BP_SYM.
22697 (__novmx_setjmp): Likewise.
22698 (__GI__setjmp): Likewise.
22699 (__vmx_setjmp): Likewise.
22700 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
22701 <bp-sym.h>.
22702 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
22703 (__bzero): Don't use BP_SYM.
22704 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22705 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22706 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
22707 <bp-sym.h> and <bp-asm.h>.
22708 (memcpy): Don't use BP_SYM.
22709 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
22710 <bp-sym.h> and <bp-asm.h>.
22711 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22712 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
22713 <bp-sym.h> and <bp-asm.h>.
22714 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22715 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
22716 <bp-asm.h>.
22717 (__mpn_lshift): Don't use BP_SYM.
22718 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22719 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
22720 <bp-asm.h>.
22721 (memset): Don't use BP_SYM.
22722 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22723 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22724 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
22725 <bp-asm.h>.
22726 (__mpn_mul_1): Don't use BP_SYM.
22727 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22728 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
22729 <bp-sym.h> and <bp-asm.h>.
22730 (memcmp): Don't use BP_SYM.
22731 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
22732 <bp-sym.h> and <bp-asm.h>.
22733 (memcpy): Don't use BP_SYM.
22734 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
22735 <bp-sym.h> and <bp-asm.h>.
22736 (memset): Don't use BP_SYM.
22737 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
22738 <bp-sym.h> and <bp-asm.h>.
22739 (strncmp): Don't use BP_SYM.
22740 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
22741 <bp-sym.h> and <bp-asm.h>.
22742 (memcpy): Don't use BP_SYM.
22743 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
22744 <bp-sym.h> and <bp-asm.h>.
22745 (memset): Don't use BP_SYM.
22746 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
22747 <bp-sym.h> and <bp-asm.h>.
22748 (__memchr): Don't use BP_SYM.
22749 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
22750 <bp-sym.h> and <bp-asm.h>.
22751 (memcmp): Don't use BP_SYM.
22752 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
22753 <bp-sym.h> and <bp-asm.h>.
22754 (memcpy): Don't use BP_SYM.
22755 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
22756 <bp-sym.h> and <bp-asm.h>.
22757 (__mempcpy): Don't use BP_SYM.
22758 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
22759 <bp-sym.h> and <bp-asm.h>.
22760 (__memrchr): Don't use BP_SYM.
22761 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
22762 <bp-sym.h> and <bp-asm.h>.
22763 (memset): Don't use BP_SYM.
22764 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
22765 <bp-sym.h> and <bp-asm.h>.
22766 (__rawmemchr): Don't use BP_SYM.
22767 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
22768 <bp-sym.h> and <bp-asm.h>.
22769 (__STRCMP): Don't use BP_SYM.
22770 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
22771 <bp-sym.h> and <bp-asm.h>.
22772 (strchr): Don't use BP_SYM.
22773 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
22774 <bp-sym.h> and <bp-asm.h>.
22775 (__strchrnul): Don't use BP_SYM.
22776 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
22777 <bp-sym.h> and <bp-asm.h>.
22778 (strlen): Don't use BP_SYM.
22779 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
22780 <bp-sym.h> and <bp-asm.h>.
22781 (strncmp): Don't use BP_SYM.
22782 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
22783 <bp-sym.h> and <bp-asm.h>.
22784 (__strnlen): Don't use BP_SYM.
22785 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
22786 <bp-asm.h>.
22787 (__mpn_rshift): Don't use BP_SYM.
22788 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22789 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
22790 <bp-sym.h> and <bp-asm.h>.
22791 (__sigsetjmp): Don't use BP_SYM.
22792 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
22793 (L(start_addresses)): Don't use BP_SYM.
22794 (_start): Likewise.
22795 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
22796 <bp-asm.h>.
22797 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
22798 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22799 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22800 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
22801 <bp-asm.h>.
22802 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
22803 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22804 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22805 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
22806 <bp-asm.h>.
22807 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22808 comments.
22809 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22810 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
22811 <bp-asm.h>.
22812 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
22813 FIXME comments.
22814 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22815 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22816 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
22817 <bp-asm.h>.
22818 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22819 comment.
22820 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
22821 and <bp-asm.h>.
22822 (strncmp): Don't use BP_SYM,
22823 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
22824 <bp-asm.h>.
22825 (__mpn_sub_n): Don't use BP_SYM.
22826 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22827 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
22828 and <bp-asm.h>.
22829 (__mpn_submul_1): Don't use BP_SYM.
22830 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
22832 <bp-sym.h> and <bp-asm.h>.
22833 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
22835 <bp-sym.h> and <bp-asm.h>.
22836 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22837 comment.
22838
8d19fe64
SP
228392013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22840
22841 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
22842 Use ZK to minimize writes to Z.
22843 (sub_magnitudes): Simplify code a bit.
22844 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
22845 Use ZK to minimize writes to Z.
22846 (sub_magnitudes): Simplify code a bit.
22847
85bd816a
RM
228482013-02-27 Roland McGrath <roland@hack.frob.com>
22849
22850 * csu/gmon-start.c: Add special exception to license text.
22851
b5977bf2
RH
228522013-02-27 Richard Henderson <rth@redhat.com>
22853
22854 * scripts/config.guess: Update from config.git.
22855 * scripts/config.sub: Likewise.
22856
11d6e2f2
SP
228572013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22858
09c14ed2
SP
22859 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
22860
a688864e
SP
22861 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
22862
6295157a
SP
22863 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
22864
b8de2202
SP
22865 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
22866
11d6e2f2
SP
22867 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
22868
7e80ddb8
RM
228692013-02-26 Roland McGrath <roland@hack.frob.com>
22870
22871 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
22872 [$(build-shared = yes].
7e80ddb8 22873
7da6d9ed
SP
228742013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22875
45f05884
SP
22876 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
22877 (__mul): Reduce iterations for calculating mantissa.
22878
2236d359
SP
22879 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
22880 MPTWO.
22881 (__mpranred): Likewise.
22882
7da6d9ed
SP
22883 [BZ #15160]
22884 * malloc/memusagestat.c (main): Draw graphs for heap and stack
22885 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
22886
b7688c42
PE
228872013-02-26 Paul Eggert <eggert@cs.ucla.edu>
22888
22889 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
22890 Define __attribute__.
22891
53a5c423
SP
228922013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22893
22894 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
22895 unused.
22896 * posix/regex_internal.h (__attribute): Remove.
22897 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
22898 (re_string_context_at): Likewise.
22899 (bitset_not): Use __attribute__ and mark function as possibly
22900 unused.
22901 (bitset_merge): Likewise.
22902 (bitset_mask): Likewise.
22903 (re_string_char_size_at): Likewise.
22904 (re_string_wchar_at): Likewise.
22905 (re_string_elem_size_at): Likewise.
22906
60f5a8b5
SP
229072013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22908
2a983a2e
SP
22909 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
22910 code.
22911 (cc32): Likewise.
22912
e69804d1
SP
22913 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
22914 (__acr): Likewise.
22915 (__cpy): Likewise.
22916 (norm): Likewise.
22917 (denorm): Likewise.
22918 (__dbl_mp): Likewise.
22919 (add_magnitudes): Likewise.
22920 (sub_magnitudes): Likewise.
22921 (__mul): Likewise.
22922 (__inv): Likewise.
22923
2f22a1e8
SP
22924 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
22925 style.
22926
8930ddc7
SP
22927 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
22928 style.
22929
dc60cb11
SP
22930 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
22931 code.
22932
60f5a8b5
SP
22933 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
22934 up changes with default code.
22935 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
22936 Likewise.
22937
b4d1fd33
AM
229382013-02-24 Allan McRae <allan@archlinux.org>
22939
faf6f8bc
AM
22940 * manual/socket.texi (The Internet Namespace): Order menu items
22941 to match that in the file.
22942
b4d1fd33
AM
22943 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
22944 node listing of the info page menu.
22945
2366713d
JM
229462013-02-21 Joseph Myers <joseph@codesourcery.com>
22947
22948 [BZ #13550]
22949 * sysdeps/i386/bp-asm.h: Remove file.
22950 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22951 (PARMS): Do not use macros from bp-asm.h.
22952 (S1): Likewise.
22953 (S2): Likewise.
22954 (SIZE): Likewise.
22955 (__mpn_add_n): Do not use BP_SYM
22956 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
22957 "bp-asm.h".
22958 (PARMS): Do not use macros from bp-asm.h.
22959 (S1): Likewise.
22960 (SIZE): Likewise.
22961 (__mpn_addmul_1): Do not use BP_SYM
22962 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
22963 "bp-asm.h".
22964 (PARMS): Do not use macros from bp-asm.h.
22965 (SIGMSK): Likewise.
22966 (_setjmp): Likewise. Do not use BP_SYM.
22967 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
22968 "bp-asm.h".
22969 (PARMS): Do not use macros from bp-asm.h.
22970 (SIGMSK): Likewise.
22971 (setjmp): Likewise. Do not use BP_SYM.
22972 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
22973 "bp-asm.h".
22974 (PARMS): Do not use macros from bp-asm.h.
22975 (__frexp): Do not use BP_SYM.
22976 (frexp): Likewise.
22977 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
22978 "bp-asm.h".
22979 (PARMS): Do not use macros from bp-asm.h.
22980 (__frexpf): Do not use BP_SYM.
22981 (frexpf): Likewise.
22982 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
22983 "bp-asm.h".
22984 (PARMS): Do not use macros from bp-asm.h.
22985 (__frexpl): Do not use BP_SYM.
22986 (frexpl): Likewise.
22987 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
22988 "bp-asm.h".
22989 (PARMS): Do not use macros from bp-asm.h.
22990 (__remquo): Do not use BP_SYM.
22991 (remquo): Likewise.
22992 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
22993 "bp-asm.h".
22994 (PARMS): Do not use macros from bp-asm.h.
22995 (__remquof): Do not use BP_SYM.
22996 (remquof): Likewise.
22997 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
22998 "bp-asm.h".
22999 (PARMS): Do not use macros from bp-asm.h.
23000 (__remquol): Do not use BP_SYM.
23001 (remquol): Likewise.
23002 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
23003 "bp-asm.h".
23004 (PARMS): Do not use macros from bp-asm.h.
23005 (DEST): Likewise.
23006 (SRC): Likewise.
23007 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
23008 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
23009 "bp-asm.h".
23010 (PARMS): Do not use macros from bp-asm.h.
23011 (strlen): Do not use BP_SYM.
23012 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
23013 "bp-asm.h".
23014 (PARMS): Do not use macros from bp-asm.h.
23015 (S1): Likewise.
23016 (S2): Likewise.
23017 (SIZE): Likewise.
23018 (__mpn_add_n): Do not use BP_SYM.
23019 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
23020 "bp-asm.h".
23021 (PARMS): Do not use macros from bp-asm.h.
23022 (S1): Likewise.
23023 (SIZE): Likewise.
23024 (__mpn_addmul_1): Do not use BP_SYM.
23025 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
23026 weak_alias.
23027 (bzero): Likewise.
23028 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
23029 "bp-asm.h".
23030 (PARMS): Do not use macros from bp-asm.h.
23031 (S): Likewise.
23032 (SIZE): Likewise.
23033 (__mpn_lshift): Do not use BP_SYM.
23034 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
23035 "bp-asm.h".
23036 (PARMS): Do not use macros from bp-asm.h.
23037 (DEST): Likewise.
23038 (SRC): Likewise.
23039 (LEN): Likewise.
23040 (memcpy): Likewise. Do not use BP_SYM.
23041 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
23042 libc_hidden_def and weak_alias.
23043 (mempcpy): Do not use BP_SYM in weak_alias.
23044 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
23045 "bp-asm.h".
23046 (PARMS): Do not use macros from bp-asm.h.
23047 (DEST): Likewise.
23048 (LEN): Likewise.
23049 [!BZERO_P] (CHR): Likewise.
23050 (memset): Likewise. Do not use BP_SYM.
23051 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
23052 "bp-asm.h".
23053 (PARMS): Do not use macros from bp-asm.h.
23054 (S1): Likewise.
23055 (SIZE): Likewise.
23056 (__mpn_mul_1): Do not use BP_SYM.
23057 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
23058 "bp-asm.h".
23059 (PARMS): Do not use macros from bp-asm.h.
23060 (S): Likewise.
23061 (SIZE): Likewise.
23062 (__mpn_rshift): Do not use BP_SYM.
23063 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
23064 "bp-asm.h".
23065 (PARMS): Do not use macros from bp-asm.h.
23066 (STR): Likewise.
23067 (CHR): Likewise.
23068 (strchr): Likewise. Do not use BP_SYM.
23069 (index): Do not use BP_SYM in weak_alias.
23070 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
23071 "bp-asm.h".
23072 (PARMS): Do not use macros from bp-asm.h.
23073 (DEST): Likewise.
23074 (SRC): Likewise.
23075 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
23076 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
23077 "bp-asm.h".
23078 (PARMS): Do not use macros from bp-asm.h.
23079 (strlen): Do not use BP_SYM.
23080 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
23081 "bp-asm.h".
23082 (PARMS): Do not use macros from bp-asm.h.
23083 (S1): Likewise.
23084 (S2): Likewise.
23085 (SIZE): Likewise.
23086 (__mpn_sub_n): Do not use BP_SYM.
23087 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
23088 "bp-asm.h".
23089 (PARMS): Do not use macros from bp-asm.h.
23090 (S1): Likewise.
23091 (SIZE): Likewise.
23092 (__mpn_submul_1): Do not use BP_SYM.
23093 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
23094 "bp-asm.h".
23095 (PARMS): Do not use macros from bp-asm.h.
23096 (S1): Likewise.
23097 (S2): Likewise.
23098 (SIZE): Likewise.
23099 (__mpn_add_n): Do not use BP_SYM.
23100 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
23101 weak_alias.
23102 (bzero): Likewise.
23103 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
23104 "bp-asm.h".
23105 (PARMS): Do not use macros from bp-asm.h.
23106 (BLK2): Likewise.
23107 (LEN): Likewise.
23108 (memcmp): Do not use BP_SYM.
23109 (bcmp): Do not use BP_SYM in weak_alias.
23110 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
23111 "bp-asm.h".
23112 (PARMS): Do not use macros from bp-asm.h.
23113 (DEST): Likewise.
23114 (SRC): Likewise.
23115 (LEN): Likewise.
23116 (memcpy): Likewise. Do not use BP_SYM.
23117 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
23118 "bp-asm.h".
23119 (PARMS): Do not use macros from bp-asm.h.
23120 (DEST): Likewise.
23121 (SRC): Likewise.
23122 (LEN): Likewise.
23123 (memmove): Likewise. Do not use BP_SYM.
23124 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
23125 "bp-asm.h".
23126 (PARMS): Do not use macros from bp-asm.h.
23127 (DEST): Likewise.
23128 (SRC): Likewise.
23129 (LEN): Likewise.
23130 (__mempcpy): Likewise. Do not use BP_SYM.
23131 (mempcpy): Do not use BP_SYM in weak_alias.
23132 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
23133 "bp-asm.h".
23134 (PARMS): Do not use macros from bp-asm.h.
23135 (DEST): Likewise.
23136 (LEN): Likewise.
23137 [!BZERO_P] (CHR): Likewise.
23138 (memset): Likewise. Do not use BP_SYM.
23139 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
23140 "bp-asm.h".
23141 (PARMS): Do not use macros from bp-asm.h.
23142 (STR2): Likewise.
23143 (strcmp): Do not use BP_SYM.
23144 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
23145 "bp-asm.h".
23146 (PARMS): Do not use macros from bp-asm.h.
23147 (STR): Likewise.
23148 (DELIM): Likewise.
23149 [USE_AS_STRTOK_R] (SAVE): Likewise.
23150 (FUNCTION): Likewise. Do not use BP_SYM.
23151 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
23152 aliases.
23153 (strtok_r): Likewise.
23154 (__GI___strtok_r): Likewise.
23155 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23156 (PARMS): Do not use macros from bp-asm.h.
23157 (S): Likewise.
23158 (SIZE): Likewise.
23159 (__mpn_lshift): Do not use BP_SYM.
23160 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23161 (PARMS): Do not use macros from bp-asm.h.
23162 (STR): Likewise.
23163 (CHR): Likewise.
23164 (__memchr): Do not use BP_SYM.
23165 (memchr): Do not use BP_SYM in weak_alias.
23166 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23167 (PARMS): Do not use macros from bp-asm.h.
23168 (BLK2): Likewise.
23169 (LEN): Likewise.
23170 (memcmp): Do not use BP_SYM.
23171 (bcmp): Do not use BP_SYM in weak_alias.
23172 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
23173 (PARMS): Do not use macros from bp-asm.h.
23174 (S1): Likewise.
23175 (SIZE): Likewise.
23176 (__mpn_mul_1): Do not use BP_SYM.
23177 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
23178 "bp-asm.h".
23179 (PARMS): Do not use macros from bp-asm.h.
23180 (STR): Likewise.
23181 (CHR): Likewise.
23182 (__rawmemchr): Do not use BP_SYM.
23183 (rawmemchr): Do not use BP_SYM in weak_alias.
23184 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23185 (PARMS): Do not use macros from bp-asm.h.
23186 (S): Likewise.
23187 (SIZE): Likewise.
23188 (__mpn_rshift): Do not use BP_SYM.
23189 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23190 (PARMS): Do not use macros from bp-asm.h.
23191 (SIGMSK): Likewise.
23192 (__sigsetjmp): Likewise. Do not use BP_SYM.
23193 * sysdeps/i386/start.S: Do not include "bp-sym.h".
23194 (_start): Do not use BP_SYM.
23195 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
23196 (PARMS): Do not use macros from bp-asm.h.
23197 (DEST): Likewise.
23198 (SRC): Likewise.
23199 (__stpcpy): Likewise. Do not use BP_SYM.
23200 (stpcpy): Do not use BP_SYM in weak_alias.
23201 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
23202 "bp-asm.h".
23203 (PARMS): Do not use macros from bp-asm.h.
23204 (DEST): Likewise.
23205 (SRC): Likewise.
23206 (LEN): Likewise.
23207 (__stpncpy): Likewise. Do not use BP_SYM.
23208 (stpncpy): Do not use BP_SYM in weak_alias.
23209 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23210 (PARMS): Do not use macros from bp-asm.h.
23211 (STR): Likewise.
23212 (CHR): Likewise.
23213 (strchr): Likewise. Do not use BP_SYM.
23214 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
23215 "bp-asm.h".
23216 (PARMS): Do not use macros from bp-asm.h.
23217 (STR): Likewise.
23218 (CHR): Likewise.
23219 (__strchrnul): Likewise. Do not use BP_SYM.
23220 (strchrnul): Do not use BP_SYM in weak_alias.
23221 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
23222 "bp-asm.h".
23223 (PARMS): Do not use macros from bp-asm.h.
23224 (STOP): Likewise.
23225 (strcspn): Do not use BP_SYM.
23226 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
23227 "bp-asm.h".
23228 (PARMS): Do not use macros from bp-asm.h.
23229 (STR): Likewise.
23230 (STOP): Likewise.
23231 (strpbrk): Likewise. Do not use BP_SYM.
23232 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
23233 "bp-asm.h".
23234 (PARMS): Do not use macros from bp-asm.h.
23235 (STR): Likewise.
23236 (CHR): Likewise.
23237 (strrchr): Likewise. Do not use BP_SYM.
23238 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
23239 (PARMS): Do not use macros from bp-asm.h.
23240 (SKIP): Likewise.
23241 (strspn): Do not use BP_SYM.
23242 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
23243 (PARMS): Do not use macros from bp-asm.h.
23244 (STR): Likewise.
23245 (DELIM): Likewise.
23246 (SAVE): Likewise.
23247 (FUNCTION): Likewise. Do not use BP_SYM.
23248 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
23249 aliases.
23250 (strtok_r): Likewise.
23251 (__GI___strtok_r): Likewise.
23252 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23253 (PARMS): Do not use macros from bp-asm.h.
23254 (S1): Likewise.
23255 (S2): Likewise.
23256 (SIZE): Likewise.
23257 (__mpn_sub_n): Do not use BP_SYM.
23258 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
23259 "bp-asm.h".
23260 (PARMS): Do not use macros from bp-asm.h.
23261 (S1): Likewise.
23262 (SIZE): Likewise.
23263 (__mpn_submul_1): Do not use BP_SYM.
23264 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
23265 <bp-sym.h>.
23266 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
23267 and <bp-asm.h>.
23268 (PARMS): Do not use macros from bp-asm.h.
23269 (FLAGS): Likewise.
23270 (PTID): Likewise.
23271 (TLS): Likewise.
23272 (CTID): Likewise.
23273 (__clone): Do not use BP_SYM.
23274 (clone): Do not use BP_SYM in weak_alias.
23275 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
23276 and <bp-asm.h>.
23277 (PARMS): Do not use macros from bp-asm.h.
23278 (LEN): Likewise.
23279 (__mmap64): Do not use BP_SYM.
23280 (mmap64): Do not use BP_SYM in weak_alias.
23281 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23282 <bp-sym.h> and <bp-asm.h>.
23283 (PARMS): Do not use macros from bp-asm.h.
23284 (__posix_fadvise64_l64): Do not use BP_SYM.
23285 * sysdeps/unix/sysv/linux/i386/semtimedop.S
23286 (PARMS): Do not use macros from bp-asm.h.
23287 (NSOPS): Likewise.
23288 (semtimedop): Do not use BP_SYM.
23289 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
23290 and <bp-asm.h>.
23291
582a3cff
AM
232922013-02-21 Allan McRae <allan@archlinux.org>
23293
23294 * manual/message.texi (Charset conversion in gettext):
23295 Move @end statement to beginning of line.
23296
bab8a695
SP
232972013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23298
80945231
SP
23299 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
23300 static.
23301 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23302 Likewise.
23303
bab8a695
SP
23304 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
23305 (denorm): Likewise.
23306 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
23307 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
23308
e21d7aa7
AK
233092013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23310
23311 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
23312 tail-call to the resolved function if pltexit isn't needed.
23313
4c7a4263
SP
233142013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23315
23316 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
23317 or Y being zero as being unlikely.
23318 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23319 Likewise.
23320
41f49342
CD
233212013-02-20 Carlos O'Donell <carlos@redhat.com>
23322
23323 * manual/nss.texi (System Databases and Name Service Switch):
23324 Remove frobnicate @pxref.
23325
50022a93
TS
233262013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23327
23328 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23329 __attribute__ ((unused)) to __attribute__ ((__unused__)).
23330
08cbd996
PM
233312013-02-20 Petr Machata <pmachata@redhat.com>
23332
23333 * elf/elf.h (R_ARM_TARGET1): New macro.
23334 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
23335 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
23336 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
23337 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
23338 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
23339 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
23340 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
23341 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
23342 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
23343 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
23344 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
23345 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
23346 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
23347 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
23348 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
23349 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
23350 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
23351 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
23352 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
23353 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
23354 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
23355 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
23356 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
23357 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
23358 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
23359 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
23360 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
23361 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
23362 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
23363 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
23364 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
23365 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
23366 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
23367 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
23368 (R_ARM_THM_GOT_BREL12): Likewise.
23369 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
23370 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
23371 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
23372 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
23373 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
23374 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
23375 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
23376 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
23377 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
23378
c7b275d6
TS
233792013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23380
23381 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23382 __attribute_used__ to __attribute__ ((unused)).
23383
20cd7fb3
SP
233842013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23385
23386 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
23387 powerpc mpa.c.
23388 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
23389 comment formatting.
23390 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
23391
92945b52
JM
233922013-02-19 Joseph Myers <joseph@codesourcery.com>
23393
23394 [BZ #13550]
23395 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
23396 Remove macro.
23397 (ENTER): Remove both macro definitions.
23398 (LEAVE): Likewise.
23399 (CHECK_BOUNDS_LOW): Likewise.
23400 (CHECK_BOUNDS_HIGH): Likewise.
23401 (CHECK_BOUNDS_BOTH): Likewise.
23402 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
23403 (RETURN_BOUNDED_POINTER): Likewise.
23404 (RETURN_NULL_BOUNDED_POINTER): Likewise.
23405 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
23406 (POP_ERRNO_LOCATION_RETURN): Likewise.
23407 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
23408 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23409 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
23410 macros.
23411 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23412 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
23413 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
23414 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
23415 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
23416 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
23417 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
23418 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
23419 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
23420 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
23421 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
23422 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
23423 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23424 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
23425 removed macros.
23426 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23427 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
23428 macros.
23429 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23430 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
23431 * sysdeps/i386/i586/memset.S (memset): Likewise.
23432 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
23433 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23434 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
23435 macros.
23436 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23437 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
23438 Change uses of L(2) to L(out).
23439 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
23440 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
23441 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
23442 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23443 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
23444 removed macros.
23445 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23446 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
23447 macros.
23448 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23449 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
23450 (RETURN): Do not use macro LEAVE.
23451 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
23452 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
23453 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
23454 * sysdeps/i386/i686/memset.S (memset): Likewise.
23455 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
23456 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
23457 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23458 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
23459 Likewise.
23460 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23461 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
23462 L(1_2) and L(1_3) into L(1).
23463 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23464 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
23465 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23466 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
23467 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23468 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
23469 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
23470 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23471 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
23472 macros.
23473 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
23474 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23475 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
23476 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
23477 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
23478 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23479 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
23480 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
23481 * sysdeps/i386/strcspn.S (strcspn): Likewise.
23482 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
23483 * sysdeps/i386/strrchr.S (strrchr): Likewise.
23484 * sysdeps/i386/strspn.S (strspn): Likewise.
23485 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
23486 conditional code.
23487 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23488 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
23489 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23490 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
23491 L(1_3) into L(1_1).
23492 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
23493 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23494 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
23495 macros.
23496 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23497
2389741a
JJ
234982013-02-19 Jakub Jelinek <jakub@redhat.com>
23499
23500 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
23501 macro.
23502
2016b3cd
SP
235032013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23504
e4f22324
SP
23505 * math/atest-exp.c (exp_mpn): Remove ROUND.
23506 * math/atest-exp2.c (exp_mpn): Likewise.
23507 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
23508
2016b3cd
SP
23509 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
23510 * stdlib/tst-tls-atexit-lib.c: Likewise.
23511 * stdlib/tst-tls-atexit.c: Likewise.
23512
4be9b544
MF
235132013-02-18 Mike Frysinger <vapier@gentoo.org>
23514
23515 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
23516 and __attribute_alloc_size__.
23517
2f62b9ee
MF
235182013-02-18 Mike Frysinger <vapier@gentoo.org>
23519
23520 * include/programs/xmalloc.h: Change __attribute_alloc_size to
23521 __attribute_alloc_size__.
23522 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
23523 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
23524
6ff444c4
MF
235252013-02-18 Mike Frysinger <vapier@gentoo.org>
23526
23527 * include/programs/xmalloc.h: New file.
23528 * catgets/gencat.c: Include it.
23529 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
23530 * elf/pldd.c: Likewise.
23531 * iconv/iconv_charmap.c: Likewise.
23532 * iconv/iconvconfig.c: Likewise.
23533 * iconv/strtab.c: Likewise.
23534 * locale/programs/locale.c: Likewise.
23535 * locale/programs/localedef.h: Likewise.
23536 * locale/programs/simple-hash.c: Likewise.
23537 * nscd/nscd.h: Likewise.
23538 * nss/makedb.c: Likewise.
23539 * sysdeps/generic/ldconfig.h: Likewise.
23540
be179c8a
SP
235412013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23542
ba384f6e
SP
23543 * Versions.def: Add GLIBC_2.18.
23544 * include/link.h (struct link_map): New member l_tls_dtor_count.
23545 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
23546 (__call_tls_dtors): Likewise.
23547 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
23548 __cxa_thread_atexit_impl.
23549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23550 Likewise.
23551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23552 Likewise.
23553 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23554 Likewise.
23555 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23556 Likewise.
23557 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23558 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
23559 Likewise.
23560 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
23561 Likewise.
23562 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23563 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23564 Likewise.
23565 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
23566 (tests): Add test case tst-tls-atexit.
23567 (modules-names): Add shared library for tst-tls-atexit.
85891aca 23568 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
23569 (GLIBC_PRIVATE): Add __call_tls_dtors.
23570 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
23571 for libstdc++.
23572 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
23573 * stdlib/tst-tls-atexit.c: New test case.
23574 * stdlib/tst-tls-atexit-lib.c: New test case.
23575
ffaa74cf 23576 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 23577
be179c8a
SP
23578 * elf/Versions (ld): Add _dl_find_dso_for_object.
23579 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
23580 * elf/dl-open.c (_dl_find_dso_for_object): New function.
23581 (dl_open_worker): Use _dl_find_dso_for_object.
23582 * elf/dl-sym.c (do_sym): Likewise.
23583 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
23584
f78b5caa
AK
235852013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23586
23587 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
23588 Syntactic changes only.
23589 (_dl_runtime_profile): Do a tail-call to the resolved function.
23590
29691210
JM
235912013-02-17 Joseph Myers <joseph@codesourcery.com>
23592
23593 [BZ #13550]
23594 * sysdeps/x86_64/bp-asm.h: Remove file.
23595 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
23596 <bp-sym.h> and <bp-asm.h>.
23597 (__clone): Do not use BP_SYM.
23598 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
23599 <bp-sym.h> and <bp-asm.h>.
23600 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23601 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
23602 "bp-asm.h".
23603 (_setjmp): Do not use BP_SYM.
23604 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
23605 "bp-asm.h".
23606 (setjmp): Do not use BP_SYM.
23607 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
23608 libc_hidden_def.
23609 (mempcpy): Do not use BP_SYM in weak_alias.
23610 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
23611 "bp-asm.h".
23612 (strchr): Do not use BP_SYM.
23613 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
23614 "bp-asm.h".
23615 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
23616 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
23617 (_start): Do not use BP_SYM.
23618 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
23619 "bp-asm.h".
23620 (strcat): Do not use BP_SYM.
23621 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
23622 "bp-asm.h".
23623 (STRCMP): Do not use BP_SYM.
23624 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
23625 "bp-asm.h".
23626 (STRCPY): Do not use BP_SYM.
23627 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
23628 "bp-asm.h".
23629 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
23630 "bp-asm.h".
23631 (FUNCTION): Do not use BP_SYM.
23632 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
23633 weak_alias.
23634 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
23635
f238fd19
AJ
236362013-02-17 Andreas Jaeger <aj@suse.de>
23637
23638 * time/Versions: Sort entries.
23639 * string/Versions: Likewise.
23640 * resolv/Versions: Likewise.
23641 * posix/Versions: Likewise.
23642 * iconv/Versions: Likewise.
23643 * elf/Versions: Likewise.
23644 * wcsmbs/Versions: Likewise.
23645
bd07f23c 236462013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 23647
22af19f9
SP
23648 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
23649 loop termination condition.
23650
4709fe76
SP
23651 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
23652 variable to calculate EZ.
23653 (__sqr): Likewise.
2d0e0f29
SP
23654
23655 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
23656 the lower precision input.
23657
daaa7713
JM
236582013-02-15 Joseph Myers <joseph@codesourcery.com>
23659
23660 [BZ #13550]
23661 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
23662 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
23663 (run-via-rtld-prefix): Do not handle %-bp tests.
23664 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
23665 (all-object-suffixes): Remove .ob.
23666 (bppfx): Remove variable.
23667 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
23668 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
23669 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
23670 [$(build-bounded) = yes] (libtype.ob): Likewise.
23671 * Makerules (elide-routines.ob): Remove variable.
23672 (do-tests-clean): Do not handle *-bp.out.
23673 (common-mostlyclean): Do not handle *-bp and *-bp.out.
23674 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
23675 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
23676 (tests): Do not include $(tests-bp.out).
23677 (xtests): Do not include $(xtests-bp.out).
23678 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
23679 [$(build-bounded) = yes] ($(addprefix
23680 $(objpfx),$(binaries-bounded))): Remove rule.
23681 ($(objpfx)%-bp.out): Remove rule.
23682 * config.make.in (build-bounded): Remove variable.
23683 * crypt/Makefile [$(build-bounded) = yes]
23684 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
23685 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
23686 append to variable.
23687 [$(build-bounded) = yes] (install-lib): Likewise.
23688 [$(build-bounded) = yes] (generated): Likewise.
23689 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
23690 Remove rule.
23691 * intl/Makefile [$(build-bounded) = yes]
23692 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
23693 * math/Makefile [$(build-bounded) = yes]
23694 ($(tests:%=$(objpfx)%-bp): Likewise.
23695 * misc/Makefile [$(build-bounded) = yes]
23696 ($(objpfx)tst-tsearch-bp): Likewise.
23697 * nptl/Makeconfig (bounded-thread-library): Remove variable.
23698 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
23699 Remove dependency.
23700 * string/Makefile (o-objects.ob): Remove variable.
23701 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
23702 (CFLAGS-.ob): Remove variable.
23703 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
23704 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
23705 both definitions of variable.
23706 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
23707 (ASFLAGS-.ob): Remove variable.
23708
e97ed6dd
JM
237092013-02-14 Joseph Myers <joseph@codesourcery.com>
23710
2bdd4ca6
JM
23711 [BZ #13550]
23712 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
23713 Remove __BOUNDED_POINTERS__ from condition.
23714 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
23715 * string/bits/string2.h [!__NO_STRING_INLINES &&
23716 !__BOUNDED_POINTERS__]: Likewise.
23717 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
23718 Likewise.
23719 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
23720 Remove conditional code.
23721 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
23722 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
23723 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
23724 condition.
23725
e97ed6dd
JM
23726 [BZ #13550]
23727 * csu/libc-start.c: Do not include <bp-sym.h>.
23728 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
23729 * elf/dl-open.c: Do not include <bp-sym.h>.
23730 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
23731 * math/fegetenv.c: Do not include <bp-sym.h>.
23732 (fegetenv): Do not use BP_SYM in versioned symbols.
23733 * nptl/sysdeps/pthread/bits/libc-lockP.h
23734 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
23735 <bp-sym.h>.
23736 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23737 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
23738 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23739 (__pthread_mutex_destroy): Likewise.
23740 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23741 (__pthread_mutex_lock): Likewise.
23742 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23743 (__pthread_mutex_trylock): Likewise.
23744 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23745 (__pthread_mutex_unlock): Likewise.
23746 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23747 (__pthread_mutexattr_init): Likewise.
23748 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23749 (__pthread_mutexattr_destroy): Likewise.
23750 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23751 (__pthread_mutexattr_settype): Likewise.
23752 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23753 (__pthread_rwlock_init): Likewise.
23754 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23755 (__pthread_rwlock_destroy): Likewise.
23756 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23757 (__pthread_rwlock_rdlock): Likewise.
23758 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23759 (__pthread_rwlock_tryrdlock): Likewise.
23760 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23761 (__pthread_rwlock_wrlock): Likewise.
23762 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23763 (__pthread_rwlock_trywrlock): Likewise.
23764 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23765 (__pthread_rwlock_unlock): Likewise.
23766 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23767 (__pthread_key_create): Likewise.
23768 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23769 (__pthread_setspecific): Likewise.
23770 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23771 (__pthread_getspecific): Likewise.
23772 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
23773 Likewise.
23774 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23775 (_pthread_cleanup_push_defer): Likewise.
23776 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23777 (_pthread_cleanup_pop_restore): Likewise.
23778 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23779 (pthread_setcancelstate): Likewise.
23780 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
23781 <bp-sym.h>.
23782 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
23783 (memchr): Do not use BP_SYM in weak_alias.
23784 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
23785 (fegetenv): Do not use BP_SYM in versioned symbols.
23786 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
23787 (fesetenv): Do not use BP_SYM in versioned symbols.
23788 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23789 (feupdateenv): Do not use BP_SYM in versioned symbols.
23790 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23791 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23792 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
23793 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
23794 (open64): Do not use BP_SYM in weak_alias.
23795 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
23796 (fegetenv): Do not use BP_SYM in versioned symbols.
23797 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
23798 (fesetenv): Do not use BP_SYM in versioned symbols.
23799 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23800 (feupdateenv): Do not use BP_SYM in versioned symbols.
23801 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
23802 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
23803 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
23804 (feraiseexcept): Do not use BP_SYM in versioned symbols.
23805 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23806 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23807 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
23808 <bp-sym.h>.
23809 (__libc_start_main): Do not use BP_SYM.
23810
d6752ccd
SP
238112013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23812
cb57ce60
SP
23813 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
23814 redundant return line.
23815 (norm): Likewise.
23816 (denorm): Likewise.
23817 (dbl_mp): Likewise.
23818 (sub_magnitudes): Likewise.
23819 (__add): Likewise.
23820 (__sub): Likewise.
23821 (__mul): Likewise.
23822 (__inv): Likewise.
23823 (__dvd): Likewise.
23824 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
23825 (norm): Likewise.
23826 (denorm): Likewise.
23827 (dbl_mp): Likewise.
23828 (sub_magnitudes): Likewise.
23829 (__add): Likewise.
23830 (__sub): Likewise.
23831 (__mul): Likewise.
23832 (__inv): Likewise.
23833 (__dvd): Likewise.
23834
f414520d
SP
23835 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
23836 instead of __mul.
23837 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23838 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
23839 (cc32): Likewise.
23840
d6752ccd
SP
23841 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
23842 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
23843 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
23844 of __mul for squares.
23845 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
23846 function
23847 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
23848 Likewise.
23849 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
23850 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23851
70d9946a
JM
238522013-02-13 Joseph Myers <joseph@codesourcery.com>
23853
23854 [BZ #13550]
23855 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
23856 code.
23857 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
23858 prototype or function definition. Rename ubp_* variables and
23859 parameters. Remove argv definitions conditional on
23860 [__BOUNDED_POINTERS__].
23861 * debug/backtrace.c (__backtrace): Do not use __unbounded.
23862 * elf/dl-runtime.c (_dl_fixup): Likewise.
23863 * include/set-hooks.h (RUN_HOOK): Likewise.
23864 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
23865 definition.
23866 * string/strcpy.c (strcpy): Do not use __unbounded.
23867 * sysdeps/generic/frame.h (struct layout): Likewise.
23868 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
23869 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
23870 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
23871 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
23872 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
23873 (__backtrace): Likewise.
23874 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
23875 use __ptrvalue.
23876 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23877 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23878 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
23879 Likewise.
23880 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
23881 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
23882 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23883 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23884 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
23885 Do not use __unbounded.
23886 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
23887 Rename __unboundedrlimits parameter to rlimits in prototype.
23888 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
23889 Do not use __unbounded.
23890 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
23891 not use __ptrvalue.
23892 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23893 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
23894 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23895 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
23896 __ptrvalue or __unbounded.
23897 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
23898 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
23899 use __unbounded.
23900 (__new_msgctl): Do not use __ptrvalue.
23901 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
23902 __unbounded.
23903 (__libc_msgrcv): Do not use __ptrvalue.
23904 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
23905 startup_info): Do not use __unbounded.
23906 (__libc_start_main): Likewise. Rename ubp_* variables and
23907 parameters. Remove argv definitions conditional on
23908 [__BOUNDED_POINTERS__].
23909 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
23910 __ptrvalue.
23911 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
23912 use __unbounded.
23913 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
23914 or __ptrvalue.
23915 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
23916 use __unbounded.
23917 (__new_shmctl): Do not use __ptrvalue.
23918 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
23919 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
23920 Likewise.
23921 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
23922 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
23923 (__libc_sigaction): Likewise.
23924 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
23925 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
23926 Likewise.
23927 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23928
cc7834d6
OB
239292013-02-13 Ondřej Bílka <neleai@seznam.cz>
23930
ffb1ec7b 23931 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
23932
23933 * string/mempcpy.c: Implement by calling memcpy.
23934
bdf02814
SP
239352013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23936
c2af38aa
SP
23937 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
23938
4e92d59e
SP
23939 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
23940 evaluation.
23941
909279a5
SP
23942 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
23943 values in the mantissa.
23944
bdf02814
SP
23945 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
23946 minimize writes to Z.
23947 (sub_magnitudes): Simplify code a bit.
23948
cd525923
RM
239492013-02-12 Roland McGrath <roland@hack.frob.com>
23950
23951 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
23952 from the message. The linker prefixes all warnings with that already.
23953
7e2f0d2d
AS
239542013-02-12 Andreas Schwab <schwab@suse.de>
23955
a445af0b
AS
23956 [BZ #15078]
23957 * posix/regexec.c (extend_buffers): Add parameter min_len.
23958 (check_matching): Pass minimum needed length.
23959 (clean_state_log_if_needed): Likewise.
23960 (get_subexp): Likewise.
23961 * posix/Makefile (tests): Add bug-regex34.
23962 (bug-regex34-ENV): Define.
23963 * posix/bug-regex34.c: New file.
23964
7e2f0d2d
AS
23965 [BZ #11561]
23966 * posix/regcomp.c (parse_bracket_exp): When looking up collating
23967 elements compare against the byte sequence of it, not its name.
23968 * posix/Makefile (tests): Add bug-regex35.
23969 (bug-regex35-ENV): Define.
23970 * posix/bug-regex35.c: New file.
23971
a175b684
TV
239722013-02-11 Tom de Vries <tom@codesourcery.com>
23973
23974 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
23975 comment.
23976 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
23977 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
23978 (CHECK_EOL): Add undef.
23979
310998fe 239802013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
23981
23982 * bits/stdlib-bsearch.h: New file.
23983 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 23984 * stdlib/stdlib.h: Likewise.
41eda41d 23985
8ded91fb
RM
239862013-02-11 Roland McGrath <roland@hack.frob.com>
23987
23988 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
23989 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
23990 declaration.
23991 * manual/search.texi (Array Search Function): Add missing const in
23992 lfind prototype.
23993 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
23994 declaration to use rlim_t.
23995 (Basic Scheduling Functions): Remove erroneous const from
23996 sched_getparam prototype. Remove erroneous * from
23997 sched_get_priority_max and sched_get_priority_min prototypes.
23998 (Resource Usage): Fix summary @comment on vtimes to refer to
23999 sys/vtimes.h rather than vtimes.h.
24000 Add missing *s in vtimes prototype.
24001 (Limits on Resources): Fix ulimit prototype to return long int.
24002 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
24003 prototypes to use long int rather than double.
24004 (BSD Random): Fix initstate and setstate to use char *, not void *.
24005 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
24006 prototype to make second argument 'struct aiocb64 *const[]'.
24007 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
24008 (Status of AIO Operations): Remove erroneous const in aio_return and
24009 aio_return64 prototypes.
24010 (Synchronizing I/O): Fix sync prototype to return void.
24011 * manual/startup.texi (Suboptions): Remove an erroneous const in
24012 getsubopt prototype.
24013 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
24014 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
24015 use size_t rather than int.
24016 (Scanning All Users): Likewise for getpwent_r.
24017 (Setting Groups): Add missing const to setgroups prototype.
24018 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
24019 * manual/socket.texi (Host Names): Fix gethostbyaddr and
24020 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
24021 'const void *' rather than 'const char *'.
24022 (Host Address Functions): Likewise for inet_ntop.
24023 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
24024 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
24025 ssize_t for return value.
24026 (Sending Data): Likewise for send, sendto, sendmsg.
24027 (Socket Option Functions): Add a missing const in setsockopt prototype.
24028 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
24029 use wchar_t for the argument.
24030 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
24031 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
24032 take no arguments.
24033 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
24034 double/float/long double for second argument.
24035 Fix return types of significand, significandf, significandl.
24036 * manual/filesys.texi (Setting Permissions): Use mode_t for second
24037 argument in fchmod prototype.
24038 (File Owner): Use uid_t and gid_t in fchown prototype.
24039 (File Times): Add const to utimes, futimes, and lutimes prototypes.
24040 (Making Special Files): Use mode_t and dev_t in mknod prototype.
24041 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
24042 use 'const struct dirent **' as argument types to CMP function pointer
24043 argument.
24044 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
24045 (File Times): Fix summary magic @comment for struct utimbuf and utime
24046 to refer to utime.h, not time.h.
24047 * manual/string.texi (Argz Functions): Add missing const in
24048 argz_extract and argz_next prototypes.
24049 (Finding Tokens in a String): Likewise for basename.
24050 (String/Array Comparison): Fix typo in wcscasecmp prototype.
24051 (Copying and Concatenation): Fix typo in wmemmove prototype.
24052 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
24053 (Signal Stack): Remove erroneous const in sigstack prototype.
24054 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
24055 prototype.
24056 (Simple Calendar Time): Likewise for stime.
24057 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
24058 prototype.
24059 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
24060 say sys/sysctl.h instead.
24061 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
24062 and vsyslog prototypes.
24063
fe77fe6d
TV
240642013-02-11 Tom de Vries <tom@codesourcery.com>
24065
24066 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
24067 Remove.
24068
3a09b620
RM
240692013-02-11 Roland McGrath <roland@hack.frob.com>
24070
24071 * misc/sys/mman.h: Fix typo in mremap comment.
24072
550a0b89
RM
240732013-02-08 Roland McGrath <roland@hack.frob.com>
24074
24075 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
24076 the '\0' terminator.
24077
a2da1673
JM
240782013-02-08 Joseph Myers <joseph@codesourcery.com>
24079
24080 [BZ #13550]
24081 * debug/segfault.c: Don't include <bp-checks.h>.
24082 * sysdeps/generic/bp-checks.h: Remove file.
24083 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
24084 (__GETDENTS): Don't use CHECK_N.
24085 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
24086 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24087 (__getgroups): Don't use CHECK_N.
24088 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
24089 (setgroups): Don't use CHECK_N.
24090 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
24091 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
24092 (__libc_msgrcv): Don't use CHECK_N.
24093 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
24094 (__libc_msgsnd): Don't use CHECK_N.
24095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
24096 <bp-checks.h>.
24097 (__libc_pread): Don't use CHECK_N.
24098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
24099 include <bp-checks.h>.
24100 (__libc_pread64): Don't use CHECK_N.
24101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
24102 include <bp-checks.h>.
24103 (__libc_pwrite): Don't use CHECK_N.
24104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
24105 include <bp-checks.h>.
24106 (__libc_pwrite64): Don't use CHECK_N.
24107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
24108 <bp-checks.h>.
24109 (__libc_pread): Don't use CHECK_N.
24110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
24111 include <bp-checks.h>.
24112 (__libc_pread64): Don't use CHECK_N.
24113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
24114 include <bp-checks.h>.
24115 (__libc_pwrite): Don't use CHECK_N.
24116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
24117 include <bp-checks.h>.
24118 (__libc_pwrite64): Don't use CHECK_N.
24119 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
24120 (do_pread): Don't use CHECK_N.
24121 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
24122 (do_pread64): Don't use CHECK_N.
24123 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
24124 (do_pwrite): Don't use CHECK_N.
24125 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
24126 (do_pwrite64): Don't use CHECK_N.
24127 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
24128 (__libc_readv): Don't use CHECK_N.
24129 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
24130 (semop): Don't use CHECK_N.
24131 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
24132 <bp-checks.h>.
24133 (semtimedop): Don't use CHECK_N.
24134 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
24135 (__libc_pread): Don't use CHECK_N.
24136 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
24137 <bp-checks.h>.
24138 (__libc_pread64): Don't use CHECK_N.
24139 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
24140 <bp-checks.h>.
24141 (__libc_pwrite): Don't use CHECK_N.
24142 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
24143 <bp-checks.h>.
24144 (__libc_pwrite64): Don't use CHECK_N.
24145 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
24146 <bp-checks.h>.
24147 (__libc_msgrcv): Don't use CHECK_N.
24148 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
24149 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
24150 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
24151 (__libc_writev): Don't use CHECK_N.
24152
b84660a8
RM
241532013-02-08 Roland McGrath <roland@hack.frob.com>
24154
7f3e75f8
RM
24155 * string/strcpy.c: Removed unused variable.
24156
b84660a8
RM
24157 * Makeconfig (+sysdep-includes): Define with := rather than =.
24158 Use an existing include/ subdir of each sysdeps dir before it.
24159
471514d3
CD
241602013-02-08 Carlos O'Donell <carlos@redhat.com>
24161
24162 * nscd/connection.c (register_traced_file): Comment function.
24163 [HAVE_INOTIFY] (union __inev): Define.
24164 [HAVE_INOTIFY] (inotify_check_files): New function.
24165 [HAVE_INOTIFY] (clear_db_cache): Likewise.
24166 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
24167 clear_db_cache.
24168 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
24169
b2d3c3be
CD
241702013-02-08 Carlos O'Donell <carlos@redhat.com>
24171
24172 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
24173 loaded if not already and that a failure is permanent.
24174
b39949d2
CD
241752013-02-08 Carlos O'Donell <carlos@redhat.com>
24176
ddacd1db 24177 [BZ #15006]
b39949d2
CD
24178 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
24179 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
24180
b2c9eff4
JM
241812013-02-08 Joseph Myers <joseph@codesourcery.com>
24182
f3aae3f3
JM
24183 [BZ #13550]
24184 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
24185 (CHECK_1_NULL_OK): Likewise.
24186 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
24187 (__fxstat): Do not use CHECK_1.
24188 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
24189 <bp-checks.h>.
24190 (___fxstat64): Do not use CHECK_1.
24191 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24192 <bp-checks.h>.
24193 (__fxstatat): Do not use CHECK_1.
24194 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24195 <bp-checks.h>.
24196 (__fxstatat64): Do not use CHECK_1.
24197 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
24198 <bp-checks.h>.
24199 (__fxstat): Do not use CHECK_1.
24200 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24201 <bp-checks.h>.
24202 (__fxstatat): Do not use CHECK_1.
24203 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24204 <bp-checks.h>.
24205 (__getresgid): Do not use CHECK_1.
24206 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24207 <bp-checks.h>.
24208 (__getresuid): Do not use CHECK_1.
24209 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
24210 <bp-checks.h>.
24211 (__lxstat): Do not use CHECK_1.
24212 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24213 <bp-checks.h>.
24214 (__old_msgctl): Do not use CHECK_1.
24215 (__new_msgctl): Likewise.
24216 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
24217 <bp-checks.h>.
24218 (__new_setrlimit): Do not use CHECK_1.
24219 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24220 <bp-checks.h>.
24221 (__old_shmctl): Do not use CHECK_1.
24222 (__new_shmctl): Likewise.
24223 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
24224 <bp-checks.h>.
24225 (__xstat): Do not use CHECK_1.
24226 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
24227 (__lxstat): Do not use CHECK_1.
24228 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
24229 <bp-checks.h>.
24230 (___lxstat64): Do not use CHECK_1.
24231 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
24232 (__old_msgctl): Do not use CHECK_1.
24233 (__new_msgctl): Likewise.
24234 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
24235 <bp-checks.h>.
24236 (__gettimeofday): Do not use CHECK_1.
24237 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
24238 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
24239 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
24240 <bp-checks.h>.
24241 (__gettimeofday): Do not use CHECK_1.
24242 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
24243 (__old_shmctl): Do not use CHECK_1_NULL_OK.
24244 (__new_shmctl): Do not use CHECK_1.
24245 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
24246 <bp-checks.h>.
24247 (do_sigtimedwait): Do not use CHECK_1.
24248 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
24249 <bp-checks.h>.
24250 (do_sigwaitinfo): Do not use CHECK_1.
24251 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
24252 <bp-checks.h>.
24253 (msgctl): Do not use CHECK_1.
24254 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
24255 <bp-checks.h>.
24256 (shmctl): Do not use CHECK_1.
24257 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
24258 (ustat): Do not use CHECK_1.
24259 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
24260 <bp-checks.h>.
24261 (__fxstat): Do not use CHECK_1.
24262 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24263 <bp-checks.h>.
24264 (__fxstatat): Do not use CHECK_1.
24265 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
24266 <bp-checks.h>.
24267 (__lxstat): Do not use CHECK_1.
24268 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
24269 <bp-checks.h>.
24270 (__xstat): Do not use CHECK_1.
24271 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
24272 (__xstat): Do not use CHECK_1.
24273 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
24274 (___xstat64): Do not use CHECK_1.
24275
b2c9eff4
JM
24276 [BZ #13550]
24277 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
24278 definitions.
24279 (CHECK_BOUNDS_HIGH): Likewise.
24280 * string/strcpy.c: Do not include <bp-checks.h>.
24281 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
24282
f1d70dad
RM
242832013-02-07 Roland McGrath <roland@hack.frob.com>
24284
24285 * nscd/nscd-client.h (__nscd_drop_map_ref):
24286 Add __attribute__ ((unused)).
24287 * nis/nss-nisplus.h (niserr2nss): Likewise.
24288
24289 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
24290 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
24291
24292 * csu/libc-tls.c (init_static_tls, init_slotinfo):
24293 Remove inline keyword.
24294 * include/rounding-mode.h (round_away): Likewise.
24295 * libio/wfileops.c (adjust_wide_data): Likewise.
24296 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
24297 (__m128i_strloadu_tolower): Likewise.
24298 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
24299 (__m128i_strloadu_tolower): Likewise.
24300 * time/mktime.c (ydhms_diff): Likewise.
24301 * locale/elem-hash.h (elem_hash): Likewise.
24302 * locale/setlocale.c (setdata): Likewise.
24303 * posix/regex_internal.h (re_string_char_size_at): Likewise.
24304 (re_string_wchar_at): Likewise.
24305 (bitset_not, bitset_merge, bitset_mask): Likewise.
24306 [!(__GNUC__ > 3)] (inline): Remove macro.
24307 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
24308 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
24309 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
24310 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24311 * string/memcmp.c (memcmp_bytes): Likewise.
24312 * locale/programs/locarchive.c (compute_hashval): Likewise.
24313 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
24314 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
24315 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
24316 * nss/getent.c (print_rpc, print_protocols): Likewise.
24317 (print_passwd, print_group, print_aliases): Likewise.
24318 * nis/nss-nisplus.h (niserr2nss): Likewise.
24319 * nscd/connections.c (restart_p): Likewise.
24320 Change return type to bool.
24321
eab55bfb
RM
243222013-02-05 Roland McGrath <roland@hack.frob.com>
24323
7bd642f5
RM
24324 * Makeconfig (all-Depend-files): Add existing
24325 $(sorted-subdirs:=/Depend) files.
24326 (all-subdirs): Remove nss.
24327 * sysdeps/unix/inet/Subdirs: Add it here instead.
24328 * hesiod/Depend: New file.
24329
573c29b2
RM
24330 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
24331 instead of calling alloca.
24332
b2e25af0
RM
24333 * io/lseek.c (__lseek): Rename to __libc_lseek.
24334 Define __lseek as an alias.
24335
eab55bfb
RM
24336 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
24337
9a0d1941
CD
243382013-02-04 Carlos O'Donell <carlos@redhat.com>
24339
24340 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
24341 else clause and remove check for non-standard endianness.
24342
b83bbec4
DM
243432013-02-04 David S. Miller <davem@davemloft.net>
24344
24345 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24346
6277fdab
JM
243472013-02-04 Joseph Myers <joseph@codesourcery.com>
24348
24349 [BZ #13550]
24350 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
24351 (__ubp_memchr): Remove prototype.
24352 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
24353 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24354 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
24355 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24356 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
24357 Remove alias.
24358 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
24359 (__ubp_memchr): Likewise.
24360 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
24361 (__ubp_memchr): Likewise.
24362 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
24363 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
24364 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
24365 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
24366 CHECK_STRING.
24367 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24368 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
24369 (__getcwd): Do not use CHECK_STRING.
24370 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24371 <bp-checks.h>.
24372 (__real_chown): Do not use CHECK_STRING.
24373 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
24374 <bp-checks.h>.
24375 (fchownat): Do not use CHECK_STRING.
24376 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
24377 CHECK_STRING.
24378 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24379 <bp-checks.h>.
24380 (__lchown): Do not use CHECK_STRING.
24381 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24382 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24383 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24384 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24386 include <bp-checks.h>.
24387 (truncate64): Do not use CHECK_STRING.
24388 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24389 <bp-checks.h>.
24390 (__real_chown): Do not use CHECK_STRING.
24391 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24392 <bp-checks.h>.
24393 (__lchown): Do not use CHECK_STRING.
24394 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24395 <bp-checks.h>.
24396 (__chown): Do not use CHECK_STRING.
24397 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
24398 <bp-checks.h>.
24399 (truncate64): Do not use CHECK_STRING.
24400 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
24401 Likewise.
24402 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
24403 (__xmknod): Do not use CHECK_STRING.
24404 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
24405 <bp-checks.h>.
24406 (__xmknodat): Do not use CHECK_STRING.
24407 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24408 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
24409
903ae060
AS
244102013-02-04 Andreas Schwab <schwab@suse.de>
24411
24412 [BZ #14142]
24413 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
24414 * include/netdb.h: Likewise for h_errno.
24415 * elf/tst-stackguard1.c: Include <tls.h>.
24416
542f9466
JK
244172013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
24418
24419 * elf/link.h (struct link_map): Extend the l_addr comment.
24420 * include/link.h (struct link_map): Likewise.
24421
e782a927
JM
244222013-02-01 Joseph Myers <joseph@codesourcery.com>
24423
24424 [BZ #13550]
24425 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
24426 (BOUNDED_1): Remove macro.
24427 * debug/backtrace.c: Don't include <bp-checks.h>.
24428 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
24429 (__backtrace): Likewise.
24430 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
24431 <bp-checks.h>.
24432 (__backtrace): Don't use BOUNDED_1.
24433 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
24434 <bp-checks.h>.
24435 (__backtrace): Don't use BOUNDED_1.
24436 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
24437 (__backtrace): Don't use BOUNDED_1.
24438 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
24439 (shmat): Don't use BOUNDED_N.
24440
8cf28c5e
JM
244412013-01-31 Joseph Myers <joseph@codesourcery.com>
24442
3a7ac8a0
JM
24443 [BZ #13550]
24444 * sysdeps/generic/bp-start.h: Remove file.
24445 * csu/libc-start.c: Don't include <bp-start.h>.
24446 (LIBC_START_MAIN): Set up __environ directly instead of using
24447 INIT_ARGV_and_ENVIRON.
24448 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
24449 <bp-start.h>.
24450
f3499f95
JM
24451 [BZ #13550]
24452 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
24453 definitions.
24454 (CHECK_FCNTL): Likewise.
24455 (CHECK_N_PAGES): Likewise.
24456
32a45bea
JM
24457 [BZ #13550]
24458 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
24459 definitions.
24460 (CHECK_SIGSET_NULL_OK): Likewise.
24461 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
24462 <bp-checks.h>.
24463 (sigpending): Don't use CHECK_SIGSET.
24464 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
24465 <bp-checks.h>.
24466 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24467 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
24468 <bp-checks.h>.
24469 (do_sigsuspend): Don't use CHECK_SIGSET.
24470 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
24471 use CHECK_SIGSET.
24472 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
24473 (do_sigwait): Don't use CHECK_SIGSET.
24474 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
24475 use CHECK_SIGSET.
24476 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
24477 include <bp-checks.h>.
24478 (sigpending): Don't use CHECK_SIGSET.
24479 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
24480 include <bp-checks.h>.
24481 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24482 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
24483 <bp-checks.h>.
24484 (sigpending): Don't use CHECK_SIGSET.
24485 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
24486 <bp-checks.h>.
24487 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24488
2e8a5c8c
JM
24489 [BZ #13550]
24490 * sysdeps/generic/bp-semctl.h: Remove file.
24491 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
24492 <bp-checks.h> and <bp-semctl.h>.
24493 (__old_semctl): Don't use CHECK_SEMCTL.
24494 (__new_semctl): Likewise.
24495 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
24496 and <bp-semctl.h>.
24497 (__old_semctl): Don't use CHECK_SEMCTL.
24498 (__new_semctl): Likewise.
24499 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
24500 <bp-checks.h> and <bp-semctl.h>.
24501 (__old_semctl): Don't use CHECK_SEMCTL.
24502 (__new_semctl): Likewise.
24503 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
24504 <bp-checks.h> and <bp-semctl.h>.
24505 (semctl): Don't use CHECK_SEMCTL.
24506
c2d54929
JM
24507 [BZ #13550]
24508 * Makerules (elide-bp-thunks): Remove variable.
24509 (elide-routines.oS): Don't use $(elide-bp-thunks).
24510 (elide-routines.os): Likewise.
24511 (elide-routines.o): Likewise.
24512 (elide-routines.op): Likewise.
24513 (elide-routines.og): Likewise.
24514 (objects): Don't use $(bp-thunks).
24515 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
24516 include.
24517 (common-generated): Do not add s-proto-bp.d.
24518 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
24519 (int): Likewise.
24520 (typ): Likewise.
24521 Do not generate makefile rules for bounded-pointer thunks.
24522 * sysdeps/generic/bp-thunks.h: Remove file.
24523 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
24524 * sysdeps/unix/s-proto-bp.S: Likewise.
24525
8cf28c5e
JM
24526 [BZ #15062]
24527 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
24528 parts of result separately when argument is not close to line from
24529 -i to i and one part of argument is small.
24530 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24531 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24532 * math/libm-test.inc (cacos_test): Add more tests.
24533 (casin_test): Likewise.
24534 (casinh_test): Likewise.
24535 * sysdeps/i386/fpu/libm-test-ulps: Update.
24536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24537
c4e33b8d
DM
245382013-01-31 David S. Miller <davem@davemloft.net>
24539
24540 * po/de.po: Update from translation team.
24541
3b60b421
MK
245422013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
24543
24544 * time/tzfile.c: Include stdint.h for SIZE_MAX.
24545
bb931195
TS
245462013-01-25 Thomas Schwinge <thomas@codesourcery.com>
24547
b5a5da23
TS
24548 * configure.in (_AC_PROG_CC_C89): New definition.
24549 * configure: Regenerate.
24550
bb931195
TS
24551 * configure.in (AC_PROG_CPP): New definition.
24552 * configure: Regenerate.
24553
8c53a12c
JM
245542013-01-23 Joseph Myers <joseph@codesourcery.com>
24555
24556 * debug/tst-backtrace.h: New file.
24557 * debug/tst-backtrace2.c: Include tst-backtrace.h.
24558 (ret): Remove variable.
24559 (x): Likewise.
24560 (FAIL): Remove macro.
24561 (NO_INLINE): Likewise.
24562 (fn1): Use match function instead of strstr.
24563 * debug/tst-backtrace3.c: Include tst-backtrace.h.
24564 (ret): Remove variable.
24565 (x): Likewise.
24566 (FAIL): Remove macro.
24567 (NO_INLINE): Likewise.
24568 (fn): Use match function instead of strstr.
24569 * debug/tst-backtrace4.c: Include tst-backtrace.h.
24570 (ret): Remove variable.
24571 (x): Likewise.
24572 (FAIL): Remove macro.
24573 (NO_INLINE): Likewise.
24574 (handle_signal): Use match function instead of strstr.
24575 * debug/tst-backtrace5.c: Include tst-backtrace.h.
24576 (ret): Remove variable.
24577 (x): Likewise.
24578 (FAIL): Remove macro.
24579 (NO_INLINE): Likewise.
24580 (handle_signal): Use match function instead of strstr.
24581
4858fa2a
RM
245822013-01-23 Roland McGrath <roland@hack.frob.com>
24583
24584 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
24585
bae8e7f5
DM
245862013-01-23 David S. Miller <davem@davemloft.net>
24587
24588 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
24589 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
24590 argument of CAS if possible.
24591 * sysdeps/sparc/sparc64/bits/atomic.h
24592 (__arch_compare_and_exchange_val_32_acq): Likewise.
24593 (__arch_compare_and_exchange_val_64_acq): Likewise.
24594
9cbbc4ae
PT
245952013-01-23 Pino Toscano <toscano.pino@tiscali.it>
24596
24597 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
24598 * sysdeps/posix/ulimit.c: ... this.
92a601b8 24599 Include <limits.h>.
67b3f58c 24600 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 24601
5655a0b5
AC
246022013-01-23 Adam Conrad <adconrad@0c3.net>
24603
24604 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
24605 (LDFLAGS-tst-array5): Likewise.
24606
052aff95
JM
246072013-01-23 Joseph Myers <joseph@codesourcery.com>
24608
24609 [BZ #15036]
24610 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
24611 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
24612 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
24613 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
24614
7c1e01aa
DM
246152013-01-21 David S. Miller <davem@davemloft.net>
24616
24617 * sysdeps/sparc/backtrace.c: New file.
24618 * sysdeps/sparc/sparc32/backtrace.h: New file.
24619 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
24620 * sysdeps/sparc/sparc64/backtrace.h: New file.
24621 * sysdeps/sparc/sparc64/backtrace.c: Delete.
24622 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
24623 -funwind-tables.
24624
ab087e0a
AS
246252013-01-21 Andreas Schwab <schwab@suse.de>
24626
24627 [BZ #15020]
24628 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
24629 closed its stdout.
24630
ed689c2f
AS
246312013-01-20 Andreas Schwab <schwab@linux-m68k.org>
24632
24633 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
24634 "mpa2.h".
24635 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24636
31d470ac
JM
246372013-01-18 Joseph Myers <joseph@codesourcery.com>
24638 Mark Mitchell <mark@codesourcery.com>
24639 Tom de Vries <tom@codesourcery.com>
24640 Paul Pluzhnikov <ppluzhnikov@google.com>
24641
24642 * debug/tst-backtrace2.c: New file.
24643 * debug/tst-backtrace3.c: Likewise.
24644 * debug/tst-backtrace4.c: Likewise.
24645 * debug/tst-backtrace5.c: Likewise.
24646 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
24647 (CFLAGS-tst-backtrace3.c): Likewise.
24648 (CFLAGS-tst-backtrace4.c): Likewise.
24649 (CFLAGS-tst-backtrace5.c): Likewise.
24650 (LDFLAGS-tst-backtrace2): Likewise.
24651 (LDFLAGS-tst-backtrace3): Likewise.
24652 (LDFLAGS-tst-backtrace4): Likewise.
24653 (LDFLAGS-tst-backtrace5): Likewise.
24654 (tests): Add new tests tst-backtrace2, tst-backtrace3,
24655 tst-backtrace4 and tst-backtrace5.
24656
90567f30 246572013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
24658 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24659
24660 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
24661 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
24662 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
24663 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
24664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24665 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
24666 "+r" and remove output regs list as redundant. Add explicit inline
24667 asm to specify register of return val to work around compiler codegen
24668 bug. Remove (int) cast on return value. Add return type parameter to
24669 use in macro so that this macro does not truncate return value for
24670 64-bit values.
24671 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
24672 pass to INTERNAL_VSYSCALL_NCS.
24673 (INLINE_VSYSCALL): Add 'long int' as return type to
24674 INTERNAL_VSYSCALL_NCS macro invocation.
24675 (INTERNAL_VSYSCALL): Add 'long int' as return type to
24676 INTERNAL_VSYSCALL_NCS macro invocation.
24677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24678
d3b9ea61
SP
246792013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24680
0b57daeb
SP
24681 [BZ #14496]
24682 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
24683 Fix application of SIMD FP exception mask.
24684
caa99d06
SP
24685 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
24686 mp_no from a power of two.
24687 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
24688 __mpexp_twomm1. Use __pow_mp.
24689
d3b9ea61
SP
24690 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
24691 multiplication.
24692
1dbaee3c
DM
246932013-01-17 David S. Miller <davem@davemloft.net>
24694
24695 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24696
728d7b43
JM
246972013-01-17 Joseph Myers <joseph@codesourcery.com>
24698
24699 [BZ #15023]
24700 * include/complex.h: Condition contents on [!_COMPLEX_H].
24701 (__kernel_casinhf): New prototype.
24702 (__kernel_casinh): Likewise.
24703 (__kernel_casinhl): Likewise.
24704 * math/Makefile (libm_calls): Add k_casinh.
24705 * math/k_casinh.c: New file.
24706 * math/k_casinhf.c: Likewise.
24707 * math/k_casinhl.c: Likewise.
24708 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
24709 finite nonzero arguments.
24710 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
24711 finite nonzero arguments.
24712 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
24713 finite nonzero arguments.
24714 * math/s_casinh.c: Do not include <float.h>.
24715 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
24716 * math/s_casinhf.c: Do not include <float.h>.
24717 (__casinhf): Move code for finite nonzero arguments to
24718 k_casinhf.c.
24719 * math/s_casinhl.c: Do not include <float.h>.
24720 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
24721 redefine.
24722 (__casinhl): Move code for finite nonzero arguments to
24723 k_casinhl.c.
24724 * math/libm-test.inc (cacos_test): Add more tests.
24725 * sysdeps/i386/fpu/libm-test-ulps: Update.
24726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24727
2a26ef3a
PT
247282013-01-17 Pino Toscano <toscano.pino@tiscali.it>
24729
24730 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
24731 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
24732 [!HAVE_MREMAP]: Remove [defined linux] case.
24733 * malloc/arena.c: Do not include <malloc-sysdep.h>.
24734
a897655d
SP
247352013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24736
24737 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
24738
881ebe89 247392013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
24740
24741 * elf/elf.h (R_386_SIZE32): New relocation.
24742 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
24743 R_386_SIZE32.
24744 (elf_machine_rela): Likewise.
24745 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24746 R_X86_64_SIZE64 and R_X86_64_SIZE32.
24747
59981e9b
JM
247482013-01-17 Joseph Myers <joseph@codesourcery.com>
24749
24750 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
24751 (FP_FAST_FMA): Do not define.
24752 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
24753 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
24754 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
24755 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
24756 !_SOFT_FLOAT]: Likewise.
24757 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
24758 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
24759 value.
24760 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
24761 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
24762 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
24763 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
24764 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
24765 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
24766 file.
24767
cfa8054f
AS
247682013-01-16 Andreas Schwab <schwab@suse.de>
24769
24770 [BZ #14327]
24771 * include/stdlib.h (__mktemp): Add declaration.
24772 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
24773 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
24774
dd930cc5
SP
247752013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24776
881ebe89
SP
24777 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
24778 definitions.
24779 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24780 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
24781 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
24782 definitions here.
24783 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
24784 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
24785 definitions.
24786 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
24787 and ONE.
24788 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
24789 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
24790 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
24791 definitions.
24792 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
24793 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
24794 definitions.
24795 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 24796
dd930cc5
SP
24797 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
24798
c19a9f89
DM
247992013-01-15 David S. Miller <davem@davemloft.net>
24800
1aa61767
DM
24801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24802 trunc{,f} to libm-sysdep_routes.
24803 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
24805 file.
24806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
24807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
24808 file.
24809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
24810 file.
24811 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
24812 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
24813 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
24814 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
24815 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
24816 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
24817 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
24818 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
24819
c42d5e98
DM
24820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24821 nearbyint{,f} to libm-sysdep_routes.
24822 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
24824 New file.
24825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
24826 file.
24827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
24828 New file.
24829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
24830 file.
24831 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
24832 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
24833 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
24834 file.
24835 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
24836 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
24837 file.
24838 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
24839 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
24840 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
24841
c19a9f89
DM
24842 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24843 libc_feholdexcept and libc_fesetenv.
24844
357679d2
MF
248452013-01-15 Mike Frysinger <vapier@gentoo.org>
24846
24847 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
24848
65a82e3d
DM
248492013-01-14 David S. Miller <davem@davemloft.net>
24850
8b954ab9
DM
24851 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
24852 (SPARC_ASM_VIS2_IFUNC): Likewise.
24853 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
24854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
24855 use of 'siam' instruction.
24856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
24857 Likewise.
24858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
24859 Likewise.
24860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
24861 Likewise.
24862 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
24863 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
24864 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
24865 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
24866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
24867 file.
24868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
24869 file.
24870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
24871 file.
24872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
24873 file.
24874 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
24875 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
24876 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
24877 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
24878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
24879 new VIS2 routines.
24880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24883 Likewise.
24884 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24885 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24886 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24887 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
24889 routines to libm-sysdep_routines.
24890 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24891
65a82e3d
DM
24892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24893 fdim/fdimf to libm-sysdep_routines.
24894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
24895 file.
24896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
24897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
24898 file.
24899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
24900 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
24901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
24902 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
24903 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
24904 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
24905 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
24906
e34ab705
SP
249072013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24908
2a91b573
SP
24909 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
24910 to optimize copies.
24911
1066a534
SP
24912 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
24913 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24914 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24915
e34ab705
SP
24916 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
24917 local variable MPTWO.
24918 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24919 Likewise.
24920
aba5e596
MF
249212013-01-13 Mike Frysinger <vapier@gentoo.org>
24922
24923 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
24924 GLOB_NOESCAPE.
24925
e557e9e5
MF
249262013-01-13 Mike Frysinger <vapier@gentoo.org>
24927
24928 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
24929
0428cec9
MF
249302013-01-13 Mike Frysinger <vapier@gentoo.org>
24931
24932 * manual/pattern.texi (glob_t): Document gl_flags.
24933 (glob64_t): Likewise.
24934
8794a964
DM
249352013-01-11 David S. Miller <davem@davemloft.net>
24936
66438c3f
RM
24937 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
24938 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
24939 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
24940 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
24941 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
24942 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
24943 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
24944 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
24945 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
24946 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
24947 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
24948 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
24949 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
24950
4ae4244d
DM
24951 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24952 sparc V9 rather than using V8 code.
24953 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24954 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24955
8794a964
DM
24956 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24957 Move to...
24958 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
24959 Here.
24960
6270516e
RM
249612013-01-11 Roland McGrath <roland@hack.frob.com>
24962
24963 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
24964 not in the main loop.
24965 * configure: Regenerated.
24966
6a57d931
JM
249672013-01-11 Joseph Myers <joseph@codesourcery.com>
24968
24969 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
24970 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
24971 to just #else.
24972 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
24973 [!__GLIBC_HAVE_LONG_LONG] case.
24974 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
24975 condition to just #else.
24976 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
24977 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
24978 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
24979 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
24980 unconditional.
24981 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
24982 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24983 #elif condition to just #else.
24984 * sysdeps/unix/sysv/linux/sys/sysmacros.h
24985 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
24986 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24987 #elif condition to just #else.
24988
0e8529e9
SE
249892013-01-11 Steve Ellcey <sellcey@mips.com>
24990
24991 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
24992 (EF_MIPS_ARCH_64): Fix value.
24993 (EF_MIPS_ARCH_32R2): New.
24994 (EF_MIPS_ARCH_64R2): New.
24995
740b3dbe
L
249962013-01-11 H.J. Lu <hongjiu.lu@intel.com>
24997
24998 * Makeconfig (+link-pie-before-libc): New.
24999 (+link-pie-after-libc): Likewise.
25000 (+link-pie-tests): Likewise.
25001 (+link-pie): Rewritten.
25002 (link-before-libc): Remove $(config-LDFLAGS).
25003 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
25004 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
25005 (config-LDFLAGS): Renamed to ...
25006 (rtld-LDFLAGS): This.
25007 (rtld-tests-LDFLAGS): New macro.
25008 (link-libc-rpath-link): Likewise.
25009 (link-libc-tests-rpath-link): Likewise.
25010 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
25011 (link-libc): Prepand $(link-libc-rpath-link).
25012 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
25013 (test-program-prefix): New macro.
25014 (test-via-rtld-prefix): Likewise.
25015 (test-program-cmd): Likewise.
25016 (host-test-program-cmd): Likewise.
25017 * Makefile ($(common-objpfx)testrun.sh): Replace
25018 $(run-program-prefix) with $(test-program-prefix).
25019 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
25020 $(rtld-LDFLAGS).
25021 ($(common-objpfx)shlib.lds): Likewise.
25022 (build-module-helper): Likewise.
25023 ($(common-objpfx)format.lds): Likewise.
25024 * Rules (binaries-pie-tests): New.
25025 (binaries-pie-notests): Likewise.
25026 (binaries-pie): Rewritten.
25027 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
25028 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
25029 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
25030 (make-test-out): Replace $(host-built-program-cmd) with
25031 $(host-test-program-cmd).
25032 * config.make.in (build-hardcoded-path-in-tests): New variable.
25033 * configure.in (--enable-hardcoded-path-in-tests): New configure
25034 option.
25035 (hardcoded_path_in_tests): New AC_SUBST.
25036 * configure: Regenerated.
25037 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
25038 $(built-program-cmd) with $(test-program-cmd).
25039 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
25040 (test_program_cmd): This.
25041 * elf/Makefile ($(objpfx)order.out): Run test with
25042 $(test-program-prefix).
25043 ($(objpfx)order2.out): Likewise.
25044 ($(objpfx)tst-initorder.out): Likewise.
25045 ($(objpfx)tst-initorder2.out): Likewise.
25046 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
25047 $(test-program-cmd).
25048 ($(objpfx)tst-array1-static.out): Likewise.
25049 ($(objpfx)tst-array2.out): Likewise.
25050 ($(objpfx)tst-array3.out): Likewise.
25051 ($(objpfx)tst-array4.out): Likewise.
25052 ($(objpfx)tst-array5.out): Likewise.
25053 ($(objpfx)tst-array5-static.out): Likewise.
25054 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
25055 $(test-program-cmd).
25056 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
25057 $(run-program-prefix) with $(test-program-prefix).
25058 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
25059 (test_program_prefix): This.
25060 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
25061 $(run-program-prefix) with $(test-program-prefix).
25062 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
25063 (test_program_prefix): This.
25064 * iconvdata/tst-tables.sh: Likewise.
25065 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
25066 $(run-program-prefix) with $(test-program-prefix).
25067 ($(objpfx)tst-translit.out): Likewise.
25068 ($(objpfx)tst-gettext2.out): Likewise.
25069 ($(objpfx)tst-gettext4.out): Likewise.
25070 ($(objpfx)tst-gettext6.out): Likewise.
25071 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
25072 (test_program_prefix): This.
25073 * intl/tst-gettext2.sh: Likewise.
25074 * intl/tst-gettext4.sh Likewise.
25075 * intl/tst-gettext6.sh: Likewise.
25076 * intl/tst-translit.sh: Likewise.
25077 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
25078 with $(test-program-cmd).
25079 * libio/Makefile ($(objpfx)test-freopen.out): Replace
25080 $(run-program-prefix) with $(test-program-prefix).
25081 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
25082 (test_program_prefix): This.
25083 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
25084 $(run-program-prefix) with $(test-program-prefix).
25085 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
25086 (test_program_prefix): This.
25087 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
25088 * posix/Makefile ($(objpfx)globtest.out): Replace
25089 $(run-via-rtld-prefix) and $(test-wrapper) with
25090 $(test-program-prefix) and $(test-via-rtld-prefix).
25091 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
25092 $(test-program-prefix).
25093 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
25094 $(host-test-program-cmd).
25095 (tst-spawn-ARGS): Likewise.
25096 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
25097 $(test-program-prefix).
25098 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
25099 (test_via_rtld_prefix): This.
25100 (test_wrapper): Renamed to ...
25101 (test_program_prefix): This.
25102 (run_program_prefix): Replaced by test_program_prefix.
25103 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
25104 (test_program_prefix): This.
25105 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
25106 with $(host-test-program-cmd).
25107 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
25108 $(run-program-prefix) with $(test-program-prefix).
25109 ($(objpfx)tst-printf.out): Likewise.
25110 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
25111 $(test-program-cmd).
25112 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
25113 (test_program_prefix): This.
25114 * stdio-common/tst-unbputc.sh: Likewise.
25115 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
25116 $(run-program-prefix) with $(test-program-prefix).
25117 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
25118 (test_program_prefix): This.
25119 * string/Makefile ($(objpfx)tst-svc.out): Replace
25120 $(built-program-cmd) with $(test-program-cmd).
25121
c6fe55cf
AJ
251222013-01-11 Andreas Jaeger <aj@suse.de>
25123
25124 [BZ #15003]
25125 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
25126 value. Sync with Linux 3.7.
25127
9e6919c8
DM
251282013-01-10 David S. Miller <davem@davemloft.net>
25129
25130 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
25131 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25132 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25133
1c9f1a02
RM
251342013-01-10 Roland McGrath <roland@hack.frob.com>
25135
25136 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
25137 never set.
25138 * configure: Regenerated.
25139
b9de2dde
DM
251402013-01-10 David S. Miller <davem@davemloft.net>
25141
25142 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25143 sparc V9 rather than using V8 code.
25144 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25145 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25146
e7f68ef4
RM
251472013-01-10 Roland McGrath <roland@hack.frob.com>
25148
25149 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
25150 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
25151 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
25152 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
25153 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
25154 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
25155 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
25156 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
25157 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
25158 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
25159 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
25160 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
25161 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
25162 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
25163 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
25164 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
25165 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
25166 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
25167 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
25168 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
25169 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
25170 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
25171 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
25172 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
25173 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
25174 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
25175 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
25176
5a47cc9c
DM
251772013-01-10 David S. Miller <davem@davemloft.net>
25178
25179 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25180
4cf8f209
L
251812013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25182
25183 * posix/Makefile (tests-static): New variable.
25184 (tests): Add $(tests-static).
25185 (tst-exec-static-ARGS): New variable.
25186 (tst-spawn-static-ARGS): Likewise.
25187 * posix/tst-exec-static.c: New file.
25188 * posix/tst-spawn-static.c: Likewise.
25189 * posix/tst-exec.c: Support run directly.
25190 * posix/tst-spawn.c: Likewise.
25191
fed0faa1
JM
251922013-01-10 Joseph Myers <joseph@codesourcery.com>
25193
828beb13
JM
25194 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
25195 long.
25196 * math/bits/mathcalls.h (llrint): Likewise.
25197 (llround): Likewise.
25198 * stdlib/stdlib.h (struct drand48_data): Likewise.
25199 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
25200 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
25201 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
25202 Likewise.
25203 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
25204 Likewise.
25205 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
25206 (elf_greg_t): Likewise.
25207 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
25208 (__jmp_buf): Likewise.
25209 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
25210 definitions.
25211 (llrint): Likewise, for all definitions.
25212 (llrintl): Likewise.
25213
fed0faa1
JM
25214 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
25215 Remove [__GNUC__] condition.
25216 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
25217 condition to just [__USE_ISOC99].
25218 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
25219
1a20cb20
L
252202013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25221
25222 [BZ #14200]
25223 * sysdeps/unix/sysv/linux/x86/bits/environments.h
25224 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
25225 defined.
25226 (_POSIX_V6_ILP32_OFF32): Likewise.
25227 (_XBS5_ILP32_OFF32): Likewise.
25228 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
25229 (__ILP32_OFFBIG_LDFLAGS): Likewise.
25230
751b85f7
SP
252312013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25232
7490eb81
SP
25233 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
25234
751b85f7
SP
25235 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
25236 doubles __mpexp_twomm1. Adjust usage.
25237 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
25238 Remove.
25239
988197f0
AS
252402013-01-10 Andreas Schwab <schwab@suse.de>
25241
25242 [BZ #14964]
25243 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
25244 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
25245
e83d7298
DM
252462013-01-09 David S. Miller <davem@davemloft.net>
25247
034ed64b 25248 [BZ #15003]
57f41c40
AS
25249 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
25250 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
25251 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
25252 (TCP_FASTOPEN): Define.
e83d7298
DM
25253 (tcp_repair_opt): New structure.
25254 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
25255 enum values.
57f41c40
AS
25256 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
25257 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
25258 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
25259 (tcp_cookie_transactions): New structure.
25260
d5e0b9bd
AB
252612013-01-09 Anton Blanchard <anton@samba.org>
25262
25263 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
25264 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
25265 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
25266 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25267
0c07e3ea
JM
252682013-01-09 Joseph Myers <joseph@codesourcery.com>
25269
25270 * include/features.h (__USE_ANSI): Remove.
25271
232f7002
RM
252722013-01-09 Roland McGrath <roland@hack.frob.com>
25273
ad98e30c
RM
25274 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
25275
232f7002
RM
25276 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
25277
950c99ca
SP
252782013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
25279
b5792741
SP
25280 * sysdeps/s390/fpu/libm-test-ulps: Update.
25281
47cf2278
SP
25282 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25283
950c99ca
SP
25284 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
25285 (__acr): Likewise.
25286 (__cpy): Likewise.
25287 (norm): Likewise.
25288 (denorm): Likewise.
25289 (__mp_dbl): Likewise.
25290 (__dbl_mp): Likewise.
25291 (add_magnitudes): Likewise.
25292 (sub_magnitudes): Likewise.
25293 (__add): Likewise.
25294 (__sub): Likewise.
25295 (__mul): Likewise.
25296 (__inv): Likewise.
25297 (__dvd): Likewise.
25298 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
25299 (__acr): Likewise.
25300 (__cpy): Likewise.
25301 (norm): Likewise.
25302 (denorm): Likewise.
25303 (__mp_dbl): Likewise.
25304 (__dbl_mp): Likewise.
25305 (add_magnitudes): Likewise.
25306 (sub_magnitudes): Likewise.
25307 (__add): Likewise.
25308 (__sub): Likewise.
25309 (__mul): Likewise.
25310 (__inv): Likewise.
25311 (__dvd): Likewise.
25312 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
25313 (__acr): Likewise.
25314 (__cpy): Likewise.
25315 (norm): Likewise.
25316 (denorm): Likewise.
25317 (__mp_dbl): Likewise.
25318 (__dbl_mp): Likewise.
25319 (add_magnitudes): Likewise.
25320 (sub_magnitudes): Likewise.
25321 (__add): Likewise.
25322 (__sub): Likewise.
25323 (__mul): Likewise.
25324 (__inv): Likewise.
25325 (__dvd): Likewise.
25326
eede9df9
JM
253272013-01-08 Joseph Myers <joseph@codesourcery.com>
25328
25329 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
25330 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
25331 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
25332 2 && __USE_EXTERN_INLINES]: Likewise.
25333
c40ea3d9
AJ
253342013-01-08 Andreas Jaeger <aj@suse.de>
25335
25336 [BZ# 14985]
25337 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
25338 Remove.
25339 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25340 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25341
2ccdea26
AB
253422013-01-07 Anton Blanchard <anton@samba.org>
25343
25344 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
25345 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25346 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
25347 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25348 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25349 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25350 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
25351 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25352 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25353 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25354 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25355 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25356 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25357 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25358 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
25359 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25360 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25361 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25362 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
25363 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25364 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
25365 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
25366 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25367 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
25368 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
25369 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25370 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25371 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25372 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
25373 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25374 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
25375 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25376 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25377 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25378 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25379 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25380 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25381 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25382 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
25383 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25384 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
25385 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25386 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25387
a9708fed
JM
253882013-01-07 Joseph Myers <joseph@codesourcery.com>
25389
375607b9
JM
25390 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
25391 (__MALLOC_PMT): Likewise.
25392 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
25393 [__GNUC__], only on [_LIBC].
25394 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25395 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
25396 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25397 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
25398 forward declaration.
25399 (realloc_hook_ini): Likewise.
25400 (memalign_hook_ini): Likewise.
25401 (__libc_memalign): Do not use __MALLOC_PMT in variable
25402 declaration.
25403 (__libc_valloc): Likewise.
25404 (__libc_pvalloc): Likewise.
25405 (__libc_calloc): Likewise.
25406 (__posix_memalign): Likewise.
25407
a9708fed
JM
25408 [BZ #14996]
25409 * math/s_casinh.c: Include <float.h>.
25410 (__casinh): Do not do computation with squaring and square root
25411 for large arguments.
25412 * math/s_casinhf.c: Include <float.h>.
25413 (__casinhf): Do not do computation with squaring and square root
25414 for large arguments.
25415 * math/s_casinhl.c: Include <float.h>.
25416 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
25417 (__casinhl): Do not do computation with squaring and square root
25418 for large arguments.
25419 * math/libm-test.inc (casin_test): Add more tests.
25420 (casinh_test): Likewise.
25421 * sysdeps/i386/fpu/libm-test-ulps: Update.
25422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25423
afec409a
L
254242013-01-04 H.J. Lu <hongjiu.lu@intel.com>
25425
25426 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
25427 (__x86_64_raw_data_cache_size): Likewise.
25428 (__x86_64_data_cache_size_half): Likewise.
25429 (__x86_64_raw_data_cache_size_half): Likewise.
25430 (__x86_64_shared_cache_size): Likewise.
25431 (__x86_64_raw_shared_cache_size): Likewise.
25432 (__x86_64_shared_cache_size_half): Likewise.
25433 (__x86_64_raw_shared_cache_size_half): Likewise.
25434 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
25435 to ...
25436 (__x86_data_cache_size): This.
25437 (__x86_64_raw_data_cache_size): Renamed to ...
25438 (__x86_raw_data_cache_size): This.
25439 (__x86_64_data_cache_size_half): Renamed to ...
25440 (__x86_data_cache_size_half): This.
25441 (__x86_64_raw_data_cache_size_half): Renamed to ...
25442 (__x86_raw_data_cache_size_half): This.
25443 (__x86_64_shared_cache_size): Renamed to ...
25444 (__x86_shared_cache_size): This.
25445 (__x86_64_raw_shared_cache_size): Renamed to ...
25446 (__x86_raw_shared_cache_size): This.
25447 (__x86_64_shared_cache_size_half): Renamed to ...
25448 (__x86_shared_cache_size_half): This.
25449 (__x86_64_raw_shared_cache_size_half): Renamed to ...
25450 (__x86_raw_shared_cache_size_half): This.
25451 * sysdeps/x86_64/memcpy.S: Updated.
25452 * sysdeps/x86_64/memset.S: Likewise.
25453 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25454 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25455 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25456
0b3986d0
DM
254572013-01-04 David S. Miller <davem@davemloft.net>
25458
25459 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25460
e47686e9
AS
254612013-01-04 Andreas Schwab <schwab@linux-m68k.org>
25462
d643bac1
AS
25463 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
25464 1 to avoid redefinition warning.
25465 (__USE_GNU): Don't define.
25466 (init_signaling_nan): Protoize.
25467
e47686e9
AS
25468 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25469
b18decba
SP
254702013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25471
fffb407f
SP
25472 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
25473 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
25474 (__cpymn): Likewise.
25475 (norm): Remove commented code.
25476 (denorm): Likewise.
25477 (__mp_dbl): Likewise.
25478 (__inv): Likewise.
25479 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
25480 (__cpymn): Likewise.
25481 (norm): Remove commented code.
25482 (denorm): Likewise.
25483 (__mp_dbl): Likewise.
25484 (__inv): Likewise.
25485
b18decba
SP
25486 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
25487 mp_no value for 1.0 and 2.0.
25488 (norm): Use RADIXI instead of radixi.d.
25489 (denorm): Likewise.
25490 (__mul): Use 0.0 instead of zero.d.
25491 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
25492 mp_no value for 1.0 and 2.0.
25493 (norm): Use RADIXI instead of radixi.d.
25494 (denorm): Likewise.
25495 (__mul): Use 0.0 instead of zero.d.
25496
cdc1c96f
JM
254972013-01-04 Joseph Myers <joseph@codesourcery.com>
25498
25499 [BZ #14994]
25500 * math/s_casinh.c (__casinh): Reduce finite argument to first
25501 quadrant then set signs of results at the end.
25502 * math/s_casinhf.c (__casinhf): Likewise.
25503 * math/s_casinhl.c (__casinhl): Likewise.
25504 * math/libm-test.inc (casin_test): Add more tests.
25505 (casinh_test): Likewise.
25506 * sysdeps/i386/fpu/libm-test-ulps: Update.
25507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25508
302913e1
SP
255092013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25510
6420d207
SP
25511 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
25512
a9e48ab4
SP
25513 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
25514
b7837264
SP
25515 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
25516 declarations.
25517 (denorm): Likewise.
25518 (__mp_dbl): Likewise.
25519 (__inv): Likewise.
25520
f8af25d2
SP
25521 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
25522 and adjust the header comment.
25523
302913e1
SP
25524 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
25525 variable name from declaration.
25526
5d7dd1ca
L
255272013-01-03 H.J. Lu <hongjiu.lu@intel.com>
25528
25529 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25530 Initialize COMMON_CPUID_INDEX_7 element.
25531 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
25532 (CPUID_RTM): Likewise.
25533 (HAS_RTM): Likewise.
25534 (COMMON_CPUID_INDEX_7): New enum.
25535
2f5f40f4
AS
255362013-01-03 Andreas Schwab <schwab@linux-m68k.org>
25537
25538 [BZ #14981]
25539 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
25540 size is zero, record memory as freed.
25541
4056f4a0
AJ
255422013-01-03 Andreas Jaeger <aj@suse.de>
25543
25544 * po/ia.po: Add new Interlingua translation.
25545
ab15736f 255462012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
25547
25548 * locale/programs/localedef.c: Fix description of '--posix' flag.
25549
568035b7
JM
255502013-01-02 Joseph Myers <joseph@codesourcery.com>
25551
e6898b8d
JM
25552 * NEWS: Update dates in second copyright notice.
25553 * README: Update copyright dates in example.
25554 * manual/libc.texinfo: Update copyright dates.
25555 * scripts/test-installation.pl: Update copyright date in --version
25556 output.
25557
0e2f9562
JM
25558 * hurd/ctty-input.c: Fix copyright notice formatting.
25559 * hurd/ctty-output.c: Likewise.
25560 * hurd/dtable.c: Likewise.
25561 * hurd/hurd-raise.c: Likewise.
25562 * hurd/hurdprio.c: Likewise.
25563 * hurd/msgportdemux.c: Likewise.
25564 * misc/sys/file.h: Likewise.
25565 * misc/sys/ioctl.h: Likewise.
25566 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
25567 * sysdeps/mach/hurd/chdir.c: Likewise.
25568 * sysdeps/mach/hurd/fchdir.c: Likewise.
25569 * sysdeps/mach/hurd/rename.c: Likewise.
25570 * sysdeps/mach/hurd/rmdir.c: Likewise.
25571 * sysdeps/mach/hurd/seekdir.c: Likewise.
25572 * sysdeps/mach/hurd/setsid.c: Likewise.
25573 * sysdeps/posix/wait3.c: Likewise.
25574
568035b7
JM
25575 * All files with FSF copyright notices: Update copyright dates
25576 using scripts/update-copyrights.
25577 * intl/plural.c: Regenerated.
25578 * locale/programs/charmap-kw.h: Likewise.
25579 * locale/programs/locfile-kw.h: Likewise.
25580
da08f647
SP
255812013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25582
0f5477af
SP
25583 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
25584 four values.
25585
44e0d4c2
SP
25586 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
25587 calculation loop and add branch prediction.
25588
4d55b4e5
SP
25589 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
25590 check access beyond bounds of m1np.
25591
da08f647
SP
25592 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25593 MPTWO.
25594 (__inv): Remove local variable MPTWO to use the global
25595 constant.
25596 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
25597 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25598 variable MPTWO.
25599 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
25600 MP3HALFS static const.
25601
8e051029
DM
256022013-01-01 David S. Miller <davem@davemloft.net>
25603
25604 * po/ca.po: Update from translation team.
25605
f4cf5f2d
JM
256062013-01-01 Joseph Myers <joseph@codesourcery.com>
25607
25608 * scripts/update-copyrights: New file.
25609 * Makeconfig: Reformat copyright notice.
25610 * ctype/ctype.h: Likewise.
25611 * debug/swprintf_chk.c: Likewise.
25612 * elf/dl-cache.c: Likewise.
25613 * elf/dl-debug.c: Likewise.
25614 * elf/dl-object.c: Likewise.
25615 * grp/initgroups.c: Likewise.
25616 * hurd/Makefile: Likewise.
25617 * hurd/hurd/signal.h: Likewise.
25618 * hurd/hurdfault.c: Likewise.
25619 * hurd/hurdioctl.c: Likewise.
25620 * hurd/hurdlookup.c: Likewise.
25621 * hurd/intr-msg.c: Likewise.
25622 * iconv/gconv_open.c: Likewise.
25623 * libio/swprintf.c: Likewise.
25624 * locale/lc-ctype.c: Likewise.
25625 * locale/nl_langinfo.c: Likewise.
25626 * mach/Machrules: Likewise.
25627 * mach/Makefile: Likewise.
25628 * malloc/obstack.h: Likewise.
25629 * manual/Makefile: Likewise.
25630 * manual/tsort.awk: Likewise.
25631 * misc/bits/stab.def: Likewise.
25632 * nis/nis_print_group_entry.c: Likewise.
25633 * nis/nis_table.c: Likewise.
25634 * nis/nss_compat/compat-pwd.c: Likewise.
25635 * nis/nss_compat/compat-spwd.c: Likewise.
25636 * po/Makefile: Likewise.
25637 * posix/fnmatch.c: Likewise.
25638 * posix/regex.h: Likewise.
25639 * resolv/Makefile: Likewise.
25640 * resolv/nss_dns/dns-network.c: Likewise.
25641 * resolv/res_hconf.c: Likewise.
25642 * scripts/gen-sorted.awk: Likewise.
25643 * soft-fp/soft-fp.h: Likewise.
25644 * stdio-common/printf.h: Likewise.
25645 * stdlib/monetary.h: Likewise.
25646 * stdlib/random.c: Likewise.
25647 * stdlib/random_r.c: Likewise.
25648 * sysdeps/generic/Makefile: Likewise.
25649 * sysdeps/gnu/Makefile: Likewise.
25650 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25651 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25652 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25653 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25654 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25655 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25656 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25657 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25658 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25659 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25660 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25661 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25662 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25663 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25664 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
25665 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25666 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25667 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25668 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25669 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25670 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25671 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25672 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25673 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25674 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
25675 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
25676 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
25677 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
25678 * sysdeps/mach/hurd/errnos.awk: Likewise.
25679 * sysdeps/mach/hurd/fork.c: Likewise.
25680 * sysdeps/mach/hurd/getcwd.c: Likewise.
25681 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
25682 * sysdeps/mach/hurd/mmap.c: Likewise.
25683 * sysdeps/mach/hurd/utimes.c: Likewise.
25684 * sysdeps/mach/hurd/xmknod.c: Likewise.
25685 * sysdeps/posix/profil.c: Likewise.
25686 * sysdeps/posix/readdir_r.c: Likewise.
25687 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25688 * sysdeps/powerpc/bits/setjmp.h: Likewise.
25689 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
25690 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25691 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25692 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25693 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25694 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25695 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25696 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25697 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25698 * sysdeps/pthread/lio_listio.c: Likewise.
25699 * sysdeps/sparc/dl-procinfo.h: Likewise.
25700 * sysdeps/unix/i386/sysdep.S: Likewise.
25701 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
25702 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
25703 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
25704 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
25705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25706 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
25707 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
25708 * sysdeps/unix/sysv/linux/speed.c: Likewise.
25709 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25710 * sysdeps/wordsize-32/divdi3.c: Likewise.
25711 * time/sys/time.h: Likewise.
25712 * wcsmbs/Makefile: Likewise.
25713
0549fbba
DM
257142013-01-01 David S. Miller <davem@davemloft.net>
25715
a141f1a7
DM
25716 * po/fr.po: Update from translation team.
25717
0549fbba
DM
25718 * catgets/gencat.c: Update copyright year.
25719 * csu/version.c: Likewise.
25720 * debug/catchsegv.sh: Likewise.
25721 * debug/pcprofiledump.c: Likewise.
25722 * debug/xtrace.sh: Likewise.
25723 * elf/ldconfig.c: Likewise.
25724 * elf/ldd.bash.in: Likewise.
25725 * elf/pldd.c: Likewise.
25726 * elf/sotruss.ksh: Likewise.
25727 * elf/sprof.c: Likewise.
25728 * iconv/iconv_prog.c: Likewise.
25729 * iconv/iconvconfig.c: Likewise.
25730 * locale/programs/locale.c: Likewise.
25731 * locale/programs/localedef.c: Likewise.
25732 * login/programs/pt_chown.c: Likewise.
25733 * malloc/memusage.sh: Likewise.
25734 * malloc/memusagestat.c: Likewise.
25735 * malloc/mtrace.pl: Likewise.
25736 * nscd/nscd.c: Likewise.
25737 * nss/getent.c: Likewise.
25738 * nss/makedb.c: Likewise.
25739 * posix/getconf.c: Likewise.
25740
18ea052c
SP
257412012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
25742
25743 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
25744 numbers.
25745
9c89fca6
MF
257462012-12-30 Mike Frysinger <vapier@gentoo.org>
25747
25748 * math/bits/mathcalls.h (modf): Use __nonnull.
25749
085ec079
SP
257502012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25751
25752 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
25753 (split): Use macro CN instead of the bare value.
25754 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
25755 could be used.
25756 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
25757 instead of the bare value.
25758 (power1): Likewise.
25759
6d9f97e1
SP
257602012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25761
d63f73be
SP
25762 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
25763 __ATAN_TWOM.
25764 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25765
6d9f97e1
SP
25766 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
25767 their values.
25768 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25769 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25770 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
25771 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25772
4c4febf5
AJ
257732012-12-28 Andreas Jaeger <aj@suse.de>
25774
af5843ef
AJ
25775 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
25776 values are from Linux 3.7.
25777
4c4febf5
AJ
25778 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
25779 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
25780
99136f82
SP
257812012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25782
2f216c3c 25783 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
25784 TRUE case.
25785
99136f82
SP
25786 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
25787 (norm): Likewise.
25788 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
25789 variables with preprocessor constants.
25790 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25791 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25792 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25793
7fffbdff
BH
257942012-12-27 Bruno Haible <bruno@clisp.org>
25795
25796 [BZ #14317]
25797 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
25798 only if needed.
25799
b76eb5f0
SP
258002012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25801
31a7fe5c
SP
25802 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
25803 and use variable directly.
25804 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
25805
b76eb5f0
SP
25806 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25807 MPONE.
25808 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
25809 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25810 variable MPONE.
25811 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25812 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25813 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
25814 include directive. Remove local variable MPONE.
25815 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
25816 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
25817 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25818
2c8bfe7d
DM
258192012-12-25 David S. Miller <davem@davemloft.net>
25820
25821 * version.h (RELEASE): Set to "development".
25822 (VERSION): Set to "2.17.90".
25823 * NEWS: Add 2.18 section.
25824
147d03b0
DM
258252012-12-21 David S. Miller <davem@davemloft.net>
25826
25827 * po/hr.po: Update from translation team.
25828
a8ebb2b9
AK
258292012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25830
25831 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
25832
95b4f1b6
SE
258332012-12-19 Steve Ellcey <sellcey@mips.com>
25834
b2d94007 25835 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 25836
cedb2a90
MS
258372012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25838
25839 * manual/contrib.texi (Contributors): Spelling correction.
25840
bbf527d6
DM
258412012-12-15 David S. Miller <davem@davemloft.net>
25842
25843 * po/ru.po: Update from translation team.
25844
bc38c906
DM
258452012-12-13 David S. Miller <davem@davemloft.net>
25846
85429b1a
DM
25847 * NEWS: Mention IFUNC testsuite enhancements.
25848
d283e353
DM
25849 * po/pl.po: Update from translation team.
25850 * po/bg.po: Likewise.
25851
bc38c906
DM
25852 * manual/contrib.texi (Contributors): Update entries for Hongjiu
25853 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
25854
a181b0d7
DM
258552012-12-11 David S. Miller <davem@davemloft.net>
25856
4641d57e
DM
25857 * po/sv.po: Update from translation team.
25858
f7bc6495
DM
25859 * po/vi.po: Update from translation team.
25860
6fc9048f
DM
25861 * po/cs.po: Update from translation team.
25862
a181b0d7
DM
25863 * po/de.po: Update from translation team.
25864 * po/eo.po: Likewise.
25865 * po/nl.po: Likewise.
25866
f70bfe80
SP
258672012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25868
3c8b4190
SP
25869 [BZ #14246]
25870 * manual/argp.texi (Argp Helper Functions): Move node to follow
25871 Argp Parsing State.
25872
f70bfe80
SP
25873 [BZ #14872]
25874 * manual/conf.texi (Limits on File System Capacity): Mention if
25875 terminating null is included in the max size.
25876
188f0adf
AJ
258772012-12-10 Andreas Jaeger <aj@suse.de>
25878
25879 * po/cs.po: Update from translation team.
25880
56e7d3ad
SP
258812012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25882
25883 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
25884 void pointer and cast to uintptr_t.
25885 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
25886 path.
25887 * sysdeps/s390/s390-64/memcpy.S: Likewise.
25888 * sysdeps/s390/s390-64/memset.S: Likewise.
25889
76f2d2ea 258902012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
25891
25892 [BZ #14833]
25893 * menual/message.texi (Message Translation): Fix typos.
25894 (Helper programs for gettext): Likewise.
25895
67cbf9a2
AS
258962012-12-07 Andreas Schwab <schwab@linux-m68k.org>
25897
25898 [BZ #14898]
25899 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
25900 Change to -1.
25901
682d0e9a
DM
259022012-12-07 David S. Miller <davem@davemloft.net>
25903
25904 * po/libc.pot: Update.
25905
573cd484
RH
259062012-12-07 Richard Henderson <rth@redhat.com>
25907
7e9da188 25908 [BZ #10114]
573cd484
RH
25909 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
25910 normal/normal case to before the switch.
25911 (_FP_DIV): Likewise.
25912
e933a943
MF
259132012-12-06 Carlos O'Donell <carlos@systemhalted.org>
25914 Mike Frysinger <vapier@gentoo.org>
25915
25916 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
25917 check for __NR_fadvise64_64.
25918
82123268
CM
259192012-12-06 Chris Metcalf <cmetcalf@tilera.com>
25920
25921 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
25922 0, not just to plain "0" as a statement.
25923 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
25924 with cw.
25925
d9814526
JM
259262012-12-06 Joseph Myers <joseph@codesourcery.com>
25927
25928 * NEWS: Use sourceware.org in Bugzilla URL.
25929
7728c574
SP
259302012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25931
f16946dd
SP
25932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25933 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25934
5704bbcb
SP
25935 * stdio-common/tst-put-error.c (do_test): Add newline to the
25936 padded test to ensure flush.
25937
17aa0516
JL
259382012-12-05 Jeff Law <law@redhat.com>
25939
25940 * sunrpc/etc.rpc (fedfs_admin): Add entry.
25941
363313b5
JM
259422012-12-05 Joseph Myers <joseph@codesourcery.com>
25943
effbd42a
JM
25944 * README: Don't refer to ports add-on as distributed separately.
25945 Mention AArch64 in list of systems supported in the ports add-on.
25946
87600365
JM
25947 * LICENSES: Add more non-FSF copyright and license notices.
25948
a0d7066a
JM
25949 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
25950 ((unused)).
25951
66ca5a5b
JM
25952 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
25953
363313b5
JM
25954 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
25955 10000 as width of padded output.
25956
b37984ad
JM
259572012-12-04 Joseph Myers <joseph@codesourcery.com>
25958
9003570a
JM
25959 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
25960
b37984ad
JM
25961 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
25962 variable LX with __attribute__ ((unused)).
25963 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25964 Likewise.
25965 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25966 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25967 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
25968 with __attribute__ ((unused)).
25969
c8df52ec
DM
259702012-12-04 David S. Miller <davem@abraco.davemloft.net>
25971
25972 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
25973
b3b099af
JM
259742012-12-04 Joseph Myers <joseph@codesourcery.com>
25975
c33aa6e3
JM
25976 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
25977 (CFLAGS-nldbl-acos.c): New variable.
25978 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
25979 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
25980 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
25981 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
25982 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
25983 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
25984 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
25985 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
25986 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
25987 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
25988 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
25989 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
25990 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
25991 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
25992 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
25993 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
25994 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
25995 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
25996 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
25997 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
25998 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
25999 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
26000 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
26001 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
26002 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
26003 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
26004 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
26005 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
26006 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
26007 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
26008 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
26009 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
26010 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
26011 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
26012 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
26013 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
26014 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
26015 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
26016 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
26017 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
26018 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
26019 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
26020 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
26021 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
26022 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
26023 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
26024 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
26025 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
26026 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
26027 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
26028 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
26029 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
26030 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
26031 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
26032 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
26033 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
26034 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
26035 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
26036 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
26037 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
26038 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
26039 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
26040 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
26041 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
26042 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
26043 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
26044 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
26045 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
26046 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
26047 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
26048 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
26049 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
26050 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
26051 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
26052 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
26053 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
26054 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
26055 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
26056 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
26057 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
26058 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
26059 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
26060 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
26061 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
26062 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
26063 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
26064 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
26065 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
26066 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
26067 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
26068 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
26069 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
26070 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
26071 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
26072 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
26073 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
26074 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
26075
20f0018d
JM
26076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26077 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26078
b3b099af
JM
26079 [BZ #14914]
26080 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
26081 whole low double instead of just low 47 bits when splitting values
26082 into two parts.
26083
029264d1
AM
260842012-12-03 Allan McRae <allan@archlinux.org>
26085
26086 * manual/stdio.texi (Predefined Printf Handlers): Remove
26087 @hsep and @vsep usage.
26088
c9d6789e
MF
260892012-12-03 Mike Frysinger <vapier@gentoo.org>
26090
26091 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
26092 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
26093
4b7634a5
JL
260942012-12-03 Jeff Law <law@redhat.com>
26095
26096 * time/sys/time.h (settimeofday): Do not mark TV argument
26097 as __nonnull.
26098
eb6cbd24
MF
260992012-12-01 Mike Frysinger <vapier@gentoo.org>
26100
26101 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
26102 when currently writing and seek to current position when not.
26103 * libio/Makefile (tests): Remove bug-fclose1.
26104 * libio/bug-fclose1.c: Delete.
26105
f638872a
JM
261062012-12-01 Joseph Myers <joseph@codesourcery.com>
26107
26108 * manual/arith.texi (feenableexcept): Fix typo.
26109 (fedisableexcept): Likewise.
26110
48085d14
RM
261112012-11-30 Roland McGrath <roland@hack.frob.com>
26112
26113 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
26114 second, differently-typed declaration, rather than a cast.
26115
1a538b9f
SP
261162012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26117
26118 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
26119 * include/rpc/svc.h: ... here.
26120
d07f2ff1 261212012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
26122
26123 [BZ #13013]
26124 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
26125 depending n and resplen2 to catch cases where answer
26126 equals answerp2.
26127
c93ec1f0
CD
261282012-11-29 Carlos O'Donell <carlos@systemhalted.org>
26129
26130 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
26131 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
26132
37db69de
MF
261332012-11-29 Mike Frysinger <vapier@gentoo.org>
26134
26135 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
26136
e10c4e4f
RM
261372012-11-29 Roland McGrath <roland@hack.frob.com>
26138
26139 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
26140
2af1b328
JL
261412012-11-28 Jeff Law <law@redhat.com>
26142
26143 [BZ #13761]
26144 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
26145 dataset_temporary. Track alloca usage into alloca_used.
26146 If dataset is large allocate and release it via malloc/free.
26147
111db5b1
FW
261482012-06-04 Florian Weimer <fweimer@redhat.com>
26149
f06cc227 26150 [BZ #14197]
111db5b1
FW
26151 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
26152
dd694abd
DM
261532012-11-28 David S. Miller <davem@davemloft.net>
26154
26155 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26156
9984dd01
JM
261572012-11-28 Joseph Myers <joseph@codesourcery.com>
26158
26159 [BZ #14803]
26160 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
26161 of pi/2 rounded to nearest to 64 bits.
26162 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
26163 nearest to 64 bits.
26164 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
26165 bits.
26166
14bc93a9
JL
261672012-11-28 Jeff Law <law@redhat.com>
26168 Martin Osvald <mosvald@redhat.com>
26169
26170 [BZ #14889]
26171 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
26172 * sunrpc/svc.c: Include time.h.
26173 (__svc_accept_failed): New function.
26174 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
26175 any reason other than EINTR, call __svc_accept_failed.
26176 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
26177 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
26178
e3c6aa3a
AS
261792012-11-28 Andreas Schwab <schwab@suse.de>
26180
26181 * scripts/abilist.awk: Also handle indirect functions in .opd
26182 section.
26183
1bead169
JM
261842012-11-28 Joseph Myers <joseph@codesourcery.com>
26185
26186 [BZ #13881]
26187 * sysdeps/x86/fpu/powl_helper.c: New file.
26188 * sysdeps/x86/fpu/Makefile: Likewise.
26189 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
26190 (p3): New object.
26191 (__ieee754_powl): Use __powl_helper for finite arguments except
26192 integer exponents below 8.
26193 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
26194 (p3): New object.
26195 (__ieee754_powl): Use __powl_helper for finite arguments except
26196 integer exponents below 8.
26197 * math/libm-test.inc (pow_test): Add more tests and enable some
26198 previously disabled tests.
26199 * sysdeps/i386/fpu/libm-test-ulps: Update.
26200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26201
0817d63d
SP
262022012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26203 Carlos O'Donell <carlos_odonell@mentor.com>
26204
26205 * nss/makedb.c (is_prime): Assert that input is odd and greater
26206 than 4. Note that fact in a comment too.
26207 (next_prime): Add 4 to input.
26208
de2fd463
SP
262092012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26210
26211 [BZ #11741]
26212 * libio/Makefile (tests): Add test case tst-fwrite-error.
26213 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
26214 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26215 * libio/tst-fwrite-error.c: New test case.
26216
c515fb51
L
262172012-11-26 H.J. Lu <hongjiu.lu@intel.com>
26218
26219 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
26220 before casting to void *.
26221 * include/libc-internal.h (__pointer_type): New macro.
26222 (__integer_if_pointer_type_sub): Likewise.
26223 (__integer_if_pointer_type): Likewise.
26224 (cast_to_integer): Likewise.
26225 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
26226 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
26227 before casting to atomic64_t.
26228 (atomic_exchange_acq): Likewise.
26229 (__arch_exchange_and_add_body): Likewise.
26230 (__arch_add_body): Likewise.
26231 (atomic_add_negative): Likewise.
26232 (atomic_add_zero): Likewise.
26233
4cf77aa9
JM
262342012-11-26 Joseph Myers <joseph@codesourcery.com>
26235
26236 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
26237 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
26238 (add_fdes): Likewise.
26239 (linear_search_fdes): Likewise.
26240 (binary_search_unencoded_fdes): Likewise.
26241
d260b3b4
AS
262422012-11-26 Andreas Schwab <schwab@linux-m68k.org>
26243
26244 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
26245
67060746
AC
262462012-11-24 Adam Conrad <adconrad@0c3.net>
26247
26248 * configure.in: Autodetect C++ header directories.
26249 * configure: Regenerated.
26250
800938a1
MF
262512012-11-23 Mike Frysinger <vapier@gentoo.org>
26252
26253 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
26254
4e6e34e6
AS
262552012-11-23 Andreas Schwab <schwab@linux-m68k.org>
26256
26257 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26258
7c7feb47
JM
262592012-11-22 Joseph Myers <joseph@codesourcery.com>
26260
7184dcdf
JM
26261 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
26262 LDBL_MANT_DIG == 106]: Disable some tests.
26263 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26264 Likewise.
26265 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26266 Likewise.
26267
0a42601f
JM
26268 [BZ #14871]
26269 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
26270 input for small inputs. Return +/- pi/2 for large inputs.
26271 * math/libm-test.inc (atan_test): Add more tests.
26272
79c9b9fe
JM
26273 * sysdeps/generic/unwind-dw2-fde-glibc.c
26274 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
26275 __attribute__ ((unused)).
26276
c60d3bf2
JM
26277 [BZ #14645]
26278 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
26279 x * y if x and y are nonzero and z is zero.
26280
ef1e0867
JM
26281 [BZ #14811]
26282 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
26283 nonzero exponents with absolute value below 0x1p-117 to +/-
26284 0x1p-117.
26285
1468ded3
JM
26286 [BZ #14869]
26287 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
26288 up arguments below 2**-450, not just those below 2**-500.
26289 * math/libm-test.inc (hypot_test): Add another test.
26290
8e27e3cc
JM
26291 [BZ #14868]
26292 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
26293 Return a+b for ratio over 2**120, not 2**60.
26294 * math/libm-test.inc (hypot_test): Add another test.
26295
c9c0279b
JM
26296 * math/libm-test.inc (clog_test): Use
26297 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
26298 (clog10_test): Likewise.
26299
7c7feb47
JM
26300 [BZ #6778]
26301 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
26302
fff1530e
AS
263032012-11-22 Andreas Schwab <schwab@suse.de>
26304
26305 * sysdeps/i386/fpu/libm-test-ulps: Update.
26306
94558d30
PT
263072012-11-22 Pino Toscano <toscano.pino@tiscali.it>
26308
26309 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
26310 printf output with newline.
26311
7e1be741
L
263122012-11-21 H.J. Lu <hongjiu.lu@intel.com>
26313
6bfea974
L
26314 [BZ #14865]
26315 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
26316 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
26317 -z nodlopen, -z initfirst and -z execstack support.
26318 * configure: Regenerated.
26319
7e1be741
L
26320 * elf/elf.h (DF_1_NODIRECT): New macro.
26321 (DF_1_IGNMULDEF): Likewise.
26322 (DF_1_NOKSYMS): Likewise.
26323 (DF_1_NOHDR): Likewise.
26324 (DF_1_EDITED): Likewise.
26325 (DF_1_NORELOC): Likewise.
26326 (DF_1_SYMINTPOSE): Likewise.
26327 (DF_1_GLOBAUDIT): Likewise.
26328 (DF_1_SINGLETON): Likewise.
26329 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
26330 DT_1_SUPPORTED_MASK bits.
26331 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
26332
105ce2ce
CD
263332012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
26334
26335 * sysdeps/unix/make-syscalls.sh: Document prefixes.
26336
123be9de
TS
263372012-11-20 Thomas Schwinge <thomas@codesourcery.com>
26338
d072f3f7
TS
26339 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
26340 macro.
26341
123be9de
TS
26342 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
26343 (sendmmsg): Move declarations...
26344 * socket/sys/socket.h: ... here.
26345 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
26346 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
26347 include it from...
26348 * socket/recvmmsg.c: ... this new file.
26349 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
26350 (sendmmsg): Rename to __sendmmsg, create weak alias and make
26351 definition of __sendmmsg hidden.
26352 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
26353 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
26354 Move ENOSYS stub into and include it from...
26355 * socket/sendmmsg.c: ... this new file.
26356 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
26357 (sysdep_routines): Move recvmmsg and sendmmsg...
26358 * socket/Makefile (routines): ... here.
26359 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
26360 (GLIBC_PRIVATE): Add __sendmmsg.
26361 * include/sys/socket.h (__sendmmsg): Add declarations.
26362 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
26363 sendmmsg.
26364
cf9a5d18
JM
263652012-11-20 Joseph Myers <joseph@codesourcery.com>
26366
26367 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
26368 variable I1 with __attribute__ ((unused)).
26369 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26370
ecd4caf9
JM
263712012-11-19 Joseph Myers <joseph@codesourcery.com>
26372
be14d48f
JM
26373 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
26374 DUMMY variables with __attribute__ ((unused)).
26375
ecd4caf9
JM
26376 * bits/byteswap.h: Include <bits/types.h>.
26377 (__bswap_64): Use __uint64_t instead of unsigned long long int.
26378
986cab95
PT
263792012-11-19 Pino Toscano <toscano.pino@tiscali.it>
26380
26381 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
26382 string_t. Do not manually set errno.
26383 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
26384 length with __strnlen. Make sure to both set errno and return it on
26385 failure.
26386
6d33cc9d
DM
263872012-11-19 David S. Miller <davem@davemloft.net>
26388
26389 With help from Joseph Myers.
26390 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
26391 very large arguments properly.
26392 * math/libm-test.inc (atan_test): New tests.
26393 (atan2_test): New tests.
26394 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26395 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26396
ee663277
JM
263972012-11-19 Joseph Myers <joseph@codesourcery.com>
26398
877f2d8e
JM
26399 [BZ #14856]
26400 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
26401 Define to 3.
26402
116fc08a
JM
26403 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
26404 [POSIX] (EADDRNOTAVAIL): Likewise.
26405 [POSIX] (EAFNOSUPPORT): Likewise.
26406 [POSIX] (EALREADY): Likewise.
26407 [POSIX] (ECONNABORTED): Likewise.
26408 [POSIX] (ECONNREFUSED): Likewise.
26409 [POSIX] (ECONNRESET): Likewise.
26410 [POSIX] (EDESTADDRREQ): Likewise.
26411 [POSIX] (EDQUOT): Likewise.
26412 [POSIX] (EHOSTUNREACH): Likewise.
26413 [POSIX] (EIDRM): Likewise.
26414 [POSIX] (EISCONN): Likewise.
26415 [POSIX] (ELOOP): Likewise.
26416 [POSIX] (EMULTIHOP): Likewise.
26417 [POSIX] (ENETDOWN): Likewise.
26418 [POSIX] (ENETUNREACH): Likewise.
26419 [POSIX] (ENOBUFS): Likewise.
26420 [POSIX] (ENODATA): Likewise.
26421 [POSIX] (ENOLINK): Likewise.
26422 [POSIX] (ENOMSG): Likewise.
26423 [POSIX] (ENOPROTOOPT): Likewise.
26424 [POSIX] (ENOSR): Likewise.
26425 [POSIX] (ENOSTR): Likewise.
26426 [POSIX] (ENOTCONN): Likewise.
26427 [POSIX] (ENOTSOCK): Likewise.
26428 [POSIX] (EOPNOTSUPP): Likewise.
26429 [POSIX] (EOVERFLOW): Likewise.
26430 [POSIX] (EPROTO): Likewise.
26431 [POSIX] (EPROTONOSUPPORT): Likewise.
26432 [POSIX] (EPROTOTYPE): Likewise.
26433 [POSIX] (ESTALE): Likewise.
26434 [POSIX] (ETIME): Likewise.
26435 [POSIX] (ETXTBSY): Likewise.
26436 [POSIX] (EWOULDBLOCK): Likewise.
26437 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
26438 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
26439 [POSIX] (SEEK_CUR): Likewise.
26440 [POSIX] (SEEK_END): Likewise.
26441 [POSIX || UNIX98] (mode_t): Do not require.
26442 [POSIX] (off_t): Likewise.
26443 [POSIX] (pid_t): Likewise.
26444 [POSIX] (sys/stat.h): Do not allow header.
26445 [POSIX] (unistd.h): Likewise.
26446 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
26447 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
26448 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
26449 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
26450 require.
26451 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
26452 sigevent): Specify elements.
26453 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
26454 entry.
26455 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
26456 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
26457
a483863f
JM
26458 * conform/data/cpio.h-data [POSIX]: Disable whole file.
26459 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
26460 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
26461 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
26462 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
26463 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
26464 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
26465 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
26466 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
26467 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
26468 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
26469 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
26470 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
26471 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
26472 Likewise.
26473 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
26474 Likewise.
26475 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
26476 Likewise.
26477 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
26478 Likewise.
26479 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
26480 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
26481 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
26482 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
26483 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
26484 Specify lower bound on value.
26485 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
26486 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
26487 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
26488 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
26489 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
26490 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
26491 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
26492 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
26493 value.
26494 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
26495 as optional.
26496 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
26497 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
26498 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
26499 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
26500 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
26501 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
26502 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
26503 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
26504 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
26505 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
26506 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
26507 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
26508 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
26509 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
26510 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
26511 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
26512 entry.
26513 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
26514 optional.
26515 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
26516 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
26517 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
26518 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
26519 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
26520 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
26521 Likewise.
26522 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
26523 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
26524 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
26525 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
26526 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
26527 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
26528 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
26529 as optional.
26530 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
26531 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
26532 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
26533 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
26534 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
26535 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
26536 specify as optional.
26537 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
26538 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
26539 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
26540 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
26541 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
26542 [XPG3] (NL_LANGMAX): Likewise.
26543 [POSIX || XPG3] (NL_MSGMAX): Likewise.
26544 [POSIX || XPG3] (NL_NMAX): Likewise.
26545 [POSIX || XPG3] (NL_SETMAX): Likewise.
26546 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
26547 [XPG3] (NZERO): Likewise.
26548 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
26549 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
26550 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
26551 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
26552 (REG_ERANGE): Expect.
26553 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
26554 optional-constant.
26555 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
26556 Use (void) in prototype.
26557 [POSIX] (*_t): Allow.
26558 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
26559 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
26560 (WRDE_BADVAL): Expect.
26561
5ba924e3
JM
26562 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
26563 expect.
26564 [XPG3 || XPG4] (O_RSYNC): Likewise.
26565 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
26566 Likewise.
26567 [XPG3 || XPG4] (pthread_sigmask): Likewise.
26568 [XPG3 || XPG4] (sigqueue): Likewise.
26569 [XPG3 || XPG4] (sigtimedwait): Likewise.
26570 [XPG3 || XPG4] (sigwaitinfo): Likewise.
26571 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
26572 [XPG3 || XPG4] (vsnprintf): Likewise.
26573 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
26574 Likewise.
26575 [XPG3 || XPG4] (blksize_t): Likewise.
26576 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
26577 Likewise.
26578 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
26579 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
26580 [XPG3 || XPG4] (struct itimerspec): Likewise.
26581 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
26582 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
26583 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
26584 [XPG3 || XPG4] (clockid_t): Likewise.
26585 [XPG3 || XPG4] (timer_t): Likewise.
26586 [XPG3 || XPG4] (clock_getres): Likewise.
26587 [XPG3 || XPG4] (clock_gettime): Likewise.
26588 [XPG3 || XPG4] (clock_settime): Likewise.
26589 [XPG3 || XPG4] (nanosleep): Likewise.
26590 [XPG3 || XPG4] (timer_create): Likewise.
26591 [XPG3 || XPG4] (timer_delete): Likewise.
26592 [XPG3 || XPG4] (timer_gettime): Likewise.
26593 [XPG3 || XPG4] (timer_getoverrun): Likewise.
26594 [XPG3 || XPG4] (timer_settime): Likewise.
26595 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
26596 [XPG3 || XPG4] (getlogin_r): Likewise.
26597 [XPG3 || XPG4] (pread): Likewise.
26598 [XPG3 || XPG4] (pthread_atfork): Likewise.
26599 [XPG3 || XPG4] (pwrite): Likewise.
26600
ee663277
JM
26601 [BZ #14835]
26602 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
26603 <bits/siginfo.h>.
26604
942caa16
PT
266052012-11-19 Pino Toscano <toscano.pino@tiscali.it>
26606
e19af380
PT
26607 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
26608 finalizing MALLSTREAM.
26609
942caa16
PT
26610 * sysdeps/mach/hurd/syncfs.c: New file.
26611
cfde9b46
SP
266122012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26613
26614 [BZ #14719]
26615 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
26616 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
26617 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
26618 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
26619 (_nss_dns_gethostbyname4_r): Likewise.
26620 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
26621 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
26622
f6da27e5
PH
266232012-11-19 Peng Haitao <penght@cn.fujitsu.com>
26624
26625 [BZ #13763]
26626 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
26627
6665d4a2
SM
266282012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
26629
1f51ee92
SM
26630 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
26631 * elf/cache.c (print_entry): Print ",AArch64" for
26632 FLAG_AARCH64_LIB64
26633
6665d4a2
SM
26634 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
26635 * elf/cache.c (print_entry): Print ",hard-float" for
26636 FLAG_ARM_LIBHF.
26637
05b227bd
DM
266382012-11-18 David S. Miller <davem@davemloft.net>
26639
26640 With help from Joseph Myers.
26641 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
26642 cutoff to 2**-13.
26643 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
26644 cutoff to 2**-25.
26645 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
26646 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
26647 small.
26648 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
26649 * math/libm-test.inc (y0_test): New tests.
26650 (y1_test): New tests.
26651 * sysdeps/i386/fpu/libm-test-ulps: Update.
26652 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26653 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26654
786b0b67
AS
266552012-11-18 Andreas Schwab <schwab@linux-m68k.org>
26656
26657 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
26658 64-bit targets.
26659 * configure: Regenerated.
26660
8e18b86d
DM
266612012-11-17 David S. Miller <davem@davemloft.net>
26662
26663 [BZ #14811]
26664 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
26665 nonzero exponents with absolute value below 0x1p-128 to +/-
26666 0x1p-128.
26667
531f1ae0
JM
266682012-11-17 Joseph Myers <joseph@codesourcery.com>
26669
12df29e2
JM
26670 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
26671
150dc1a0
JM
26672 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
26673
531f1ae0
JM
26674 * posix/getconf-speclist.c: New file.
26675 * posix/posix-envs.def: Likewise.
26676 * posix/confstr.c (START_ENV_GROUP): New macro.
26677 (END_ENV_GROUP): Likewise.
26678 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26679 (KNOWN_PRESENT_ENV_STRING): Likewise.
26680 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26681 (UNKNOWN_ENVIRONMENT): Likewise.
26682 (confstr): Include posix-envs.def instead of handling
26683 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
26684 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
26685 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
26686 (END_ENV_GROUP): Likewise.
26687 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26688 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26689 (UNKNOWN_ENVIRONMENT): Likewise.
26690 (__sysconf): Include posix-envs.def instead of handling associated
26691 cases directly here.
26692 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
26693 preprocessing getconf-speclist.c rather than running getconf or
26694 generating empty file.
26695
a93f9cbc
PT
266962012-11-16 Pino Toscano <toscano.pino@tiscali.it>
26697
26698 * scripts/check-local-headers.sh: Ignore 'mach' headers.
26699
d64d9f87
AL
267002012-11-16 Andrej Lajovic <natrij@gmail.com>
26701
26702 [BZ #14672]
26703 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
26704
447885eb
DM
267052012-11-16 David S. Miller <davem@davemloft.net>
26706
26707 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
26708 smaller than LDBL_EPSILON/2.0L, just return xm1.
26709
bcbf9830
L
267102012-11-16 H.J. Lu <hongjiu.lu@intel.com>
26711
26712 * elf/tst-array1.c (init): Set constructor priority to 1000.
26713 (fini): Set destructor priority to 1000.
26714 * elf/tst-array2dep.c: Likewise.
26715
2b766585
SP
267162012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26717
26718 [BZ #11741]
26719 * libio/fileops.c (_IO_new_file_write): Correctly return error.
26720 (_IO_new_file_xsputn): Also return EOF if none of the input
26721 data was written when overflow failed.
26722 * libio/iopadn.c (_IO_padn): Likewise.
26723 * libio/iowpadn.c (_IO_wpadn): Likewise.
26724 * stdio-common/tst-put-error.c: Add copyright notice.
26725 (do_test): Add case for printing padded string.
26726 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
26727 _IO_padn returned error.
26728 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
26729 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
26730 return EOF.
26731
b1848fde
SP
267322012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26733
26734 * libio/libioP.h: Add comment note that the references to C++
26735 bits are now obsolete.
26736
2fd89785
MS
267372012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26738
26739 * math/libm-test.inc (check_complex): Use asprintf.
26740
e3ea5409
JM
267412012-11-14 Joseph Myers <joseph@codesourcery.com>
26742
26743 * debug/pcprofiledump.c (print_version): Update copyright year.
26744 * malloc/memusagestat.c (print_version): Likewise.
26745
2e64d265
L
267462012-11-14 H.J. Lu <hongjiu.lu@intel.com>
26747
26748 [BZ #14831]
26749 * elf/Makefile (tests): Add tst-audit8.
26750 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
26751 ($(objpfx)tst-audit8.out): New target.
26752 (tst-audit8-ENV): New variable.
26753 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
26754 audit if l_reloc_result is NULL.
26755 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
26756 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
26757 * elf/tst-audit8.c: New file.
26758
c485e4d2
MS
267592012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26760
26761 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
26762 * misc/Makefile (CFLAGS-select.c): Define.
26763 * posix/Makefile (CFLAGS-pause.c): Define.
26764
3a0d900a
DM
267652012-11-13 David S. Miller <davem@davemloft.net>
26766
26767 * crypt/Makefile: Move test targets after toplevel Rules
26768 inclusion. Grab any necessary sysdep routines when linking.
26769 * crypt/md5.c (md5_process_block): Remove define, we will always
26770 name it __md5_process_block.
26771 (md5_finish_ctx): Update md5_process_block call.
26772 (md5_stream): Likewise.
26773 (md5_process_bytes): Likewise.
26774 (md5_process_block): Rename to __md5_process_block and move to ...
26775 * crypt/md5-block.c: ... here.
26776 * crypt/sha256.c (sha256_process_block): Move to ...
26777 * crypt/sha256-block.c: ... here.
26778 * crypt/sha512.c (sha512_process_block): Move to ...
26779 * crypt/sha512-block.c: ... here.
26780 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
26781 path.
26782 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
26783 * sysdeps/sparc/sparc64/multiarch/Makefile
26784 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
26785 crypt subdir.
26786 (localedef-aux): Add md5 crypto assembler when in locale subdir.
26787 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
26788 multiarch changes.
26789 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
26790 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
26791 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
26792 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
26793 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
26794 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
26795 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
26796 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
26797 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
26798 file.
26799 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
26800 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
26801 file.
26802 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
26803
8ca89318
JM
268042012-11-13 Joseph Myers <joseph@codesourcery.com>
26805
e27d476a
JM
26806 * timezone/tzselect.ksh: Update from tzcode git revision
26807 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
26808 * timezone/zdump.c: Likewise.
26809 * timezone/zic.c: Likewise.
26810 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
26811 in TZVERSION setting, not $(PKGVERSION).
26812 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
26813 REPORT_BUGS_TO settings.
26814
8ca89318
JM
26815 [BZ #14838]
26816 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
26817 macro.
26818
47594329
MS
268192012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26820
26821 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
26822 detection to immediately after _FP_ROUND().
26823 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
26824 bits are 0.
26825
640ac3f1
DM
268262012-11-11 David S. Miller <davem@davemloft.net>
26827
26828 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
26829 inttypes.h
26830 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
26831 __close rather than their public counterparts.
26832
3d2577bb
JM
268332012-11-10 Joseph Myers <joseph@codesourcery.com>
26834
26835 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
26836 file.
26837 [UNIX98] (sem_timedwait): Do not expect.
26838 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
26839 [XPG4 || UNIX98] (sockatmark): Do not expect.
26840 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
26841 (clock_getcpuclockid): Do not expect.
26842 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
26843 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
26844 Do not expect.
26845 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
26846 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
26847 [UNIX98] (vwscanf): Likewise.
26848 [UNIX98] (vswscanf): Likewise.
26849
fb1ae1ee
JM
268502012-11-09 Joseph Myers <joseph@codesourcery.com>
26851
9ec6f8bd
JM
26852 * timezone/version.h: Remove file.
26853 * timezone/README: Do not refer to version.h.
26854 * timezone/Makefile ($(objpfx)zic.o): New dependency on
26855 $(objpfx)version.h.
26856 ($(objpfx)zdump.o): Likewise.
c3f81911 26857 ($(objpfx)version.h): New target.
9ec6f8bd 26858
0aa8f8a1
JM
26859 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
26860 2012i.
26861 * timezone/README: Don't mention modification to tzselect.ksh.
26862 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
26863 work on unmodified tzselect.ksh. Substitute version numbers in
26864 tzselect.ksh.
26865
4e87147f
JM
26866 * Makefile (format-me): Remove.
26867 (INSTALL): Adjust indentation. Use commands directly instead of
26868 using $(format-me).
26869
8b748aed
JM
26870 * aclocal.m4 (ACX_PKGVERSION): New macro.
26871 (ACX_BUGURL): Likewise.
26872 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
26873 (PKGVERSION): New AC_DEFINE_UNQUOTED.
26874 (REPORT_BUGS_TO): Likewise.
26875 * configure: Regenerated.
26876 * config.h.in (PKGVERSION): New macro.
26877 (REPORT_BUGS_TO): Likewise.
26878 * config.make.in (PKGVERSION): New variable.
26879 (PKGVERSION_TEXI): Likewise.
26880 (REPORT_BUGS_TO): Likewise.
26881 (REPORT_BUGS_TEXI): Likewise.
26882 * Makefile (format-me): Use -I$(common-objpfx)manual.
26883 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
26884 ($(common-objpfx)manual/%): New target.
26885 (manual/%): Remove target.
26886 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
26887 (print_version): Use PKGVERSION.
26888 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
26889 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
26890 and REPORT_BUGS_TO.
26891 ($(objpfx)xtrace): Likewise.
26892 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
26893 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
26894 (print_version): Use PKGVERSION.
26895 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
26896 (do_version): Use PKGVERSION.
26897 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
26898 REPORT_BUGS_TO.
26899 (common-ldd-rewrite): Likewise.
26900 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
26901 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
26902 (print_version): Use PKGVERSION.
26903 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
26904 * elf/pldd.c (argp_program_bug_address): Remove variable.
26905 (more_help): New function.
26906 (argp): Use more_help.
26907 (print_version): Use PKGVERSION.
26908 * elf/sln.c (main): Use PKGVERSION.
26909 (usage): Use REPORT_BUGS_TO.
26910 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
26911 (top level): Use PKGVERSION.
26912 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
26913 (print_version): Use PKGVERSION.
26914 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
26915 (print_version): Use PKGVERSION.
26916 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
26917 (print_version): Use PKGVERSION.
26918 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
26919 (print_version): Use PKGVERSION.
26920 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
26921 (print_version): Use PKGVERSION.
26922 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
26923 (print_version): Use PKGVERSION.
26924 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
26925 and BUGURL.
26926 ($(objpfx)memusage): Likewise.
26927 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
26928 (do_version): Use PKGVERSION.
26929 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
26930 (print_version): Use PKGVERSION.
26931 * malloc/mtrace.pl ($PACKAGE): Remove variable.
26932 ($PKGVERSION): New variable.
26933 ($REPORT_BUGS_TO): Likewise.
26934 (usage): Use $REPORT_BUGS_TO.
26935 (top level): Use $PKGVERSION.
26936 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
26937 ($(objpfx)pkgvers.texi): New rule.
26938 ($(objpfx)stamp-pkgvers): Likewise.
26939 * manual/install.texi: Include pkgvers.texi.
26940 (--with-pkgversion): Document new configure option.
26941 (--with-bugurl): Likewise.
26942 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
26943 than necessarily for this particular distribution. Use
26944 REPORT_BUGS_TO for where to report bugs.
26945 * INSTALL: Regenerated.
26946 * manual/libc.texinfo: Include pkgvers.texi.
26947 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
26948 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
26949 (print_version): Use PKGVERSION.
26950 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
26951 (print_version): Use PKGVERSION.
26952 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
26953 (print_version): Use PKGVERSION.
26954 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
26955 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
26956 macro.
26957 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
26958 (print_version): Use PKGVERSION.
26959 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
26960 (print_version): Use PKGVERSION.
26961 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
26962 and PKGVERSION.
26963
92e4b6a9
JM
26964 * timezone/checktab.awk: Update from tzcode 2012i.
26965 * timezone/ialloc.c: Likewise.
26966 * timezone/private.h: Likewise.
26967 * timezone/scheck.c: Likewise.
26968 * timezone/tzfile.h: Likewise.
26969 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
26970 (TZVERSION): Hardcode tzcode version number.
26971 * timezone/zdump.c: Update from tzcode 2012i.
26972 * timezone/zic.c: Likewise.
26973 * timezone/version.h: New file.
26974 * timezone/README: Describe version.h. Update upstream location.
26975
9bde902c
JM
26976 [BZ #14824]
26977 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
26978 (mktemp): Enable declaration.
26979 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
26980 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
26981 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
26982 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
26983 Likewise.
26984 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
26985 Likewise.
26986 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
26987 Likewise.
26988 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
26989 Likewise.
26990 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
26991 Likewise.
26992 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
26993 Likewise.
26994
fb1ae1ee
JM
26995 [BZ #14821]
26996 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
26997 offset in buffer as u_int32_t not u_long. Consistently use memcpy
26998 for copies of such integer values.
26999 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27000 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27001
2c1adbcb
AJ
270022012-11-09 Andreas Jaeger <aj@suse.de>
27003
27004 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
27005 definitions and declarations that are provided by
27006 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27007
d0f8457e
AK
270082012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27009
3a235abb 27010 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
27011 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
27012 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
27013 definition.
27014
57241e26
MS
270152012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27016
27017 * elf/elf.h: Update comment before AArch64 relocations.
27018
60e8270d
DM
270192012-11-07 David S. Miller <davem@davemloft.net>
27020
27021 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
27022 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27023 (__start_context): Declare.
27024 (__makecontext_ret): Delete.
27025 (__makecontext): Hook up __start_context instead of
27026 __makecontext_ret.
27027 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
27028 (sysdep_routines): Add __start_context when in stdlib.
27029
0fbb0fbc
JM
270302012-11-07 Joseph Myers <joseph@codesourcery.com>
27031
27032 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
27033 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
27034 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
27035 hardcoded "nm".
27036 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
27037 (READELF): New variable. Use it instead of hardcoded "readelf".
27038
eb48db7e
L
270392012-11-07 H.J. Lu <hongjiu.lu@intel.com>
27040
27041 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
27042 * sysdeps/x86/Makefile: Here.
27043 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
27044 * sysdeps/x86/tst-xmmymm.sh: This.
27045
05bcf62a
JM
270462012-11-07 Joseph Myers <joseph@codesourcery.com>
27047
c4b6cf53
JM
27048 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
27049 expectations.
27050 [UNIX98] (pthread_barrier_t): Do not expect.
27051 [UNIX98] (pthread_barrierattr_t): Likewise.
27052 [UNIX98] (pthread_spinlock_t): Likewise.
27053 [UNIX98] (pthread_barrier_destroy): Likewise.
27054 [UNIX98] (pthread_barrier_init): Likewise.
27055 [UNIX98] (pthread_barrier_wait): Likewise.
27056 [UNIX98] (pthread_barrierattr_destroy): Likewise.
27057 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
27058 [UNIX98] (pthread_barrierattr_init): Likewise.
27059 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
27060 [UNIX98] (pthread_getcpuclockid): Likewise.
27061 [UNIX98] (pthread_mutex_timedlock): Likewise.
27062 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
27063 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
27064 [UNIX98] (pthread_sigmask): Likewise.
27065 [UNIX98] (pthread_spin_destroy): Likewise.
27066 [UNIX98] (pthread_spin_init): Likewise.
27067 [UNIX98] (pthread_spin_lock): Likewise.
27068 [UNIX98] (pthread_spin_trylock): Likewise.
27069 [UNIX98] (pthread_spin_unlock): Likewise.
27070 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
27071 Do not expect.
27072 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
27073 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
27074 [XPG3 || XPG4] (pthread_cond_t): Likewise.
27075 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
27076 [XPG3 || XPG4] (pthread_key_t): Likewise.
27077 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
27078 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
27079 [XPG3 || XPG4] (pthread_once_t): Likewise.
27080 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
27081 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
27082 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
27083 [XPG3 || XPG4] (pthread_t): Likewise.
27084
cbe6e120
JM
27085 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
27086 not expect.
27087 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
27088
1b126443
JM
27089 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
27090 Change function return type to int.
27091
b961a573
JM
27092 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
27093 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
27094 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
27095 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
27096 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
27097 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
27098 [!POSIX] (posix_madvise): Likewise.
27099 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
27100 && !UNIX98].
27101 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
27102 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
27103 (mode_t): Likewise.
27104 (posix_mem_offset): Likewise.
27105 (posix_typed_mem_get_info): Likewise.
27106 (posix_typed_mem_open): Likewise.
27107
9e188909
JM
27108 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
27109 Change condition to [XOPEN2K8].
27110
05bcf62a
JM
27111 * conform/conformtest.pl: Preprocess allow-header data with -x c
27112 instead of from stdin.
27113 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
27114 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
27115 [C99-based standards] (cerfc): Likewise.
27116 [C99-based standards] (cexp2): Likewise.
27117 [C99-based standards] (cexpm1): Likewise.
27118 [C99-based standards] (clog10): Likewise.
27119 [C99-based standards] (clog1p): Likewise.
27120 [C99-based standards] (clog2): Likewise.
27121 [C99-based standards] (clgamma): Likewise.
27122 [C99-based standards] (ctgamma): Likewise.
27123 [C99-based standards] (cerff): Likewise.
27124 [C99-based standards] (cerfcf): Likewise.
27125 [C99-based standards] (cexp2f): Likewise.
27126 [C99-based standards] (cexpm1f): Likewise.
27127 [C99-based standards] (clog10f): Likewise.
27128 [C99-based standards] (clog1pf): Likewise.
27129 [C99-based standards] (clog2f): Likewise.
27130 [C99-based standards] (clgammaf): Likewise.
27131 [C99-based standards] (ctgammaf): Likewise.
27132 [C99-based standards] (cerfl): Likewise.
27133 [C99-based standards] (cerfcl): Likewise.
27134 [C99-based standards] (cexp2l): Likewise.
27135 [C99-based standards] (cexpm1l): Likewise.
27136 [C99-based standards] (clog10l): Likewise.
27137 [C99-based standards] (clog1pl): Likewise.
27138 [C99-based standards] (clog2l): Likewise.
27139 [C99-based standards] (clgammal): Likewise.
27140 [C99-based standards] (ctgammal): Likewise.
27141 * conform/data/inttypes.h-data [C99-based standards]: Include
27142 stdint.h-data. Remove all expectations for stdint.h contents.
27143 [C99-based standards] (PRI*): Do not allow.
27144 [C99-based standards] (SCN*): Likewise.
27145 [C99-based standards] (*_t): Likewise.
27146 [C99-based-standards] (PRId8): Expect macro.
27147 [C99-based-standards] (PRIi8): Likewise.
27148 [C99-based-standards] (PRIo8): Likewise.
27149 [C99-based-standards] (PRIu8): Likewise.
27150 [C99-based-standards] (PRIx8): Likewise.
27151 [C99-based-standards] (PRIX8): Likewise.
27152 [C99-based-standards] (SCNd8): Likewise.
27153 [C99-based-standards] (SCNi8): Likewise.
27154 [C99-based-standards] (SCNo8): Likewise.
27155 [C99-based-standards] (SCNu8): Likewise.
27156 [C99-based-standards] (SCNx8): Likewise.
27157 [C99-based-standards] (PRIdLEAST8): Likewise.
27158 [C99-based-standards] (PRIiLEAST8): Likewise.
27159 [C99-based-standards] (PRIoLEAST8): Likewise.
27160 [C99-based-standards] (PRIuLEAST8): Likewise.
27161 [C99-based-standards] (PRIxLEAST8): Likewise.
27162 [C99-based-standards] (PRIXLEAST8): Likewise.
27163 [C99-based-standards] (SCNdLEAST8): Likewise.
27164 [C99-based-standards] (SCNiLEAST8): Likewise.
27165 [C99-based-standards] (SCNoLEAST8): Likewise.
27166 [C99-based-standards] (SCNuLEAST8): Likewise.
27167 [C99-based-standards] (SCNxLEAST8): Likewise.
27168 [C99-based-standards] (PRIdFAST8): Likewise.
27169 [C99-based-standards] (PRIiFAST8): Likewise.
27170 [C99-based-standards] (PRIoFAST8): Likewise.
27171 [C99-based-standards] (PRIuFAST8): Likewise.
27172 [C99-based-standards] (PRIxFAST8): Likewise.
27173 [C99-based-standards] (PRIXFAST8): Likewise.
27174 [C99-based-standards] (SCNdFAST8): Likewise.
27175 [C99-based-standards] (SCNiFAST8): Likewise.
27176 [C99-based-standards] (SCNoFAST8): Likewise.
27177 [C99-based-standards] (SCNuFAST8): Likewise.
27178 [C99-based-standards] (SCNxFAST8): Likewise.
27179 [C99-based-standards] (PRId16): Likewise.
27180 [C99-based-standards] (PRIi16): Likewise.
27181 [C99-based-standards] (PRIo16): Likewise.
27182 [C99-based-standards] (PRIu16): Likewise.
27183 [C99-based-standards] (PRIx16): Likewise.
27184 [C99-based-standards] (PRIX16): Likewise.
27185 [C99-based-standards] (SCNd16): Likewise.
27186 [C99-based-standards] (SCNi16): Likewise.
27187 [C99-based-standards] (SCNo16): Likewise.
27188 [C99-based-standards] (SCNu16): Likewise.
27189 [C99-based-standards] (SCNx16): Likewise.
27190 [C99-based-standards] (PRIdLEAST16): Likewise.
27191 [C99-based-standards] (PRIiLEAST16): Likewise.
27192 [C99-based-standards] (PRIoLEAST16): Likewise.
27193 [C99-based-standards] (PRIuLEAST16): Likewise.
27194 [C99-based-standards] (PRIxLEAST16): Likewise.
27195 [C99-based-standards] (PRIXLEAST16): Likewise.
27196 [C99-based-standards] (SCNdLEAST16): Likewise.
27197 [C99-based-standards] (SCNiLEAST16): Likewise.
27198 [C99-based-standards] (SCNoLEAST16): Likewise.
27199 [C99-based-standards] (SCNuLEAST16): Likewise.
27200 [C99-based-standards] (SCNxLEAST16): Likewise.
27201 [C99-based-standards] (PRIdFAST16): Likewise.
27202 [C99-based-standards] (PRIiFAST16): Likewise.
27203 [C99-based-standards] (PRIoFAST16): Likewise.
27204 [C99-based-standards] (PRIuFAST16): Likewise.
27205 [C99-based-standards] (PRIxFAST16): Likewise.
27206 [C99-based-standards] (PRIXFAST16): Likewise.
27207 [C99-based-standards] (SCNdFAST16): Likewise.
27208 [C99-based-standards] (SCNiFAST16): Likewise.
27209 [C99-based-standards] (SCNoFAST16): Likewise.
27210 [C99-based-standards] (SCNuFAST16): Likewise.
27211 [C99-based-standards] (SCNxFAST16): Likewise.
27212 [C99-based-standards] (PRId32): Likewise.
27213 [C99-based-standards] (PRIi32): Likewise.
27214 [C99-based-standards] (PRIo32): Likewise.
27215 [C99-based-standards] (PRIu32): Likewise.
27216 [C99-based-standards] (PRIx32): Likewise.
27217 [C99-based-standards] (PRIX32): Likewise.
27218 [C99-based-standards] (SCNd32): Likewise.
27219 [C99-based-standards] (SCNi32): Likewise.
27220 [C99-based-standards] (SCNo32): Likewise.
27221 [C99-based-standards] (SCNu32): Likewise.
27222 [C99-based-standards] (SCNx32): Likewise.
27223 [C99-based-standards] (PRIdLEAST32): Likewise.
27224 [C99-based-standards] (PRIiLEAST32): Likewise.
27225 [C99-based-standards] (PRIoLEAST32): Likewise.
27226 [C99-based-standards] (PRIuLEAST32): Likewise.
27227 [C99-based-standards] (PRIxLEAST32): Likewise.
27228 [C99-based-standards] (PRIXLEAST32): Likewise.
27229 [C99-based-standards] (SCNdLEAST32): Likewise.
27230 [C99-based-standards] (SCNiLEAST32): Likewise.
27231 [C99-based-standards] (SCNoLEAST32): Likewise.
27232 [C99-based-standards] (SCNuLEAST32): Likewise.
27233 [C99-based-standards] (SCNxLEAST32): Likewise.
27234 [C99-based-standards] (PRIdFAST32): Likewise.
27235 [C99-based-standards] (PRIiFAST32): Likewise.
27236 [C99-based-standards] (PRIoFAST32): Likewise.
27237 [C99-based-standards] (PRIuFAST32): Likewise.
27238 [C99-based-standards] (PRIxFAST32): Likewise.
27239 [C99-based-standards] (PRIXFAST32): Likewise.
27240 [C99-based-standards] (SCNdFAST32): Likewise.
27241 [C99-based-standards] (SCNiFAST32): Likewise.
27242 [C99-based-standards] (SCNoFAST32): Likewise.
27243 [C99-based-standards] (SCNuFAST32): Likewise.
27244 [C99-based-standards] (SCNxFAST32): Likewise.
27245 [C99-based-standards] (PRId64): Likewise.
27246 [C99-based-standards] (PRIi64): Likewise.
27247 [C99-based-standards] (PRIo64): Likewise.
27248 [C99-based-standards] (PRIu64): Likewise.
27249 [C99-based-standards] (PRIx64): Likewise.
27250 [C99-based-standards] (PRIX64): Likewise.
27251 [C99-based-standards] (SCNd64): Likewise.
27252 [C99-based-standards] (SCNi64): Likewise.
27253 [C99-based-standards] (SCNo64): Likewise.
27254 [C99-based-standards] (SCNu64): Likewise.
27255 [C99-based-standards] (SCNx64): Likewise.
27256 [C99-based-standards] (PRIdLEAST64): Likewise.
27257 [C99-based-standards] (PRIiLEAST64): Likewise.
27258 [C99-based-standards] (PRIoLEAST64): Likewise.
27259 [C99-based-standards] (PRIuLEAST64): Likewise.
27260 [C99-based-standards] (PRIxLEAST64): Likewise.
27261 [C99-based-standards] (PRIXLEAST64): Likewise.
27262 [C99-based-standards] (SCNdLEAST64): Likewise.
27263 [C99-based-standards] (SCNiLEAST64): Likewise.
27264 [C99-based-standards] (SCNoLEAST64): Likewise.
27265 [C99-based-standards] (SCNuLEAST64): Likewise.
27266 [C99-based-standards] (SCNxLEAST64): Likewise.
27267 [C99-based-standards] (PRIdFAST64): Likewise.
27268 [C99-based-standards] (PRIiFAST64): Likewise.
27269 [C99-based-standards] (PRIoFAST64): Likewise.
27270 [C99-based-standards] (PRIuFAST64): Likewise.
27271 [C99-based-standards] (PRIxFAST64): Likewise.
27272 [C99-based-standards] (PRIXFAST64): Likewise.
27273 [C99-based-standards] (SCNdFAST64): Likewise.
27274 [C99-based-standards] (SCNiFAST64): Likewise.
27275 [C99-based-standards] (SCNoFAST64): Likewise.
27276 [C99-based-standards] (SCNuFAST64): Likewise.
27277 [C99-based-standards] (SCNxFAST64): Likewise.
27278 [C99-based-standards] (PRIdMAX): Likewise.
27279 [C99-based-standards] (PRIiMAX): Likewise.
27280 [C99-based-standards] (PRIoMAX): Likewise.
27281 [C99-based-standards] (PRIuMAX): Likewise.
27282 [C99-based-standards] (PRIxMAX): Likewise.
27283 [C99-based-standards] (PRIXMAX): Likewise.
27284 [C99-based-standards] (SCNdMAX): Likewise.
27285 [C99-based-standards] (SCNiMAX): Likewise.
27286 [C99-based-standards] (SCNoMAX): Likewise.
27287 [C99-based-standards] (SCNuMAX): Likewise.
27288 [C99-based-standards] (SCNxMAX): Likewise.
27289 [C99-based-standards] (PRIdPTR): Likewise.
27290 [C99-based-standards] (PRIiPTR): Likewise.
27291 [C99-based-standards] (PRIoPTR): Likewise.
27292 [C99-based-standards] (PRIuPTR): Likewise.
27293 [C99-based-standards] (PRIxPTR): Likewise.
27294 [C99-based-standards] (PRIXPTR): Likewise.
27295 [C99-based-standards] (SCNdPTR): Likewise.
27296 [C99-based-standards] (SCNiPTR): Likewise.
27297 [C99-based-standards] (SCNoPTR): Likewise.
27298 [C99-based-standards] (SCNuPTR): Likewise.
27299 [C99-based-standards] (SCNxPTR): Likewise.
27300 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
27301 allow.
27302 * conform/data/stdint.h-data: Update comments to clarify
27303 requirements.
27304 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
27305 type.
27306 [C99-based standards] (INT8_MAX): Likewise.
27307 [C99-based standards] (INT16_MIN): Likewise.
27308 [C99-based standards] (INT16_MAX): Likewise.
27309 [C99-based standards] (INT32_MIN): Likewise.
27310 [C99-based standards] (INT32_MAX): Likewise.
27311 [C99-based standards] (INT64_MIN): Likewise.
27312 [C99-based standards] (INT64_MAX): Likewise.
27313 [C99-based standards] (UINT8_MAX): Likewise.
27314 [C99-based standards] (UINT16_MAX): Likewise.
27315 [C99-based standards] (UINT32_MAX): Likewise.
27316 [C99-based standards] (UINT64_MAX): Likewise.
27317 [C99-based standards] (INT_LEAST8_MIN): Likewise.
27318 [C99-based standards] (INT_LEAST8_MAX): Likewise.
27319 [C99-based standards] (INT_LEAST16_MIN): Likewise.
27320 [C99-based standards] (INT_LEAST16_MAX): Likewise.
27321 [C99-based standards] (INT_LEAST32_MIN): Likewise.
27322 [C99-based standards] (INT_LEAST32_MAX): Likewise.
27323 [C99-based standards] (INT_LEAST64_MIN): Likewise.
27324 [C99-based standards] (INT_LEAST64_MAX): Likewise.
27325 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
27326 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
27327 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
27328 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
27329 [C99-based standards] (INT_FAST8_MIN): Likewise.
27330 [C99-based standards] (INT_FAST8_MAX): Likewise.
27331 [C99-based standards] (INT_FAST16_MIN): Likewise.
27332 [C99-based standards] (INT_FAST16_MAX): Likewise.
27333 [C99-based standards] (INT_FAST32_MIN): Likewise.
27334 [C99-based standards] (INT_FAST32_MAX): Likewise.
27335 [C99-based standards] (INT_FAST64_MIN): Likewise.
27336 [C99-based standards] (INT_FAST64_MAX): Likewise.
27337 [C99-based standards] (UINT_FAST8_MAX): Likewise.
27338 [C99-based standards] (UINT_FAST16_MAX): Likewise.
27339 [C99-based standards] (UINT_FAST32_MAX): Likewise.
27340 [C99-based standards] (UINT_FAST64_MAX): Likewise.
27341 [C99-based standards] (INTPTR_MIN): Likewise.
27342 [C99-based standards] (INTPTR_MAX): Likewise.
27343 [C99-based standards] (UINTPTR_MAX): Likewise.
27344 [C99-based standards] (INTMAX_MIN): Likewise.
27345 [C99-based standards] (INTMAX_MAX): Likewise.
27346 [C99-based standards] (UINTMAX_MAX): Likewise.
27347 [C99-based standards] (PTRDIFF_MIN): Likewise.
27348 [C99-based standards] (PTRDIFF_MAX): Likewise.
27349 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
27350 [C99-based standards] (SIZE_MAX): Likewise.
27351 [C99-based standards] (WCHAR_MAX): Likewise.
27352 [C99-based standards] (WINT_MAX): Likewise.
27353 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
27354 constraint on value.
27355 [C99-based standards] (WCHAR_MIN): Likewise.
27356 [C99-based standards] (WINT_MIN): Likewise.
27357 [C99-based standards] (*_t): Allow.
27358 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
27359 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
27360 Include math.h-data and complex.h-data. Remove all expectations
27361 of math.h and complex.h contents.
27362 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
27363 at end of line.
27364 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
27365 (struct tm): Expect tag.
27366 [C99-based-standards] (wcstof): Expect function.
27367 [C99-based-standards] (wcstold): Likewise.
27368 [C99-based-standards] (wcstoll): Likewise.
27369 [C99-based-standards] (wcstoull): Likewise.
27370 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
27371 macro-int-constant. Specify type.
27372 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
27373 constraint on value.
27374 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27375 Specify type.
27376 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
27377 Specify value.
27378 [ISO C standards]: Do not allow headers.
27379 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
27380 wcs[abcdefghijklmnopqrstuvwxyz]*.
27381 [ISO C standards] (*_t): Do not allow.
27382 * conform/data/wctype.h-data [C99-based standards] (iswblank):
27383 Expect function.
27384 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
27385 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27386 Specify type.
27387 [ISO C standards]: Do not allow headers.
27388 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
27389 is[abcdefghijklmnopqrstuvwxyz]*.
27390 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
27391 to[abcdefghijklmnopqrstuvwxyz]*.
27392 [ISO C standards] (*_t): Do not allow.
27393 * conform/data/stdalign.h-data: New file.
27394 * conform/data/stdbool.h-data: Likewise.
27395 * conform/data/stdnoreturn.h-data: Likewise.
27396
7514feb8
RM
273972012-11-07 Roland McGrath <roland@hack.frob.com>
27398
27399 [BZ #14815]
27400 * manual/filesys.texi (Directory Entries): Typo fix.
27401 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
27402
19b2ecfc
MS
274032012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27404
27405 * elf/elf.h (EM_AARCH64): New macro.
27406 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
27407 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
27408 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
27409 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
27410 (R_AARCH64_TLSDESC): Likewise.
27411 (NT_ARM_TLS): Likewise.
27412 (NT_ARM_HW_BREAK): Likewise.
27413 (NT_ARM_HW_WATCH): Likewise.
27414
60e235ee
JM
274152012-11-07 Joseph Myers <joseph@codesourcery.com>
27416
27417 [BZ #14811]
27418 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
27419 (__ieee754_powl): Saturate nonzero exponents with absolute value
27420 below 0x1p-79 to +/- 0x1p-79.
27421 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
27422 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
27423 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
27424 nonzero exponents with absolute value below 0x1p-32 to +/-
27425 0x1p-32.
27426 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
27427 (__ieee754_powl): Saturate nonzero exponents with absolute value
27428 below 0x1p-79 to +/- 0x1p-79.
27429 * math/libm-test.inc (pow_test): Add more tests.
27430
0ab234b7
AK
274312012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27432
27433 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
27434 _dl_s390_cap_flags with kernel. Increase string length.
27435 (_dl_s390_platforms): Add z196 and zEC12.
27436
45832f74
JM
274372012-11-07 Joseph Myers <joseph@codesourcery.com>
27438
27439 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
27440 Change XOPEN21K to XOPEN2K.
27441
19218757
MK
274422012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
27443
27444 * string/memmove.c: Use memcpy when possible.
27445
c5f45721
AJ
274462012-11-06 Andreas Jaeger <aj@suse.de>
27447
27448 * po/eo.po: Update from translation team.
27449
82477c28
JM
274502012-11-06 Joseph Myers <joseph@codesourcery.com>
27451
27452 [BZ #14793]
27453 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
27454 exponent and small x and y exponents, scale x or y up. Increase
27455 by 2 the exponent used in scaling up.
27456 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27457 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27458 * math/libm-test.inc (fma_test): Add more tests.
27459 (fma_test_towardzero): Likewise.
27460 (fma_test_downward): Likewise.
27461 (fma_test_upward): Likewise.
27462
99252c8c
JM
274632012-11-05 Joseph Myers <joseph@codesourcery.com>
27464
acfa885f
JM
27465 [BZ #14805]
27466 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
27467 fenv_t *.
27468
99252c8c
JM
27469 [BZ #14801]
27470 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
27471 namespace for names of struct fields.
27472 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
27473 fenv_t fields.
27474 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
27475 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
27476
d6d98dea
ST
274772012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
27478
27479 [BZ #3665]
27480 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
27481
e10bb107
TS
274822012-11-04 Thomas Schwinge <thomas@codesourcery.com>
27483
27484 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
27485 PTR_DEMANGLE.
27486
27487 [BZ #5246]
27488 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
27489 PTR_DEMANGLE.
27490
a0c2940d
JM
274912012-11-04 Joseph Myers <joseph@codesourcery.com>
27492
27493 [BZ #14797]
27494 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
27495 definitely overflow as x * y not x * y + z.
27496 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27497 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27498 * math/libm-test.inc (fma_test): Add more tests.
27499 (fma_test_towardzero): Likewise.
27500 (fma_test_downward): Likewise.
27501 (fma_test_upward): Likewise.
27502
b830319d
TS
275032012-11-04 Thomas Schwinge <thomas@codesourcery.com>
27504
27505 [BZ #157]
27506
27507 * include/stub-tag.h: Remove file.
27508 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
27509 '#include' of it.
27510 * manual/maint.texi (Porting): Don't reference it.
27511 * Makerules ($(objpfx)stubs): Likewise.
27512 * dirent/closedir.c: Don't include <stub-tag.h>.
27513 * dirent/dirfd.c: Likewise.
27514 * dirent/fdopendir.c: Likewise.
27515 * dirent/getdents.c: Likewise.
27516 * dirent/getdents64.c: Likewise.
27517 * dirent/opendir.c: Likewise.
27518 * dirent/readdir.c: Likewise.
27519 * dirent/readdir64.c: Likewise.
27520 * dirent/readdir64_r.c: Likewise.
27521 * dirent/readdir_r.c: Likewise.
27522 * dirent/rewinddir.c: Likewise.
27523 * dirent/seekdir.c: Likewise.
27524 * dirent/telldir.c: Likewise.
27525 * gmon/profil.c: Likewise.
27526 * grp/setgroups.c: Likewise.
27527 * inet/if_index.c: Likewise.
27528 * io/access.c: Likewise.
27529 * io/chdir.c: Likewise.
27530 * io/chmod.c: Likewise.
27531 * io/chown.c: Likewise.
27532 * io/close.c: Likewise.
27533 * io/dup.c: Likewise.
27534 * io/dup2.c: Likewise.
27535 * io/dup3.c: Likewise.
27536 * io/euidaccess.c: Likewise.
27537 * io/faccessat.c: Likewise.
27538 * io/fchdir.c: Likewise.
27539 * io/fchmod.c: Likewise.
27540 * io/fchmodat.c: Likewise.
27541 * io/fchown.c: Likewise.
27542 * io/fchownat.c: Likewise.
27543 * io/fcntl.c: Likewise.
27544 * io/flock.c: Likewise.
27545 * io/fstatfs.c: Likewise.
27546 * io/fstatfs64.c: Likewise.
27547 * io/fstatvfs.c: Likewise.
27548 * io/fstatvfs64.c: Likewise.
27549 * io/futimens.c: Likewise.
27550 * io/fxstat.c: Likewise.
27551 * io/fxstat64.c: Likewise.
27552 * io/fxstatat.c: Likewise.
27553 * io/fxstatat64.c: Likewise.
27554 * io/getcwd.c: Likewise.
27555 * io/isatty.c: Likewise.
27556 * io/lchmod.c: Likewise.
27557 * io/lchown.c: Likewise.
27558 * io/link.c: Likewise.
27559 * io/linkat.c: Likewise.
27560 * io/lseek.c: Likewise.
27561 * io/lseek64.c: Likewise.
27562 * io/lxstat64.c: Likewise.
27563 * io/mkdir.c: Likewise.
27564 * io/mkdirat.c: Likewise.
27565 * io/mkfifo.c: Likewise.
27566 * io/mkfifoat.c: Likewise.
27567 * io/open.c: Likewise.
27568 * io/open64.c: Likewise.
27569 * io/openat.c: Likewise.
27570 * io/openat64.c: Likewise.
27571 * io/pipe.c: Likewise.
27572 * io/pipe2.c: Likewise.
27573 * io/poll.c: Likewise.
27574 * io/posix_fadvise.c: Likewise.
27575 * io/posix_fadvise64.c: Likewise.
27576 * io/posix_fallocate.c: Likewise.
27577 * io/posix_fallocate64.c: Likewise.
27578 * io/read.c: Likewise.
27579 * io/readlink.c: Likewise.
27580 * io/readlinkat.c: Likewise.
27581 * io/rmdir.c: Likewise.
27582 * io/sendfile.c: Likewise.
27583 * io/sendfile64.c: Likewise.
27584 * io/statfs.c: Likewise.
27585 * io/statfs64.c: Likewise.
27586 * io/statvfs.c: Likewise.
27587 * io/statvfs64.c: Likewise.
27588 * io/symlink.c: Likewise.
27589 * io/symlinkat.c: Likewise.
27590 * io/ttyname.c: Likewise.
27591 * io/ttyname_r.c: Likewise.
27592 * io/umask.c: Likewise.
27593 * io/unlink.c: Likewise.
27594 * io/unlinkat.c: Likewise.
27595 * io/utime.c: Likewise.
27596 * io/utimensat.c: Likewise.
27597 * io/write.c: Likewise.
27598 * io/xmknod.c: Likewise.
27599 * io/xmknodat.c: Likewise.
27600 * io/xstat.c: Likewise.
27601 * io/xstat64.c: Likewise.
27602 * login/getpt.c: Likewise.
27603 * login/grantpt.c: Likewise.
27604 * login/unlockpt.c: Likewise.
27605 * math/e_acoshl.c: Likewise.
27606 * math/e_acosl.c: Likewise.
27607 * math/e_asinl.c: Likewise.
27608 * math/e_atan2l.c: Likewise.
27609 * math/e_atanhl.c: Likewise.
27610 * math/e_coshl.c: Likewise.
27611 * math/e_expl.c: Likewise.
27612 * math/e_fmodl.c: Likewise.
27613 * math/e_gammal_r.c: Likewise.
27614 * math/e_hypotl.c: Likewise.
27615 * math/e_j0l.c: Likewise.
27616 * math/e_j1l.c: Likewise.
27617 * math/e_jnl.c: Likewise.
27618 * math/e_lgammal_r.c: Likewise.
27619 * math/e_log10l.c: Likewise.
27620 * math/e_log2l.c: Likewise.
27621 * math/e_logl.c: Likewise.
27622 * math/e_powl.c: Likewise.
27623 * math/e_rem_pio2l.c: Likewise.
27624 * math/e_sinhl.c: Likewise.
27625 * math/e_sqrtl.c: Likewise.
27626 * math/fclrexcpt.c: Likewise.
27627 * math/fedisblxcpt.c: Likewise.
27628 * math/feenablxcpt.c: Likewise.
27629 * math/fegetenv.c: Likewise.
27630 * math/fegetexcept.c: Likewise.
27631 * math/fegetround.c: Likewise.
27632 * math/feholdexcpt.c: Likewise.
27633 * math/fesetenv.c: Likewise.
27634 * math/fesetround.c: Likewise.
27635 * math/feupdateenv.c: Likewise.
27636 * math/fgetexcptflg.c: Likewise.
27637 * math/fraiseexcpt.c: Likewise.
27638 * math/fsetexcptflg.c: Likewise.
27639 * math/ftestexcept.c: Likewise.
27640 * math/k_cosl.c: Likewise.
27641 * math/k_rem_pio2l.c: Likewise.
27642 * math/k_sinl.c: Likewise.
27643 * math/k_tanl.c: Likewise.
27644 * math/s_asinhl.c: Likewise.
27645 * math/s_atanl.c: Likewise.
27646 * math/s_cbrtl.c: Likewise.
27647 * math/s_erfl.c: Likewise.
27648 * math/s_expm1l.c: Likewise.
27649 * math/s_log1pl.c: Likewise.
27650 * math/s_tanhl.c: Likewise.
27651 * misc/acct.c: Likewise.
27652 * misc/brk.c: Likewise.
27653 * misc/chflags.c: Likewise.
27654 * misc/chroot.c: Likewise.
27655 * misc/fchflags.c: Likewise.
27656 * misc/fgetxattr.c: Likewise.
27657 * misc/flistxattr.c: Likewise.
27658 * misc/fremovexattr.c: Likewise.
27659 * misc/fsetxattr.c: Likewise.
27660 * misc/fsync.c: Likewise.
27661 * misc/ftruncate.c: Likewise.
27662 * misc/futimes.c: Likewise.
27663 * misc/futimesat.c: Likewise.
27664 * misc/getdomain.c: Likewise.
27665 * misc/getdtsz.c: Likewise.
27666 * misc/gethostid.c: Likewise.
27667 * misc/gethostname.c: Likewise.
27668 * misc/getloadavg.c: Likewise.
27669 * misc/getpagesize.c: Likewise.
27670 * misc/getsysstats.c: Likewise.
27671 * misc/getxattr.c: Likewise.
27672 * misc/gtty.c: Likewise.
27673 * misc/ioctl.c: Likewise.
27674 * misc/lgetxattr.c: Likewise.
27675 * misc/listxattr.c: Likewise.
27676 * misc/llistxattr.c: Likewise.
27677 * misc/lremovexattr.c: Likewise.
27678 * misc/lsetxattr.c: Likewise.
27679 * misc/lutimes.c: Likewise.
27680 * misc/madvise.c: Likewise.
27681 * misc/mincore.c: Likewise.
27682 * misc/mlock.c: Likewise.
27683 * misc/mlockall.c: Likewise.
27684 * misc/mmap.c: Likewise.
27685 * misc/mprotect.c: Likewise.
27686 * misc/msync.c: Likewise.
27687 * misc/munlock.c: Likewise.
27688 * misc/munlockall.c: Likewise.
27689 * misc/munmap.c: Likewise.
27690 * misc/preadv.c: Likewise.
27691 * misc/preadv64.c: Likewise.
27692 * misc/ptrace.c: Likewise.
27693 * misc/pwritev.c: Likewise.
27694 * misc/pwritev64.c: Likewise.
27695 * misc/readv.c: Likewise.
27696 * misc/reboot.c: Likewise.
27697 * misc/remap_file_pages.c: Likewise.
27698 * misc/removexattr.c: Likewise.
27699 * misc/revoke.c: Likewise.
27700 * misc/select.c: Likewise.
27701 * misc/setdomain.c: Likewise.
27702 * misc/setegid.c: Likewise.
27703 * misc/seteuid.c: Likewise.
27704 * misc/sethostid.c: Likewise.
27705 * misc/sethostname.c: Likewise.
27706 * misc/setregid.c: Likewise.
27707 * misc/setreuid.c: Likewise.
27708 * misc/setxattr.c: Likewise.
27709 * misc/sstk.c: Likewise.
27710 * misc/stty.c: Likewise.
27711 * misc/swapoff.c: Likewise.
27712 * misc/swapon.c: Likewise.
27713 * misc/sync.c: Likewise.
27714 * misc/syncfs.c: Likewise.
27715 * misc/syscall.c: Likewise.
27716 * misc/truncate.c: Likewise.
27717 * misc/ualarm.c: Likewise.
27718 * misc/usleep.c: Likewise.
27719 * misc/ustat.c: Likewise.
27720 * misc/utimes.c: Likewise.
27721 * misc/vhangup.c: Likewise.
27722 * misc/writev.c: Likewise.
27723 * posix/_exit.c: Likewise.
27724 * posix/alarm.c: Likewise.
27725 * posix/execve.c: Likewise.
27726 * posix/fexecve.c: Likewise.
27727 * posix/fork.c: Likewise.
27728 * posix/fpathconf.c: Likewise.
27729 * posix/getaddrinfo.c: Likewise.
27730 * posix/getegid.c: Likewise.
27731 * posix/geteuid.c: Likewise.
27732 * posix/getgid.c: Likewise.
27733 * posix/getgroups.c: Likewise.
27734 * posix/getlogin.c: Likewise.
27735 * posix/getlogin_r.c: Likewise.
27736 * posix/getpgid.c: Likewise.
27737 * posix/getpid.c: Likewise.
27738 * posix/getppid.c: Likewise.
27739 * posix/getresgid.c: Likewise.
27740 * posix/getresuid.c: Likewise.
27741 * posix/getsid.c: Likewise.
27742 * posix/getuid.c: Likewise.
27743 * posix/glob64.c: Likewise.
27744 * posix/nanosleep.c: Likewise.
27745 * posix/pathconf.c: Likewise.
27746 * posix/pause.c: Likewise.
27747 * posix/posix_madvise.c: Likewise.
27748 * posix/pread.c: Likewise.
27749 * posix/pread64.c: Likewise.
27750 * posix/pwrite.c: Likewise.
27751 * posix/pwrite64.c: Likewise.
27752 * posix/sched_getaffinity.c: Likewise.
27753 * posix/sched_getp.c: Likewise.
27754 * posix/sched_gets.c: Likewise.
27755 * posix/sched_primax.c: Likewise.
27756 * posix/sched_primin.c: Likewise.
27757 * posix/sched_rr_gi.c: Likewise.
27758 * posix/sched_setaffinity.c: Likewise.
27759 * posix/sched_setp.c: Likewise.
27760 * posix/sched_sets.c: Likewise.
27761 * posix/sched_yield.c: Likewise.
27762 * posix/setgid.c: Likewise.
27763 * posix/setlogin.c: Likewise.
27764 * posix/setpgid.c: Likewise.
27765 * posix/setresgid.c: Likewise.
27766 * posix/setresuid.c: Likewise.
27767 * posix/setsid.c: Likewise.
27768 * posix/setuid.c: Likewise.
27769 * posix/sleep.c: Likewise.
27770 * posix/spawni.c: Likewise.
27771 * posix/sysconf.c: Likewise.
27772 * posix/times.c: Likewise.
27773 * posix/wait.c: Likewise.
27774 * posix/wait3.c: Likewise.
27775 * posix/wait4.c: Likewise.
27776 * posix/waitpid.c: Likewise.
27777 * resolv/gai_sigqueue.c: Likewise.
27778 * resource/getpriority.c: Likewise.
27779 * resource/getrlimit.c: Likewise.
27780 * resource/getrusage.c: Likewise.
27781 * resource/nice.c: Likewise.
27782 * resource/setpriority.c: Likewise.
27783 * resource/setrlimit.c: Likewise.
27784 * resource/ulimit.c: Likewise.
27785 * rt/aio_cancel.c: Likewise.
27786 * rt/aio_fsync.c: Likewise.
27787 * rt/aio_read.c: Likewise.
27788 * rt/aio_sigqueue.c: Likewise.
27789 * rt/aio_suspend.c: Likewise.
27790 * rt/aio_write.c: Likewise.
27791 * rt/clock_getres.c: Likewise.
27792 * rt/clock_gettime.c: Likewise.
27793 * rt/clock_nanosleep.c: Likewise.
27794 * rt/clock_settime.c: Likewise.
27795 * rt/lio_listio.c: Likewise.
27796 * rt/mq_close.c: Likewise.
27797 * rt/mq_getattr.c: Likewise.
27798 * rt/mq_notify.c: Likewise.
27799 * rt/mq_open.c: Likewise.
27800 * rt/mq_receive.c: Likewise.
27801 * rt/mq_send.c: Likewise.
27802 * rt/mq_setattr.c: Likewise.
27803 * rt/mq_timedreceive.c: Likewise.
27804 * rt/mq_timedsend.c: Likewise.
27805 * rt/mq_unlink.c: Likewise.
27806 * rt/shm_open.c: Likewise.
27807 * rt/shm_unlink.c: Likewise.
27808 * rt/timer_create.c: Likewise.
27809 * rt/timer_delete.c: Likewise.
27810 * rt/timer_getoverr.c: Likewise.
27811 * rt/timer_gettime.c: Likewise.
27812 * rt/timer_settime.c: Likewise.
27813 * setjmp/__longjmp.c: Likewise.
27814 * setjmp/setjmp.c: Likewise.
27815 * signal/kill.c: Likewise.
27816 * signal/killpg.c: Likewise.
27817 * signal/raise.c: Likewise.
27818 * signal/sigaction.c: Likewise.
27819 * signal/sigaltstack.c: Likewise.
27820 * signal/sigblock.c: Likewise.
27821 * signal/sigignore.c: Likewise.
27822 * signal/sigintr.c: Likewise.
27823 * signal/signal.c: Likewise.
27824 * signal/sigpause.c: Likewise.
27825 * signal/sigpending.c: Likewise.
27826 * signal/sigqueue.c: Likewise.
27827 * signal/sigreturn.c: Likewise.
27828 * signal/sigset.c: Likewise.
27829 * signal/sigsetmask.c: Likewise.
27830 * signal/sigstack.c: Likewise.
27831 * signal/sigsuspend.c: Likewise.
27832 * signal/sigtimedwait.c: Likewise.
27833 * signal/sigvec.c: Likewise.
27834 * signal/sigwait.c: Likewise.
27835 * signal/sigwaitinfo.c: Likewise.
27836 * signal/sysv_signal.c: Likewise.
27837 * socket/accept.c: Likewise.
27838 * socket/accept4.c: Likewise.
27839 * socket/bind.c: Likewise.
27840 * socket/connect.c: Likewise.
27841 * socket/getpeername.c: Likewise.
27842 * socket/getsockname.c: Likewise.
27843 * socket/getsockopt.c: Likewise.
27844 * socket/isfdtype.c: Likewise.
27845 * socket/listen.c: Likewise.
27846 * socket/recv.c: Likewise.
27847 * socket/recvfrom.c: Likewise.
27848 * socket/recvmsg.c: Likewise.
27849 * socket/send.c: Likewise.
27850 * socket/sendmsg.c: Likewise.
27851 * socket/sendto.c: Likewise.
27852 * socket/setsockopt.c: Likewise.
27853 * socket/shutdown.c: Likewise.
27854 * socket/sockatmark.c: Likewise.
27855 * socket/socket.c: Likewise.
27856 * socket/socketpair.c: Likewise.
27857 * stdio-common/ctermid.c: Likewise.
27858 * stdio-common/cuserid.c: Likewise.
27859 * stdio-common/remove.c: Likewise.
27860 * stdio-common/rename.c: Likewise.
27861 * stdio-common/renameat.c: Likewise.
27862 * stdio-common/tempname.c: Likewise.
27863 * stdlib/getcontext.c: Likewise.
27864 * stdlib/makecontext.c: Likewise.
27865 * stdlib/setcontext.c: Likewise.
27866 * stdlib/swapcontext.c: Likewise.
27867 * stdlib/system.c: Likewise.
27868 * streams/fattach.c: Likewise.
27869 * streams/fdetach.c: Likewise.
27870 * streams/getmsg.c: Likewise.
27871 * streams/getpmsg.c: Likewise.
27872 * streams/putmsg.c: Likewise.
27873 * streams/putpmsg.c: Likewise.
27874 * sysdeps/unix/bsd/getpt.c: Likewise.
27875 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
27876 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
27877 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27879 Likewise.
27880 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
27881 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27882 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
27883 * sysvipc/msgctl.c: Likewise.
27884 * sysvipc/msgget.c: Likewise.
27885 * sysvipc/msgrcv.c: Likewise.
27886 * sysvipc/msgsnd.c: Likewise.
27887 * sysvipc/semctl.c: Likewise.
27888 * sysvipc/semget.c: Likewise.
27889 * sysvipc/semop.c: Likewise.
27890 * sysvipc/semtimedop.c: Likewise.
27891 * sysvipc/shmat.c: Likewise.
27892 * sysvipc/shmctl.c: Likewise.
27893 * sysvipc/shmdt.c: Likewise.
27894 * sysvipc/shmget.c: Likewise.
27895 * termios/tcdrain.c: Likewise.
27896 * termios/tcflow.c: Likewise.
27897 * termios/tcflush.c: Likewise.
27898 * termios/tcgetattr.c: Likewise.
27899 * termios/tcgetpgrp.c: Likewise.
27900 * termios/tcsendbrk.c: Likewise.
27901 * termios/tcsetattr.c: Likewise.
27902 * termios/tcsetpgrp.c: Likewise.
27903 * time/adjtime.c: Likewise.
27904 * time/clock.c: Likewise.
27905 * time/getitimer.c: Likewise.
27906 * time/gettimeofday.c: Likewise.
27907 * time/setitimer.c: Likewise.
27908 * time/settimeofday.c: Likewise.
27909 * time/stime.c: Likewise.
27910 * time/time.c: Likewise.
27911
279122012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 27913
a20492cf
PT
27914 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
27915 /usr/old/bin.
27916
72e182e3
PT
27917 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
27918 instead of spaces.
27919 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
27920
fbeafede
JM
279212012-11-03 Joseph Myers <joseph@codesourcery.com>
27922
5b5b04d6
JM
27923 [BZ #14796]
27924 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
27925 FE_TONEAREST before applying Dekker multiplication and Knuth
27926 addition. Clear inexact exceptions and check for exact zero
27927 results afterwards.
27928 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27929 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27930 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27931 * math/libm-test.inc (fma_test): Add more tests.
27932 (fma_test_towardzero): Likewise.
27933 (fma_test_downward): Likewise.
27934 (fma_test_upward): Likewise.
27935 * sysdeps/generic/math_private.h (default_libc_fesetround): New
27936 function.
27937 (libc_fesetround): New macro.
27938 (libc_fesetroundf): Likewise.
27939 (libc_fesetroundl): Likewise.
27940 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
27941 function.
27942 (libc_fesetround_387): Likewise.
27943 (libc_fesetroundf): New macro.
27944 (libc_fesetround): Likewise.
27945 (libc_fesetroundl): Likewise.
27946 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
27947 function.
27948 (libc_fesetroundf): New macro.
27949 (libc_fesetround): Likewise.
27950 (libc_fesetroundl): Likewise.
27951 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
27952 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
27953 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
27954 libm_hidden_ver.
27955 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
27956 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
27957 libm_hidden_def.
27958 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
27959 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
27960 libm_hidden_ver.
27961 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
27962 libm_hidden_def.
27963
fbeafede
JM
27964 [BZ #3439]
27965 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
27966 integer constant usable in #if and use that to give value to enum
27967 constant.
27968 (FE_DIVBYZERO): Likewise.
27969 (FE_UNDERFLOW): Likewise.
27970 (FE_OVERFLOW): Likewise.
27971 (FE_INVALID): Likewise.
27972 (FE_INVALID_SNAN): Likewise.
27973 (FE_INVALID_ISI): Likewise.
27974 (FE_INVALID_IDI): Likewise.
27975 (FE_INVALID_ZDZ): Likewise.
27976 (FE_INVALID_IMZ): Likewise.
27977 (FE_INVALID_COMPARE): Likewise.
27978 (FE_INVALID_SOFTWARE): Likewise.
27979 (FE_INVALID_SQRT): Likewise.
27980 (FE_INVALID_INTEGER_CONVERSION): Likewise.
27981 (FE_TONEAREST): Likewise.
27982 (FE_TOWARDZERO): Likewise.
27983 (FE_UPWARD): Likewise.
27984 (FE_DOWNWARD): Likewise.
27985 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
27986 (FE_DIVBYZERO): Likewise.
27987 (FE_OVERFLOW): Likewise.
27988 (FE_UNDERFLOW): Likewise.
27989 (FE_INEXACT): Likewise.
27990 (FE_TONEAREST): Likewise.
27991 (FE_DOWNWARD): Likewise.
27992 (FE_UPWARD): Likewise.
27993 (FE_TOWARDZERO): Likewise.
27994 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
27995 (FE_UNDERFLOW): Likewise.
27996 (FE_OVERFLOW): Likewise.
27997 (FE_DIVBYZERO): Likewise.
27998 (FE_INVALID): Likewise.
27999 (FE_TONEAREST): Likewise.
28000 (FE_TOWARDZERO): Likewise.
28001 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
28002 (FE_OVERFLOW): Likewise.
28003 (FE_UNDERFLOW): Likewise.
28004 (FE_DIVBYZERO): Likewise.
28005 (FE_INEXACT): Likewise.
28006 (FE_TONEAREST): Likewise.
28007 (FE_TOWARDZERO): Likewise.
28008 (FE_UPWARD): Likewise.
28009 (FE_DOWNWARD): Likewise.
28010 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
28011 (FE_DIVBYZERO): Likewise.
28012 (FE_OVERFLOW): Likewise.
28013 (FE_UNDERFLOW): Likewise.
28014 (FE_INEXACT): Likewise.
28015 (FE_TONEAREST): Likewise.
28016 (FE_DOWNWARD): Likewise.
28017 (FE_UPWARD): Likewise.
28018 (FE_TOWARDZERO): Likewise.
28019
105ca950
CM
280202012-11-02 Chris Metcalf <cmetcalf@tilera.com>
28021
28022 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
28023
a542b389
AS
280242012-11-03 Andreas Schwab <schwab@linux-m68k.org>
28025
28026 * scripts/cross-test-ssh.sh (command): Use newlines to separate
28027 commands. Quote $PWD.
28028 (blacklist_exports): Don't use remove_newlines. Replace "declare
28029 -x" by "export".
28030 (remove_newlines): Remove.
28031
f62c8abc
L
280322012-11-02 H.J. Lu <hongjiu.lu@intel.com>
28033
28034 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
28035 * stdlib/stdlib.h (atof): Moved to ...
28036 * include/bits/stdlib-float.h: Here. New file.
28037 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
28038 * stdlib/bits/stdlib-float.h: New file.
28039 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
28040 -mno-sse -mno-mmx.
28041 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
28042 <xmmintrin.h>.
28043
0155d5b2
JM
280442012-11-02 Joseph Myers <joseph@codesourcery.com>
28045
a68d0680
JM
28046 * conform/conformtest.pl (@headers): Add fenv.h.
28047 * conform/data/fenv.h-data: New file.
28048 * include/fenv.h [_ISOMAC]: Disable all contents of file except
28049 include of <math/fenv.h>.
28050
caf7f573
JM
28051 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
28052 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
28053 && !UNIX98]. Enables tests for XOPEN2K8.
28054 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
28055 POSIX2008]: Likewise.
28056
6c073ad6
JM
28057 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
28058 (struct rusage): Do not expect type or its members.
28059
0155d5b2
JM
28060 [BZ #3439]
28061 * math/math.h (FP_NAN): Define macro to integer constant usable in
28062 #if and use that to give value to enum constant.
28063 (FP_INFINITE): Likewise.
28064 (FP_ZERO): Likewise.
28065 (FP_SUBNORMAL): Likewise.
28066 (FP_NORMAL): Likewise.
28067
b5dcacb4
AS
280682012-11-02 Andreas Schwab <schwab@linux-m68k.org>
28069
28070 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
28071 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
28072 arguments.
28073
f7934be8
RM
280742012-11-02 Roland McGrath <roland@hack.frob.com>
28075
28076 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
28077 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
28078 autoconf-time if not.
28079 * configure.in: Remove AC_PREREQ.
28080
d7d08bde
TMQMF
280812012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28082
28083 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
28084 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
28085 of the internal implementation.
28086
dcdae19a
JM
280872012-11-02 Joseph Myers <joseph@codesourcery.com>
28088
28089 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
28090 except include of <misc/sys/syslog.h>.
28091
d6cffd3e
AS
280922012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28093
28094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
28095 function returns with a NULL context exit with zero.
28096
b3563932
TMQMF
280972012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28098
28099 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
28100
b288a93d
L
281012012-11-01 H.J. Lu <hongjiu.lu@intel.com>
28102
28103 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
28104 (run_program_cmd): This.
28105 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
28106 (tst_langinfo): New variable. Use it.
28107
a2421a68
SAS
281082012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
28109
28110 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
28111 floating point opcodes.
28112
6f796e1b
TS
281132012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28114
7402596b
TS
28115 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
28116 variable.
28117
d0d4f868
TS
28118 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
28119
6f796e1b
TS
28120 * sysdeps/mach/hurd/powerpc: Remove directory.
28121 * sysdeps/mach/powerpc: Likewise.
28122
4da224a2
AS
281232012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28124
28125 * scripts/check-local-headers.sh: Ignore c++ headers.
28126
341dd673
TS
281272012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28128
28129 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
28130 __libc_cleanup_region_start argument.
28131
473611b2
JM
281322012-11-01 Joseph Myers <joseph@codesourcery.com>
28133
28134 [BZ #14784]
28135 [BZ #14785]
28136 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
28137 x * y using scaling, not as x * y + z.
28138 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28139 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28140 * math/libm-test.inc (fma_test): Add more tests.
28141 (fma_test_towardzero): Likewise.
28142 (fma_test_downward): Likewise.
28143 (fma_test_upward): Likewise.
28144
4078da3d
TS
281452012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28146
28147 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
28148
903252aa
JM
281492012-10-31 Joseph Myers <joseph@codesourcery.com>
28150
28151 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
28152 New variable.
28153
cbc818d0
TS
281542012-10-31 Thomas Schwinge <thomas@codesourcery.com>
28155
28156 * rt/tst-shm.c (worker): Correct checking for mmap failure.
28157
5a03cb1e
AS
281582012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28159
28160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28161 Fix sort order.
28162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28163 Likewise.
28164
90aff2ff
TMQMF
281652012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28166
28167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28168 Fix the order of the list for glibc 2.17.
28169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28170 Likewise.
28171
1818fcb7
AS
281722012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28173
28174 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28175
ef82f4da
JM
281762012-10-31 Joseph Myers <joseph@codesourcery.com>
28177
16a0e2ec
JM
28178 [BZ #14610]
28179 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
28180 for low part of x being zero before using __atanl (y).
28181 * math/libm-test.inc (atan2_test): Add another test.
28182
0eb69512
JM
28183 * manual/install.texi (Configuring and compiling): Document
28184 general use of test-wrapper and test-wrapper-env.
28185 * INSTALL: Regenerated.
28186
ef82f4da
JM
28187 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
28188 (__fma): Do not extract and scale down low bits on after-rounding
28189 systems when result rounded to normal precision would have normal
28190 exponent.
28191 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
28192 (__fmal): Do not extract and scale down low bits on after-rounding
28193 systems when result rounded to normal precision would have normal
28194 exponent.
28195 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
28196 (__fmal): Do not extract and scale down low bits on after-rounding
28197 systems when result rounded to normal precision would have normal
28198 exponent.
28199 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
28200 macro.
28201 (fma_test): Add more tests.
28202 (fma_test_towardzero): Likewise.
28203 (fma_test_downward): Likewise.
28204 (fma_test_upward): Likewise.
28205
954ef0d9
L
282062012-10-30 H.J. Lu <hongjiu.lu@intel.com>
28207
28208 * sysdeps/i386/tininess.h: Renamed to ...
28209 * sysdeps/x86/tininess.h: This.
28210 * sysdeps/x86_64/tininess.h: Removed.
28211
df61ffb2
JM
282122012-10-30 Joseph Myers <joseph@codesourcery.com>
28213
28214 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
28215 input. Use $(build-program-cmd).
28216 ($(objpfx)tst-array1-static.out): Likewise.
28217 ($(objpfx)tst-array2.out): Likewise.
28218 ($(objpfx)tst-array3.out): Likewise.
28219 ($(objpfx)tst-array4.out): Likewise.
28220 ($(objpfx)tst-array5.out): Likewise.
28221 ($(objpfx)tst-array5-static.out): Likewise.
28222
01767843
CM
282232012-10-30 Chris Metcalf <cmetcalf@tilera.com>
28224
47cc1490
CM
28225 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
28226 if defined.
28227
01767843
CM
28228 * nss/nsswitch.h (nss_interface_function): Provide new
28229 macro for use with NSS functions.
28230 * grp/initgroups.c: Use new macro.
28231 * nss/getXXbyYY.c: Likewise.
28232 * nss/getXXbyYY_r.c: Likewise.
28233 * nss/getXXent.c: Likewise.
28234 * nss/getXXent_r.c: Likewise.
28235 * sysdeps/posix/getaddrinfo.c: Likewise.
28236
8321aa97
AJ
282372012-10-30 Andreas Jaeger <aj@suse.de>
28238
28239 * po/ru.po: Update Russion translation from translation project.
28240
2a27fd6d
JM
282412012-10-30 Joseph Myers <joseph@codesourcery.com>
28242
8627a232
JM
28243 [BZ #14152]
28244 [BZ #14783]
28245 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
28246 result and shift together with sticky bit instead of replicating
28247 round-to-nearest rounding.
28248 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28249 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28250 * math/libm-test.inc (fma_test): Add more tests. Do not permit
28251 missing underflow exceptions.
28252 (fma_test_towardzero): Add more tests.
28253 (fma_test_downward): Likewise.
28254 (fma_test_upward): Likewise.
28255
2a27fd6d
JM
28256 [BZ #14047]
28257 * sysdeps/generic/tininess.h: New file.
28258 * sysdeps/i386/tininess.h: Likewise.
28259 * sysdeps/sh/tininess.h: Likewise.
28260 * sysdeps/x86_64/tininess.h: Likewise.
28261 * stdlib/tst-strtod-underflow.c: Likewise.
28262 * stdlib/tst-tininess.c: Likewise.
28263 * stdlib/strtod_l.c: Include <tininess.h>.
28264 (round_and_return): Do not set errno for exact underflow cases.
28265 Force an underflow exception when setting errno for underflow.
28266 Determine underflow based on rounding to normal precision if
28267 TININESS_AFTER_ROUNDING.
28268 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
28269 ERANGE for exact underflow cases.
28270 * stdlib/Makefile (tests): Add tst-tininess and
28271 tst-strtod-underflow.
28272 ($(objpfx)tst-tininess): Use $(link-libm).
28273 ($(objpfx)tst-strtod-underflow): Likewise.
28274
e7170363
AJ
282752012-10-30 Andreas Jaeger <aj@suse.de>
28276
e5088dc6
AJ
28277 [BZ#14767]
28278 * elf/Makefile (tests): Remove conditional for have-initfini-array
28279 since this is now always required and the variable does not exist
28280 anymore.
28281 (tests-static): Likewise.
28282 (modules-names): Likewise.
28283
e7170363 28284 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
28285
28286 * elf/tst-array1.c (fini_array): Make writeable so that it can be
28287 merged with constructor/destructor.
28288 (init_array): Likewise.
28289 * elf/tst-array2dep.c (fini_array): Likewise.
28290 (init_array): Likewise.
28291
60457d8a
MF
282922012-10-29 Mike Frysinger <vapier@gentoo.org>
28293
28294 * manual/message.texi: Delete @cartouche tags.
28295
8bece752
PT
282962012-10-29 Pino Toscano <toscano.pino@tiscali.it>
28297
94ce799f
PT
28298 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
28299 EOPNOTSUPP.
28300 * sysdeps/mach/hurd/fsync.c: Likewise.
28301
8bece752
PT
28302 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
28303 [_POSIX_REALTIME_SIGNALS]: Change condition to
28304 [_POSIX_REALTIME_SIGNALS > 0].
28305
86ebe6b1
AJ
283062012-10-27 Andreas Jaeger <aj@suse.de>
28307
28308 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
28309 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
28310 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
28311 [__WORDSIZE != 64]: Likewise.
28312
54399c08
L
283132012-10-26 H.J. Lu <hongjiu.lu@intel.com>
28314
28315 * iconvdata/tst-table.sh: Remove ${SHELL}.
28316 * iconvdata/tst-tables.sh: Likewise.
28317
e2211bed
DM
283182012-10-25 David S. Miller <davem@davemloft.net>
28319
28320 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28321 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
28322 of strtoull.
28323
f303f97c
DM
28324 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
28325 ifunc-impl-list.c
28326 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28327 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
28328 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
28329 file.
28330
1e9d84cd
RM
283312012-10-25 Roland McGrath <roland@hack.frob.com>
28332
28333 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28334 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
28335 __getdirentries.
28336
df381762
JM
283372012-10-25 Joseph Myers <joseph@codesourcery.com>
28338 Jim Blandy <jimb@codesourcery.com>
28339
28340 * scripts/cross-test-ssh.sh: New file.
28341 * manual/install.texi (Configuring and compiling): Document use of
28342 cross-test-ssh.sh.
28343 * INSTALL: Regenerated.
28344
bff64913
PT
283452012-10-25 Pino Toscano <toscano.pino@tiscali.it>
28346
28347 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
28348 EOPNOTSUPP.
28349
25fe8932
JM
283502012-10-25 Joseph Myers <joseph@codesourcery.com>
28351
28352 * Makeconfig (run-program-prefix): Fix comment.
28353
cc1290d0
JM
283542012-10-24 Joseph Myers <joseph@codesourcery.com>
28355 Jim Blandy <jimb@codesourcery.com>
28356
28357 * Makeconfig (test-wrapper): New variable,
28358 (test-wrapper-env): Likewise.
28359 [$(cross-compiling) = yes && $(test-wrapper) != ""]
28360 (run-built-tests): Define to yes.
28361 (run-program-prefix): Use $(test-wrapper).
28362 (built-program-cmd): Likewise.
28363 * Rules (make-test-out): Use $(test-wrapper-env) and
28364 $(host-built-program-cmd).
28365 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
28366 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
28367 tst-pathopt.sh.
28368 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
28369 $(test-wrapper-env) to tst-rtld-load-self.sh.
28370 ($(objpfx)order2.out): Use $(test-wrapper).
28371 ($(objpfx)tst-initorder.out): Likewise.
28372 ($(objpfx)tst-initorder2.out): Likewise.
28373 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
28374 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
28375 (test_wrapper_env): New variable. Use it to run ld.so.
28376 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
28377 Use it to run ld.so.
28378 (test_wrapper_env): Likewise.
28379 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
28380 $(test-wrapper) to run-iconv-test.sh.
28381 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
28382 (ICONV): Use $test_wrapper.
28383 * posix/Makefile ($(objpfx)globtest.out): Pass
28384 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
28385 globtest.sh, not $(run-program-prefix).
28386 * posix/globtest.sh (run_via_rtld_prefix): New variable.
28387 (test_wrapper): Likewise.
28388 (test_wrapper_env): Likewise. Use it to run globtest with HOME
28389 set together with run_via_rtld_prefix.
28390 (run_program_prefix): Define in terms of test_wrapper and
28391 run_via_rtld_prefix.
28392
6e6249d0
RM
283932012-10-24 Roland McGrath <roland@hack.frob.com>
28394
28395 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
28396 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
28397 Targets removed.
28398
28399 [BZ #14743]
28400 * include/time.h: Remove librt_hidden_proto (clock_gettime).
28401 Declare __clock_getres, __clock_gettime, __clock_settime,
28402 __clock_nanosleep, and __clock_getcpuclockid.
28403 * rt/clock_gettime.c: Define __clock_gettime as an alias.
28404 Remove librt_hidden_def (clock_gettime).
28405 * sysdeps/unix/clock_gettime.c: Likewise.
28406 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
28407 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
28408 * rt/clock_getres.c: Define __clock_getres as an alias.
28409 * sysdeps/posix/clock_getres.c: Likewise.
28410 * rt/clock_settime.c: Define __clock_settime as an alias.
28411 * sysdeps/unix/clock_settime.c: Likewise.
28412 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
28413 * sysdeps/unix/clock_nanosleep.c: Likewise.
28414 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
28415 * rt/clock-compat.c: New file.
28416 * rt/Makefile (librt-routines): Add clock-compat and move
28417 $(clock-routines) to ...
28418 (routines): ... here, new variable.
28419 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
28420 Don't add get_clockfreq here.
28421 * rt/Versions (libc: GLIBC_2.17): New version set.
28422 Add clock_* symbols here.
28423 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
28424 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
28425 (GLIBC_2.17): Add clock_* symbols.
28426 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28427 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28428 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28430 Likewise.
28431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28432 Likewise.
28433 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28434 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
28435 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28436 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28437 * NEWS: Mention the move.
28438
28439 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
28440 Use __open, __read, __close rather than their public counterparts.
28441 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28442 (__get_clockfreq_via_cpuinfo): Likewise.
28443 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
28444 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
28445
28446 * config.h.in (HAVE_IFUNC): New #undef.
28447 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
28448 was successful.
28449 * configure: Regenerated.
28450
0cae3f4b
MF
284512012-10-24 Mike Frysinger <vapier@gentoo.org>
28452
28453 * configure.in: Move READELF check to start of file.
28454 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
28455 libc_cv_asm_gnu_indirect_function in the process.
28456 * configure: Regenerated.
28457
8175a253
MF
284582012-10-24 Mike Frysinger <vapier@gentoo.org>
28459
28460 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
28461 send the output to /dev/null.
28462 (libc_cv_cc_with_libunwind): Likewise.
28463 (libc_cv_as_noexecstack): Likewise.
28464 * configure: Regenerate.
28465
0708a7d1
JM
284662012-10-24 Joseph Myers <joseph@codesourcery.com>
28467
10b40d85
JM
28468 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
28469
0708a7d1
JM
28470 * posix/globtest.sh (TMPDIR): Do not set.
28471 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
28472 (testout): Likewise.
28473
9fddec1a
AJ
284742012-10-24 Andreas Jaeger <aj@suse.de>
28475
3a8db22f
AJ
28476 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
28477 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
28478 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
28479 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
28480 posix_fadvise64, posix_fallocate64.
28481
9fddec1a
AJ
28482 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
28483 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
28484 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
28485 Likewise.
28486 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
28487 Likewise.
28488 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
28489
28490 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
28491 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
28492 <bits/fcntl-linux.h>.
28493 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
28494
28495 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
28496 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
28497 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
28498 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
28499 [__WORDSIZE != 64]: Likewise.
28500
ebfd1bbd
JM
285012012-10-23 Joseph Myers <joseph@codesourcery.com>
28502
03ac099f
JM
28503 * Makeconfig (run-built-tests): New variable.
28504 * Rules [$(cross-compiling) = yes]: Change condition to
28505 [$(run-built-tests) = no].
28506 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
28507 to [$(run-built-tests) = yes].
28508 * elf/Makefile [$(cross-compiling) = no]: Likewise
28509 * grp/Makefile [$(cross-compiling) = no]: Likewise.
28510 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
28511 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
28512 * intl/Makefile [$(cross-compiling) = no]: Likewise.
28513 * io/Makefile [$(cross-compiling) = no]: Likewise.
28514 * libio/Makefile [$(cross-compiling) = no]: Likewise.
28515 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
28516 * misc/Makefile [$(cross-compiling) = no]: Likewise.
28517 * posix/Makefile [$(cross-compiling) = no]: Likewise.
28518 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
28519 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
28520 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
28521 * string/Makefile [$(cross-compiling) = no]: Likewise.
28522
ebfd1bbd
JM
28523 * posix/Makefile ($(objpfx)globtest.out): Pass
28524 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
28525 $(rtld-installed-name).
28526 * posix/globtest.sh (elf_objpfx): Remove variable.
28527 (rtld_installed_name): Likewise.
28528 (library_path): Likewise.
28529 (run_program_prefix): New variable. Use for running globtest
28530 binary.
28531
166bca24
JB
285322012-10-23 Jim Blandy <jimb@codesourcery.com>
28533 Joseph Myers <joseph@codesourcery.com>
28534
28535 * Makeconfig (host-built-program-cmd): New variable.
28536 * elf/Makefile (tst-stackguard1-ARGS): Use
28537 $(host-built-program-cmd).
28538 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
28539 (tst-spawn-ARGS): Likewise.
28540 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
28541
88866099
JM
285422012-10-23 Joseph Myers <joseph@codesourcery.com>
28543 Jim Blandy <jimb@codesourcery.com>
28544
28545 * Makeconfig (run-via-rtld-prefix): New variable.
28546 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
28547 (built-program-cmd): Likewise.
28548
b4b4c296
AJ
285492012-10-22 Andreas Jaeger <aj@suse.de>
28550
28551 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
28552 __O_RSYNC if it exists, otherwise to O_SYNC.
28553
6fb54a22
JB
285542012-10-22 Jim Blandy <jimb@codesourcery.com>
28555 Joseph Myers <joseph@codesourcery.com>
28556
28557 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
28558 /dev/null.
28559 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
28560 from /dev/null
28561 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
28562 /dev/null.
28563
481b90b9
AJ
285642012-10-22 Andreas Jaeger <aj@suse.de>
28565
2a0e2669
AJ
28566 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
28567 Define always.
28568 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
28569
76e38f9a
AJ
28570 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28571 bits/fcntl-linux.h.
28572
7cd37b43
AJ
28573 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
28574 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
28575
481b90b9
AJ
28576 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
28577 to __O_LARGEFILE.
28578 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
28579 to __O_LARGEFILE.
28580
aba75984
JB
285812012-10-21 Jim Blandy <jimb@codesourcery.com>
28582 Joseph Myers <joseph@codesourcery.com>
28583
28584 * config.make.in (NM): New variable.
28585
88d4247f
AJ
285862012-10-21 Andreas Jaeger <aj@suse.de>
28587
28588 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
28589 definitions and declarations that are provided by
28590 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28591
f2eed205
L
285922012-10-20 H.J. Lu <hongjiu.lu@intel.com>
28593
28594 [BZ #14683]
28595 * elf/Makefile (tests-static): Add tst-leaks1-static.
28596 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
28597 ($(objpfx)tst-leaks1-static): New rule.
28598 ($(objpfx)tst-leaks1-static-mem): Likewise.
28599 (tst-leaks1-static-ENV): New macro.
28600 * elf/dl-open.c (dl_open_worker): Check the main application
28601 only if SHARED is defined.
28602 * elf/tst-leaks1-static.c: New file.
28603
335e6931
AJ
286042012-10-20 Andreas Jaeger <aj@suse.de>
28605
28606 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
28607 generic values for Linux.
28608 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
28609 and declarations that are provided by <bits/fcntl-linux.h> and
28610 include <bits/fcntl-linux.h>.
28611 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28612 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28613
ac5c94d3
RM
286142012-10-20 Roland McGrath <roland@hack.frob.com>
28615
28616 * io/fcntl.h: Move include of <bits/types.h> to the top and
28617 include it unconditionally.
28618
de54b33a
L
286192012-10-20 H.J. Lu <hongjiu.lu@intel.com>
28620
228cfb01
L
28621 * wcsmbs/Makefile (tests-ifunc): New variable.
28622 (tests): Add $(tests-ifunc).
28623 * wcsmbs/test-wcschr-ifunc.c: New file.
28624 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
28625 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
28626 * wcsmbs/test-wcslen-ifunc.c: Likewise.
28627 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
28628 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
28629
69f07e5f
L
28630 * string/Makefile (tests-ifunc): New variable.
28631 (tests): Add $(tests-ifunc).
28632 * string/test-memccpy.c (TEST_NAME): New macro.
28633 * string/test-memchr.c (TEST_NAME): Likewise.
28634 * string/test-memcmp.c (TEST_NAME): Likewise.
28635 * string/test-memcpy.c (TEST_NAME): Likewise.
28636 * string/test-memmem.c (TEST_NAME): Likewise.
28637 * string/test-memmove.c (TEST_NAME): Likewise.
28638 * string/test-memset.c (TEST_NAME): Likewise.
28639 * string/test-rawmemchr.c (TEST_NAME): Likewise.
28640 * string/test-stpcpy.c (TEST_NAME): Likewise.
28641 * string/test-stpncpy.c (TEST_NAME): Likewise.
28642 * string/test-strcasecmp.c (TEST_NAME): Likewise.
28643 * string/test-strcasestr.c (TEST_NAME): Likewise.
28644 * string/test-strcat.c (TEST_NAME): Likewise.
28645 * string/test-strchr.c (TEST_NAME): Likewise.
28646 * string/test-strcmp.c(TEST_NAME): Likewise.
28647 * string/test-strcpy.c (TEST_NAME): Likewise.
28648 * string/test-strcspn.c (TEST_NAME): Likewise.
28649 * string/test-strlen.c (TEST_NAME): Likewise.
28650 * string/test-strncasecmp.c (TEST_NAME): Likewise.
28651 * string/test-strncmp.c (TEST_NAME): Likewise.
28652 * string/test-strncpy.c (TEST_NAME): Likewise.
28653 * string/test-strnlen.c (TEST_NAME): Likewise.
28654 * string/test-strpbrk.c (TEST_NAME): Likewise.
28655 * string/test-strrchr.c (TEST_NAME): Likewise.
28656 * string/test-strspn.c (TEST_NAME): Likewise.
28657 * string/test-strstr.c (TEST_NAME): Likewise.
28658 * string/test-bcopy-ifunc.c: New file.
28659 * string/test-bzero-ifunc.c: Likewise.
28660 * string/test-memccpy-ifunc.c: Likewise.
28661 * string/test-memchr-ifunc.c: Likewise.
28662 * string/test-memcmp-ifunc.c: Likewise.
28663 * string/test-memcpy-ifunc.c: Likewise.
28664 * string/test-memmem-ifunc.c: Likewise.
28665 * string/test-memmove-ifunc.c: Likewise.
28666 * string/test-mempcpy-ifunc.c: Likewise.
28667 * string/test-memset-ifunc.c: Likewise.
28668 * string/test-rawmemchr-ifunc.c: Likewise.
28669 * string/test-stpcpy-ifunc.c: Likewise.
28670 * string/test-stpncpy-ifunc.c: Likewise.
28671 * string/test-strcasecmp-ifunc.c: Likewise.
28672 * string/test-strcasestr-ifunc.c: Likewise.
28673 * string/test-strcat-ifunc.c: Likewise.
28674 * string/test-strchr-ifunc.c: Likewise.
28675 * string/test-strchrnul-ifunc.c: Likewise.
28676 * string/test-strcmp-ifunc.c: Likewise.
28677 * string/test-strcpy-ifunc.c: Likewise.
28678 * string/test-strcspn-ifunc.c: Likewise.
28679 * string/test-strlen-ifunc.c: Likewise.
28680 * string/test-strncasecmp-ifunc.c: Likewise.
28681 * string/test-strncat-ifunc.c: Likewise.
28682 * string/test-strncmp-ifunc.c: Likewise.
28683 * string/test-strncpy-ifunc.c: Likewise.
28684 * string/test-strnlen-ifunc.c: Likewise.
28685 * string/test-strpbrk-ifunc.c: Likewise.
28686 * string/test-strrchr-ifunc.c: Likewise.
28687 * string/test-strspn-ifunc.c: Likewise.
28688 * string/test-strstr-ifunc.c: Likewise.
28689
de54b33a
L
28690 * debug/Makefile (tests-ifunc): New variable.
28691 (tests): Add $(tests-ifunc).
28692 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
28693 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
28694 * debug/test-stpcpy_chk-ifunc.c: New file.
28695 * debug/test-strcpy_chk-ifunc.c: Likewise.
28696
88481c16
SP
286972012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28698
28699 [BZ #13601]
28700 * elf/dl-load.c (open_verify): Retry read if the entire ELF
28701 header is not read in.
28702
135948bd
JM
287032012-10-19 Joseph Myers <joseph@codesourcery.com>
28704
89f1c388
JM
28705 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
28706 script to $(SHELL) as $<. Pass $(common-objpfx) to script
28707 directly. Pass built executable to script as
28708 $(built-program-cmd).
28709 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
28710 $testprogram without using LD_LIBRARY_PATH and $ldso.
28711
e40a0d21
JM
28712 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
28713 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
28714 $(rtld-installed-name).
28715 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
28716 (rtld_installed_name): Likewise.
28717 (library_path): Likewise.
28718 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
28719 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
28720 $(run-program-prefix) to tst-tables.sh.
28721 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
28722 it to run tst-table-from and tst-table-to.
28723 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
28724 Pass it to tst-table.sh.
28725 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
28726 $(run-program-prefix) to tst-gettext.sh.
28727 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
28728 tst-translit.sh.
28729 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
28730 tst-gettext2.sh.
28731 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
28732 to run tst-gettext.
28733 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
28734 to run tst-gettext2.
28735 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
28736 to run tst-translit.
28737 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
28738 $(run-program-prefix) to tst-mtrace.sh.
28739 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
28740 to run tst-mtrace.
28741 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
28742 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
28743 $(rtld-installed-name).
28744 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
28745 (rtld_installed_name): Likewise.
28746 (run_program_prefix): New variable. Use it to run wordexp-test.
28747
728e272a
JM
28748 * Makeconfig (ARCH): Remove all definitions.
28749 (machine): Likewise.
28750 [ARCH]: Remove conditional code.
28751 [!objdir]: Give error.
28752 [!objdir] (objpfx): Remove.
28753 [!objdir] (common-objpfx): Likewise.
28754 [!objdir] (common-objdir): Likewise.
28755 * configure.in (config_makefile): Remove. Hardcode Makefile in
28756 AC_CONFIG_FILES call.
28757 * configure: Regenerated.
28758
d528cdcf
JM
28759 [BZ #13888]
28760 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
28761 or TMPDIR.
28762 (testout): Likewise.
28763
135948bd
JM
28764 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
28765 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
28766 $(rtld-installed-name).
28767 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
28768 (rtld_installed_name): Likwise.
28769 (runit): Remove function.
28770 (run_getconf): New variable, Use it for running getconf binary.
28771
38c78296
L
287722012-10-18 H.J. Lu <hongjiu.lu@intel.com>
28773
28774 [BZ #14716]
28775 * string/test-memmem.c (check_result): New function.
28776 (do_one_test): Use it.
28777 (check1): New function.
28778 (test_main): Use it.
28779
d077f65f
MT
287802012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
28781
28782 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
28783
ced52c71
JM
287842012-10-18 Joseph Myers <joseph@codesourcery.com>
28785
28786 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
28787 (_G_LSEEK64): Likewise.
28788 (_G_MMAP64): Likewise.
28789 (_G_FSTAT64): Likewise.
28790 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
28791 (_G_LSEEK64): Likewise.
28792 (_G_MMAP64): Likewise.
28793 (_G_FSTAT64): Likewise.
28794 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
28795 unconditional. Call __mmap64 directly.
28796 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
28797 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
28798 __lseek64 directly.
28799 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
28800 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
28801 __mmap64 directly.
28802 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
28803 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
28804 __lseek64 directly.
28805 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
28806 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
28807 __lseek64 directly.
28808 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
28809 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
28810 __lseek64 directly.
28811 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
28812 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
28813 __fxstat64 directly.
28814 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
28815 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
28816 unconditional.
28817 (freopen64) [!_G_OPEN64]: Remove conditional code.
28818 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
28819 unconditional.
28820 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
28821 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
28822 unconditional.
28823 (ftello64) [!_G_LSEEK64]: Remove conditional code.
28824 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
28825 unconditional.
28826 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28827 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
28828 unconditional.
28829 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
28830 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
28831 unconditional.
28832 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28833 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
28834 unconditional.
28835 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28836 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
28837 unconditional.
28838 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28839
b741de23
SP
288402012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28841
28842 [BZ #12140]
28843 * manual/memory.texi (Malloc Tunable Parameters): Add note
28844 about free list pointers overwriting some perturb bytes.
28845 Wording suggested by Roland McGrath.
28846
f9b9d9c9
JM
288472012-10-17 Joseph Myers <joseph@codesourcery.com>
28848
28849 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
28850 (lgamma_test): Likewise.
28851 (tgamma_test): Likewise.
28852
172a631a
FW
288532012-10-16 Florian Weimer <fweimer@redhat.com>
28854
28855 [BZ #14700]
28856 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
28857 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
28858
e9f37252
MK
288592012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
28860
28861 * NEWS: Mention BZ #14716.
28862 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
28863 when removing AVAILABLE1_USES_J macro.
28864
d394eb74
L
288652012-10-12 H.J. Lu <hongjiu.lu@intel.com>
28866
28867 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
28868 (__bswap_64): __uint64_t for unsigned 64-bit int.
28869
ca38dc17
AS
288702012-10-12 Andreas Schwab <schwab@linux-m68k.org>
28871
28872 * include/string.h (memmem): Declare libc hidden alias.
28873 * string/memmem.c (memmem): Define libc hidden alias.
28874 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
28875 __read, __close instead of open, read, close.
28876
9a387d1f
L
288772012-10-11 H.J. Lu <hongjiu.lu@intel.com>
28878
ac49ecaf
L
28879 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
28880 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
28881 global and hidden.
28882 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
28883 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
28884 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
28885 Likewise.
28886 (__rawmemchr_sse2): Likewise.
28887 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
28888 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
28889 (__strchr_sse2): Likewise.
28890 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
28891 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
28892 (__strcasecmp_sse2): Likewise.
28893 (__strncasecmp_sse2): Likewise.
28894 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
28895 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
28896 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
28897 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
28898 (__strrchr_sse2): Likewise.
28899 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
28900 ifunc-impl-list.c.
28901 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28902 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28903 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28904 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28905 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28906 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28907 * sysdeps/x86_64/multiarch/memset.S: Likewise.
28908 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28909 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
28910 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
28911 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
28912 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
28913 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
28914 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28915 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28916 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28917 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28918 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28919 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
28920 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
28921 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
28922 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
28923 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
28924 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28925 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
28926 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28927 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28928 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28929 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28930 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28931
b090e8ea
L
28932 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
28933 global and hidden.
28934 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
28935 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
28936 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
28937 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
28938 Likewise.
28939 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
28940 Likewise.
28941 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
28942 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
28943 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
28944 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
28945 ifunc-impl-list.c.
28946 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28947 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28948 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28949 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28950 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28951 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28952 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28953 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28954 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28955 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28956 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28957 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28958 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28959 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
28960 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
28961 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28962 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
28963 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
28964 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28965 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28966 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28967 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28968 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28969 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28970 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28971 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
28972 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
28973 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
28974 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
28975 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28976 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
28977 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28978 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28979 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
28980 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28981 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28982 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28983 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28984 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28985 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28986 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
28987
11dd4af6
L
28988 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
28989 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
28990 * include/ifunc-impl-list.h: New file.
28991 * misc/ifunc-impl-list.c: Likewise.
28992 * misc/Makefile (routines): Add ifunc-impl-list.
28993 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
28994 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
28995 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
28996 TEST_NAME]: New variables.
11dd4af6
L
28997 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
28998 are defined.
28999 (test_init): Call __libc_ifunc_impl_list to initialize
29000 func_list if TEST_IFUNC and TEST_NAME are defined.
29001
9a387d1f
L
29002 * string/Makefile (strop-tests): Add bcopy and bzero.
29003 * string/test-bcopy.c: New file.
29004 * string/test-bzero.c: Likewise.
29005 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
29006 defined.
29007 * string/test-memset.c: Support bzero test if TEST_BZERO is
29008 defined.
29009 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
29010 __libc_memmove.
29011 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
29012 __libc_memset.
29013 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
29014 of memset.
29015
472371b9
JM
290162012-10-10 Joseph Myers <joseph@codesourcery.com>
29017
1e4a9536
JM
29018 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
29019 * configure: Regenerated.
29020
d173d12e
JM
29021 * Makeconfig (+link-static-before-libc): Don't include
29022 $(link-static-libc).
29023
472371b9
JM
29024 * libio/libio.h (_IO_pos_t): Remove.
29025
89a3ad0b
AO
290262012-10-10 Alexandre Oliva <aoliva@redhat.com>
29027
29028 * NEWS: Add note about FIPS mode. Wording suggested by Roland
29029 McGrath.
29030
e7451425
AO
290312012-10-10 Alexandre Oliva <aoliva@redhat.com>
29032
29033 * crypt/crypt-entry.c: Include fips-private.h.
29034 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
29035 * crypt/md5c-test.c (main): Tolerate disabled MD5.
29036 * sysdeps/unix/sysv/linux/fips-private.h: New file.
29037 * sysdeps/generic/fips-private.h: New file, dummy fallback.
29038
4ba74a35
AO
290392012-10-10 Alexandre Oliva <aoliva@redhat.com>
29040
29041 * crypt/crypt-private.h: Include stdbool.h.
29042 (_ufc_setup_salt_r): Return bool.
29043 * crypt/crypt-entry.c: Include errno.h.
29044 (__crypt_r): Return NULL with EINVAL for bad salt.
29045 * crypt/crypt_util.c (bad_for_salt): New.
29046 (_ufc_setup_salt_r): Check that salt is long enough and within
29047 the specified alphabet.
29048 * crypt/badsalttest.c: New file.
29049 * crypt/Makefile (tests): Add it.
29050 ($(objpfx)badsalttest): New.
29051
f96f1242
MK
290522012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
29053
29054 * NEWS: Add entry for BZ #14602.
29055
0e8e0c1c
JM
290562012-10-09 Joseph Myers <joseph@codesourcery.com>
29057
29058 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
29059 type-generic.
29060 * math/libm-test.inc: Update comment listing what functions and
29061 macros are tested.
29062 (isgreater_test): New function.
29063 (isgreaterequal_test): Likewise.
29064 (isless_test): Likewise.
29065 (islessequal_test): Likewise.
29066 (islessgreater_test): Likewise.
29067 (isunordered_test): Likewise.
29068 (main): Call the new functions.
29069
273edc5e
RM
290702012-10-09 Roland McGrath <roland@hack.frob.com>
29071
b8493de0
RM
29072 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
29073 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
29074 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
29075 * sysdeps/i386/configure: Regenerated.
29076 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
29077 * sysdeps/mach/configure: Regenerated.
29078 * sysdeps/mach/hurd/configure: Regenerated.
29079 * sysdeps/powerpc/configure: Regenerated.
29080 * sysdeps/powerpc/powerpc32/configure: Regenerated.
29081 * sysdeps/powerpc/powerpc64/configure: Regenerated.
29082 * sysdeps/s390/s390-32/configure: Regenerated.
29083 * sysdeps/s390/s390-64/configure: Regenerated.
29084 * sysdeps/sh/configure: Regenerated.
29085 * sysdeps/sparc/configure: Regenerated.
29086 * sysdeps/unix/sysv/linux/configure: Regenerated.
29087 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29088 * sysdeps/x86_64/configure: Regenerated.
29089
273edc5e
RM
29090 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
29091 defined. Don't check if MAP is NULL.
29092
c8450f70
JM
290932012-10-09 Joseph Myers <joseph@codesourcery.com>
29094
29095 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
29096 (_G_stat64): Likewise.
29097 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
29098 (_G_stat64): Likewise.
29099 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
29100 instead of struct _G_stat64.
29101 * libio/fileops.c (mmap_remap_check): Likewise.
29102 (decide_maybe_mmap): Likewise.
29103 (_IO_new_file_seekoff): Likewise.
29104 (_IO_file_stat): Likewise.
29105 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
29106 _G_off64_t.
29107 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
29108 instead of struct _G_stat64.
29109 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29110
57e605ba
MK
291112012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
29112
29113 [BZ #14602]
29114 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29115 Replace with ...
29116 (CHECK_EOL): New macro.
29117 (two_way_short_needle): Check beginning of haystack for EOL. Use
29118 CHECK_EOL.
29119 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29120 Replace with CHECK_EOL.
29121 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29122 Replace with CHECK_EOL.
29123
ef1bb361
JM
291242012-10-08 Joseph Myers <joseph@codesourcery.com>
29125
29126 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
29127 type-generic.
29128 * math/libm-test.inc: Update comment listing what functions and
29129 macros are tested.
29130 (finite_test): New function.
29131 (isinf_test): Likewise.
29132 (isnan_test): Likewise.
29133 (fpclassify_test): Test subnormal input.
29134 (isfinite_test): Likewise.
29135 (isnormal_test): Likewise.
29136 (main): Call the new functions.
29137
55f11534
JN
291382012-10-08 Jonathan Nieder <jrnieder@gmail.com>
29139
29140 [BZ #14660]
29141 * Makerules (%.dynsym): Force C locale when running
29142 $(OBJDUMP) --dynamic-syms.
29143
1ab29350
AS
291442012-10-08 Andreas Schwab <schwab@linux-m68k.org>
29145
29146 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
29147 <stdint.h>.
29148
f1ecb7ef
DM
291492012-10-06 David S. Miller <davem@davemloft.net>
29150
29151 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
29152 upper 32-bits of the length value in %o2 since we use branch-on-register
29153 tests which consider the entire 64-bit register.
29154
5d41d91a
L
291552012-10-06 H.J. Lu <hongjiu.lu@intel.com>
29156
29157 * string/test-strstr.c (check2): Add a test for page boundary.
29158
3baddb72
DM
291592012-10-05 David S. Miller <davem@davemloft.net>
29160
29161 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
29162 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
29163 file.
29164 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29165 sysdep_routines.
29166 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29167 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
29168 and bzero when HWCAP_SPARC_CRYPTO is present.
29169
9cee5585
L
291702012-10-05 H.J. Lu <hongjiu.lu@intel.com>
29171
d7e0dab9
L
29172 [BZ #14602]
29173 * string/test-strstr.c (check2): New function.
29174 (test_main): Call check2.
29175
03759f47
L
29176 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
29177 and bug-strchr1.
29178 * string/bug-strcasestr1.c (do_test): Moved to ...
29179 * string/test-strcasestr.c (check1): Here. New function.
29180 (do_one_test): Break out result checking code into ...
29181 (check_result): This. New function.
29182 (do_one_test): Call check_result.
29183 (test_main): Call check1.
29184 * string/bug-strchr1.c (do_test): Moved to ...
29185 * string/test-strchr.c (check1): Here. New function.
29186 (do_one_test): Break out result checking code into ...
29187 (check_result): This. New function.
29188 (do_one_test): Call check_result.
29189 (test_main): Call check1.
29190 * string/bug-strstr1.c (main): Moved to ...
046f153e 29191 * string/test-strstr.c (check1): Here. New function.
03759f47
L
29192 (do_one_test): Break out result checking code into ...
29193 (check_result): This. New function.
29194 (do_one_test): Call check_result.
29195 (test_main): Call check1.
29196 * string/bug-strcasestr1.c: Removed.
29197 * string/bug-strchr1.c: Likewise.
29198 * string/bug-strstr1.c: Likewise.
29199
53cea63e
L
29200 * elf/Makefile (dl-routines): Add hwcaps.
29201 * elf/dl-support.c (_dl_important_hwcaps): Removed.
29202 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
29203 (_dl_important_hwcaps): Moved to ...
29204 * elf/dl-hwcaps.c: Here. New file.
29205 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
29206
9cee5585 29207 [BZ #14557]
bb859b06
L
29208 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
29209 if IS_IN_rtld isn't defined.
29210
9cee5585
L
29211 * elf/dl-support.c (_dl_sysinfo_map): New.
29212 Include "get-dynamic-info.h" and "setup-vdso.h".
29213 (_dl_non_dynamic_init): Call setup_vdso.
29214 * elf/dynamic-link.h: Don't include <assert.h>.
29215 (elf_get_dynamic_info): Moved to ...
29216 * elf/get-dynamic-info.h: Here. New file.
29217 * elf/dynamic-link.h: Include "get-dynamic-info.h".
29218 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
29219 * elf/setup-vdso.h: Here. New file.
29220 * elf/rtld.c: Include "setup-vdso.h".
29221 (dl_main): Call setup_vdso.
29222
23c31b76
JM
292232012-10-05 Joseph Myers <joseph@codesourcery.com>
29224
28234b07
JM
29225 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
29226 creal in comment listing functions tested. List finite, isinf,
29227 isnan, isless, islessequal, isgreater, isgreaterequal,
29228 islessgreater, isunordered, lgamma_r and pow10 as functions and
29229 macros not tested. Mention which functions not tested are aliases
29230 for other functions. Fix typo. Note that signs of NaNs are not
29231 tested.
29232
23c31b76
JM
29233 * scripts/config.guess: Update from config.git.
29234 * scripts/config.sub: Likewise.
29235
9043e228
RM
292362012-10-04 Roland McGrath <roland@hack.frob.com>
29237
29238 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
29239 * misc/madvise.c (madvise): Renamed to __madvise.
29240 Make madvise a weak alias.
29241 * include/sys/mman.h: Declare __madvise.
29242 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
29243 * sysdeps/unix/syscalls.list
29244 (madvise): Make __madvise the strong name, and madvise a weak alias.
29245 * sysdeps/unix/sysv/linux/syscalls.list
29246 (madvise, mmap): Remove redundant entries.
29247 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
29248 * malloc/malloc.c (mtrim): Likewise.
29249 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
29250
f57f8055
RM
292512012-10-03 Roland McGrath <roland@hack.frob.com>
29252
29253 * sysdeps/mach/hurd/dl-cache.c: File removed.
29254 * config.h.in (USE_LDCONFIG): New #undef.
29255 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
29256 * configure: Regenerated.
29257 * elf/Makefile (dl-routines): Add dl-cache only under
29258 [$(use-ldconfig) = yes].
29259 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
29260 cache on [USE_LDCONFIG].
29261 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
29262 [USE_LDCONFIG].
29263 * elf/rtld.c (dl_main): Likewise.
29264
5bb0c10a
PT
292652012-10-03 Pino Toscano <toscano.pino@tiscali.it>
29266
29267 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
29268 _SC_LEVEL4_CACHE_LINESIZE.
29269
010188c6
RM
292702012-10-03 Roland McGrath <roland@hack.frob.com>
29271
29272 * sysdeps/unix/bsd/confstr.h: File removed.
29273
b6c5ec07
AO
292742012-10-02 Alexandre Oliva <aoliva@redhat.com>
29275
29276 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
29277 sys/sdt-config.h.
29278
408223d4
RM
292792012-10-02 Roland McGrath <roland@hack.frob.com>
29280
29281 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
29282 Make 'mapoff' field ElfW(Off) rather than off_t.
29283
bb9510dc
DL
292842012-10-02 Dmitry V. Levin <ldv@altlinux.org>
29285
fc997c6e
DL
29286 * nscd/Makefile: Remove nscd-cflags and all its users.
29287 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
29288 (CFLAGS-nonlib): Add compiler flags for nscd modules.
29289
bb9510dc
DL
29290 [BZ #10631]
29291 * malloc.c (malloc_printerr): Clarify error message.
29292
05699367
L
292932012-10-02 H.J. Lu <hongjiu.lu@intel.com>
29294
29295 [BZ #14648]
29296 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29297 Set bit_FMA_Usable if FMA is supported.
29298 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
29299 macro.
29300 (bit_FMA4_Usable): Updated.
29301 (index_FMA_Usable): New macro.
29302 (CPUID_FMA): Likewise
29303 (HAS_FMA): Defined with bit_FMA_Usable.
29304
51367701
RM
293052012-10-01 Roland McGrath <roland@hack.frob.com>
29306
29307 * bits/types.h (__swblk_t): Type removed.
29308 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
29309 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
29310 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29311 (__SWBLK_T_TYPE): Likewise.
29312 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29313 (__SWBLK_T_TYPE): Likewise.
29314 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29315 (__SWBLK_T_TYPE): Likewise.
29316 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29317 (__SWBLK_T_TYPE): Likewise.
29318
4d57bf63 293192012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 29320 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
29321
29322 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
29323 (xdr_mapname): Use YPMAXMAP as maxsize.
29324 (xdr_peername): Use YPMAXPEER as maxsize.
29325 (xdr_keydat): Use YPAXRECORD as maxsize.
29326 (xdr_valdat): Use YPMAXRECORD as maxsize.
29327
93c65d43
RM
293282012-10-01 Roland McGrath <roland@hack.frob.com>
29329
497a03d6
RM
29330 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
29331
93c65d43
RM
29332 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
29333 * csu/init-first.c: ... here.
29334 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
29335 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
29336 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
29337 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29338 * sysdeps/i386/init-first.c: File removed.
29339 * sysdeps/sh/init-first.c: File removed.
29340
bec749fd
JM
293412012-10-01 Joseph Myers <joseph@codesourcery.com>
29342
29343 [BZ #14645]
29344 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
29345 if x * y might underflow to zero and z is zero.
29346 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29347 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29348 * math/libm-test.inc (min_subnorm_value): New variable.
29349 (fma_test): Add more tests.
29350 (fma_test_towardzero): Likewise.
29351 (fma_test_downward): Likewise
29352 (fma_test_upward): Likewise.
29353 (initialize): Set min_subnorm_value.
29354
8ec5b013
JM
293552012-09-29 Joseph Myers <joseph@codesourcery.com>
29356
29357 [BZ #14638]
29358 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
29359 0 + 0.
29360 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
29361 mode for addition resulting in exact zero.
29362 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
29363 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
29364 exact 0 + 0.
29365 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29366 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29367 * math/libm-test.inc (fma_test): Add more tests.
29368 (fma_test_towardzero): New function.
29369 (fma_test_downward): Likewise.
29370 (fma_test_upward): Likewise.
29371 (main): Call the new functions.
29372
b1fa802e
DM
293732012-09-28 David S. Miller <davem@davemloft.net>
29374
29375 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
29376
d3b9fd9e
RM
293772012-09-28 Roland McGrath <roland@hack.frob.com>
29378
ea4d37b3
RM
29379 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
29380 instead of SIGALRM.
29381
ac51c949
RM
29382 * sysdeps/gnu/_G_config.h: Moved to ...
29383 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
29384 * sysdeps/mach/hurd/_G_config.h: Moved to ...
29385 * sysdeps/generic/_G_config.h: ... here.
29386
28c195f7
RM
29387 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
29388
848917f9
RM
29389 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
29390
6bacf05b
RM
29391 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
29392 Conditionalize target on [libnss_test1.so-version].
29393
91363dbb
RM
29394 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
29395
cc87f7d8
RM
29396 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
29397 (elfobjdir): Move out of conditionals.
29398
b1c608fe
RM
29399 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
29400 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
29401 (__nss_lookup_function): Conditionalize label remove_from_tree on
29402 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 29403
1d9a6d96
DM
294042012-09-28 David S. Miller <davem@davemloft.net>
29405
29406 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
29407 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
29408 file.
29409 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29410 sysdep_routines.
29411 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29412 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
29413 when HWCAP_SPARC_CRYPTO is present.
29414
72581615
PT
294152012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29416
29417 * io/tst-mknodat.c: Create a FIFO instead of a socket.
29418
715a900c
JL
294192012-09-28 Andreas Schwab <schwab@linux-m68k.org>
29420
29421 [BZ #6530]
29422 * stdio-common/vfprintf.c (process_string_arg): Revert
29423 2000-07-22 change.
29424
294252011-09-28 Jonathan Nieder <jrnieder@gmail.com>
29426
29427 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
29428 for testcase.
29429 * stdio-common/tst-sprintf.c: Include <locale.h>
29430 (main): Test sprintf's handling of incomplete multibyte
29431 characters.
29432
9bac1d86
L
294332012-09-28 H.J. Lu <hongjiu.lu@intel.com>
29434
29435 * elf/dl-runtime.c (VERSYMIDX): Removed.
29436 * elf/dl-version.c (VERSYMIDX): Likewise.
29437 * elf/do-rel.h (VERSYMIDX): Likewise.
29438 (VALIDX): Likewise.
29439 * elf/dynamic-link.h (VERSYMIDX): Likewise.
29440 * elf/rtld.c (VALIDX): Likewise.
29441 (ADDRIDX): Likewise.
9bac1d86
L
29442 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
29443 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
29444 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
29445 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
29446 (VALIDX): Likewise.
29447 (ADDRIDX): Likewise.
9bac1d86 29448
b31606c0
PT
294492012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29450
29451 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
29452
11541177
JL
294532012-09-28 Dmitry V. Levin <ldv@altlinux.org>
29454
29455 [BZ #11438]
29456 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
29457 to global scope.
29458 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
29459 addresses are in the same scope as 192.0.2/24.
29460 * posix/gai.conf: Document new scope table defaults.
29461
adb26fae
SP
294622012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29463
29464 [BZ #5298]
29465 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
29466 for ftell. Compute offsets from write pointers instead.
29467 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29468
4573c6b0
SP
294692012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29470
29471 [BZ #14543]
29472 * libio/Makefile (tests): New test case tst-fseek.
29473 * libio/tst-fseek.c: New test case to verify that fseek/ftell
29474 combination works in wide mode.
29475 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
29476 state when the external buffer state changes.
29477
aa9bbfe6
DM
294782012-09-27 David S. Miller <davem@davemloft.net>
29479
29480 [BZ #14376]
29481 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
29482 pass reloc->r_addend in as the 'high' argument to
29483 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
29484
784421e7
DM
29485 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29486
c39bc8b8
PT
294872012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29488
29489 * rt/tst-aio2.c: Include <pthread.h>.
29490 * rt/tst-aio3.c: Likewise.
29491
1ccc2399
SE
294922012-09-27 Steve Ellcey <sellcey@mips.com>
29493
29494 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
29495
31ed4153
L
294962012-09-27 H.J. Lu <hongjiu.lu@intel.com>
29497
25f5f885
L
29498 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
29499 contents on [SHARED].
31ed4153 29500
b7bfe116
MP
295012012-09-26 Marek Polacek <polacek@redhat.com>
29502
29503 [BZ #14530]
29504 [BZ #13741]
29505 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
29506 for C++ and GCC <4.3 as well as for non GCC compilers.
29507
43c4edba
MT
295082012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
29509
29510 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29511
6a1bf82f
RM
295122012-09-25 Roland McGrath <roland@hack.frob.com>
29513
29514 * Makefile.in (all, install): Declare with .PHONY.
29515 Reported by Michael Hope <michael.hope@linaro.org>.
29516
8ad11b9a
TMQMF
295172012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29518
29519 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
29520 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
29521 system header.
29522 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
29523 Likewise.
29524 (sydep_routines): Add the new and the internal functions.
29525 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
29526 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
29527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
29528 (GLIBC_2.17): Add the new function.
29529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29530 (GLIBC_2.17): Likewise.
29531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
29532 (GLIBC_2.17): Likewise.
29533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
29534 (GLIBC_2.17): Likewise.
29535 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
29536
7e2fca8d
AM
295372012-09-25 Alan Modra <amodra@gmail.com>
29538
29539 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
29540 Add release barrier before setting once_control to say
29541 initialisation is done. Add hints on lwarx. Use macro in
29542 place of isync.
29543 (clear_once_control): Add release barrier.
29544
b87c4b24
JM
295452012-09-25 Joseph Myers <joseph@codesourcery.com>
29546
d032e0d2
JM
29547 [BZ #13629]
29548 * math/s_clog.c (__clog): Handle more values close to |z| = 1
29549 specially.
29550 * math/s_clog10.c (__clog10): Likewise.
29551 * math/s_clog10f.c (__clog10f): Likewise.
29552 * math/s_clog10l.c (__clog10l): Likewise.
29553 * math/s_clogf.c (__clogf): Likewise.
29554 * math/s_clogl.c (__clogl): Likewise.
29555 * math/Makefile (libm-calls): Add x2y2m1.
29556 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
29557 (__x2y2m1): Likewise.
29558 (__x2y2m1l): Likewise.
29559 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
29560 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
29561 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
29562 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29563 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
29564 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
29565 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
29566 * sysdeps/i386/fpu/libm-test-ulps: Update.
29567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29568
b87c4b24
JM
29569 [BZ #14621]
29570 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
29571 int as type of variable DEPTH.
29572 (glob): Use size_t instead of int as type of variables NEWCOUNT
29573 and OLD_PATHC.
29574
6d3bf199
LD
295752012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29576
22bf5c17
LD
29577 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29578 Add s_sincosf-sse2.
29579 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
29580 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
29581 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
29582 macros for using routine as __sincosf_ia32.
29583 Use macro for function declaration and weak_alias.
29584 * sysdeps/i386/fpu/libm-test-ulps: Update.
29585
29586 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
29587 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29588
29589 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
29590 subnormal argument.
29591 * math/s_cexpf.c (__cexpf): Likewise.
29592 * math/s_csinf.c (__csinf): Likewise.
29593 * math/s_csinhf.c (__csinhf): Likewise.
29594 * math/s_ctanf.c (__ctanf): Likewise.
29595 * math/s_ctanhf.c (__ctanhf): Likewise.
29596 * math/s_ccosh.c (__ccoshf): Likewise.
29597 * math/s_cexp.c (__cexpl): Likewise.
29598 * math/s_csin.c (__csin): Likewise.
29599 * math/s_csinh.c (__csinh): Likewise.
29600 * math/s_ctan.c (__ctan): Likewise.
29601 * math/s_ctanh.c (ctanh): Likewise.
29602 * math/s_ccoshl.c (__ccoshl): Likewise.
29603 * math/s_cexpl.c (__cexpl): Likewise.
29604 * math/s_csinl.c (__csinl): Likewise.
29605 * math/s_csinhl.c (__csinhl): Likewise.
29606 * math/s_ctanl.c (__ctanl): Likewise.
29607 * math/s_ctanhl.c (__ctanhl): Likewise.
29608
203e5603
JM
296092012-09-25 Joseph Myers <joseph@codesourcery.com>
29610
29611 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
29612 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
29613 (_IO_off_t): Define to __off_t, not _G_off_t.
29614 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
29615 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
29616 (_IO_wint_t): Define to wint_t, not _G_wint_t.
29617 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
29618 type of __dummy and __dummy2 fields.
29619 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
29620 (_G_ssize_t): Likewise.
29621 (_G_off_t): Likewise.
29622 (_G_pid_t): Likewise.
29623 (_G_uid_t): Likewise.
29624 (_G_wchar_t): Likewise.
29625 (_G_wint_t): Likewise.
29626 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
29627 (_G_ssize_t): Likewise.
29628 (_G_off_t): Likewise.
29629 (_G_pid_t): Likewise.
29630 (_G_uid_t): Likewise.
29631 (_G_wchar_t): Likewise.
29632 (_G_wint_t): Likewise.
29633 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
29634 (_G_ssize_t): Likewise.
29635 (_G_off_t): Likewise.
29636 (_G_pid_t): Likewise.
29637 (_G_uid_t): Likewise.
29638 (_G_wchar_t): Likewise.
29639 (_G_wint_t): Likewise.
29640
9fab36eb
SP
296412012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29642
29643 * malloc/arena.c: Include malloc-sysdep.h.
29644 (shrink_heap): Use check_may_shrink_heap to decide if madvise
29645 is sufficient to shrink the heap or an unmap is needed.
29646 * sysdeps/generic/malloc-sysdep.h: New file. Define
29647 new function check_may_shrink_heap.
29648 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
29649 new function check_may_shrink_heap.
29650
2b4f00d1
SP
296512012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29652
29653 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
29654 comments.
29655
9a9028b1
DL
296562012-09-24 Dmitry V. Levin <ldv@altlinux.org>
29657
57c69bef
DL
29658 * catgets/test-gencat.sh: Add "set -e".
29659 * elf/tst-pathopt.sh: Likewise.
29660 * grp/tst_fgetgrent.sh: Likewise.
29661 * iconvdata/run-iconv-test.sh: Likewise.
29662 * intl/tst-gettext.sh: Likewise.
29663 * intl/tst-gettext2.sh: Likewise.
29664 * intl/tst-gettext4.sh: Likewise.
29665 * intl/tst-gettext6.sh: Likewise.
29666 * intl/tst-translit.sh: Likewise.
29667 * io/ftwtest-sh: Likewise.
29668 * libio/test-freopen.sh: Likewise.
29669 * malloc/tst-mtrace.sh: Likewise.
29670 * posix/globtest.sh: Likewise.
29671 * posix/tst-getconf.sh: Likewise.
29672 * posix/wordexp-tst.sh: Likewise.
29673 * stdio-common/tst-printf.sh: Likewise.
29674 * stdio-common/tst-unbputc.sh: Likewise.
29675 * stdlib/tst-fmtmsg.sh: Likewise.
29676 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29677 * catgets/Makefile: Do not specify -e option when running
29678 testsuite shell scripts.
29679 * elf/Makefile: Likewise.
29680 * grp/Makefile: Likewise.
29681 * iconvdata/Makefile: Likewise.
29682 * intl/Makefile: Likewise.
29683 * io/Makefile: Likewise.
29684 * libio/Makefile: Likewise.
29685 * malloc/Makefile: Likewise.
29686 * posix/Makefile: Likewise.
29687 * stdio-common/Makefile: Likewise.
29688 * stdlib/Makefile: Likewise.
29689 * sysdeps/x86_64/Makefile: Likewise.
29690
9a9028b1
DL
29691 * io/ftwtest-sh: Add copyright header.
29692 * posix/globtest.sh: Likewise.
29693 * posix/tst-getconf.sh: Likewise.
29694 * posix/wordexp-tst.sh: Likewise.
29695 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29696
ced6f16e
L
296972012-09-24 H.J. Lu <hongjiu.lu@intel.com>
29698
94b32c39
L
29699 [BZ #13679]
29700 * Makeconfig (+link): Defined as $(+link-static) if
29701 $(build-shared) isn't yes.
29702 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
29703 isn't yes.
29704 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
29705
189e935b
L
29706 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
29707
ced6f16e
L
29708 [BZ #14562]
29709 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
29710 new chunk size with MALLOC_ALIGN_MASK.
29711
a9f8e53a
JM
297122012-09-24 Joseph Myers <joseph@codesourcery.com>
29713
29714 [BZ #5044]
29715 * stdio-common/printf_fphex.c: Include <stdbool.h> and
29716 <rounding-mode.h>.
29717 (__printf_fphex): Determine rounding using get_rounding_mode and
29718 round_away.
29719 * stdio-common/tst-printf-round.c (struct hex_test): New
29720 structure.
29721 (hex_tests): New variable.
29722 (test_hex_in_one_mode): New function.
29723 (do_test): Also run tests for hex float output.
29724
43153109
JM
297252012-09-21 Joseph Myers <joseph@codesourcery.com>
29726
29727 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29728 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29729 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
29730 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29731 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29732 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
29733 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29734 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29735
8a26625d
JM
297362012-09-20 Joseph Myers <joseph@codesourcery.com>
29737
29738 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
29739 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
29740 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
29741 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
29742
f3fd569c
DL
297432012-09-19 Dmitry V. Levin <ldv@altlinux.org>
29744
29745 [BZ #14579]
29746 * elf/rtld.c (dl_main): Limit the check for self loading to normal
29747 mode only.
29748 * elf/tst-rtld-load-self.sh: New test.
29749 * elf/Makefile: Run it.
29750
63bbedd4
JM
297512012-09-18 Joseph Myers <joseph@codesourcery.com>
29752
29753 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
29754 (tst-writev-ENV): Remove.
29755 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
29756
626f8b6a
CM
297572012-09-17 Chris Metcalf <cmetcalf@tilera.com>
29758
29759 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
29760
b7aaa4d6
JM
297612012-09-17 Joseph Myers <joseph@codesourcery.com>
29762
29763 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
29764 unconditional.
29765 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
29766 Likewise.
29767 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
29768 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
29769 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
29770 Likewise.
29771
65513990
L
297722012-09-14 H.J. Lu <hongjiu.lu@intel.com>
29773
29774 [BZ #14587]
29775 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
29776 * config.make.in (have-cpp-asm-debuginfo): Removed.
29777 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
29778 * configure: Regenerated.
29779
784761be
JM
297802012-09-14 Joseph Myers <joseph@codesourcery.com>
29781
29782 [BZ #5044]
29783 * stdio-common/printf_fp.c: Include <stdbool.h> and
29784 <rounding-mode.h>.
29785 (___printf_fp): Determine rounding using get_rounding_mode and
29786 round_away.
29787 * stdio-common/tst-printf-round.c: New file.
29788 * stdio-common/Makefile (tests): Add tst-printf-round.
29789 (link-libm): New variable.
29790 ($(objpfx)tst-printf-round): Depend in $(link-libm).
29791
9503345f
L
297922012-09-13 H.J. Lu <hongjiu.lu@intel.com>
29793
29794 [BZ #14576]
29795 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
29796 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
29797 Likewise.
29798 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
29799 Likewise.
29800
ad35fc00
JM
298012012-09-13 Joseph Myers <joseph@codesourcery.com>
29802
29803 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
29804 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29805 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29806 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29807
6c9b0f68
JM
298082012-09-12 Joseph Myers <joseph@codesourcery.com>
29809
29810 [BZ #14518]
29811 * include/rounding-mode.h: New file.
29812 * sysdeps/generic/get-rounding-mode.h: Likewise.
29813 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
29814 * stdlib/strtod_l.c: Include <rounding-mode.h>.
29815 (MAX_VALUE): New macro.
29816 (MIN_VALUE): Likewise.
29817 (overflow_value): New function.
29818 (underflow_value): Likewise.
29819 (round_and_return): Use overflow_value and underflow_value to
29820 determine return values in overflow and underflow cases. Use
29821 round_away to determine rounding depending on rounding mode.
29822 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
29823 determine return values in overflow and underflow cases.
29824 * stdlib/tst-strtod-round.c: Include <fenv.h>.
29825 (struct test_results): New structure.
29826 (struct test): Use struct test_results to store expected results
29827 for all rounding modes.
29828 (TEST): Include expected results for all rounding modes.
29829 (test_in_one_mode): New function.
29830 (do_test): Use test_in_one_mode to compute and check results.
29831 Check results for all rounding modes.
29832 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
29833 $(link-libm).
29834
19fcedd5
AM
298352012-12-09 Allan McRae <allan@archlinux.org>
29836
1e9d84cd 29837 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 29838
8bbfd2f1
JM
298392012-09-11 Joseph Myers <joseph@codesourcery.com>
29840
29841 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
29842 (_G_int32_t): Likewise.
29843 (_G_uint16_t): Likewise.
29844 (_G_uint32_t): Likewise.
29845 (_G_HAVE_BOOL): Likewise.
29846 (_G_HAVE_ATEXIT): Likewise.
29847 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29848 (_G_HAVE_IO_FILE_OPEN): Likewise.
29849 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
29850 (_G_int32_t): Likewise.
29851 (_G_uint16_t): Likewise.
29852 (_G_uint32_t): Likewise.
29853 (_G_HAVE_BOOL): Likewise.
29854 (_G_HAVE_ATEXIT): Likewise.
29855 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29856 (_G_HAVE_IO_FILE_OPEN): Likewise.
29857 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
29858 (_G_int32_t): Likewise.
29859 (_G_uint16_t): Likewise.
29860 (_G_uint32_t): Likewise.
29861 (_G_HAVE_BOOL): Likewise.
29862 (_G_HAVE_ATEXIT): Likewise.
29863 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29864 (_G_HAVE_IO_FILE_OPEN): Likewise.
29865
b1dc5912
L
298662012-09-11 H.J. Lu <hongjiu.lu@intel.com>
29867
29868 * csu/libc-tls.c: Update copyright years.
29869
0e886ef9
JM
298702012-09-10 Joseph Myers <joseph@codesourcery.com>
29871
28361c5e
JM
29872 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
29873 [!_G_USING_THUNKS]: Remove conditional code.
29874 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
29875 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
29876
0e886ef9
JM
29877 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
29878 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
29879 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29880 (_G_VTABLE_LABEL_PREFIX): Likewise.
29881 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29882 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29883 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29884 (_G_VTABLE_LABEL_PREFIX): Likewise.
29885 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29886 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29887 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29888 (_G_VTABLE_LABEL_PREFIX): Likewise.
29889 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29890
bcba7aa2
L
298912012-09-10 H.J. Lu <hongjiu.lu@intel.com>
29892
29893 * libio/Makefile: Include ../Makeconfig before tests.
29894 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
29895 only if $(build-shared) is yes.
29896
06585ee8
L
29897 * iconv/gconv_db.c: Update copyright years.
29898
80ccd52c
LD
298992012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29900
29901 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
29902 unwind info if defined PIC. Fix special cases description.
29903 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
29904
29905 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
29906 DP_HI_MASK entry.
29907 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
29908
691bc9c1
L
299092012-09-07 H.J. Lu <hongjiu.lu@intel.com>
29910
3d9b46b3
L
29911 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
29912
de2139a9
L
29913 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
29914 is NULL.
29915
5ca78dd0
L
29916 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
29917 (LDLIBS-tst-chk4): This.
29918 (LDFLAGS-tst-chk5): Renamed to ...
29919 (LDLIBS-tst-chk5): This.
29920 (LDFLAGS-tst-chk6): Renamed to ...
29921 (LDLIBS-tst-chk6): This.
29922 (LDFLAGS-tst-lfschk4): Renamed to ...
29923 (LDLIBS-tst-lfschk4): This.
29924 (LDFLAGS-tst-lfschk5): Renamed to ...
29925 (LDLIBS-tst-lfschk5): This.
29926 (LDFLAGS-tst-lfschk6): Renamed to ...
29927 (LDLIBS-tst-lfschk6): This.
29928
691bc9c1
L
29929 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
29930 on $(common-objpfx)soversions.mk.
29931
65cafb1c
JM
299322012-09-07 Joseph Myers <joseph@codesourcery.com>
29933
29934 [BZ #10014]
29935 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
29936 example host name.
29937
c78ab094
SP
299382012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29939
29940 * malloc/arena.c (arena_get_retry): New function that gets
29941 another arena for the caller to try its request on.
29942 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
29943 current arena cannot fulfill the request.
29944 (__libc_memalign): Likewise.
29945 (__libc_memalign): Likewise.
29946 (__libc_pvalloc): Likewise.
29947 (__libc_calloc): Likewise.
29948
01f49f59
JT
299492012-09-05 John Tobey <john.tobey@gmail.com>
29950
29951 [BZ #13542]
29952 * manual/arith.texi (Operations on Complex): Fix description
29953 of carg branch cut.
29954
4c23fed5
JM
299552012-09-06 Joseph Myers <joseph@codesourcery.com>
29956
1d3c8572
JM
29957 [BZ #10014]
29958 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
29959 host name.
29960
4c23fed5
JM
29961 [BZ #10038]
29962 * manual/memory.texi (Memory): Make order of menu items match
29963 order of sections.
29964
04570aaa
L
299652012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29966
29967 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
29968 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
29969 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
29970
b80af2f4
L
299712012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29972
29973 * csu/libc-tls.c (static_dtv): Renamed to ...
29974 (_dl_static_dtv): This. Make it global.
29975 (_dl_initial_dtv): Removed.
29976 (__libc_setup_tls): Updated.
29977 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
29978 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
29979 DL_INITIAL_DTV.
29980
2abe9f15
PM
299812012-09-06 Petr Machata <pmachata@redhat.com>
29982
29983 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
29984 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
29985 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
29986 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
29987
0948c3af
L
299882012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29989
29990 [BZ #14545]
29991 * csu/libc-tls.c (_dl_initial_dtv): New variable.
29992 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
29993 freeing dtv[-1].
29994
a5055ad1
L
299952012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29996
29997 [BZ #14544]
29998 * Makeconfig (link-static-before-libc): Replace $(+prector)
29999 with $(+prectorT).
30000 (link-static-after-libc): Replace $(+postctor) with
30001 $(+postctorT).
30002 (link-bounded): Replace $(+prector)/$(+postctor) with
30003 $(+prectorT)/$(+postctorT).
30004 (+prectorT): New macro.
30005 (+postctorT): Likewise.
30006
ed8c2ecd
JM
300072012-09-06 Joseph Myers <joseph@codesourcery.com>
30008
30009 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
30010 (round_str): Handle values above the maximum for IBM long double
30011 as inexact.
30012 * stdlib/tst-strtod-round.c (tests): Regenerated.
30013
14c996c8
AK
300142012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30015
30016 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
30017 assembler flag.
30018 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
30019 zarch_nohighgprs around the zarch optimized routines.
30020 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
30021 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
30022 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
30023 for zarch.
30024
430d6ce6
DM
300252012-09-05 David S. Miller <davem@davemloft.net>
30026
30027 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30028
57f41c40
AS
30029 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
30030 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
30031 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
30032 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30033 entries.
30034
24d4e01b
AO
300352012-09-05 Alexandre Oliva <aoliva@redhat.com>
30036
30037 * malloc/arena.c: Fold copyright years.
30038 * malloc/mcheck.c, malloc/memusage.c: Likewise.
30039
61d58174
AO
300402012-09-05 Alexandre Oliva <aoliva@redhat.com>
30041
30042 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
30043
20196a5e
AO
300442012-09-05 Alexandre Oliva <aoliva@redhat.com>
30045
30046 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
30047
5c447383
AO
300482012-09-05 Alexandre Oliva <aoliva@redhat.com>
30049
30050 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
30051 change internal state upon failure.
30052
fad64255
AO
300532012-09-05 Alexandre Oliva <aoliva@redhat.com>
30054
30055 * malloc/mcheck.c (mcheck_check_all): Fix typo.
30056 * malloc/memusage.c (mmap): Likewise.
30057 (mmap64, mremap): Likewise. Adjust name in comment.
30058
1ffb8c90
SP
300592012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30060
30061 * libio/fileops.c: Fix typos in comments.
30062 * libio/oldfileops.c: Likewise.
30063 * libio/wfileops.c: Likewise.
30064
6ef9cc37
SP
300652012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30066
30067 [BZ #1349]
30068 * malloc/Makefile (tests): Add tst-malloc-usable test case.
30069 (tst-malloc-usable-ENV): Set environment for test case.
30070 * malloc/hooks.c (malloc_check_get_size): New function to get
30071 requested size.
30072 * malloc/malloc.c (musable): Use malloc_check_get_size.
30073 * malloc/tst-malloc-usable.c: New test case.
30074
4d038ae3
AS
300752012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30076
30077 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
30078
c4e85184
AM
300792012-09-05 Allan McRae <allan@archlinux.org>
30080
b9dafc56 30081 [BZ #13966]
c4e85184
AM
30082 * configure.in (CXX_SYSINCLUDES): Use compiler output to
30083 determine header location.
30084 * configure: Regenerated.
30085
e1343020
AS
300862012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30087
30088 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
30089 float format.
30090 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
30091 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
30092 format.
e1343020
AS
30093 (test): Regenerate.
30094
0a9f1987
DM
300952012-09-04 David S. Miller <davem@davemloft.net>
30096
30097 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
30098 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
30099 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
30100
29237804
FW
301012012-09-04 Florian Weimer <fweimer@redhat.com>
30102
30103 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
30104 failures.
30105
edb3cb88
FW
30106 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
30107
60160d83
JM
301082012-09-04 Joseph Myers <joseph@codesourcery.com>
30109
30110 [BZ #9914]
30111 * libio/iogetdelim.c: Include <limits.h>.
30112 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
30113 + len + 1 would overflow.
30114
bcd6c8dc
AJ
301152012-09-03 Andreas Jaeger <aj@suse.de>
30116
30117 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30118 * sysdeps/i386/fpu/libm-test-ulps: Update.
30119
4ffffbd2
LD
301202012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30121
30122 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30123 Add s_sinf-sse2, s_conf-sse2.
30124
30125 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
30126 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
30127 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
30128 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
30129
30130 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
30131 for using routine as __sinf_ia32.
30132 Use macro for function declaration and weak_alias.
30133 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
30134 for using routine as __cosf_ia32.
30135 Use macro for function declaration and weak_alias.
30136
30137 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
30138 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
30139
30140 * sysdeps/x86_64/fpu/s_sinf.S: New file.
30141 * sysdeps/x86_64/fpu/s_cosf.S: New file.
30142 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30143
30144 * math/libm-test.inc (cos_test): Add more test cases.
30145 (sin_test): Likewise.
30146 (sincos_test): Likewise.
30147
511fa286
AK
301482012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30149
30150 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30151 (IFUNC_RESOLVE): Make pointers to the specialized implementations
30152 hidden.
30153 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30154
5f30cfec
L
301552012-09-02 H.J. Lu <hongjiu.lu@intel.com>
30156
30157 [BZ #14538]
30158 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
30159 first element of the GOT.
30160 (elf_machine_load_address): Return the difference between
30161 the runtime address of _DYNAMIC and elf_machine_dynamic ().
30162
0786794f
AM
301632012-09-01 Allan McRae <allan@archlinux.org>
30164
5f30cfec
L
30165 [BZ #13412]
30166 * configure.in (AWK): Require gawk version 3.0 or later.
30167 * configure: Regenerated.
0786794f 30168
26889eac
JM
301692012-09-01 Joseph Myers <joseph@codesourcery.com>
30170
30171 * sysdeps/unix/sysv/linux/kernel-features.h
30172 (__ASSUME_POSIX_CPU_TIMERS): Remove.
30173 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30174 [__NR_clock_getres]: Make code unconditional.
30175 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
30176 (clock_getcpuclockid): Remove code left unreachable by removal of
30177 conditionals.
30178 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
30179 code unconditional.
30180 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30181 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30182 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
30183 Make code unconditional.
30184 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30185 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30186 * sysdeps/unix/sysv/linux/clock_settime.c
30187 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
30188 conditional code.
30189 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
30190 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30191
d22e28b0
L
301922012-08-29 H.J. Lu <hongjiu.lu@intel.com>
30193
30194 [BZ #14476]
30195 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
30196 scripts/test-installation.pl.
30197
30198 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
30199 and $ld_so_version if it is set.
30200
050af9c4
SP
302012012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30202
30203 [BZ #14516]
30204 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
30205 failure if reading from procfs failed.
30206 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
30207
ad845c0b
JM
302082012-08-27 Joseph Myers <joseph@codesourcery.com>
30209
30210 * sysdeps/unix/sysv/linux/kernel-features.h
30211 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
30212 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30213 Remove conditional code.
30214 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30215 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
30216 Remove conditional code.
30217 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30218 * sysdeps/unix/sysv/linux/i386/fxstat.c
30219 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30220 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30221 * sysdeps/unix/sysv/linux/i386/fxstatat.c
30222 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30223 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30224 * sysdeps/unix/sysv/linux/i386/lxstat.c
30225 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30226 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30227 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
30228 Remove conditional code.
30229 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30230 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30231 Remove conditional code.
30232 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30233 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
30234 <kernel-features.h>.
30235 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
30236 Remove.
30237 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
30238 Remove conditional code.
30239 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30240 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
30241 Remove conditional.
30242
5dbf56af
MF
302432012-08-27 Mike Frysinger <vapier@gentoo.org>
30244
30245 [BZ #5400]
30246 * NEWS: Add fixed bug number.
30247
d6e70f43
JM
302482012-08-27 Joseph Myers <joseph@codesourcery.com>
30249
7efb4737
JM
30250 [BZ #14519]
30251 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
30252 underflowing exponent in case of negative sign.
30253 * stdlib/tst-strtod-round-data: Add more tests.
30254 * stdlib/tst-strtod-round.c (tests): Regenerated.
30255
af92131a
JM
30256 [BZ #3479]
30257 * stdlib/strtod_l.c (NDIG): Remove.
30258 (HEXNDIG): Likewise.
30259 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
30260 smallest representable value.
30261 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
30262 lie within an exact representation of 1/2 ulp of the result.
30263 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
30264 unconditionally.
30265 (TENS_P9_IDX): Define unconditionally.
30266 (TENS_P9_SIZE): Likewise.
30267 (TENS_P10_IDX): Likewise.
30268 (TENS_P10_SIZE): Likewise.
30269 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
30270 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
30271 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
30272 entries for 10^2^13 and 10^2^14.
30273 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
30274 (TENS_P13_IDX): Define.
30275 (TENS_P13_SIZE): Likewise.
30276 (TENS_P14_IDX): Likewise.
30277 (TENS_P14_SIZE): Likewise.
30278 (_fpioconst_pow10): Change array size to
30279 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
30280 unconditional.
30281 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
30282 1024]: Add entries for 10^2^13 and 10^2^14.
30283 [LAST_POW10 > _LAST_POW10]: Remove #error.
30284 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
30285 (_fpioconst_pow10): Change array size to
30286 FPIOCONST_POW10_ARRAY_SIZE.
30287 * stdlib/gen-fpioconst.c: New file.
30288 * stdlib/gen-tst-strtod-round.c: Likewise.
30289 * stdlib/tst-strtod-round-data: Likewise.
30290 * stdlib/tst-strtod-round.c: Likewise.
30291 * stdlib/Makefile (tests): Add tst-strtod-round.
30292
d6e70f43
JM
30293 [BZ #14459]
30294 * stdlib/strtod_l.c: Include <stdint.h>.
30295 (NDEBUG): Do not define.
30296 (round_and_return): Change EXPONENT parameter to type intmax_t.
30297 Rearrange calculations to avoid internal overflow possibilities.
30298 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
30299 Rearrange calculations to avoid internal overflow possibilities.
30300 Assert that number fits inside MPNSIZE limbs.
30301 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
30302 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
30303 calculations and add assertions to avoid internal overflow
30304 possibilities. Add casts to avoid signed/unsigned operations.
30305 * stdlib/tst-strtod-overflow.c: New file.
30306 * stdlib/Makefile (tests): Add tst-strtod-overflow.
30307
1f529f7d
MP
303082012-08-25 Marek Polacek <polacek@redhat.com>
30309
30310 * time/time.h: Fix some typos in comments.
30311
59a629f1
RM
303122012-08-23 Roland McGrath <roland@hack.frob.com>
30313
30314 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
30315 * posix/tst-rfc3484-2.c: Likewise.
30316 * posix/tst-rfc3484-3.c: Likewise.
30317
d3bafbc9
SM
303182012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
30319
30320 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
30321 (EF_ARM_ABI_FLOAT_HARD): Likewise.
30322
4efcc022
JM
303232012-08-23 Joseph Myers <joseph@codesourcery.com>
30324
30325 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
30326 #include of fxstatat64.c.
30327
3cc3ef96
RM
303282012-08-22 Roland McGrath <roland@hack.frob.com>
30329
f04e2132
RM
30330 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
30331 * shadow/getspent_r.c: Likewise.
30332 * shadow/getspnam.c: Likewise.
30333 * shadow/getspnam_r.c: Likewise.
30334 * gshadow/getsgent.c: Likewise.
30335 * gshadow/getsgent_r.c: Likewise.
30336 * gshadow/getsgnam.c: Likewise.
30337 * gshadow/getsgnam_r.c: Likewise.
30338 * inet/getnetbyad.c: Likewise.
30339 * inet/getnetbyad_r.c: Likewise.
30340 * inet/getnetbynm.c: Likewise.
30341 * inet/getnetbynm_r.c: Likewise.
30342 * inet/getnetent.c: Likewise.
30343 * inet/getnetent_r.c: Likewise.
30344 * inet/getproto.c: Likewise.
30345 * inet/getproto_r.c: Likewise.
30346 * inet/getprtent.c: Likewise.
30347 * inet/getprtent_r.c: Likewise.
30348 * inet/getprtname.c: Likewise.
30349 * inet/getprtname_r.c: Likewise.
30350 * inet/getrpcbyname.c: Likewise.
30351 * inet/getrpcbyname_r.c: Likewise.
30352 * inet/getrpcbynumber.c: Likewise.
30353 * inet/getrpcbynumber_r.c: Likewise.
30354 * inet/getrpcent.c: Likewise.
30355 * inet/getrpcent_r.c: Likewise.
30356 * inet/getaliasent.c: Likewise.
30357 * inet/getaliasent_r.c: Likewise.
30358 * inet/getaliasname.c: Likewise.
30359 * inet/getaliasname_r.c: Likewise.
30360 * nscd/getgrgid_r.c: Likewise.
30361 * nscd/getgrnam_r.c: Likewise.
30362 * nscd/gethstbyad_r.c: Likewise.
30363 * nscd/gethstbynm3_r.c: Likewise.
30364 * nscd/getpwnam_r.c: Likewise.
30365 * nscd/getpwuid_r.c: Likewise.
30366 * nscd/getsrvbynm_r.c: Likewise.
30367 * nscd/getsrvbypt_r.c: Likewise.
30368 * nscd/gai.c: Likewise.
30369
c53d909c
RM
30370 * configure.in (build_nscd): New substituted variable, set
30371 by --disable-build-nscd and defaults to $use_nscd.
30372 * configure: Regenerated.
30373 * config.make.in (build-nscd): New substituted variable.
30374 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
30375 Change conditional to require [$(build-nscd) = yes] as well.
30376 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
30377
3cc3ef96
RM
30378 [BZ# 13696]
30379 * configure.in (use_nscd): New substituted variable, set by
30380 --disable-nscd. If enabled, define USE_NSCD.
30381 * configure: Regenerated.
30382 * config.h.in: Add USE_NSCD.
30383 * config.make.in (use-nscd): New substituted variable.
30384 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
30385 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
30386 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
30387 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
30388 (CFLAGS-getgrnam_r.c): Likewise.
30389 (CFLAGS-initgroups.c): Likewise.
30390 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
30391 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
30392 Variables removed.
30393 * inet/getnetgrent_r.c
30394 (nscd_setnetgrent): New function, broken out of ...
30395 (setnetgrent): ... here. Call it.
30396 (innetgr): Conditionalize nscd bits on [USE_NSCD].
30397 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
30398 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
30399 * nscd/Makefile (routines, aux): Move definitions after include of
30400 Makeconfig. Conditionalize on [$(use-nscd) != no].
30401 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
30402 Conditionalize on [USE_NSCD].
30403 (is_nscd, nscd_init_cb): Likewise.
30404 (nss_load_library): Conditionalize init callback on [USE_NSCD].
30405 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
30406 * nss/nss_db/db-init.c: Likewise.
30407 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
30408 [USE_NSCD].
30409 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
30410 (make_request): Use it.
30411 (cache_valid_p): New function.
30412 (__check_pf): Use it.
30413 * NEWS: Add item for --disable-nscd.
30414
07e51550
DL
304152012-08-22 Dmitry V. Levin <ldv@altlinux.org>
30416
30417 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
30418 to support sed >= 4.2.1-20-ga9bf076.
30419 * configure: Regenerated.
30420
35a5b08b
RM
304212012-08-22 Roland McGrath <roland@hack.frob.com>
30422
30423 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
30424 Conditionalize whole body on [IREL].
30425
8479f23a
JL
304262012-08-22 Jeff Law <law@redhat.com>
30427
30428 [BZ #14505]
30429 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
30430 if the family is PF_UNSPEC.
30431
48da0b21
MF
304322012-08-22 Mike Frysinger <vapier@gentoo.org>
30433
30434 * Makerules (lib-version): Rename from V.
30435 (install-lib-nosubdir): Change V to lib-version.
30436
15d0da8c
WS
304372012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
30438
30439 [BZ #14252]
30440 * powerpc32/power6/wcschr.c: New file.
30441 * powerpc32/power6/wcscpy.c: New file.
30442 * powerpc32/power6/wcsrchr.c: New file.
30443 * powerpc64/power6/wcschr.c: New file.
30444 * powerpc64/power6/wcscpy.c: New file.
30445 * powerpc64/power6/wcsrchr.c: New file.
30446
bcca0895
MK
304472012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
30448
30449 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
30450 (two_way_short_needle): Use it.
5a4aaa33
RM
30451 * string/strstr.c (AVAILABLE1_USES_J): Define.
30452 * string/strcasestr.c: Likewise.
99677e57
MK
30453
30454 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
30455 array references.
30456 * string/strcasestr.c (TOLOWER): Make side-effect safe.
30457
400726de
MK
30458 [BZ #11607]
30459 * NEWS: Add an entry.
30460 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
30461 define their defaults.
30462 (two_way_short_needle): Detect end-of-string on-the-fly.
30463 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
30464 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
30465 * string/bug-strcasestr1.c: New test.
30466 * string/Makefile: Run it.
30467
20a71f2c
MK
304682012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
30469
30470 [BZ #11607]
30471 * string/str-two-way.h (two_way_short_needle): Optimize matching of
30472 the first character.
30473
21ad0558
RM
304742012-08-21 Roland McGrath <roland@hack.frob.com>
30475
30476 * csu/elf-init.c (__libc_csu_irel): Function removed.
30477 * csu/libc-start.c (apply_irel): New function.
30478 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
30479
0e1d9911
JM
304802012-08-21 Joseph Myers <joseph@codesourcery.com>
30481
30482 * sysdeps/unix/sysv/linux/kernel-features.h
30483 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
30484 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30485 <kernel-features.h>.
30486 [__NR_fadvise64_64]: Make code unconditional.
30487 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
30488 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30489 !__NR_fadvise64_64)]: Likewise.
30490 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30491 !__NR_fadvise64_64))]: Likewise.
30492 [__NR_fadvise64]: Make code unconditional.
30493 [!__NR_fadvise64]: Remove conditional code.
30494 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
30495 <kernel-features.h>.
30496 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30497 unconditional.
30498 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30499 conditional code.
30500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
30501 not include <kernel-features.h>.
30502 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30503 unconditional.
30504 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30505 conditional code.
30506 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
30507 include <kernel-features.h>.
30508 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30509 unconditional.
30510 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30511 conditional code.
30512
14a50c9d
WS
305132012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
30514
30515 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
30516 slight instruction rearrangements per scrollpipe analysis.
30517 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30518
c0f4faf0
RM
305192012-08-20 Roland McGrath <roland@hack.frob.com>
30520
696da859
RM
30521 * manual/syslog.texi (syslog; vsyslog, closelog):
30522 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
30523 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
30524
c0f4faf0
RM
30525 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
30526 DSOCAPS to match condition on defining it.
30527
348363b2
JM
305282012-08-20 Joseph Myers <joseph@codesourcery.com>
30529
a35cbf28
JM
30530 * sysdeps/unix/sysv/linux/kernel-features.h
30531 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
30532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
30533 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30534 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
30536 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30537 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
30539 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30540 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30541
445f7ecd
JM
30542 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
30543 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
30544
348363b2
JM
30545 * sysdeps/unix/sysv/linux/kernel-features.h
30546 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
30547 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
30548 unconditional.
30549 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30550 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
30551 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30552 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30553 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
30554 Make code unconditional.
30555 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30556 (__mmap64) [!__NR_mmap2]: Likewise.
30557 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
30558 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30559 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30560 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
30561 [__NR_mmap2]: Make code unconditional.
30562 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30563 (__mmap64) [!__NR_mmap2]: Likewise.
30564
bc5bc0e5
AK
305652012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30566
30567 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
30568
88d506de
AJ
305692012-08-18 Andreas Jaeger <aj@suse.de>
30570
30571 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
30572
493387d2
MF
305732012-08-18 Mike Frysinger <vapier@gentoo.org>
30574
30575 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
30576 * include/unistd.h (__have_sock_cloexec): Likewise.
30577 (__have_pipe2): Likewise.
30578 (__have_dup3): Likewise.
30579
a277af22
MF
305802012-08-18 Mike Frysinger <vapier@gentoo.org>
30581
30582 [BZ #9685]
30583 * include/unistd.h (__have_pipe2): Change define into an extern int.
30584 (__have_dup3): Likewise.
30585 * socket/have_sock_cloexec.c: Include fcntl.h.
30586 (__have_pipe2): New variable.
30587 (__have_dup3): Likewise.
30588
fdab8fd3
MF
305892012-08-17 Mike Frysinger <vapier@gentoo.org>
30590
30591 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
30592
31035e80
MP
305932012-08-17 Marek Polacek <polacek@redhat.com>
30594
30595 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
30596 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
30597
3bd9e993
RM
305982012-08-17 Roland McGrath <roland@hack.frob.com>
30599
c91c505f
RM
30600 * configure.in: Add AC_SUBST for sysheaders.
30601 * configure: Regenerated.
30602 * config.make.in (sysheaders): New substituted variable.
30603
7c6f9d53
RM
30604 * sysdeps/unix/mkfifo.c: Moved ...
30605 * sysdeps/posix/mkfifo.c: ... here.
30606 * sysdeps/unix/mkfifoat.c: Moved ...
30607 * sysdeps/posix/mkfifoat.c: ... here.
30608
30609 * sysdeps/unix/utime.c: Moved ...
30610 * sysdeps/posix/utime.c: ... here.
30611
30612 * sysdeps/unix/time.c: Moved ...
30613 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
30614 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
30615 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
30616
30617 * sysdeps/unix/nice.c: Moved ...
30618 * sysdeps/posix/nice.c: ... here.
30619
30620 * sysdeps/unix/alarm.c: Moved ...
30621 * sysdeps/posix/alarm.c: ... here.
30622
3bd9e993
RM
30623 * intl/Makefile ($(codeset_mo)): Depend on the input file.
30624
d1f09384
JL
306252012-08-17 Jeff Law <law@redhat.com>
30626
30627 * intl/Makefile (codeset_mo): New variable.
30628 ($(codeset_mo)): New target.
30629 (tst-codeset.out): Depend on that. Remove explicit rule.
30630 (tst-gettext3.out, tst-gettext5.out): Likewise.
30631 (LOCPATH-ENV, tst-codeset-ENV): New variables.
30632 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
30633 * intl/tst-codeset.sh: Remove.
30634 * intl/tst-gettext3.sh: Likewise.
30635 * intl/tst-gettext5.sh: Likewise.
30636
2ae1ae5c
RM
306372012-08-17 Roland McGrath <roland@hack.frob.com>
30638
c31fdb83
RM
30639 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
30640 * sysdeps/unix/syscalls.list: ... here.
30641
a0844057
RM
30642 * sysdeps/posix/getaddrinfo.c
30643 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
30644 (gaiconf_init, gaiconf_reload): Use them.
30645 [!_STATBUF_ST_NSEC]
30646 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
30647 Define using time_t rather than struct timespec.
30648
750c1f2a
RM
30649 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
30650 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
30651 Macros removed.
30652 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
30653 [!NO_THREADS].
30654 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
30655 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
30656 Likewise.
30657
2ae1ae5c
RM
30658 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
30659 __libc_cleanup_push argument.
30660
e66a42f5
RM
30661 * bits/param.h: New file.
30662 * misc/sys/param.h: New file.
30663 * include/sys/param.h: New file.
30664 * misc/Makefile (headers): Add bits/param.h.
30665 * sysdeps/generic/sys/param.h: File removed.
30666 * sysdeps/unix/sysv/linux/bits/param.h: New file.
30667 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
30668 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 30669 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 30670
b7c08a66
RM
30671 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
30672 last change.
30673
b2e1c562
RM
30674 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
30675 [_IO_MTSAFE_IO].
30676 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
30677 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
30678 New macros.
30679
c75ccd4c
RM
30680 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
30681 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
30682 rather than -D_IO_MTSAFE_IO conditionally.
30683 * stdio-common/Makefile (CPPFLAGS): Likewise.
30684 * wcsmbs/Makefile (CPPFLAGS): Likewise.
30685 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
30686 Use $(libio-mtsafe).
30687 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
30688 of -D_IO_MTSAFE_IO.
30689 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
30690 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
30691 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
30692 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
30693 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
30694 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
30695 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
30696 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
30697 (CFLAGS-fread_u_chk.c): Likewise.
30698 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
30699 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
30700 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
30701 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
30702 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
30703 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
30704 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
30705 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
30706 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
30707
30708 * libio/Makefile: Test [$(libc-reentrant) = yes]
30709 instead of [$(filter %REENTRANT, $(defines)) nonempty].
30710
30711 * Makeconfig
30712 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
30713 * sysdeps/pthread/configure: File removed.
30714 * sysdeps/pthread/Makeconfig: New file.
30715 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
30716 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
30717
d9195db8
GB
307182012-08-16 Gary Benson <gbenson@redhat.com>
30719
30720 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
30721 unmapping the first object in a namespace.
30722
86466cd9
RM
307232012-08-16 Roland McGrath <roland@hack.frob.com>
30724
30725 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
30726 (__internal_setnetgrent): ... this. Add internal_function to
30727 definition. Add libc_hidden_def.
30728 (setnetgrent): Update caller.
30729 (internal_endnetgrent): Renamed to ...
30730 (__internal_endnetgrent): ... this. Add internal_function to
30731 definition. Add libc_hidden_def.
30732 (endnetgrent): Update caller.
30733 (internal_getnetgrent_r): Renamed to ...
30734 (__internal_getnetgrent_r): ... this. Add internal_function to
30735 definition. Add libc_hidden_def.
30736 (__getnetgrent_r): Update caller.
30737 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
30738
c3c8283c
JM
307392012-08-16 Joseph Myers <joseph@codesourcery.com>
30740
30741 * stdlib/longlong.h: Update from GCC.
30742
db1ee0a8
RM
307432012-08-16 Roland McGrath <roland@hack.frob.com>
30744
30745 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
30746 on _QL, which is set by umul_ppmm but never used.
30747 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
30748 variables, which are set by GMP macros but never used.
30749 * stdio-common/_itowa.c (_itowa): Likewise.
30750 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
30751 * stdlib/mod_1.c (mpn_mod_1): Likewise.
30752
30f69637
CD
307532012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
30754
30755 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
30756 struct La_sh_regs is not constant.
30757 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
30758 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
30759 and struct La_sparc64_regs are not constant.
30760
93a78ac4
JM
307612012-08-16 Joseph Myers <joseph@codesourcery.com>
30762
30763 * sysdeps/unix/sysv/linux/kernel-features.h
30764 (__ASSUME_POSIX_TIMERS): Remove.
30765 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30766 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30767 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
30768 Make code unconditional.
30769 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30770 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
30771 Make code unconditional.
30772 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30773 * sysdeps/unix/sysv/linux/clock_nanosleep.c
30774 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
30775 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30776 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
30777 Make code unconditional.
30778 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30779 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
30780 (__libc_missing_posix_timers): Remove.
30781
dd924cd7
RM
307822012-08-15 Roland McGrath <roland@hack.frob.com>
30783
4b4f2771
RM
30784 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
30785 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
30786
601c888b
RM
30787 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
30788
176790a7
RM
30789 * elf/dl-sym.c: Include <stdlib.h>.
30790
329bc018
RM
30791 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
30792 constants, which avoids warnings in 32-bit builds.
30793
e04e272d
RM
30794 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
30795 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
30796
952bf94a
RM
30797 * misc/lseek.c: File moved to ...
30798 * io/lseek.c: ... here.
30799
7c99b50a
RM
30800 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
30801
dd924cd7
RM
30802 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
30803 shifting LEN more than 31 bits at once.
30804
b3f479a8
LD
308052012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30806
30807 [BZ #14195]
8c4ae0d4
RM
30808 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
30809 segmentation fault for a case of two empty input strings.
b3f479a8
LD
30810 * string/test-strncasecmp.c (check1): Renamed to...
30811 (bz12205): ...this.
30812 (bz14195): Add new testcase for two empty input strings and N > 0.
30813 (test_main): Call new testcase, adapt for renamed function.
30814
9c55864e
AJ
308152012-08-15 Andreas Jaeger <aj@suse.de>
30816
30817 [BZ #14090]
30818 * crypt/md5test2.c: New test, based on test supplied by Serge
30819 Belyshev <belyshev@depni.sinp.msu.ru>.
30820 * crypt/Makefile (xtests): Add md5test-giant..
30821 * crypt/Makefile ($(objpfx)md5test-giant): Add.
30822
02dcb6c5
PE
308232012-08-15 Paul Eggert <eggert@cs.ucla.edu>
30824
30825 [BZ #14090]
30826 * crypt/md5.c (md5_process_block): Don't assume the buffer
30827 length is less than 2**32.
30828 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
30829 length is less than 2**64.
30830
a3f95dcc
RM
308312012-08-15 Roland McGrath <roland@hack.frob.com>
30832
be75d758
RM
30833 * string/str-two-way.h: Include <sys/param.h>.
30834 (MAX): Macro removed.
30835
7312ca90
RM
30836 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
30837 Move #define and #undef of memmove to just before and after
30838 including <string.h>.
30839
9a0a5486
RM
30840 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
30841 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
30842 and after including <string.h>. Move declarations of
30843 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
30844 to before #include "string/memmove.c".
30845
67cc348d
RM
30846 * include/dirent.h: Declare __getdirentries.
30847
a3f95dcc
RM
30848 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
30849 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
30850
ca98e171
MF
308512012-08-14 Mike Frysinger <vapier@gentoo.org>
30852
30853 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
30854 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
30855 * sysdeps/i386/configure: Regenerated.
30856 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
30857 STABS_CURRENT_FILE, and STABS_FUN.
30858 (END): Remove call to STABS_FUN_END.
30859 (STABS_CURRENT_FILE1): Delete.
30860 (STABS_CURRENT_FILE): Likewise.
30861 (STABS_FUN): Likewise.
30862 (STABS_FUN_END): Likewise.
30863 (STABS_FUN2): Likewise.
30864 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
30865 * sysdeps/x86_64/configure: Regenerated.
30866
5908bf46
RM
308672012-08-14 Roland McGrath <roland@hack.frob.com>
30868
30869 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 30870 * elf/dl-lookup.c: Likewise.
5908bf46 30871
f2c05b9e
JM
308722012-08-14 Joseph Myers <joseph@codesourcery.com>
30873
30874 * sysdeps/unix/sysv/linux/kernel-features.h
30875 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
30876 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
30877 unconditionally.
30878 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
30879 unconditionally.
30880 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
30881 condition on __ASSUME_CLONE_THREAD_FLAGS.
30882
e11f5155
AJ
308832012-08-14 Andreas Jaeger <aj@suse.de>
30884
30885 * sysdeps/i386/fpu/libm-test-ulps: Update.
30886
51a9ba86
MK
308872012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
30888
2fdd4f78
AJ
30889 * include/atomic.h (atomic_exchange_and_add): Split into ...
30890 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
30891 New atomic macros.
51a9ba86 30892
ba6cba9e
MT
308932012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
30894
30895 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30896
42443a47
JL
308972012-08-13 Jeff Law <law@redhat.com>
30898
30899 * manual/stdio.texi (snprintf): Clarify handling of the trailing
30900 null byte in the output string.
30901
121dce05
JM
309022012-08-10 Joseph Myers <joseph@codesourcery.com>
30903
30904 * sysdeps/unix/sysv/linux/kernel-features.h
30905 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
30906 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
30907 (__ASSUME_ARG_MAX_STACK_BASED): Define.
30908 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
30909 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
30910 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
30911 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
30912
bf51f568
JL
309132012-08-09 Jeff Law <law@redhat.com>
30914
30915 [BZ #13939]
30916 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
30917 When avoid_arena is set, don't retry in the that arena. Pick the
30918 next one, whatever it might be.
30919 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
30920 (arena_lock): Pass in new parameter to arena_get2.
30921 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
30922 arena_get2.
30923 (__libc_malloc): Unify retrying after main arena failure with
30924 __libc_memalign version.
30925 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
30926
f85fa270
L
309272012-08-09 H.J. Lu <hongjiu.lu@intel.com>
30928
30929 [BZ #14166]
30930 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
30931 to __redirect_strstr.
30932 (__strstr_sse42): Use typeof __redirect_strstr.
30933 (__strstr_ia32): Likewise.
30934 (__libc_strstr): New prototype.
30935 (strstr): Renamed to ...
30936 (__libc_strstr): This.
30937 (strstr): New strong alias of __libc_strstr.
30938 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30939 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
30940 __redirect_time.
30941 Include <time.h>.
30942 (__libc_time): New prototype.
30943 (time_ifunc): Replace time with __libc_time.
30944 (time): New strong alias and hidden definition of __libc_time.
30945 (__GI_time): Remove strong alias.
30946 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
30947 Include <stddef.h>.
30948 (memmove): Redefined to __redirect_memmove.
30949 (__memmove_sse2): Use typeof __redirect_memmove.
30950 (__memmove_ssse3): Likewise.
30951 (__memmove_ssse3_back): Likewise.
30952 (__libc_memmove): New prototype.
30953 (memmove): Renamed to ...
30954 (__libc_memmove): This.
30955 (memmove): New strong alias of __libc_memmove.
30956
33b4a91e
MS
309572012-08-08 Mark Salter <msalter@redhat.com>
30958
30959 * elf/elf.h
30960 (R_MN10300_TLS_GD): Define.
30961 (R_MN10300_TLS_LD): Likewise.
30962 (R_MN10300_TLS_LDO): Likewise.
30963 (R_MN10300_TLS_GOTIE): Likewise.
30964 (R_MN10300_TLS_IE): Likewise.
30965 (R_MN10300_TLS_LE): Likewise.
30966 (R_MN10300_TLS_DTPMOD): Likewise.
30967 (R_MN10300_TLS_DTPOFF): Likewise.
30968 (R_MN10300_TLS_TPOFF): Likewise.
30969 (R_MN10300_SYM_DIFF): Likewise.
30970 (R_MN10300_ALIGN): Likewise.
30971 (R_MN10300_NUM): Update.
30972
b36137f1
JM
309732012-08-08 Joseph Myers <joseph@codesourcery.com>
30974
30975 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
30976 Remove.
30977
cdd915fd
RM
309782012-08-08 Roland McGrath <roland@hack.frob.com>
30979
a2433aac
RM
30980 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
30981
cdd915fd
RM
30982 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
30983 sysdeps/unix -> sysdeps/posix move.
30984 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30985
bf9b740a
AM
309862012-08-07 Allan McRae <allan@archlinux.org>
30987
30988 [BZ #14303]
30989 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
30990 (SUNOS_CPP): Likewise.
30991 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
30992 not found.
30993 (open_input): Call CPP using execvp.
30994
93df14ee
JM
309952012-08-07 Joseph Myers <joseph@codesourcery.com>
30996
30997 * sysdeps/unix/sysv/linux/kernel-features.h
30998 (__ASSUME_PROT_GROWSUPDOWN): Remove.
30999 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31000 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31001 (__ASSUME_WAITID_SYSCALL): Likewise.
31002 * sysdeps/unix/sysv/linux/dl-execstack.c
31003 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
31004 code unconditional.
31005 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
31006 conditional code.
31007 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
31008 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
31009 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
31010 code.
31011 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
31012 unconditional.
31013 [__ASSUME_WAITID_SYSCALL]: Likewise.
31014 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
31015
d34689de
RM
310162012-08-07 Roland McGrath <roland@hack.frob.com>
31017
a281decc
RM
31018 * sysdeps/unix/closedir.c: Renamed to ...
31019 * sysdeps/posix/closedir.c: ... here.
31020 * sysdeps/unix/dirfd.c: Renamed to ...
31021 * sysdeps/posix/dirfd.c: ... here.
31022 * sysdeps/unix/dirstream.h: Renamed to ...
31023 * sysdeps/posix/dirstream.h: ... here.
31024 * sysdeps/unix/fdopendir.c: Renamed to ...
31025 * sysdeps/posix/fdopendir.c: ... here.
31026 * sysdeps/unix/opendir.c: Renamed to ...
31027 * sysdeps/posix/opendir.c: ... here.
31028 * sysdeps/unix/readdir.c: Renamed to ...
31029 * sysdeps/posix/readdir.c: ... here.
31030 * sysdeps/unix/readdir_r.c: Renamed to ...
31031 * sysdeps/posix/readdir_r.c: ... here.
31032 * sysdeps/unix/rewinddir.c: Renamed to ...
31033 * sysdeps/posix/rewinddir.c: ... here.
31034 * sysdeps/unix/seekdir.c: Renamed to ...
31035 * sysdeps/posix/seekdir.c: ... here.
31036 * sysdeps/unix/telldir.c: Renamed to ...
31037 * sysdeps/posix/telldir.c: ... here.
31038 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
31039 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
31040 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31041 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
31042
22895b47
RM
31043 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
31044 * bits/fcntl.h: ... here.
31045
707a53b6
RM
31046 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
31047 not 0.
31048 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
31049 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
31050 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
31051 (struct flock): Move l_start, l_len to the beginning.
31052 Use __pid_t for l_pid.
31053 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
31054 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
31055 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
31056 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
31057 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
31058 [__USE_LARGEFILE64] (struct flock64): New type.
31059 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
31060
f0bd3e25
RM
31061 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
31062 * bits/dirent.h: ... here.
31063
d34689de
RM
31064 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
31065 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
31066
6dad2c06
JM
310672012-08-07 Joseph Myers <joseph@codesourcery.com>
31068
31069 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31070 Change from 2.6.0 to 2.6.16.
31071 * sysdeps/unix/sysv/linux/configure: Regenerated.
31072 * sysdeps/unix/sysv/linux/kernel-features.h
31073 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
31074 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
31075 version.
31076 (__ASSUME_UTIMES): Likewise.
31077 (__ASSUME_CLONE_STOPPED): Remove.
31078 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
31079 architectures, not kernel version.
31080 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
31081 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31082 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31083 (__ASSUME_WAITID_SYSCALL): Likewise.
31084 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
31085 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
31086 * README: State 2.6.16 as minimum Linux kernel version. Do not
31087 refer to older versions.
31088
03af9520
RM
310892012-08-06 Roland McGrath <roland@hack.frob.com>
31090
8e49df1d
RM
31091 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
31092 Define alphasort64 as an alias.
31093 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
31094 Define versionsort64 as an alias.
31095 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
31096 Define scandir64 as an alias.
31097 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
31098 Define scandirat64 as an alias.
31099 * dirent/alphasort64.c (alphasort64):
31100 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
31101 * dirent/versionsort64.c: Likewise.
31102 * dirent/scandir64.c: Likewise.
31103 * dirent/scandirat64.c: Likewise.
31104 * sysdeps/wordsize-64/alphasort.c: File removed.
31105 * sysdeps/wordsize-64/alphasort64.c: File removed.
31106 * sysdeps/wordsize-64/scandir.c: File removed.
31107 * sysdeps/wordsize-64/scandir64.c: File removed.
31108 * sysdeps/wordsize-64/scandirat.c: File removed.
31109 * sysdeps/wordsize-64/scandirat64.c: File removed.
31110 * sysdeps/wordsize-64/versionsort.c: File removed.
31111 * sysdeps/wordsize-64/versionsort64.c: File removed.
31112 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
31113 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
31114 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
31115 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
31116 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
31117 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
31118 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
31119 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
31120
31121 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
31122 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31123 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
31124 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31125 [defined __arch64__ || defined __sparcv9]
31126 (__INO_T_MATCHES_INO64_T): New macro.
31127 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31128 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
31129 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
31130 * sysdeps/unix/sysv/linux/bits/dirent.h
31131 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
31132 (_DIRENT_MATCHES_DIRENT64): New macro.
31133
03af9520
RM
31134 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
31135 Define lockf64 as an alias.
31136 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
31137 Define fseeko64 as an alias.
31138 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
31139 Define ftello64 as an alias.
31140 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
31141 Define _IO_fgetpos64 and fgetpos64 as aliases.
31142 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
31143 Define _IO_fsetpos64 and fsetpos64 as aliases.
31144 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
31145 Conditionalize body on this.
31146 * libio/fseeko64.c: Likewise.
31147 * libio/ftello64.c: Likewise.
31148 * libio/iofgetpos64.c: Likewise.
31149 * libio/iofsetpos64.c: Likewise.
31150 * sysdeps/wordsize-64/lockf.c: File removed.
31151 * sysdeps/wordsize-64/lockf64.c: File removed.
31152 * sysdeps/wordsize-64/fseeko.c: File removed.
31153 * sysdeps/wordsize-64/fseeko64.c: File removed.
31154 * sysdeps/wordsize-64/ftello.c: File removed.
31155 * sysdeps/wordsize-64/ftello64.c: File removed.
31156 * sysdeps/wordsize-64/iofgetpos.c: File removed.
31157 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
31158 * sysdeps/wordsize-64/iofsetpos.c: File removed.
31159 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
31160 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
31161 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
31162 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
31163 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
31164 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
31165 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
31166 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
31167 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
31168 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
31169 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
31170
31171 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31172 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31173 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
31174 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31175 [defined __arch64__ || defined __sparcv9]
31176 (__OFF_T_MATCHES_OFF64_T): New macro.
31177 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31178 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31179 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31180 (__OFF_T_MATCHES_OFF64_T): New macro.
31181
c5757acd
L
311822012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31183
31184 * stdlib/secure-getenv.c (__secure_getenv): Replace
31185 GLIBC_2_16 with GLIBC_2_17.
31186
3a31811e
L
311872012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31188
31189 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
31190 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31191
faa2bccb
DM
311922012-08-03 David S. Miller <davem@davemloft.net>
31193
31194 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31195
85fe1997
JM
311962012-08-03 Joseph Myers <joseph@codesourcery.com>
31197
31198 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
31199 Remove.
31200 (__ASSUME_CORRECT_SI_PID): Likewise.
31201 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
31202 (__ASSUME_TMPFS_NAME): Likewise.
31203 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
31204 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
31205 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
31206 (HAVE_AUX_SECURE): Make definition unconditional.
31207 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
31208 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
31209
4f75b7a0
RM
312102012-08-03 Roland McGrath <roland@hack.frob.com>
31211
31212 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
31213 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
31214 * sysdeps/mach/hurd/eloop-threshold.h: New file.
31215 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31216 __eloop_threshold instead of SYMLOOP_MAX.
31217
31218 * sysdeps/generic/eloop-threshold.h: New file.
31219 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
31220 of MAXSYMLINKS.
31221 * elf/chroot_canon.c (chroot_canon): Likewise.
31222
7aab07e4
JM
312232012-08-03 Joseph Myers <joseph@codesourcery.com>
31224
31225 [BZ #13717]
31226 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31227 Change to 2.6.0 everywhere.
31228 * sysdeps/unix/sysv/linux/configure: Regenerated.
31229 * sysdeps/unix/sysv/linux/kernel-features.h
31230 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
31231 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
31232 kernel versions.
31233 (__ASSUME_POSIX_TIMERS): Define unconditionally.
31234 (__ASSUME_FUTEX_REQUEUE): Remove.
31235 (__ASSUME_STATFS64): Define unconditionally.
31236 (__ASSUME_AT_SECURE): Likewise.
31237 (__ASSUME_CORRECT_SI_PID): Likewise.
31238 (__ASSUME_TGKILL): Define without depending on kernel version for
31239 i386.
31240 (__ASSUME_UTIMES): Likewise.
31241 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
31242 kernel version.
31243 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
31244 (__ASSUME_TMPFS_NAME): Likewise.
31245 * README: Update reference to Linux kernel versions.
31246
b67e9372
MP
312472012-08-02 Marek Polacek <polacek@redhat.com>
31248
1f529f7d 31249 [BZ# 14150]
b67e9372
MP
31250 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
31251 libc_cv_asm_type_prefix with %.
31252 * configure: Regenerated.
d2441631
RM
31253 * include/libc-symbols.h: Remove comment about
31254 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
31255 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
31256 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
31257 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
31258 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
31259 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31260 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
31261 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
31262 * elf/tst-unique2mod1.c: Likewise.
31263 * elf/tst-unique1mod2.c: Likewise.
31264 * elf/tst-unique1mod1.c: Likewise.
31265 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
31266 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
31267 Replace ASM_TYPE_DIRECTIVE with .type.
31268 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31269 * sysdeps/i386/sysdep.h: Likewise.
31270 * sysdeps/x86_64/sysdep.h: Likewise.
31271 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
31272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31273 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 31274 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
31275 * sysdeps/powerpc/powerpc32/sysdep.h:
31276 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
31277 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31278 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31279 * sysdeps/i386/fpu/e_powf.S: Likewise.
31280 * sysdeps/i386/fpu/e_expl.S: Likewise.
31281 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31282 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31283 * sysdeps/i386/fpu/e_pow.S: Likewise.
31284 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31285 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31286 * sysdeps/i386/fpu/s_expm1.S: Likewise.
31287 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31288 * sysdeps/i386/fpu/e_log2.S: Likewise.
31289 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31290 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31291 * sysdeps/i386/fpu/e_powl.S: Likewise.
31292 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31293 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31294 * sysdeps/i386/fpu/e_logl.S: Likewise.
31295 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31296 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31297 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31298 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31299 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31300 * sysdeps/i386/fpu/e_log.S: Likewise.
31301 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31302 * sysdeps/i386/fpu/e_logf.S: Likewise.
31303 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31304 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31305 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31306 * sysdeps/i386/fpu/e_log10.S: Likewise.
31307 * sysdeps/i386/fpu/s_frexp.S: Likewise.
31308 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31309 * sysdeps/i386/fpu/s_asinh.S: Likewise.
31310 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31311 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31312 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
31313 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31314 * sysdeps/i386/i686/strtok.S: Likewise.
31315 * sysdeps/i386/i386-mcount.S: Likewise.
31316 * sysdeps/i386/strtok.S: Likewise.
31317 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
31318 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31319 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31320 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31321 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
31322 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31323 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31324 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31325 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31326 * sysdeps/x86_64/_mcount.S: Likewise.
31327 * sysdeps/x86_64/strtok.S: Likewise.
31328 * sysdeps/sh/_mcount.S: Likewise.
31329
2747bf9a
RM
313302012-08-01 Roland McGrath <roland@hack.frob.com>
31331
31332 * libio/iofopen.c: Include <fcntl.h>.
31333 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
31334 (_IO_fopen64, fopen64): Define as aliases.
31335 * libio/iofopen64.c: Include <fcntl.h>.
31336 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
31337 Conditionalize body on this.
31338 * sysdeps/wordsize-64/iofopen.c: File removed.
31339 * sysdeps/wordsize-64/iofopen64.c: File removed.
31340
3fb791b8
MP
313412012-08-01 Marek Polacek <polacek@redhat.com>
31342
31343 * libc/Makeconfig: Use elf in place of binfmt-subdir.
31344 Use dlfcn directly instead of a variable.
31345 (binfmt-subdir): Do not define.
31346 (dlfcn): Likewise.
31347
a9f1039f
JM
313482012-08-01 Joseph Myers <joseph@codesourcery.com>
31349
23bddc06
JM
31350 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
31351 Remove all definitions.
31352 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
31353 <kernel-features.h>.
31354 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31355 (miss_F_GETOWN_EX): Remove all definitions.
31356 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
31357 macro definition.
31358 [!__ASSUME_FCNTL64]: Remove conditional code.
31359 [__ASSUME_FCNTL64]: Make code unconditional.
31360 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
31361 <kernel-features.h>.
31362 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31363 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
31364 (lockf64) [__NR_fcntl64]: Make code unconditional.
31365 (lockf64) [__ASSUME_FCNTL64]: Likewise.
31366
a9f1039f
JM
31367 * sysdeps/unix/sysv/linux/kernel-features.h
31368 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
31369 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
31370 Make code unconditional.
31371 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31372 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
31374 [__NR_vfork]: Make code unconditional.
31375 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31376 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
31378 [__NR_vfork]: Make code unconditional.
31379 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31380 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31381
09c0ee5f
RM
313822012-08-01 Roland McGrath <roland@hack.frob.com>
31383
48aec5b9
RM
31384 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
31385 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
31386
cd97c966
RM
31387 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31388 Define mkstemp64 as an alias.
3f55550c
RM
31389 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31390 Define mkstemps64 as an alias.
cd97c966
RM
31391 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31392 Define mkostemp64 as an alias.
b8625cfc
RM
31393 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31394 Define mkostemps64 as an alias.
cd97c966
RM
31395 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
31396 Conditionalize body on this.
31397 * misc/mkostemp64.c: Likewise.
b8625cfc 31398 * misc/mkostemps64.c: Likewise.
3f55550c 31399 * misc/mkstemps64.c: Likewise.
cd97c966
RM
31400 * sysdeps/wordsize-64/mkstemp64.c: File removed.
31401 * sysdeps/wordsize-64/mkostemp64.c: File removed.
31402 * sysdeps/wordsize-64/mkostemp.c: File removed.
31403 * sysdeps/wordsize-64/mkstemp.c: File removed.
31404 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
31405 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
31406 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
31407 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
31408
09c0ee5f
RM
31409 [BZ #14138]
31410 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
31411 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
31412 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
31413 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
31414
31415 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
31416 compat_symbol macros from <shlib-compat.h> rather than the underlying
31417 default_symbol_version and symbol_version macros, so that DEFAULT
31418 lines in shlib-versions are respected.
31419 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
31420
7e66ee51
FW
314212012-08-01 Florian Weimer <fweimer@redhat.com>
31422
31423 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
31424 Declare with warn_unused_result.
31425 (setgid, setregid, setegid, setresgid): Likewise.
31426 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
31427 Likewise.
31428 * WUR-REPORT: Remove set*id functions.
31429
d2a54255
PT
314302012-07-31 Pino Toscano <toscano.pino@tiscali.it>
31431
31432 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
31433
7ecdb005
RM
314342012-07-31 Roland McGrath <roland@hack.frob.com>
31435
b4180a5e 31436 [BZ #10191]
789bd351
RM
31437 * include/sys/socket.h (__libc_accept, __libc_accept4):
31438 Add attribute_hidden.
31439 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
31440
40ce302d
RM
31441 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
31442 use of PTR_MANGLE.
31443 * inet/getnetgrent_r.c (setup): Likewise.
31444
7ecdb005
RM
31445 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
31446
e2eabb2c
DM
314472012-07-31 David S. Miller <davem@davemloft.net>
31448
31449 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31450
d0419dbf
JM
314512012-07-31 Joseph Myers <joseph@codesourcery.com>
31452
31453 [BZ #13629]
31454 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
31455 value between 1.0 and 2.0 and smaller part has absolute value less
31456 than 1.0.
31457 * math/s_clog10.c (__clog10): Likewise.
31458 * math/s_clog10f.c (__clog10f): Likewise.
31459 * math/s_clog10l.c (__clog10l): Likewise.
31460 * math/s_clogf.c (__clogf): Likewise.
31461 * math/s_clogl.c (__clogl): Likewise.
31462 * math/libm-test.inc (clog_test): Add more tests.
31463 (clog10_test): Likewise.
31464 * sysdeps/i386/fpu/libm-test-ulps: Update.
31465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31466
2bc13872
FW
314672012-07-31 Florian Weimer <fweimer@redhat.com>
31468
31469 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
31470 Exit with zero in case no suitable GID is found, and write a
31471 message to standard error.
31472
bea9b193
RM
314732012-07-30 Roland McGrath <roland@hack.frob.com>
31474
31475 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
31476 rather than to 1.
31477 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
31478 (MAXPATHLEN): Removed.
31479 (NOGROUP, NODEV): New macros.
31480 (setbit, clrbit, isset, isclr): New macros.
31481 (howmany, roundup, powerof2): New macros.
31482 (DEV_BSIZE): New macro.
31483
31484 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
31485 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
31486
31487 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
31488 definition on [!__NO_LONG_DOUBLE_MATH].
31489
31490 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
31491 PTR_MANGLE and PTR_DEMANGLE.
31492
31493 * socket/accept4.c (accept4): Rename to __libc_accept4.
31494 Define accept4 as a weak alias.
31495
31496 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
31497 on [_DIRENT_HAVE_D_TYPE].
31498 * io/ftw.c (ftw_dir): Likewise.
31499
31500 * io/xmknod.c (__xmknod): Don't check PATH for being null.
31501
31502 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
31503
31504 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
31505 Use the BSD numbers rather than the arbitrary ones we had.
31506 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
31507 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
31508 (SIGXCPU, SIGXFSZ): New macros.
31509 (_NSIG): Now 32.
31510
31511 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
31512 initializer on [_LIBC_REENTRANT].
31513
31514 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
31515 definitions inside [_POSIX_MAPPED_FILES].
31516
31517 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
31518
31519 * dirent/opendir.c: Include <fcntl.h>.
31520
31521 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
31522 (__libc_getspecific): Likewise.
31523 (__libc_key_create): Likewise.
31524
31525 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
31526 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
31527 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
31528 (tmpfile64): Define as alias.
31529 * sysdeps/wordsize-64/tmpfile.c: File removed.
31530 * sysdeps/wordsize-64/tmpfile64.c: File removed.
31531 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
31532 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
31533
31534 * stdio-common/vfscanf.c: Include <stdbool.h>.
31535 * nss/makedb.c: Likewise.
31536 * stdio-common/_i18n_number.h: Likewise.
31537 * argp/argp-help.c: Likewise.
31538 * posix/wordexp.c: Likewise.
31539 * sysdeps/posix/spawni.c: Likewise.
31540 * nss/nss_files/files-initgroups.c: Likewise.
31541 * stdio-common/reg-modifier.c: Include <stdlib.h>.
31542 * nss/nss_files/files-initgroups.c: Likewise.
31543 * nss/nss_db/db-netgrp.c: Likewise.
31544 * nss/nss_db/db-initgroups.c: Likewise.
31545 * io/fchmodat.c: Include <sys/stat.h>.
31546
31547 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
31548 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
31549
31550 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
31551 [HAVE_MMAP].
31552
31553 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
31554 Add multiple inclusion protection.
31555
e5abc686
DM
315562012-07-27 David S. Miller <davem@davemloft.net>
31557
31558 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31559
815e6fa3
GB
315602012-07-27 Gary Benson <gbenson@redhat.com>
31561
31562 [BZ #14298]
31563 * elf/rtld.c: Include <stap-probe.h>.
31564 (dl_main): Added static probes "init_start" and "init_complete".
31565 * elf/dl-load.c: Include <stap-probe.h>.
31566 (lose): Take new parameter "nsid".
31567 Added static probe "map_failed".
31568 (_dl_map_object_from_fd): Pass namespace id to lose.
31569 Added static probe "map_start".
31570 (open_verify): Pass namespace id to lose.
31571 * elf/dl-open.c: Include <stap-probe.h>.
31572 (dl_open_worker) Added static probes "map_complete", "reloc_start"
31573 and "reloc_complete".
31574 * elf/dl-close.c: Include <stap-probe.h>.
31575 (_dl_close_worker): Added static probes "unmap_start" and
31576 "unmap_complete".
31577 * elf/rtld-debugger-interface.txt: New file documenting the above.
31578
9f98c16c
RM
315792012-07-26 Roland McGrath <roland@hack.frob.com>
31580
31581 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
31582 rather than a string variable.
31583 * sunrpc/rpc_main.c (h_output): Likewise.
31584 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
31585
f3c22df3
PT
315862012-07-26 Pino Toscano <toscano.pino@tiscali.it>
31587
31588 * inet/check_native.c: New file.
31589
3129cfc6
JM
315902012-07-26 Joseph Myers <joseph@codesourcery.com>
31591
da865e95
JM
31592 [BZ #13629]
31593 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
31594 if larger part has absolute value 1.0.
31595 * math/s_clog10.c (__clog10): Likewise.
31596 * math/s_clog10f.c (__clog10f): Likewise.
31597 * math/s_clog10l.c (__clog10l): Likewise.
31598 * math/s_clogf.c (__clogf): Likewise.
31599 * math/s_clogl.c (__clogl): Likewise.
31600 * math/libm-test.inc (clog_test): Add more tests.
31601 (clog10_test): Likewise.
31602 * sysdeps/i386/fpu/libm-test-ulps: Update.
31603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31604
3129cfc6
JM
31605 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
31606 (pltexit): Likewise.
31607 (La_regs): Likewise.
31608 (La_retval): Likewise.
31609 (int_retval): Likewise.
31610 Update #error for removed macros to refer only to definitions in
31611 tst-audit.h.
31612 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
31613 macro.
31614 (pltexit): Likewise.
31615 (La_regs): Likewise.
31616 (La_retval): Likewise.
31617 (int_retval): Likewise.
31618 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
31619 macro.
31620 (pltexit): Likewise.
31621 (La_regs): Likewise.
31622 (La_retval): Likewise.
31623 (int_retval): Likewise.
31624 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
31625 macro.
31626 (pltexit): Likewise.
31627 (La_regs): Likewise.
31628 (La_retval): Likewise.
31629 (int_retval): Likewise.
31630 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
31631 macro.
31632 (pltexit): Likewise.
31633 (La_regs): Likewise.
31634 (La_retval): Likewise.
31635 (int_retval): Likewise.
31636 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
31637 macro.
31638 (pltexit): Likewise.
31639 (La_regs): Likewise.
31640 (La_retval): Likewise.
31641 (int_retval): Likewise.
31642 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
31643 macro.
31644 (pltexit): Likewise.
31645 (La_regs): Likewise.
31646 (La_retval): Likewise.
31647 (int_retval): Likewise.
31648 * sysdeps/generic/tst-audit.h: Update comment to refer only to
31649 macro definitions in tst-audit.h.
31650 * sysdeps/i386/tst-audit.h: New file.
31651 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
31652 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
31653 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
31654 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
31655 * sysdeps/sh/tst-audit.h: Likewise.
31656 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
31657 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
31658 * sysdeps/x86_64/tst-audit.h: Likewise.
31659
bfc07087
AJ
316602012-07-26 Andreas Jaeger <aj@suse.de>
31661
b1b2aaf8
AJ
31662 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
31663 ptrace.
31664
31665 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
31666 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
31667 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
31668 PTRACE_O_MASK.
31669 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
31670 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
31671 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
31672
bfc07087
AJ
31673 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
31674 value.
31675
31676 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
31677 _sigsys.
31678 (si_call_addr, si_syscall, si_arch): Define new macro.
31679 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
31680 _sigsys.
31681 (si_call_addr, si_syscall, si_arch): Define new marcro.
31682 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
31683 _sigsys.
31684 (si_call_addr, si_syscall, si_arch): Define new macro.
31685 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
31686 _sigsys.
31687 (si_call_addr, si_syscall, si_arch): Define new macro.
31688
89b4b02f
JM
316892012-07-25 Joseph Myers <joseph@codesourcery.com>
31690
31691 [BZ #13717]
31692 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31693 Change to 2.4.21 where previously 2.4.1.
31694 * sysdeps/unix/sysv/linux/configure: Regenerated.
31695 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
31696 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
31697 Linux kernel version.
31698 (__ASSUME_STD_AUXV): Remove.
31699 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
31700 kernel version.
31701 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
31702 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
31703 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
31704 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
31705 (__ASSUME_NETLINK_SUPPORT): Likewise.
31706 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
31707 (__no_netlink_support): Remove conditional definition.
31708 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
31709 Remove.
31710 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31711 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
31712 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
31713 (if_nameindex_ioctl): Remove.
31714 (if_nameindex_netlink): Do not handle __no_netlink_support.
31715 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31716 code.
31717 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
31718 Remove conditional code.
31719 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31720 code.
31721 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
31722 unconditional.
31723 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31724 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
31725 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
31726 Remove.
31727 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
31728 [!__ASSUME_STD_AUXV]: Remove conditional code.
31729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
31730 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
31731 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
31732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
31733 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
31734 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31735 code.
31736 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31738 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
31739 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31740 conditional code.
31741 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31743 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31744 code.
31745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31746 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31747 conditional code.
31748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
31749 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31750 code unconditional.
31751 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31752 conditional code.
31753 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31754 unconditional.
31755 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31756 conditional code.
31757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31758 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31759 unconditional.
31760 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31761 conditional code.
31762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
31763 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31764 code unconditional.
31765 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31766 conditional code.
31767 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31768 unconditional.
31769 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31770 conditional code.
31771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
31772 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31773 code unconditional.
31774 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31775 conditional code.
31776 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31777 unconditional.
31778 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31779 conditional code.
31780
842a39cd
AS
317812012-07-25 Andreas Schwab <schwab@linux-m68k.org>
31782
31783 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
31784 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
31785 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
31786 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
31787 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
31788 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31789 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31790 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
31791 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
31792 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
31793 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
31794 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
31795 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
31796 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31797 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
31798 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
31799 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
31800 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
31801 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
31802 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
31803 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
31804 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
31805 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31806
84b3fd84
FW
318072012-07-25 Florian Weimer <fweimer@redhat.com>
31808
31809 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
31810 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
31811 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
31812 Introduce __libc_secure_getenv.
0c7936d5
FW
31813 * stdlib/Versions (2.17): Add secure_getenv
31814 (GLIBC_PRIVATE): Add __libc_secure_getenv.
31815 * stdlib/secure-getenv.c: Rename __secure_getenv to
31816 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
31817 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
31818 * stdlib/tst-secure-getenv.c: New.
31819 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
31820 * manual/startup.texi (Environment Access): Document
31821 secure_getenv.
84b3fd84
FW
31822 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
31823 __libc_secure_getenv.
31824 * inet/ruserpass.c (ruserpass): Likewise.
31825 * malloc/mtrace.c (mtrace): Likewise.
31826 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 31827 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
31828 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
31829 * sysdeps/posix/tempname.c: Likewise. Evaluate
31830 HAVE_SECURE_GETENV.
31831 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 31832 __secure_getenv to __libc_secure_getenv.
84b3fd84 31833 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
31834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31835 Likewise.
31836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31837 Likewise.
31838 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31839 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31840 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31841 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31842 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31843 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31844 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 31845
56e49b71
JM
318462012-07-25 Joseph Myers <joseph@codesourcery.com>
31847
31848 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
31849 (struct La_i86_retval): Likewise.
31850 (struct La_x86_64_regs): Likewise.
31851 (struct La_x86_64_retval): Likewise.
31852 (struct La_x32_regs): Likewise.
31853 (struct La_x32_retval): Likewise.
31854 (struct La_ppc32_regs): Likewise.
31855 (struct La_ppc32_retval): Likewise.
31856 (struct La_ppc64_regs): Likewise.
31857 (struct La_ppc64_retval): Likewise.
31858 (struct La_sh_regs): Likewise.
31859 (struct La_sh_retval): Likewise.
31860 (struct La_s390_32_regs): Likewise.
31861 (struct La_s390_32_retval): Likewise.
31862 (struct La_s390_64_regs): Likewise.
31863 (struct La_s390_64_retval): Likewise.
31864 (struct La_sparc32_regs): Likewise.
31865 (struct La_sparc32_retval): Likewise.
31866 (struct La_sparc64_regs): Likewise.
31867 (struct La_sparc64_retval): Likewise.
31868 (struct audit_ifaces): Remove architecture-specific pltenter and
31869 pltexit members.
31870 * sysdeps/i386/ldsodefs.h: New file.
31871 * sysdeps/powerpc/ldsodefs.h: Likewise.
31872 * sysdeps/s390/ldsodefs.h: Likewise.
31873 * sysdeps/sh/ldsodefs.h: Likewise.
31874 * sysdeps/sparc/ldsodefs.h: Likewise.
31875 * sysdeps/x86_64/ldsodefs.h: Likewise.
31876
354691b7
MP
318772012-07-25 Marek Polacek <polacek@redhat.com>
31878
31879 [BZ #6808]
31880 * math/libm-test.inc (yn_test): Add another test.
31881 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
31882 to ERANGE when the result is +-Inf.
31883 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
31884 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31885 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
31886 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
31887
bf9e2071
JM
318882012-07-24 Joseph Myers <joseph@codesourcery.com>
31889
31890 * conform/data/time.h-data (NULL): Use macro-constant. Require
31891 equal to 0.
31892 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
31893 clock_t.
31894 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
31895
57633811
TS
318962012-07-23 Thomas Schwinge <thomas@codesourcery.com>
31897
31898 * configure.in <sysdeps resolving>: Correct printing
31899 Implies_before.
31900 * configure: Regenerate.
31901
c23c33b0
TS
319022012-07-22 Thomas Schwinge <thomas@codesourcery.com>
31903
31904 * math/w_ilogb.c: Include <limits.h>.
31905 * math/w_ilogbl.c: Likewise.
31906
b5982523
JM
319072012-07-20 Joseph Myers <joseph@codesourcery.com>
31908
31909 * manual/lang.texi (__va_copy): Document primarily as ISO C99
31910 va_copy. Document allowing for unavailable va_copy only as
31911 pre-C99 compatibility.
31912 * manual/string.texi (Copying and Concatenation): Use va_copy
31913 instead of __va_copy in concat example.
31914
ac4ea442
PT
319152012-07-20 Pino Toscano <toscano.pino@tiscali.it>
31916
31917 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
31918 (__sendto): Use create_address_port. Initialize APORT and deallocate
31919 it if not null.
31920
f98eafbd
PT
31921 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
31922 with O_NOLINK passed to __file_name_lookup.
31923
898c7aab
PT
31924 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
31925 with O_NOLINK passed to __file_name_lookup.
31926
0ced335a
PT
31927 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
31928 negative N or less than NGIDS.
31929
b3404dbd
PT
31930 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
31931 type to string_t. Set ERANGE as errno and return it if NAME is not big
31932 enough. Use memcpy instead of strncpy.
31933
0f48659e
JM
319342012-07-20 Joseph Myers <joseph@codesourcery.com>
31935
31936 * elf/Makefile (check-data): Remove.
31937 (localplt.data): New vpath directive.
31938 ($(objpfx)check-localplt.out): Use localplt.data from vpath
31939 instead of $(check-data).
31940 * scripts/data/localplt-generic.data: Move to ...
31941 * sysdeps/generic/localplt.data: ... here.
31942 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
31943 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
31944 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
31945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31946 ... here.
31947 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
31948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31949 ... here.
31950 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
31951 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
31952 ... here.
31953 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
31954 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31955 ... here.
31956 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
31957 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
31958 ... here.
31959 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
31960 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
31961 ... here.
31962
d37cbdaa
AZ
319632012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31964
31965 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
31966 PPC32 and PPC64 files.
31967 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
31968 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
31969
46f85fc2
AK
319702012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31971
31972 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
31973 __makecontext_ret to ...
31974 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
31975 ... here and call exit if uc_link is NULL. New file.
31976 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
31977 __makecontext_ret.S.
31978 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
31979 __makecontext_ret to ...
31980 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
31981 ... here and call exit if uc_link is NULL. New file.
31982 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
31983 __makecontext_ret.S.
31984
08f43f9b
AK
319852012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31986
31987 * elf/elf.h (R_390_IRELATIVE): New definition.
31988 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
31989 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
31990 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
31991 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31992 (elf_machine_lazy_rel): Likewise.
31993 * sysdeps/s390/dl-irel.h: New file.
31994 * sysdeps/s390/s390-64/memcpy.S: New asm code.
31995 * sysdeps/s390/s390-64/memset.S: New asm code.
31996 * sysdeps/s390/s390-64/memcmp.S: New asm code.
31997 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
31998 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
31999 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
32000 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
32001 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
32002 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
32003 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
32004 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
32005 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
32006 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
32007 * sysdeps/s390/s390-32/memcpy.S: New asm code.
32008 * sysdeps/s390/s390-32/memset.S: New asm code.
32009 * sysdeps/s390/s390-32/memcmp.S: New asm code.
32010
3b05db33
MP
320112012-07-17 Marek Polacek <polacek@redhat.com>
32012
32013 [BZ #14349]
32014 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
32015 * sysdeps/s390/s390-64/configure.in: Likewise.
32016 * sysdeps/sparc/configure.in: Likewise.
32017 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
32018 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
32019 * sysdeps/i386/configure.in: Likewise.
32020 * sysdeps/x86_64/configure.in: Likewise.
32021 * sysdeps/sh/configure.in: Likewise.
32022 * sysdeps/s390/s390-32/configure: Regenerated.
32023 * sysdeps/s390/s390-64/configure: Likewise.
32024 * sysdeps/x86_64/configure: Likewise.
32025 * sysdeps/sh/configure: Likewise.
32026 * sysdeps/powerpc/powerpc64/configure: Likewise.
32027 * sysdeps/powerpc/powerpc32/configure: Likewise.
32028 * sysdeps/sparc/configure: Likwise.
32029 * sysdeps/i386/configure: Likewise.
32030
a66877c6
MP
32031 * elf/dl-open.c: Comment fixes.
32032
cfc82fd8
JM
320332012-07-17 Joseph Myers <joseph@codesourcery.com>
32034
bd29910a
JM
32035 * Makefile [CXX] (check-data): Remove.
32036 [CXX] (c++-types.data): New vpath directive.
32037 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
32038 vpath. Do not allow for C++ type data being missing.
32039 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
32040 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
32041 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
32042 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
32043 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
32044 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
32045 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
32046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32047 ... here.
32048 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
32049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32050 ... here.
32051 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
32052 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
32053 ... here.
32054 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
32055 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
32056 ... here.
32057 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
32058 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
32059 ... here.
32060 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
32061 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
32062 ... here.
32063 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
32064 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
32065 ... here.
32066 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
32067 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
32068
cfc82fd8
JM
32069 * elf/tls-macros.h (TLS_LE): Move architecture-specific
32070 definitions to architecture-specific files.
32071 (TLS_IE): Likewise.
32072 (TLS_LD): Likewise.
32073 (TLS_GD): Likewise.
32074 * sysdeps/i386/tls-macros.h: New file.
32075 * sysdeps/powerpc/tls-macros.h: Likewise.
32076 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
32077 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
32078 * sysdeps/sh/tls-macros.h: Likewise.
32079 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
32080 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
32081 * sysdeps/x86_64/tls-macros.h: Likewise.
32082
f7db3170
TS
320832012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32084
07cbfc23
TS
32085 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
32086 zero value for regular exit case.
32087
f7db3170
TS
32088 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
32089 (__start_context): Preserve zero value for regular exit case.
32090
dc97c227
TS
320912012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32092 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32093
32094 * manual/setjmp.texi (setcontext): Clarify normal process
32095 termination when uc_link is the null pointer.
32096 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
32097 exit call.
32098
d0cd7d02
AS
320992012-07-16 Andreas Schwab <schwab@linux-m68k.org>
32100
32101 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
32102 preprocessor. Test for each exception mask separately.
32103
dd318934
AJ
321042012-07-16 Andreas Jaeger <aj@suse.de>
32105
32106 * po/ru.po: Update from translation team.
32107
8048311a
JM
321082012-07-15 Joseph Myers <joseph@codesourcery.com>
32109
32110 * conform/data/string.h-data (NULL): Use macro-constant. Require
32111 equal to 0.
32112 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32113 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32114 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
32115 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
32116 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32117
b637d46e
AJ
321182012-07-13 Andreas Jaeger <aj@suse.de>
32119
32120 * po/fr.po: Update from translation team.
32121
541428fe
MP
321222012-07-12 Marek Polacek <polacek@redhat.com>
32123
32124 [BZ #14173]
32125 * math/libm-test.inc (yn_test): Add test for BZ #14173.
32126 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
32127 loop condition.
32128
ec332e94
JM
321292012-07-12 Joseph Myers <joseph@codesourcery.com>
32130
32131 [BZ #13717]
32132 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32133 Change to 2.4.1 where previously 2.4.0.
32134 * sysdeps/unix/sysv/linux/configure: Regenerated.
32135 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
32136 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
32137 version.
32138 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
32139 (__ASSUME_AT_CLKTCK): Remove.
32140 (__ASSUME_AT_PAGESIZE): Likewise.
32141 (__ASSUME_AT_XID): Likewise.
32142 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
32143 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
32144 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
32145 unconditionally.
32146 (HAVE_AUX_PAGESIZE): Likewise.
32147 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
32148 [__ASSUME_AT_CLKTCK]: Make code unconditional.
32149 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
32150
7b6e99be
JB
321512012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
32152
32153 [BZ #14307]
32154 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
32155 the temporary buffer used to invoke __gethostbyname2_r,
32156 __gethostbyaddr_r and gethostbyname4_r to make room for struct
32157 host_data / struct gaih_addrtuple.
32158 * resolv/nss_dns/dns-host.c (global scope): Move definition of
32159 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
32160 header file nss/nsswitch.h.
32161 * nss/nsswitch.h (global scope): Add definition of implementation
32162 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
32163 resolv/nss_dns/dns-host.c).
32164
608404eb
AJ
321652012-07-11 Andreas Jaeger <aj@suse.de>
32166
32167 * po/fr.po: Update from translation team.
32168
71220aca
AJ
32169 * po/sv.po: Update from translation team
32170 * po/fr.po: Another update from translation team.
32171
28cfe843
AZ
321722012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32173
32174 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
32175 for subnormals or multiply small sinh result by itself.
32176 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32177 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32178
6b90f981
DM
321792012-07-11 David S. Miller <davem@davemloft.net>
32180
32181 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32182
c6825772
AS
321832012-07-10 Andreas Schwab <schwab@linux-m68k.org>
32184
32185 [BZ #14347]
32186 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
32187 (INTERNAL_MARK): Shift it here.
32188
7b8e0d49
MP
321892012-07-10 Marek Polacek <polacek@redhat.com>
32190
32191 [BZ #14151]
32192 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
32193 libc_cv_asm_global_directive with .globl.
32194 * configure: Regenerated.
32195 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
32196 with .globl.
32197 * sysdeps/i386/configure: Regenerated.
32198 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
32199 with .globl.
32200 * sysdeps/x86_64/configure: Regenerated.
32201 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
32202 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
32203 * elf/tst-unique2mod2.c: Likewise.
32204 * elf/tst-unique2mod1.c: Likewise.
32205 * elf/tst-unique1mod2.c: Likewise.
32206 * elf/tst-unique1mod1.c: Likewise.
32207 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32208 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32209 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32210 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32211 * sysdeps/mach/sysdep.h: Likewise.
32212 * sysdeps/i386/sysdep.h: Likewise.
32213 * sysdeps/i386/i386-mcount.S: Likewise.
32214 * sysdeps/x86_64/_mcount.S: Likewise.
32215 * sysdeps/x86_64/sysdep.h: Likewise.
32216 * sysdeps/sh/_mcount.S: Likewise.
32217 * sysdeps/sh/sysdep.h: Likewise.
32218 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
32219 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
32220 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
32221 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32222 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
32223 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
32224 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
32225 * locale/localeinfo.h: Likewise.
32226 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
32227 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
32228
6c55cda3
RM
322292012-07-09 Roland McGrath <roland@hack.frob.com>
32230
32231 [BZ #14336]
32232 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
32233 system".
32234 * manual/message.texi (The Uniforum approach): Likewise.
32235 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
32236 (glibc iconv Implementation): Likewise.
32237
638a572e
JM
322382012-07-09 Joseph Myers <joseph@codesourcery.com>
32239
32240 [BZ #14337]
32241 * math/s_clog.c (__clog): Avoid scaling a value down where that
32242 could result in underflow.
32243 * math/s_clog10.c (__clog10): Likewise.
32244 * math/s_clog10f.c (__clog10f): Likewise.
32245 * math/s_clog10l.c (__clog10l): Likewise.
32246 * math/s_clogf.c (__clogf): Likewise.
32247 * math/s_clogl.c (__clogl): Likewise.
32248 * math/libm-test.inc (clog_test): Add more tests.
32249 (clog10_test): Likewise.
32250 * sysdeps/i386/fpu/libm-test-ulps: Update.
32251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32252
261f4859
AS
322532012-07-06 Andreas Schwab <schwab@linux-m68k.org>
32254
0abaf3e4
AS
32255 [BZ #14283]
32256 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
32257 by 7 not 8 to examine high bit of fractional part.
32258
261f4859
AS
32259 [BZ #14042]
32260 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
32261 for call to __mcount_internal.
32262 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
32263 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
32264 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
32265
f17ac40d
JM
322662012-07-06 Joseph Myers <joseph@codesourcery.com>
32267
9ad63c23
JM
32268 [BZ #14154]
32269 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
32270 approximation for values within 0x1p-13f of an odd multiple of
32271 pi/4.
32272 * math/libm-test.inc (tan_test): Do not allow spurious underflow
32273 exception. Add more tests.
32274 * sysdeps/i386/fpu/libm-test-ulps: Update.
32275
f17ac40d
JM
32276 [BZ #6778]
32277 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
32278 inputs and return -1 for them. Do not check for +Inf in case not
32279 reachable for +Inf.
32280 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32281 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
32282 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32283 and return -1 for them. Do not check for +Inf in case not
32284 reachable for +Inf.
32285 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
32286 define.
32287 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32288 and return -1 for them. Do not check for +Inf in case not
32289 reachable for +Inf.
32290 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
32291 spurious underflow.
32292 * sysdeps/i386/fpu/libm-test-ulps: Update.
32293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32294
fb21f89b
MF
322952012-07-06 Mike Frysinger <vapier@gentoo.org>
32296
32297 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
32298
cdfe2c5e
JM
322992012-07-05 Joseph Myers <joseph@codesourcery.com>
32300
32301 [BZ #14157]
32302 [BZ #14331]
32303 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
32304 could result in spurious underflow. Scale down values above
32305 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
32306 * math/s_csqrtf.c (__csqrtf): Likewise.
32307 * math/s_csqrtl.c (__csqrtl): Likewise.
32308 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
32309 spurious underflow.
32310 * sysdeps/i386/fpu/libm-test-ulps: Update.
32311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32312
70d35b67
AS
323132012-07-04 Andreas Schwab <schwab@linux-m68k.org>
32314
704bc459
AS
32315 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
32316 xopen-msg.sed.
32317 * catgets/xopen-msg.awk: New file.
32318 * catgets/xopen-msg.sed: Removed.
32319
70d35b67
AS
32320 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
32321 po2text.sed.
32322 * intl/po2test.awk: New file.
32323 * intl/po2test.sed: Removed.
32324
ca61cf32
JM
323252012-07-04 Joseph Myers <joseph@codesourcery.com>
32326
32327 [BZ #14328]
32328 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
32329 or multiply small sinh result by itself.
32330 * math/s_ctanf.c (__ctanf): Likewise.
32331 * math/s_ctanh.c (__ctanh): Likewise.
32332 * math/s_ctanhf.c (__ctanhf): Likewise.
32333 * math/s_ctanhl.c (__ctanhl): Likewise.
32334 * math/s_ctanl.c (__ctanl): Likewise.
32335 * math/libm-test.inc (ctan_test_tonearest): New function.
32336 (ctan_test_towardzero): Likewise.
32337 (ctan_test_downward): Likewise.
32338 (ctan_test_upward): Likewise.
32339 (ctanh_test_tonearest): Likewise.
32340 (ctanh_test_towardzero): Likewise.
32341 (ctanh_test_downward): Likewise.
32342 (ctanh_test_upward): Likewise.
32343 (main): Call these new functions.
32344 * sysdeps/i386/fpu/libm-test-ulps: Update.
32345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32346
ca48a46a
MF
323472012-07-03 Mike Frysinger <vapier@gentoo.org>
32348
32349 * .gitignore: Delete /ports entry.
32350
9d63d37d
AJ
323512012-07-03 Andreas Jaeger <aj@suse.de>
32352
32353 * po/bg.po: Update from translation team.
32354 * po/cs.po: Likewise.
32355 * po/de.po: Likewise.
32356 * po/hr.po: Likewise.
32357 * po/nl.pl: Likewise.
32358 * po/pl.po: Likewise.
32359 * po/vi.po: Likewise.
32360
370ca3d2
JM
323612012-07-03 Joseph Myers <joseph@codesourcery.com>
32362
95f5a9a8
JM
32363 * Makeconfig [!+link] (+link-before-libc): New variable.
32364 [!+link] (+link-after-libc): Likewise.
32365 [!+link] (+link-tests): Likewise.
32366 [!+link] (+link): Define in terms of $(+link-before-libc) and
32367 $(+link-after-libc).
32368 [!+link-static] (+link-static-before-libc): New variable.
32369 [!+link-static] (+link-static-after-libc): Likewise.
32370 [!+link-static] (+link-static-tests): Likewise.
32371 [!+link-static] (+link-static): Define in terms of
32372 $(+link-static-before-libc) and $(+link-static-after-libc).
32373 [build-shared] (link-libc-before-gnulib): New variable.
32374 [build-shared] (link-libc-tests): Likewise.
32375 [build-shared] (link-libc): Define in terms of
32376 $(link-libc-before-gnulib).
32377 [!build-shared] (link-libc-tests): New variable.
32378 (link-libc-static-tests): New variable.
32379 [!gnulib] (gnulib-arch): New variable.
32380 [!gnulib] (gnulib-tests): Likewise.
32381 [!gnulib] (static-gnulib-arch): Likewise.
32382 [!gnulib] (static-gnulib-tests): Likewise.
32383 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
32384 Define with "=" instead of ":=".
32385 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
32386 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
32387 * Rules (binaries-all-notests): New variable.
32388 (binaries-all-tests): Likewise.
32389 (binaries-static-notests): Likewise.
32390 (binaries-static-tests): Likewise.
32391 (binaries-all): Define using $(binaries-all-notests) and
32392 $(binaries-all-tests).
32393 (binaries-static): Define using $(binaries-static-notests) and
32394 $(binaries-static-tests).
32395 (binaries-shared-tests): New variable.
32396 (binaries-shared-notests): Likewise.
32397 (binaries-shared): Remove variable.
32398 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
32399 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
32400 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
32401 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
32402 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
32403 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
32404 * elf/Makefile (sln-modules): New variable.
32405 (extra-objs): Add $(sln-modules:=.o).
32406 (ldconfig-modules): Add static-stubs.
32407 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
32408 * elf/static-stubs.c: New file.
32409
7a845b2c
JM
32410 [BZ #14283]
32411 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
32412 by 7 not 8 to examine high bit of fractional part. Use volatile
32413 variables when splitting into final array of floats if
32414 __FLT_EVAL_METHOD__ != 0.
32415 * math/libm-test.inc (cos_test): Add another test.
32416 (sin_test): Likewise.
32417 * sysdeps/i386/fpu/libm-test-ulps: Update.
32418
e2283f38
JM
32419 [BZ #14273]
32420 * math/libm-test.inc (cosh_test): Add more tests.
32421
370ca3d2
JM
32422 * version.h (RELEASE): Set to "development".
32423 (VERSION): Set to "2.16.90".
32424
ee9247c3
CD
324252012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
32426
32427 * NEWS: Update copyright. Remove last-updated date.
32428 Mention math library bug fixes and timezone data changes.
32429 * README: Mention GNU/Hurd, x32, and HPPA support status.
32430
4648c381
TS
324312012-06-28 Thomas Schwinge <thomas@codesourcery.com>
32432
32433 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
32434
aac78a43
AJ
324352012-06-27 Andreas Jaeger <aj@suse.de>
32436
32437 * manual/contrib.texi (Contributors): Add Samuel Thibault.
32438
ed3dbfad
AJ
324392012-06-25 Andreas Jaeger <aj@suse.de>
32440
32441 * sysdeps/s390/fpu/libm-test-ulps: Update.
32442
4d0ee855
AS
324432012-06-23 Andreas Schwab <schwab@linux-m68k.org>
32444 Thomas Schwinge <thomas@codesourcery.com>
32445
32446 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
32447 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
32448 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
32449 fanotify_mark.
32450
af1bce34
TS
324512012-06-23 Thomas Schwinge <thomas@codesourcery.com>
32452
a9fa33ba
TS
32453 * sysdeps/mach/start.c: Remove file.
32454 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
32455 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
32456 * sysdeps/sh/init-first.c: Likewise.
32457
58f902b8
TS
32458 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
32459 registers for frame unwinding purposes, add CFI directives.
32460 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32461 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
32462 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
32463 Likewise.
32464
1518f58b
TS
32465 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
32466 __fortify_fail returning.
32467 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32468
db9b5059
TS
32469 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
32470 sysdeps/sh/____longjmp_chk.S.
32471 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
32472 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
32473 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
32474 (gen-as-const-headers): Append sigaltstack-offsets.sym.
32475
967705fe
TS
32476 * sysdeps/sh/abort-instr.h: New file.
32477 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
32478 process in case exit returns.
32479
a9def8c4
TS
32480 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
32481 initialize the GOT register before use.
32482
2a649725
TS
32483 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
32484 calculation of ARGC > 4.
32485
af1bce34
TS
32486 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
32487 meaningful names to some local labels.
32488
d230f50a
KK
324892012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32490 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32491
32492 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
32493 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
32494 (__arch_compare_and_exchange_val_16_acq): Likewise.
32495 (__arch_compare_and_exchange_val_32_acq): Likewise.
32496 (atomic_exchange_and_add): Fix gUSA sequence.
32497 (atomic_add): Likewise.
32498 (atomic_add_negative): Likewise.
32499 (atomic_add_zero): Likewise.
32500 (atomic_bit_test_set): Likewise.
32501
0479b305
AS
325022012-06-22 Andreas Schwab <schwab@redhat.com>
32503
32504 [BZ #13579]
32505 * include/link.h (struct link_map): Add l_free_initfini.
32506 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
32507 l_initfini.
32508 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
32509 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
32510 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
32511 set.
32512
0e3933b9
CD
325132012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
32514
32515 * configure.in: Use AC_LANG_SOURCE.
32516 * configure: Regenerate.
32517
4248b1b1
RM
325182012-06-22 Roland McGrath <roland@hack.frob.com>
32519
32520 * configure.in (libc_cv_localstatedir): New substituted variable.
32521 * configure: Regenerated.
32522 * config.make.in (localstatedir): New variable, substituted from
32523 libc_cv_localstatedir.
32524 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
32525 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
32526 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
32527 * sysdeps/gnu/configure: Regenerated.
32528
006dd861
JL
325292012-06-21 Jeff Law <law@redhat.com>
32530
32531 [BZ #14277]
32532 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
32533 free. Simplify list management for _LIBC case.
32534
79662d42
JM
325352012-06-21 Joseph Myers <joseph@codesourcery.com>
32536
b7abb4bf
JM
32537 [BZ #14273]
32538 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
32539 Clear sign bit of 64-bit integer value before comparing against
32540 overflow value.
32541
79662d42
JM
32542 * sysdeps/mach/configure: Regenerated.
32543
1f150908
L
325442012-06-21 H.J. Lu <hongjiu.lu@intel.com>
32545
32546 [BZ #14278]
32547 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
32548
28363bbf
JL
325492012-06-21 Jeff Law <law@redhat.com>
32550
32551 [BZ #13882]
32552 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
32553 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 32554 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
32555 * elf/dl-open.c (dl_open_worker): Likewise.
32556
09615db4
CD
325572012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
32558
32559 * scripts/list-sources.sh: Scan PORTS for translations.
32560 * po/libc.pot: Regenerated.
32561
2174c6dd
AJ
325622012-06-21 Andreas Jaeger <aj@suse.de>
32563
32564 [BZ #12194]
32565 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
32566 warning.
32567 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
32568 * bits/byteswap-16.h (__bswap_16): Likewise.
32569 * bits/byteswap.h (__bswap_constant_16): Likewise.
32570
3ee947b1
L
325712012-06-18 H.J. Lu <hongjiu.lu@intel.com>
32572
32573 [BZ #14117]
a2f34833
L
32574 * sysdeps/i386/fpu_control.h: Removed.
32575 * sysdeps/x86_64/fpu_control.h: Moved to ...
32576 * sysdeps/x86/fpu_control.h: Here.
32577
3ee947b1
L
32578 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
32579 (_FPU_SETCW): Likewise.
32580
ed1825f8
L
325812012-06-15 H.J. Lu <hongjiu.lu@intel.com>
32582
25f1282a
L
32583 [BZ #14117]
32584 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
32585 * sysdeps/x86/fpu/bits/mathinline.h: This.
32586 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
32587
ed1825f8
L
32588 [BZ #14050]
32589 [BZ #14117]
32590 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
32591 functions if __x86_64__ is defined.
32592
36d54b74
CLT
325932012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
32594
32595 * string/endian.h: Add !__ASSEMBLER__ condition for including
32596 conversion interfaces.
32597
10285c21
JM
325982012-06-15 Joseph Myers <joseph@codesourcery.com>
32599
32600 [BZ #14241]
32601 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
32602 of ABS(x) in calculating zero to negative powers other than odd
32603 integers.
32604 * math/libm-test.inc (pow_test): Add more tests.
32605
06c5abbd
AJ
326062012-06-15 Andreas Jaeger <aj@suse.de>
32607
32608 * manual/contrib.texi (Contributors): Update entry of Liubov
32609 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
32610 Machado Filho.
32611
a3aeac40
CH
326122012-06-15 Cyril Hrubis <metan@ucw.cz>
32613
32614 * string/string.h: Add __wur to GNU version of strerror_r.
32615
49bdf4c1
L
326162012-06-14 H.J. Lu <hongjiu.lu@intel.com>
32617
32618 [BZ #14229]
32619 * string/Makefile (tests): Add tst-strtok_r.
32620 * string/tst-strtok_r.c: New file.
32621 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
32622 RAX_LP/RDX_LP on SAVE_PTR.
32623
834f9b8d
RM
326242012-06-14 Roland McGrath <roland@hack.frob.com>
32625
32626 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
32627
75fa1921
JM
326282012-06-14 Joseph Myers <joseph@codesourcery.com>
32629
32630 * libm_test.inc (csqrt_test): Allow more spurious underflow
32631 exceptions.
32632 (j0_test): Likewise.
32633 (j1_test): Likewise.
32634 (y0_test): Likewise.
32635 (y1_test): Likewise.
32636
771766df
CD
326372012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
32638
32639 * po/Makefile (libc.pot): Use UTF-8 charset.
32640
ceb9e56b
PP
326412012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
32642
32643 [BZ #14210]
32644 Suppress sign-conversion warning from FD_SET.
32645 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
32646 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
32647 not unsigned long int.
32648 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
32649
ddb28975
L
326502012-06-12 H.J. Lu <hongjiu.lu@intel.com>
32651
32652 [BZ #14050]
32653 [BZ #14117]
32654 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
32655 __extern_always_inline instead of __extern_inline.
32656 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
32657 (__signbit): Likewise.
32658 (__signbitl): Support C++ namespace.
32659 (lrintf): New inline function.
32660 (lrint): Likewise.
32661 (llrintf): Likewise.
32662 (llrint): Likewise.
32663 (fmaxf): Likewise.
32664 (fmax): Likewise.
32665 (fminf): Likewise.
32666 (fmin): Likewise.
32667 (rint): Likewise.
32668 (rintf): Likewise.
32669 (ceil): Likewise.
32670 (ceilf): Likewise.
32671 (floor): Likewise.
32672 (floorf): Likewise.
32673 (nearbyint): Likewise.
32674 (nearbyintf): Likewise.
32675
d7b4fb26
TS
326762012-06-12 Thomas Schwinge <thomas@codesourcery.com>
32677
32678 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
32679 non-default versions.
32680
eb55f5c2
RM
326812012-06-11 Roland McGrath <roland@hack.frob.com>
32682
32683 [BZ #14218]
32684 * manual/argp.texi (Argp): Reword argp_parse description slightly.
32685
366af02c
TS
326862012-06-09 Thomas Schwinge <thomas@codesourcery.com>
32687
99ff6e5c
TS
32688 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
32689 (FE_UPWARD, FE_DOWNWARD): Don't define.
32690 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
32691 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32692
366af02c
TS
32693 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
32694 reading it.
32695 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32696 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32697
793ea851
KK
326982012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32699
32700 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32701 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
32702 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
32703 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
32704
a728a38f
L
327052012-06-06 H.J. Lu <hongjiu.lu@intel.com>
32706
32707 [BZ #14117]
c08010c7
L
32708 * sysdeps/i386/fpu/bits/fenv.h: Removed.
32709 * sysdeps/i386/fpu/Implies: New file.
32710 * sysdeps/x86_64/fpu/Implies: Likewise.
32711 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
32712 * sysdeps/x86/fpu/bits/fenv.h: This.
32713
a728a38f
L
32714 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
32715 __SSE_MATH__.
32716
6e230d11
SP
327172012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
32718
32719 [BZ #14134]
32720 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
32721 character 0xffff that matches the last element of the
32722 conversion table.
32723
1b671feb
AZ
327242012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32725
32726 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
32727 fmodl commit.
32728
6043738b
AZ
327292012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32730
32731 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
32732 values higher than 25.6283.
32733
34ae0b32
AZ
327342012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32735
32736 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
32737 subnormal exponent extraction and add some __builtin_expect.
32738 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
32739 Fix for subnormal mantissa calculation.
32740
1214ec8f
MF
327412012-06-04 Mike Frysinger <vapier@gentoo.org>
32742
32743 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
32744 cpu2 is -1 and errno is not ENOSYS.
32745
f3d1f93c
L
327462012-06-04 H.J. Lu <hongjiu.lu@intel.com>
32747
32748 [BZ #14117]
0e4a3cd7
L
32749 * sysdeps/i386/i486/bits/string.h: Renamed to ...
32750 * sysdeps/x86/bits/string.h: This.
32751 * sysdeps/x86_64/bits/string.h: Removed.
32752
6704c645
L
32753 * sysdeps/i386/i486/bits/string.h: Define inline functions only
32754 if not compiling for x86-64, but compiling for >= i486.
32755
48495318
L
32756 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
32757 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
32758
14adcbfc
L
32759 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
32760 New macro from Linux kernel 3.4.0.
32761 (FP_XSTATE_MAGIC2): Likewise.
32762 (FP_XSTATE_MAGIC2_SIZE): Likewise.
32763 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
32764 (struct _fpx_sw_bytes): New struct.
32765 (struct _xsave_hdr): Likewise.
32766 (struct _ymmh_state): Likewise.
32767 (struct _xstate): Likewise.
32768
68e408ab
L
32769 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
32770 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
32771 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
32772 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
32773 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
32774 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
32775
f3d1f93c
L
32776 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
32777 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
32778 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
32779 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
32780 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
32781 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
32782
d9dc34cd
TMQMF
327832012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32784
32785 [BZ #13743]
32786 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
32787 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
32788 (sysdep_headers): Include sys/platform/ppc.h.
32789 * sysdeps/powerpc/test-gettimebase.c: Test for
32790 __ppc_get_timebase() to catch future ISA opcode/insn changes.
32791 * manual/Makefile (appendices): Include platform.texi.
32792 * manual/contrib.texi (Contributors): Update @node pointers.
32793 * manual/maint.texi (Maintenance): Likewise.
32794 (Platform): New node.
32795 * manual/platform.texi: New file. Document the new features.
32796
4af3879c
SP
327972012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32798 Jakub Jelinek <jakub@redhat.com>
32799
32800 [BZ #14188]
32801 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
32802 where __builtin_expect is unavailable.
32803
2fd6ff13
DM
328042012-06-03 David S. Miller <davem@davemloft.net>
32805
32806 * stdlib/longlong.h: Updated from GCC.
32807
173f7220
AS
328082012-06-02 Andreas Schwab <schwab@linux-m68k.org>
32809
32810 [BZ #14042]
32811 * sysdeps/powerpc/powerpc32/mcount.c: New file.
32812 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
32813 __mcount_internal.
32814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32815 (GLIBC_2.16): Likewise.
32816
f34a1c6f
L
328172012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32818
32819 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
32820
88a4576f
JM
328212012-06-01 Joseph Myers <joseph@codesourcery.com>
32822
ea32bcdd
JM
32823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
32824 (default-abi): New variable.
32825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
32826 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
32827 variable.
32828 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
32829 Likewise.
32830 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
32831 Likewise.
32832 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
32833 Likewise.
32834
88a4576f
JM
32835 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
32836 definition. Document in comment.
32837
402fe938
DM
328382012-06-01 David S. Miller <davem@davemloft.net>
32839
32840 * stdlib/longlong.h: Updated from GCC.
32841
3553723f
L
328422012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32843
32844 [BZ #14117]
3bd872c4
L
32845 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
32846 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
32847 sys/debugreg.h sys/io.h here.
32848 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
32849 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
32850 sys/io.h.
32851 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
32852 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
32853 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
32854 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
32855 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
32856 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
32857
3553723f
L
32858 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
32859 Define only if __x86_64__ is defined.
32860
4842e4fe
JM
328612012-06-01 Joseph Myers <joseph@codesourcery.com>
32862
c5bfe3d5
JM
32863 [BZ #14048]
32864 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
32865 Use int64_t for variable i.
32866 * math/libm-test.inc (fmod_test): Add more tests.
32867
4842e4fe
JM
32868 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
32869 z computation is not scheduled after fetestexcept.
32870 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
32871 Use math_force_eval instead of asm to ensure calculation scheduled
32872 before exception test.
32873 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
32874 Ensure a1 + u.d computation is not scheduled after fetestexcept.
32875
efb73488
AJ
328762012-06-01 Aurelien Jarno <aurelien@aurel32.net>
32877
32878 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
32879 computation is not scheduled after fetestexcept.
32880
29bcce7c
L
328812012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32882
32883 [BZ #14117]
32884 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
32885 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
32886
73a68f94
AZ
328872012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32888
32889 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
32890 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32891
67b6df78
L
328922012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32893
edf2933a 32894 [BZ #14117]
ebc64a18
L
32895 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
32896 <bits/wordsize.h>.
32897 (__WCHAR_MIN): Support __WORDSIZE == 64.
32898 (__WCHAR_MAX): Likewise.
32899
edf2933a
L
32900 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
32901 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
32902
57c6cf40
L
32903 [BZ #14183]
32904 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
32905 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
32906
67b6df78 32907 [BZ #14117]
8eb6281e
L
32908 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
32909 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
32910
aac639f4
L
32911 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
32912 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
32913
67b6df78
L
32914 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
32915 Defined to 1 if __x86_64__ isn't defined.
32916 (_STAT_VER_LINUX_OLD): New.
32917 (st_atime): Remove duplicate.
32918 (st_mtime): Likewise.
32919 (st_ctime): Likewise.
32920
1c2cfe81
DM
329212012-05-31 David S. Miller <davem@davemloft.net>
32922
32923 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
32924 entries.
32925
5be8418c
AS
329262012-06-01 Andreas Schwab <schwab@linux-m68k.org>
32927
e7725326
AS
32928 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
32929 gen-libm-test.pl.
32930
5be8418c
AS
32931 [BZ #14132]
32932 * elf/dl-reloc.c: Include <_itoa.h>.
32933 (_dl_reloc_bad_type): Remove use of INTUSE.
32934 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
32935 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
32936 * stdio-common/psiginfo.c (psiginfo): Likewise.
32937 * stdio-common/psignal.c (psignal): Likewise.
32938 * string/strsignal.c (strsignal): Likewise.
32939 * include/signal.h (_sys_siglist): Declare hidden proto.
32940 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
32941 INTVARDEF with libc_hidden_data_def.
32942 * stdio-common/itoa-udigits.c: Likewise.
32943 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
32944 (_itoa_lower_digits_internal): Remove declaration.
32945 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
32946 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
32947 (_sys_sigabbrev_internal): Remove aliases.
32948 (_sys_siglist): Define hidden alias.
32949
507352f1
MT
329502012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
32951
32952 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32953 bits/sysctl.h.
32954
42bbb1c3
L
329552012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32956
32957 [BZ #14117]
6bd784b6
L
32958 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
32959 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
32960
8bca20f0
L
32961 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
32962 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
32963 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
32964 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
32965 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
32966 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
32967
f9e890a9
L
32968 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
32969 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
32970 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
32971
471101a1
L
32972 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
32973 with __addr.
32974 (insw): Likewise.
32975 (insl): Likewise.
32976 (outsb): Likewise.
32977 (outsw): Likewise.
32978 (outsl): Likewise.
32979
6451c862
L
32980 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
32981 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
32982 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
32983
a254b8c9
L
32984 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
32985 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
32986 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
32987 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
32988 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
32989 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
32990
b8dfdd92
L
32991 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
32992 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
32993
578cd270
L
32994 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
32995 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
32996
de662f5f
L
32997 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
32998 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
32999 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
33000
25653439
L
33001 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
33002 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
33003 to ...
33004 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
33005
6bad24a0
L
33006 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
33007 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
33008 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
33009
42bbb1c3
L
33010 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
33011 for x86-64.
33012 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
33013
2d10d547
JM
330142012-05-31 Joseph Myers <joseph@codesourcery.com>
33015
33016 * math/math.h (M_El): Use two more decimal places.
33017 (M_LOG2El): Likewise.
33018 (M_LOG10El): Likewise.
33019 (M_LN2l): Likewise.
33020 (M_LN10l): Likewise.
33021 (M_PIl): Likewise.
33022 (M_PI_2l): Likewise.
33023 (M_PI_4l): Likewise.
33024 (M_1_PIl): Likewise.
33025 (M_2_PIl): Likewise.
33026 (M_2_SQRTPIl): Likewise.
33027 (M_SQRT2l): Likewise.
33028 (M_SQRT1_2l): Likewise.
33029
f230c29b
DM
330302012-05-31 David S. Miller <davem@davemloft.net>
33031
33032 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
33033 values between float registers.
33034 * sysdeps/sparc/sparc64/memset.S: Likewise.
33035 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33036
fed806c3
MF
330372012-05-31 Mike Frysinger <vapier@gentoo.org>
33038
33039 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
33040 -D_FORTIFY_SOURCE=1.
33041 (CPPFLAGS-tst-longjmp_chk.c): Define.
33042 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
33043 (CPPFLAGS-tst-longjmp_chk2.c): Define.
33044 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
33045 CFLAGS-tst-wchar-h.c.
33046
30917259
MP
330472012-05-31 Marek Polacek <polacek@redhat.com>
33048
33049 [BZ #14132]
33050 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
33051 __endmntent_internal): Remove declaration.
33052 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
33053 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
33054 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
33055
1c58d5dc
DM
330562012-05-30 David S. Miller <davem@davemloft.net>
33057
33058 * sysdeps/sparc/sparc32/soft-fp/q_util.c
33059 (___Q_simulate_exceptions): Use real FP ops rather than writing
33060 into the %fsr.
33061 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
33062 Likewise.
33063
7dc00e0d
L
330642012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33065
33066 [BZ #14117]
0bd53985
L
33067 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
33068 * sysdeps/x86/bits/xtitypes.h: This.
33069
3a257e66
L
33070 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
33071 * sysdeps/x86/bits/wordsize.h: This.
33072
62f62904
L
33073 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
33074 * sysdeps/x86/bits/huge_vall.h: This.
33075
404fe9d9
L
33076 * sysdeps/i386/bits/select.h: Removed.
33077 * sysdeps/x86_64/bits/select.h: Renamed to ...
33078 * sysdeps/x86/bits/select.h: This.
33079
d48d0446
L
33080 * sysdeps/i386/bits/setjmp.h: Removed.
33081 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
33082 * sysdeps/x86/bits/setjmp.h: This.
33083
7dc00e0d
L
33084 * sysdeps/i386/bits/mathdef.h: Removed.
33085 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
33086 * sysdeps/x86/bits/mathdef.h: This.
33087
03277f8f
AS
330882012-05-30 Andreas Schwab <schwab@linux-m68k.org>
33089
33090 [BZ #14132]
33091 * include/sys/socket.h (__connect_internal)
33092 (__libc_sa_len_internal): Remove declaration.
33093 (__connect, __libc_sa_len): Declare hidden_proto.
33094 (SA_LEN): Remove use of INTUSE.
33095 * socket/connect.c: Add libc_hidden_def.
33096 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
33097 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
33098 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
33099 alias.
33100 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33101 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
33102 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
33103 of adding _internal alias.
33104
13764867
L
331052012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33106
33107 [BZ #14117]
6bd97696
L
33108 * sysdeps/i386/bits/link.h: Removed.
33109 * sysdeps/i386/bits/linkmap.h: Likewise.
33110 * sysdeps/x86_64/bits/link.h: Renamed to ...
33111 * sysdeps/x86/bits/link.h: This.
33112 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
33113 * sysdeps/x86/bits/linkmap.h: This.
33114
f726f0bb
L
33115 * sysdeps/i386/bits/endian.h: Removed.
33116 * sysdeps/x86_64/bits/endian.h: Renamed to ...
33117 * sysdeps/x86/bits/endian.h: This.
33118
13764867
L
33119 * sysdeps/i386/bits/byteswap.h: Removed.
33120 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33121 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
33122 * sysdeps/x86/bits/byteswap.h: This.
33123 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
33124 * sysdeps/x86/bits/byteswap-16.h: This.
33125 * sysdeps/i386/Implies: Add x86.
33126 * sysdeps/x86_64/Implies: Likewise.
33127
ae251b0b
DM
331282012-05-30 David S. Miller <davem@davemloft.net>
33129
33130 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
33131 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
33132 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33133 (FP_TRAPPING_EXCEPTIONS): Define.
33134 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33135 (FP_TRAPPING_EXCEPTIONS): Define.
33136 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
33137 subnormals only when inexact has been signalled or underflow
33138 exceptions are enabled.
33139 (_FP_PACK_CANONICAL): Likewise.
33140
d5c90867
L
331412012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33142
33143 [BZ #14183]
33144 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
33145 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
33146
63f1549e
RH
331472012-05-30 Richard Henderson <rth@twiddle.net>
33148
8d8f2279
RH
33149 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
33150 with #ifndef NOT_IN_libc.
33151
63f1549e
RH
33152 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
33153 marked to avoid plt entry.
33154
0ab0291b
L
331552012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33156
33157 [BZ #14112]
33158 * Makeconfig (default-abi): New macro.
33159 (abi-includes): Likewise.
33160 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
33161 $(abi-$(default-abi)-lib-soname) for soname if defined.
33162 ($(common-objpfx)gnu/lib-names.stmp): Generate from
33163 abi-variants.
33164 * Makefile (installed-stubs): Likewise.
33165 * include/stubs-biarch.h: Removed.
33166 * scripts/lib-names.awk: Only handle one library at a time.
33167 * scripts/soversions.awk: Remove WORDSIZE support.
33168 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
33169 entries.
33170 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
33171 Removed.
33172 (syscall-list-default-condition): Likewise.
33173 (syscall-list-default-condition): Likewise.
33174 (syscall-list-includes): Likewise.
33175 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
33176 syscall-list-* with abi-*. Handle undefined abi-variants.
33177 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
33178 * sysdeps/unix/sysv/linux/i386/Implies: New file.
33179 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
33180 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
33181 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
33182 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
33183 Removed.
33184 (syscall-list-32-options): Likewise.
33185 (syscall-list-32-condition): Likewise.
33186 (syscall-list-64-options): Likewise.
33187 (syscall-list-64-condition): Likewise.
33188 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
33189 macro.
33190 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
33191 Renamed to ...
33192 (abi-*): This.
33193 (abi-64-ld-soname): New macro.
33194 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
33195 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
33196 Renamed to ...
33197 (abi-*): This.
33198 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
33199 * sysdeps/x86_64/x32/shlib-versions: Likewise.
33200
4da0431d
JM
332012012-05-30 Joseph Myers <joseph@codesourcery.com>
33202
3a85279c
JM
33203 * sysdeps/unix/sysv/linux/kernel-features.h
33204 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
33205 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
33206 include <kernel-features.h>.
33207 [!__NR_ftruncate64]: Remove conditional code.
33208 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33209 [__NR_ftruncate64]: Make code unconditional.
33210 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33211 * sysdeps/unix/sysv/linux/truncate64.c: Do not
33212 include <kernel-features.h>.
33213 [!__NR_ftruncate64]: Remove conditional code.
33214 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33215 [__NR_ftruncate64]: Make code unconditional.
33216 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
33218 include <kernel-features.h>.
33219 [!__NR_ftruncate64]: Remove conditional code.
33220 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33221 [__NR_ftruncate64]: Make code unconditional.
33222 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33224 include <kernel-features.h>.
33225 [!__NR_ftruncate64]: Remove conditional code.
33226 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33227 [__NR_ftruncate64]: Make code unconditional.
33228 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33229
4da0431d
JM
33230 * configure.in (libc_cv_fpie): Weaken to a compile test using
33231 LIBC_TRY_CC_OPTION.
33232 * configure: Regenerated.
33233
11ef492c
AK
332342012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33235
33236 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
33237 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
33238 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
33239 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33240 Refreshed.
33241 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
33242 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
33243 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
33244 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
33245 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
33246 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33247 Refreshed.
33248
d66ef399
DM
332492012-05-27 David S. Miller <davem@davemloft.net>
33250
33251 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
33252 (___Q_zero): New.
33253 (__Q_simulate_exceptions): Return void. Change to simulate
33254 exceptions by writing into the %fsr.
33255 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
33256 (__Qp_handle_exceptions): Likewise.
33257 (numbers): Delete.
33258 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
33259 __Qp_handle_exceptions.
33260 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
33261 __Qp_handle_exceptions.
33262 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33263 as unused and give dummy FP_RND_NEAREST initializer.
33264 (FP_INHIBIT_RESULTS): Define.
33265 (___Q_simulate_exceptions): Update declaration.
33266 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
33267 formatting.
33268 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33269 as unused and give dummy FP_RND_NEAREST initializer.
33270 (__Qp_handle_exceptions): Update declaration.
33271 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
33272 formatting.
33273
04fb54b5
TS
332742012-05-27 Thomas Schwinge <thomas@codesourcery.com>
33275
33276 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
33277 the temporary FPU control word.
33278 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33279 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
33280 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
33281 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33282 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33283 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
33284 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33285 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33286 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33287 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
33288 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33289
3f99608f
KK
332902012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33291
33292 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
33293 fields.
33294
65a4de4e
CLT
332952012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
33296
33297 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
33298 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
33299 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
33300 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
33301 Likewise.
33302 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
33303 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
33304 Likewise.
33305
15749d40
UD
333062012-05-27 Ulrich Drepper <drepper@gmail.com>
33307
33308 * po/h.po: Update from translation team.
33309
25dbcb27
AS
333102012-05-26 Andreas Schwab <schwab@linux-m68k.org>
33311
3d3f8e55
AS
33312 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
33313
25dbcb27
AS
33314 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
33315 handling of denormals.
33316 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33317 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
33318 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33319 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33320 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33321 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
33322 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
33323 Likewise.
33324
7ad47a80 333252012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
33326
33327 [BZ #14152]
33328 * math/libm-test.inc (fma_test): Don't always expect underflow
33329 exception.
33330
9c6ea9fa
SP
333312012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33332
33333 [BZ #12416]
33334 * elf/tst-execstack.c: Include stackinfo.h.
33335 (do_test): Adjust test case to ensure that pthread_getattr_np
33336 behaviour remains the same after marking stack executable.
33337
a8239222
JM
333382012-05-25 Joseph Myers <joseph@codesourcery.com>
33339
33340 * sysdeps/unix/sysv/linux/kernel-features.h
33341 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
33342 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
33343 kernel-features.h.
33344 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33345 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33346 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
33347 kernel-features.h.
33348 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33349 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33350
918b5606
L
333512012-05-25 H.J. Lu <hongjiu.lu@intel.com>
33352
33353 * configure.in: Define the default includes to being none.
33354 * configure: Regenerated.
33355
3a097cc7
RM
333562012-05-25 Roland McGrath <roland@hack.frob.com>
33357
8422c9a5
RM
33358 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
33359 * sysdeps/x86_64/setjmp.S: Likewise.
33360 * sysdeps/i386/bsd-setjmp.S: Likewise.
33361 * sysdeps/i386/bsd-_setjmp.S: Likewise.
33362 * sysdeps/i386/setjmp.S: Likewise.
33363 * sysdeps/i386/__longjmp.S: Likewise.
33364 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33365 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
33366
3a097cc7
RM
33367 * include/stap-probe.h: New file.
33368 * configure.in: Handle --enable-systemtap.
33369 * configure: Regenerated.
33370 * config.h.in (USE_STAP_PROBE): New #undef.
33371 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
33372 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
33373 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33374
21708942
JM
333752012-05-25 Joseph Myers <joseph@codesourcery.com>
33376
33377 [BZ #13717]
33378 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33379 to 2.4.0 where earlier.
33380 * sysdeps/unix/sysv/linux/configure: Regenerated.
33381 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33382 <kernel-features.h>.
33383 [__ASSUME_32BITUIDS]: Make code unconditional.
33384 [!__ASSUME_32BITUIDS]: Remove conditional code.
33385 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
33386 <kernel-features.h>.
33387 [__ASSUME_32BITUIDS]: Make code unconditional.
33388 [!__ASSUME_32BITUIDS]: Remove conditional code.
33389 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
33390 [__ASSUME_32BITUIDS]: Make code unconditional.
33391 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
33392 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
33393 <kernel-features.h>.
33394 [__ASSUME_32BITUIDS]: Make code unconditional.
33395 [!__ASSUME_32BITUIDS]: Remove conditional code.
33396 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
33397 <kernel-features.h>.
33398 [__ASSUME_32BITUIDS]: Make code unconditional.
33399 [!__ASSUME_32BITUIDS]: Remove conditional code.
33400 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
33401 <kernel-features.h>.
33402 [__ASSUME_32BITUIDS]: Make code unconditional.
33403 [!__ASSUME_32BITUIDS]: Remove conditional code.
33404 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
33405 <kernel-features.h>.
33406 [__ASSUME_32BITUIDS]: Make code unconditional.
33407 [!__ASSUME_32BITUIDS]: Remove conditional code.
33408 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33409 <kernel-features.h>.
33410 [__ASSUME_32BITUIDS]: Make code unconditional.
33411 [!__ASSUME_32BITUIDS]: Remove conditional code.
33412 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33413 <kernel-features.h>.
33414 [__ASSUME_32BITUIDS]: Make code unconditional.
33415 [!__ASSUME_32BITUIDS]: Remove conditional code.
33416 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
33417 <kernel-features.h>.
33418 [__ASSUME_32BITUIDS]: Make code unconditional.
33419 [!__ASSUME_32BITUIDS]: Remove conditional code.
33420 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33421 <kernel-features.h>.
33422 [__ASSUME_32BITUIDS]: Make code unconditional.
33423 [!__ASSUME_32BITUIDS]: Remove conditional code.
33424 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33425 <kernel-features.h>.
33426 [__ASSUME_32BITUIDS]: Make code unconditional.
33427 [!__ASSUME_32BITUIDS]: Remove conditional code.
33428 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
33429 <kernel-features.h>.
33430 [__ASSUME_32BITUIDS]: Make code unconditional.
33431 [!__ASSUME_32BITUIDS]: Remove conditional code.
33432 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
33433 <kernel-features.h>.
33434 [__NR_setresgid] (__setresgid): Do not declare.
33435 [__ASSUME_32BITUIDS]: Make code unconditional.
33436 [!__ASSUME_32BITUIDS]: Remove conditional code.
33437 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
33438 <kernel-features.h>.
33439 [__NR_setresuid] (__setresuid): Do not declare.
33440 [__ASSUME_32BITUIDS]: Make code unconditional.
33441 [!__ASSUME_32BITUIDS]: Remove conditional code.
33442 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
33443 <kernel-features.h>.
33444 [__ASSUME_32BITUIDS]: Make code unconditional.
33445 [!__ASSUME_32BITUIDS]: Remove conditional code.
33446 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
33447 <kernel-features.h>.
33448 [__ASSUME_32BITUIDS]: Make code unconditional.
33449 [!__ASSUME_32BITUIDS]: Remove conditional code.
33450 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
33451 <kernel-features.h>.
33452 [__ASSUME_32BITUIDS]: Make code unconditional.
33453 [!__ASSUME_32BITUIDS]: Remove conditional code.
33454 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
33455 <kernel-features.h>.
33456 [__ASSUME_32BITUIDS]: Make code unconditional.
33457 [!__ASSUME_32BITUIDS]: Remove conditional code.
33458 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
33459 <kernel-features.h>.
33460 [__ASSUME_32BITUIDS]: Make code unconditional.
33461 [!__ASSUME_32BITUIDS]: Remove conditional code.
33462 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
33463 <kernel-features.h>.
33464 [__ASSUME_32BITUIDS]: Make code unconditional.
33465 [!__ASSUME_32BITUIDS]: Remove conditional code.
33466 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
33467 <kernel-features.h>.
33468 [__ASSUME_32BITUIDS]: Make code unconditional.
33469 [!__ASSUME_32BITUIDS]: Remove conditional code.
33470 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
33471 <kernel-features.h>.
33472 [__ASSUME_32BITUIDS]: Make code unconditional.
33473 [!__ASSUME_32BITUIDS]: Remove conditional code.
33474 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
33475 <kernel-features.h>.
33476 [__ASSUME_32BITUIDS]: Make code unconditional.
33477 [!__ASSUME_32BITUIDS]: Remove conditional code.
33478 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33479 <kernel-features.h>.
33480 [__ASSUME_32BITUIDS]: Make code unconditional.
33481 [!__ASSUME_32BITUIDS]: Remove conditional code.
33482 * sysdeps/unix/sysv/linux/kernel-features.h
33483 (__ASSUME_SETRESUID_SYSCALL): Remove.
33484 (__ASSUME_SETRESGID_SYSCALL): Likewise.
33485 (__ASSUME_32BITUIDS): Likewise.
33486 (__ASSUME_LDT_WORKS): Likewise.
33487 (__ASSUME_O_DIRECTORY): Likewise.
33488 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
33489 architecture but not kernel version.
33490 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
33491 (__ASSUME_MMAP2_SYSCALL): Likewise.
33492 (__ASSUME_STAT64_SYSCALL): Likewise.
33493 (__ASSUME_IPC64): Likewise.
33494 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
33495 <kernel-features.h>.
33496 [__ASSUME_32BITUIDS]: Make code unconditional.
33497 [!__ASSUME_32BITUIDS]: Remove conditional code.
33498 * sysdeps/unix/sysv/linux/opendir.c: Do not include
33499 <kernel-features.h>.
33500 [__ASSUME_O_DIRECTORY]: Make code unconditional.
33501 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
33502 132096]: Remove conditional code.
33503 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
33504 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33505 <kernel-features.h>.
33506 [__ASSUME_32BITUIDS]: Make code unconditional.
33507 [!__ASSUME_32BITUIDS]: Remove conditional code.
33508 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33509 <kernel-features.h>.
33510 [__ASSUME_32BITUIDS]: Make code unconditional.
33511 [!__ASSUME_32BITUIDS]: Remove conditional code.
33512 * sysdeps/unix/sysv/linux/setegid.c: Do not include
33513 <kernel-features.h>.
33514 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
33515 unconditional.
33516 (__setresgid): Do not declare.
33517 [__ASSUME_32BITUIDS]: Make code unconditional.
33518 [!__ASSUME_32BITUIDS]: Remove conditional code.
33519 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
33520 <kernel-features.h>.
33521 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
33522 unconditional.
33523 (__setresuid): Do not declare.
33524 [__ASSUME_32BITUIDS]: Make code unconditional.
33525 [!__ASSUME_32BITUIDS]: Remove conditional code.
33526 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33527 <kernel-features.h>.
33528 [__ASSUME_32BITUIDS]: Make code unconditional.
33529 [!__ASSUME_32BITUIDS]: Remove conditional code.
33530 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
33531 <kernel-features.h>.
33532 [__ASSUME_32BITUIDS]: Make code unconditional.
33533 [!__ASSUME_32BITUIDS]: Remove conditional code.
33534
a386f1cc
RH
335352012-05-25 Richard Henderson <rth@twiddle.net>
33536
33537 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
33538 dl_hwcap to ifunc resolver.
33539 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
33540 elf_ifunc_invoke.
33541 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
33542 dl_hwcap to ifunc resolver.
33543 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
33544
b6550497
JM
335452012-05-24 Joseph Myers <joseph@codesourcery.com>
33546
33547 [BZ #14153]
33548 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
33549 for |x| <= 2**-26, not 2**-57.
33550 * math/libm-test.inc (acos_test): Do not allow spurious underflow
33551 exception.
33552
b0bc23a1
JL
335532012-05-24 Jeff Law <law@redhat.com>
33554
33555 * stdio-common/Makefile (tests): Add bug25.
33556 * stdio-common/bug25.c: New test.
33557
347c92e9
L
335582012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33559
33560 [BZ #13576]
33561 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
33562 multiple of MALLOC_ALIGNMENT in size.
33563 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
33564
6bcc8b3f
JM
335652012-05-24 Joseph Myers <joseph@codesourcery.com>
33566
33567 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
33568 Require >= 256.
33569 (FILENAME_MAX): Use macro-int-constant.
33570 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
33571 (_IOFBF): Use macro-int-constant.
33572 (_IOLBF): Likewise.
33573 (_IONBF): Likewise.
33574 (SEEK_CUR): Likewise.
33575 (SEEK_END): Likewise.
33576 (SEEK_SET): Likewise.
33577 (TMP_MAX): Likewise.
33578 (EOF): Use macro-int-constant. Require < 0.
33579 (NULL): Use macro-constant. Require == 0.
33580 (stdin): Require type to be FILE *.
33581 (stdout): Likewise.
33582 (stderr): Likewise.
33583 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
33584 macro-int-constant.
33585 (EXIT_SUCCESS): Likewise.
33586 (NULL): Use macro-constant. Require == 0.
33587 (RAND_MAX): Use macro-int-constant.
33588 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
33589 [C99-based standards] (strtof): Require function.
33590 [C99-based standards] (strtold): Likewise.
33591 [C99-based standards] (strtoll): Likewise.
33592 [C99-based standards] (strtoull): Likewise.
33593 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33594 [ISO || ISO99 || ISO11] (limits.h): Likewise.
33595 [ISO || ISO99 || ISO11] (math.h): Likewise.
33596 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
33597 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33598 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33599
d18ea0c5
AS
336002012-05-24 Andreas Schwab <schwab@linux-m68k.org>
33601
33602 [BZ #14132]
56d25bb8
AS
33603 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
33604 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
33605 * intl/dgettext.c (DCGETTEXT): Likewise.
33606 * intl/gettext.c (DCGETTEXT): Likewise.
33607 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
33608 * posix/regex_internal.h (gettext): Likewise.
33609 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
33610 Remove declaration.
33611 * include/argz.h (__argz_count_internal)
33612 (__argz_stringify_internal): Remove declaration.
33613 (__argz_count, __argz_stringify): Declare hidden proto.
33614 * intl/dcgettext.c: Remove use of INTDEF.
33615 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
33616 * string/argz-stringify.c: Likewise.
33617 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33618 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33619 Declare hidden proto.
d18ea0c5
AS
33620 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33621 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33622 Declare hidden proto.
33623 * include/stdio.h (__asprintf_internal): Don't declare.
33624 (__asprintf): Don't define as macro. Declare hidden proto.
33625 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
33626 (__fsetlocking): Declare hidden proto.
33627 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
33628 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
33629 hidden proto.
33630 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
33631 (_IO_setlinebuf): Remove use of INTUSE.
33632 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
33633 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
33634 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
33635 Remove declaration.
33636 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
33637 (_IO_do_flush): Remove use of INTUSE.
33638 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
33639 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
33640 (_IO_adjust_column, _IO_least_wmarker)
33641 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
33642 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
33643 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
33644 (_IO_default_doallocate, _IO_wdefault_doallocate)
33645 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
33646 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
33647 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
33648 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
33649 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
33650 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
33651 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
33652 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
33653 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
33654 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
33655 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
33656 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
33657 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
33658 proto.
33659 (_IO_flush_all_internal, _IO_adjust_column_internal)
33660 (_IO_default_uflow_internal, _IO_default_finish_internal)
33661 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
33662 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
33663 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
33664 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
33665 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
33666 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
33667 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
33668 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
33669 (_IO_file_close_internal, _IO_file_close_it_internal)
33670 (_IO_file_underflow_internal, _IO_file_overflow_internal)
33671 (_IO_file_init_internal, _IO_file_attach_internal)
33672 (_IO_file_fopen_internal, _IO_file_read_internal)
33673 (_IO_file_sync_internal, _IO_file_seek_internal)
33674 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
33675 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
33676 (_IO_str_underflow_internal, _IO_str_overflow_internal)
33677 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
33678 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
33679 (_IO_list_all_internal, _IO_link_in_internal)
33680 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
33681 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
33682 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
33683 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
33684 (_IO_do_write_internal, _IO_padn_internal)
33685 (_IO_getline_info_internal, _IO_getline_internal)
33686 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
33687 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
33688 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
33689 (_IO_vfscanf_internal, _IO_vfprintf_internal)
33690 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
33691 (_IO_init_internal, _IO_un_link_internal): Don't declare.
33692 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
33693 with libc_hidden_ver, remove use of INTUSE.
33694 * libio/genops.c: Likewise.
33695 * libio/freopen.c: Likewise.
33696 * libio/freopen64.c: Likewise.
33697 * libio/iofclose.c: Likewise.
33698 * libio/iofdopen.c: Likewise.
33699 * libio/iofflush.c: Likewise.
33700 * libio/iofflush_u.c: Likewise.
33701 * libio/iofgets.c: Likewise.
33702 * libio/iofgets_u.c: Likewise.
33703 * libio/iofopen.c: Likewise.
33704 * libio/iofopncook.c: Likewise.
33705 * libio/iofread.c: Likewise.
33706 * libio/iofread_u.c: Likewise.
33707 * libio/ioftell.c: Likewise.
33708 * libio/iofwrite.c: Likewise.
33709 * libio/iogetline.c: Likewise.
33710 * libio/iogets.c: Likewise.
33711 * libio/iogetwline.c: Likewise.
33712 * libio/iopadn.c: Likewise.
33713 * libio/iopopen.c: Likewise.
33714 * libio/ioseekoff.c: Likewise.
33715 * libio/ioseekpos.c: Likewise.
33716 * libio/iosetbuffer.c: Likewise.
33717 * libio/iosetvbuf.c: Likewise.
33718 * libio/ioungetc.c: Likewise.
33719 * libio/ioungetwc.c: Likewise.
33720 * libio/iovdprintf.c: Likewise.
33721 * libio/iovsprintf.c: Likewise.
33722 * libio/iovsscanf.c: Likewise.
33723 * libio/memstream.c: Likewise.
33724 * libio/obprintf.c: Likewise.
33725 * libio/oldfileops.c: Likewise.
33726 * libio/oldiofclose.c: Likewise.
33727 * libio/oldiofdopen.c: Likewise.
33728 * libio/oldiofopen.c: Likewise.
33729 * libio/oldiopopen.c: Likewise.
33730 * libio/oldstdfiles.c: Likewise.
33731 * libio/putc.c: Likewise.
33732 * libio/setbuf.c: Likewise.
33733 * libio/setlinebuf.c: Likewise.
33734 * libio/stdfiles.c: Likewise.
33735 * libio/strops.c: Likewise.
33736 * libio/vasprintf.c: Likewise.
33737 * libio/vscanf.c: Likewise.
33738 * libio/vsnprintf.c: Likewise.
33739 * libio/vswprintf.c: Likewise.
33740 * libio/wfiledoalloc.c: Likewise.
33741 * libio/wfileops.c: Likewise.
33742 * libio/wgenops.c: Likewise.
33743 * libio/wmemstream.c: Likewise.
33744 * libio/wstrops.c: Likewise.
33745 * libio/__fpurge.c: Likewise.
33746 * libio/__fsetlocking.c: Likewise.
33747 * assert/assert.c: Likewise.
33748 * debug/fgets_chk.c: Likewise.
33749 * debug/fgets_u_chk.c: Likewise.
33750 * debug/fread_chk.c: Likewise.
33751 * debug/fread_u_chk.c: Likewise.
33752 * debug/gets_chk.c: Likewise.
33753 * debug/obprintf_chk.c: Likewise.
33754 * debug/vasprintf_chk.c: Likewise.
33755 * debug/vdprintf_chk.c: Likewise.
33756 * debug/vsnprintf_chk.c: Likewise.
33757 * debug/vsprintf_chk.c: Likewise.
33758 * malloc/mtrace.c: Likewise.
33759 * misc/error.c: Likewise.
33760 * misc/syslog.c: Likewise.
33761 * stdio-common/asprintf.c: Likewise.
33762 * stdio-common/fxprintf.c: Likewise.
33763 * stdio-common/getw.c: Likewise.
33764 * stdio-common/isoc99_fscanf.c: Likewise.
33765 * stdio-common/isoc99_scanf.c: Likewise.
33766 * stdio-common/isoc99_vfscanf.c: Likewise.
33767 * stdio-common/isoc99_vscanf.c: Likewise.
33768 * stdio-common/isoc99_vsscanf.c: Likewise.
33769 * stdio-common/printf-prs.c: Likewise.
33770 * stdio-common/printf_fp.c: Likewise.
33771 * stdio-common/printf_fphex.c: Likewise.
33772 * stdio-common/printf_size.c: Likewise.
33773 * stdio-common/putw.c: Likewise.
33774 * stdio-common/scanf.c: Likewise.
33775 * stdio-common/sprintf.c: Likewise.
33776 * stdio-common/tmpfile.c: Likewise.
33777 * stdio-common/vfprintf.c: Likewise.
33778 * stdio-common/vfscanf.c: Likewise.
33779 * stdlib/strfmon_l.c: Likewise.
33780 * sunrpc/openchild.c: Likewise.
33781 * sunrpc/xdr_stdio.c: Likewise.
33782 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
33783 * sysdeps/mach/hurd/tmpfile.c: Likewise.
33784
d6c33fda
RM
337852012-05-24 Roland McGrath <roland@hack.frob.com>
33786
c1487492
RM
33787 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33788
33789 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
33790 in the third column, to generate for the shared library an IFUNC
33791 that uses _dl_vdso_vsym.
33792 * Makerules (COMPILE.c, compile-stdin.c): New variables.
33793 * Makeconfig (object-suffixes-noshared): New variable.
33794
33795 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
33796 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
33797 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
33798 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
33799
d6c33fda
RM
33800 [BZ #14132]
33801 * include/sys/time.h (__gettimeofday): Remove macro.
33802 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
33803 * time/gettimeofday.c (__gettimeofday): Remove #undef.
33804 Remove INTDEF.
33805 (__gettimeofday): Add libc_hidden_def.
33806 (gettimeofday): Add libc_hidden_weak.
33807 * sysdeps/mach/gettimeofday.c: Likewise.
33808 * sysdeps/posix/gettimeofday.c: Likewise.
33809 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
33810 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33811 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
33812 (__gettimeofday_internal): Remove strong_alias.
33813 (__gettimeofday): Add libc_hidden_def.
33814 (gettimeofday): Add libc_hidden_weak.
33815 * sysdeps/unix/syscalls.list (gettimeofday):
33816 Remove __gettimeofday_internal alias.
33817
b5a2bbe6
L
338182012-05-24 Daniel Jacobowitz <drow@false.org>
33819 H.J. Lu <hongjiu.lu@intel.com>
33820
33821 [BZ #12495]
33822 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
33823 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
33824 (largebin_index_32_big): New.
33825 (largebin_index): Use it for 16-byte alignment.
33826 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
33827 correction with front_misalign.
33828
cfba4fda
L
338292012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33830
7f907421
L
33831 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
33832 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33833 Likewise.
33834 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
33835 Likewise.
33836 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33837 Likewise.
33838 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
33839 Likewise.
33840 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
33841 Likewise.
33842 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
33843 Likewise.
33844 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
33845 Likewise.
33846 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33847 Likewise.
33848 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
33849 Likewise.
33850 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
33851 Likewise.
33852 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33853 Likewise.
33854 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
33855 Likewise.
33856
cfba4fda
L
33857 * scripts/data/c++-types-x32-linux-gnu.data: New file.
33858 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
33859
80bad0cc
JM
338602012-05-24 Joseph Myers <joseph@codesourcery.com>
33861
7a25eb06
JM
33862 [BZ #10846]
33863 [BZ #14036]
33864 * math/libm-test.inc (exp_test): Add test from bug 14036.
33865 (pow_test): Add test from bug 10846.
33866
795405f9
JM
33867 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
33868 and other flags.
33869 (special_function): Do not include flags in test name.
33870 (parse_args): Likewise.
33871 * sysdeps/i386/fpu/libm-test-ulps: Update.
33872 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33873 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33874 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33876
80bad0cc
JM
33877 * math/gen-libm-test.pl (%beautify): Add entries for underflow
33878 exceptions.
33879 * math/libm-test.inc ("Philosophy"): Update comment about
33880 exception testing.
33881 (UNDERFLOW_EXCEPTION): New macro.
33882 (UNDERFLOW_EXCEPTION_OK): Likewise.
33883 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
33884 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
33885 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
33886 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
33887 (INVALID_EXCEPTION_OK): Update value.
33888 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33889 (OVERFLOW_EXCEPTION_OK): Likewise.
33890 (IGNORE_ZERO_INF_SIGN): Likewise.
33891 (test_exceptions): Handle underflow exceptions.
33892 (acos_test): Update for underflow exception expectations.
33893 (cexp_test): Likewise.
33894 (clog_test): Likewise.
33895 (clog10_test): Likewise.
33896 (csqrt_test): Likewise.
33897 (ctan_test): Likewise.
33898 (ctanh_test): Likewise.
33899 (exp_test): Likewise.
33900 (exp10_test): Likewise.
33901 (exp2_test): Likewise.
33902 (expm1_test): Likewise.
33903 (fma_test): Likewise.
33904 (j0_test): Likewise.
33905 (jn_test): Likewise.
33906 (nexttoward_test): Likewise.
33907 (pow_test): Likewise.
33908 (scalbn_test): Likewise.
33909 (scalbln_test): Likewise.
33910 (tan_test): Likewise.
33911 (y1_test): Likewise.
33912 * sysdeps/i386/fpu/libm-test-ulps: Update.
33913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33914
9e0e3d0b
DM
339152012-05-23 David S. Miller <davem@davemloft.net>
33916
33917 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33918 (__libc_sigaction): Remove unused local variables.
33919
ccd0a08f
L
339202012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33921
33922 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
33923
62bdf9a6
PE
339242012-05-23 Paul Eggert <eggert@cs.ucla.edu>
33925
f8591f80
PE
33926 mktime: avoid signed integer overflow
33927 * time/mktime.c (__mktime_internal): Do not mishandle the case
33928 where diff == INT_MIN.
33929
94c7d826
PE
33930 mktime: simplify computation of average
33931 * time/mktime.c (ranged_convert): Use new time_t_avg function
33932 instead of rolling our own (probably-slower) code.
33933
ce73d683
PE
33934 mktime: do not assume signed right shift propagates sign bit
33935 * time/mktime.c (isdst_differ): New static function.
33936 (__mktime_internal): No need to normalize tm_isdst now.
33937 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
33938 tm_isdst values.
33939
72a22e59
PE
33940 mktime: merge another wrapv change from gnulib
33941 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
33942 from some compilers.
33943
68605433
PE
33944 mktime: remove incorrect attempt at unusual arithmetics
33945 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
33946 The code didn't really work on such machines anyway.
33947 (TYPE_MINIMUM): Assume two's complement.
33948 (twos_complement_arithmetic): Verify that long_int and time_t
33949 are two's complement (or unsigned, in the latter case).
33950
03cf7fe3
PE
33951 mktime: check signed shifts on long_int and time_t, too
33952 * time/mktime.c (SHR): Check that shifts work as desired
33953 on the types long_int and time_t too, as SHR is used on
33954 such types.
33955
f04dfbc2
PE
33956 mktime: do not assume 'long' is wide enough
33957 * time/mktime.c (verify): Move decl up.
33958 (long_int): New type.
33959 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
33960 to remove assumption in the code that 'long' is wide enough to
33961 store year values. This assumption is not true on x32 and on
33962 some non-glibc platforms.
33963
62bdf9a6
PE
33964 mktime: merge wrapv change from gnulib
33965 * time/mktime.c (WRAPV): New macro.
33966 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
33967 (guess_time_tm, __mktime_internal): Do not assume that signed
33968 integer overflow wraps around; modern compilers generate code
33969 where this assumption is no longer valid.
33970
5e292e4f
L
339712012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33972
33973 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33974 Replace "jmp L(pseudo_end)" with "ret".
33975 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
33976 Likewise.
33977
8caf8c87
AJ
339782012-05-23 Andreas Jaeger <aj@suse.de>
33979
33980 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
33981 * sysdeps/unix/sysv/linux/poll.c: Remove file.
33982
1a09dc56
AJ
339832012-05-23 Andreas Jaeger <aj@suse.de>
33984 Maximilian Attems <max@stro.at>
33985
33986 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
33987 New macros.
33988
1c87aba0
L
339892012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33990
33991 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
33992 code so that pseudo_end is just ret and the stack pointer is
33993 correct also for static library in error case.
33994
40e45bd5
JM
339952012-05-23 Joseph Myers <joseph@codesourcery.com>
33996
c2670533
JM
33997 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
33998 move to syscalls.list.
33999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
34000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34003
40e45bd5
JM
34004 * manual/install.texi (Running make install): Do not mention Linux
34005 kernel version for which pt_chown is not needed.
34006 (Linux): Do not mention problems with nscd with 2.0 kernels.
34007 * INSTALL: Regenerated.
34008
be08eda5
AJ
340092012-05-23 Andreas Jaeger <aj@suse.de>
34010
34011 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
34012 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
34013 macro.
34014 * sysdeps/unix/sysv/linux/s390/bits/mman.h
34015 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34016 * sysdeps/unix/sysv/linux/sh/bits/mman.h
34017 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34018 * sysdeps/unix/sysv/linux/i386/bits/mman.h
34019 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34020 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
34021 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34022 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
34023 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34024 * sysdeps/unix/sysv/linux/bits/in.h
34025 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
34026
a6a056bb
RM
340272012-05-22 Roland McGrath <roland@hack.frob.com>
34028
34029 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
34030 (PREPARE_VERSION): Just use assert instead, it will be elided
34031 under [NDEBUG] anyway.
34032
c9009328
L
340332012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34034
34035 * sysdeps/unix/sysv/linux/Makefile: Include
34036 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 34037 (sysdep_routines): Remove sysctl.
c9009328
L
34038 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
34039 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
34040 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
34041 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
34042 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
34043
73338355
AJ
340442012-05-22 Andreas Jaeger <aj@suse.de>
34045
34046 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
34047 that pseudo_end is just ret and the stack pointer is correct also
34048 for static library in error case.
34049
d44638b0
PP
340502012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
34051
34052 [BZ #14122]
34053 * nss/nsswitch.c (defconfig_entries): New variable.
34054 (__nss_database_lookup): Don't leak defconfig entries.
34055 (nss_parse_service_list): Don't leak on error paths.
34056 (free_database_entries): New function.
34057 (free_defconfig): New function.
34058 (free_mem): Move common code to free_database_entries.
34059
31a39bd8
L
340602012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34061
da0331a8
L
34062 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
34063 Add arch_prctl.
34064 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
34065
31a39bd8
L
34066 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34067 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
34068 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
34069 New macro.
34070 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
34071 (INTERNAL_SYSCALL_TYPES): Likewise.
34072 (LOAD_ARGS_TYPES_[1-6]): Likewise.
34073 (LOAD_REGS_TYPES_[1-6]): Likewise.
34074 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
34075 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
34076
45470df3
AZ
340772012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34078
34079 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
34080 copysignl for GLIBC_2_0.
34081 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
34082 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
34083 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
34084 logbl for GLIBC_2_0.
34085 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
34086 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
34087
98a61bcb
L
340882012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34089
a4f6e481
L
34090 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
34091 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34092
f63d5db6
L
34093 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34094 Use "neg %eax".
34095
98a61bcb
L
34096 * time/mktime.c: Update copyright years.
34097
95770f14
PE
340982012-05-22 Paul Eggert <eggert@cs.ucla.edu>
34099
6226efbd
PE
34100 mktime: merge comment-quoting-style change from gnulib
34101 * time/mktime.c: Quote 'like this' in comments.
34102 The GNU coding standards suggest that we no longer quote `like this',
34103 as "`" and "'" are typically rendered asymmetrically nowadays.
34104 The typical gnulib style is to quote 'like this' when quoting
34105 code, and "like this" when quoting English.
34106
b99e4f78
PE
34107 * time/mktime.c (compile-command): Add "-I.".
34108
643e01e6
PE
34109 mktime: merge mktime-internal.h change from gnulib
34110 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
34111
2554247d
PE
34112 mktime: merge time_r change from gnulib
34113 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
34114
826dd0ab
PE
34115 mktime: merge DEBUG change from gnulib
34116 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
34117 case system <time.h> has a #define.
34118
bd83aabe
PE
34119 mktime: merge <sys/types.h> change from gnulib
34120 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
34121 since <time.t> is now guaranteed to define time_t.
34122
95770f14
PE
34123 mktime: merge HAVE_CONFIG_H change from gnulib
34124 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
34125
5e1a27a9
L
341262012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34127
0e44a77e
L
34128 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34129 Use "neg %eax".
34130
5e1a27a9
L
34131 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
34132 __rlim_t cast.
34133 (struct rusage): Use anonymous union to pad each field to
34134 __syscall_slong_t.
34135
46259bec
DM
341362012-05-21 David S. Miller <davem@davemloft.net>
34137
34138 * Makefules (o-iterator): Remove .s cases.
34139 (compile-command.s): Delete.
34140 (COMPILE.s): Delete.
34141 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
34142
59f0c22e
JM
341432012-05-21 Joseph Myers <joseph@codesourcery.com>
34144
34145 * configure.in (libc_cv_predef_stack_protector): Only consider
34146 "foobar" and "__stack_chk_fail" lines in libc_undefs.
34147 * configure: Regenerated.
34148
20c07380
L
341492012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34150
bbb3154b
L
34151 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34152 New macro. Use R*LP on int and pointer.
34153 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
34154 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
34155 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
34156 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
34157
20c07380
L
34158 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
34159 [__WORDSIZE_TIME64_COMPAT32] instead of
34160 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
34161 (struct utmp): Likewise.
34162 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
34163 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
34164 Renamed to ...
34165 (__WORDSIZE_TIME64_COMPAT32): This.
34166 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
34167 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
34168 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
34169 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
34170 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
34171 (__WORDSIZE_TIME64_COMPAT32): New macro.
34172
d8d1017e
AJ
341732012-05-21 Andreas Jaeger <aj@suse.de>
34174
34175 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
34176 only if [SHARED]. Add prototype for __wcschr_ia32.
34177
6c7fb145
RM
341782012-05-21 Roland McGrath <roland@hack.frob.com>
34179
34180 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
34181 of %rbp unmolested in the jmp_buf while mangling the low bits.
34182 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
34183 unmolested high bits of %rbp while demangling the low bits.
34184 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34185
66274218
AJ
341862012-05-21 Andreas Jaeger <aj@suse.de>
34187
07c58f8f
AJ
34188 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
34189 * sunrpc/svc_simple.c: Use it for registerrpc.
34190 * sunrpc/xcrypt.c: Use it for passwd2des.
34191
66274218
AJ
34192 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
34193
61f65140
L
341942012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34195
34196 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
34197 Don't define if [__SYSCALL_WORDSIZE != 32].
34198 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
34199 New macro.
34200
5fefb436
AJ
342012012-05-21 Bruno Haible <bruno@clisp.org>
34202 Andreas Jaeger <aj@suse.de>
34203
34204 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
34205 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
34206 inptr and inend for must_buffer_ch.
34207 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
34208 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
34209 * stdio-common/Makefile (tests): Remove bug15.
34210 (bug15-ENV): Remove macro.
34211 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
34212 anymore.
34213
d8e272ab
AJ
342142012-05-19 Andreas Jaeger <aj@suse.de>
34215 Roland McGrath <roland@hack.frob.com>
34216
34217 * manual/contrib.texi: Completely rewritten. It contains now an
34218 alphabetical list of contributors and their contributions.
34219
4a56a162
RH
342202012-05-21 Richard Henderson <rth@twiddle.net>
34221
34222 * misc/getauxval.c (__getauxval): Use unsigned long int.
34223 * misc/sys/auxv.h: Include <sys/cdefs.h>.
34224 (getauxval): Use unsigned long int.
34225
d024d23c
L
342262012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34227
34228 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34229
cbc00a03
RM
342302012-05-21 Roland McGrath <roland@hack.frob.com>
34231
34232 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
34233 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
34234 __alignof__ (long double).
34235
478143fa
AZ
342362012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34237
34238 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34239
c7683a6d
RH
342402012-05-20 Richard Henderson <rth@twiddle.net>
34241
34242 * misc/getauxval.c: New file.
34243 * misc/sys/auxv.h: New file.
34244 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
34245 (routines): Add getauxval.
34246 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
34247 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
34248 * elf/dl-sysdep.c (_dl_auxv): Remove.
34249 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
34250 * elf/dl-support.c (_dl_auxv): New variable.
34251 (_dl_aux_init): Initialize it.
34252 * manual/startup.texi (Auxiliary Vector): New node.
34253 * sysdeps/generic/bits/hwcap.h: New file.
34254 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
34255 * sysdeps/powerpc/sysdep.h: ... here. Include it.
34256 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
34257 * sysdeps/sparc/sysdep.h: ... here. Include it.
34258 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
34259 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
34260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34261 Update.
c7683a6d
RH
34262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
34263 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
34264 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
34265 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
34266 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34267 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34268 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
34269 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
34270
a6f1845d
AZ
342712012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34272
34273 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34274
cbcbe830
DM
342752012-05-19 David S. Miller <davem@davemloft.net>
34276
34277 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34278
e0b16cc2
JM
342792012-05-19 Joseph Myers <joseph@codesourcery.com>
34280
34281 [BZ #14123]
34282 * math/s_ccosh.c: Include <float.h>
34283 (__ccosh): Avoid internal overflow calculating sinh and cosh
34284 values before multiplying by sin and cos values.
34285 * math/s_ccoshf.c: Likewise.
34286 * math/s_ccoshl.c: Likewise.
34287 * math/s_csin.c: Likewise.
34288 * math/s_csinf.c: Likewise.
34289 * math/s_csinl.c: Likewise.
34290 * math/s_csinh.c: Likewise.
34291 * math/s_csinhf.c: Likewise.
34292 * math/s_csinhl.c: Likewise.
34293 * math/libm-test.inc (ccos_test): Add more tests.
34294 (ccosh_test): Likewise.
34295 (csin_test): Likewise.
34296 (csinh_test): Likewise.
34297 * sysdeps/i386/fpu/libm-test-ulps: Update.
34298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34299
6ad13e08
L
343002012-05-19 H.J. Lu <hongjiu.lu@intel.com>
34301
f66f0ce8
L
34302 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
34303 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
34304
6ad13e08
L
34305 * sysdeps/x86_64/x32/_itoa.h: Add comment.
34306
b1d072a7
JM
343072012-05-19 Joseph Myers <joseph@codesourcery.com>
34308
34309 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
34310 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
34311 * sysdeps/powerpc/soft-fp/Versions: Likewise.
34312 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
34313 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
34314 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
34315 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
34316 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
34317 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
34318 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
34319 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
34320 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
34321 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
34322 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
34323 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
34324 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
34325 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
34326 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
34327 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
34328 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
34329 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
34330 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
34331 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
34332 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
34333 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
34334 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
34335 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
34336 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
34337 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
34338 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
34339 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
34340
9eae47cb
AJ
343412012-05-18 Andreas Jaeger <aj@suse.de>
34342
34343 * csu/.gitignore: Delete.
34344
bb07f69f
L
343452012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34346
34347 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
34348 (timex): Use __syscall_slong_t.
34349
e6bdb741
AJ
343502012-05-18 Andreas Jaeger <aj@suse.de>
34351 Carlos O'Donell <carlos_odonell@mentor.com>
34352
34353 * manual/install.texi (Configuring and compiling): Update
34354 description about files modified in the source directory.
d6c33fda 34355 * INSTALL: Regenerated.
e6bdb741 34356
1b74487e
L
343572012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34358
34359 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
34360 value. Use "or" to set return value to -1.
34361 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
34362 negate return value.
34363
a88b64b9
TMQMF
343642012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34365
57f41c40
AS
34366 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
34367 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
34368 failure if the compiler has Graphite support disabled.
34369 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
34370 Likewise.
57f41c40
AS
34371 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
34372 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
34373 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
34374 Likewise.
34375
3707636e
L
343762012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34377
610b8622
L
34378 * sysdeps/x86_64/x32/_itoa.h: New file.
34379
7cd195df
L
34380 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
34381 getdents system call only if kernel and user dirents have the
34382 same d_ino and d_off.
34383
94b07d20
L
34384 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34385 LLONG_MAX != LONG_MAX.
34386 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34387 (_fitoa_word): Likewise.
34388
18298070
L
34389 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
34390 years.
34391 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
34392 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
34393 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
34394
553c7ea4
L
34395 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
34396 include <bits/wordsize.h>. Check __x86_64__ instead of
34397 __WORDSIZE.
34398 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
34399 if __x86_64__ is defined. Use anonymous union on fpstate.
34400
3707636e
L
34401 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
34402 anonymous union.
34403
b53ef01a
AS
344042012-05-18 Andreas Schwab <schwab@linux-m68k.org>
34405
37fb1dc0
AS
34406 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
34407 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
34408 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
34409 Refer to _rtld_local_ro instead of _rtld_global_ro.
34410 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
34411 Likewise.
34412 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
34413 Likewise.
34414 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
34415 Likewise.
34416 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
34417 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
34418 of _rtld_global, and rtld_progname instead of _dl_argv[0].
34419
b53ef01a
AS
34420 * sysdeps/powerpc/powerpc32/dl-machine.c
34421 (__elf_machine_runtime_setup) [PROF]: Don't reference
34422 _dl_prof_resolve.
34423
7a185db2
AJ
344242012-05-18 Andreas Jaeger <aj@suse.de>
34425
34426 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
34427 function only available for GCCs before 3.4 since GCC 3.4
34428 introduced a builtin.
34429 (lrint): Likewise.
34430 (llrintf): Likewise.
34431 (llrint): Likewise.
34432 (fmaxf): Likewise.
34433 (fmax): Likewise.
34434 (fminf): Likewise.
34435 (fmin): Likewise.
34436 (rint): Likewise.
34437 (rintf): Likewise.
34438 (nearbyint): Likewise.
34439 (nearbyintf): Likewise.
34440 (ceil): Likewise.
34441 (ceilf): Likewise.
34442 (floor): Likewise.
34443 (floorf): Likewise.
34444
3e5aef87
L
344452012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34446
428bd707
L
34447 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
34448 on both fields and cast pointer to __syscall_ulong_t.
34449
3e5aef87
L
34450 * bits/types.h (__fsword_t): New type.
34451 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
34452 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
34453 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34454 (__FSWORD_T_TYPE): Likewise.
34455 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34456 (__FSWORD_T_TYPE): Likewise.
34457 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34458 (__FSWORD_T_TYPE): Likewise.
34459 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
34460 (__FSWORD_T_TYPE): Likewise.
34461 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
34462 __SWORD_TYPE with __fsword_t.
34463 (statfs64): Likewise.
34464
1ba7c3dc
DM
344652012-05-17 David S. Miller <davem@davemloft.net>
34466
34467 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
34468
59910343
AJ
344692012-05-17 Andreas Jaeger <aj@suse.de>
34470
34471 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
34472 warning.
34473
2e4c1e9e
L
344742012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34475
34476 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
34477
de7f5ce7
AJ
344782012-05-17 Andreas Jaeger <aj@suse.de>
34479
34480 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
34481 when it is used.
34482
286abc3d
CM
344832012-05-17 Chris Metcalf <cmetcalf@tilera.com>
34484
34485 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
34486
477cc68e
L
344872012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34488
34489 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
34490 * sysdeps/x86_64/tst-mallocalign1.c: New file.
34491
1a0994f5
CD
344922012-05-17 Andreas Jaeger <aj@suse.de>
34493 Carlos O'Donell <carlos_odonell@mentor.com>
34494
34495 [BZ #14059]
34496 * sysdeps/x86_64/multiarch/init-arch.h
34497 (bit_YMM_Usable): Rename to...
34498 (bit_AVX_Usable): ... this.
34499 (bit_FMA4_Usable): New macro.
34500 (bit_XMM_state): New macro.
34501 (bit_YMM_state): New macro.
34502 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
34503 [__ASSEMBLER__] (index_AVX_Usable): ... this.
34504 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
34505 (CPUID_OSXSAVE): New macro.
34506 (CPUID_AVX): New macro.
34507 (CPUID_FMA4): New macro.
34508 (index_YMM_Usable): Rename to...
34509 (index_AVX_Usable): ... this.
34510 (HAS_AVX): Use HAS_ARCH_FEATURE.
34511 (HAS_FMA4): Likewise.
34512 (HAS_YMM_USABLE): Remove.
34513 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34514 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
34515 are present.
34516 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
34517 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
34518 * sysdeps/x86_64/multiarch/Makefile: Likewise.
34519 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
34520 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
34521
0af797de
CM
345222012-05-17 Chris Metcalf <cmetcalf@tilera.com>
34523
34524 * math/libm-test.c: Support platforms without multiple rounding modes.
34525 * math/bug-nextafter.c: Support platforms without FP exceptions.
34526 * math/bug-nexttoward.c: Likewise.
34527 * math/test-fenv.c: Likewise.
34528 * math/test-misc.c: Likewise.
34529 * stdlib/bug-getcontext.c: Likewise.
34530
e39745ff
AJ
345312012-05-17 Andreas Jaeger <aj@suse.de>
34532
34533 * manual/examples/search.c (critter_cmp): Change signature to
34534 avoid warnings.
34535 * manual/string.texi (Collation Functions): Likewise.
34536
48970aba
L
345372012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34538
34539 * bits/types.h: Fold copyright years.
34540 * bits/typesizes.h: Likewise.
34541 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
34542 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
34543 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
34544 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
34545 * time/time.h: Likewise.
34546
bedee953
PP
345472012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
34548
34549 [BZ #208]
34550 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
34551 in instead of returning them. Return void.
34552 (__libc_mallinfo): Accumulate over all arenas.
34553 (__malloc_stats): Adjust for change in int_mallinfo interface.
34554
61653dfb
RM
345552012-05-16 Roland McGrath <roland@hack.frob.com>
34556
30b99d79
RM
34557 [BZ #10375]
34558 * configure.in (NM): Add AC_CHECK_TOOL for it.
34559 (libc_extra_cflags): New substituted variable.
34560 Check for -fstack-protector being used implicitly.
34561 * configure: Regenerated.
34562 * config.make.in (config-extra-cflags): New variable,
34563 gets @libc_extra_cflags@.
34564 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
34565
61653dfb
RM
34566 [BZ #10375]
34567 * configure.in: Check for _FORTIFY_SOURCE being predefined.
34568 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
34569 * configure: Regenerated.
34570 * config.make.in (CPPUNDEFS): New substituted variable.
34571 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
34572 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
34573 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
34574
661768bb
L
345752012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34576
34577 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
34578 (mq_attr): Use __syscall_slong_t.
34579
d4261567
L
345802012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34581
34582 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
34583 Check __x86_64__ instead of __WORDSIZE.
34584 (_STAT_VER_LINUX): Likewise.
34585 (stat): Check __x86_64__ instead of __WORDSIZE. Use
34586 __syscall_ulong_t and __syscall_slong_t.
34587 (stat64): Likewise.
34588
cf3ff365
L
345892012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34590
34591 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
34592
76cf3e4d
L
345932012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34594
34595 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
34596
a637753a
L
345972012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34598
34599 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
34600 __syscall_ulong_t.
34601
d5e05119
L
34602 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
34603 include <bits/wordsize.h>. Check __x86_64__ instead of
34604 __WORDSIZE.
34605 (greg_t): Use "__extension__ long long int" if __x86_64__ is
34606 defined.
34607 (mcontext_t): Replace "unsigned long" with "unsigned long long".
34608
f62ee380
L
34609 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
34610 include <bits/wordsize.h>. Check __x86_64__ instead of
34611 __WORDSIZE.
34612 (user_regs_struct): Use "__extension__ unsigned long long"
34613 instead of "unsigned long" if __x86_64__ is defined.
34614 (user): Likewise. Pad after pointer field if __ILP32__ is
34615 defined.
34616
4e124ced
JM
346172012-05-16 Joseph Myers <joseph@codesourcery.com>
34618
6a3951a0
JM
34619 * configure.in (makeinfo): Require version 4.5 or later. Allow
34620 versions 5 to 9.
34621 * configure: Regenerated.
34622 * manual/install.texi (texinfo): Increase version requirement to
34623 4.5 or later.
34624 * INSTALL: Regenerated.
34625
4e124ced
JM
34626 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
34627
953ca31a
L
346282012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34629
34630 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
34631
617aca05
L
34632 * sysdeps/x86_64/x32/ffs.c: New file.
34633
5762f7ae
L
34634 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
34635 __syscall_ulong_t.
34636 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
34637 defined. Use __syscall_ulong_t.
34638 (shminfo): Use __syscall_ulong_t.
34639 (shm_info): Likewise.
34640
a26b6856
L
34641 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
34642 __syscall_ulong_t.
34643
cb2b9ef7
L
34644 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
34645 <bits/wordsize.h>.
34646 (msgqnum_t): Use __syscall_ulong_t.
34647 (msglen_t): Likewise.
34648 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
34649 __syscall_ulong_t.
34650
34683bb0
L
34651 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
34652 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34653
84a68786
L
34654 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
34655
48baa5f1
L
34656 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
34657 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
34658
180be88b
L
34659 * sysvipc/sys/msg.h (msgbuf): Replace long int with
34660 __syscall_slong_t.
34661
5e90c8ad
L
34662 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
34663 include <bits/wordsize.h>. Check __x86_64__ instead of
34664 __WORDSIZE.
34665
23dfb58b
L
34666 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
34667 "unsigned long long int" if __x86_64__ is defined.
34668 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
34669
ce5d54b0
L
34670 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
34671 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34672 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
34673
13dc9eac
L
34674 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
34675 <stdint.h>.
34676 (GET_PC): Cast to uintptr_t first.
34677 (GET_FRAME): Likewise.
34678 (GET_STACK): Likewise.
34679
a7895d15
L
34680 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
34681 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
34682 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
34683 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
34684 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
34685 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
34686 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
34687 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
34688 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34689 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
34690 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
34691 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
34692 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34693 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
34694 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
34695 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
34696 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
34697 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
34698 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
34699 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
34700 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
34701 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
34702 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
34703 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
34704 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
34705 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
34706 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
34707 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
34708 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
34709
656416c9
AS
347102012-05-16 Andreas Schwab <schwab@linux-m68k.org>
34711
5bd66283
AS
34712 * Makerules (+depfiles): Also collect depfiles from .oS in
34713 $(extra-objs).
34714 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
34715 .oS, $(libnldbl-routines)).
34716
656416c9
AS
34717 * Makerules (native-compile-mkdep-flags): Define.
34718 * sunrpc/Makefile (extra-objs): Add $(addprefix
34719 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
34720 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
34721 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
34722 calling $(make-target-directory).
34723
a46f2169
L
347242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34725
34726 * bits/types.h (__snseconds_t): Removed.
34727 * time/time.h (struct timespec): Replace __snseconds_t with
34728 __syscall_slong_t.
34729 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
34730 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
34731 Likewise.
34732 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34733 (__SNSECONDS_T_TYPE): Likewise.
34734 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34735 (__SNSECONDS_T_TYPE): Likewise.
34736 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34737 (__SNSECONDS_T_TYPE): Likewise.
34738
6af6528b
L
347392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34740
34741 * sysdeps/mach/hurd/bits/typesizes.h
34742 (__SYSCALL_SLONG_TYPE): New macro.
34743 (__SYSCALL_ULONG_TYPE): Likewise.
34744
de986b56
L
347452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34746
34747 * bits/types.h (__syscall_slong_t): New type.
34748 (__syscall_ulong_t): Likewise.
34749
34750 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
34751 (__SYSCALL_ULONG_TYPE): Likewise.
34752 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34753 (__SYSCALL_SLONG_TYPE): Likewise.
34754 (__SYSCALL_ULONG_TYPE): Likewise.
34755 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34756 (__SYSCALL_SLONG_TYPE): Likewise.
34757 (__SYSCALL_ULONG_TYPE): Likewise.
34758 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34759 (__SYSCALL_SLONG_TYPE): Likewise.
34760 (__SYSCALL_ULONG_TYPE): Likewise.
34761
85736dc7
L
347622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34763
34764 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
34765 Add sigaltstack-offsets.sym.
34766 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
34767 <sigaltstack-offsets.h>.
34768 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
34769 longjmp_msg pointer.
34770 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
34771 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
34772 signal stack.
34773 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
34774
cc03b296
JM
347752012-05-15 Joseph Myers <joseph@codesourcery.com>
34776
a9538892
JM
34777 * elf/stackguard-macros.h: Remove file.
34778 * sysdeps/generic/stackguard-macros.h: New file.
34779 * sysdeps/i386/stackguard-macros.h: Likewise.
34780 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
34781 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
34782 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
34783 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
34784 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
34785 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
34786 * sysdeps/x86_64/stackguard-macros.h: Likewise.
34787 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
34788 <elf/stackguard-macros.h>.
34789
cc03b296
JM
34790 [BZ #14109]
34791 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
34792 __aligned__ in attribute.
34793 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
34794 (gregset_t): Likewise.
34795
93171016
L
347962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34797
34798 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
34799 * sysdeps/x86_64/64/Implies-after: Here. New file.
34800 * sysdeps/x86_64/x32/Implies-after: New file.
34801
d86813a0
L
348022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34803
34804 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
34805 and access return value for _dl_profile_fixup. Use R10_LP to
34806 load frame size.
34807
2953ec75
L
348082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34809
34810 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
34811
3b550e9e
L
348122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34813
34814 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
34815 * sysdeps/x86_64/x32/sysdep.h: New file.
34816
eda41706
L
348172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34818
34819 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
34820 * sysdeps/x86_64/setjmp.S: Likewise.
34821
9ea01d93
AZ
348222012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34823
34824 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
34825 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
34826 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
34827 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
34828 remove unused global constant.
34829
02a91938
CM
348302012-05-15 Chris Metcalf <cmetcalf@tilera.com>
34831
34832 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
34833 include of <not-cancel.h>.
34834
6540185f
RM
348352012-05-15 Roland McGrath <roland@hack.frob.com>
34836
34837 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
34838
509072a0
AJ
348392012-05-15 Jeff Law <law@redhat.com>
34840 Andreas Jaeger <aj@suse.de>
34841
34842 [BZ #13594]
34843 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
34844 out from...
34845 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
34846 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
34847 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
34848 code changing __hst_map_handle.map.
34849
ba75122d
RM
348502012-05-15 Roland McGrath <roland@hack.frob.com>
34851
34852 * configure.in (sysnames): Look for Implies-before and Implies-after
34853 files.
34854 * configure: Regenerated.
34855
890d8bd8
L
348562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34857
34858 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
34859 8-byte data alignment with LP_SIZE alignment.
34860
f6ee6623
L
348612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34862
34863 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
34864 into R10_LP.
34865
ea2626f6
L
348662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34867
34868 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
34869
085f715e
L
348702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34871
34872 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
34873 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
34874 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
34875 Likewise.
34876 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34877
be8498fc
L
348782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34879
34880 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
34881 (stackinfo_sub_sp): Likewise.
34882
70bc83b9
L
348832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34884
34885 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
34886 RAX_LP.
34887
9bc0b730
L
348882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34889
34890 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
34891 into R*_LP.
34892
6d2850e7
L
348932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34894
34895 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
34896 sizes into R*_LP.
34897
3cb84561
L
348982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34899
34900 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
34901
54e2ed81
L
349022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34903
34904 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
34905 into R11_LP and load __x86_64_shared_cache_size_half into
34906 R8_LP.
34907
8a17f349
L
349082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34909
34910 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
34911 R8_LP.
34912
777b1eea
AZ
349132012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34914
34915 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
34916 logb for POWER7.
34917 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
34918 logbf for POWER7.
34919 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
34920 logbl for POWER7.
34921 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
34922 powerpc32/power7/fpu/s_logb.c via #include.
34923 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
34924 powerpc32/power7/fpu/s_logbf.c via #include.
34925 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
34926 powerpc32/power7/fpu/s_logbl.c via #include.
34927
d20d4ac2
JM
349282012-05-15 Joseph Myers <joseph@codesourcery.com>
34929
34930 * README.libm: Remove file.
34931
6cdef1ab
L
349322012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34933
34934 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
34935 count for x32. Use R*_LP and omit operand-size suffix.
34936
0b254d8f
L
349372012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34938
34939 * shlib-versions: Move x86_64-.*-linux.* entries to ...
34940 * sysdeps/x86_64/64/shlib-versions: Here. New file.
34941 * sysdeps/x86_64/x32/shlib-versions: New file.
34942
ceb809dc
RM
349432012-05-14 Roland McGrath <roland@hack.frob.com>
34944
34945 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
34946 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
34947 Use _dl_fatal_printf instead.
34948
37f1abd4
JM
349492012-05-14 Joseph Myers <joseph@codesourcery.com>
34950
34951 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
34952 set if not set by the user. Do not allow for being unset.
34953 * sysdeps/unix/sysv/linux/configure: Regenerated.
34954
11de3a33
L
349552012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34956
34957 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
34958 the `q' suffix from lea and replace .quad with ASM_ADDR.
34959
e02f153a
L
349602012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34961
34962 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
34963 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
34964 instead of $17.
34965 (PTR_DEMANGLE): Likewise.
34966
520ae0fd
L
349672012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34968
34969 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
34970 (LP_OP): Likewise.
34971 (ASM_ADDR): Likewise.
34972 (RAX_LP): Likewise.
34973 (RBP_LP): Likewise.
34974 (RBX_LP): Likewise.
34975 (RCX_LP): Likewise.
34976 (RDI_LP): Likewise.
34977 (RSI_LP): Likewise.
34978 (RSP_LP): Likewise.
34979 (R8_LP): Likewise.
34980 (R9_LP): Likewise.
34981 (R10_LP): Likewise.
34982 (R10_LP): Likewise.
34983 (R11_LP): Likewise.
34984 (R12_LP): Likewise.
34985 (R13_LP): Likewise.
34986 (R14_LP): Likewise.
34987 (R15_LP): Likewise.
34988
b985be81
L
349892012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34990
34991 * sysdeps/x86_64/x32/dl-machine.h: New file.
34992
6a4888ff
AJ
349932012-05-14 Andreas Jaeger <aj@suse.de>
34994
34995 * manual/Makefile (subdir): Remove export of subdir.
34996 (all): Remove target.
34997 (.PHONY): Remove all from list.
34998 (mkinstalldirs): Remove.
34999 (.PHONY): Remove installdirs from list.
35000 ($(inst_infodir)/libc.info): Use make-target-directory.
35001 (installdirs): Remove.
35002 (subdir_%): Remove.
35003 (glibc-targets): Remove.
35004 (lib): Remove.
35005 (stubs): Remove.
35006 ($(objpfx)stubs ../po/manual.pot): Remove.
35007 ($(objpfx)stamp%): Remove.
35008 (make-target-directory): Remove.
35009 (subdir_install): Remove.
35010 (routines): Remove.
35011 (aux): Remove.
35012 (sources): Remove.
35013 (objects): Remove.
35014 (headers): Remove.
35015
35016 [BZ #13750]
35017 * manual/.gitignore: Remove, it's not needed anymore.
35018 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
35019 all files in it.
35020 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
35021 directory.
35022 (texis): Renamed to $(objpfx)texis.
35023 (texis-path): New, contains path to generated files.
35024 (chapters.%): Use texis-path for complete path, add extra argument
35025 libc-texinfo.sh.
35026 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
35027 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
35028 (summary,texi, stamp-summary): Use complete path of
35029 files. Generate files in build dir.
35030 (dir-add.texi): Build in build dir.
35031 (libm-err.texi,stamp-libm-err): Likewise.
35032 (version.texi, stamp-version): Likewise.
35033 (.%c.texi): Likewise.
35034 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
35035 (mostlyclean): Remove target.
35036 (realclean): Remove target.
35037 (generated): Add new variable with contents from mostlyclean and
35038 realclean, remove entries duplicated in common-mostlyclean, add
35039 stamp-libm-err and stamp-version.
35040 (generated-dirs): Add libc directory.
35041 ($(inst_infodir)/libc.info): Install files from build dir.
35042
35043 * manual/install.texi (Configuring and compiling): Adjust since
35044 the info files are not part of the tar ball anymore.
35045
7ac77294
AJ
350462012-05-14 Andreas Jaeger <aj@suse.de>
35047
35048 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
35049 variable.
35050
ffb7875d
JM
350512012-05-14 Joseph Myers <joseph@codesourcery.com>
35052
35053 [BZ #13717]
35054 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35055 to 2.2.0 where earlier.
35056 * sysdeps/unix/sysv/linux/configure: Regenerated.
35057 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
35058 Remove conditional code.
35059 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
35060 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
35061 Remove conditional code.
35062 [!__NR_lchown]: Likewise.
35063 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35064 [__NR_lchown]: Likewise.
35065 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
35066 comment referencing __ASSUME_LCHOWN_SYSCALL.
35067 * sysdeps/unix/sysv/linux/i386/sigaction.c
35068 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35069 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35070 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
35071 Remove conditional code.
35072 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
35073 (__protocol_available): Remove #if 0 code.
35074 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
35075 conditional code.
35076 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
35077 * sysdeps/unix/sysv/linux/kernel-features.h
35078 (__ASSUME_GETCWD_SYSCALL): Don't define.
35079 (__ASSUME_REALTIME_SIGNALS): Likewise.
35080 (__ASSUME_PREAD_SYSCALL): Likewise.
35081 (__ASSUME_PWRITE_SYSCALL): Likewise.
35082 (__ASSUME_POLL_SYSCALL): Likewise.
35083 (__ASSUME_LCHOWN_SYSCALL): Likewise.
35084 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
35085 non-SPARC.
35086 (__ASSUME_SIOCGIFNAME): Don't define.
35087 (__ASSUME_MSG_NOSIGNAL): Likewise.
35088 (__ASSUME_SENDFILE): Define unconditionally.
35089 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
35090 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
35091 conditional code.
35092 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
35093 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
35094 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35095 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35096 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
35097 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35098 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
35100 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35101 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35103 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35104 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
35106 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35107 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35109 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35110 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
35112 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35113 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
35115 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35116 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
35118 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35119 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
35121 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35122 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35123 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
35124 Remove conditional code.
35125 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35126 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35127 Remove conditional code.
35128 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35129 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
35130 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
35131 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35132 Remove conditional code.
35133 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35134 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
35135 Remove conditional code.
35136 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35137 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
35138 Remove conditional code.
35139 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35140 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35141 Remove conditional code.
35142 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35143 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35144 Remove conditional code.
35145 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35146 * sysdeps/unix/sysv/linux/sh/pwrite64.c
35147 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35148 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35149 * sysdeps/unix/sysv/linux/sigaction.c
35150 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35151 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35152 * sysdeps/unix/sysv/linux/sigpending.c
35153 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35154 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35155 * sysdeps/unix/sysv/linux/sigprocmask.c
35156 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35157 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35158 * sysdeps/unix/sysv/linux/sigsuspend.c
35159 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35160 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35161 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35162 (__libc_missing_rt_sigs): Remove.
35163 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
35164 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
35165 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
35166 Remove conditional code.
35167 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
35168 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
35169 return 1.
35170 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
35171 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
35172 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
35173 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
35174
1bfb7291
AJ
351752012-05-14 Andreas Jaeger <aj@suse.de>
35176
caae5a81
AJ
35177 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
35178 it's not used in glibc.
35179 (__coshm1): Likewise.
35180 (__acosh1p): Likewise.
35181 (__sgn): Likewise.
35182
1bfb7291
AJ
35183 * manual/string.texi (Copying and Concatenation): Add missing
35184 variable in concat example.
35185 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35186
c044d724
L
351872012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35188
144c5467 35189 [BZ #14103]
c044d724
L
35190 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
35191 __builtin_clzl with __builtin_clzll.
35192
2523c62b
L
351932012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35194
35195 [BZ #14104]
35196 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
35197 libc_freeres_ptr.
35198
d7bb4c42
LD
351992012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35200
35201 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
35202 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
35203 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
35204 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
35205
9dc4e1fb
MF
352062012-05-14 Mike Frysinger <vapier@gentoo.org>
35207
35208 * NEWS: Update ia64 info.
35209
c7df0112
AS
352102012-05-12 Andreas Schwab <schwab@linux-m68k.org>
35211
35212 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
35213 used as bcopy.
35214
dc70356c
TS
352152012-05-12 Thomas Schwinge <thomas@codesourcery.com>
35216
35217 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
35218 * sysdeps/unix/syscalls.list (dup3): Likewise.
35219 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
35220 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
35221
9fb1a21f
L
352222012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35223
35224 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
35225 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
35226
4822a2a5
L
352272012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35228
35229 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
35230 thread pointer.
35231 (TLS_IE): Use mov/add instead of movq/addq to load thread
35232 pointer.
35233 (TLS_GD_PREFIX): New.
35234 (TLS_GD): Use it.
35235
842b81d6
DM
352362012-05-11 David S. Miller <davem@davemloft.net>
35237
35238 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
35239 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
35240 (_FPU_SETCW): Likewise.
35241
1cf463cd
L
352422012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35243
35244 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
35245 is 32-byte aligned.
35246
60cc4a18
AS
352472012-05-11 Andreas Schwab <schwab@linux-m68k.org>
35248
35249 [BZ #11837]
35250 * iconvdata/gb18030.c: Update tables.
35251 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
35252 characters specially.
35253 (BODY for TO_LOOP): Add encoding of missing ranges.
35254
febb44a4
TS
352552012-05-11 Thomas Schwinge <thomas@codesourcery.com>
35256
35257 [BZ #13673]
35258 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
35259 * sysdeps/mach/hurd/dup3.c: Likewise.
35260 * sysdeps/mach/hurd/readlinkat.c: Likewise.
35261 * sysdeps/powerpc/memmove.c:: Likewise.
35262
0a10fb9e
L
352632012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35264
35265 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
35266 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
35267
df8a552f
L
352682012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35269
35270 * elf/elf.h (R_X86_64_RELATIVE64): New.
35271 (R_X86_64_NUM): Updated.
35272 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35273 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
35274 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
35275 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
35276 tst-quad1pie tst-quad2pie
35277 (modules-names): Add tst-quadmod1 tst-quadmod2.
35278 ($(objpfx)tst-quad1): New dependency.
35279 ($(objpfx)tst-quad2): Likewise.
35280 ($(objpfx)tst-quad1pie): Likewise.
35281 ($(objpfx)tst-quad2pie): Likewise.
35282 * sysdeps/x86_64/tst-quad1.c: New file.
35283 * sysdeps/x86_64/tst-quad1pie.c: New file.
35284 * sysdeps/x86_64/tst-quad2.c: Likewise.
35285 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
35286 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
35287 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
35288 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
35289 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
35290
f34d6f84
ST
352912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35292
f42d41d1
ST
35293 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
35294 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
35295 * streams/stropts.h (t_scalar_t): Define type.
35296
3c3571fc
ST
35297 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
35298 (_PATH_PRESERVE): Set to "/var/lib".
35299 (_PATH_RWHODIR): Set to "/var/spool/rwho".
35300
61f06bd3
ST
35301 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
35302 instead of int.
35303
918d4d71
ST
35304 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
35305 if __dir_mkfile succeeded.
35306
f34d6f84
ST
35307 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
35308 checking for _hurd_dtablesize. Unlock it right after having
35309 finished _hurd_dtable allocation.
35310
10589b4a
TS
353112012-05-10 Thomas Schwinge <thomas@schwinge.name>
35312
674cdbc7
TS
35313 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
35314 * sysdeps/mach/hurd/configure: Regenerated.
35315 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
35316 special-casing to...
35317 * sysdeps/gnu/configure.in: ... this new file.
35318 * sysdeps/unix/sysv/linux/configure: Regenerated.
35319 * sysdeps/gnu/configure: New generated file.
35320
8e41b99f
TS
35321 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
35322 for Linux: use nsec instead of usec, as well as:
35323 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
35324 members of type struct timespec.
35325 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
35326 New macros.
35327 (struct stat64): Likewise.
35328 (_STATBUF_ST_NSEC): New macro.
35329 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
35330
10589b4a
TS
35331 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35332 __strtoul_internal rather than strtoul.
35333
63643c85
PT
353342012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35335
35336 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
35337 and reject them.
35338
3faebe6a
ST
353392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35340
35341 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
35342 which preserves existing values.
35343 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
35344
c6474b07
PT
353452012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35346
35347 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
35348 TIMEOUT values. Return EINVAL for NFDS values either negative or
35349 greater than FD_SETSIZE.
35350
1043890b
ST
353512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35352
35353 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
35354 allocated, call __vm_protect to finish enabling the existing space, and
35355 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
35356 allocate the remainder.
35357
37ed8b9b
PT
353582012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35359
35360 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
35361 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
35362
db653660
ST
353632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35364
37ed8b9b
PT
35365 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
35366 sysdeps/mach/hurd/readlink.c.
b29d4053 35367
db653660
ST
35368 * posix/tst-sysconf.c (posix_options): Only use
35369 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
35370 _POSIX_SYNCHRONIZED_IO when they are defined
35371 * sysdeps/mach/hurd/bits/posix_opt.h:
35372 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
35373 (_XOPEN_REALTIME): Undefine macro.
35374 (_XOPEN_REALTIME_THREADS): Undefine macro.
35375 (_XOPEN_SHM): Undefine macro.
35376 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
35377 macro to -1.
35378 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
35379 macro to -1.
35380 (_POSIX_ASYNC_IO): Undefine macro.
35381 (_POSIX_PRIORITIZED_IO): Undefine macro.
35382 (_POSIX_SPIN_LOCKS): Define macro to -1.
35383
ee16e894
ST
35384 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
35385 SA_NODEFER, SA_RESETHAND.
35386 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
35387 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
35388 F_DUPFD_CLOEXEC.
35389
6103ae3b
TS
353902012-05-10 Thomas Schwinge <thomas@schwinge.name>
35391
35392 * elf/Makefile (pldd-modules): Define unconditionally.
35393
80b4e5f3
TS
353942012-05-10 Thomas Schwinge <thomas@schwinge.name>
35395
35396 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
35397
edadcbd6
ST
353982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35399
35400 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
35401 Return ENOENT when name is empty.
35402 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
35403
80694780
TS
354042012-05-10 Thomas Schwinge <thomas@schwinge.name>
35405
1792c087
TS
35406 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
35407
80694780
TS
35408 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
35409
6b645f0d
ST
354102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35411
80694780
TS
35412 Fix mlock in all cases except non-readable pages.
35413 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
35414 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 35415
6b645f0d
ST
35416 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
35417 (__mkdir): When path is `/', just fail with EEXIST.
35418 * sysdeps/mach/hurd/mkdirat.c: Likewise.
35419
e468f8a3
TS
354202012-05-10 Thomas Schwinge <thomas@schwinge.name>
35421
35422 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
35423 <sys/uio.h> (for writev).
35424 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
35425 and <sys/param.h> (for MIN).
35426
a4186cff
PT
354272012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35428
35429 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
35430 REQUESTED_TIME. Properly set the remaining time and return EINTR
35431 if interrupted.
35432
510bbf14
TS
354332012-05-10 Thomas Schwinge <thomas@schwinge.name>
35434
35435 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
35436 Depend on against $(link-rpcuserlibs).
35437
5d5722e8
ST
354382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35439
a4186cff
PT
35440 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
35441 (__libc_stack_end): Do not use attribute_relro.
35442 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
35443 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 35444 to libthread-provided value.
a4186cff
PT
35445 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
35446 attribute_relro.
5d5722e8 35447
37233df9
TS
354482012-05-10 Thomas Schwinge <thomas@schwinge.name>
35449
be971a2b
TS
35450 [BZ #3748]
35451 * bits/libc-lock.h (__libc_once_get): New macro.
35452 * sysdeps/mach/bits/libc-lock.h: Likewise.
35453 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
35454 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
35455 instead of using implementation details.
35456
37233df9
TS
35457 * libio/fileops.c: Unconditionally include <kernel-features.h>.
35458 * libio/freopen.c: Likewise.
35459 * libio/freopen64.c: Likewise.
35460 * misc/syslog.c: Likewise.
35461 * nscd/connections.c: Likewise.
35462 * nscd/netgroupcache.c: Likewise.
35463 * sysdeps/posix/getcwd.c: Likewise.
35464
38de94a5
RM
354652012-05-10 Roland McGrath <roland@hack.frob.com>
35466
35467 * math/w_ilogbf.c: Add #include <limits.h>.
35468
67530489
ST
354692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35470
a4186cff 35471 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
35472 path instead of returning without unlocking.
35473
67530489
ST
35474 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
35475 immediate-write ioctls.
35476 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
35477
5aa3a74a
TS
354782012-05-10 Thomas Schwinge <thomas@schwinge.name>
35479
18bad2ae
TS
35480 * sysdeps/mach/hurd/i386/init-first.c (init): Use
35481 __builtin_frame_address instead of making assumptions about the
35482 location of the return address relative to DATA. Force early load of
35483 the return address.
35484 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
35485 __builtin_frame_address.
35486
5aa3a74a
TS
35487 dup3 for GNU Hurd.
35488 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
35489 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
35490 implement dup3 and do some further code clean-ups.
35491 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
35492 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
35493
ecd0de9a
ST
354942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35495
cd9fa985
ST
35496 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
35497
a4186cff
PT
35498 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
35499 HURD_CRITICAL_END around holding _hurd_dtable_lock.
35500 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
35501 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
35502 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
35503 d->port.lock.
802ca5a5 35504
a4186cff
PT
35505 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
35506 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
35507 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 35508
bcf55240
TS
355092012-05-10 Thomas Schwinge <thomas@schwinge.name>
35510
6960eb42
TS
35511 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
35512 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
35513 definitions.
35514
eb43375f
TS
35515 accept4 for GNU Hurd.
35516 * include/sys/socket.h (__libc_accept4): New prototype.
35517 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
35518 to implement __libc_accept4.
35519 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
35520 __libc_accept4.
35521 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
35522
bcf55240
TS
35523 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
35524 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
35525 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
35526 signal-defines.sym.
35527
6178c55b
ST
355282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35529
a4186cff 35530 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 35531
6f080c2f
TS
355322012-05-10 Thomas Schwinge <thomas@schwinge.name>
35533
35534 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
35535 assertion on O_CLOEXEC flag.
35536 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
35537 * hurd/intern-fd.c: Likewise.
35538 * hurd/port2fd.c: Likewise.
35539
bcfe3a54
ST
355402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35541
35542 [BZ #3906]
35543 * bits/in.h (IPV6_PKTINFO): Define new macro.
35544 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
35545
89c9aa49
AZ
355462012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35547
35548 [BZ #13954]
35549 [BZ #13955]
35550 [BZ #13956]
35551 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
35552 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35553 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
35554 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35555 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35556 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
35557 * math/libm-test.inc (logb_test) : Additional logb tests.
35558
021db4be
AJ
355592012-05-09 Andreas Schwab <schwab@linux-m68k.org>
35560 Andreas Jaeger <aj@suse.de>
35561
35562 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
35563 * configure: Regenerated.
35564 * config.h.in (LINK_OBSOLETE_RPC): New macro.
35565 * config.make.in (link-obsolete-rpc): New substituted variable.
35566 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
35567 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
35568 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35569 (shared-only-routines): Don't set it under [link-obsolete-rpc],
35570 so that libc.a contains the symbols.
35571 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35572 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
35573 * sunrpc/auth_none.c: Likewise.
35574 * sunrpc/auth_unix.c: Likewise.
35575 * sunrpc/authdes_prot.c: Likewise.
35576 * sunrpc/authuxprot.c: Likewise.
35577 * sunrpc/clnt_gen.c: Likewise.
35578 * sunrpc/clnt_perr.c: Likewise.
35579 * sunrpc/clnt_raw.c: Likewise.
35580 * sunrpc/clnt_simp.c: Likewise.
35581 * sunrpc/clnt_tcp.c: Likewise.
35582 * sunrpc/clnt_udp.c: Likewise.
35583 * sunrpc/clnt_unix.c: Likewise.
35584 * sunrpc/des_crypt.c: Likewise.
35585 * sunrpc/des_soft.c: Likewise.
35586 * sunrpc/get_myaddr.c: Likewise.
35587 * sunrpc/key_call.c: Likewise.
35588 * sunrpc/key_prot.c: Likewise.
35589 * sunrpc/netname.c: Likewise.
35590 * sunrpc/pm_getmaps.c: Likewise.
35591 * sunrpc/pm_getport.c: Likewise.
35592 * sunrpc/pmap_clnt.c: Likewise.
35593 * sunrpc/pmap_prot.c: Likewise.
35594 * sunrpc/pmap_prot2.c: Likewise.
35595 * sunrpc/pmap_rmt.c: Likewise.
35596 * sunrpc/publickey.c: Likewise.
35597 * sunrpc/rpc_cmsg.c: Likewise.
35598 * sunrpc/rpc_common.c: Likewise.
35599 * sunrpc/rpc_dtable.c: Likewise.
35600 * sunrpc/rpc_prot.c: Likewise.
35601 * sunrpc/rpc_thread.c: Likewise.
35602 * sunrpc/rtime.c: Likewise.
35603 * sunrpc/svc.c: Likewise.
35604 * sunrpc/svc_auth.c: Likewise.
35605 * sunrpc/svc_raw.c: Likewise.
35606 * sunrpc/svc_run.c: Likewise.
35607 * sunrpc/svc_tcp.c: Likewise.
35608 * sunrpc/svc_udp.c: Likewise.
35609 * sunrpc/svc_unix.c: Likewise.
35610 * sunrpc/svcauth_des.c: Likewise.
35611 * sunrpc/xcrypt.c: Likewise.
35612 * sunrpc/xdr.c: Likewise.
35613 * sunrpc/xdr_array.c: Likewise.
35614 * sunrpc/xdr_float.c: Likewise.
35615 * sunrpc/xdr_intXX_t.c: Likewise.
35616 * sunrpc/xdr_mem.c: Likewise.
35617 * sunrpc/xdr_rec.c: Likewise.
35618 * sunrpc/xdr_ref.c: Likewise.
35619 * sunrpc/xdr_sizeof.c: Likewise.
35620 * sunrpc/xdr_stdio.c: Likewise.
35621
b5c086a2
RM
356222012-05-10 Roland McGrath <roland@hack.frob.com>
35623
35624 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
35625 change. Update copyright years.
35626
6d74dd09
JM
356272012-05-10 Joseph Myers <joseph@codesourcery.com>
35628
35629 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
35630
28e72501
MK
356312012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
35632 Joseph Myers <joseph@codesourcery.com>
35633 Paul Pluzhnikov <ppluzhnikov@google.com>
35634
35635 [BZ #14012]
35636 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
35637 requiring rpcgen.
35638 [cross-compiling] (extra-libs): Likewise.
35639 [cross-compiling] (extra-libs-others): Likewise.
35640 [cross-compiling] (librpcsvc-routines): Likewise.
35641 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
35642 [cross-compiling] (omit-deps): Likewise.
35643 (sunrpc-CPPFLAGS): New variable.
35644 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
35645 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
35646 (cross-rpcgen-objs): New variable.
35647 (extra-objs): Append $(cross-rpcgen-objs).
35648 ($(cross-rpcgen-objs)): New rule.
35649 ($(objpfx)cross-rpcgen): Likewise.
35650 (rpcgen-cmd): Define to use $(built-program-file). Expand
35651 comment.
35652 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
35653 ($(objpfx)x%.stmp): Likewise.
35654 * sunrpc/proto.h [IS_IN_build] (_): Define.
35655 [IS_IN_build] (_libc_intl_domainname): Likewise.
35656
c8c59454
L
356572012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35658
35659 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
35660 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
35661 and R_X86_64_TPOFF64.
35662
6f27cd16
JM
356632012-05-10 Joseph Myers <joseph@codesourcery.com>
35664
35665 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
35666 sysdeps/unix/sysv/syscalls.list.
35667 (stime): Likewise.
35668 (utime): Likewise.
35669 * sysdeps/unix/sysv/syscalls.list: Remove file.
35670
02467e1c
PE
356712012-05-10 Paul Eggert <eggert@cs.ucla.edu>
35672
35673 [BZ #3440]
35674 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
35675 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
35676 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
35677 (__LC_IDENTIFICATION): Make these macros useful in #if
35678 expressions, as required by C99.
35679
da392631
AS
356802012-05-10 Andreas Schwab <schwab@linux-m68k.org>
35681
35682 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
35683 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
35684 after this.
35685
8115f29b
L
356862012-05-09 H.J. Lu <hongjiu.lu@intel.com>
35687
35688 * stdlib/longlong.h: Updated from GCC.
35689
bdd74070
AJ
356902012-05-09 Andreas Jaeger <aj@suse.de>
35691
edfe0dbe
AJ
35692 * nscd/nscd.c (run_modes): Make named enum, reorder so that
35693 default is first entry.
35694 (run_mode): Set type.
35695 (main): Remove informal message about syslog.
35696 (options): Fix typo.
35697
bcfe3a54
ST
35698 [BZ #14053]
35699 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 35700 to asm.
bcfe3a54
ST
35701 (lrint): Likewise.
35702 (llrintf): Likewise.
35703 (llrint): Likewise.
35704 (rint): Likewise.
35705 (rintf): Likewise.
35706 (nearbyint): Likewise.
35707 (nearbyintf): Likewise.
bdd74070 35708
91d8d69e
AJ
357092012-05-09 Andreas Jaeger <aj@suse.de>
35710 Pedro Alves <palves@redhat.com>
35711
35712 * nscd/nscd.c (run_mode): Use enum.
35713 (main): Cleanup coding style issue.
35714
bb90b80b
AJ
357152012-05-09 Alexandre Oliva <aoliva@redhat.com>
35716 Andreas Jaeger <aj@suse.de>
35717
bcfe3a54
ST
35718 * nscd/nscd.c (go_background): Replaced with...
35719 (run_mode): ... this.
bb90b80b 35720 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
35721 (options): Add -F --foreground.
35722 (main): Implement it.
35723 (parse_opt): Parse it.
bb90b80b 35724
1a4b75a1
AJ
357252012-05-09 Andreas Jaeger <aj@suse.de>
35726
35727 [BZ #14083]
35728 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
35729 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
35730 -Wconversion warning.
35731 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
35732 Likewise.
35733
b1cc2472
JM
357342012-05-09 Joseph Myers <joseph@codesourcery.com>
35735
35736 * conform/data/locale.h-data (NULL): Use macro-constant. Require
35737 == 0.
35738 (LC_ALL): Use macro-int-constant.
35739 (LC_COLLATE): Likewise.
35740 (LC_CTYPE): Likewise.
35741 (LC_MESSAGES): Likewise.
35742 (LC_MONETARY): Likewise.
35743 (LC_NUMERIC): Likewise.
35744 (LC_TIME): Likewise.
35745 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
35746 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35747 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35748 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
35749 Specify type.
35750 [C99-based standards] (float_t): Expect type.
35751 [C99-based standards] (double_t): Expect type.
35752 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
35753 type.
35754 [C99-based standards] (HUGE_VALL): Likewise.
35755 [C99-based standards] (INFINITY): Likewise.
35756 [C99-based standards] (NAN): Likewise.
35757 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
35758 [C99-based standards] (FP_NAN): Likewise.
35759 [C99-based standards] (FP_NORMAL): Likewise.
35760 [C99-based standards] (FP_SUBNORMAL): Likewise.
35761 [C99-based standards] (FP_ZERO): Likewise.
35762 [C99-based standards] (FP_FAST_FMA): Use
35763 optional-macro-int-constant. Specify type. Require == 1.
35764 [C99-based standards] (FP_FAST_FMAF): Likewise.
35765 [C99-based standards] (FP_FAST_FMAL): Likewise.
35766 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
35767 [C99-based standards] (FP_ILOGBNAN): Likewise.
35768 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
35769 Specify type.
35770 [C99-based standards] (MATH_ERREXCEPT): Likewise.
35771 [C99-based standards] (math_errhandling): Specify type.
35772 [ISO99 || ISO11] (signgam): Do not allow.
35773 [non-C99-based standards] (copysignf): Do not allow.
35774 [non-C99-based standards] (exp2f): Likewise.
35775 [non-C99-based standards] (log2f): Likewise.
35776 [non-C99-based standards] (modff): Allow.
35777 [non-C99-based standards] (erff): Do not allow.
35778 [non-C99-based standards] (erfcf): Likewise.
35779 [non-C99-based standards] (gammaf): Likewise.
35780 [non-C99-based standards] (hypotf): Likewise.
35781 [non-C99-based standards] (j0f): Likewise.
35782 [non-C99-based standards] (j1f): Likewise.
35783 [non-C99-based standards] (jnf): Likewise.
35784 [non-C99-based standards] (lgammaf): Likewise.
35785 [non-C99-based standards] (tgammaf): Likewise.
35786 [non-C99-based standards] (y0f): Likewise.
35787 [non-C99-based standards] (y1f): Likewise.
35788 [non-C99-based standards] (ynf): Likewise.
35789 [non-C99-based standards] (isnanf): Likewise.
35790 [non-C99-based standards] (acoshf): Likewise.
35791 [non-C99-based standards] (asinhf): Likewise.
35792 [non-C99-based standards] (atanhf): Likewise.
35793 [non-C99-based standards] (cbrtf): Likewise.
35794 [non-C99-based standards] (expm1f): Likewise.
35795 [non-C99-based standards] (ilogbf): Likewise.
35796 [non-C99-based standards] (log1pf): Likewise.
35797 [non-C99-based standards] (logbf): Likewise.
35798 [non-C99-based standards] (nextafterf): Likewise.
35799 [non-C99-based standards] (remainderf): Likewise.
35800 [non-C99-based standards] (rintf): Likewise.
35801 [non-C99-based standards] (scalbf): Likewise.
35802 [non-C99-based standards] (copysignl): Likewise.
35803 [non-C99-based standards] (exp2l): Likewise.
35804 [non-C99-based standards] (log2l): Likewise.
35805 [non-C99-based standards] (modfl): Allow.
35806 [non-C99-based standards] (erfl): Do not allow.
35807 [non-C99-based standards] (erfcl): Likewise.
35808 [non-C99-based standards] (gammal): Likewise.
35809 [non-C99-based standards] (hypotl): Likewise.
35810 [non-C99-based standards] (j0l): Likewise.
35811 [non-C99-based standards] (j1l): Likewise.
35812 [non-C99-based standards] (jnl): Likewise.
35813 [non-C99-based standards] (lgammal): Likewise.
35814 [non-C99-based standards] (tgammal): Likewise.
35815 [non-C99-based standards] (y0l): Likewise.
35816 [non-C99-based standards] (y1l): Likewise.
35817 [non-C99-based standards] (ynl): Likewise.
35818 [non-C99-based standards] (isnanl): Likewise.
35819 [non-C99-based standards] (acoshl): Likewise.
35820 [non-C99-based standards] (asinhl): Likewise.
35821 [non-C99-based standards] (atanhl): Likewise.
35822 [non-C99-based standards] (cbrtl): Likewise.
35823 [non-C99-based standards] (expm1l): Likewise.
35824 [non-C99-based standards] (ilogbl): Likewise.
35825 [non-C99-based standards] (log1pl): Likewise.
35826 [non-C99-based standards] (logbl): Likewise.
35827 [non-C99-based standards] (nextafterl): Likewise.
35828 [non-C99-based standards] (remainderl): Likewise.
35829 [non-C99-based standards] (rintl): Likewise.
35830 [non-C99-based standards] (scalbl): Likewise.
35831 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35832 [non-C99-based standards] (FP_*): Do not allow.
35833 [C99-based standards] (FP_*): Change to
35834 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35835 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35836 allow.
35837 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
35838 (SIG_ERR): Likewise.
35839 [X/Open-based standards] (SIG_HOLD): Likewise.
35840 (SIG_IGN): Likewise.
35841 (SIGABRT): Use macro-int-constant. Specify type. Require
35842 positive value.
35843 (SIGFPE): Likewise.
35844 (SIGILL): Likewise.
35845 (SIGINT): Likewise.
35846 (SIGSEGV): Likewise.
35847 (SIGTER): Likewise.
35848 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
35849 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
35850 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
35851 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
35852 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
35853 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
35854 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
35855 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
35856 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
35857 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
35858 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
35859 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
35860 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
35861 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
35862 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
35863 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
35864 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
35865 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
35866 [X/Open-based standards] (SIGTRAP): Likewise.
35867 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
35868 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
35869 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
35870 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
35871 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35872 allow.
35873
b9f1922d
IW
358742012-05-08 Ian Wienand <ianw@vmware.com>
35875
35876 [BZ #14080]
35877 * time/tzset.c (__tzset_parse_tz): Update default rules for
35878 daylight time changes in the Energy Policy Act of 2005.
35879
1db86e88
AJ
358802012-05-09 Andreas Jaeger <aj@suse.de>
35881
35882 [BZ #13983]
35883 * elf/ldconfig.c (parse_conf): Change string to make clear that
35884 ldconfig only issued a warning if ld.so.conf does not exist.
35885
dee4a4e3
DM
358862012-05-08 David S. Miller <davem@davemloft.net>
35887
ee0db190
DM
35888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
35889 movxtod instead of popping the value on the stack.
35890
dee4a4e3
DM
35891 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35892
6a43ec98
CD
358932012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
35894
35895 * config.h.in: Add HAVE_ARM_PCS_VFP.
35896
05c2c961
RMG
358972012-05-08 Roland Mc Grath <roland@hack.frob.com>
35898
bcfe3a54
ST
35899 [BZ #13979]
35900 * include/features.h: Warn if user requests __FORTIFY_SOURCE
35901 checking but the checks are disabled for any reason.
05c2c961 35902
4b30f61a
L
359032012-05-08 H.J. Lu <hongjiu.lu@intel.com>
35904
35905 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
35906 and ELF64_R_TYPE with ELFW(R_TYPE).
35907
eee2bc67
JM
359082012-05-08 Joseph Myers <joseph@codesourcery.com>
35909
7ea5391a
JM
35910 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
35911 (ulimit): Likewise.
35912
eee2bc67
JM
35913 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
35914 (settimeofday): Likewise.
35915
abb66a67
MF
359162012-05-08 Mike Frysinger <vapier@gentoo.org>
35917
35918 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
35919 a struct th_u2 inside the union, and move tu_block/tu_code into
35920 a new th_u3 union of tu_block/tu_code inside of that. Move
35921 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
35922 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
35923 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
35924 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
35925 (th_stuff): Change to th_u1.tu_stuff.
35926 (th_data): Define.
35927 (th_msg): Change to th_u1.th_u2.tu_data.
35928
7f18b530
DM
359292012-05-07 David S. Miller <davem@davemloft.net>
35930
05760585
DM
35931 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35932
7f18b530
DM
35933 [BZ #14074]
35934 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
35935 (SETUP_PIC_REG): Use it.
35936 (SETUP_PIC_REG_LEAF): Use it.
35937
495fd99f
JM
359382012-05-07 Joseph Myers <joseph@codesourcery.com>
35939
35940 [BZ #13885]
35941 [BZ #13923]
35942 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35943 USE_AS_EXPM1L.
35944 (EXPL_FINITE): Likewise.
35945 (FLDLOG): Likewise.
35946 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35947 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35948 e_expl.S.
35949 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35950 USE_AS_EXPM1L.
35951 (EXPL_FINITE): Likewise.
35952 (FLDLOG): Likewise.
35953 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35954 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35955 e_expl.S.
35956 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
35957 test of -max_value argument for long double.
35958 * sysdeps/i386/fpu/libm-test-ulps: Update.
35959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35960
6693d694
DM
359612012-05-06 David S. Miller <davem@davemloft.net>
35962
35963 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
35964 quad soft-float symbols whose references which are compiler
35965 generated.
35966 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35967
6c23e11c
JM
359682012-05-06 Joseph Myers <joseph@codesourcery.com>
35969
d8b82cad
JM
35970 [BZ #13884]
35971 [BZ #13914]
35972 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35973 USE_AS_EXP10L.
35974 (EXPL_FINITE): Likewise.
35975 (FLDLOG): Likewise.
35976 (c0): Likewise.
35977 (c1): Likewise.
35978 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35979 Adjust comments for base varying.
35980 (__expl_finite): Change alias to EXPL_FINITE.
35981 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
35982 e_expl.S.
35983 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
35984 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
35985 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35986 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
35987 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35988 USE_AS_EXP10L.
35989 (EXPL_FINITE): Likewise.
35990 (FLDLOG): Likewise.
35991 (c0): Likewise.
35992 (c1): Likewise.
35993 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35994 Adjust comments for base varying.
35995 (__expl_finite): Change alias to EXPL_FINITE.
35996 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
35997 tests for bugs.
35998 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35999
6c23e11c
JM
36000 [BZ #14064]
36001 * math/libm-test.inc (check_float_internal): Correct ulp
36002 calculation for subnormal expected results.
36003
29ba805c
AJ
360042012-05-06 Andreas Jaeger <aj@suse.de>
36005
36006 * Makeconfig (+math-flags): New, set to -frounding-math.
36007 (+cflags): Add +math-flags so that all of glibc gets compiled with
36008 it.
36009
36010 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
36011
7b17aeda
JM
360122012-05-05 Joseph Myers <joseph@codesourcery.com>
36013
5779f134
JM
36014 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
36015 Disable one test.
36016
41498f4d
JM
36017 [BZ #13787]
36018 [BZ #13922]
36019 [BZ #14036]
36020 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
36021 (__ieee754_expl): Allow for and saturate large arguments.
36022 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
36023 (u_threshold): Likewise.
36024 (__exp): Call __ieee754_exp before checking for overflow and
36025 underflow.
36026 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
36027 (u_threshold): Likewise.
36028 (__expf): Call __ieee754_expf before checking for overflow and
36029 underflow.
36030 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
36031 (u_threshold): Likewise.
36032 (__expl): Call __ieee754_expl before checking for overflow and
36033 underflow.
36034 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
36035 (__ieee754_expl): Allow for and saturate large arguments.
36036 * math/libm-test.inc (exp_test): Add another test. Do not allow
36037 missing overflow exception on overflow.
36038 (expm1_test): Do not allow missing overflow exception on overflow.
36039
6698b8bf
JM
36040 * sysdeps/i386/fpu/e_expl.c: Move to ...
36041 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
36042 rather than using inline asm.
36043 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
36044 * sysdeps/x86_64/fpu/e_expl.S: Copy from
36045 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
36046
7b17aeda
JM
36047 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
36048 (nice): Likewise.
36049 (poll): Likewise.
36050 (signal): Likewise.
36051 (time): Likewise.
36052 (times): Likewise.
36053
f7c85819
JM
360542012-05-04 Joseph Myers <joseph@codesourcery.com>
36055
36056 * sysdeps/unix/syscalls.list (adjtime): Add entry from
36057 sysdeps/unix/common/syscalls.list.
36058 (fchmod): Likewise.
36059 (fchown): Likewise.
36060 (ftruncate): Likewise.
36061 (getrusage): Likewise.
36062 (gettimeofday): Likewise.
36063 (setpgid): Likewise.
36064 (setregid): Likewise.
36065 (setreuid): Likewise.
36066 (sigaction): Likewise.
36067 (truncate): Likewise.
36068 (vhangup): Likewise.
36069 * sysdeps/unix/common/syscalls.list: Remove file.
36070 * sysdeps/unix/bsd/Implies: Don't include unix/common.
36071 * sysdeps/unix/sysv/linux/Implies: Likewise.
36072
336270d0
L
360732012-05-04 H.J. Lu <hongjiu.lu@intel.com>
36074
36075 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
36076 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
36077 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
36078 Moved to ...
36079 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36080 Here.
36081 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
36082 to ...
36083 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
36084 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
36085 to ...
36086 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
36087 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
36088 to ...
36089 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
36090 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
36091 to ...
36092 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
36093 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
36094 to ...
36095 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
36096 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
36097 to ...
36098 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
36099 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
36100 to ...
36101 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
36102 Here.
36103 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
36104 to ...
36105 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
36106 Here.
36107 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
36108 to ...
36109 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
36110 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
36111 Moved to ...
36112 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
36113 Here.
36114 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
36115 to ...
36116 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
36117
d128e450
JM
361182012-05-04 Joseph Myers <joseph@codesourcery.com>
36119
fa8ee516
JM
36120 * sysdeps/unix/common/bits/dirent.h: Remove file.
36121 * sysdeps/unix/common/bits/fcntl.h: Likewise.
36122
d128e450
JM
36123 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
36124 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
36125 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
36126 * sysdeps/unix/bsd/isatty.c: Likewise.
36127 * sysdeps/unix/bsd/tcdrain.c: Likewise.
36128 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
36129 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
36130
ff8faaf0 361312012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 36132
62881be4 36133 [BZ #13563]
31dc8730
AZ
36134 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
36135 long double comparison inaccuracies.
36136 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
36137 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36138
6fef930c
AS
361392012-05-04 Andreas Schwab <schwab@linux-m68k.org>
36140
36141 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
36142 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
36143
8f203e6c
JM
361442012-05-04 Joseph Myers <joseph@codesourcery.com>
36145
36146 [BZ #14049]
36147 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
36148 nonzero digits before rounding a hex value.
36149 * stdlib/tst-strtod.c (tests): Add another test.
36150
5197d9c2
AK
361512012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36152
36153 * sysdeps/s390/fpu/libm-test-ulps: Update.
36154
f0c1dedf
AJ
361552012-05-03 Andreas Jaeger <aj@suse.de>
36156
36157 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
36158 does not get optimized out.
36159 (malloc_opt_barrier): New.
36160
a65ef2ae 361612012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 36162 Roland McGrath <roland@hack.frob.com>
a65ef2ae 36163
2b942cb7 36164 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 36165 intermediate file deletion.
2b942cb7 36166 (generated): Add .symlist files.
a65ef2ae 36167
54b71e02
JM
361682012-05-03 Joseph Myers <joseph@codesourcery.com>
36169
36170 [BZ #13775]
36171 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
36172 Redirect under this condition.
36173 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36174 [__USE_GNU] (__dprintf_chk): Not under this condition.
36175 [__USE_GNU] (__vdprintf_chk): Likewise.
36176 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
36177 under this condition.
36178 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36179 [__USE_XOPEN2K8] (dprintf): Define under this condition.
36180 [__USE_XOPEN2K8] (vdprintf): Likewise.
36181 [__USE_GNU] (__dprintf_chk): Not under this condition.
36182 [__USE_GNU] (__vdprintf_chk): Likewise.
36183 [__USE_GNU] (dprintf): Likewise.
36184 [__USE_GNU] (vdprintf): Likewise.
36185
d3dfcc41
RM
361862012-05-03 Roland McGrath <roland@hack.frob.com>
36187
36188 * elf/Makefile (common-generated): Set this instead of generated for
36189 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
36190 $(all-built-dso)-derived lists.
36191
7ac30cc5
AJ
361922012-05-03 Andreas Jaeger <aj@suse.de>
36193
0c51e550
AJ
36194 * sysdeps/i386/fpu/libm-test-ulps: Update.
36195
7ac30cc5
AJ
36196 * FAQ: Removed.
36197 * FAQ.in: Likewise.
36198 * scripts/gen-FAQ.pl: Likewise.
36199 * manual/install.texi (Installation): Point to online location of
36200 FAQ.
36201 * Makefile (files-for-dist): Remove FAQ.
36202 (FAQ): Remove.
36203
d4c2917f
AM
362042012-05-02 Allan McRae <allan@archlinux.org>
36205
36206 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
36207 (LDFLAGS-reldepmod5.so): Likewise.
36208 (LDFLAGS-reldep6mod1.so): Likewise.
36209 (LDFLAGS-reldep6mod4.so): Likewise.
36210 (LDFLAGS-reldep8mod3.so): Likewise.
36211 (LDFLAGS-unload4mod1.so): Likewise.
36212 (LDFLAGS-unload4mod2.so): Likewise.
36213 (LDFLAGS-tst-initorder): Likewise.
36214 (LDFLAGS-tst-initordera2.so): Likewise.
36215 (LDFLAGS-tst-initordera3.so): Likewise.
36216 (LDFLAGS-tst-initordera4.so): Likewise.
36217 (LDFLAGS-tst-initorderb2.so): Likewise.
36218 (LDFLAGS-noload): Likewise.
36219 (LDFLAGS-next): Likewise.
36220 (LDFLAGS-order2mod1.so): Likewise.
36221 (LDFLAGS-order2mod2.so): Likewise.
36222 (LDFLAGS-tst-initorder2): Likewise.
36223 (LDFLAGS-tst-initorder2a.so): Likewise.
36224 (LDFLAGS-tst-initorder2b.so): Likewise.
36225 (LDFLAGS-tst-initorder2c.so): Likewise.
36226 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
36227
d77f993f
DM
362282012-05-02 David S. Miller <davem@davemloft.net>
36229
36230 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36231
171a70b4
PP
362322012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
36233
36234 [BZ #14055]
36235 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
36236
0be196ad
AJ
362372012-05-02 Andreas Jaeger <aj@suse.de>
36238
36239 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
36240 since we manipulate rounding mode.
36241 (CPPFLAGS-test-idouble.c): Likewise.
36242 (CPPFLAGS-test-ifloat.c): Likewise.
36243 (CFLAGS-test-ldouble.c): Likewise.
36244 (CFLAGS-test-double.c): Likewise.
36245 (CFLAGS-test-float.c): Likewise.
36246 (CFLAGS-test-misc.c): Likewise.
36247 (CFLAGS-test-test-fenv.c): Likewise.
36248
4f9d04aa
AZ
362492012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36250
2b942cb7
RM
36251 [BZ #2550]
36252 [BZ #2570]
36253 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
36254 comparisons to determine direction to adjust input.
4f9d04aa 36255
82a79e7d
RM
362562012-05-01 Roland McGrath <roland@hack.frob.com>
36257
f5a01ca9
RM
36258 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
36259 output to the target.
36260
90fe4186
RM
36261 * scripts/localplt.awk: New file.
36262 * elf/Makefile ($(objpfx)check-localplt): Target removed.
36263 (check-localplt-CFLAGS): Variable removed.
36264 ($(all-built-dso:=.jmprel)): New static pattern rule.
36265 (generated): Add those targets.
36266 (localplt-built-dso): New variable.
36267 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
36268
36269 * elf/check-localplt.c: File removed.
36270
82397ed6
RM
36271 * scripts/check-execstack.awk: New file.
36272 * elf/Makefile ($(objpfx)check-execstack): Target removed.
36273 (check-execstack-CFLAGS): Variable removed.
36274 ($(objpfx)check-execstack.h): Target removed.
36275 ($(objpfx)execstack-default): New target.
36276 (generated): Add that instead of check-execstack.h.
36277 ($(all-built-dso:=.phdr)): New static pattern rule.
36278 (generated): Add those targets.
36279 * elf/check-execstack.c: File removed.
36280
82a79e7d
RM
36281 * scripts/check-textrel.awk: New file.
36282 * elf/Makefile ($(objpfx)check-textrel): Target removed.
36283 (check-textrel-CFLAGS): Variable removed.
36284 (all-built-dso): Use := to define.o
36285 ($(all-built-dso:=.dyn)): New static pattern rule.
36286 (generated): Add those targets.
36287 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
36288 * config.make.in (READELF): New substituted variable.
36289 * elf/check-textrel.c: File removed.
36290
62fde54f 362912012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 36292
615605c9
JM
36293 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36294 allow.
36295 * conform/data/ctype.h-data [C99-based standards] (isblank):
36296 Expect function.
36297 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
36298 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
36299 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36300 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
36301 Specify type. Require positive value.
36302 (EILSEQ): Likewise.
36303 (ERANGE): Likewise.
36304 [ISO || POSIX] (EILSEQ): Do not expect.
36305 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
36306 Specify type. Require positive value.
36307 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
36308 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
36309 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
36310 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
36311 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
36312 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
36313 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
36314 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
36315 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
36316 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
36317 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
36318 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
36319 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
36320 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
36321 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
36322 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
36323 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
36324 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
36325 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
36326 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
36327 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
36328 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
36329 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
36330 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
36331 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
36332 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
36333 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
36334 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
36335 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
36336 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
36337 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
36338 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
36339 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
36340 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
36341 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
36342 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
36343 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
36344 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
36345 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
36346 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
36347 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
36348 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
36349 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
36350 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
36351 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
36352 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
36353 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
36354 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
36355 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
36356 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
36357 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
36358 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
36359 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
36360 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
36361 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
36362 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
36363 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
36364 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
36365 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
36366 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
36367 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
36368 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
36369 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
36370 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
36371 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
36372 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
36373 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
36374 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
36375 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
36376 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
36377 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
36378 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
36379 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
36380 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
36381 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
36382 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
36383 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
36384 Require >= 2.
36385 (FLT_ROUNDS): Expect as macro, not constant.
36386 (FLT_MANT_DIG): Use macro-int-constant.
36387 (DBL_MANT_DIG): Likewise.
36388 (LDBL_MANT_DIG): Likewise.
36389 (FLT_DIG): Likewise.
36390 (DBL_DIG): Likewise.
36391 (LDBL_DIG): Likewise.
36392 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
36393 (DBL_MIN_EXP): Likewise.
36394 (LDBL_MIN_EXP): Likewise.
36395 (FLT_MAX_EXP): Use macro-int-constant.
36396 (DBL_MAX_EXP): Likewise.
36397 (LDBL_MAX_EXP): Likewise.
36398 (FLT_MAX_10_EXP): Likewise.
36399 (DBL_MAX_10_EXP): Likewise.
36400 (LDBL_MAX_10_EXP): Likewise.
36401 (FLT_MAX): Use macro-constant.
36402 (DBL_MAX): Likewise.
36403 (LDBL_MAX): Likewise.
36404 (FLT_EPSILON): Use macro-constant. Give upper bound.
36405 (DBL_EPSILON): Likewise.
36406 (LDBL_EPSILON): Likewise.
36407 (FLT_MIN): Likewise.
36408 (DBL_MIN): Likewise.
36409 (LDBL_MIN): Likewise.
36410 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
36411 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
36412 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
36413 [ISO11] (FLT_HAS_SUBNORM): Likewise.
36414 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
36415 [ISO11] (DBL_DECIMAL_DIG): Likewise.
36416 [ISO11] (FLT_DECIMAL_DIG): Likewise.
36417 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
36418 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
36419 [ISO11] (FLT_TRUE_MIN): Likewise.
36420 [ISO11] (LDBL_TRUE_MIN): Likewise.
36421 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36422 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
36423 (SCHAR_MIN): Use macro-int-constant. Specify type.
36424 (SCHAR_MAX): Likewise.
36425 (UCHAR_MAX): Likewise.
36426 (CHAR_MIN): Likewise.
36427 (CHAR_MAX): Likewise.
36428 (MB_LEN_MAX): Use macro-int-constant.
36429 (SHRT_MIN): Use macro-int-constant. Specify type.
36430 (SHRT_MAX): Likewise.
36431 (USHRT_MAX): Likewise.
36432 (INT_MAX): Likewise.
36433 (INT_MIN): Use macro-int-constant. Specify type. Make upper
36434 bound negative.
36435 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
36436 bound with "U".
36437 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
36438 bound with "L".
36439 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
36440 bound negative. Suffix upper bound with "L".
36441 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
36442 bound with "UL".
36443 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
36444 Specify type.
36445 [C99-based standards] (LLONG_MAX): Likewise.
36446 [C99-based standards] (ULLONG_MAX): Likewise.
36447 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
36448 == 0.
36449 [ISO11] (max_align_t): Require type.
36450 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36451
c9140a62
JM
36452 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
36453 from $CFLAGS, without defining away __attribute__ calls.
36454 (checknamespace): Use $CFLAGS_namespace.
36455
9af0bf29
JM
36456 * conform/conformtest.pl (@keywords): Only include C99 keywords
36457 for standards based on C99 or C11.
36458
343222a2
JM
36459 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
36460 Disable tests.
36461 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
36462 UNIX98]: Likewise.
36463
661f8cf0
JM
36464 * conform/conformtest.pl: Handle "macro-int-constant" and test for
36465 usability of symbols in #if.
36466
ee74b9cb
JM
36467 * conform/conformtest.pl: If macro or constant types start
36468 "promoted:", expect the symbol to be of the following type
36469 promoted by the integer promotions.
62fde54f 36470
aafc49b3
JM
36471 * conform/conformtest.pl: Parse all "constant" and "macro" lines
36472 in one place. Also handle "macro-constant".
36473
fefdf574
JM
36474 * conform/conformtest.pl: Only accept expected macro values with
36475 "==". Parse all "macro" lines in one place.
36476 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
36477
f2d922fe
JM
36478 * conform/conformtest.pl: Handle braced types on "constant" lines
36479 instead of handling "typed-constant".
36480 * conform/data/signal.h-data: Use "constant" instead of
36481 "typed-constant".
36482
d22956c9
JM
36483 * conform/conformtest.pl: Handle "optional-" at start of lines in
36484 one place rather than duplicating several cases. Handle each
36485 format of "macro" line with initial "optional-".
36486
028e2e38
JM
36487 * conform/conformtest.pl: Only accept expected constant or
36488 optional-constant values with "==". Parse all "constant" lines in
36489 one place. Parse all "optional-constant" lines in one place.
36490 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
36491 * conform/data/fmtmsg.h-data: Likewise.
36492 * conform/data/netinet/in.h-data: Likewise.
36493 * conform/data/tar.h-data: Likewise.
36494 * conform/data/limits.h-data: Use "==" form on "constant" and
36495 "optional-constant" lines.
36496
1b8f2850
JM
36497 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
36498 Use -std=c99 for XOPEN2K.
36499 (@knownproblems): Remove.
36500 (newtoken): Don't check %isknown.
36501
a05a144b
JM
36502 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
36503 Do not expect macro.
36504 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
36505 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
36506 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
36507 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
36508 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
36509 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
36510 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
36511 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
36512 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
36513 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
36514 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
36515 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
36516 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
36517 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
36518 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
36519 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
36520 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
36521 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
36522 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
36523 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
36524 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
36525 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
36526 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
36527 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
36528 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
36529 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
36530 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
36531 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
36532 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
36533 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
36534 [XPG3] (acosh): Likewise.
36535 [XPG3] (asinh): Likewise.
36536 [XPG3] (atanh): Likewise.
36537 [XPG3] (cbrt): Likewise.
36538 [XPG3] (expm1): Likewise.
36539 [XPG3] (ilogb): Likewise.
36540 [XPG3] (log1p): Likewise.
36541 [XPG3] (logb): Likewise.
36542 [XPG3] (nextafter): Likewise.
36543 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
36544 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
36545 [XPG3] (remainder): Likewise.
36546 [XPG3] (rint): Likewise.
36547 [XPG3 || XPG4 || UNIX98] (round): Likewise.
36548 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
36549 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
36550 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
36551 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
36552 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
36553 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
36554 [UNIX98 || XOPEN2K] (scalb): Expect.
36555 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
36556 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
36557 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
36558 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
36559 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
36560 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
36561 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
36562 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
36563 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
36564 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
36565 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
36566 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
36567 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
36568 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
36569 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
36570 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
36571 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
36572 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
36573 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
36574 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
36575 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
36576 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
36577 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
36578 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
36579 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
36580 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
36581 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
36582 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
36583 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
36584 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
36585 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
36586 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
36587 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
36588 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
36589 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
36590 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
36591 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
36592 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
36593 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
36594 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
36595 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
36596 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
36597 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
36598 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
36599 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
36600 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
36601 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
36602 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
36603 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
36604 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
36605 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
36606 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
36607 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
36608 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
36609 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
36610 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
36611 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
36612 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
36613 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
36614 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
36615 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
36616 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
36617 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
36618 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
36619 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
36620 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
36621 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
36622 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
36623 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
36624 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
36625 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
36626 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
36627 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
36628 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
36629 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
36630 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
36631 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
36632 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
36633 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
36634 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
36635 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
36636 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
36637 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
36638 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
36639 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
36640 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
36641 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
36642 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
36643 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
36644 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
36645 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
36646 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
36647 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
36648 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
36649 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
36650 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
36651 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
36652 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
36653 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
36654 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
36655 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
36656 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
36657 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
36658 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
36659 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
36660 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
36661 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
36662 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
36663 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
36664 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
36665 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
36666 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
36667 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
36668 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
36669 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
36670 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
36671 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
36672 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
36673 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
36674 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
36675 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
36676 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
36677 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
36678 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
36679 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
36680 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
36681 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
36682 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
36683 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
36684 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
36685 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
36686 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
36687 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
36688 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
36689 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
36690 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
36691 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
36692
73c5ebe3
JM
36693 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
36694 _XOPEN_SOURCE_EXTENDED for XPG4.
36695
39c33b6c
JM
36696 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
36697
62fde54f
JM
36698 * Makeconfig (localtime): Remove variable.
36699 (inst_localtime-file): Likewise.
36700
0741d64c
AS
367012012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36702
36703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36704 Update.
36705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36706 Update.
36707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36708 Update.
36709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36710 Update.
36711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36712 Update.
36713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
36714 Update.
36715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36716 Update.
36717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
36718 Update.
36719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36720 Update.
36721
7cb029ee
JM
367222012-05-01 Joseph Myers <joseph@codesourcery.com>
36723
36724 [BZ #2550]
36725 [BZ #2570]
36726 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
36727 comparisons to determine direction to adjust input.
36728 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36729 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
36730 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36731 Likewise.
36732 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36733 Likewise.
36734 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36735 Likewise.
36736 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36737 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36738 Likewise.
36739 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36740 Likewise.
36741 * math/libm-test.inc (nexttoward_test): Add more tests.
36742
412bd966
AS
367432012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36744
36745 [BZ #14040]
36746 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
36747 in version GLIBC_2.1, not GLIBC_2.0.
36748 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
36749 Likewise.
36750
9568c0c2
JM
367512012-04-30 Joseph Myers <joseph@codesourcery.com>
36752
adfbc8ac
JM
36753 [BZ #13942]
36754 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
36755 (1 - x) * (1 + x).
36756 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36757 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
36758 * math/libm-test.inc (acos_test): Add more tests.
36759 (asin_test): Likewise.
36760 * sysdeps/i386/fpu/libm-test-ulps: Update.
36761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36762
5ba3cc69
JM
36763 [BZ #14034]
36764 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
36765 of square root.
36766 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
36767 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36768 * math/libm-test.inc (acos_test_tonearest): New function.
36769 (acos_test_towardzero): Likewise.
36770 (acos_test_downward): Likewise.
36771 (acos_test_upward): Likewise.
36772 (asin_test_tonearest): Likewise.
36773 (asin_test_towardzero): Likewise.
36774 (asin_test_downward): Likewise.
36775 (asin_test_upward): Likewise.
36776 (main): Call the new functions.
36777 * sysdeps/i386/fpu/libm-test-ulps: Update.
36778 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36779
9568c0c2
JM
36780 [BZ #13884]
36781 [BZ #13924]
36782 * math/e_exp10.c: Include <float.h>.
36783 (__ieee754_exp10): Handle underflow here rather than multiplying
36784 large negative argument by M_LN10.
36785 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
36786 of __ieee754_expf.
36787 * math/e_exp10l.c: Include <float.h>.
36788 (__ieee754_exp10l): Handle underflow here rather than multiplying
36789 large negative argument by M_LN10l.
36790 * math/libm-test.inc (exp10_test): Add another test. Do not allow
36791 spurious overflow exception on underflow.
36792
5ac3ea17
MP
367932012-04-29 Marek Polacek <polacek@redhat.com>
36794
36795 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
36796 (__fortify_function): New macro.
36797 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
36798 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
36799 __extern_always_inline.
36800 * libio/bits/stdio2.h: Likewise.
36801 * libio/bits/stdio.h: Likewise.
36802 * string/string.h: Likewise.
36803 * string/bits/string3.h: Likewise.
36804 * include/stdio.h: Likewise.
36805 * stdlib/bits/stdlib.h: Likewise.
36806 * stdlib/stdlib.h: Likewise.
36807 * rt/bits/mqueue2.h: Likewise.
36808 * rt/mqueue.h: Likewise.
36809 * posix/bits/unistd.h: Likewise.
36810 * posix/unistd.h: Likewise.
36811 * io/bits/poll2.h: Likewise.
36812 * io/bits/fcntl2.h: Likewise.
36813 * io/fcntl.h: Likewise.
36814 * io/sys/poll.h: Likewise.
36815 * misc/bits/syslog.h: Likewise.
36816 * misc/bits/syslog-ldbl.h: Likewise.
36817 * misc/sys/syslog.h: Likewise.
36818 * socket/bits/socket2.h: Likewise.
36819 * socket/sys/socket.h: Likewise.
36820 * debug/tst-chk1.c: Likewise.
36821 * wcsmbs/bits/wchar2.h: Likewise.
36822 * wcsmbs/bits/wchar-ldbl.h: Likewise.
36823 * wcsmbs/wchar.h: Likewise.
36824
ecf0ebfb
AJ
368252012-04-29 Andreas Jaeger <aj@suse.de>
36826
36827 * Makerules (tests): Remove enable-check-abi protection.
36828 (check-abi-warn): Remove.
36829 (check-abi-%): Remove check-abi-warn usage.
36830
36831 * configure.in: Remove check-abi configure option.
36832 * configure: Regenerated.
36833 * config.make.in (enable-check-abi): Remove.
36834
6d5c57fa
AS
368352012-04-28 Andreas Schwab <schwab@linux-m68k.org>
36836
24c5d07e 36837 [BZ #14033]
ded5180a
AS
36838 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
36839 double functions to double *_finite functions.
36840
7e0d315d
AS
36841 [BZ #13941]
36842 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
36843 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
36844 LDBL_MIN_EXP.
36845 * stdio-common/Makefile (tests): Add tst-sprintf3.
36846 * stdio-common/tst-sprintf3.c: New file.
36847
6d5c57fa
AS
36848 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
36849 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
36850
0749ff8b
JM
368512012-04-28 Joseph Myers <joseph@codesourcery.com>
36852
36853 * conform/conformtest.pl: Remove duplicate typed-constant
36854 handling.
36855
8dbd5d7b
DM
368562012-04-28 David S. Miller <davem@davemloft.net>
36857
36858 * Makerules (%.abilist): Add vpath on sysdep_dirs.
36859 (check-abi-%): Remove AWK script prerequisite and explicit
36860 abilist directory.
36861 (check-abi): Rewrite to just diff the symlist with the abilist.
36862 (config-tls, config-abi-config): Delete, no longer used.
36863 (update-abi-%): Remove AWK script and explicit abilist directory.
36864 (update-abi): Rewrite to simply compare and conditionally copy the
36865 symlist and the sysdep abilist file. Remove update-abi-config
36866 checks.
36867 * abilist/ld.abilist: Remove.
36868 * abilist/libBrokenLocale.abilist: Remove.
36869 * abilist/libanl.abilist: Remove.
36870 * abilist/libcrypt.abilist: Remove.
36871 * abilist/libdl.abilist: Remove.
36872 * abilist/librt.abilist: Remove.
36873 * abilist/libthread_db.abilist: Remove.
36874 * abilist/libutil.abilist: Remove.
36875 * scripts/extract-abilist.awk: Remove.
36876 * scripts/merge-abilist.awk: Remove.
36877 * sysdeps/generic/libcidn.abilist: New file.
36878 * sysdeps/generic/libnss_compat.abilist: New file.
36879 * sysdeps/generic/libnss_db.abilist: New file.
36880 * sysdeps/generic/libnss_dns.abilist: New file.
36881 * sysdeps/generic/libnss_files.abilist: New file.
36882 * sysdeps/generic/libnss_hesiod.abilist: New file.
36883 * sysdeps/generic/libnss_nis.abilist: New file.
36884 * sysdeps/generic/libnss_nisplus.abilist: New file.
36885 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
36886 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
36887 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
36888 file.
36889 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
36890 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
36891 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
36892 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
36893 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
36894 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
36895 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
36896 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
36897 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
36898 file.
36899 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
36900 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
36901 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
36902 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
36903 file.
36904 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
36905 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
36906 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
36907 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
36908 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
36909 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
36910 file.
36911 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
36912 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
36913 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
36914 file.
36915 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
36916 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
36917 New file.
36918 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
36919 New file.
36920 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
36921 New file.
36922 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
36923 New file.
36924 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
36925 New file.
36926 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
36927 New file.
36928 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
36929 New file.
36930 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
36931 New file.
36932 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
36933 New file.
36934 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
36935 New file.
36936 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
36937 New file.
36938 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
36939 New file.
36940 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
36941 New file.
36942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
36943 file.
36944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36945 New file.
36946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36947 New file.
36948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
36949 file.
36950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36951 New file.
36952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36953 New file.
36954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
36955 file.
36956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36957 New file.
36958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36959 New file.
36960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36961 New file.
36962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36963 New file.
36964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36965 New file.
36966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36967 New file.
36968 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
36969 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
36970 file.
36971 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
36972 New file.
36973 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
36974 file.
36975 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
36976 file.
36977 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
36978 file.
36979 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
36980 file.
36981 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
36982 file.
36983 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36984 New file.
36985 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
36986 file.
36987 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
36988 file.
36989 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
36990 New file.
36991 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
36992 file.
36993 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
36994 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
36995 file.
36996 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
36997 New file.
36998 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
36999 file.
37000 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
37001 file.
37002 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
37003 file.
37004 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
37005 file.
37006 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
37007 file.
37008 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37009 New file.
37010 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
37011 file.
37012 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
37013 file.
37014 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37015 New file.
37016 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
37017 file.
37018 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37019 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
37020 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
37021 file.
37022 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
37023 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
37024 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
37025 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
37026 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
37027 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
37028 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
37029 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
37030 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
37031 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
37032 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
37033 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
37034 file.
37035 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
37036 New file.
37037 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
37038 file.
37039 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
37040 file.
37041 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
37042 file.
37043 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
37044 file.
37045 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
37046 file.
37047 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37048 New file.
37049 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
37050 New file.
37051 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
37052 file.
37053 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
37054 New file.
37055 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
37056 file.
37057 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
37058 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
37059 file.
37060 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
37061 New file.
37062 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
37063 file.
37064 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
37065 file.
37066 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
37067 file.
37068 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
37069 file.
37070 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
37071 file.
37072 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37073 New file.
37074 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
37075 New file.
37076 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
37077 file.
37078 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
37079 New file.
37080 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
37081 file.
37082
41d73a1b
JM
370832012-04-28 Joseph Myers <joseph@codesourcery.com>
37084
37085 * conform/conformtest.pl: Fix typo in handling typed-constant from
37086 allow-header.
37087
28aeeda4
JM
370882012-04-27 Joseph Myers <joseph@codesourcery.com>
37089
adae8f5e
JM
37090 * README: Cut down references to pre-2.6 Linux kernels and
37091 Linuxthreads. Update lists of configurations in libc and ports
37092 and sort alphabetically. Say "or newer" with Linux kernel version
37093 requirements.
37094
28aeeda4
JM
37095 * config.h.in [IS_IN_build]: Allow compiling without optimization.
37096
a462cb63
RA
370972012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
37098
37099 [BZ #887]
37100 * math/libm-test.inc (logb_test_downward): New test to expose
37101 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
37102 rounding mode.
37103
6ad3493e
JM
371042012-04-27 Joseph Myers <joseph@codesourcery.com>
37105
37106 [BZ #14027]
37107 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
37108 to be done.
37109 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
37110 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
37111
2ce4f015
JM
371122012-04-26 Joseph Myers <joseph@codesourcery.com>
37113
5aeb141a
JM
37114 * sysdeps/unix/i386/brk.S: Remove file.
37115 * sysdeps/unix/i386/dl-brk.S: Likewise.
37116 * sysdeps/unix/i386/pipe.S: Likewise.
37117 * sysdeps/unix/i386/sigreturn.S: Likewise.
37118 * sysdeps/unix/i386/syscall.S: Likewise.
37119 * sysdeps/unix/i386/vfork.S: Likewise.
37120 * sysdeps/unix/i386/wait.S: Likewise.
37121
7143acae
JM
37122 * sysdeps/unix/common/tcsendbrk.c: Move to ...
37123 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
37124
2ce4f015
JM
37125 * configure.in (arm*-none*): Do not allow without
37126 --enable-hacker-mode.
37127 (netbsd*): Remove case setting base_os.
37128 (386bsd*): Likewise.
37129 (freebsd*): Likewise.
37130 (bsdi*): Likewise.
37131 (osf*): Likewise.
37132 (sunos*): Likewise.
37133 (ultrix*): Likewise.
37134 (newsos*): Likewise.
37135 (dynix*): Likewise.
37136 (*bsd*): Likewise.
37137 (sysv*): Likewise.
37138 (isc*): Likewise.
37139 (esix*): Likewise.
37140 (sco*): Likewise.
37141 (minix*): Likewise.
37142 (irix4*): Likewise.
37143 (irix6*): Likewise.
37144 (solaris[2-9]*): Likewise.
37145 (none): Likewise.
37146 * configure: Regenerated.
37147
0ac229c8
AZ
371482012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37149
37150 [BZ #11521]
37151 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
37152 overflow or cancellation in calculating denominator.
37153 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
37154 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
37155 down expression to avoid unexpected rounding in newer GCCs.
37156 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
37157
33f244f4
DM
371582012-04-26 David S. Miller <davem@davemloft.net>
37159
37160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
37161 long-double compat symbols.
37162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
37166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37167 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
37168 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
37169 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
37170 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
37171 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37172 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
37173 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
37174 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37175
cfa1f3e8
DM
371762012-04-25 David S. Miller <davem@davemloft.net>
37177
37178 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
37179 HWCAP_* values only after the memory barriers have been defined.
37180 (atomic_full_barrier): Define.
37181 (atomic_read_barrier): Define.
37182 (atomic_write_barrier): Define.
37183
6e236b92
SP
371842012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37185
37186 * shlib-versions: Add libgcc_s version information.
37187 * sysdeps/generic/libgcc_s.h: Remove.
37188 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
37189 libgcc_s.h.
37190 * sysdeps/gnu/unwind-resume.c: Likewise.
37191 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
37192
aab39a09
DM
371932012-04-25 David S. Miller <davem@davemloft.net>
37194
37195 * sysdeps/unix/sparc/brk.S: Delete.
37196 * sysdeps/unix/sparc/dl-brk.S: Delete.
37197 * sysdeps/unix/sparc/pipe.S: Delete.
37198 * sysdeps/unix/sparc/sysdep.S: Delete.
37199 * sysdeps/unix/sparc/sysdep.h: Delete.
37200 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
37201 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
37202 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
37203 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
37204 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
37205 (JUMPTARGET): Remove.
37206 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
37207 sysdeps/unix/sparc/sysdep.h
37208 (ENTRY, END): Remove.
37209 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37210
a3cc4f48
JM
372112012-04-25 Joseph Myers <joseph@codesourcery.com>
37212
2ed8cda2
JM
37213 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
37214 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
37215 -DIS_IN_build.
37216
35d76d59
JM
37217 * timezone/README: Update upstream location and email address for
37218 tzcode and tzdata.
37219 * timezone/zdump.c: Update from tzcode 2012b.
37220 * timezone/zic.c: Likewise.
37221
a3cc4f48
JM
37222 * configure.in (libc_cv_as_needed): Remove test.
37223 * configure: Regenerated.
37224 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
37225 conditional definition.
37226 [$(have-as-needed) != yes] (no-as-needed): Likewise.
37227 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
37228 * config.make.in (have-as-needed): Remove variable.
37229
ceab42c3
SP
372302012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37231 Paul Pluzhnikov <ppluzhnikov@google.com>
37232
37233 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
37234 strings correctly.
37235
3ce2865f
CLT
372362012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
37237
37238 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
37239 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
37240 * sysdeps/sh/strlen.S: Likewise.
37241
f37e0d68
JM
372422012-04-24 Joseph Myers <joseph@codesourcery.com>
37243
ae186e9a
JM
37244 * sysdeps/unix/fork.S: Remove file.
37245 * sysdeps/unix/i386/fork.S: Likewise.
37246 * sysdeps/unix/sparc/fork.S: Likewise.
37247
b96914af
JM
37248 * sysdeps/unix/system.c: Remove file.
37249 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
37250
f37e0d68
JM
37251 * sysdeps/unix/getegid.S: Remove file.
37252 * sysdeps/unix/geteuid.S: Likewise.
37253
87ef29ca
RM
372542012-04-24 Roland McGrath <roland@hack.frob.com>
37255
83bcd236
RM
37256 * scripts/check-localplt.awk: New file.
37257 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
37258 of diff.
37259 * scripts/data/localplt-generic.data: Add a comment.
37260
87ef29ca
RM
37261 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
37262 NODE when __dir_mkfile failed.
37263 * sysdeps/mach/hurd/symlinkat.c: Likewise.
37264 Reported by Ludovic Courtès <ludo@gnu.org>.
37265
e5a6e567
AJ
372662012-04-24 Andreas Jaeger <aj@suse.de>
37267
37268 * Makerules (common-clean): Also remove gen-as-const-headers
37269 files.
37270
c1820385
JM
372712012-04-24 Joseph Myers <joseph@codesourcery.com>
37272
37273 * Makerules (native-compile): Do not change working directory for
37274 build. Use $(OUTPUT_OPTION) in command.
37275 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
37276
94e02fc4
AZ
372772012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37278
37279 [BZ #13886]
37280 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
37281 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
37282 * math/libm-test.inc (floor_test): Add more tests.
37283 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
37284
3a533ca3
JM
372852012-04-24 Joseph Myers <joseph@codesourcery.com>
37286
940ab4b3
JM
37287 * sysdeps/unix/getdents.c: Remove file.
37288 * sysdeps/unix/sysv/getdents.c: Likewise.
37289 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
37290
90e037bd
JM
37291 * sysdeps/unix/syscalls.list (madvise): Add syscall from
37292 sysdeps/unix/mman/syscalls.list.
37293 (mmap): Likewise.
37294 (mprotect): Likewise.
37295 (msync): Likewise.
37296 (munmap): Likewise.
37297 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
37298 * sysdeps/unix/mman/syscalls.list: Remove.
37299 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
37300
3a533ca3
JM
37301 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
37302 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
37303 * configure: Regenerated.
37304 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
37305 $(libgcc_s_suffix).
37306 * config.make.in (libgcc_s_suffix): Remove variable.
37307
1ad743de
JM
373082012-04-23 Joseph Myers <joseph@codesourcery.com>
37309
4ad451e2
JM
37310 * sysdeps/unix/sysv/gethostname.c: Move to ...
37311 * sysdeps/posix/gethostname.c: ... here.
37312
5e37ce39
JM
37313 * sysdeps/unix/execve.S: Remove file.
37314
1ad743de
JM
37315 * sysdeps/unix/_exit.S: Remove file.
37316
4e681b5b
AJ
373172012-04-23 Andreas Jaeger <aj@suse.de>
37318
37319 [BZ #13739]
37320 * manual/Makefile: Remove make dist support, there's no
37321 need for a stand-alone documentation tar ball.
37322 (TEXI2DVI): Define always, it's not in Makeconfig.
37323 (dist): Removed.
37324 (tar-it): Removed.
37325 (edition): Removed.
37326 (glibc-doc-$(edition).tar): Removed
37327 (%.Z): Removed.
37328 (%.gz): Removed.
37329 (%.uu): Removed.
37330 (ETAGS): Remove, it's in Makeconfig.
37331 (move-if-change): Remove, it's in Makeconfig.
37332
38686a03 373332012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
37334
37335 [BZ #13970]
37336 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
37337 (strtod, strtof, strtold, strtol, strtoul, strtoq)
37338 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
37339 (strtod_l, strtof_l, strtold_l): Remove __wur.
37340 It is not necessarily an error to ignore strtol's return value.
37341 One can reliably look at the stored endptr to decide whether
37342 the number had valid syntax.
37343
7c0616fa
AJ
373442012-04-21 Andreas Jaeger <aj@suse.de>
37345
803cb6b7 37346 [BZ #13739]
7c0616fa
AJ
37347 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
37348
b0fe253f
JM
373492012-04-21 Joseph Myers <joseph@codesourcery.com>
37350
37351 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
37352 * sysdeps/unix/sysv/Versions: Remove file.
37353
8280f22d
MT
373542012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
37355
37356 [BZ #13927]
37357 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37358
75ce411f 373592012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
37360
37361 [BZ #7064]
37362 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
37363 version from __vm86.
37364
097d59fa
JM
373652012-04-20 Joseph Myers <joseph@codesourcery.com>
37366
a90f3bcb
JM
37367 * sysdeps/unix/common/lxstat.c: Remove file.
37368 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
37369
edc7ea78
JM
37370 * sysdeps/unix/sysv/Makefile: Remove file.
37371
cb78c221
JM
37372 * sysdeps/unix/sysv/direct.h: Remove file.
37373
efa6a45f
JM
37374 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
37375 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
37376 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
37377 * sysdeps/unix/sysv/bits/signum.h: Likewise.
37378 * sysdeps/unix/sysv/bits/stat.h: Likewise.
37379 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
37380 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
37381
9c9f2d0c
JM
37382 * sysdeps/unix/sysv/setrlimit.c: Remove file.
37383
4541c83b
JM
37384 * sysdeps/unix/xmknod.c: Remove file.
37385 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
37386
f5d153a0
JM
37387 * sysdeps/unix/sysv/settimeofday.c: Remove file.
37388
aa746595
JM
37389 * sysdeps/unix/sysv/i386/time.S: Remove file.
37390
cce5905e
JM
37391 * sysdeps/unix/fxstat.c: Remove file.
37392 * sysdeps/unix/xstat.c: Likewise.
37393 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
37394
37fa3841
JM
37395 * sysdeps/unix/sysv/sigaction.c: Remove file.
37396
ff1962a3
JM
37397 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
37398 (sysdep_headers): Remove variable.
37399 [termio.h not in sysdep_headers] (generated): Likewise.
37400 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
37401 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
37402 * sysdeps/unix/sysv/tcdrain.c: Likewise.
37403 * sysdeps/unix/sysv/tcflow.c: Likewise.
37404 * sysdeps/unix/sysv/tcflush.c: Likewise.
37405 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
37406 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
37407 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
37408 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
37409 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
37410
e7740d31
JM
37411 * sysdeps/unix/siglist.c: Remove file.
37412
ee06f18b
JM
37413 * sysdeps/unix/getppid.S: Remove file.
37414
097d59fa
JM
37415 * sysdeps/unix/mkdir.c: Remove file.
37416 * sysdeps/unix/rmdir.c: Likewise.
37417
ff3d51ec
AS
374182012-04-19 Andreas Schwab <schwab@linux-m68k.org>
37419
37420 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
37421 ERR_MAX value.
37422 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
37423 errlist-compat value.
37424
50f81fd7
DM
374252012-04-18 David S. Miller <davem@davemloft.net>
37426
37427 * sysdeps/generic/memcopy.h (reg_char): Delete.
37428 * debug/strcat_chk.c: Use char, not reg_char.
37429 * debug/strcpy_chk.c: Likewise.
37430 * debug/strncat_chk.c: Likewise.
37431 * debug/strncpy_chk.c: Likewise.
37432 * string/memchr.c: Likewise.
37433 * string/memrchr.c: Likewise.
37434 * string/rawmemchr.c: Likewise.
37435 * string/strcat.c: Likewise.
37436 * string/strchr.c: Likewise.
37437 * string/strchrnul.c: Likewise.
37438 * string/strcmp.c: Likewise.
37439 * string/strcpy.c: Likewise.
37440 * string/strncat.c: Likewise.
37441 * string/strncmp.c: Likewise.
37442 * string/strncpy.c: Likewise.
37443
8ff41c46
WS
374442012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37445
37446 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
37447 __builtin_memcopy is called when src and dest ranges are known to not
37448 overlap.
37449
6b652f46
WS
374502012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37451
37452 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
37453 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
37454 fwd_align_merge macro call.
37455 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
37456 bwd_align_merge macro call.
37457 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37458
b282631e
WS
374592012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37460
37461 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
37462 bwd_align_merge macros.
37463 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
37464 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
37465 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37466
95aa737c
DM
374672012-04-18 David S. Miller <davem@davemloft.net>
37468
37469 * sysdeps/sparc/sparc64/memcopy.h: Delete.
37470
7a99a614
AJ
374712012-04-18 Andreas Jaeger <aj@suse.de>
37472
37473 [BZ# 6794]
37474 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
37475 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
37476 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37477
37478 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
37479 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
37480 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37481
37482 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
37483 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
37484 Adjust for changed ldbl-128 files.
37485
37486 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
37487 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
37488 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37489
e5270c23
DM
374902012-04-17 David S. Miller <davem@davemloft.net>
37491
37492 * sysdeps/sparc/sparc32/memcopy.h: Delete.
37493
fb5e92c9
AS
374942012-04-17 Andreas Schwab <schwab@linux-m68k.org>
37495
37496 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
37497 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
37498 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
37499 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
37500 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
37501 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
37502
76da7265
AZ
375032012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37504
37505 [BZ #6794]
37506 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
37507 * math/libm-test.inc: Add ilogb errno and exception tests.
37508 * math/w_ilogb.c: New file: ilogb wrapper.
37509 * math/w_ilogbf.c: New file: ilogbf wrapper.
37510 * math/w_ilogbl.c: New file: ilogbl wrapper.
37511 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
37512 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
37513 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
37514 exception being thrown with 0.0 as argument.
37515 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
37516 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
37517 exception being thrown with 0.0 as argument.
37518 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
37519 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37520 exception being thrown with 0.0 as argument.
37521 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
37522 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37523 exception being thrown with 0.0 as argument.
37524 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
37525 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 37526 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
37527 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
37528 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
37529 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
37530 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
37531 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
37532 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
37533
0396e69d
PB
375342012-04-17 Petr Baudis <pasky@ucw.cz>
37535
37536 * include/sys/uio.h: Change __vector to __iovec to avoid clash
37537 with altivec.
37538
750b5926
MP
375392012-04-16 Marek Polacek <polacek@redhat.com>
37540
37541 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
37542
751728a1
MP
375432012-04-16 Marek Polacek <polacek@redhat.com>
37544
37545 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
37546 operands of fdivp instruction.
37547
34a27407
L
375482012-04-13 H.J. Lu <hongjiu.lu@intel.com>
37549
37550 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
37551 * elf/tst-auditmod3b.c: Likewise.
37552 * elf/tst-auditmod4b.c: Likewise.
37553 * elf/tst-auditmod5b.c: Likewise.
37554 * elf/tst-auditmod6b.c: Likewise.
37555 * elf/tst-auditmod6c.c: Likewise.
37556 * elf/tst-auditmod7b.c: Likewise.
37557 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
37558 * sysdeps/x86_64/preconfigure.in: Likewise.
37559 * sysdeps/x86_64/preconfigure: Regenerated.
37560
7e73e17d
L
375612012-04-13 H.J. Lu <hongjiu.lu@intel.com>
37562
37563 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
37564 __ILP32__.
37565
c7a6ab72
AB
375662012-04-13 Antoine Balestrat <merkil33@gmail.com>
37567
37568 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37569 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
37570
a9e8e0e0
CL
375712012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
37572
37573 [BZ #13973]
37574 * locale/iso-639.def: Fix gl language name. Spotted by
37575 Yaron Shahrabani.
37576
ec98af7d
RM
375772012-04-12 Roland McGrath <roland@hack.frob.com>
37578
37579 [BZ #2074]
37580 * libio/libio.h (__io_write_fn): Update comment.
37581
247c3ede
PB
375822012-04-12 Petr Baudis <pasky@ucw.cz>
37583
37584 [BZ #2074]
37585 * stdio.texi (Hook Functions): The user provided writer function
37586 is not allowed to return -1.
37587
55939d6d
DM
375882012-04-11 David S. Miller <davem@davemloft.net>
37589
37590 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37591
90020f5a
MF
375922012-04-11 Mike Frysinger <vapier@gentoo.org>
37593
37594 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
37595 Add a leading slash to rtkaio.
37596
288f9098
JM
375972012-04-11 Jim Meyering <meyering@redhat.com>
37598
90020f5a
MF
37599 [BZ #11959]
37600 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
37601 It is not necessarily an error to ignore fwrite's return
37602 value. One can reliably use ferror to test for errors after
37603 the fact.
288f9098 37604
4be2b570
L
376052012-04-10 H.J. Lu <hongjiu.lu@intel.com>
37606
37607 * bits/types.h (__snseconds_t): New type.
37608 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
37609
37610 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
37611 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37612 (__SNSECONDS_T_TYPE): Likewise.
37613 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37614 (__SNSECONDS_T_TYPE): Likewise.
37615 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37616 (__SNSECONDS_T_TYPE): Likewise.
37617
288f9098 376182012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
37619
37620 [BZ #2636]
37621 * manual/time.texi (Processor Time): Return type of times is
37622 elapsed real time since an arbitrary point in the past.
37623 (CPU Time): Move CLK_TCK from here...
37624 (Processor Time): ...to here. Correct description.
37625 * manual/conf.texi (Constants for Sysconf): Correct description of
37626 _SC_CLK_TCK.
37627
d7dd4413
DM
376282012-04-10 David S. Miller <davem@davemloft.net>
37629
37630 [BZ #13967]
37631 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
37632 where the is a gap between DT_REL(A) and DT_JMPREL.
37633
b46068fc
L
376342012-04-10 H.J. Lu <hongjiu.lu@intel.com>
37635
37636 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
37637 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37638 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37639
73d65cc3
SP
376402012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37641
37642 * elf/dl-support.c (_dl_inhibit_cache): New variable.
37643 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
37644 (dl_main): Handle --inhibit-cache.
37645 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
37646 _dl_inhibit_cache.
37647 * elf/dl-load.c (_dl_map_object): Use it.
37648 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
37649
bcc8d661
JM
376502012-04-09 Joseph Myers <joseph@codesourcery.com>
37651
8f9a2fae
JM
37652 [BZ #13872]
37653 * sysdeps/i386/fpu/e_powl.S (p78): New object.
37654 (__ieee754_powl): Saturate large exponents rather than testing for
37655 overflow of y*log2(x).
37656 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37657 * math/libm-test.inc (pow_test): Do not permit spurious overflow
37658 exceptions.
37659
bcc8d661
JM
37660 [BZ #11521]
37661 * math/s_ctan.c: Include <float.h>.
37662 (__ctan): Avoid internal overflow or cancellation in calculating
37663 denominator.
37664 * math/s_ctanf.c: Likewise.
37665 * math/s_ctanl.c: Likewise.
37666 * math/s_ctanh.c: Likewise.
37667 * math/s_ctanhf.c: Likewise.
37668 * math/s_ctanhl.c: Likewise.
37669 * math/libm-test.inc (ctan_test): Add more tests.
37670 (ctanh_test): Likewise.
37671 * sysdeps/i386/fpu/libm-test-ulps: Update.
37672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37673
823fbbb4
AJ
376742012-04-09 Andreas Jaeger <aj@suse.de>
37675
03879793
AJ
37676 [BZ #6894]
37677 * manual/filesys.texi (Directory Entries): Mention that d_namlen
37678 is an optional BSD extension.
37679
823fbbb4
AJ
37680 [BZ #10254]
37681 * manual/stdio.texi (Opening Streams): Document additional fopen
37682 parameters.
37683
8de131cb
RM
376842012-04-09 Roland McGrath <roland@hack.frob.com>
37685
37686 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
37687 %eax without telling the compiler.
37688
c0ed9d7d
CD
376892012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
37690
37691 [BZ # 13963]
37692 * manual/install.texi: Use sourceware.org.
37693
c483f6b4
JM
376942012-04-09 Joseph Myers <joseph@codesourcery.com>
37695
d7dd9453
JM
37696 [BZ #13873]
37697 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
37698 (__ieee754_pow): Generate overflow and underflow using huge*huge
37699 and tiny*tiny rather than just returning constant infinity or zero
37700 for large exponents.
37701 * math/libm-test.inc (pow_test): Require overflow exceptions for
37702 applicable cases of large exponents.
37703
c483f6b4
JM
37704 [BZ #706]
37705 * sysdeps/i386/fpu/e_pow.S (p10): New object.
37706 (__ieee754_pow): Use iterative multiplication algorithm only for
37707 integer exponents with absolute value below 1024. Check for odd
37708 integer exponents when using algorithm for real exponents.
37709 * math/libm-test.inc (pow_test): Add more tests.
37710 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37711
d2de7579
JM
377122012-04-08 Joseph Myers <joseph@codesourcery.com>
37713
37714 [BZ #13705]
37715 * math/libm-test.inc (exp_test): Do not allow overflow exception
37716 on underflow test.
37717
f77f1232
AJ
377182012-04-08 Aurelien Jarno <aurelien@aurel32.net>
37719
37720 [BZ #13705]
37721 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
37722 instead of __kernel_standard_f.
37723
3884932b
MF
377242012-04-08 Mike Frysinger <vapier@gentoo.org>
37725
37726 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
37727 * sysdeps/x86_64/memset_chk.S: Likewise.
37728
54472e9c
AJ
377292012-04-08 Andreas Jaeger <aj@suse.de>
37730
6ab0fbfc
AJ
37731 [BZ #10153]
37732 * manual/startup.texi (Environment Access): Describe return value
37733 for putenv and setenv.
37734
61efba8c
AJ
37735 [BZ #6895]
37736 * manual/filesys.texi (Directory Entries): Add description for
37737 DT_LNK.
37738
95c3f29a
AJ
37739 [BZ #6890]
37740 * manual/filesys.texi (Directory Entries): Clarify that it's file
37741 system not operating system in the description of DT_UNKNOWN.
37742
54472e9c
AJ
37743 [BZ #6578]
37744 * manual/syslog.texi (closelog): Fix reference, it's openlog.
37745
624254b1
SC
377462012-04-08 Stephen Compall <s11@member.fsf.org>
37747
37748 [BZ #6649]
37749 * manual/llio.texi (Opening and Closing Files): Add cross
37750 reference to explain mode argument.
37751
1e4920e0
MF
377522012-04-07 Mike Frysinger <vapier@gentoo.org>
37753
37754 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
37755 * sysdeps/x86_64/memset_chk.S: Likewise.
37756
5ed848f3
DM
377572012-04-07 David S. Miller <davem@davemloft.net>
37758
37759 * elf/elf.h (R_SPARC_WDISP10): Define.
37760 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
37761 R_SPARC_SIZE32.
37762 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
37763 R_SPARC_SIZE64 and R_SPARC_H34.
37764
96154cd8
CD
377652012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
37766
37767 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
37768 conditions and remove no longer applicable assertion.
37769
9904dc47
L
377702012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37771
37772 * bits/byteswap.h: Include <features.h>.
37773 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37774 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37775
f8887d0a
L
377762012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37777
37778 * bits/byteswap.h (__bswap_16): Removed.
37779 Include <bits/byteswap-16.h> to get __bswap_16.
37780 * sysdeps/i386/bits/byteswap.h: Likewise.
37781 * sysdeps/s390/bits/byteswap.h: Likewise.
37782 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37783 * bits/byteswap-16.h: New file.
37784 * sysdeps/i386/bits/byteswap-16.h: Likewise.
37785 * sysdeps/s390/bits/byteswap-16.h: Likewise.
37786 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
37787 * string/Makefile (headers): Add bits/byteswap-16.h.
37788
62470f60
PP
377892012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
37790
37791 [BZ #13895]
37792 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
37793 extra indirection.
37794 * nss/Makefile (tests-static, tests): Add tst-nss-static.
37795 * nss/tst-nss-static.c: New.
37796
4dad7bab
RM
377972012-04-06 Robert Millan <rmh@gnu.org>
37798
37799 [BZ #6486]
37800 * manual/llio.texi (File Position Primitive): lseek
37801 refers to WHENCE when it really means OFFSET.
37802
e9142a17
AJ
378032012-04-06 Andreas Jaeger <aj@suse.de>
37804
2c040eff
AJ
37805 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
37806 strncmp declarations.
37807
e9142a17
AJ
37808 * abilist/libc.abilist: Add __poll and __ppoll.
37809
ff9f1c5f
DM
378102012-04-05 David S. Miller <davem@davemloft.net>
37811
dcd2ae90
DM
37812 * scripts/check-local-headers.sh: Accept a host triplet in the
37813 path matched by the exclude regexp.
37814
993eb054
DM
37815 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
37816 definition.
37817 * sysdeps/powerpc/powerpc32/dl-machine.h
37818 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
37819 * sysdeps/s390/s390-32/dl-machine.h
37820 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37821 * sysdeps/sparc/sparc32/dl-machine.h
37822 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37823 * sysdeps/sparc/sparc64/dl-machine.h
37824 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37825
ff9f1c5f
DM
37826 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
37827 lazy binding.
48e2e132 37828 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
37829 undefined symbol errors.
37830
48e2e132 37831 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
37832 DT_NEEDED entries.
37833
e80d6f94
MM
378342012-04-05 Michael Matz <matz@suse.de>
37835
37836 [BZ #13592]
37837 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
37838
349fa79f
AJ
378392012-04-05 Andreas Jaeger <aj@suse.de>
37840
37841 [BZ #13908]
37842 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
37843 comment.
37844
f402708f
KK
378452012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37846
37847 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
37848 which ROUND is no valid rounding mode.
37849
2ecccfc9
KK
378502012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37851
37852 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
37853 read again.
37854 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
37855
8a53f50f
KK
378562012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37857
37858 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
37859 an exception using FPU order intentionally.
37860
378612012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37862
37863 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
37864 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
37865 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
37866 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
37867
d653abb7
SJ
378682012-04-05 Simon Josefsson <simon@josefsson.org>
37869
37870 [BZ #12340]
37871 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
37872 EINVAL when BUFLEN is too smal.
37873
c3b1bf7d
TS
378742012-04-05 Thomas Schwinge <thomas@codesourcery.com>
37875
37876 [BZ #13553]
37877 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
37878 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
37879
b1aa60f3
AJ
378802012-04-03 Andreas Jaeger <aj@suse.de>
37881
c3b1bf7d 37882 [BZ #13938]
67f60a26
AJ
37883 * manual/setjmp.texi (System V contexts): Fix sentence.
37884
b1aa60f3
AJ
37885 [BZ #13926]
37886 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
37887 New macro for this case.
37888 [!__GNUC__] (__bswap_64): New inline function for this case.
37889 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37890 * bits/byteswap.h: Likewise.
37891 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
37892 ull, guard with __GLIBC_HAVE_LONG_LONG.
37893
37894 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
37895 __GLIBC_HAVE_LONG_LONG.
37896
37897 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
37898 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
37899
39c59c35
TMQMF
379002012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37901
37902 [BZ #13691]
37903 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
37904 inptr and inend, rather than using last_ch.
37905
135ffda8
DM
379062012-04-02 David S. Miller <davem@davemloft.net>
37907
37908 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
37909 * stdio-common/printf-parse.h (read_int): Change return type to
37910 'int', return -1 on INT_MAX overflow.
37911 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
37912 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
37913 overflows INT_MAX. Check for overflow of in-format-string precision
37914 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
37915 SIZE_MAX not INT_MAX for integer overflow test.
37916 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
37917 skip the construct in the format string but do not record anything.
37918 * stdio-common/bug22.c: Adjust to test both width/prevision
37919 INT_MAX overflow as well as total length INT_MAX overflow. Check
37920 explicitly for proper errno values.
37921
228c019e
TS
379222012-04-02 Thomas Schwinge <thomas@codesourcery.com>
37923
302cadd3
TS
37924 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
37925 CHAR_MAX.
37926 * string/test-strcmp.c [! WIDE]: Likewise.
37927 * time/tst-mktime2.c: Likewise for INT_MAX.
37928 * string/test-string.h: #include <sys/param.h> for MIN.
37929
228c019e
TS
37930 * csu/init-first.c (__libc_init_first): Call __ctype_init.
37931 * sysdeps/i386/init-first.c (init): Likewise.
37932 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
37933 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
37934 * sysdeps/sh/init-first.c (init): Likewise.
37935
cfa633f5
UD
379362012-04-01 Ulrich Drepper <drepper@gmail.com>
37937
37938 * po/ru.po: Update from translation team.
d1635ef8 37939 * po/vi.po: Likewise.
cfa633f5 37940
6cd0a5ea
SP
379412012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
37942
37943 * resolv/nss_dns/dns-host.c: Merge copyright years.
37944
4b43400f
LD
379452012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37946
37947 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37948 Optimize memcpy with prefetch if
37949 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
37950 src, dst pointers have unequal 16 byte alignments.
37951
48c41d04
SP
379522012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37953
37954 [BZ #13928]
37955 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
37956 from a CNAME entry and return the minimum ttl for the query.
37957 (gaih_getanswer_slice): Likewise.
37958
b8dc394d
JL
379592012-03-30 Jeff Law <law@redhat.com>
37960
37961 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
37962 due to long keys.
37963 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
37964 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
37965
2f5a5ed0
JL
37966 * resolv/nss_dns/dns-host.c: Update copyright year.
37967
1d39e359
UD
379682012-03-30 Ulrich Drepper <drepper@gmail.com>
37969
c030f70c 37970 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 37971 requests to save a system call. Fix check that all bytes are sent.
c030f70c 37972
1d39e359
UD
37973 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
37974 comments for sendmmsg.
37975
379762012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
37977
37978 [BZ #13691]
37979 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
37980 with only 1 character between 0x0041 and 0x01b0.
37981 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
37982 * wcsmbs/tst-mbsnrtowcs.c: New file.
37983
20fde227
DM
379842012-03-29 David S. Miller <davem@davemloft.net>
37985
37986 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
37987 small copies by hand.
37988
984a4237
JL
379892012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37990
37991 [BZ #13761]
57f41c40
AS
37992 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
37993 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
37994 group memberships.
984a4237 37995
18c9d62b
DM
379962012-03-28 David S. Miller <davem@davemloft.net>
37997
88d85d4f
DM
37998 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
37999 that branches into memcpy.
38000 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
38001 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
38002 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38003 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
38004 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
38005 bits.
38006 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
38007 implementation too.
38008 * sysdeps/sparc/mempcpy.S: New file.
38009
e5aa83e1
DM
38010 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
38011 the IFUNC routine in the libc case.
38012 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38013
88570753
DM
38014 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
38015 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
38016 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
38017 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
38018 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
38019 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
38020 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
38021 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
38022
249d7567
DM
38023 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
38024 loop to 256 bytes instead of 64 bytes and fix test signedness.
38025
18c9d62b
DM
38026 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
38027 * sysdeps/sparc/sparc32/Makefile: rather than here...
38028 * sysdeps/sparc/sparc64/Makefile: and here.
38029
05f3d1f6
UD
380302012-03-28 Ulrich Drepper <drepper@gmail.com>
38031
38032 * malloc/mallocbug.c: Avoid warnings about unused variables.
38033
86ae07a8
JL
380342012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
38035
38036 [BZ #13760]
38037 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
38038 in the right place. Discard and retry query if response is
38039 larger than input buffer size.
38040
41bf21a1
JM
380412012-03-28 Joseph Myers <joseph@codesourcery.com>
38042
d6270972
JM
38043 [BZ #369]
38044 [BZ #2678]
38045 [BZ #3866]
38046 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
38047 x for large integer exponent.
38048 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38049 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
38050 sign of result as needed afterwards.
38051 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
38052 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
38053 result for underflowing pow the same as for overflow.
38054 (__kernel_standard_l): Handle powl overflow and underflow here
38055 rather than calling __kernel_standard.
38056 * math/libm-test.inc (pow_test): Add more tests.
38057
414fca03 38058 [BZ #3868]
41bf21a1
JM
38059 [BZ #13879]
38060 [BZ #13910]
38061 [BZ #13911]
38062 [BZ #13912]
38063 [BZ #13913]
38064 [BZ #13915]
38065 [BZ #13916]
38066 [BZ #13917]
38067 [BZ #13918]
38068 [BZ #13919]
38069 [BZ #13920]
38070 [BZ #13921]
38071 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
38072 * sysdeps/ieee754/k_standard.c: Include <float.h>.
38073 (__kernel_standard_l): New function.
38074 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
38075 __kernel_standard.
38076 * math/w_acosl.c (__acosl): Likewise.
38077 * math/w_asinl.c (__asinl): Likewise.
38078 * math/w_atan2l.c (__atan2l): Likewise.
38079 * math/w_atanhl.c (__atanhl): Likewise.
38080 * math/w_coshl.c (__coshl): Likewise.
38081 * math/w_exp10l.c (__exp10l): Likewise.
38082 * math/w_exp2l.c (__exp2l): Likewise.
38083 * math/w_fmodl.c (__fmodl): Likewise.
38084 * math/w_hypotl.c (__hypotl): Likewise.
38085 * math/w_j0l.c (__j0l, __y0l): Likewise.
38086 * math/w_j1l.c (__j1l, __y1l): Likewise.
38087 * math/w_jnl.c (__jnl, __ynl): Likewise.
38088 * math/w_lgammal.c (__lgammal): Likewise.
38089 * math/w_log10l.c (__log10l): Likewise.
38090 * math/w_log2l.c (__log2l): Likewise.
38091 * math/w_logl.c (__logl): Likewise.
38092 * math/w_powl.c (__powl): Likewise.
38093 * math/w_remainderl.c (__remainderl): Likewise.
38094 * math/w_scalbl.c (sysv_scalbl): Likewise.
38095 * math/w_sinhl.c (__sinhl): Likewise.
38096 * math/w_sqrtl.c (__sqrtl): Likewise.
38097 * math/w_tgammal.c (__tgammal): Likewise.
38098 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
38099 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
38100 * math/libm-test.inc (acos_test): Add more tests.
38101 (acosh_test): Likewise.
38102 (asin_test): Likewise.
38103 (atanh_test): Likewise.
38104 (exp_test): Likewise.
38105 (exp10_test): Likewise.
38106 (exp2_test): Likewise.
38107 (expm1_test): Likewise.
38108 (lgamma_test): Likewise.
38109 (log_test): Likewise.
38110 (log10_test): Likewise.
38111 (log1p_test): Likewise.
38112 (log2_test): Likewise.
38113 (pow_test): Do not allow some spurious overflow exceptions.
38114 (sqrt_test): Add more tests.
38115 (tgamma_test): Likewise.
38116 (y0_test): Likewise.
38117 (y1_test): Likewise.
38118 (yn_test): Likewise.
38119
dd62fda6
AB
381202012-03-27 Anton Blanchard <anton@samba.org>
38121
38122 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
38123 MAP_HUGETLB.
38124 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38125 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38126 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38127
1e3cdfda
AJ
381282012-03-27 David S. Miller <davem@davemloft.net>
38129
b855ab85
DM
38130 * conform/Makefile: Run run-conformtest.sh using $(BASH).
38131
1e3cdfda
AJ
38132 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
38133 have-as-vis3 check.
38134
381352012-03-27 Andreas Jaeger <aj@suse.de>
38136
38137 * sysdeps/x86_64/elf/configure.in: Moved to ...
38138 * sysdeps/x86_64/configure.in: ... here.
38139 * sysdeps/x86_64/elf/start.S: Moved to ...
38140 * sysdeps/x86_64/start.S: ... here.
38141 * sysdeps/x86_64/elf/configure: Delete.
38142
38143 * sysdeps/x86_64/configure.in: Merge contents from
38144 sysdeps/i386/configure.in (without i686 check).
38145
38146 * sysdeps/i386/elf/Versions: Merge into ...
38147 * sysdeps/i386/Versions: ... this.
38148 * sysdeps/i386/elf/Versions: Delete file.
38149 * sysdeps/i386/elf/start.S: Moved to ...
38150 * sysdeps/i386/start.S: ...here.
38151 * sysdeps/i386/elf/configure.in: Merge into...
38152 * sysdeps/i386/configure.in: ...here.
38153 * sysdeps/i386/elf/configure.in: Delete file.
38154 * sysdeps/i386/elf/configure: Delete file.
38155
38156 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
38157 * debug/backtracesyms.c: ... here.
38158 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
38159 * debug/backtracesymsfd.c: ... here.
38160 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
38161 * sysdeps/generic/ifunc-sel.h: ... here.
38162
38163 * sysdeps/unix/i386/start.c: Delete file.
38164 * sysdeps/unix/sparc/start.c: Delete file.
38165 * sysdeps/unix/start.c: Delete file.
38166
38167 * sysdeps/sh/elf/configure.in: Moved to ...
38168 * sysdeps/sh/configure.in: ... here.
38169 * sysdeps/sh/elf/start.S: Moved to ...
38170 * sysdeps/sh/start.S: ... here.
38171 * sysdeps/sh/elf/configure: Delete file.
38172
38173 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
38174 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
38175 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
38176 * sysdeps/powerpc/powerpc64/entry.h: ... here.
38177 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
38178 * sysdeps/powerpc/powerpc64/start.S: here.
38179 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
38180 * sysdeps/powerpc/powerpc64/Makefile: ... this.
38181 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
38182 * sysdeps/powerpc/powerpc64/configure.in: ... this.
38183 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
38184
38185 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
38186 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
38187 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
38188 * sysdeps/powerpc/powerpc32/start.S: ... here.
38189 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
38190 * sysdeps/powerpc/powerpc32/configure.in: ... this.
38191 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
38192
38193 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
38194 * sysdeps/powerpc/ifunc-sel.h: ... here.
38195 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
38196 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
38197
38198 * sysdeps/sparc/elf/configure.in: Moved to ...
38199 * sysdeps/sparc/configure.in: ... here.
38200 * sysdeps/sparc/elf/configure: Delete file.
38201 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
38202 * sysdeps/sparc/sparc32/start.S: ... here.
38203 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
38204 * sysdeps/sparc/sparc64/start.S: ... here.
38205 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
38206 * sysdeps/sparc/sparc32/Makefile: ... this.
38207 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
38208 * sysdeps/sparc/sparc64/Makefile: ... this.
38209
38210 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
38211 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
38212 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
38213 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
38214 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
38215 * sysdeps/s390/s390-32/setjmp.S: ... here.
38216 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
38217 * sysdeps/s390/s390-32/configure.in: ... here.
38218 * sysdeps/s390/s390-32/elf/configure: Delete file.
38219 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
38220 * sysdeps/s390/s390-32/start.S: ... here.
38221
38222 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
38223 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
38224 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
38225 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
38226 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
38227 * sysdeps/s390/s390-64/setjmp.S: ... here.
38228 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
38229 * sysdeps/s390/s390-64/configure.in: ... here
38230 * sysdeps/s390/s390-64/elf/configure: Delete file.
38231 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
38232 * sysdeps/s390/s390-64/start.S: ... here.
38233 * sysdeps/s390/s390-64/elf/configure: Delete.
38234
38235 * configure.in: Remove support for elf directories in sysdeps.
38236
38237 * configure: Regenerated.
38238 * sysdeps/i386/configure: Regenerated.
38239 * sysdeps/powerpc/powerpc32/configure: Regenerated.
38240 * sysdeps/powerpc/powerpc64/configure: Regenerated.
38241 * sysdeps/s390/s390-32/configure: Regenerated.
38242 * sysdeps/s390/s390-64/configure: Regenerated.
38243 * sysdeps/sh/configure: Regenerated.
38244 * sysdeps/sparc/configure: Regenerated.
38245 * sysdeps/x86_64/configure: Regenerated.
38246
a3f61311
AS
382472012-03-26 Andreas Schwab <schwab@linux-m68k.org>
38248
c876e002
AS
38249 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38250
a3f61311
AS
38251 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
38252 denormal result into account.
38253
ac4c54f0
RM
382542012-03-25 Roland McGrath <roland@hack.frob.com>
38255
38256 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
38257 Reported by Allan McRae <allan@archlinux.org>.
38258
6a9b9c02
JL
382592012-03-23 Jeff Law <law@redhat.com>
38260
38261 * nss/getnssent.c (__nss_getent): Fix typo.
38262
4c42a0c1
DM
382632012-03-23 David S. Miller <davem@davemloft.net>
38264
38265 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38266
1532c7ac
L
382672012-03-23 H.J. Lu <hongjiu.lu@intel.com>
38268
38269 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
38270 to pad to uint64_t for each field.
38271 (dl_tls_index): Replace unsigned long with uint64_t.
38272
3ff42526
PP
382732012-03-23 Daniel Jacobowitz <dmj@google.com>
38274 Paul Pluzhnikov <ppluzhnikov@google.com>
38275
38276 [BZ #6528]
38277 * grp/Makefile (otherlibs): Don't set it.
38278 * inet/Makefile (otherlibs): Likewise.
38279 * login/Makefile (otherlibs): Likewise.
38280 * nscd/Makefile (otherlibs): Likewise.
38281 * posix/Makefile (otherlibs): Likewise.
38282 * pwd/Makefile (otherlibs): Likewise.
38283 * rt/Makefile (otherlibs): Likewise.
38284 * sunrpc/Makefile (otherlibs): Likewise.
38285 * nss/Makefile (otherlibs): Likewise.
38286 Add libnss_files to routines and static-only-routines.
38287 ($(objpfx)getent): Remove rule.
38288 * resolv/Makefile: Add libnss_dns and libresolv to routines and
38289 static-only-routines.
38290
7c69cd14
JM
382912012-03-22 Joseph Myers <joseph@codesourcery.com>
38292
38293 [BZ #13892]
38294 * math/s_cexp.c: Include <float.h>.
38295 (__cexp): Handle exp result overflowing not necessarily
38296 overflowing both real and imaginary parts of result.
38297 * math/s_cexpf.c: Likewise.
38298 * math/s_cexpl.c: Likewise.
38299 * math/libm-test.inc (cexp_test): Add more tests.
38300 * sysdeps/i386/fpu/libm-test-ulps: Update.
38301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38302
81b035fe
L
383032012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38304
38305 * include/link.h (ELFW): New macro.
38306 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
38307 Replace ELF64_R_TYPE with ELFW(R_TYPE).
38308
1da7940c
L
383092012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38310
38311 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
38312 with uint64_t.
38313
b749dbb9
L
383142012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38315
38316 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
38317 declaration.
38318 (struct La_x32_retval): Likewise.
38319
2ff87f3f
L
383202012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38321
38322 * sysdeps/x86_64/preconfigure.in: New file.
38323 * sysdeps/x86_64/preconfigure: New generated file.
38324
c0df8e69
JM
383252012-03-22 Joseph Myers <joseph@codesourcery.com>
38326
48e44791
JM
38327 [BZ #13824]
38328 * math/e_exp2l.c: Include <float.h>.
38329 (__ieee754_exp2l): Handle overflow and underflow cases
38330 separately. Only pass fractional part of argument to
38331 __ieee754_expl.
38332 * math/libm-test.inc (exp2_test): Add more tests.
38333
c0df8e69
JM
38334 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
38335 negating x to take absolute value.
38336 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38337 Likewise.
38338 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38339 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
38340 Likewise.
38341 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
38342 computing low part if x was negated.
38343 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38344
c8e43ba7
L
383452012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38346
38347 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
38348 la_x32_gnu_pltexit.
38349 (pltexit): Cast int_retval to ptrdiff_t.
38350 * elf/tst-auditmod3b.c: Likewise.
38351 * elf/tst-auditmod4b.c: Likewise.
38352 * elf/tst-auditmod5b.c: Likewise.
38353 * elf/tst-auditmod6b.c: Likewise.
38354 * elf/tst-auditmod6c.c: Likewise.
38355 * elf/tst-auditmod7b.c: Likewise.
38356
38357 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
38358 and x32_gnu_pltexit.
38359
38360 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
38361 __ELF_NATIVE_CLASS.
38362 (La_x32_regs): New macro.
38363 (La_x32_retval): Likewise.
38364 (la_x32_gnu_pltenter): New function prototype.
38365 (la_x32_gnu_pltexit): Likewise.
38366
7998fa78
AS
383672012-03-21 Andreas Schwab <schwab@linux-m68k.org>
38368
dcb33988
AS
38369 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
38370 exponent.
38371
233fc563
AS
38372 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38373
7998fa78
AS
38374 * configure.in (libc_cv_cc_nofma): Check for option to disable
38375 generation of FMA instructions.
38376 * configure: Regenerate.
38377 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
38378 * sysdeps/ieee754/dbl-64/Makefile: New file.
38379 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38380 Remove brandred-fma4.
38381 (CFLAGS-brandred-fma4.c): Remove.
38382 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
38383 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
38384 define.
38385 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
38386 define.
38387
8e95c99a
L
383882012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38389
38390 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38391 LLONG_MAX != LONG_MAX.
38392 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38393 (_fitoa_word): Likewise.
38394 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
38395 LLONG_MAX != LONG_MAX.
38396 * stdio-common/_itowa.h: Include <_itoa.h>.
38397 (_itowa_word): Use _ITOA_WORD_TYPE on value.
38398 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
38399 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
38400 only if not defined.
38401 (_ITOA_WORD_TYPE): Likewise.
38402 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38403 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
38404
6f4db457
DM
384052012-03-21 David S. Miller <davem@davemloft.net>
38406
38407 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38408
7785fe5a
L
384092012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38410
38411 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
38412 of x86_64 when setting libc_cv_slibdir, libdir and
38413 libc_cv_localedir.
38414 * sysdeps/unix/sysv/linux/configure: Regenerated.
38415
4535cd55
JM
384162012-03-21 Joseph Myers <joseph@codesourcery.com>
38417
38418 * manual/lang.texi (Old Varargs): Remove section.
38419 (How Variadic): Update menu.
38420 (va_start): Do not mention varargs.h.
38421
17228132
TS
384222012-03-21 Thomas Schwinge <thomas@codesourcery.com>
38423 Joseph Myers <joseph@codesourcery.com>
38424
38425 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
38426 link test.
38427 * configure: Regenerated.
38428
8149f976
TS
384292012-03-21 Thomas Schwinge <thomas@codesourcery.com>
38430
05f3d1f6
UD
38431 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
38432 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
38433 conformtest.pl
8149f976 38434
1a4ac776
JM
384352012-03-21 Joseph Myers <joseph@codesourcery.com>
38436
be22ce65
JM
38437 * NOTES: Remove.
38438 * Makefile (files-for-dist): Remove NOTES.
38439 (NOTES): Remove rule.
38440 * README: Don't refer to NOTES.
38441 * manual/creature.texi: Don't include macros.texi.
38442 * manual/intro.texi (creature.texi): Remove comment referring to
38443 NOTES.
38444
40b601fb
JM
38445 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
38446 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
38447 * configure: Regenerated.
38448 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
38449 LIBC_TRY_CC_OPTION.
38450 (libc_cv_as_i686): Likewise.
38451 (libc_cv_cc_avx): Likewise.
38452 (libc_cv_cc_sse2avx): Likewise.
38453 (libc_cv_cc_fma4): Likewise.
38454 (libc_cv_cc_novzeroupper): Likewise.
38455 * sysdeps/i386/configure: Regenerated.
38456
1a4ac776
JM
38457 [BZ #13883]
38458 * sysdeps/i386/fpu/s_cexp.S: Remove.
38459 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38460 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38461 * math/libm-test.inc (cexp_test): Add more tests.
38462 * sysdeps/i386/fpu/libm-test-ulps: Update.
38463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38464
a458e7fe
AM
384652012-03-21 Allan McRae <allan@archlinux.org>
38466
38467 * timezone/Makefile: Do not install iso3166.tab and zone.tab
38468
0cb7efc5
JM
384692012-03-21 Joseph Myers <joseph@codesourcery.com>
38470
38471 [BZ #13871]
38472 * math/w_exp2.c: Do not include <float.h>.
38473 (o_threshold, u_threshold): Remove.
38474 (__exp2): Calculate result before checking finiteness and calling
38475 __kernel_standard.
38476 * math/w_exp2f.c: Likewise.
38477 * math/w_exp2l.c: Likewise.
38478 * math/libm-test.inc (exp2_test): Require overflow exception for
38479 1e6 input.
2460d3aa
JM
38480
38481 [BZ #3866]
38482 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
38483 range of signed 64-bit integers before using fistpll. Remove
38484 checks for whether integers fit in mantissa bits.
38485 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
38486 the range of signed 32-bit integers before using fistpl. Remove
38487 checks for whether integers fit in mantissa bits.
38488 * sysdeps/i386/fpu/e_powl.S (p64): New object.
38489 (__ieee754_powl): Test for y outside the range of signed 64-bit
38490 integers before using fistpll. Reduce 64-bit values to 63-bit
38491 ones as needed.
38492 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
38493 divide-by-zero is raised for zero to large negative powers.
38494 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
38495 (__ieee754_powl): Test for y outside the range of signed 64-bit
38496 integers before using fistpll. Reduce 64-bit values to 63-bit
38497 ones as needed.
38498 * math/libm-test.inc (pow_test): Add more tests.
38499
eb96ffb0
L
385002012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38501
38502 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
38503 <stdio-common/_itoa.h>.
38504 * debug/segfault.c: Likewise.
38505 * elf/dl-cache.c: Likewise.
38506 * elf/dl-minimal.c: Likewise.
38507 * elf/dl-misc.c: Likewise.
38508 * elf/dl-sysdep.c: Likewise.
38509 * elf/dl-version.c: Likewise.
38510 * elf/rtld.c: Likewise.
38511 * hurd/hurdsock.c: Likewise.
38512 * hurd/lookup-retry.c: Likewise.
38513 * malloc/malloc.c: Likewise.
38514 * malloc/mtrace.c: Likewise.
38515 * nscd/nscd_getgr_r.c: Likewise.
38516 * nscd/nscd_getpw_r.c: Likewise.
38517 * nscd/nscd_getserv_r.c: Likewise.
38518 * posix/getopt_init.c: Likewise.
38519 * posix/wordexp.c: Likewise.
38520 * stdio-common/_itoa.c: Likewise.
38521 * stdio-common/printf_fphex.c: Likewise.
38522 * stdio-common/vfprintf.c: Likewise.
38523 * string/_strerror.c: Likewise.
38524 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
38525 * sysdeps/i386/i686/hp-timing.h: Likewise.
38526 * sysdeps/mach/_strerror.c: Likewise.
38527 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
38528 * sysdeps/mach/hurd/sethostid.c: Likewise.
38529 * sysdeps/mach/hurd/xmknodat.c: Likewise.
38530 * sysdeps/mach/xpg-strerror.c: Likewise.
38531 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38532 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38533 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
38534 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
38535 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38536 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
38537 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
38538 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
38539 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
38540 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
38541 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
38542 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
38543 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
38544 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
38545 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
38546 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
38547 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
38548 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
38549 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
38550 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
38551 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
38552
38553 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
38554
38555 * stdio-common/_itoa.h: Moved to ...
38556 * sysdeps/generic/_itoa.h: Here.
38557
38558 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
38559
38560 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
38561 instead of "_itoa.h" and "_itowa.h".
38562 * stdio-common/vfprintf.: Likewise.
38563
d1af992d
L
385642012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38565
38566 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
38567 <bits/wordsize.h>.
38568 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
38569 (__signbit): Likwise.
38570 (llrintf): Likwise.
38571 (llrint): Likwise.
38572
114883e0
L
385732012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38574
38575 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
38576 __WORDSIZE != 64.
38577
c135cc1b
JM
385782012-03-20 Joseph Myers <joseph@codesourcery.com>
38579
38580 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
38581 OVERFLOW_EXCEPTION_OK.
38582 * math/libm-test.inc ("Philosophy"): Update comment about
38583 exception testing.
38584 (OVERFLOW_EXCEPTION): Define.
38585 (OVERFLOW_EXCEPTION_OK): Likewise.
38586 (INVALID_EXCEPTION_OK): Renumber.
38587 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38588 (IGNORE_ZERO_INF_SIGN): Likewise.
38589 (test_exceptions): Handle FE_OVERFLOW.
38590 (exp10_test): Expect overflow exceptions.
38591 (exp2_test): Likewise.
38592 (expm1_test): Likewise.
38593 (nextafter_test): Likewise.
38594 (pow_test): Likewise.
38595 (scalbn_test): Likewise.
38596 (scalbln_test): Likewise.
38597
95443d88
L
385982012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38599
38600 * sysdeps/x86_64/bits/atomic.h
38601 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
38602 64bit integer.
38603 (atomic_exchange_acq): Likewise.
38604 (__arch_exchange_and_add_body): Likewise.
38605 (__arch_add_body): Likewise.
38606 (atomic_add_negative): Likewise.
38607 (atomic_add_zero): Likewise.
38608
490df6c4
L
386092012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38610
c2722551 38611 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
38612 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
38613
5e52b189
L
386142012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38615
38616 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
38617 Check __x86_64__ instead of __WORDSIZE.
38618
a9879d4c
L
386192012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38620
38621 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
38622
5df98260
DM
386232012-03-19 David S. Miller <davem@davemloft.net>
38624
e1497744
DM
38625 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38626
5df98260
DM
38627 * sysdeps/sparc/fpu/fenv_private.h: New file.
38628 * sysdeps/sparc/fpu/math_private.h: Use it.
38629 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
38630 Remove.
57f41c40 38631 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
38632 (libc_feholdexcept_setroundl): Remove.
38633 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
38634 Remove.
38635 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
38636 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
38637
b4c35121
L
386382012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38639
38640 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
38641 int64_t instead of long int.
38642 (INSERT_WORDS64): Likwise.
38643
56965fd7
L
386442012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38645
38646 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
38647 _Unwind_GetCFA return to _Unwind_Ptr first.
38648
83d1aec8
JM
386492012-03-19 Joseph Myers <joseph@codesourcery.com>
38650
1897ad44
JM
38651 [BZ #13629]
38652 * math/s_clog.c: Include <float.h>.
38653 (__clog): Scale large or subnormal inputs.
38654 * math/s_clogf.c: Likewise.
38655 * math/s_clogl.c: Likewise.
38656 * math/s_clog10.c: Include <float.h>.
38657 (M_LOG10_2): Define.
38658 (__clog10): Scale large or subnormal inputs.
38659 * math/s_clog10f.c: Likewise.
38660 * math/s_clog10l.c: Likewise.
38661 * math/libm-test.inc (clog_test): Add more tests.
38662 (clog10_test): Likewise.
38663 * sysdeps/i386/fpu/libm-test-ulps: Update.
38664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38665
7726d6a9
JM
38666 [BZ #11451]
38667 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
38668 x and y.
38669 * math/libm-test.inc (atan2_test): Add another test.
38670
83d1aec8
JM
38671 * Makerules (common-objdir-compile): Remove.
38672 * sysdeps/unix/Makefile (config-generated): Do not add
38673 $(unix-generated) to variable.
38674 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
38675 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
38676 Remove rule.
38677 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
38678 Likewise.
38679 [generic bits/local_lim.h] (before-compile): Do not append to
38680 variable.
38681 [generic bits/local_lim.h] (common-generated): Likewise.
38682 [generic sys/param.h] (before-compile): Do not append to variable.
38683 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
38684 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
38685 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
38686 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
38687 include.
38688 [generic sys/param.h] (sys/param.h-includes): Remove variable.
38689 [generic sys/param.h] (sys/param.h-includes): Remove rule.
38690 [generic sys/param.h] ($(addprefix
38691 $(common-objpfx),$(sys/param.h-includes))): Likewise.
38692 [generic sys/param.h] (common-generated): Do not append to
38693 variable.
38694 [generic sys/param.h] (sysdep_headers): Likewise.
38695 [generic bits/errno.h] (before-compile): Do not append to
38696 variable.
38697 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
38698 rule.
38699 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
38700 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
38701 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
38702 [generic bits/errno.h] (common-generated): Do not append to
38703 variable.
38704 [generic bits/ioctls.h] (before-compile): Do not append to
38705 variable.
38706 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
38707 rule.
38708 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
38709 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
38710 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
38711 rule.
38712 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
38713 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
38714 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
38715 [generic bits/ioctls.h] (common-generated): Do not append to
38716 variable.
38717 [generic sys/syscall.h] (syscall.h): Remove variable.
38718 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
38719 rule.
38720 [generic sys/syscall.h] (before-compile): Do not append to
38721 variable.
38722 [generic sys/syscall.h] (common-generated): Likewise.
38723 * sysdeps/unix/errnos-tmpl.c: Remove file.
38724 * sysdeps/unix/errnos.awk: Likewise.
38725 * sysdeps/unix/ioctls-tmpl.c: Likewise.
38726 * sysdeps/unix/ioctls.awk: Likewise.
38727 * sysdeps/unix/mk-local_lim.c: Likewise.
38728 * sysdeps/unix/snarf-ioctls: Likewise.
38729
4851a949
RH
387302012-03-19 Richard Henderson <rth@twiddle.net>
38731
bd37f2ee
RH
38732 * sysdeps/i386/fpu/fenv_private.h: New file.
38733 * sysdeps/i386/fpu/math_private.h: Use it.
38734 (math_opt_barrier, math_force_eval): Remove.
38735 (libc_feholdexcept_setround_53bit): Remove.
38736 (libc_feupdateenv_53bit): Remove.
38737 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38738 (math_opt_barrier, math_force_eval): Remove.
38739 (libc_feholdexcept): Remove.
38740 (libc_feholdexcept_setround): Remove.
38741 (libc_fetestexcept, libc_fesetenv): Remove.
38742 (libc_feupdateenv_test): Remove.
38743 (libc_feupdateenv, libc_feholdsetround): Remove.
38744 (libc_feresetround): Remove.
38745
d0adc922
RH
38746 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
38747 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38748
0fe0f1f8
RH
38749 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
38750 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
38751 (libc_feupdateenv_testl): New.
38752 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
38753 (libc_feupdateenv_testf): New.
38754 (libc_feupdateenv): Use libc_feupdateenv_test.
38755 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
38756 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
38757
eb92c487
RH
38758 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
38759 (libc_feholdsetroundf, libc_feholdsetroundl): New.
38760 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
38761 (libc_feresetround_noex): New.
38762 (libc_feresetround_noexf): New.
38763 (libc_feresetround_noexl): New.
38764 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
38765 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
38766 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
38767 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
38768 SET_RESTORE_ROUND.
38769 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
38770 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
38771 (__cos): Likewise.
38772 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
38773 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
38774 SET_RESTORE_ROUND_NOEX.
38775 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
38776 SET_RESTORE_ROUND_NOEXF.
38777 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
38778 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
38779 (libc_feholdsetroundf): New.
38780 (libc_feresetround, libc_feresetroundf): New.
38781
7d2e8012
RH
38782 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
38783 (libc_feholdexcept_setround_53bit): Convert from macro to function.
38784 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
38785
b4dabbb4
RH
38786 * sysdeps/generic/math_private.h: Include <fenv.h>.
38787 (default_libc_feholdexcept): New.
38788 (default_libc_feholdexcept_setround): New.
38789 (default_libc_fesetenv, default_libc_feupdateenv): New.
38790 (libc_feholdexcept): Only define if undefined.
38791 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
38792 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
38793 (libc_feholdexcept_setroundl): Likewise.
38794 (libc_feholdexcept_setround_53bit): Likewise.
38795 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
38796 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
38797 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
38798 (libc_feupdateenv_53bit): Likewise.
38799 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
38800 (libc_feholdexcept): Convert from macro to inline function.
38801 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
38802 (libc_fesetenv, libc_feupdateenv): Likewise.
38803
4851a949
RH
38804 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
38805 not previously defined.
38806 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
38807 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
38808 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
38809 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
38810 * sysdeps/ieee754/flt-32/math_private.h: New file.
38811 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
38812 math_private.h below SET_FLOAT_WORD.
38813 (__isnan, __isinf_ns, __finite): Remove.
38814 (__isnanf, __isinf_nsf, __finitef): Remove.
38815
e79d442e
AS
388162012-03-18 Andreas Schwab <schwab@linux-m68k.org>
38817
38818 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38819
90b80344
DM
388202012-03-17 David S. Miller <davem@davemloft.net>
38821
38822 [BZ #6471]
38823 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
38824 for 2.16.
38825
edc21804
DM
388262012-03-16 David S. Miller <davem@davemloft.net>
38827
77e927af
DM
38828 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
38829 warnings.
38830
374976dd
DM
38831 [BZ #6471]
38832 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
38833 properly.
38834 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
38835 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
38836 sysdep_routines when subdir is sysvipc.
38837 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
38838 __getshmlba helper.
38839
edc21804
DM
38840 * sysdeps/sparc/fpu/libm-test/ulps: Update.
38841
473c3ef3
L
388422012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38843
38844 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
38845 [__LP64__].
38846
eb0f39b6
L
388472012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38848
38849 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
38850 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
38851 (__lround): Renamed to ...
38852 (__llround): This. Replace long int with long long int.
38853 Define lround functions as aliases of llround functions.
38854 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
38855
6b6cd74b
L
388562012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38857
38858 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
38859 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
38860 adresses to uintptr_t. Replace "long int" and "unsigned long
38861 int" with "greg_t" on va_arg.
38862
f1a77b01
L
388632012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38864
38865 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
38866 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
38867
38868 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
38869 Move e_machine check before EI_CLASS check. Handle x32
38870 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
38871 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
38872 SKIP_EM_IA_64 and include
38873 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
38874
38875 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
38876 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
38877 (add_system_dir): New macro.
38878
38879 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
38880 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
38881
11b90b9f
JM
388822012-03-16 Joseph Myers <joseph@codesourcery.com>
38883
c36e1d23
JM
38884 [BZ #2551]
38885 [BZ #2552]
38886 [BZ #2553]
38887 [BZ #2554]
38888 [BZ #2562]
38889 [BZ #2563]
38890 [BZ #2565]
38891 [BZ #2566]
38892 [BZ #2576]
38893 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
38894 (y0): Likewise.
38895 * math/w_j0f.c (j0f): Likewise.
38896 (y0f): Likewise.
38897 * math/w_j0l.c (__j0l): Likewise.
38898 (__y0l): Likewise.
38899 * math/w_j1.c (j1): Likewise.
38900 (y1): Likewise.
38901 * math/w_j1f.c (j1f): Likewise.
38902 (y1f): Likewise.
38903 * math/w_j1l.c (__j1l): Likewise.
38904 (__y1l): Likewise.
38905 * math/w_jn.c (jn): Likewise.
38906 (yn): Likewise.
38907 * math/w_jnf.c (jnf): Likewise.
38908 (ynf): Likewise.
38909 * math/w_jnl.c (__jnl): Likewise.
38910 (__ynl): Likewise.
38911 * math/libm-test.inc (j0_test): Add more tests.
38912 (j1_test): Likewise.
38913 (jn_test): Likewise. Add trailing semicolon to existing test.
38914 (y0_test): Likewise.
38915 (y1_test): Likewise.
38916 * sysdeps/i386/fpu/libm-test-ulps: Update.
38917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38918
11b90b9f
JM
38919 [BZ #13851]
38920 [BZ #13854]
38921 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
38922 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
38923 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
38924 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
38925 (__tanl): Set errno for infinite argument.
38926 * sysdeps/i386/fpu/mptan.c: Remove.
38927 * sysdeps/i386/fpu/s_tan.S: Likewise.
38928 * sysdeps/i386/fpu/s_tanl.S: Likewise.
38929 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
38930 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
38931 * math/libm-test.inc (tan_test): Add more tests and enable more
38932 tests for double and long double.
38933 * sysdeps/i386/fpu/libm-test-ulps: Update.
38934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38935
6a1bd2a1
JK
389362012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
38937
38938 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
38939 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
38940
10a803e0
RM
389412012-03-16 Roland McGrath <roland@hack.frob.com>
38942
38943 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
38944 * configure.in: Use it for both main tree and add-ons.
38945 * configure: Regenerated.
38946
f196c7f7
L
389472012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38948
38949 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
38950
8848d99d
JM
389512012-03-16 Joseph Myers <joseph@codesourcery.com>
38952
96cbe7f4
JM
38953 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
38954 in comment.
38955
8848d99d
JM
38956 [BZ #13851]
38957 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
38958 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
38959 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
38960 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
38961 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
38962 infinite argument.
38963 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
38964 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
38965 != 0 for prec == 2.
38966 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
38967 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
38968 * sysdeps/i386/fpu/s_cosl.S: Likewise.
38969 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
38970 * sysdeps/i386/fpu/s_sinl.S: Likewise.
38971 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
38972 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
38973 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
38974 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
38975 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
38976 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
38977 * math/libm-test.inc (cos_test): Add more tests and enable more
38978 tests for long double.
38979 (sin_test): Likewise.
38980 (sincos_test): Likewise.
38981 * sysdeps/i386/fpu/libm-test-ulps: Update.
38982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38983
dd7f4703
DM
389842012-03-16 David S. Miller <davem@davemloft.net>
38985
38986 * sysdeps/sparc/fpu/math_private.h: New file.
38987
006f1daa
DM
389882012-03-15 David S. Miller <davem@davemloft.net>
38989
c0c83bc8
DM
38990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
38991 file.
e6a62e18 38992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
38993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
38994 file.
e6a62e18
DM
38995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
38996 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
38997 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
38998 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
38999 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
39000 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
39001 sysdep routines.
39002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39003
88cb87d9
DM
39004 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
39005 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
39006
006f1daa 39007 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
39008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
39009 sparc-ifunc.h
006f1daa 39010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
39011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
39012 Likewise.
39013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
39014 Likewise.
006f1daa
DM
39015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
39016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
39017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
39018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39019 Likewise.
006f1daa
DM
39020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
39022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
39024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
39025 Likewise.
39026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
39027 Likewise.
006f1daa
DM
39028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
39030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
39031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
39032 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39033 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39034 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
39035 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
39036 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39037 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39038 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
39039 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
39040 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
39041 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
39042 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
39043 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
39044 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
39045 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
39046 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
39047 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
39048 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
39049 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
39050 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
39051 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
39052
11e0098e
AS
390532012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39054
39055 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
39056 scaling.
39057 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39058
e85b09d0
AJ
390592012-03-15 Andreas Jaeger <aj@suse.de>
39060
39061 [BZ #13852]
39062 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
39063 ieee754/flt-32 implementation for sin, cos and sincos.
39064 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
39065 * sysdeps/i386/fpu/s_cosf.S: Likewise.
39066 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
39067 * sysdeps/i386/fpu/s_sinf.S: Likewise.
39068 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
39069 ieee754/flt-32 implementation for tan.
39070
39071 * math/libm-test.inc (cos_test): Enable some large input tests for
39072 float as well
39073 (sin_test): Likewise.
39074 (sincos_test): Likewise.
39075 (tan_test): Add tests for large input.
39076
39077 * sysdeps/i386/fpu/libm-test-ulps: Update.
39078
81c64153
AJ
390792012-03-15 Andreas Jaeger <aj@suse.de>
39080
39081 [BZ #13658]
39082 * math/libm-test.inc (cos_test): Add more test cases.
39083 (sin_test): Likewise.
39084 (sincos_test): Likewise.
39085
7bbfa5c6
AJ
390862012-03-15 Andreas Jaeger <aj@suse.de>
39087
39088 [BZ #13837]
39089 * math/libm-test.inc (cos_test): Add a test case for large input
39090 value.
39091 (sin_test): Likewise.
39092 (sincos_test): Likewise.
39093
57f41c40
AS
390942012-03-15 Andreas Jaeger <aj@suse.de>
39095 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
39096
39097 [BZ #13658]
0671f479 39098 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
39099 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
39100 * sysdeps/i386/fpu/branred.c: Likewise.
39101 * sysdeps/i386/fpu/dosincos.c: Likewise.
39102 * sysdeps/i386/fpu/mpa.c: Likewise.
39103 * sysdeps/i386/fpu/s_cos.S: Likewise.
39104 * sysdeps/i386/fpu/s_sin.S: Likewise.
39105 * sysdeps/i386/fpu/s_sincos.S: Likewise.
39106 * sysdeps/i386/fpu/sincos32.c: Likewise.
39107
39108 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
39109 Define.
39110 (libc_feupdateenv_53bit): Define.
39111 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
39112 Define.
39113 (libc_feupdateenv_53bit): Define.
39114
39115 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
39116 53 bit (without extend i386 double precision).
39117
39118 * math/libm-test.inc (sincos_test): Add tests for large input.
39119 (sin): Likewise.
39120 (cos): Likewise.
39121
39122 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39123
9cad04ea
AS
391242012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39125
39126 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39127
f7062b9a
DM
391282012-03-15 David S. Miller <davem@davemloft.net>
39129
39130 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
39131 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
39132 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
39133 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
39134 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
39135 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
39136 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
39137 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
39138 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
39139 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
39140 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
39141 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
39142 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
39143 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
39144 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
39145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
39146 file.
f7062b9a 39147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
39148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
39149 file.
f7062b9a 39150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
39151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
39152 file.
f7062b9a 39153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
39154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
39155 file.
f7062b9a
DM
39156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
39157 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
39158 fmin/fmax sysdep routines.
39159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39160
7bd951ff
DM
391612012-03-14 David S. Miller <davem@davemloft.net>
39162
559398ab
DM
39163 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
39164 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
39165 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
39166 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
39167 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
39168 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
39169 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
39170 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
39171 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
39172 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
39173 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
39174 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
39175 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
39176 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
39177 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
39178 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
39179 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
39180 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
39181 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
39182 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
39183 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
39184 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
39185 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
39186 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
39187 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
39188 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
39189 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
39190 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
39191 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
39192 routines.
39193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
39194 file.
559398ab 39195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
39196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
39197 file.
559398ab 39198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
39199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
39200 file.
559398ab 39201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
39202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
39203 file.
559398ab 39204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
39205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
39206 file.
559398ab 39207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
39208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
39209 file.
39210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
39211 file.
39212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
39213 file.
39214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
39215 file.
39216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
39217 New file.
39218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
39219 file.
39220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
39221 file.
559398ab 39222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
39223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
39224 file.
559398ab 39225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
39226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
39227 file.
559398ab 39228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
39229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
39230 file.
559398ab 39231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
39232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
39233 VIS3 routines.
559398ab
DM
39234
39235 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39236 New file.
39237
5a1c1e32
DM
39238 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39239
eae47a36
DM
39240 * sysdeps/sparc/configure.in: New file.
39241 * sysdeps/sparc/configure: Generate.
39242 * configure.in (libc_cv_sparc_as_vis3): Substitute.
39243 * configure: Regenerate.
39244 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
39245 * config.make.in (have-as-vis3): New.
39246 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
39247 available use -Av9d instead of -Av9a.
39248 * sysdeps/sparc/sparc64/Makefile: Likewise.
39249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
39250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
39251 New file.
39252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
39253 file.
39254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
39255 New file.
39256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
39257 file.
eae47a36
DM
39258 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
39259 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
39260 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
39261 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
39262 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
39263
c0c83bc8
DM
39264 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
39265 fzeros/fnegs to load 0x80000000 into a float register instead of
39266 using the stack.
7bd951ff
DM
39267 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
39268
bd951ccb
JM
392692012-03-14 Joseph Myers <joseph@codesourcery.com>
39270
39271 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39272 bits/syscall.h.
39273 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
39274 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
39275 ($(inst_includedir)/bits/syscall.h): Remove rule.
39276 ($(objpfx)bits/syscall.d): Include instead of
39277 $(objpfx)syscall-list.d.
39278 (generated): Change syscall-list.h and syscall-list.d to
39279 bits/syscall.h and bits/syscall.d.
39280
bb4e6db2
RM
392812012-03-14 Roland McGrath <roland@hack.frob.com>
39282
39283 [BZ #13846]
39284 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
39285
aa4a2ae1
JM
392862012-03-14 Joseph Myers <joseph@codesourcery.com>
39287
e456826d
JM
39288 [BZ #13841]
39289 * math/s_csqrt.c: Include <float.h>.
39290 (__csqrt): Scale large or subnormal inputs.
39291 * math/s_csqrtf.c: Likewise.
39292 * math/s_csqrtl.c: Likewise.
39293 * math/libm-test.inc (csqrt_test): Add more tests.
39294 * sysdeps/i386/fpu/libm-test-ulps: Update.
39295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39296
aa4a2ae1
JM
39297 [BZ #13840]
39298 * math/libm-test.inc (hypot_test): Add more tests.
39299
7c10fd35
DM
393002012-03-13 David S. Miller <davem@davemloft.net>
39301
39302 [BZ #13840]
39303 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
39304 double-precision for the calculation instead of scaling.
39305
f453b98b
JM
393062012-03-13 Joseph Myers <joseph@codesourcery.com>
39307
39308 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
39309 manipulate bits before adding and subtracting TWO52[sx].
39310 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
39311 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
39312 Likewise.
39313 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
39314
09a3453f
DM
393152012-03-13 David S. Miller <davem@davemloft.net>
39316
8e59da90
DM
39317 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
39318 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
39319 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
39320 rtld-global-offsets.h
39321 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39322
2a8ab7f2
DM
39323 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
39324 large parameters.
39325
10f62770
DM
39326 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
39327
5f0bdb18
DM
39328 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
39329 'err' in the ifdef scope in which it is actually used.
39330
09a3453f
DM
39331 * nss/nss_db/db-init.c: Include string.h
39332
b4b2eb5e
DM
393332012-03-12 David S. Miller <davem@davemloft.net>
39334
98bb2f1c
DM
39335 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39336 masking out of the most significant byte of random value used.
39337 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39338 Fix coding style in previous change.
39339
b4b2eb5e
DM
39340 * sysdeps/unix/sysv/linux/kernel-features.h
39341 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
39342 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
39343 expression.
39344 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
39345 later.
39346
6e226b09
DM
393472012-03-11 David S. Miller <davem@davemloft.net>
39348
a1bcbd40
DM
39349 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39350 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
39351 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
39352 for 'resultvar' otherwise things get truncated on 64-bit.
39353
cb9d6174
DM
39354 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39355 Fix masking out of the most significant byte of random value used.
39356
6e226b09
DM
39357 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39358
058c132d
AS
393592012-03-10 Andreas Schwab <schwab@linux-m68k.org>
39360
39361 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39362
2d2cd515
DM
393632012-03-09 David S. Miller <davem@davemloft.net>
39364
39365 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
39366 variables with appropriate CPP guards.
57f41c40
AS
39367 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
39368 from the frame pointer, not the stack pointer. Correct layout
39369 comments. Fix test on resulting framesize and the management of
39370 the outregs buffer for pltexit. Preserve floating point return
39371 values across _dl_call_pltexit call.
2d2cd515
DM
39372 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
39373 framesize and the management of the outregs buffer for pltexit.
39374 Preserve floating point return values across _dl_call_pltexit
39375 call.
57f41c40
AS
39376 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
39377 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
39378 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
39379 (print_exit): Fix format string for return register value.
39380
9a07f9d0
JM
393812012-03-10 Joseph Myers <joseph@codesourcery.com>
39382
39383 * sunrpc/Makefile (others): Add rpcgen.
39384 ($(objpfx)rpcgen): Remove special build rule and dependency on
39385 libc.
39386 * sunrpc/rpcgen.c: New file.
39387
547b5e30
PE
393882012-03-09 Paul Eggert <eggert@cs.ucla.edu>
39389
c524201a
PE
39390 [BZ #13673]
39391 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
39392 * stdio-common/bug-vfprintf-nargs.c: Likewise.
39393 * sysdeps/i386/crti.S: Likewise.
39394 * sysdeps/i386/crtn.S: Likewise.
39395 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
39396 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
39397 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
39398 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
39399 * sysdeps/sh/crti.S: Likewise.
39400 * sysdeps/sh/crtn.S: Likewise.
39401 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39402
7b6235f2
PE
39403 [BZ #13673]
39404 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
39405 with URL.
39406 * locale/programs/locfile-kw.gperf: Likewise.
39407 * locale/programs/charmap-kw.h: Regenerated.
39408 * locale/programs/locfile-kw.h: Likewise.
39409
547b5e30
PE
39410 [BZ #13673]
39411 * intl/plural.y: Replace FSF snail mail address with URL.
39412 * intl/plural.c: Regenerated.
39413
5f0a5dae
RH
394142012-03-09 Richard Henderson <rth@twiddle.net>
39415
39416 * include/math_private.h: Remove file.
39417 * math/math_private.h: Move file ...
39418 * sysdeps/generic/math_private.h: ... here.
39419
b8c03620
RH
39420 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
39421 * sysdeps/powerpc/fpu/math_private.h: Likewise.
39422 * sysdeps/x86_64/fpu/math_private.h: Likewise.
39423
4e234f5d 39424 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
39425 and <math_private.h>.
39426 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39427 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39428 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39429 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39430 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39431 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
39432 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39433 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39434 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39435 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39436 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39437 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39438 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39439 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39440 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39441 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39442 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39443 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39444 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39445 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39446 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39447 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39448 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39449 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39450 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
39451 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39452 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39453 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39454 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39455 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39456 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39457 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39458 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
39459 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39460 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39461 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39462 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39463 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39464 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39465 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39466 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
39467 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39468 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39469 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
39470 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
39471 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39472 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
39473 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
39474 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39475 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39476 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
39477 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
39478 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
39479 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39480 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
39481 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39482 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39483 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39484 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
39485 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
39486 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39487 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
39488 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39489 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39490 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
39491 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39492 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39493 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39494 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
39495 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
39496 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
39497 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39498 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
39499 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39500 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
39501 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
39502 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
39503 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39504 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
39505 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
39506 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
39507 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
39508 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
39509 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39510 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39511 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
39512 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
39513 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
39514 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39515 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39516 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39517 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39518 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39519 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39520 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39521 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39522 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39523 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39524 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39525 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39526 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39527 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39528 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39529 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39530 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39531 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39532 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39533 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39534 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39535 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39536 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39537 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39538 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39539 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39540 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
39541 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39542 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39543 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39544 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39545 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39546 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39547 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39548 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39549 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
39550 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39551 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39552 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39553 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
39554 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39555 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
39556 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
39557 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39558 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39559 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
39560 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
39561 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39562 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39563 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39564 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
39565 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39566 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39567 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39568 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39569 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
39570 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
39571 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39572 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39573 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39574 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
39575 * sysdeps/ieee754/k_standard.c: Likewise.
39576 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39577 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39578 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39579 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39580 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39581 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39582 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39583 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39584 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39585 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39586 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39587 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39588 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39589 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39590 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39591 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39592 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
39593 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39594 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39595 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
39596 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
39597 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
39598 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39599 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39600 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
39601 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
39602 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39603 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39604 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39605 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39606 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
39607 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39608 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39609 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39610 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
39611 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39612 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39613 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
39614 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
39615 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39616 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
39617 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
39618 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
39619 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39620 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
39621 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
39622 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39623 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39624 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39625 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39626 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39627 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
39628 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39629 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
39630 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39631 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39632 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
39633 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
39634 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39635 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39636 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39637 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
39638 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39639 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39640 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39641 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39642 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39643 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39644 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39645 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39646 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39647 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39648 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39649 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39650 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39651 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39652 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
39653 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39654 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39655 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
39656 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
39657 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
39658 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39659 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39660 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
39661 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39662 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39663 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
39664 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39665 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39666 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
39667 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39668 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
39669 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
39670 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39671 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39672 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
39673 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
39674 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
39675 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
39676 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39677 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39678 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39679 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39680 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
39681 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39682 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39683 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
39684 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
39685 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39686 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39687 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39688 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39689 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39690 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39691 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39692 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39693 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39694 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39695 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39696 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39697 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39698 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39699 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39700 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39701 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
39702 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39703 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39704 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39705 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39706 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39707 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39708 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39709 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
39710 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39711 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39712 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
39713 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
39714 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39715 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
39716 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
39717 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39718 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
39719 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
39720 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39721 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39722 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39723 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39724 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39725 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
39726 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39727 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39728 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39729 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39730 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
39731 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
39732 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39733 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39734 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39735 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
39736 * sysdeps/ieee754/s_lib_version.c: Likewise.
39737 * sysdeps/ieee754/s_matherr.c: Likewise.
39738 * sysdeps/ieee754/s_signgam.c: Likewise.
39739 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39740 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39741 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
39742 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
39743 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
39744 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39745 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
39746 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
39747 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
39748 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
39749 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
39750 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
39751 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39752 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39753 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
39754 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39755 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39756 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39757 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39758 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39759 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 39760
1991fa03
JM
397612012-03-09 Joseph Myers <joseph@codesourcery.com>
39762
39763 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
39764 * sunrpc/rpc_main.c: Likewise.
39765 * sunrpc/rpc_svcout.c: Likewise.
39766
60d6f5a6
DM
397672012-03-09 David S. Miller <davem@davemloft.net>
39768
39769 * include/math_private.h: New file.
39770
4962050e
JM
397712012-03-09 Joseph Myers <joseph@codesourcery.com>
39772
02a6f887
JM
39773 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
39774 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
39775 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
39776 from <bits/socket_type.h>.
39777 (enum __socket_type): Don't define here.
39778 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
39779 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39780 bits/socket_type.h.
39781
c6e013c1
JM
39782 [BZ #13566]
39783 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
39784 checking __USE_GNU.
39785
4962050e
JM
39786 * Makerules ($(inst_includedir)/%.h): New rule.
39787 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
39788 (install-others): Remove variable setting.
39789 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
39790
38842f45
RH
397912012-03-08 Richard Henderson <rth@twiddle.net>
39792
67bb6da6
RH
39793 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
39794 from macro to inline function; merge with the
39795 !__LIBC_INTERNAL_MATH_INLINES version.
39796 (__ieee754_sqrtf): Likewise.
39797
15194b4b
RH
39798 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
39799 to inline function.
39800 (__rintf, __floor, __floorf): Likewise.
39801
64e21ede
RH
39802 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
39803 macro to inline function.
39804 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
39805
38842f45
RH
39806 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
39807 not <math/math_private.h>.
39808
c64bf5fe
DM
398092012-03-08 David S. Miller <davem@davemloft.net>
39810
39811 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
39812 copyright year.
39813 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
39814
82d86f28
TS
398152012-03-08 Thomas Schwinge <thomas@codesourcery.com>
39816
39817 * resolv/gai_misc.c (handle_requests): Fix struct timespec
39818 normalization.
39819 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
39820 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39821
aea5d727
UD
398222012-03-08 Ulrich Drepper <drepper@gmail.com>
39823
39824 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
39825 be defined individually, they must be defined as a block. Define
39826 S for printing a string instead of hidint the different by using a
39827 macro for adding the 'l'.
39828 * stdio-common/tst-fphex-wide.c: Adjust.
39829
70bca0a3
MP
398302012-03-07 Marek Polacek <polacek@redhat.com>
39831
39832 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
39833
65b81130
MP
398342012-03-08 Marek Polacek <polacek@redhat.com>
39835
39836 [BZ #13806]
39837 * stdio-common/Makefile (tests): Add tst-fphex-wide.
39838 * stdio-common/tst-fphex.c: Define a few macros to make the
39839 test reusable. Use them.
39840 * stdio-common/tst-fphex-wide.c: New file.
39841
07037eeb
JM
398422012-03-08 Joseph Myers <joseph@codesourcery.com>
39843
a7a93d50
JM
39844 [BZ #6911]
39845 * manual/macros.texi (gnusystems): New macro.
39846 (nongnusystems): Likewise.
39847 (gnulinuxhurdsystems): Likewise.
39848 (gnuhurdsystems): Likewise..
39849 (gnulinuxsystems): Likewise.
39850 * manual/charset.texi: Use new macros or @theglibc{} to refer to
39851 variants of the GNU system, not "GNU system".
39852 * manual/conf.texi: Likewise.
39853 * manual/errno.texi: Likewise. Update example of errno macro
39854 expansion.
39855 * manual/filesys.texi: Likewise.
39856 (getumask): Document as specific to GNU/Hurd.
39857 * manual/install.texi: Likewise. Reword some references to
39858 GNU/Linux.
39859 * manual/intro.texi: Likewise.
39860 * manual/io.texi: Likewise.
39861 (File Name Portability): Detail which constraints are inapplicable
39862 to all GNU systems and which are only inapplicable to GNU/Hurd.
39863 * manual/job.texi: Likewise.
39864 * manual/llio.texi: Likewise.
39865 (O_NOCTTY): Document as present on GNU/Linux.
39866 * manual/maint.texi: Likewise.
39867 * manual/memory.texi: Likewise.
39868 * manual/pattern.texi: Likewise.
39869 * manual/pipe.texi: Likewise.
39870 * manual/process.texi: Likewise.
39871 * manual/resource.texi: Likewise.
39872 (RUSAGE_CHILDREN): Remove statement about specifying a particular
39873 child on GNU/Hurd.
39874 * manual/setjmp.texi: Likewise.
39875 * manual/signal.texi: Likewise.
39876 * manual/startup.texi: Likewise.
39877 * manual/stdio.texi: Likewise.
39878 * manual/terminal.texi: Likewise.
39879 (ONLCR): Document as POSIX.
39880 (OXTABS): Document availability on GNU/Linux as XTABS.
39881 (ONOEOT): Document availability separately from other bits.
39882 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
39883 * manual/time.texi: Likewise.
39884 * manual/users.texi: Likewise.
39885 * INSTALL: Regenerated.
39886 * sysdeps/gnu/errlist.c: Regenerated.
39887
07037eeb
JM
39888 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
39889 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
39890 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
39891 puts.
39892 * configure: Regenerated.
39893
d1d3431a
JM
398942012-03-07 Joseph Myers <joseph@codesourcery.com>
39895
af6a1e37
JM
39896 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
39897 default includes instead of AC_HEADER_CHECK.
39898 * sysdeps/i386/configure: Regenerated.
39899
d1d3431a
JM
39900 [BZ #10716]
39901 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
39902 * math/s_cacoshf.c (__cacoshf): Likewise.
39903 * math/s_cacoshl.c (__cacoshl): Likewise.
39904 * math/s_casinh.c (__casinh): Set signs of result from argument.
39905 * math/s_casinhf.c (__casinhf): Likewise.
39906 * math/s_casinhl.c (__casinhl): Likewise.
39907 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
39908 (casinh_test): Add more tests.
39909 * sysdeps/i386/fpu/libm-test-ulps: Update.
39910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39911
482ff4da
UD
399122012-03-07 Ulrich Drepper <drepper@gmail.com>
39913
872fda05
UD
39914 * po/zh_TW.po: Update from translation team.
39915
a4300c7a
UD
39916 * login/Makefile (distribute): Remove variable.
39917 * catgets/Makefile: Likewise.
39918 * mach/Makefile: Likewise.
39919 * malloc/Makefile: Likewise.
39920 * misc/Makefile: Likewise.
39921 * iconv/Makefile: Likewise.
39922 * nscd/Makefile: Likewise.
39923 * hurd/Makefile: Likewise.
39924 * manual/Makefile: Likewise.
39925 * locale/Makefile: Likewise.
39926 * intl/Makefile: Likewise.
39927 * conform/Makefile: Likewise.
39928 * nss/Makefile: Likewise.
39929 * time/Makefile: Likewise.
39930 * soft-fp/Makefile: Likewise.
39931 * dirent/Makefile: Likewise.
39932 * gmon/Makefile: Likewise.
39933 * po/Makefile: Likewise.
39934 * rt/Makefile: Likewise.
39935 * socket/Makefile: Likewise.
39936 * math/Makefile: Likewise.
39937 * signal/Makefile: Likewise.
39938 * debug/Makefile: Likewise.
39939 * elf/Makefile: Likewise.
39940 * timezone/Makefile: Likewise.
39941 * stdlib/Makefile: Likewise.
39942 * iconvdata/Makefile: Likewise.
39943 * sunrpc/Makefile: Likewise.
39944 * io/Makefile: Likewise.
39945 * argp/Makefile: Likewise.
39946 * inet/Makefile: Likewise.
39947 * hesiod/Makefile: Likewise.
39948 * grp/Makefile: Likewise.
39949 * csu/Makefile: Likewise.
39950 * wctype/Makefile: Likewise.
39951 * crypt/Makefile: Likewise.
39952 * libio/Makefile: Likewise.
39953 * string/Makefile: Likewise.
39954 * nis/Makefile: Likewise.
39955 * resolv/Makefile: Likewise.
39956 * stdio-common/Makefile: Likewise.
39957 * wcsmbs/Makefile: Likewise.
39958 * dlfcn/Makefile: Likewise.
39959 * posix/Makefile: Likewise.
39960
3b7c4e74 39961 [BZ #6959]
482ff4da
UD
39962 * timezone/Makefile: Don't install timezone files, just the programs
39963 and scripts.
39964
f72ed77d
UD
399652012-03-06 Ulrich Drepper <drepper@gmail.com>
39966
a000466f
UD
39967 * nss/databases.def: Add missing gshadow entry.
39968
f72ed77d
UD
39969 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
39970
a53b7a4e
MP
399712012-03-06 Marek Polacek <polacek@redhat.com>
39972
39973 [BZ #13726]
39974 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
39975 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39976 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
39977 * stdio-common/tst-long-dbl-fphex.c: New file.
39978
e9258400
DM
399792012-03-06 David S. Miller <davem@davemloft.net>
39980
39981 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39982 (set_obp_int): New function.
39983 (get_obp_int): New function.
39984 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
39985 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
39986 Avoid unused variable warnings on 'val' and use builtin_expect.
39987 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
39988 __builtin_expect.
e9258400
DM
39989 (INLINE_CLONE_SYSCALL): Likewise.
39990
3bd2c723
DM
399912012-03-05 David S. Miller <davem@davemloft.net>
39992
39993 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39994
bbb78d03
AS
399952012-03-05 Andreas Schwab <schwab@linux-m68k.org>
39996
884c5db4
AS
39997 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39998
bbb78d03
AS
39999 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
40000 only for |x| >= 40.
40001 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40002
1c9f702a 400032012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
40004
40005 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
40006 Replace gettimeofday with __vdso_gettimeofday.
40007
7be16f82
RM
40008 * sysdeps/unix/sysv/linux/x86_64/init-first.c
40009 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
40010 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
40011
40012 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
40013 time with __vdso_time.
40014
ed58a00f
JM
400152012-03-05 Joseph Myers <joseph@codesourcery.com>
40016
40017 * manual/lang.texi (size_t): Note types to which size_t may be
40018 equivalent with the GNU C Library, but do not describe when
40019 differences between them are significant.
40020
30ee4ced
AJ
400212012-03-05 Andreas Jaeger <aj@suse.de>
40022
40023 * sysdeps/i386/fpu/libm-test-ulps: Update.
40024
b7cd39e8
JM
400252012-03-05 Joseph Myers <joseph@codesourcery.com>
40026
40027 [BZ #3976]
40028 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
40029 (__ieee754_pow): Save and restore rounding mode and use
40030 round-to-nearest for main computations.
40031 * math/libm-test.inc (pow_test_tonearest): New function.
40032 (pow_test_towardzero): Likewise.
40033 (pow_test_downward): Likewise.
40034 (pow_test_upward): Likewise.
40035 (main): Call the new functions.
40036 * sysdeps/i386/fpu/libm-test-ulps: Update.
40037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
40038
40039 [BZ #3976]
40040 * math/libm-test.inc (cosh_test_tonearest): New function.
40041 (cosh_test_towardzero): Likewise.
40042 (cosh_test_downward): Likewise.
40043 (cosh_test_upward): Likewise.
40044 (sinh_test_tonearest): Likewise.
40045 (sinh_test_towardzero): Likewise.
40046 (sinh_test_downward): Likewise.
40047 (sinh_test_upward): Likewise.
40048 (main): Call the new functions.
40049 * sysdeps/i386/fpu/libm-test-ulps: Update.
40050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40051
6c6a98c9
TV
400522012-03-05 Tom de Vries <tom@codesourcery.com>
40053
40054 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
40055 default stack guard is set in last bytes.
40056 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
40057
21bb2d2e 400582012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 40059
21bb2d2e 40060 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 40061
21bb2d2e
AJ
40062 [BZ #13656]
40063 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
40064 possibly allocate from heap instead of stack.
40065 * stdio-common/bug-vfprintf-nargs.c: New file.
40066 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 40067
c6922934
AS
400682012-03-03 Andreas Schwab <schwab@linux-m68k.org>
40069
40070 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40071
bc957d53
MP
400722012-03-03 Marek Polacek <polacek@redhat.com>
40073
40074 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
40075 * math/math_private.h: Likewise.
40076 * stdlib/tst-strtod.c: Likewise.
40077 * sysdeps/i386/i486/bits/atomic.h: Likewise.
40078 * sysdeps/x86_64/bits/atomic.h: Likewise.
40079
6358490d
DM
400802012-03-02 David S. Miller <davem@davemloft.net>
40081
40082 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
40083 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
40084 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
40085 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
40086 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
40087 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
40088 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
40089 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
40090
01ae168d
RM
400912012-03-02 Roland McGrath <roland@hack.frob.com>
40092
d9a17c07
RM
40093 [BZ #13792]
40094 * manual/examples/README: New file, says the example source files
40095 can be used under GPL>=2.
40096 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
40097 line containing just "*/".
40098 * manual/examples/add.c: Add copyright header (GPL>=2).
40099 * manual/examples/argp-ex1.c: Likewise.
40100 * manual/examples/argp-ex2.c: Likewise.
40101 * manual/examples/argp-ex3.c: Likewise.
40102 * manual/examples/argp-ex4.c: Likewise.
40103 * manual/examples/atexit.c: Likewise.
40104 * manual/examples/db.c: Likewise.
40105 * manual/examples/dir.c: Likewise.
40106 * manual/examples/dir2.c: Likewise.
40107 * manual/examples/execinfo.c: Likewise.
40108 * manual/examples/filecli.c: Likewise.
40109 * manual/examples/filesrv.c: Likewise.
40110 * manual/examples/fmtmsgexpl.c: Likewise.
40111 * manual/examples/genpass.c: Likewise.
40112 * manual/examples/inetcli.c: Likewise.
40113 * manual/examples/inetsrv.c: Likewise.
40114 * manual/examples/isockad.c: Likewise.
40115 * manual/examples/longopt.c: Likewise.
40116 * manual/examples/memopen.c: Likewise.
40117 * manual/examples/memstrm.c: Likewise.
40118 * manual/examples/mkfsock.c: Likewise.
40119 * manual/examples/mkisock.c: Likewise.
40120 * manual/examples/mygetpass.c: Likewise.
40121 * manual/examples/pipe.c: Likewise.
40122 * manual/examples/popen.c: Likewise.
40123 * manual/examples/rprintf.c: Likewise.
40124 * manual/examples/search.c: Likewise.
40125 * manual/examples/select.c: Likewise.
40126 * manual/examples/setjmp.c: Likewise.
40127 * manual/examples/sigh1.c: Likewise.
40128 * manual/examples/sigusr.c: Likewise.
40129 * manual/examples/stpcpy.c: Likewise.
40130 * manual/examples/strdupa.c: Likewise.
40131 * manual/examples/strftim.c: Likewise.
40132 * manual/examples/strncat.c: Likewise.
40133 * manual/examples/subopt.c: Likewise.
40134 * manual/examples/swapcontext.c: Likewise.
40135 * manual/examples/termios.c: Likewise.
40136 * manual/examples/testopt.c: Likewise.
40137 * manual/examples/testpass.c: Likewise.
40138 * manual/examples/timeval_subtract.c: Likewise.
40139
01ae168d
RM
40140 [BZ #13792]
40141 * manual/time.texi (Elapsed Time): Move timeval_subtract example
40142 function to ...
40143 * manual/timeval_subtract.c.texi: ... here, new file.
40144
49efa33d
DM
401452012-03-02 David S. Miller <davem@davemloft.net>
40146
40147 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
40148
28afd92d
JM
401492012-03-02 Joseph Myers <joseph@codesourcery.com>
40150
804360ed
JM
40151 [BZ #3976]
40152 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
40153 (__sin): Save and restore rounding mode and use round-to-nearest
40154 for all computations.
40155 (__cos): Save and restore rounding mode and use round-to-nearest
40156 for all computations.
40157 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
40158 <fenv.h>.
40159 (tan): Save and restore rounding mode and use round-to-nearest for
40160 all computations.
40161 * math/libm-test.inc (cos_test_tonearest): New function.
40162 (cos_test_towardzero): Likewise.
40163 (cos_test_downward): Likewise.
40164 (cos_test_upward): Likewise.
40165 (sin_test_tonearest): Likewise.
40166 (sin_test_towardzero): Likewise.
40167 (sin_test_downward): Likewise.
40168 (sin_test_upward): Likewise.
40169 (tan_test_tonearest): Likewise.
40170 (tan_test_towardzero): Likewise.
40171 (tan_test_downward): Likewise.
40172 (tan_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
a6d06d7b
JM
40177 [BZ #10135]
40178 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
40179 small n, then large n, before computing and testing k+n.
40180 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40181 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
40182 Likewise.
40183 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
40184 Likewise.
40185 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
40186 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
40187 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
40188 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
40189 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40190 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40191 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
40192 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
40193 * math/libm-test.inc (scalbn_test): Add more tests.
40194 (scalbln_test): Likewise.
40195
07e12bb3
JM
40196 * manual/filesys.texi (mode_t): Describe constraints on size and
40197 signedness, not exact equivalence to a particular type.
40198 (ino_t): Likewise.
40199 (ino64_t): Likewise.
40200 (dev_t): Likewise.
40201 (nlink_t): Likewise.
40202 (blkcnt_t): Likewise.
40203 (blkcnt64_t): Likewise.
40204 * manual/llio.texi (off_t): Likewise.
40205
28afd92d
JM
40206 [BZ #3976]
40207 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
40208 (__ieee754_exp): Save and restore rounding mode and use
40209 round-to-nearest for all computations.
40210 * math/libm-test.inc (exp_test_tonearest): New function.
40211 (exp_test_towardzero): Likewise.
40212 (exp_test_downward): Likewise.
40213 (exp_test_upward): Likewise.
40214 (main): Call the new functions.
40215 * sysdeps/i386/fpu/libm-test-ulps: Update.
40216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40217
b1eeb65d
CD
402182012-03-01 Chris Demetriou <cgd@google.com>
40219
40220 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
40221 have predictable order.
40222
53362a4b
DM
402232012-03-01 David S. Miller <davem@davemloft.net>
40224
3c969083
DM
40225 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
40226
759707de
DM
40227 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
40228 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
40229 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
40230 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
40231
dfdb8ff2
DM
40232 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
40233 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
40234 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
40235 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
40236 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
40237 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
40238 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
40239 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
40240 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
40241
ead89f96
DM
40242 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40243
7f66bd07
DM
40244 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
40245 * sysdeps/sparc/fpu/libm-test-ulps: to here.
40246 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
40247
53362a4b
DM
40248 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
40249 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40250 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40251 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
40252 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
40253 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
40254 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
40255 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40256 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40257 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
40258 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
40259 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40260 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40261 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40262 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40263 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40264 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
40265 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
40266 * sysdeps/sparc/elf/configure: Regenerated.
40267
7b1902cb
JM
402682012-03-01 Joseph Myers <joseph@codesourcery.com>
40269
bec039bc
JM
40270 * configure.in (AS, LD): Require binutils 2.20 or later.
40271 * configure: Regenerated.
40272 * manual/install.texi (Tools for Compilation): Give binutils 2.20
40273 as required minimum version.
40274 * INSTALL: Regenerated.
40275
7b1902cb
JM
40276 [BZ #2541]
40277 [BZ #4108]
40278 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
40279 before squaring exponent.
40280 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
40281 bottom long double and 27 bits of top long double before squaring
40282 exponent.
40283 * math/libm-test.inc (erfc_test): Add more tests.
40284 * sysdeps/i386/fpu/libm-test-ulps: Update.
40285 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40287
f775c276
KT
402882012-03-01 Kai Tietz <ktietz@redhat.com>
40289
40290 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
40291 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
40292 containing bit-fields.
40293 * soft-fp/extended.h (_FP_UNION_E): Likewise.
40294 * soft-fp/single.h (_FP_UNION_S): Likewise.
40295 * soft-fp/double.h (_FP_UNION_D): Likewise.
40296
5b8a4d4a
JM
402972012-02-29 Joseph Myers <joseph@codesourcery.com>
40298
0bab47b6
JM
40299 [BZ #13786]
40300 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
40301 not include ../strcmp.S.
40302 [USE_AS_STRNCASECMP_L]: Likewise.
40303 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
40304 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
40305 * sysdeps/i386/i686/multiarch/strncase_l-c.c
40306 (__strncasecmp_l_ia32): Define as alias to
40307 __strncasecmp_l_nonascii.
40308
0fcad3e2
JM
40309 [BZ #5794]
40310 * math/libm-test.inc (expm1_test): Add test for bug 5794.
40311 * sysdeps/i386/fpu/libm-test-ulps: Update.
40312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40313
5b8a4d4a
JM
40314 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
40315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40316
8fdceb2e
JL
403172012-02-29 Jeff Law <law@redhat.com>
40318
40319 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
40320 out of bounds read.
40321
1f393a11
MP
403222012-02-29 Marek Polacek <polacek@redhat.com>
40323
40324 [BZ #13706]
40325 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
40326 * elf/Makefile: Add rules to run tst-unused-dep.out.
40327
8847f037
DM
403282012-02-28 David S. Miller <davem@davemloft.net>
40329
40330 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
40331 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
40332 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
40333 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
40334 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
40335 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
40336
169d7f11
JM
403372012-02-29 Joseph Myers <joseph@codesourcery.com>
40338
40339 * math/libm-test.inc (llround_test): Move one test from
40340 lround_test. Use TEST_f_L in moved test.
40341 (lround_test): Move misplaced test to llround_test. Add testcase
40342 from bug 2561.
40343
39adf059
UD
403442012-02-28 Ulrich Drepper <drepper@gmail.com>
40345
40346 * sysdeps/x86_64/fpu/e_expf.S: New file.
40347 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
40348
71b5d1c5
SB
403492012-02-28 Stanislav Brabec <sbrabec@suse.cz>
40350
40351 [BZ #13637]
40352 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
40353 of remain_len that may cause incomplete multi-byte character and
40354 false match.
40355 * posix/bug-regex33.c: New file.
40356 * posix/Makefile (tests): Add bug-regex33.
40357
1f77f049
JM
403582012-02-28 Joseph Myers <joseph@codesourcery.com>
40359
40360 * manual/macros.texi: New file.
40361 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
40362 * manual/libc.texinfo: Include macros.texi.
40363 * manual/creatute.texi: Likewise.
40364 * manual/install.texi: Likewise.
40365 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
40366 @glibcadj{} in references to the GNU C Library.
40367 * manual/charset.texi: Likewise.
40368 * manual/conf.texi: Likewise.
40369 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
40370 when not using those macros.
40371 * manual/creature.texi: Likewise.
40372 * manual/crypt.texi: Likewise.
40373 * manual/errno.texi: Likewise.
40374 * manual/filesys.texi: Likewise.
40375 * manual/header.texi: Likewise.
40376 * manual/install.texi: Likewise.
40377 * manual/intro.texi: Likewise.
40378 * manual/io.texi: Likewise.
40379 * manual/job.texi: Likewise.
40380 * manual/lang.texi: Likewise.
40381 * manual/libc.texiinfo: Likewise.
40382 * manual/llio.texi: Likewise.
40383 * manual/locale.texi: Likewise.
40384 * manual/maint.texi: Likewise.
40385 * manual/math.texi: Likewise.
40386 * manual/memory.texi: Likewise.
40387 * manual/message.texi: Likewise.
40388 * manual/nss.texi: Likewise.
40389 * manual/pattern.texi: Likewise.
40390 * manual/process.texi: Likewise.
40391 * manual/resource.texi: Likewise.
40392 * manual/search.texi: Likewise.
40393 * manual/setjmp.texi: Likewise.
40394 * manual/signal.texi: Likewise.
40395 * manual/socket.texi: Likewise.
40396 * manual/startup.texi: Likewise.
40397 * manual/stdio.texi: Likewise.
40398 * manual/string.texi: Likewise.
40399 * manual/sysinfo.texi: Likewise.
40400 * manual/syslog.texi: Likewise.
40401 * manual/terminal.texi: Likewise.
40402 * manual/time.texi: Likewise.
40403 * manual/users.texi: Likewise.
40404 * INSTALL: Regenerated.
40405 * NOTES: Regenerated.
d40c5d54 40406 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 40407
450bf206
AS
404082012-02-28 Andreas Schwab <schwab@linux-m68k.org>
40409
40410 * include/dirent.h: Include <dirstream.h> before
40411 <dirent/dirent.h>.
40412
741a235b
DM
404132012-02-28 David S. Miller <davem@davemloft.net>
40414
40415 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
40416 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
40417 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
40418 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
40419
d6b5aa58
DM
404202012-02-27 David S. Miller <davem@davemloft.net>
40421
1aff59a3
DM
40422 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
40423 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
40424 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
40425 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
40426
d6b5aa58
DM
40427 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
40428 frame pointer instead of stack pointer relative arg slot.
40429 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40430 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40431 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40432
433f48bf
CD
404332012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
40434
40435 [BZ #3992]
40436 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
40437
d674b76d
DM
404382012-02-27 David S. Miller <davem@davemloft.net>
40439
40440 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
40441 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40442 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40443 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
40444 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40445 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40446 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
40447 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
40448
0e7727f7
JM
404492012-02-27 Joseph Myers <joseph@codesourcery.com>
40450
40451 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
40452 later. Allow versions 5-9.
43be4ca2 40453 * configure: Regenerated.
0e7727f7
JM
40454 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
40455 required minimum version and 4.6 as recommended version. Do not
40456 mention bugs in GCC 2.7 and 2.8.
43be4ca2 40457 * INSTALL: Regenerated.
0e7727f7 40458
a78bc654
DM
404592012-02-27 David S. Miller <davem@davemloft.net>
40460
428d5830
DM
40461 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
40462 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
40463 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
40464 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
40465 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
40466 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
40467 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
40468 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
40469
a78bc654
DM
40470 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
40471 manipulate bits before adding and subtracting TWO112[sx].
40472 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
40473
4579f81c
RM
404742012-02-27 Roland McGrath <roland@hack.frob.com>
40475
36c8acb4
RM
40476 [BZ #13775]
40477 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
40478 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
40479 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
40480 being in POSIX, because they are in 1003.1-2008.
40481
84ad622b
RM
40482 * rt/tst-aio.c: Include <fcntl.h>.
40483 * rt/tst-aio7.c: Likewise.
40484 * rt/tst-aio64.c: Likewise.
40485
4579f81c
RM
40486 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
40487
abd923db
JM
404882012-02-27 Joseph Myers <joseph@codesourcery.com>
40489
40490 * manual/install.texi (--with-headers): Describe headers as
40491 interface headers, not private headers.
40492 (Specific advice for GNU/Linux systems): Describe use of headers
40493 from "make headers_install", not private headers from older
40494 kernels.
43be4ca2 40495 * INSTALL: Regenerated.
abd923db
JM
40496 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
40497 Change to 2.6.19.
40498 * sysdeps/unix/sysv/linux/configure: Regenerated.
40499
6664049b
JM
40500 * manual/llio.texi (fclean): Remove documentation.
40501
bb8b6697
JM
40502 * manual/Makefile (libc-texi-generated): New variable. Include
40503 version.texi.
40504 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
40505 $(libc-texi-generated), not duplicated list of files.
40506 (version.texi, stamp-version): New rules.
40507 (realclean): Remove $(libc-texi-generated), not individual files
40508 from that list. Do not remove dir-add.texinfo.
40509 * manual/libc.texinfo: Comment out uses of edition numbers and
40510 references to printed manual. Remove last-updated dates.
40511 (EDITION): Comment out.
40512 (ISBN): Likewise.
40513 (VERSION, UPDATED): Remove.
40514 (version.texi): Include.
40515
12e5c3b9
AS
405162012-02-27 Andreas Schwab <schwab@linux-m68k.org>
40517
40518 * sysdeps/posix/spawni.c: Include <signal.h>.
40519 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
40520 * sysdeps/pthread/aio_fsync.c: Likewise.
40521
4efeffc1 405222012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 40523
ba63ba08
UD
40524 * conform/Makefile (tests): Run only when not cross-compiling and
40525 when fast-check is not defined.
40526
d94a4670
UD
40527 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
40528 * conform/data/limits.h-data: Fixes for POSIX2008.
40529 * conform/run-conformtest.sh: Run all tests.
40530 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
40531 headers.
40532 * include/bits/dlfcn.h: Likewise.
40533 * include/langinfo.h: Likewise.
40534 * include/monetary.h: Likewise.
40535 * include/sys/poll.h: Likewise.
40536
40537 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
40538 for __USE_GNU.
40539 * posix/spawn.h: Define __need_sigset_t.
40540 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
40541 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
40542 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
40543 to get sigevent_t only.
40544 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
40545 only for __USE_GNU.
40546 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40547 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40548 process_vm_writev only for __USE_GNU.
40549 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
40550
40551 * conform/Makefile: For now ignore errors from run-conformtest.
40552 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
40553 POSIX to avoid namespace pollution. Don't prepend headers.
40554 * conform/data/aio.h-data: Fixes for POSIX testing.
40555 * conform/data/fcntl.h-data: Likewise.
40556 * conform/data/glob.h-data: Likewise.
40557 * conform/data/grp.h-data: Likewise.
40558 * conform/data/pthread.h-data: Likewise.
40559 * conform/data/pwd.h-data: Likewise.
40560 * conform/data/signal.h-data: Likewise.
40561 * conform/data/spawn.h-data: Likewise.
40562 * conform/data/stdio.h-data: Likewise.
40563 * conform/data/stdlib.h-data: Likewise.
40564 * conform/data/stropts.h-data: Likewise.
40565 * conform/data/sys/mman.h-data: Likewise.
40566 * conform/data/sys/stat.h-data: Likewise.
40567 * conform/data/sys/types.h-data: Likewise.
40568 * conform/data/sys/wait.h-data: Likewise.
40569 * conform/data/time.h-data: Likewise.
40570 * conform/data/unistd.h-data: Likewise.
40571 * conform/data/utime.h-data: Likewise.
40572
40573 * io/sys/stat.h: fchmod was always in POSIX.
40574 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
40575 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
40576 * rt/aio.h: Define __need_timespec before including <time.h>.
40577 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
40578 struct. Add forward declaration of pthread_attr_t and use it in
40579 sigevent.
40580 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40581 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40582 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
40583 always remove CLK_TCK definition.
40584
c20105c3
AS
405852012-02-26 Andreas Schwab <schwab@linux-m68k.org>
40586
40587 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
40588
7a270350
UD
405892012-02-25 Ulrich Drepper <drepper@gmail.com>
40590
31341567
UD
40591 * conform/run-conformtest.sh: New file.
40592 * conform/Makefile: Run run-conformtest for tests.
40593 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
40594 support.
40595
40596 * conform/data/uchar.h-data: New file.
40597 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
40598 * conform/data/arpa/inet.h-data: Likewise.
40599 * conform/data/assert.h-data: Likewise.
40600 * conform/data/complex.h-data: Likewise.
40601 * conform/data/cpio.h-data: Likewise.
40602 * conform/data/ctype.h-data: Likewise.
40603 * conform/data/dirent.h-data: Likewise.
40604 * conform/data/dlfcn.h-data: Likewise.
40605 * conform/data/errno.h-data: Likewise.
40606 * conform/data/fcntl.h-data: Likewise.
40607 * conform/data/float.h-data: Likewise.
40608 * conform/data/fmtmsg.h-data: Likewise.
40609 * conform/data/fnmatch.h-data: Likewise.
40610 * conform/data/ftw.h-data: Likewise.
40611 * conform/data/glob.h-data: Likewise.
40612 * conform/data/grp.h-data: Likewise.
40613 * conform/data/iconv.h-data: Likewise.
40614 * conform/data/inttypes.h-data: Likewise.
40615 * conform/data/langinfo.h-data: Likewise.
40616 * conform/data/libgen.h-data: Likewise.
40617 * conform/data/limits.h-data: Likewise.
40618 * conform/data/locale.h-data: Likewise.
40619 * conform/data/math.h-data: Likewise.
40620 * conform/data/monetary.h-data: Likewise.
40621 * conform/data/mqueue.h-data: Likewise.
40622 * conform/data/ndbm.h-data: Likewise.
40623 * conform/data/net/if.h-data: Likewise.
40624 * conform/data/netdb.h-data: Likewise.
40625 * conform/data/netinet/in.h-data: Likewise.
40626 * conform/data/nl_types.h-data: Likewise.
40627 * conform/data/poll.h-data: Likewise.
40628 * conform/data/pthread.h-data: Likewise.
40629 * conform/data/pwd.h-data: Likewise.
40630 * conform/data/regex.h-data: Likewise.
40631 * conform/data/sched.h-data: Likewise.
40632 * conform/data/search.h-data: Likewise.
40633 * conform/data/semaphore.h-data: Likewise.
40634 * conform/data/setjmp.h-data: Likewise.
40635 * conform/data/signal.h-data: Likewise.
40636 * conform/data/spawn.h-data: Likewise.
40637 * conform/data/stdarg.h-data: Likewise.
40638 * conform/data/stdio.h-data: Likewise.
40639 * conform/data/stdlib.h-data: Likewise.
40640 * conform/data/string.h-data: Likewise.
40641 * conform/data/strings.h-data: Likewise.
40642 * conform/data/stropts.h-data: Likewise.
40643 * conform/data/sys/ipc.h-data: Likewise.
40644 * conform/data/sys/mman.h-data: Likewise.
40645 * conform/data/sys/msg.h-data: Likewise.
40646 * conform/data/sys/resource.h-data: Likewise.
40647 * conform/data/sys/select.h-data: Likewise.
40648 * conform/data/sys/sem.h-data: Likewise.
40649 * conform/data/sys/shm.h-data: Likewise.
40650 * conform/data/sys/socket.h-data: Likewise.
40651 * conform/data/sys/stat.h-data: Likewise.
40652 * conform/data/sys/statvfs.h-data: Likewise.
40653 * conform/data/sys/time.h-data: Likewise.
40654 * conform/data/sys/timeb.h-data: Likewise.
40655 * conform/data/sys/times.h-data: Likewise.
40656 * conform/data/sys/types.h-data: Likewise.
40657 * conform/data/sys/uio.h-data: Likewise.
40658 * conform/data/sys/un.h-data: Likewise.
40659 * conform/data/sys/utsname.h-data: Likewise.
40660 * conform/data/sys/wait.h-data: Likewise.
40661 * conform/data/syslog.h-data: Likewise.
40662 * conform/data/tar.h-data: Likewise.
40663 * conform/data/termios.h-data: Likewise.
40664 * conform/data/utime.h-data: Likewise.
40665 * conform/data/utmpx.h-data: Likewise.
40666 * conform/data/varargs.h-data: Likewise.
40667 * conform/data/wchar.h-data: Likewise.
40668 * conform/data/wctype.h-data: Likewise.
40669 * conform/data/wordexp.h-data: Likewise.
40670
40671 * include/stropts.h: New file.
40672 * include/uchar.h: New file.
40673 * include/aio.h: Changes to allow conformtest.pl to use the headers.
40674 * include/assert.h: Likewise.
40675 * include/ctype.h: Likewise.
40676 * include/dirent.h: Likewise.
40677 * include/dlfcn.h: Likewise.
40678 * include/fcntl.h: Likewise.
40679 * include/fnmatch.h: Likewise.
40680 * include/glob.h: Likewise.
40681 * include/grp.h: Likewise.
40682 * include/libio.h: Likewise.
40683 * include/locale.h: Likewise.
40684 * include/math.h: Likewise.
40685 * include/net/if.h: Likewise.
40686 * include/netdb.h: Likewise.
40687 * include/netinet/in.h: Likewise.
40688 * include/pthread.h: Likewise.
40689 * include/pwd.h: Likewise.
40690 * include/regex.h: Likewise.
40691 * include/sched.h: Likewise.
40692 * include/search.h: Likewise.
40693 * include/setjmp.h: Likewise.
40694 * include/signal.h: Likewise.
40695 * include/stdio.h: Likewise.
40696 * include/stdlib.h: Likewise.
40697 * include/string.h: Likewise.
40698 * include/sys/cdefs.h: Likewise.
40699 * include/sys/mman.h: Likewise.
40700 * include/sys/msg.h: Likewise.
40701 * include/sys/resource.h: Likewise.
40702 * include/sys/select.h: Likewise.
40703 * include/sys/socket.h: Likewise.
40704 * include/sys/stat.h: Likewise.
40705 * include/sys/statvfs.h: Likewise.
40706 * include/sys/time.h: Likewise.
40707 * include/sys/times.h: Likewise.
40708 * include/sys/uio.h: Likewise.
40709 * include/sys/utsname.h: Likewise.
40710 * include/sys/wait.h: Likewise.
40711 * include/termios.h: Likewise.
40712 * include/time.h: Likewise.
40713 * include/ulimit.h: Likewise.
40714 * include/unistd.h: Likewise.
40715 * include/utime.h: Likewise.
40716 * include/wchar.h: Likewise.
40717 * include/wctype.h: Likewise.
40718 * include/wordexp.h: Likewise.
40719
40720 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
40721
7a270350
UD
40722 * time/time.h: TIME_UTC must be a macro.
40723 Make timespec_get available for ISO C11 only as well.
40724
7724defc
UD
407252012-02-24 Ulrich Drepper <drepper@gmail.com>
40726
40727 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
40728 Reported by Peng Haitao <penght@cn.fujitsu.com>.
40729
6b1d1d46
JM
407302012-02-24 Joseph Myers <joseph@codesourcery.com>
40731
40732 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 40733
0f8bbd69
JM
407342012-02-24 Joseph Myers <joseph@codesourcery.com>
40735
40736 * manual/texinfo.tex: Update to version 2012-01-19.16.
40737
66ab80bc
JM
407382012-02-24 Joseph Myers <joseph@codesourcery.com>
40739
40740 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
40741
74981cc5
RM
407422012-02-24 Roland McGrath <roland@hack.frob.com>
40743
ee968201
RM
40744 [BZ #13738]
40745 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
40746 * manual/fdl-1.3.texi: New file.
40747 * manual/fdl-1.1.texi: File removed.
40748
74981cc5
RM
40749 [BZ #13738]
40750 * manual/libc.texinfo (FDL_VERSION): New @set.
40751 Use it for mention of FDL in cover text.
40752 (Documentation License): Use it in @include file name.
40753
7bb764bc
JM
407542012-02-22 Joseph Myers <joseph@codesourcery.com>
40755 Roland McGrath <roland@hack.frob.com>
40756
40757 [BZ #5461]
57f41c40
AS
40758 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
40759 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
40760 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
40761 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
40762 name.
40763 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
40764
6cbeae47
JM
407652012-02-22 Joseph Myers <joseph@codesourcery.com>
40766
40767 [BZ #2547]
40768 [BZ #11365]
40769 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
40770 manipulate bits before adding and subtracting TWO23[sx].
40771 * math/libm-test.inc (nearbyint_test): Add more tests.
40772
fe45ce09
JM
407732012-02-22 Joseph Myers <joseph@codesourcery.com>
40774
40775 [BZ #2548]
40776 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
40777 bits before adding and subtracting TWO23[sx].
40778 * math/libm-test.inc (rint_test): Add more tests.
40779 (rint_test_tonearest): Likewise.
40780 (rint_test_towardzero): Likewise.
40781 (rint_test_downward): Likewise.
40782 (rint_test_upward: Likewise.
40783
ff3b3d82
JM
407842012-02-22 Joseph Myers <joseph@codesourcery.com>
40785
40786 [BZ #10110]
40787 * include/stdc-predef.h: New file. Extracted from features.h.
40788 * include/features.h: Include stdc-predef.h.
40789 * Makefile (headers): Add stdc-predef.h.
40790 * CONFORMANCE (Compiler limitations): Update.
40791
ef0aab35
JM
407922012-02-22 Joseph Myers <joseph@codesourcery.com>
40793
40794 * manual/libc.texinfo (VERSION, UPDATED): Revert.
40795
58639409
DM
407962012-02-21 David S. Miller <davem@davemloft.net>
40797
40798 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
40799 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40800
c0e70b25
DM
408012012-02-20 David S. Miller <davem@davemloft.net>
40802
40803 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
40804 using a normal save/restore sequence, rather than allocating a
40805 dummy stack frame just to store a frame pointer and restore.
40806 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40807
fb06851d
JM
408082012-02-21 Joseph Myers <joseph@codesourcery.com>
40809
40810 * manual/install.texi: Fix stray word in line-wrapped comment.
40811
7a8b71c3
DM
408122012-02-20 David S. Miller <davem@davemloft.net>
40813
d510c123
DM
40814 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
40815 both binutils and gcc support GOTDATA.
40816
0722d7c2
DM
40817 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
40818 "rd %pc" in the PIC register setup sequences.
40819
3d2b3019
DM
40820 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
40821 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
40822 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40823 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
40824 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40825 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40826 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40827 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40828 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
40829 (SYSCALL_ERROR_HANDLER): Likewise.
40830 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40831 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40832 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
40833 (SYSCALL_ERROR_HANDLER): Likewise.
40834
c80098a9
DM
40835 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
40836 (HAVE_GCC_GOTDATA): New.
40837 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
40838 relocation support in both binutils and gcc.
40839 * sysdeps/sparc/elf/configure: Regenerate.
40840
3a2545a0
DM
40841 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
40842 * sysdeps/sparc/sparc32/elf/configure: Delete.
40843 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
40844 * sysdeps/sparc/sparc64/elf/configure: Delete.
40845 * sysdeps/sparc/elf/configure.in: New file.
40846 * sysdeps/sparc/elf/configure: Generate.
40847
7a8b71c3
DM
40848 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
40849 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
40850 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40851 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
40852 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
40853
f1e86fca
JM
408542012-02-21 Joseph Myers <joseph@codesourcery.com>
40855
40856 * manual/install.texi: Do not mention specific glibc version
40857 numbers.
40858 * manual/libc.texinfo (VERSION, UPDATED): Update.
40859 (@copying): Use @copyright{} and range of years.
40860
0e7dfaef
JM
408612012-02-21 Joseph Myers <joseph@codesourcery.com>
40862
40863 [BZ #13695]
40864 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
40865 [crti.S not in sysdirs] (generated): Do not append.
40866 [crti.S not in sysdirs] (omit-deps): Likewise.
40867 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
40868 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
40869 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
40870 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
40871 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
40872 Likewise.
40873 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
40874 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
40875 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
40876 * csu/defs.awk: Remove file.
40877 * sysdeps/generic/initfini.c: Likewise.
40878 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
40879 variable.
40880 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
40881 Likewise.
40882
599af3ca
JM
408832012-02-20 Joseph Myers <joseph@codesourcery.com>
40884
40885 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
40886 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
40887 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
40888 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
40889 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40890 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
40891 <bits/epoll.h>.
40892 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
40893 (__EPOLL_PACKED): Define to empty if not defined by
40894 <bits/epoll.h>.
40895 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
40896 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40897 bits/epoll.h.
40898
0e499750
JM
408992012-02-20 Joseph Myers <joseph@codesourcery.com>
40900
40901 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
40902 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
40903 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
40904 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
40905 <bits/timerfd.h>.
40906 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
40907 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40908 bits/timerfd.h.
40909
5ad91f6e
JM
409102012-02-20 Joseph Myers <joseph@codesourcery.com>
40911
40912 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
40913 in C locale.
40914 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40915 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40916 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
40917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40918
06b99b02
AJ
409192012-02-20 Aurelien Jarno <aurelien@aurel32.net>
40920
40921 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40922 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40923
7638c0fd
AS
409242012-02-19 Andreas Schwab <schwab@linux-m68k.org>
40925
40926 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
40927 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
40928 defined.
40929 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
40930 Likewise.
40931 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
40932 entry for 2.16.
40933
92221550
AJ
409342012-02-19 Aurelien Jarno <aurelien@aurel32.net>
40935
40936 * math/w_acos.c: Use non-signaling floating-point comparisons.
40937 * math/w_acosf.c: Likewise.
40938 * math/w_acosh.c: Likewise.
40939 * math/w_acoshf.c: Likewise.
40940 * math/w_acoshl.c: Likewise.
40941 * math/w_acosl.c: Likewise.
40942 * math/w_asin.c: Likewise.
40943 * math/w_asinf.c: Likewise.
40944 * math/w_asinl.c: Likewise.
40945 * math/w_atanh.c: Likewise.
40946 * math/w_atanhf.c: Likewise.
40947 * math/w_atanhl.c: Likewise.
40948 * math/w_exp2.c: Likewise.
40949 * math/w_exp2f.c: Likewise.
40950 * math/w_exp2l.c: Likewise.
40951 * math/w_j0.c: Likewise.
40952 * math/w_j0f.c: Likewise.
40953 * math/w_j0l.c: Likewise.
40954 * math/w_j1.c: Likewise.
40955 * math/w_j1f.c: Likewise.
40956 * math/w_j1l.c: Likewise.
40957 * math/w_jn.c: Likewise.
40958 * math/w_jnf.c: Likewise.
40959 * math/w_log.c: Likewise.
40960 * math/w_log10.c: Likewise.
40961 * math/w_log10f.c: Likewise.
40962 * math/w_log10l.c: Likewise.
40963 * math/w_log2.c: Likewise.
40964 * math/w_log2f.c: Likewise.
40965 * math/w_log2l.c: Likewise.
40966 * math/w_logf.c: Likewise.
40967 * math/w_logl.c: Likewise.
40968 * math/w_sqrt.c: Likewise.
40969 * math/w_sqrtf.c: Likewise.
40970 * math/w_sqrtl.c: Likewise.
40971 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40972 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
40973 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40974 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40975 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40976
ebaf36eb
JM
409772012-02-19 Joseph Myers <joseph@codesourcery.com>
40978
40979 [BZ #9739]
40980 * manual/string.texi (strnlen): Use correct parameter name in
40981 equivalent expression.
40982
71c254a6
JM
409832012-02-19 Joseph Myers <joseph@codesourcery.com>
40984
40985 [BZ #11174]
40986 * manual/users.texi (seteuid): Consistently use neweuid for
40987 argument name.
40988
16d2c631
JM
409892012-02-19 Joseph Myers <joseph@codesourcery.com>
40990
40991 [BZ #13704]
40992 * manual/nss.texi (Services in the NSS configuration): Correct
40993 list of services in example configuration file.
40994
cd837b09
NB
409952012-02-19 Nick Bowler <nbowler@draconx.ca>
40996
40997 [BZ #11322]
40998 * manual/arith.texi: Remove statements about negative zero
40999 behaving identically to zero.
41000
02c4bbad
JM
410012012-02-18 Joseph Myers <joseph@codesourcery.com>
41002
41003 [BZ #5993]
41004 * manual/install.texi: Do not document upgrading from libc5.
41005
366842e7
JM
410062012-02-18 Joseph Myers <joseph@codesourcery.com>
41007
41008 [BZ #4596]
41009 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
41010
dd54084d
DM
410112012-02-18 David S. Miller <davem@davemloft.net>
41012
41013 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
41014 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
41015 %o7 across the call.
41016 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
41017 instead.
41018 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
41019 SETUP_PIC_REG_LEAF.
41020 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41021 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
41022 * sysdeps/sparc/crtn.S: Likewise.
41023
2bcc53a3
UD
410242012-02-17 Ulrich Drepper <drepper@gmail.com>
41025
41026 * aout/Makefile: Remove.
41027
09c093b5
RK
410282012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
41029
41030 [BZ #13058]
41031 * manual/examples/argp-ex1.c (main): Format definition in GNU
41032 style.
41033 * manual/examples/argp-ex2.c (main): Likewise.
41034 * manual/examples/argp-ex3.c (main): Likewise.
41035 * manual/examples/argp-ex4.c (main): Likewise.
41036 * manual/examples/longopt.c (main): Use new-style prototype
41037 definition.
41038 * manual/examples/strncat.c (main): Specify return type and use
41039 (void) for arguments.
41040 * manual/examples/subopt.c (main): Use char **argv argument.
41041
2ee633a2
JM
410422012-02-17 Joseph Myers <joseph@codesourcery.com>
41043
41044 [BZ #5077]
41045 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
41046 rounding modes.
41047
0520adde
FB
410482012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
41049
41050 [BZ #6907]
41051 * manual/string.texi (strchr): Change when strchrnul is
41052 recommended.
41053
3f4081cd
DGM
410542012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
41055
41056 [BZ #174]
41057 * manual/locale.texi (setlocale): Document LOCPATH.
41058
d1b10e78
JM
410592012-02-17 Joseph Myers <joseph@codesourcery.com>
41060
41061 [BZ #10210]
41062 * manual/process.texi (execle): Move @dots{} before last argument.
41063
79c6869c
PB
410642012-02-17 Paul Bolle <pebolle@tiscali.nl>
41065
41066 [BZ #12047]
41067 * manual/charset.texi (Generic Charset Conversion): Fix typo
41068 (LC_TYPE -> LC_CTYPE).
41069
cc6e48bc
NB
410702012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
41071
41072 [BZ #5805]
41073 * manual/arith.texi (scalbn): Use @var{} on parameter names.
41074 (scalbnf): Likewise.
41075 (scalbnl): Likewise.
41076 (scalbln): Likewise.
41077 (scalblnf): Likewise.
41078 (scalblnl): Likewise.
41079 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
41080 (vwarnx): Likewise.
41081 (verr): Likewise.
41082 (verrx): Likewise.
41083 * manual/filesys.texi (telldir): Use braces around return type.
41084 * manual/llio.texi (mmap): Add space after comma.
41085 (mmap64): Likewise.
41086 * manual/math.texi (jn): Use @var{} on parameter names.
41087 (jnf): Likewise.
41088 (jnl): Likewise.
41089 (yn): Likewise.
41090 (ynf): Likewise.
41091 (ynl): Likewise.
41092 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
41093 line.
41094 * manual/resource.texi (ulimit): Use @dots{} instead of literal
41095 "...".
41096 (sched_get_priority_min): Remove semicolon on @deftypefun line.
41097 (sched_get_priority_max): Likewise.
41098 * manual/signal.texi (sigvec): Add space after comma.
41099 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
41100 names.
41101 (if_indextoname): Likewise.
41102 (if_freenameindex): Likewise.
41103 (sendto): Use ',' instead of '.' in prototype.
41104 * manual/startup.texi (syscall): Use @dots{} instead of literal
41105 "...".
41106 * manual/stdio.texi (__fpending): Separate initial words of
41107 paragraph from @deftypefun line.
41108 * manual/syslog.texi (syslog): Use @dots{} instead of literal
41109 "...".
41110 (vsyslog): Use @var{} on parameter names.
41111 * manual/terminal.texi (stty): Use @var{} on parameter names.
41112 * manual/users.texi (getutmp): Use @var{} on parameter names.
41113 (getutmpx): Likewise.
41114
5b23062f
JM
411152012-02-17 Joseph Myers <joseph@codesourcery.com>
41116
41117 [BZ #6884]
41118 * manual/stdio.texi (fopen): Fix typos in description of
41119 ",ccs=STRING".
41120
8dee4833
AJ
411212012-02-17 Aurelien Jarno <aurelien@aurel32.net>
41122
41123 [BZ #4026]
41124 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
41125 get clock_id definition.
41126
9078ce93
TS
411272012-02-17 Thomas Schwinge <thomas@schwinge.name>
41128
41129 [BZ #4822]
41130 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
41131 (madvise): Cast every argument to void on its own.
41132
3835c55f
JM
411332012-02-17 Joseph Myers <joseph@codesourcery.com>
41134
41135 [BZ #9902]
41136 * manual/startup.texi (Exit Status): Fix typo.
41137
35c47e37
JM
411382012-02-17 Joseph Myers <joseph@codesourcery.com>
41139
41140 [BZ #10140]
41141 * manual/examples/argp-ex1.c: Include <stdlib.h>.
41142 * manual/examples/argp-ex2.c: Likewise.
41143 * manual/examples/argp-ex3.c: Likewise.
41144
e3b69ca7
RH
411452012-02-16 Richard Henderson <rth@redhat.com>
41146
41147 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
41148 * sysdeps/s390/s390-32/initfini.c: Remove.
41149 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
41150 * sysdeps/s390/s390-64/initfini.c: Remove.
41151
df83af67
KK
411522012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41153
41154 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
41155 compiler output for sysdeps/generic/initfini.c.
41156 * sysdeps/sh/elf/initfini.c: Remove file.
41157
f63f3380
DM
411582012-02-16 David S. Miller <davem@davemloft.net>
41159
fb59b3a4
DM
41160 [BZ #11494]
41161 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
41162
f63f3380
DM
41163 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
41164 * sysdeps/sparc/crti.S: New file.
41165 * sysdeps/sparc/crtn.S: New file.
41166 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
41167 * sysdeps/sparc/sparc64/Makefile: Likewise.
41168
df6a4a4a
MF
411692012-02-15 Mike Frysinger <vapier@gentoo.org>
41170
6dd8f3dc 41171 [BZ #3335]
df6a4a4a
MF
41172 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
41173
1cac7236
RM
411742012-02-15 Roland McGrath <roland@hack.frob.com>
41175
d2c736f8
RM
41176 [BZ #4822]
41177 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
41178
1cac7236
RM
41179 * mach/devstream.c (cookie_io_functions_t): Macro removed.
41180 (write, read, close): Likewise.
41181 Patch by Aurelien Jarno <aurelien@aurel32.net>.
41182
8e475601
JM
411832012-02-15 Joseph Myers <joseph@codesourcery.com>
41184
41185 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
41186 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
41187 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
41188 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
41189 <bits/signalfd.h>.
41190 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
41191 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41192 bits/signalfd.h.
41193
ed656b40
MP
411942012-02-14 Marek Polacek <polacek@redhat.com>
41195
41196 * sysdeps/x86_64/crti.S: New file.
41197 * sysdeps/x86_64/crtn.S: New file.
41198 * sysdeps/x86_64/elf/initfini.c: Remove file.
41199
2a979d3a
JM
412002012-02-13 Joseph Myers <joseph@codesourcery.com>
41201
41202 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
41203 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
41204 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
41205 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
41206 <bits/inotify.h>.
41207 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
41208 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41209 bits/inotify.h.
41210
2a418ac3
JM
412112012-02-13 Joseph Myers <joseph@codesourcery.com>
41212
41213 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
41214 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
41215 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
41216 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
41217 <bits/eventfd.h>.
41218 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
41219 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41220 bits/eventfd.h.
41221
fb779be7
TS
412222012-02-10 Thomas Schwinge <thomas@codesourcery.com>
41223
e19e83c5
RM
41224 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
41225 __feraiseexcept instead of feraiseexcept.
7c35ffed 41226
fb779be7
TS
41227 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
41228 nanosleep invocations.
41229 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
41230 strings, and add error checking for a nanosleep invocations.
41231
59ba27a6
PE
412322012-02-09 Paul Eggert <eggert@cs.ucla.edu>
41233
41234 Replace FSF snail mail address with URLs, as per GNU coding standards.
41235 Most of the snail mail addresses were wrong anyway, and omitting
41236 them makes the source code easier to maintain. Almost all of the
41237 changes are to license notices and to locale LC_IDENTIFICATION
41238 addresses, except for this one:
41239 * manual/libc.texinfo: In "Published by", give the FSF's URL,
41240 not its snail mail address.
41241
57b957eb
RH
412422012-02-09 Richard Henderson <rth@twiddle.net>
41243
af850b1c
RH
41244 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
41245 of kernel-features.h.
41246
57b957eb
RH
41247 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
41248
6b73181a
MP
412492012-02-08 Marek Polacek <polacek@redhat.com>
41250
41251 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
41252 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
41253 * sysdeps/gnu/_G_config.h: Likewise.
41254 * sysdeps/generic/_G_config.h: Likewise.
41255
26ecc33a
AS
412562012-02-08 Andreas Schwab <schwab@linux-m68k.org>
41257
6c6dbc63
AS
41258 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
41259 tests.
41260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41261
e216c012
AS
41262 * sysdeps/powerpc/powerpc32/crti.S: New file.
41263 * sysdeps/powerpc/powerpc32/crtn.S: New file.
41264 * sysdeps/powerpc/powerpc64/crti.S: New file.
41265 * sysdeps/powerpc/powerpc64/crtn.S: New file.
41266
26ecc33a
AS
41267 * Makeconfig (have-initfini): Don't set.
41268 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
41269 * configure.in (nopic_initfini): Don't substitute.
41270 * config.h.in (HAVE_INITFINI): Don't #undef.
41271 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
41272 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
41273
3add8e13
JM
412742012-02-08 Joseph Myers <joseph@codesourcery.com>
41275
41276 Support crti.S and crtn.S provided directly by architectures.
41277 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
41278 [crti.S in sysdirs] (omit-deps): Likewise.
41279 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
41280 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
41281 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
41282 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
41283 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
41284 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
41285 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
41286 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
41287 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
41288 compiler output for sysdeps/generic/initfini.c.
41289 * sysdeps/i386/elf/Makefile: Remove file.
41290 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
41291
a22f12b4
MP
412922012-02-07 Marek Polacek <polacek@redhat.com>
41293
41294 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
41295 * sysdeps/gnu/_G_config.h: Likewise.
41296 * sysdeps/mach/hurd/_G_config.h: Likewise.
41297
148cf100
MP
412982012-02-07 Marek Polacek <polacek@redhat.com>
41299
41300 * math/Makefile (tests): Add tst-CMPLX2.
41301 * math/tst-CMPLX2.c: New file.
41302
cfdc0dd7
AS
413032012-02-07 Andreas Schwab <schwab@linux-m68k.org>
41304
84ba42c4
AS
41305 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41306
cfdc0dd7
AS
41307 * math/libm-test.inc (jn_test): Add missing L suffix.
41308
622c86f4
MP
413092012-02-06 Marek Polacek <polacek@redhat.com>
41310
41311 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
41312 * sysdeps/i386/fpu/e_powf.S: Likewise.
41313 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41314 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41315 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41316 * sysdeps/i386/fpu/e_pow.S: Likewise.
41317 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
41318 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41319 * sysdeps/i386/fpu/s_expm1.S: Likewise.
41320 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
41321 * sysdeps/i386/fpu/e_log2.S: Likewise.
41322 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41323 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41324 * sysdeps/i386/fpu/e_powl.S: Likewise.
41325 * sysdeps/i386/fpu/s_log1p.S: Likewise.
41326 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41327 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
41328 * sysdeps/i386/fpu/e_logl.S: Likewise.
41329 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
41330 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
41331 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
41332 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
41333 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41334 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41335 * sysdeps/i386/fpu/e_log.S: Likewise.
41336 * sysdeps/i386/fpu/s_cexp.S: Likewise.
41337 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41338 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
41339 * sysdeps/i386/fpu/e_logf.S: Likewise.
41340 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41341 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41342 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
41343 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
41344 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41345 * sysdeps/i386/fpu/e_log10.S: Likewise.
41346 * sysdeps/i386/fpu/s_frexp.S: Likewise.
41347 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41348 * sysdeps/i386/fpu/s_asinh.S: Likewise.
41349 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
41350 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41351 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
41352 * sysdeps/i386/asm-syntax.h: Likewise.
41353 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41354 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41355 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41356 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
41357 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
41358 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41359 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
41360 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
41361 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41362 * sysdeps/powerpc/sysdep.h: Likewise.
41363 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
41364 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41365
d4a54ac6
JM
413662012-02-06 Joseph Myers <joseph@codesourcery.com>
41367
41368 [BZ #411]
41369 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
41370
314054ea
JM
413712012-02-06 Joseph Myers <joseph@codesourcery.com>
41372
41373 * sysdeps/i386/sysdep.h: Include <features.h>.
41374 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
41375 version.
41376
d8e0ca50
JM
413772012-02-05 Joseph Myers <joseph@codesourcery.com>
41378
41379 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
41380 Define.
41381 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
41382 LOAD_PIC_REG_STR.
41383
b1da7dd9
JM
413842012-02-03 Joseph Myers <joseph@codesourcery.com>
41385
41386 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
41387 (SETUP_PIC_REG): Use GET_PC_THUNK.
41388 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
41389 macro.
41390
9a1d9254
JM
413912012-02-03 Joseph Myers <joseph@codesourcery.com>
41392
41393 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
41394 for non-PIC compilation.
41395 (SETUP_PIC_REG): Add .p2align directive.
41396 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
41397 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
41398 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41399 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41400 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41401 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41402 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
41403 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41404 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41405 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41406 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41407 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41408 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41409 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41410 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41411 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41412 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41413 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41414 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41415 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41416 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41417 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41418 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41419 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41420 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41421 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41422 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41423 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41424 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41425 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41426 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41427 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41428 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41429 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41430 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41431 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41432 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41433 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41434 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41435 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41436 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41437
65dc3b75
JM
414382012-02-03 Joseph Myers <joseph@codesourcery.com>
41439
41440 * math/tst-CMPLX.c: Include <stdio.h>.
41441
d55bf177
JM
414422012-01-31 Joseph Myers <joseph@codesourcery.com>
41443
41444 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
41445 float.
41446 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41447 * sysdeps/sparc/bits/mathdef.h: Likewise.
41448
69db4f8f
MP
414492012-01-31 Marek Polacek <polacek@redhat.com>
41450
41451 * libio/libio.h: Don't define _PARAMS.
41452 * locale/programs/config.h: Don't define PARAMS.
41453 * stdlib/strtol_l.c: Likewise.
41454 (__strtol_l): Remove PARAMS from the prototype.
41455
41b81892
UD
414562012-01-31 Ulrich Drepper <drepper@gmail.com>
41457
3b49edc0
UD
41458 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
41459 names. Just use the correct names. Remove unnecessary wrapper
41460 functions.
41461 * malloc/arena.c: Likewise.
41462 * malloc/hooks.c: Likewise.
41463
41b81892
UD
41464 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
41465 ARENA_TEST says not to. Simplify test for creation of a new arena.
41466 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
41467
27a25b6e
UD
414682012-01-30 Ulrich Drepper <drepper@gmail.com>
41469
41470 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
41471 into tail calls.
41472 (update_get_addr): New function.
41473 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
41474 GET_ADDR_MODULE parameter.
41475
c8a89e7d
JM
414762012-01-30 Joseph Myers <joseph@codesourcery.com>
41477
41478 * crypt/cert.c: Remove __STDC__ conditionals.
41479 * crypt/crypt-entry.c: Likewise.
41480 * crypt/crypt_util.c: Likewise.
41481 * libio/filedoalloc.c: Likewise.
41482 * libio/fileops.c: Likewise.
41483 * libio/genops.c: Likewise.
41484 * libio/iofclose.c: Likewise.
41485 * libio/iofdopen.c: Likewise.
41486 * libio/iofopen.c: Likewise.
41487 * libio/iofopen64.c: Likewise.
41488 * libio/iogetdelim.c: Likewise.
41489 * libio/iopopen.c: Likewise.
41490 * libio/obprintf.c: Likewise.
41491 * libio/oldfileops.c: Likewise.
41492 * libio/oldiofclose.c: Likewise.
41493 * libio/oldiofdopen.c: Likewise.
41494 * libio/oldiofopen.c: Likewise.
41495 * libio/oldiopopen.c: Likewise.
41496 * libio/wfiledoalloc.c: Likewise.
41497 * libio/wgenops.c: Likewise.
41498 * locale/programs/xmalloc.c: Likewise.
41499 * misc/syslog.c: Likewise.
41500 * stdio-common/xbug.c: Likewise.
41501 * string/memchr.c: Likewise.
41502 * string/memcmp.c: Likewise.
41503 * string/memrchr.c: Likewise.
41504 * string/rawmemchr.c: Likewise.
41505 * sysdeps/posix/getcwd.c: Likewise.
41506 * time/strftime_l.c: Likewise.
41507
3b100462
JM
415082012-01-30 Joseph Myers <joseph@codesourcery.com>
41509
41510 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
41511 * config.make.in (config-cflags-sse2avx): Define.
41512 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
41513 Fix typo.
41514
607998af
CM
415152012-01-29 Chris Metcalf <cmetcalf@tilera.com>
41516
41517 * scripts/config.guess: Update from upstream config git repository.
41518 * scripts/config.sub: Likewise.
41519
3601428f
CM
415202012-01-28 Chris Metcalf <cmetcalf@tilera.com>
41521
3ac8b282
CM
41522 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
41523 (EM_NUM): Update.
41524 (R_TILEPRO_*, R_TILEGX_*): New macros.
41525
e034841e
CM
41526 * scripts/firstversions.awk: Fix bug in version range handling.
41527
540d7568
CM
41528 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
41529
3601428f
CM
41530 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
41531
463de862
CM
41532 * include/sys/epoll.h: New file.
41533 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
41534 libc_hidden_def.
41535
73139a76
UD
415362012-01-28 Ulrich Drepper <drepper@gmail.com>
41537
96bc5b45
UD
41538 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
41539 Avoid unnecessary __WORDSIZE == 64 test.
41540 (fmaxf): Use VEX format if possible.
41541 (fmax): Likewise.
41542 (fminf): Likewise.
41543 (fmin): Likewise.
41544
56f6f6a2
UD
41545 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
41546 * math/math_private.h: Remove libc_fegetround* and
41547 libc_fesetround*.
41548 * sysdeps/i386/configure.in: Check for -msse2avx.
41549 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
41550 also if SSE2AVX is defined.
41551 Remove libc_fegetround* and libc_fesetround*.
41552 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
41553 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
41554 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
41555 of HAS_YMM_USABLE.
41556 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41557 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41558 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41559 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41560 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41561
73139a76
UD
41562 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
41563
d73f93a4
AZ
415642012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41565
41566 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
41567 size is not set.
41568 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41569
6ee65ed6
UD
415702012-01-27 Ulrich Drepper <drepper@gmail.com>
41571
41572 [BZ #13618]
41573 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
41574 relocation.
41575 * Makeconfig (libm): Define.
41576 * elf/Makefile: Add rules to build and run tst-relsort1.
41577 * elf/tst-relsort1.c: New file.
41578 * elf/tst-relsort1mod1.c: New file.
41579 * elf/tst-relsort1mod2.c: New file.
41580
8db21882
JM
415812012-01-27 Joseph Myers <joseph@codesourcery.com>
41582
41583 * math/s_ldexp.c: Remove __STDC__ conditionals.
41584 * math/s_ldexpf.c: Likewise.
41585 * math/s_ldexpl.c: Likewise.
41586 * math/s_nextafter.c: Likewise.
41587 * math/s_nexttowardf.c: Likewise.
41588 * math/s_significand.c: Likewise.
41589 * math/s_significandf.c: Likewise.
41590 * math/s_significandl.c: Likewise.
41591 * math/w_jnl.c: Likewise.
41592 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41593 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41594 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41595 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41596 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41597 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41598 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
41599 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41600 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41601 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41602 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41603 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41604 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41605 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41606 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41607 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41608 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41609 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41610 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41611 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41612 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41613 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41614 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41615 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41616 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41617 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41618 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41619 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41620 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41621 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41622 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41623 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41624 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41625 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41626 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41627 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41628 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41629 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41630 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41631 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41632 * sysdeps/ieee754/k_standard.c: Likewise.
41633 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41634 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41635 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41636 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41637 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41638 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41639 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41640 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41641 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41642 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41643 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41644 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41645 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41646 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41647 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41648 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41649 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41650 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41651 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41652 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41653 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41654 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41655 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41656 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41657 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41658 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41659 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41660 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41661 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41662 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41663 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41664 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
41665 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41666 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41667 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41668 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41669 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
41670 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41671 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41672 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
41673 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
41674 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41675 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41676 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
41677 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41678 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
41679 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
41680 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41681 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41682 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41683 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
41684 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41685 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41686 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41687 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41688 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41689 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
41690 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41691 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41692 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41693 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41694 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41695 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41696 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41697 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41698 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41699 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41700 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41701 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41702 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41703 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41704 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41705 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41706 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41707 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41708 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41709 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41710 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41711 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41712 * sysdeps/ieee754/s_matherr.c: Likewise.
41713 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41714 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41715 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41716 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41717
965a54a4
JM
417182012-01-26 Joseph Myers <joseph@codesourcery.com>
41719
41720 * crypt/md5.h: Remove __STDC__ conditionals.
41721 * libio/libioP.h: Likewise.
41722 * locale/programs/config.h: Likewise.
41723 * sysdeps/generic/sysdep.h: Likewise.
41724 * sysdeps/i386/asm-syntax.h: Likewise.
41725 * sysdeps/s390/asm-syntax.h: Likewise.
41726 * sysdeps/unix/sysdep.h: Likewise.
41727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41729
7071ad79
JM
417302012-01-26 Joseph Myers <joseph@codesourcery.com>
41731
41732 * libio/libio.h: Remove __STDC__ conditionals.
41733 * malloc/obstack.h: Likewise.
41734 * math/complex.h: Likewise.
41735 * math/math.h: Likewise.
41736 * sysdeps/generic/_G_config.h: Likewise.
41737 * sysdeps/gnu/_G_config.h: Likewise.
41738 * sysdeps/mach/hurd/_G_config.h: Likewise.
41739 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41740 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41741 * sysdeps/sparc/bits/mathdef.h: Likewise.
41742
afc5ed09
UD
417432012-01-26 Ulrich Drepper <drepper@gmail.com>
41744
41745 [BZ #13583]
41746 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 41747 Clean up HAS_* macros.
afc5ed09 41748 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
41749 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
41750 possible.
41751 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
41752 HAS_AVX.
41753 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41754 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41755 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41756 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41757 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 41758
bdb6de1d
JM
417592012-01-25 Joseph Myers <joseph@codesourcery.com>
41760
41761 * elf/tst-unique3.cc (gets): Remove declaration.
41762 * elf/tst-unique3lib.cc (gets): Likewise.
41763 * elf/tst-unique3lib2.cc (gets): Likewise.
41764 * elf/tst-unique4.cc (gets): Likewise.
41765
b15549e6
UD
417662012-01-24 Ulrich Drepper <drepper@gmail.com>
41767
41768 * include/stdio.h: Add C++ protection. Add gets declarations and
41769 definitions.
41770 * debug/tst-chk1.c: Don't declare gets here.
41771 * stdio-common/tst-gets.c: Likewise.
41772
a037381f
JM
417732012-01-24 Joseph Myers <joseph@codesourcery.com>
41774
41775 * posix/glob: Remove directory.
41776
f1d4aa75
JM
417772012-01-24 Joseph Myers <joseph@codesourcery.com>
41778
41779 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
41780
81c0c964
PT
417812012-01-22 Pino Toscano <toscano.pino@tiscali.it>
41782
41783 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
41784 of the non-standard EPFNOSUPPORT.
41785
0ea698ae
ST
417862011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
41787
41788 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
41789 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
41790 ANYWHERE set to 1 only on KERN_NO_SPACE error.
41791
d220b117
UD
417922012-01-21 Ulrich Drepper <drepper@gmail.com>
41793
41794 * wcsmbs/uchar.h: Test __STDC_VERSION__.
41795
3e1aa84e
UD
417962012-01-20 Ulrich Drepper <drepper@gmail.com>
41797
41798 * nscd/aicache.c (addhstaiX): Do not cache negative results of
41799 transient errors.
41800 * nscd/grpcache.c (cache_addgr): Likewise.
41801 * nscd/hstcache.c (cache_addhst): Likewise.
41802 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41803 * nscd/pwdcache.c (cache_addpw): Likewise.
41804 * nscd/servicescache.c (cache_addserv): Likewise.
41805
400aa020
UD
418062012-01-16 Ulrich Drepper <drepper@gmail.com>
41807
d77e7869
UD
41808 * malloc/malloc.c: Various cleanups.
41809 * malloc/hooks.c: Likewise.
41810
400aa020
UD
41811 * stdlib/Makefile (tests): Add bug-fmtmsg1.
41812 * stdlib/bug-fmtmsg1.c: New file.
41813
41814 * stdlib/fmtmsg.c (init): Add missing unlock.
41815 Patch by Peng Haitao <penght@cn.fujitsu.com>.
41816
e0a309cf
MP
418172012-01-12 Marek Polacek <polacek@redhat.com>
41818
41819 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
41820 and _GNU_SOURCE.
41821
929d11c7
WS
418222012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
41823
41824 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
41825 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
41826 macro to ensure uniqueness of label name.
41827 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41828 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41829
41d0e869
UD
418302012-01-11 Ulrich Drepper <drepper@gmail.com>
41831
0cc5ed3b
UD
41832 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
41833
41d0e869
UD
41834 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
41835 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41836 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41837 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
41838
a47a831a
UD
418392012-01-10 Ulrich Drepper <drepper@gmail.com>
41840
daa891c0
UD
41841 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
41842
41843 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
41844 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41845 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41846
e58ef0f2
UD
41847 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
41848
a47a831a 41849 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
41850 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41851 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 41852 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
41853
41854 * math/bits/math-finite.h: Add ldexp support.
41855
a0bfc9c7
MP
418562012-01-10 Marek Polacek <polacek@redhat.com>
41857
41858 * locale/programs/localedef.h (show_archive_content): Add noreturn
41859 attribute.
41860
d6e97a1d
UD
418612012-01-09 Ulrich Drepper <drepper@gmail.com>
41862
41863 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
41864
d5835c26
UD
418652012-01-08 Ulrich Drepper <drepper@gmail.com>
41866
e5f484c6
UD
41867 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
41868
d5835c26
UD
41869 * io/Makefile (headers): Add bits/poll2.h.
41870
d1f741e9
WS
418712011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
41872
41873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
41874 typo #include statement.
41875
ec09c1c4
UD
418762012-01-08 Ulrich Drepper <drepper@gmail.com>
41877
41878 * include/sys/cdefs.h: Define __attribute_alloc_size.
41879 * catgets/gencat.c: Add alloc_size attribute and apply consistently
41880 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
41881 * elf/pldd.c: Likewise.
41882 * iconv/iconv_charmap.c: Likewise.
41883 * iconv/iconvconfig.c: Likewise.
41884 * iconv/strtab.c: Likewise.
41885 * locale/programs/locale.c: Likewise.
41886 * locale/programs/localedef.h: Likewise.
41887 * locale/programs/simple-hash.c: Likewise.
41888 * nscd/nscd.h: Likewise.
41889 * nss/makedb.c: Likewise.
41890 * sysdeps/generic/ldconfig.h: Likewise.
41891 * locale/programs/localedef.c: Remove xmalloc prototype.
41892 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
41893
20b38e03
PP
418942012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41895
41896 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
41897 appropriate.
41898
a0da5fe1
UD
418992012-01-08 Ulrich Drepper <drepper@gmail.com>
41900
1d5a644a 41901 * math/Makefile (tests): Add tst-CMPLX.
669704fd 41902 * math/tst-CMPLX.c: New file.
1d5a644a 41903
8784a6db
UD
41904 * math/complex.h (CMPLXL): Fix typo.
41905
d9a216c0
UD
41906 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
41907 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
41908 GLIBC_2.16.
41909 * debug/tst-chk1.c: Add poll and ppoll tests.
41910 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
41911 * include/sys/poll.h: Add hidden proto for ppoll.
41912 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
41913 * sysdeps/mach/hurd/ppoll.c: Likewise.
41914 * io/ppoll.c: Likewise.
41915 * debug/poll_chk.c: New file.
41916 * debug/ppoll_chk.c: New file.
41917 * include/bits/poll2.h: New file.
41918 * io/bits/poll2.h: New file.
41919
ac097f5c
UD
41920 [BZ #1350]
41921 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
41922
2119dcfa
UD
41923 * configure.in: static is always set to yes. Remove.
41924 * config.make.in: Don't set build-static.
41925 * Makeconfig: Remove use of build-static.
41926 * dlfcn/Makefile: Likewise.
41927 * elf/Makefile: Likewise.
41928 * math/Makefile: Likewise.
41929 * misc/Makefile: Likewise.
41930 * nptl/Makefile: Likewise.
41931 * sysdeps/mach/hurd/Makefile: Likewise.
41932
121766a9
UD
41933 * configure.in: PWD_P is not used anymore.
41934 * config.make.in: Remove PWD_P entry.
41935
51a1d39c 41936 * configure.in: Remove last remnants of RANLIB.
8720d066 41937 No need to check for signed size_t anymore.
215f4bdc
UD
41938 Don't set libc_commonpagesize and libc_relro_required here for Alpha
41939 and IA-64.
3857022a 41940 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
41941 * aclocal.m4: Likewise.
41942
d3ed7225
UD
41943 * wcsmbs/mbrtoc16.c: Implement using towc function.
41944 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
41945 * wcsmbs/wcsmbsload.c: Likewise.
41946 * iconv/gconv_simple.c: Likewise.
41947 * iconv/gconv_int.h: Likewise.
41948 * iconv/gconv_builtin.h: Likewise.
41949 * iconv/iconv_prog.c: Remove CHAR16 handling.
41950
41951 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
41952
41953 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
41954
a0da5fe1
UD
41955 * configure.in: Remove --with-elf and --enable-bounded options.
41956 Dont set base_machine for ia64. More non-ELF conditions removed.
41957 Remove testing and setting of leading underscore information.
41958 * config.make.in (build-bounded): Set to no.
41959 * config.h.in: Remove NO_UNDERSCORES entry.
41960 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
41961 them.
41962 * csu/start.c: Remove !NO_UNDERSCORE code.
41963 * locale/localeinfo.h: Likewise.
41964 * sysdeps/generic/machine-gmon.h: Likewise.
41965 * sysdeps/generic/sysdep.h: Likewise.
41966 * sysdeps/i386/sysdep.h: Likewise.
41967 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41968 * sysdeps/mach/sysdep.h: Likewise.
41969 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41970 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41971 * sysdeps/sh/sysdep.h: Likewise.
41972 * sysdeps/sparc/sparc32/alloca.S: Likewise.
41973 * sysdeps/unix/i386/sysdep.S: Likewise.
41974 * sysdeps/unix/sparc/start.c: Likewise.
41975 * sysdeps/unix/sparc/sysdep.S: Likewise.
41976 * sysdeps/unix/sparc/sysdep.h: Likewise.
41977 * sysdeps/unix/start.c: Likewise.
41978 * sysdeps/unix/x86_64/sysdep.S: Likewise.
41979 * sysdeps/x86_64/sysdep.h: Likewise.
41980
df78418a
UD
419812012-01-07 Ulrich Drepper <drepper@gmail.com>
41982
a784e502
UD
41983 [BZ #13553]
41984 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
41985 for non-gcc.
41986 * argp/argp-fmtstream.h: Use const instead __const.
41987 * argp/argp.h: Likewise.
41988 * assert/assert.h: Likewise.
41989 * bits/fenv.h: Likewise.
41990 * bits/sched.h: Likewise.
41991 * bits/sigset.h: Likewise.
41992 * bits/sigthread.h: Likewise.
41993 * catgets/nl_types.h: Likewise.
41994 * conform/data/pthread.h-data: Likewise.
41995 * crypt/crypt-private.h: Likewise.
41996 * crypt/crypt.h: Likewise.
41997 * crypt/crypt_util.c: Likewise.
41998 * ctype/ctype.h: Likewise.
41999 * debug/execinfo.h: Likewise.
42000 * debug/mbsnrtowcs_chk.c: Likewise.
42001 * debug/mbsrtowcs_chk.c: Likewise.
42002 * debug/wcsnrtombs_chk.c: Likewise.
42003 * debug/wcsrtombs_chk.c: Likewise.
42004 * debug/wcstombs_chk.c: Likewise.
42005 * dirent/dirent.h: Likewise.
42006 * dlfcn/dlfcn.h: Likewise.
42007 * elf/neededtest4.c: Likewise.
42008 * grp/grp.h: Likewise.
42009 * gshadow/gshadow.h: Likewise.
42010 * iconv/gconv.h: Likewise.
42011 * iconv/gconv_int.h: Likewise.
42012 * iconv/gconv_simple.c: Likewise.
42013 * iconv/iconv.h: Likewise.
42014 * iconv/loop.c: Likewise.
42015 * iconv/skeleton.c: Likewise.
42016 * include/aio.h: Likewise.
42017 * include/aliases.h: Likewise.
42018 * include/argz.h: Likewise.
42019 * include/arpa/inet.h: Likewise.
42020 * include/assert.h: Likewise.
42021 * include/dirent.h: Likewise.
42022 * include/dlfcn.h: Likewise.
42023 * include/execinfo.h: Likewise.
42024 * include/fcntl.h: Likewise.
42025 * include/fenv.h: Likewise.
42026 * include/glob.h: Likewise.
42027 * include/grp.h: Likewise.
42028 * include/libintl.h: Likewise.
42029 * include/mntent.h: Likewise.
42030 * include/netdb.h: Likewise.
42031 * include/pwd.h: Likewise.
42032 * include/rpc/netdb.h: Likewise.
42033 * include/sched.h: Likewise.
42034 * include/search.h: Likewise.
42035 * include/shadow.h: Likewise.
42036 * include/signal.h: Likewise.
42037 * include/stdio.h: Likewise.
42038 * include/stdlib.h: Likewise.
42039 * include/string.h: Likewise.
42040 * include/sys/socket.h: Likewise.
42041 * include/sys/stat.h: Likewise.
42042 * include/sys/statfs.h: Likewise.
42043 * include/sys/statvfs.h: Likewise.
42044 * include/sys/syslog.h: Likewise.
42045 * include/sys/time.h: Likewise.
42046 * include/sys/uio.h: Likewise.
42047 * include/time.h: Likewise.
42048 * include/unistd.h: Likewise.
42049 * include/utmp.h: Likewise.
42050 * include/wchar.h: Likewise.
42051 * include/wctype.h: Likewise.
42052 * inet/aliases.h: Likewise.
42053 * inet/arpa/inet.h: Likewise.
42054 * inet/netinet/ether.h: Likewise.
42055 * inet/netinet/in.h: Likewise.
42056 * intl/libintl.h: Likewise.
42057 * io/bits/fcntl2.h: Likewise.
42058 * io/fcntl.h: Likewise.
42059 * io/ftw.h: Likewise.
42060 * io/sys/poll.h: Likewise.
42061 * io/sys/stat.h: Likewise.
42062 * io/sys/statfs.h: Likewise.
42063 * io/sys/statvfs.h: Likewise.
42064 * io/utime.h: Likewise.
42065 * libio/bits/stdio.h: Likewise.
42066 * libio/bits/stdio2.h: Likewise.
42067 * libio/libio.h: Likewise.
42068 * libio/libioP.h: Likewise.
42069 * libio/stdio.h: Likewise.
42070 * locale/lc-ctype.c: Likewise.
42071 * locale/locale.h: Likewise.
42072 * login/utmp.h: Likewise.
42073 * malloc/arena.c: Likewise.
42074 * malloc/malloc.c: Likewise.
42075 * malloc/malloc.h: Likewise.
42076 * malloc/mcheck.c: Likewise.
42077 * malloc/mtrace.c: Likewise.
42078 * math/bits/mathcalls.h: Likewise.
42079 * math/fenv.h: Likewise.
42080 * math/math_private.h: Likewise.
42081 * misc/bits/error.h: Likewise.
42082 * misc/bits/syslog.h: Likewise.
42083 * misc/err.h: Likewise.
42084 * misc/error.h: Likewise.
42085 * misc/fstab.h: Likewise.
42086 * misc/mntent.h: Likewise.
42087 * misc/regexp.h: Likewise.
42088 * misc/search.h: Likewise.
42089 * misc/sgtty.h: Likewise.
42090 * misc/sys/mman.h: Likewise.
42091 * misc/sys/syslog.h: Likewise.
42092 * misc/sys/uio.h: Likewise.
42093 * misc/sys/xattr.h: Likewise.
42094 * misc/ttyent.h: Likewise.
42095 * nis/rpcsvc/ypclnt.h: Likewise.
42096 * nss/nss.h: Likewise.
42097 * posix/bits/unistd.h: Likewise.
42098 * posix/fnmatch.h: Likewise.
42099 * posix/glob.h: Likewise.
42100 * posix/sched.h: Likewise.
42101 * posix/spawn.h: Likewise.
42102 * posix/sys/wait.h: Likewise.
42103 * posix/unistd.h: Likewise.
42104 * posix/wordexp.h: Likewise.
42105 * pwd/pwd.h: Likewise.
42106 * resolv/netdb.h: Likewise.
42107 * resource/sys/resource.h: Likewise.
42108 * rt/aio.h: Likewise.
42109 * rt/bits/mqueue2.h: Likewise.
42110 * rt/mqueue.h: Likewise.
42111 * shadow/shadow.h: Likewise.
42112 * signal/signal.h: Likewise.
42113 * socket/send.c: Likewise.
42114 * socket/sendto.c: Likewise.
42115 * socket/sys/socket.h: Likewise.
42116 * stdio-common/printf.h: Likewise.
42117 * stdlib/bits/stdlib.h: Likewise.
42118 * stdlib/fmtmsg.h: Likewise.
42119 * stdlib/monetary.h: Likewise.
42120 * stdlib/stdlib.h: Likewise.
42121 * stdlib/ucontext.h: Likewise.
42122 * streams/stropts.h: Likewise.
42123 * string/argz.h: Likewise.
42124 * string/bits/string2.h: Likewise.
42125 * string/string.h: Likewise.
42126 * string/strings.h: Likewise.
42127 * sunrpc/rpc/auth.h: Likewise.
42128 * sunrpc/rpc/auth_des.h: Likewise.
42129 * sunrpc/rpc/clnt.h: Likewise.
42130 * sunrpc/rpc/netdb.h: Likewise.
42131 * sunrpc/rpc/pmap_clnt.h: Likewise.
42132 * sunrpc/rpc/xdr.h: Likewise.
42133 * sysdeps/generic/inttypes.h: Likewise.
42134 * sysdeps/generic/net/if.h: Likewise.
42135 * sysdeps/generic/sys/swap.h: Likewise.
42136 * sysdeps/gnu/net/if.h: Likewise.
42137 * sysdeps/gnu/utmpx.h: Likewise.
42138 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
42139 * sysdeps/i386/i486/bits/string.h: Likewise.
42140 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
42141 * sysdeps/s390/bits/string.h: Likewise.
42142 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
42143 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
42144 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
42145 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
42146 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
42147 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
42148 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
42149 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
42150 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
42151 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
42152 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
42153 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42154 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
42155 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42156 * sysdeps/unix/sysv/linux/readv.c: Likewise.
42157 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
42158 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42159 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42160 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
42161 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
42162 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42163 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
42164 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
42165 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
42166 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
42167 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
42168 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
42169 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42170 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
42171 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
42172 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
42173 * sysvipc/sys/ipc.h: Likewise.
42174 * sysvipc/sys/msg.h: Likewise.
42175 * sysvipc/sys/sem.h: Likewise.
42176 * sysvipc/sys/shm.h: Likewise.
42177 * termios/termios.h: Likewise.
42178 * time/sys/time.h: Likewise.
42179 * time/time.h: Likewise.
42180 * wcsmbs/bits/wchar2.h: Likewise.
42181 * wcsmbs/uchar.h: Likewise.
42182 * wcsmbs/wchar.h: Likewise.
42183 * wctype/wctype.h: Likewise.
42184
0269750c
UD
42185 [BZ #13551]
42186 * Makeconfig: Remove all but ELF support including AIX support.
42187 * Makerules: Likewise.
42188 * config.h.in: Likewise.
42189 * config.make.in: Likewise.
42190 * configure: Likewise.
42191 * configure.in: Likewise.
42192 * csu/Makefile: Likewise.
42193 * csu/version.c: Likewise.
42194 * debug/Makefile: Likewise.
42195 * dlfcn/Makefile: Likewise.
42196 * elf/Makefile: Likewise.
42197 * extra-lib.mk: Likewise.
42198 * iconv/Makefile: Likewise.
42199 * include/libc-symbols.h: Likewise.
42200 * include/shlib-compat.h: Likewise.
42201 * resolv/Makefile: Likewise.
42202 * resolv/res_libc.c: Likewise.
42203 * rt/Makefile: Likewise.
42204 * sysdeps/i386/asm-syntax.h: Likewise.
42205 * sysdeps/i386/sysdep.h: Likewise.
42206 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42207 * sysdeps/mach/sysdep.h: Likewise.
42208 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
42209 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
42210 * sysdeps/s390/asm-syntax.h: Likewise.
42211 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42212 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42213 * sysdeps/sh/sysdep.h: Likewise.
42214 * sysdeps/unix/sparc/sysdep.h: Likewise.
42215 * sysdeps/wordsize-32/divdi3.c: Likewise.
42216 * sysdeps/x86_64/sysdep.h: Likewise.
42217
00bbd29b
UD
42218 * argp/Versions: Remove _argp_unlock_xxx.
42219
42220 [BZ #13559]
42221 * abilist/ld.abilist: Update. Adjust for removal of tls option.
42222 * abilist/libBrokenLocale.abilist: Likewise.
42223 * abilist/libanl.abilist: Likewise.
42224 * abilist/libc.abilist: Likewise.
42225 * abilist/libcrypt.abilist: Likewise.
42226 * abilist/libdl.abilist: Likewise.
42227 * abilist/libm.abilist: Likewise.
42228 * abilist/libnsl.abilist: Likewise.
42229 * abilist/libpthread.abilist: Likewise.
42230 * abilist/libresolv.abilist: Likewise.
42231 * abilist/librt.abilist: Likewise.
42232 * abilist/libthread_db.abilist: Likewise.
42233 * abilist/libutil.abilist: Likewise.
42234 * abilist/libnss_db.abilist: New file.
42235
42236 * scripts/abilist.awk: Add support for indirect functions.
42237
a2693a0e
UD
42238 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
42239
3f05895f
UD
42240 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
42241
ecb6fb48
UD
42242 * shlib-versions: Remove entries for ports architectures.
42243
664f8cb9
UD
42244 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
42245 files in ports.
42246 * elf/stackguard-macros.h: Remove support for IA-64.
42247 * elf/tst-auditmod1.c: Likewise.
42248 * sysdeps/generic/ldsodefs.h: Likewise.
42249
7ae81d88
UD
42250 * sysdeps/unix/sysv/linux/configure.in: Ports should define
42251 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
42252 configure files.
42253
bdeba135
UD
42254 [BZ #13552]
42255 * configure.in: Remove --enable-omitfp support.
42256 * FAQ.in: Adjust.
42257 * config.make.in: Likewise.
42258 * Makeconfig: Likewise.
42259 * manual/install.texi: Likewise.
42260
d75a0a62
UD
42261 In case anyone cares, the IA-64 architecture could move to ports.
42262 * sysdeps/ia64/*: Removed.
42263 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 42264 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 42265
dcc9756b
UD
42266 [BZ #13555]
42267 * configure.in: Remove entries for unsupported architectures.
42268
d3761ebc 42269 [BZ #13533]
9954432e
UD
42270 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
42271 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
42272 routines.
42273 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
42274 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
42275 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
42276 fall back to using wcrtomb.
42277 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
42278 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
42279 renaming.
42280 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
42281 * wcsmbs/tst-c16c32-1.c: New file.
42282
42283 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
42284 local variable.
42285
c3a87236
UD
42286 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
42287
28926a1b
UD
42288 * elf/tst-unique3.cc: Add explicit declaration of gets.
42289 * elf/tst-unique3lib.cc: Likewise.
42290 * elf/tst-unique3lib2.cc: Likewise.
42291 * elf/tst-unique4.cc: Likewise.
42292
df78418a
UD
42293 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
42294
8ecd6b2a
JM
422952012-01-06 Joseph Myers <joseph@codesourcery.com>
42296
42297 [BZ #13566]
42298 * assert/assert.h (static_assert): Don't define for C++.
42299 * libio/stdio.h (gets): Do declare for C++ <= C++11.
42300 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
42301
9f115170
UD
423022012-01-03 Ulrich Drepper <drepper@gmail.com>
42303
5e0d0300
UD
42304 * iconv/loop.c (single loop): Fix assertion in storing of
42305 remaining bytes.
42306
9f115170
UD
42307 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
42308
81fb02b0
UD
423092012-01-01 Ulrich Drepper <drepper@gmail.com>
42310
42311 * posix/getconf.c: Update copyright year.
42312 * nss/getent.c: Likewise.
a316c1f6 42313 * nss/makedb.c: Likewise.
81fb02b0
UD
42314 * iconv/iconvconfig.c: Likewise.
42315 * iconv/iconv_prog.c: Likewise.
42316 * elf/ldconfig.c: Likewise.
a316c1f6
UD
42317 * elf/pldd.c: Likewise.
42318 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
42319 * catgets/gencat.c: Likewise.
42320 * csu/version.c: Likewise.
42321 * elf/ldd.bash.in: Likewise.
42322 * elf/sprof.c (print_version): Likewise.
42323 * locale/programs/locale.c: Likewise.
42324 * locale/programs/localedef.c: Likewise.
a316c1f6 42325 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
42326 * nscd/nscd.c (print_version): Likewise.
42327 * debug/xtrace.sh: Likewise.
42328 * malloc/memusage.sh: Likewise.
42329 * malloc/mtrace.pl: Likewise.
42330 * debug/catchsegv.sh: Likewise.
42331
2ba92745
JJ
423322011-12-30 Jakub Jelinek <jakub@redhat.com>
42333
42334 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
42335 pure attribute.
42336
dadebdae
UD
423372011-12-24 Ulrich Drepper <drepper@gmail.com>
42338
d3761ebc 42339 [BZ #13533]
db6af3eb
UD
42340 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
42341 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
42342 transformations.
42343 * iconv/gconv_int.h: Likewise.
42344 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
42345 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
42346 from libc for GLIBC_2.16.
42347 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
42348 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
42349 * wcsmbs/uchar.h: Really define mbstate_t.
42350 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
42351 * wcsmbs/c16rtomb.c: New file.
42352 * wcsmbs/mbrtoc16.c: New file.
42353 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
42354 for C/POSIX locale.
42355 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
42356 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
42357
dadebdae
UD
42358 * wcsmbs/wchar.h: Add missing __restrict.
42359
67371b56
UD
423602011-12-23 Ulrich Drepper <drepper@gmail.com>
42361
74033a25
UD
42362 [BZ #13532]
42363 * time/Makefile (routines): Add timespec_get.
42364 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
42365 * time/time.h: Define TIME_UTC and declare timespec_get. Define
42366 timespec for ISO C11.
42367 * time/timespec_get.c: New file.
42368 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
42369 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
42370
380d7e87
UD
42371 [BZ #13531]
42372 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
42373 * stdlib/stdlib.h: Declare aligned_alloc.
42374 * Versions.def: Add GLIBC_2.16 for libc.
42375 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
42376
4e9e7a35
UD
42377 [BZ 13527]
42378 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
42379 ISO C11.
42380
380d7e87 42381 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
42382 code.
42383
03a71829
UD
42384 [BZ #13528]
42385 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
42386
839e283e
UD
42387 [BZ #13529]
42388 * assert/assert.h (static_assert): Define.
42389
ce5294e2 42390 * version.h: Update for 2.16 development version.
90fa7312 42391
8d44e150 42392 [BZ #13526]
d7809905
UD
42393 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
42394 _ISOC11_SOURCE.
42395
c0da14cd
UD
42396 * version.h (RELEASE): Bump for 2.15 release.
42397 * include/features.h (__GLIBC_MINOR__): Bump to 15.
42398
530a3249
MP
42399 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
42400 Patch by Marek Polacek <mpolacek@redhat.com>.
42401
67371b56
UD
42402 * bits/byteswap.h: Protect long long constants with __extension__.
42403 * sysdeps/i386/bits/byteswap.h: Likewise.
42404 * sysdeps/ia64/bits/byteswap.h: Likewise.
42405 * sysdeps/s390/bits/byteswap.h: Likewise.
42406 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42407
15db4de1
LD
424082011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42409
42410 [BZ #13540]
bbe315ea
LD
42411 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
42412 destination buffer.
15db4de1
LD
42413 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
42414
2b2596b1
MP
424152011-12-23 Marek Polacek <polacek@redhat.com>
42416
42417 * elf/dl-addr.c (determine_info): Add inline keyword.
42418 * elf/tst-auditmod4b.c (check_avx): Likewise.
42419 * elf/tst-auditmod6b.c (check_avx): Likewise.
42420 * elf/tst-auditmod6c.c (check_avx): Likewise.
42421 * elf/tst-auditmod7b.c (check_avx): Likewise.
42422
70c6c246
UD
424232011-12-23 Ulrich Drepper <drepper@gmail.com>
42424
42425 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
42426 !__SSE_MATH__.
42427
c044cf14
LD
424282011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42429
15db4de1 42430 [BZ #13540]
c044cf14
LD
42431 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
42432 processing for last bytes.
42433
6b13d9d9
BH
424342011-08-06 Bruno Haible <bruno@clisp.org>
42435
d455f537
BH
42436 [BZ #13061]
42437 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
42438 U+0385, not to U+1FEE.
42439
6b13d9d9
BH
42440 [BZ #13062]
42441 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
42442 entry for U+00A5 U+0301.
42443
db910efd
UD
424442011-12-22 Ulrich Drepper <drepper@gmail.com>
42445
27deeafc
UD
42446 [BZ #13166]
42447 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
42448 buffer for the output is too small.
42449
aed9d171
UD
42450 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
42451 optimization.
42452
db910efd
UD
42453 [BZ #13185]
42454 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
42455 SSE flags if possible.
42456
2bd779ae
LD
424572011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42458
e7f9dac3 42459 [BZ #13540]
2bd779ae
LD
42460 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
42461 processing for last bytes.
42462
154bfc16
JM
424632011-12-22 Joseph Myers <joseph@codesourcery.com>
42464
42465 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
42466 (syscall-list-default-options, syscall-list-default-condition)
42467 (syscall-list-includes): Define.
42468 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
42469 list of ABIs and options and #if conditions for each ABI. Do not
42470 handle common syscalls between ABIs specially.
42471 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
42472 Remove.
42473 (syscall-list-variants, syscall-list-32bit-options)
42474 (syscall-list-32bit-condition, syscall-list-64bit-options)
42475 (syscall-list-64bit-condition): Define.
42476 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
42477 (syscall-list-variants, syscall-list-32bit-options)
42478 (syscall-list-32bit-condition, syscall-list-64bit-options)
42479 (syscall-list-64bit-condition): Define.
42480 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
42481 Remove.
42482 (syscall-list-variants, syscall-list-32bit-options)
42483 (syscall-list-32bit-condition, syscall-list-64bit-options)
42484 (syscall-list-64bit-condition): Define.
42485 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
42486 Remove.
42487 (syscall-list-variants, syscall-list-32bit-options)
42488 (syscall-list-32bit-condition, syscall-list-64bit-options)
42489 (syscall-list-64bit-condition): Define.
42490
21eaf3a5
UD
424912011-12-22 Ulrich Drepper <drepper@gmail.com>
42492
16c6f992
UD
42493 * locale/iso-639.def: Add brx entry.
42494
41043168
UD
42495 [BZ #13328]
42496 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
42497 Proposed by Mariusz_Cukr <marcukr@op.pl>.
42498
21eaf3a5
UD
42499 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
42500 __feraiseexcept_renamed.
42501
e3a851a2
UD
425022011-12-21 Ulrich Drepper <drepper@gmail.com>
42503
4920765e
UD
42504 [BZ #13538]
42505 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
42506 EPOLLET with unsigned values.
42507 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42508 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42509
e3a851a2
UD
42510 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
42511 to large cancellation.
42512 * math/s_cacoshf.c: Likewise.
42513 * math/s_cacoshl.c: Likewise.
42514
b27e24b8
RK
425152011-11-18 Richard B. Kreckel <kreckel@ginac.de>
42516
42517 [BZ #13305]
aebefeee 42518 [BZ #12786]
b27e24b8
RK
42519 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
42520 * math/s_cacoshf.c: Likewise.
42521 * math/s_cacoshl.c: Likewise.
42522
ee190f67
UD
425232011-12-21 Ulrich Drepper <drepper@gmail.com>
42524
42525 [BZ #13439]
42526 * iconv/gconv.h: Define __GCONV_SWAP.
42527 * iconvdata/unicode.c: The swap bit must be stored in __flags.
42528 * iconvdata/utf-16.c: Likewise.
42529 * iconvdata/utf-32.c: Likewise.
42530
707f25df
AS
425312011-12-21 Andreas Schwab <schwab@linux-m68k.org>
42532
42533 [BZ #13524]
42534 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
42535 numerator after shifting it by one limb.
42536
d2daaa1e
RÁE
425372011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
42538
42539 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
42540 under [__USE_EXTERN_INLINES].
42541
a4647e72
UD
425422011-12-17 Ulrich Drepper <drepper@gmail.com>
42543
42544 [BZ #13446]
42545 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
42546
f0b264f1
AZ
425472011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42548
42549 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
42550 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
42551 optimized code.
42552 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
42553 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
42554 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
42555 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
42556 for strncasecmp/strncasecmp_l compilation.
42557 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
42558 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
42559
8ef4f244
MP
425602011-12-08 Marek Polacek <mpolacek@redhat.com>
42561
42562 [BZ #13484]
42563 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
42564 of __asm__.
42565
97ac2654
UD
425662011-12-17 Ulrich Drepper <drepper@gmail.com>
42567
42568 [BZ #13506]
42569 * time/tzfile.c (__tzfile_read): Check values from file header.
42570
91d2a845
WS
425712011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
42572
42573 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
42574 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
42575 * powerpc/powerpc32/dl-start.S: Likewise.
42576 * powerpc/powerpc32/elf/start.S: Likewise.
42577 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42578 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
42579 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
42580 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
42581 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
42582 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
42583 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
42584 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
42585 * powerpc/powerpc32/fpu/s_round.S: Likewise.
42586 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
42587 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
42588 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
42589 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
42590 * powerpc/powerpc32/memset.S: Likewise.
42591 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
42592 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42593 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42594 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42595 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42596 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42597 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42598 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42599 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
42600 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
42601 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
42602 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42603 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42604
a1267ba1
AZ
426052011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42606
42607 * math/libm-test.inc: Added more nearbyint tests.
42608 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
42609 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
42610 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
42611 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
42612
ad8ac1bd
RL
426132011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
42614
42615 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
42616 FD_CLOEXEC.
42617
1d3e4b61
UD
426182011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42619
42620 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
42621 Add wcscpy-ssse3 wcscpy-c.
42622 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
42623 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
42624 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
42625 * sysdeps/x86_64/wcschr.S: New file.
42626 * sysdeps/x86_64/wcsrchr.S: New file.
42627 * string/test-strcmp.c: Remove checking of wcscmp function for
42628 wrong alignments.
42629 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
42630 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
42631 wcsrchr-sse2 wcsrchr-c.
42632 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
42633 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
42634 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
42635 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
42636 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
42637 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
42638 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
42639 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
42640 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
42641 * wcsmbc/wcschr.c (WCSCHR): New macro.
42642
5b330a2d
UD
426432011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42644
42645 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
42646 * wcsmbs/test-wcsrchr.c: New file.
42647 * string/test-strrchr.c: Add wcsrchr support.
42648 (WIDE): New macro.
42649 * wcsmbs/test-wcscpy.c: New file.
42650 * string/test-strcpy.c: Add wcscpy support.
42651 (WIDE): New macro.
26428b7c 42652
f039c043
UD
426532011-12-10 Ulrich Drepper <drepper@gmail.com>
42654
42655 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
42656 the inner loop.
42657
850fb039
AS
426582011-12-06 Andreas Schwab <schwab@linux-m68k.org>
42659
42660 [BZ #13472]
42661 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
42662
4efbd5cb
UD
426632011-12-04 Ulrich Drepper <drepper@gmail.com>
42664
52ff5dd0 42665 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 42666 Minor optimizations.
52ff5dd0 42667
4efbd5cb
UD
42668 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
42669 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
42670 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
42671
8a426e12
UD
426722011-12-03 Ulrich Drepper <drepper@gmail.com>
42673
aff2453d
UD
42674 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
42675 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
42676 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
42677 for gcc to avoid warnings.
42678 * inet/Makefile (tests): Add tst-checks.
42679 * inet/tst-checks.c: New file.
42680
42681 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
42682 warning.
42683
42684 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
42685 __wmemcmp_sse2.
42686
42687 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
42688 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
42689
8a426e12
UD
42690 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
42691
9bea3473
UD
426922011-12-02 Ulrich Drepper <drepper@gmail.com>
42693
3a965496
UD
42694 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
42695 problem.
42696
9bea3473
UD
42697 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
42698
f101631b
UD
426992011-11-29 Joseph Myers <joseph@codesourcery.com>
42700
42701 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
42702 conditional on GCC version.
42703 (__arch_compare_and_exchange_val_8_acq)
42704 (__arch_compare_and_exchange_val_16_acq)
42705 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
42706 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
42707 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
42708
a98275aa
UD
427092011-12-02 Joseph Myers <joseph@codesourcery.com>
42710
42711 * sysdeps/sh/backtrace.c: New file.
42712
d4cc29a2
AS
427132011-12-02 Andreas Schwab <schwab@redhat.com>
42714
42715 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
42716 parenthesis.
42717
6257af2d
AS
427182011-12-01 Andreas Schwab <schwab@redhat.com>
42719
42720 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
42721 falling back to utime.
42722
b5f44c1a
AS
427232011-11-30 Andreas Schwab <schwab@redhat.com>
42724
42725 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
42726 expectations for float.
42727
f3a6cc0a
AS
427282011-11-29 Andreas Schwab <schwab@redhat.com>
42729
42730 * locale/weight.h (findidx): Add parameter len.
42731 * locale/weightwc.h (findidx): Likewise.
42732 * posix/fnmatch_loop.c (FCT): Adjust caller.
42733 * posix/regcomp.c (build_equiv_class): Likewise.
42734 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
42735 * posix/regexec.c (check_node_accept_bytes): Likewise.
42736 * string/strcoll_l.c (STRCOLL): Likewise.
42737 * string/strxfrm_l.c (STRXFRM): Likewise.
42738
9d65ea3a
UD
427392011-11-17 Ulrich Drepper <drepper@gmail.com>
42740
42741 * Makefile.in: Remove CVSOPT handling.
42742 * configure.in: Remove use of AC_REVISION.
42743 * iconvdata/Makefile (distribute): No need to filter out CVS.
42744 * scripts/list-sources.sh: Remove CVS, subversion and monotone
42745 handling.
42746
5583a086
AS
427472011-11-16 Andreas Schwab <schwab@redhat.com>
42748
42749 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
42750 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
42751 [USE_AS_STRNCASECMP_L]: Likewise.
42752 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
42753 NO_TLS_DIRECT_SEG_REFS.
42754 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
42755 Fix argument offsets for non-PIC.
42756 [USE_AS_STRNCASECMP_L]: Likewise.
42757 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
42758 NO_TLS_DIRECT_SEG_REFS.
42759
d62a8200
UD
427602011-11-15 Ulrich Drepper <drepper@gmail.com>
42761
9d65ea3a 42762 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
42763 O_CLOEXEC.
42764 * locale/loadlocale.c (_nl_load_locale): Likewise.
42765
09f93bd3
AS
427662011-11-15 Andreas Schwab <schwab@redhat.com>
42767
446514f9
AS
42768 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
42769 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
42770 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
42771 (SYSCALL_GETTIME): Set errno on error.
42772
09f93bd3
AS
42773 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
42774 count references to noai6ai_cached.
42775
312be3f9
UD
427762011-11-15 Ulrich Drepper <drepper@gmail.com>
42777
42778 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
42779
42780 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
42781 FD_CLOEXEC for /proc/self/maps.
42782
42783 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
42784 FD_CLOEXEC for /proc/meminfo.
42785
42786 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
42787 gai.conf.
42788
42789 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
42790 FD_CLOEXEC for given file.
42791
42792 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
42793
42794 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
42795 FD_CLOEXEC for /etc/hosts.
42796 (_gethtent): Likewise.
42797
42798 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
42799
42800 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
42801 cancellation and set FD_CLOEXEC for /etc/netgroup.
42802
42803 * nss/nss_files/files-key.c (search): Don't allow cancellation when
42804 reading /etc/publickey.
42805
42806 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
42807 allow cancellation when reading /etc/group.
42808
42809 * nss/nss_files/files-alias.c (internal_setent): Don't allow
42810 cancellation.
42811 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
42812
42813 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
42814 when using data file.
42815
42816 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
42817
42818 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
42819 (write_nis_obj): Use "c" and "e" in fopen.
42820
42821 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
42822
42823 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
42824
42825 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
42826
42827 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
42828
42829 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
42830 locale.alias.
42831
42832 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
42833
42834 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
42835
42836 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
42837
42838 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
42839 file parsing and set FD_CLOEXEC.
42840
82af0fa8
UD
428412011-11-14 Ulrich Drepper <drepper@gmail.com>
42842
42843 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
42844
a5fb313c
AS
428452011-11-14 Andreas Schwab <schwab@redhat.com>
42846
42847 * malloc/arena.c (arena_get2): Don't call reused_arena when
42848 _int_new_arena failed.
42849
6abf3465
UD
428502011-11-14 Ulrich Drepper <drepper@gmail.com>
42851
42852 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
42853 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
42854 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
42855 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42856 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42857 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
42858 to compile strcasecmp and strncasecmp.
42859 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
42860 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
42861
42862 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
42863
76e3966e
UD
428642011-11-13 Ulrich Drepper <drepper@gmail.com>
42865
42866 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
42867 locale-defines.sym to gen-as-const-headers.
42868 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
42869 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
42870 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
42871 to compile strcasecmp and strncasecmp.
42872 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
42873 strcasecmp_l and strncasecmp_l.
42874 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
42875 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
42876 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
42877 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
42878 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
42879 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
42880 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
42881 * sysdeps/i386/i686/multiarch/strncase.S: New file.
42882 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
42883 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
42884 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
42885
ab26144e
UD
428862011-11-12 Ulrich Drepper <drepper@gmail.com>
42887
7edb22ef
UD
42888 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
42889 result of SYSDEP_GETTIME_CPU to retval.
42890 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
42891 parameter list to macro. Remove trailing semicolon. Adjust users.
42892
9694fc44
UD
42893 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
42894 variable.
42895
8ad89ef8
UD
42896 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
42897 mantissa words.
42898 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
42899
0c822ef9
UD
42900 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
42901 from unused variable.
42902
874e0564
UD
42903 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
42904 DWARF definitions.
42905 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
42906 for assembling.
42907
3a2edc79
UD
42908 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
42909 over namespaces.
42910
f3c2577f
UD
42911 * sunrpc/rpc_prot.c (rejected): Fix case value.
42912
294ce126
UD
42913 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
42914 unsigned long long int to avoid warnings in shift.
42915
5e2b63c6
UD
42916 * posix/regex_internal.c (re_string_reconstruct): Actually use result
42917 of use of trans.
42918 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
42919 variable tmp.
42920
e7f4b08e
UD
42921 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
42922 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
42923 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
42924
ab26144e
UD
42925 * nis/nis_table.c (nis_list): Use variable of correct type for
42926 result of __follow_path call.
42927
8a6d5255
AZ
429282011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42929
42930 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
42931 of math functions ceil, trunc, floor, round, and sqrt, when
42932 avaliable on the platform.
42933 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
42934 name clash.
42935 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42936 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42937 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42938
aaddc98c
MP
429392011-10-30 Marek Polacek <mpolacek@redhat.com>
42940
42941 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
42942 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
42943
95b7042b
RM
429442011-11-11 Roland McGrath <roland@hack.frob.com>
42945
42946 * include/unistd.h: Fix __readlink return type.
42947 Reported by Chris Metcalf <cmetcalf@tilera.com>.
42948
57769839
UD
429492011-11-11 Ulrich Drepper <drepper@gmail.com>
42950
42951 * stdlib/ucontext.h: Undo last change for makecontext.
42952
edc5984d
AS
429532011-11-11 Andreas Schwab <schwab@redhat.com>
42954
98591e58
AS
42955 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
42956
edc5984d
AS
42957 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
42958 * setjmp/setjmp.h: Mark functions as non-leaf.
42959 * setjmp/bits/setjmp2.h: Likewise.
42960 * stdlib/ucontext.h: Likewise.
42961
77cdc054
AS
429622011-11-10 Andreas Schwab <schwab@redhat.com>
42963
42964 * malloc/arena.c (_int_new_arena): Don't increment narenas.
42965 (reused_arena): Don't check arena limit.
42966 (arena_get2): Atomically check arena limit.
42967
fe72eebd
UD
429682011-11-08 Ulrich Drepper <drepper@gmail.com>
42969
5f078c32
UD
42970 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
42971 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
42972
fe72eebd
UD
42973 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
42974 instructions.
42975
ae1bc2fa
AS
429762011-11-07 Andreas Schwab <schwab@redhat.com>
42977
7583a88d
AS
42978 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
42979 handler when locking.
42980
ae1bc2fa
AS
42981 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42982 Fix size of allocated buffer.
42983
10fb0bfa
AS
429842011-11-04 Andreas Schwab <schwab@redhat.com>
42985
998832a4
AS
42986 [BZ #10103]
42987 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
42988 declarations for long double functions.
42989 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
42990
10fb0bfa
AS
42991 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
42992
3d7ba52b
AS
429932011-11-03 Andreas Schwab <schwab@redhat.com>
42994
a9ae54a1
AS
42995 * nscd/nscd.c (main): Don't start AVC thread until credentials are
42996 installed.
42997
3d7ba52b
AS
42998 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
42999 is disabled.
43000
bc8db248
ST
430012011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
43002
43003 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
43004
45b96dd6
AS
430052011-11-01 Andreas Schwab <schwab@linux-m68k.org>
43006
647776f6
AS
43007 * include/alloca.h (stackinfo_alloca_round): Define.
43008 (extend_alloca): Use it.
43009 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
43010 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
43011 here.
43012
d91a8b93
AS
43013 * scripts/check-local-headers.sh: Ignore libaudit.h.
43014
45b96dd6
AS
43015 * nscd/Makefile (extra-objs): Make recursively expanded.
43016
432d41ce
UD
430172011-11-01 Ulrich Drepper <drepper@gmail.com>
43018
34372fc6
UD
43019 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
43020 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
43021
fadb59f8
UD
43022 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
43023 * posix/tst-rfc3484-2.c: Likewise.
43024 * posix/tst-rfc3484-3.c: Likewise.
43025
78239589
UD
43026 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43027 process_vm_writev.
43028 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
43029 process_vm_writev.
43030 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
43031 process_vm_writev from libc using GLIBC_2.15 version.
43032
432d41ce
UD
43033 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
43034
02f9c6cf
PP
430352011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
43036
43037 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
43038 stack usage.
43039
3a2c0242
UD
430402011-10-31 Ulrich Drepper <drepper@gmail.com>
43041
f4ec4833
UD
43042 [BZ #13367]
43043 * nss/getent.c (initgroups_keys): Show error message in case no group
43044 names are given.
43045
3a2c0242
UD
43046 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
43047 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
43048 __bump_nl_timestamp.
43049 * nscd/connections (nscd_init): When host database is served open
43050 netlink socket and request notification about configuration changes.
43051 (main_loop_poll): Track netlink file descriptor and bump timestamp
43052 in case data becomes available.
43053 (main_loop_epoll): Likewise.
43054 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
43055 (database_pers_head): Add extra_data fileds.
43056 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
43057 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
43058 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
43059 Adjust caller.
43060 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
43061 in6ai data, call __free_in6ai.
43062 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
43063 Add -DHAVE_NETLINK.
43064 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
43065 interface information. Reuse previous data if netlink timestamp
43066 is not changed.
43067 (__bump_nl_timestamp): New function.
43068 (__free_in6ai): New function.
43069
636064eb
UD
430702011-10-30 Ulrich Drepper <drepper@gmail.com>
43071
43072 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
43073 close_not_cancel_no_status here.
43074 (__check_pf): Reorganize code a bit to not call close twice if OOM.
43075
9beb2334
UD
430762011-10-29 Ulrich Drepper <drepper@gmail.com>
43077
6ef76f3b
UD
43078 [BZ #13276]
43079 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
43080 return value.
43081
0ffc4f3e 43082 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
43083 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
43084 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
43085
cb95113e
UD
430862011-07-03 Andreas Jaeger <aj@suse.de>
43087
43088 [BZ #10709]
43089 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
43090 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
43091 * math/libm-test.inc (sin_test): Add test case.
43092
a1b560ff
UD
430932011-10-29 Ulrich Drepper <drepper@gmail.com>
43094
c9aaface
UD
43095 [BZ #13337]
43096 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
43097 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43098
d272e7f1
UD
43099 * elf/chroot_canon.c (chroot_canon): Cleanups.
43100
1bc33071
UD
43101 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
43102
1760874d
TJ
43103 [BZ #13335]
43104 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
43105 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43106
51d91b18
UD
43107 * string/test-strchr.c: Make usable for strchrnul testing.
43108 * string/test-strchrnul.c: New file.
43109 * string/Makefile (strop-tests): Add strchrnul.
43110
a1b560ff 43111 * po/it.po: Update from translation team.
b611fb81 43112 * po/es.po: Likewise.
a1b560ff 43113
a5b81e1f
UD
431142011-10-28 Ulrich Drepper <drepper@gmail.com>
43115
fd52bc6d
UD
43116 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
43117 the three constants needed as parameters. Drop the others.
43118 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
43119 __m128i_strloadu_tolower.
52e4b9eb
UD
43120 Create and initialize variable zero and use it in all the places
43121 where _mm_setzero_si128 was used.
fd52bc6d 43122
a5b81e1f
UD
43123 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
43124 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
43125 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
43126 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
43127 anymore.
43128 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
43129 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
43130 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
43131 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
43132 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
43133 __mpranred, __mptan.
43134 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
43135 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
43136 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
43137 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
43138 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
43139 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
43140 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
43141 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
43142 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
43143
b4343346
AS
431442011-10-28 Andreas Schwab <schwab@redhat.com>
43145
0c92d8a8
AS
43146 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
43147 redefine if SHARED.
43148 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
43149
b4343346
AS
43150 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
43151 wide char related routines to wcsmbs subdir.
43152
3871f58f
AS
431532011-10-27 Andreas Schwab <schwab@redhat.com>
43154
43155 [BZ #13344]
43156 * misc/sys/cdefs.h (__THROWNL): Define.
43157 * posix/unistd.h: Use __THREADNL instead of __THREAD
43158 for memory synchronization functions.
43159
94d44d9f
RM
431602011-10-26 Roland McGrath <roland@hack.frob.com>
43161
21b64b15 43162 [BZ #13349]
94d44d9f
RM
43163 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
43164 doesn't exist.
43165 * manual/stdio.texi (Obstack Streams): Node removed.
43166
f6ce9294
AS
431672011-10-26 Andreas Schwab <schwab@redhat.com>
43168
80479147
AS
43169 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
43170 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43171 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43172
f6ce9294
AS
43173 * math/math_private.h (math_force_eval): Allow non-addressable
43174 arguments.
43175 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
43176
618280a1
UD
431772011-10-25 Ulrich Drepper <drepper@gmail.com>
43178
e0016b11
UD
43179 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
43180 file is not needed.
43181
43182 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
43183 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
43184 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43185 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43186 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43187 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43188 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43189 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
43190 Add AVX variants.
43191 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
43192 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
43193 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
43194 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
43195 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
43196 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
43197 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
43198 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
43199 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
43200 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
43201 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
43202 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
43203 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
43204 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
43205 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
43206 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
43207 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
43208 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
43209 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
43210
43211 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
43212 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
43213
618280a1
UD
43214 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
43215 place. Use VEX encoding when compiling for AVX.
43216
37822576
AS
432172011-10-25 Andreas Schwab <schwab@redhat.com>
43218
1f1e1947
AS
43219 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
43220 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
43221
37822576
AS
43222 * string/test-strchr.c (do_test): Don't generate NUL bytes.
43223
31ea014d
UD
432242011-10-25 Ulrich Drepper <drepper@gmail.com>
43225
d7826aa1 43226 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 43227 useless if() expression.
d7826aa1
UD
43228 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43229 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43230 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43231 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43232 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43233 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43234 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43235 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43236 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43237 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43238 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43239 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43240 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43241 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43242 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43243 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43244 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43245 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43246 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43247
31ea014d
UD
43248 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
43249
16437fec
AS
432502011-10-25 Andreas Schwab <schwab@redhat.com>
43251
43252 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
43253 condition.
43254 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43255
31d3cc00
UD
432562011-10-25 Ulrich Drepper <drepper@gmail.com>
43257
43258 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
43259 .text section. Avoid duplicate constants.
43260 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43261 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43262 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43263 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43264 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43265 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43266 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43267 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43268 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43269 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
43270 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43271 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43272 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43273 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43274 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43275 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43276 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43277 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43278 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43279 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43280 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43281 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43282 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43283 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
43284 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
43285 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
43286 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
43287 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
43288 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
43289 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
43290 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
43291 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
43292 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43293 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
43294 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
43295 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
43296 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
43297 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
43298 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
43299 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
43300 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
43301 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
43302 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
43303 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
43304 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
43305
58985aa9
UD
433062011-10-24 Ulrich Drepper <drepper@gmail.com>
43307
202c9deb
UD
43308 * sysdeps/x86_64/dla.h: Move to ...
43309 * sysdeps/x86_64/fpu/dla.h: ...here.
43310 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
43311 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 43312
af968f62
UD
43313 * config.make.in: Add have-mfma4 entry.
43314 * configure.in: Substitute libc_cv_cc_fma4.
43315 * math/Makefile (dbl-only-routines): Add sincostab.
43316 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
43317 Use __sincostab not sincos.
43318 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
43319 name is a macro.
43320 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43321 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43322 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43323 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
43324 using __copysign.
43325 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
43326 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
43327 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
43328 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
43329 and __inv.
43330 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
43331 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
43332 __copysign.
43333 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
43334 define aliases when function name is a macro.
43335 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
43336 sysdeps/ieee754/dbl-64/sincos.tbl.
43337 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
43338 fma4-enabled routines.
43339 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
43340 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
43341 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
43342 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
43343 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
43344 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
43345 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
43346 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
43347 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
43348 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
43349 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
43350 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
43351 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
43352 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
43353 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
43354 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
43355 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
43356 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
43357 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
43358 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
43359 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
43360 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
43361 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
43362 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
43363 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
43364 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
43365 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
43366 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
43367 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
43368 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
43369
58985aa9
UD
43370 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
43371 rename.
43372 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43373 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43374 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43375 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43376 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43377 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43378 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43379 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43380
a201fbcf
AS
433812011-10-24 Andreas Schwab <schwab@redhat.com>
43382
43383 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
43384
fc2ee42a
LD
433852011-10-23 Ulrich Drepper <drepper@gmail.com>
43386
bb3129bd
UD
43387 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
43388
0275fff8
UD
43389 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
43390 prediction.
43391 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
43392
2fa2ae85
UD
43393 * string/strnlen.c: Don't define STRNLEN, reverse logic.
43394 Remove unused variable magic_bits.
43395 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
43396
fc2ee42a
LD
43397 * string/strnlen.c: Define and use STRNLEN macro.
43398 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
43399 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
43400 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
43401 * wcsmbs/wcslen.c: Define and use WCSLEN.
43402 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
43403 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
43404 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
43405 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
43406 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
43407 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
43408 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43409
ce7dd29f
LD
434102011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43411
43412 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43413 strnlen-sse2-no-bsf.
43414 Rename strlen-no-bsf to strlen-sse2-no-bsf.
43415 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
43416 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
43417 Add strnlen support.
43418 (USE_AS_STRNLEN): New macro.
43419 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
43420 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
43421 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
43422 * sysdeps/x86_64/wcslen.S: New file.
43423
979c70a3
MZ
434242011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
43425
43426 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43427 XMM-moves are used for copying on small sizes.
43428
2d09f82f
LD
434292011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43430
43431 * wcsmbs/Makefile (strop-tests): Add wcschr.
43432 * wcsmbs/test-wcschr.c: New file.
43433 * string/test-strchr.c: Update.
43434 Add wcschr support.
43435 (WIDE): New macro.
43436
619fccca
LD
434372011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43438
2d09f82f 43439 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
43440 * wcsmbs/test-wcslen.c: New file.
43441 * string/test-strlen.c: Update.
43442 Add wcslen support.
43443 (WIDE): New macro.
43444
09f699ea
UD
434452011-10-23 Ulrich Drepper <drepper@gmail.com>
43446
43447 * po/it.po: Update from translation team.
43448
95584d3b
LD
434492011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43450
43451 * sysdeps/x86_64/wcscmp.S: Update.
43452 Fix wrong comparison semantics.
43453 wcscmp shall use signed comparison not unsigned.
43454 Don't use substraction to avoid overflow bug.
43455 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
43456 * wcsmbc/wcscmp.c: Likewise.
43457 * string/test-strcmp.c: Likewise.
43458 Add new tests to check cases with negative values.
43459
c8b3296b
UD
434602011-10-23 Ulrich Drepper <drepper@gmail.com>
43461
43462 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
43463 * sysdeps/x86_64/dla.h: ...here. New file.
43464 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
43465 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43466 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43467 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43468 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43469 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43470 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43471 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43472 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43473
246ad57a
AS
434742011-10-23 Andreas Schwab <schwab@linux-m68k.org>
43475
43476 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
43477 __ynl_finite aliases.
43478
a1a87169
UD
434792011-10-22 Ulrich Drepper <drepper@gmail.com>
43480
0d355eb7
UD
43481 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43482
a1a87169
UD
43483 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
43484 define DLA_FMA.
43485 [DLA_FMA] (EMULV): Use DLA_FMA.
43486 [DLA_FMA] (MUL12): Use EMULV.
43487 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
43488 that are not needed.
43489 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43490 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43491 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43492 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43493 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43494 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43495 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43496
ee2aafe0
AS
434972011-10-22 Andreas Schwab <schwab@linux-m68k.org>
43498
43499 * math/s_nan.c: Undef __nan.
43500 * math/s_nanf.c: Undef __nanf.
43501 * math/s_nanl.c: Undef __nanl.
43502 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
43503 "math_private.h".
43504
bc62c2fb
UD
435052011-10-22 Ulrich Drepper <drepper@gmail.com>
43506
77425c63
UD
43507 * math/s_catan.c: Add branch predictions.
43508 * math/s_catanf.c: Likewise.
43509 * math/s_catanh.c: Likewise.
43510 * math/s_catanhf.c: Likewise.
43511 * math/s_catanhl.c: Likewise.
43512 * math/s_catanl.c: Likewise.
43513 * math/s_cexp.c: Likewise.
43514 * math/s_cexpf.c: Likewise.
43515 * math/s_cexpl.c: Likewise.
43516 * math/s_clog.c: Likewise.
43517 * math/s_clog10.c: Likewise.
43518 * math/s_clog10f.c: Likewise.
43519 * math/s_clog10l.c: Likewise.
43520 * math/s_clogf.c: Likewise.
43521 * math/s_clogl.c: Likewise.
43522 * math/s_csqrt.c: Likewise.
43523 * math/s_csqrtf.c: Likewise.
43524 * math/s_csqrtl.c: Likewise.
43525 * math/s_ctanf.c: Likewise.
43526 * math/s_ctanh.c: Likewise.
43527 * math/s_ctanhf.c: Likewise.
43528 * math/s_ctanhl.c: Likewise.
43529 * math/s_ctanl.c: Likewise.
43530
bc62c2fb
UD
43531 * math/math_private.h: Define __nan, __nanf, __nanl.
43532 * math/s_cacosh.c: Include <math_private.h>.
43533 * math/s_cacoshl.c: Likewise.
43534 * math/s_casinh.c: Likewise.
43535 * math/s_casinhf.c: Likewise.
43536 * math/s_casinhl.c: Likewise.
43537 * math/s_ccos.c: Rely entire on ccosh.
43538 * math/s_ccosf.c: Rely entire on ccoshf.
43539 * math/s_ccosl.c: Rely entirely on ccoshl.
43540 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
43541 Remove tests for FE_INVALID.
43542 * math/s_ccoshf.c: Likewise.
43543 * math/s_ccoshl.c: Likewise.
43544 * math/s_csin.c: Likewise.
43545 * math/s_csinf.c: Likewise.
43546 * math/s_csinh.c Likewise.
43547 * math/s_csinhf.c: Likewise.
43548 * math/s_csinhl.c: Likewise.
43549 * math/s_csinl.c: Likewise.
43550 * math/s_ctan.c: Likewise.
43551 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
43552 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
43553 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
43554
8ec250a4
UD
435552011-10-21 Ulrich Drepper <drepper@gmail.com>
43556
c196fed8
UD
43557 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
43558 compilation problems.
43559
8ec250a4
UD
43560 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
43561 __builtin_expect.
43562
8d4f46c6
UD
435632011-10-20 Ulrich Drepper <drepper@gmail.com>
43564
ed72b654
UD
43565 * sysdeps/i386/configure.in: Test for -mfma4 option.
43566 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
43567 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
43568 COMMON_CPUID_INDEX_80000001.
43569 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
43570 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
43571 use it if FMA3 is not supported.
43572 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
43573
8d4f46c6
UD
43574 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
43575 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43576
d45c60c2
AS
435772011-10-20 Andreas Schwab <schwab@redhat.com>
43578
43579 [BZ #12892]
43580 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
43581 it would create a cycle with a link time dependency.
43582
d9a4d2ab
UD
435832011-10-19 Ulrich Drepper <drepper@gmail.com>
43584
855d1560
UD
43585 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
43586 instruction.
43587 * string/Makefile (strop-tests): Add rawmemchr.
43588 * string/test-rawmemchr.c: New file.
43589
d9a4d2ab
UD
43590 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
43591 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
43592 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
43593 when compiling str{,n}casecmp and when AVX is available. Hook up
43594 new optimized code in initializers.
43595
8f3b1ffe
AS
435962011-10-19 Andreas Schwab <schwab@redhat.com>
43597
43598 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
43599 __feraiseexcept instead of feraiseexcept.
43600
d38f1dba
UD
436012011-10-18 Ulrich Drepper <drepper@gmail.com>
43602
d9a8d0ab
UD
43603 * math/math_private.h: Define defaults for libc_fetestexcept and
43604 libc_feupdateenv.
43605 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
43606 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
43607 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43608 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43609 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43610 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43611 libc_fetestexcept and libc_feupdateenv.
43612
4855e3dd
UD
43613 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
43614 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
43615 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
43616 * sysdeps/x86_64/fpu/math_private.h: Define special version of
43617 libc_feholdexcept_setround.
43618
581d30e3
UD
43619 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
43620 Add s_nearbyint-c and s_nearbyintf-c.
43621 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
43622 nearbyintf inlines.
43623 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
43624 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
43625 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
43626 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
43627
d38f1dba
UD
43628 * math/math_private.h: Define defaults for libc_fegetround,
43629 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
43630 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
43631 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
43632 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
43633 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
43634 standard functions.
43635 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43636 Remove comments and hacks for old compiler versions.
43637 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43638 libc_fegetround, libc_fesetround, libc_feholdexcept, and
43639 libc_feholdexceptl.
43640
caa6c9d8
AS
436412011-10-18 Andreas Schwab <schwab@redhat.com>
43642
43643 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
43644 (__feraiseexcept_renamed): Add __NTH.
43645 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
43646 namespace violations.
43647
97c066e6
UD
436482011-10-17 Ulrich Drepper <drepper@gmail.com>
43649
99ce7b04
UD
43650 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
43651
1004d182
UD
43652 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
43653
228a984d
UD
43654 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
43655 recently added interfaces.
43656 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
43657
c8553a6a
UD
43658 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
43659 about macro parameter expansion.
43660
ed22dcf6
UD
43661 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
43662 __NO_MATH_INLINES is defined. Cleanups.
43663
43664 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
43665 and __floorf is target has SSE4.1.
43666 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
43667 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
43668 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
43669 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
43670
b171c137
UD
43671 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
43672 name.
43673 (floorf): Likewise.
43674
97c066e6
UD
43675 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
43676
629f62ef
AS
436772011-10-17 Andreas Schwab <schwab@redhat.com>
43678
49a43d80
AS
43679 * misc/sys/cdefs.h: Fix last change.
43680
629f62ef
AS
43681 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
43682 database lookup.
43683
e453f6cd
UD
436842011-10-16 Ulrich Drepper <drepper@gmail.com>
43685
aa78043a
UD
43686 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
43687
ad0f5cad
UD
43688 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
43689 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43690 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43691 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43692 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43693 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43694 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43695 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43696 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43697 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
43698 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
43699 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
43700 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
43701 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
43702 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
43703 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
43704 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
43705 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
43706 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
43707 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
43708 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
43709 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
43710
43711 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
43712 ceil, ceilf, floor, floorf.
43713
43714 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
43715 Perform IRELATIVE relocations last.
43716
e453f6cd
UD
43717 * elf/do-rel.h: Add another parameter nrelative, replacing the
43718 local variable with the same name. Change name of the function
43719 to end in Rel or Rela (uppercase).
43720 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
43721 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
43722 elf_dynamic_do_##reloc function.
43723
fd5bdc09
UD
437242011-10-15 Ulrich Drepper <drepper@gmail.com>
43725
79b195b5
UD
43726 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
43727 is sufficient, at least on modern CPUs.
43728
d4a28569
UD
43729 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
43730
b61099b5
UD
43731 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
43732 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
43733
bcf01e6d
UD
43734 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
43735 __expl_finite.
43736 * math/bits/math-finite.h: Add entries for exp.
43737 * math/e_expl.c: Add __*_finite alias.
43738 * sysdeps/i386/fpu/e_exp.S: Likewise.
43739 * sysdeps/i386/fpu/e_expf.S: Likewise.
43740 * sysdeps/i386/fpu/e_expl.c: Likewise.
43741 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43742 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43743 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43744 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43745 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
43746 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43747 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43748
ba1a0d59
UD
43749 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
43750 is sufficient, at least on modern CPUs.
43751
fd5bdc09
UD
43752 * ctype/ctype-info.c (__ctype_init): Define.
43753 * include/ctype.h (__ctype_init): Declare.
43754 (__ctype_b_loc): The variable is always initialized.
43755 (__ctype_toupper_loc): Likewise.
43756 (__ctype_tolower_loc): Likewise.
43757 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
43758 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
43759
7872cfb0
AS
437602011-10-15 Andreas Schwab <schwab@linux-m68k.org>
43761
b468825a
AS
43762 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
43763
7872cfb0
AS
43764 * configure.in: Also look in $cxxmachine/include for C++ system
43765 headers.
43766
be13f7bf
LD
437672011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43768
43769 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
43770 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
43771 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
43772 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
43773 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
43774 (USE_AS_WMEMCMP): New macro.
43775 Fixing indents.
43776 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
43777 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
43778 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
43779 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
43780 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43781 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
43782 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
43783 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
43784 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
43785 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
43786 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
43787 (USE_AS_WMEMCMP): New macro.
43788 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
43789 * sysdeps/string/test-memcmp.c: Update.
43790 Fix simple_wmemcmp.
43791 Add new tests.
43792 * wcsmbs/wmemcmp.c: Update.
43793 (WMEMCMP): New macro.
43794 Fix overflow bug.
43795
556a2007
AJ
437962011-10-12 Andreas Jaeger <aj@suse.de>
43797
43798 [BZ #13268]
43799 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
43800
538faaa7
UD
438012011-10-15 Ulrich Drepper <drepper@gmail.com>
43802
ab6737ff
UD
43803 * libio/iofwide.c (do_length): Avoid warning.
43804
538faaa7
UD
43805 * ctype/ctype.h (__isctype_f): Add missing __THROW.
43806
396a21b1
UD
438072011-10-14 Ulrich Drepper <drepper@gmail.com>
43808
cdf2901f
UD
43809 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
43810
38ad40ce
UD
43811 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
43812 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
43813 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
43814 * sysdeps/i386/i686/fpu/e_log.S: New file.
43815 * sysdeps/i386/i686/fpu/e_logf.S: New file.
43816 * sysdeps/i386/i686/fpu/e_logl.S: New file.
43817
396a21b1
UD
43818 * ctype/ctype.h: Add support for inlined isXXX functions when
43819 compiling C++ code.
43820
6b1f68c9
AS
438212011-10-14 Andreas Schwab <schwab@redhat.com>
43822
349290c0
AS
43823 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43824
6b1f68c9
AS
43825 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
43826
f2282d42
RM
438272011-10-13 Roland McGrath <roland@hack.frob.com>
43828
43829 [BZ #13291]
43830 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
43831
5298ffa8
AS
438322011-10-13 Andreas Schwab <schwab@redhat.com>
43833
714fad23
AS
43834 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
43835 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
43836 feraiseexcept.
43837
81dcc7fb
AS
43838 * sysdeps/x86_64/memrchr.S: Check for zero size.
43839
5298ffa8
AS
43840 * string/stratcliff.c: Add memrchr tests.
43841
951fbcec
LD
438422011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43843
43844 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43845 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
43846 rawmemchr-sse2 rawmemchr-sse2-bsf.
43847 * sysdeps/i386/i686/multiarch/memchr.S: New file.
43848 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
43849 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
43850 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
43851 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
43852 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
43853 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
43854 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
43855 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
43856 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
43857 * string/memrchr.c (MEMRCHR): New macro.
43858
0ac5ae23
UD
438592011-10-12 Ulrich Drepper <drepper@gmail.com>
43860
43861 Add integration with gcc's -ffinite-math-only and optimize wrapper
43862 functions in libm.
43863 * Versions.def: Define GLIBC_2.15 version for libm.
43864 * math/Makefile (headers): Add bits/math-finite.h.
43865 * math/bits/math-finite.h: New file.
43866 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
43867 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
43868 * math/e_acoshl.c: Add __*_finite alias.
43869 * math/e_acosl.c: Likewise.
43870 * math/e_asinl.c: Likewise.
43871 * math/e_atan2l.c: Likewise.
43872 * math/e_atanhl.c: Likewise.
43873 * math/e_coshl.c: Likewise.
43874 * math/e_exp10.c: Likewise.
43875 * math/e_exp10f.c: Likewise.
43876 * math/e_exp10l.c: Likewise.
43877 * math/e_exp2l.c: Likewise.
43878 * math/e_fmodl.c: Likewise.
43879 * math/e_gammal_r.c: Likewise.
43880 * math/e_hypotl.c: Likewise.
43881 * math/e_j0l.c: Likewise.
43882 * math/e_j1l.c: Likewise.
43883 * math/e_jnl.c: Likewise.
43884 * math/e_lgammal_r.c: Likewise.
43885 * math/e_log10l.c: Likewise.
43886 * math/e_log2l.c: Likewise.
43887 * math/e_logl.c: Likewise.
43888 * math/e_powl.c: Likewise.
43889 * math/e_sinhl.c: Likewise.
43890 * math/e_sqrtl.c: Likewise.
43891 * math/e_scalb.c: Completely rewritten and optimized.
43892 * math/e_scalbf.c: Likewise.
43893 * math/e_scalbl.c: Likewise.
43894 * math/w_acos.c: Likewise.
43895 * math/w_acosf.c: Likewise.
43896 * math/w_acosl.c: Likewise.
43897 * math/w_acosh.c: Likewise.
43898 * math/w_acoshf.c: Likewise.
43899 * math/w_acoshl.c: Likewise.
43900 * math/w_asin.c: Likewise.
43901 * math/w_asinf.c: Likewise.
43902 * math/w_asinl.c: Likewise.
43903 * math/w_atan2.c: Likewise.
43904 * math/w_atan2f.c: Likewise.
43905 * math/w_atan2l.c: Likewise.
43906 * math/w_atanh.c: Likewise.
43907 * math/w_atanhf.c: Likewise.
43908 * math/w_atanhl.c: Likewise.
43909 * math/w_exp10.c: Likewise.
43910 * math/w_exp10f.c: Likewise.
43911 * math/w_exp10l.c: Likewise.
43912 * math/w_fmod.c: Likewise.
43913 * math/w_fmodf.c: Likewise.
43914 * math/w_fmodl.c: Likewise.
43915 * math/w_j0.c: Likewise.
43916 * math/w_j0f.c: Likewise.
43917 * math/w_j0l.c: Likewise.
43918 * math/w_j1.c: Likewise.
43919 * math/w_j1f.c: Likewise.
43920 * math/w_j1l.c: Likewise.
43921 * math/w_jn.c: Likewise.
43922 * math/w_jnf.c: Likewise.
43923 * math/w_log.c: Likewise.
43924 * math/w_logf.c: Likewise.
43925 * math/w_logl.c: Likewise.
43926 * math/w_log10.c: Likewise.
43927 * math/w_log10f.c: Likewise.
43928 * math/w_log10l.c: Likewise.
43929 * math/w_log2.c: Likewise.
43930 * math/w_log2f.c: Likewise.
43931 * math/w_log2l.c: Likewise.
43932 * math/w_pow.c: Likewise.
43933 * math/w_powf.c: Likewise.
43934 * math/w_powl.c: Likewise.
43935 * math/w_remainder.c: Likewise.
43936 * math/w_remainderf.c: Likewise.
43937 * math/w_remainderl.c: Likewise.
43938 * math/w_scalb.c: Likewise.
43939 * math/w_scalbf.c: Likewise.
43940 * math/w_scalbl.c: Likewise.
43941 * math/w_sqrt.c: Likewise.
43942 * math/w_sqrtf.c: Likewise.
43943 * math/w_sqrtl.c: Likewise.
43944 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
43945 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
43946 used.
43947 * math/math_private.h: Declare __kernel_standard_f.
43948 * math/w_cosh.c: Remove cruft and optimize a bit.
43949 * math/w_coshf.c: Likewise.
43950 * math/w_coshl.c: Likewise.
43951 * math/w_exp2.c: Likewise.
43952 * math/w_exp2f.c: Likewise.
43953 * math/w_exp2l.c: Likewise.
43954 * math/w_hypot.c: Likewise.
43955 * math/w_hypotf.c: Likewise.
43956 * math/w_hypotl.c: Likewise.
43957 * math/w_lgamma.c: Likewise.
43958 * math/w_lgamma_r.c: Likewise.
43959 * math/w_lgammaf.c: Likewise.
43960 * math/w_lgammaf_r.c: Likewise.
43961 * math/w_lgammal.c: Likewise.
43962 * math/w_lgammal_r.c: Likewise.
43963 * math/w_sinh.c: Likewise.
43964 * math/w_sinhf.c: Likewise.
43965 * math/w_sinhl.c: Likewise.
43966 * math/w_tgamma.c: Likewise.
43967 * math/w_tgammaf.c: Likewise.
43968 * math/w_tgammal.c: Likewise.
43969 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43970 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43971 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
43972 Minor optimizations. Pretty printing. Remove cruft.
43973 * sysdeps/i386/fpu/e_acosf.S: Likewise.
43974 * sysdeps/i386/fpu/e_acosh.S: Likewise.
43975 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43976 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43977 * sysdeps/i386/fpu/e_acosl.c: Likewise.
43978 * sysdeps/i386/fpu/e_asin.S: Likewise.
43979 * sysdeps/i386/fpu/e_asinf.S: Likewise.
43980 * sysdeps/i386/fpu/e_atan2.S: Likewise.
43981 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
43982 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
43983 * sysdeps/i386/fpu/e_atanh.S: Likewise.
43984 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43985 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43986 * sysdeps/i386/fpu/e_exp10.S: Likewise.
43987 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
43988 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
43989 * sysdeps/i386/fpu/e_exp2.S: Likewise.
43990 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
43991 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
43992 * sysdeps/i386/fpu/e_fmod.S: Likewise.
43993 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
43994 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
43995 * sysdeps/i386/fpu/e_hypot.S: Likewise.
43996 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
43997 * sysdeps/i386/fpu/e_log.S: Likewise.
43998 * sysdeps/i386/fpu/e_log10.S: Likewise.
43999 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44000 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44001 * sysdeps/i386/fpu/e_log2.S: Likewise.
44002 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44003 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44004 * sysdeps/i386/fpu/e_logf.S: Likewise.
44005 * sysdeps/i386/fpu/e_logl.S: Likewise.
44006 * sysdeps/i386/fpu/e_pow.S: Likewise.
44007 * sysdeps/i386/fpu/e_powf.S: Likewise.
44008 * sysdeps/i386/fpu/e_powl.S: Likewise.
44009 * sysdeps/i386/fpu/e_remainder.S: Likewise.
44010 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
44011 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
44012 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44013 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44014 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44015 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
44016 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
44017 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
44018 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44019 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44020 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44021 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44022 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44023 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44024 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
44025 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44026 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44027 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44028 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44029 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44030 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44031 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44032 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44033 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44034 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44035 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44036 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44037 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44038 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44039 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44040 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44041 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44042 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44043 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44044 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44045 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44046 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
44047 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44048 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44049 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44050 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44051 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44052 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44053 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44054 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44055 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44056 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44057 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44058 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44059 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44060 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44061 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44062 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44063 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44064 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44065 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44066 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44067 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
44068 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44069 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44070 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44071 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44072 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44073 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44074 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44075 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44076 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44077 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44078 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44079 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44080 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44081 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44082 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44083 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44084 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44085 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44086 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
44087 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44088 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44089 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44090 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44091 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44092 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44093 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44094 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
44095 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44096 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44097 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44098 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44099 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44100 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
44101 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44102 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44103 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44104 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44105 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44106 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44107 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44108 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44109 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44110 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44111 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44112 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44113 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44114 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44115 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
44116 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
44117 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
44118 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
44119 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
44120 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
44121 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
44122 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44123 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44124 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44125 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44126 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
44127 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44128 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
44129 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
44130 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
44131 (__isnanf): Likewise.
44132 (__isinf_ns): Likewise.
44133 (__isinf_nsf): Likewise.
44134 (__finite): Likewise.
44135 (__finitef): Likewise.
44136 (__ieee754_sqrt): Define as macro.
44137 (__ieee754_sqrtf): Define as macro.
44138 (__ieee754_sqrtl): Define as macro.
44139 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
44140 inlined copy.
44141 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
44142 __FINITE_MATH_ONLY__ consistent.
44143 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
44144
12cc2fcd
AS
441452011-10-10 Andreas Schwab <schwab@linux-m68k.org>
44146
a843a204
AS
44147 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
44148 of rawmemchr.
44149
12cc2fcd
AS
44150 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
44151
c853acd5
UD
441522011-10-09 Ulrich Drepper <drepper@gmail.com>
44153
44154 * po/ja.po: Update from translation team.
44155
c658d255
RM
441562011-10-08 Roland McGrath <roland@hack.frob.com>
44157
110946e4
RM
44158 * locale/programs/locarchive.c (prepare_address_space): New function.
44159 (create_archive, enlarge_archive, open_archive): Use it.
44160
50604220
RM
44161 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
44162 inside [SHARED], where it is used.
44163
c658d255
RM
44164 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
44165
44166 * nss/getent.c (netgroup_keys): Remove unused variable.
44167 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44168
6a621eb7
UD
441692011-10-08 Ulrich Drepper <drepper@gmail.com>
44170
7edb55ce
UD
44171 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
44172 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
44173 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
44174 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
44175 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
44176 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
44177 * math/Makefile (libm-calls): Add s_isinf_ns.
44178 * math/divtc3.c: Use __isinf_nsl instead of isinf.
44179 * math/multc3.c: Likewise.
44180 * math/s_casin.c: Likewise.
44181 * math/s_casinf.c: Likewise.
44182 * math/s_casinl.c: Likewise.
44183 * math/s_ccos.c: Likewise.
44184 * math/s_ccosf.c: Likewise.
44185 * math/s_ccosl.c: Likewise.
44186 * math/s_ctan.c: Likewise.
44187 * math/s_ctanf.c: Likewise.
44188 * math/s_ctanh.c: Likewise.
44189 * math/s_ctanhf.c: Likewise.
44190 * math/s_ctanhl.c: Likewise.
44191 * math/s_ctanl.c: Likewise.
44192 * math/w_fmod.c: Likewise.
44193 * math/w_fmodf.c: Likewise.
44194 * math/w_fmodl.c: Likewise.
44195 * math/w_remainder.c: Likewise.
44196 * math/w_remainderf.c: Likewise.
44197 * math/w_remainderl.c: Likewise.
44198 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
44199 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
44200 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
44201 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
44202 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
44203 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
44204 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
44205 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
44206
187da0ae
UD
44207 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
44208 of the number.
44209 * stdio-common/printf_fphex.c: Likewise.
44210 * stdio-common/printf_size.c: Likewise.
44211
9277c064
UD
44212 * math/e_exp10.c: Include math_private.h using <...> not "...".
44213 * math/e_exp10f.c: Likewise.
44214 * math/e_exp10l.c: Likewise.
44215 * math/e_exp2l.c: Likewise.
44216 * math/e_j0l.c: Likewise.
44217 * math/e_j1l.c: Likewise.
44218 * math/e_jnl.c: Likewise.
44219 * math/e_lgammal_r.c: Likewise.
44220 * math/e_rem_pio2l.c: Likewise.
44221 * math/e_scalb.c: Likewise.
44222 * math/e_scalbf.c: Likewise.
44223 * math/e_scalbl.c: Likewise.
44224 * math/k_cosl.c: Likewise.
44225 * math/k_sinl.c: Likewise.
44226 * math/k_tanl.c: Likewise.
44227 * math/s_cacoshf.c: Likewise.
44228 * math/s_catan.c: Likewise.
44229 * math/s_catanf.c: Likewise.
44230 * math/s_catanh.c: Likewise.
44231 * math/s_catanhf.c: Likewise.
44232 * math/s_catanhl.c: Likewise.
44233 * math/s_catanl.c: Likewise.
44234 * math/s_ccosh.c: Likewise.
44235 * math/s_ccoshf.c: Likewise.
44236 * math/s_ccoshl.c: Likewise.
44237 * math/s_cexp.c: Likewise.
44238 * math/s_cexpf.c: Likewise.
44239 * math/s_cexpl.c: Likewise.
44240 * math/s_clog.c: Likewise.
44241 * math/s_clog10.c: Likewise.
44242 * math/s_clog10f.c: Likewise.
44243 * math/s_clog10l.c: Likewise.
44244 * math/s_clogf.c: Likewise.
44245 * math/s_clogl.c: Likewise.
44246 * math/s_csin.c: Likewise.
44247 * math/s_csinf.c: Likewise.
44248 * math/s_csinh.c: Likewise.
44249 * math/s_csinhf.c: Likewise.
44250 * math/s_csinhl.c: Likewise.
44251 * math/s_csinl.c: Likewise.
44252 * math/s_csqrt.c: Likewise.
44253 * math/s_csqrtf.c: Likewise.
44254 * math/s_csqrtl.c: Likewise.
44255 * math/s_ctan.c: Likewise.
44256 * math/s_ctanf.c: Likewise.
44257 * math/s_ctanh.c: Likewise.
44258 * math/s_ctanhf.c: Likewise.
44259 * math/s_ctanhl.c: Likewise.
44260 * math/s_ctanl.c: Likewise.
44261 * math/s_ldexp.c: Likewise.
44262 * math/s_ldexpf.c: Likewise.
44263 * math/s_ldexpl.c: Likewise.
44264 * math/s_significand.c: Likewise.
44265 * math/s_significandf.c: Likewise.
44266 * math/s_significandl.c: Likewise.
44267 * math/w_acos.c: Likewise.
44268 * math/w_acosf.c: Likewise.
44269 * math/w_acosh.c: Likewise.
44270 * math/w_acoshf.c: Likewise.
44271 * math/w_acoshl.c: Likewise.
44272 * math/w_acosl.c: Likewise.
44273 * math/w_asin.c: Likewise.
44274 * math/w_asinf.c: Likewise.
44275 * math/w_asinl.c: Likewise.
44276 * math/w_atan2.c: Likewise.
44277 * math/w_atan2f.c: Likewise.
44278 * math/w_atan2l.c: Likewise.
44279 * math/w_atanh.c: Likewise.
44280 * math/w_atanhf.c: Likewise.
44281 * math/w_atanhl.c: Likewise.
44282 * math/w_cosh.c: Likewise.
44283 * math/w_coshf.c: Likewise.
44284 * math/w_coshl.c: Likewise.
44285 * math/w_dremf.c: Likewise.
44286 * math/w_exp10.c: Likewise.
44287 * math/w_exp10f.c: Likewise.
44288 * math/w_exp10l.c: Likewise.
44289 * math/w_exp2.c: Likewise.
44290 * math/w_exp2f.c: Likewise.
44291 * math/w_fmod.c: Likewise.
44292 * math/w_fmodf.c: Likewise.
44293 * math/w_fmodl.c: Likewise.
44294 * math/w_hypot.c: Likewise.
44295 * math/w_hypotf.c: Likewise.
44296 * math/w_hypotl.c: Likewise.
44297 * math/w_j0.c: Likewise.
44298 * math/w_j0f.c: Likewise.
44299 * math/w_j0l.c: Likewise.
44300 * math/w_j1.c: Likewise.
44301 * math/w_j1f.c: Likewise.
44302 * math/w_j1l.c: Likewise.
44303 * math/w_jn.c: Likewise.
44304 * math/w_jnf.c: Likewise.
44305 * math/w_jnl.c: Likewise.
44306 * math/w_lgamma.c: Likewise.
44307 * math/w_lgamma_r.c: Likewise.
44308 * math/w_lgammaf.c: Likewise.
44309 * math/w_lgammaf_r.c: Likewise.
44310 * math/w_lgammal.c: Likewise.
44311 * math/w_lgammal_r.c: Likewise.
44312 * math/w_log.c: Likewise.
44313 * math/w_log10.c: Likewise.
44314 * math/w_log10f.c: Likewise.
44315 * math/w_log10l.c: Likewise.
44316 * math/w_log2.c: Likewise.
44317 * math/w_log2f.c: Likewise.
44318 * math/w_log2l.c: Likewise.
44319 * math/w_logf.c: Likewise.
44320 * math/w_logl.c: Likewise.
44321 * math/w_pow.c: Likewise.
44322 * math/w_powf.c: Likewise.
44323 * math/w_powl.c: Likewise.
44324 * math/w_remainder.c: Likewise.
44325 * math/w_remainderf.c: Likewise.
44326 * math/w_remainderl.c: Likewise.
44327 * math/w_scalb.c: Likewise.
44328 * math/w_scalbf.c: Likewise.
44329 * math/w_scalbl.c: Likewise.
44330 * math/w_sinh.c: Likewise.
44331 * math/w_sinhf.c: Likewise.
44332 * math/w_sinhl.c: Likewise.
44333 * math/w_sqrt.c: Likewise.
44334 * math/w_sqrtf.c: Likewise.
44335 * math/w_sqrtl.c: Likewise.
44336 * math/w_tgamma.c: Likewise.
44337 * math/w_tgammaf.c: Likewise.
44338 * math/w_tgammal.c: Likewise.
44339
6a621eb7
UD
44340 * po/ja.po: Update from translation team.
44341
bf582445
AJ
443422011-09-29 Andreas Jaeger <aj@suse.de>
44343
f9efbf3a
AJ
44344 [BZ #13179]
44345 * sunrpc/netname.c (netname2host): Fix logic.
44346
bf582445
AJ
44347 [BZ #6779]
44348 [BZ #6783]
44349 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
44350 correctly.
44351 * math/w_remainder.c (__remainder): Likewise.
44352 * math/w_remainderf.c (__remainderf): Likewise.
44353 * math/libm-test.inc (remainder_test): Add test cases.
44354
48693bea
AK
443552011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44356
44357 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
44358 sdiv_qrnnd.
44359
42622229
LD
443602011-10-07 Ulrich Drepper <drepper@gmail.com>
44361
44362 * string/test-memcmp.c: Avoid unncessary #defines.
44363 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44364
093ecf92
LD
443652011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44366
44367 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
44368 Use new sse2 version for core i3 - i7 as it's faster
44369 than sse42 version.
44370 (bit_Prefer_PMINUB_for_stringop): New.
44371 * sysdeps/x86_64/rawmemchr.S: Update.
44372 Replace with faster SSE2 version.
44373 * sysdeps/x86_64/memrchr.S: New file.
44374 * sysdeps/x86_64/memchr.S: Update.
44375 Replace with faster SSE2 version.
44376
fde56e5c
MP
443772011-09-12 Marek Polacek <mpolacek@redhat.com>
44378
44379 * elf/dl-load.c (lose): Add cast to avoid warning.
44380
21fd49a9
UD
443812011-10-07 Ulrich Drepper <drepper@gmail.com>
44382
5a06e643
UD
44383 * po/ca.po: Update from translation team.
44384
684ae515
UD
44385 * inet/getnetgrent_r.c: Hook up nscd.
44386 * nscd/Makefile (routines): Add nscd_netgroup.
44387 (nscd-modules): Add netgroupcache.
44388 (CFLAGS-netgroupcache.c): Define.
44389 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
44390 (cache_search): Add const to second parameter.
44391 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
44392 INNETGR.
44393 (dbs): Add netgrdb entry.
44394 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
44395 (verify_persistent_db): Handle netgrdb.
44396 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
44397 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
44398 GETFDNETGR.
44399 (netgroup_response_header): Define.
44400 (innetgroup_response_header): Define.
44401 (datahead): Add netgroup_response_header and innetgroup_response_header
44402 elements.
44403 * nscd/nscd.conf: Add entries for netgroup cache.
44404 * nscd/nscd.h (dbtype): Add netgrdb.
44405 (_PATH_NSCD_NETGROUP_DB): Define.
44406 (netgroup_iov_disabled): Declare.
44407 (xmalloc, xcalloc, xrealloc): Move declarations here.
44408 (cache_search): Adjust prototype.
44409 Add netgroup-related prototypes.
44410 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
44411 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
44412 (__nscd_innetgr): Declare.
44413 * nscd/selinux.c (perms): Use access_vector_t as element type and
44414 add netgroup-related initializers.
44415 * nscd/netgroupcache.c: New file.
44416 * nscd/nscd_netgroup.c: New file.
44417 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
44418 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
44419 For four parameters use innetgr.
44420 * nss/nss_files/files-init.c: Add definition and callback for netgr.
44421 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
44422 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
44423 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
44424
21fd49a9
UD
44425 * nscd/connections.c (register_traced_file): Don't register file
44426 for disabled databases.
44427
054c0457
UD
444282011-10-06 Ulrich Drepper <drepper@gmail.com>
44429
32b63198
UD
44430 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
44431
054c0457
UD
44432 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
44433 from tree and freeing node.
44434
64031225
JO
444352011-09-25 Jiri Olsa <jolsa@redhat.com>
44436
44437 * nss/nsswitch.c (__nss_database_lookup): Handle
44438 nss_parse_service_list out of memory case.
44439
0490345c
JO
444402011-09-15 Jiri Olsa <jolsa@redhat.com>
44441
44442 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
44443 out of memory case.
44444
3a62d00d
AS
444452011-10-04 Andreas Schwab <schwab@redhat.com>
44446
44447 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
44448 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
44449 pass it down.
44450 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
44451 elf_machine_rela, elf_machine_lazy_rel.
44452 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
44453 (ELF_DYNAMIC_DO_REL): Likewise.
44454 (ELF_DYNAMIC_DO_RELA): Likewise.
44455 (ELF_DYNAMIC_RELOCATE): Likewise.
44456 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
44457 to ELF_DYNAMIC_DO_REL.
44458 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
44459 (dl_main): In trace mode always set __RTLD_NOIFUNC.
44460 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
44461 elf_machine_rela.
44462 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
44463 skip_ifunc, don't call ifunc function if non-zero.
44464 (elf_machine_rela): Likewise.
44465 (elf_machine_lazy_rel): Likewise.
44466 (elf_machine_lazy_rela): Likewise.
44467 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
44468 (elf_machine_lazy_rel): Likewise.
44469 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
44470 Likewise.
44471 (elf_machine_lazy_rel): Likewise.
44472 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44473 Likewise.
44474 (elf_machine_lazy_rel): Likewise.
44475 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
44476 (elf_machine_lazy_rel): Likewise.
44477 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
44478 (elf_machine_lazy_rel): Likewise.
44479 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44480 (elf_machine_lazy_rel): Likewise.
44481 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
44482 (elf_machine_lazy_rel): Likewise.
44483 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
44484 (elf_machine_lazy_rel): Likewise.
44485 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
44486 (elf_machine_lazy_rel): Likewise.
44487
68577918
UD
444882011-09-28 Ulrich Drepper <drepper@gmail.com>
44489
44490 * nss/nss_files/files-init.c (_nss_files_init): Use static
44491 initialization for all the *_traced_file variables.
44492
68822d74
AS
444932011-09-28 Andreas Schwab <schwab@redhat.com>
44494
44495 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44496
2056100b
RM
444972011-09-27 Roland McGrath <roland@hack.frob.com>
44498
44499 [BZ #13226]
44500 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
44501
32c76b63
AS
445022011-09-27 Andreas Schwab <schwab@redhat.com>
44503
44504 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44505 Reread the line before reparsing it.
44506
bf972c9d
AS
445072011-09-26 Andreas Schwab <schwab@redhat.com>
44508
44509 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
44510
e057a1b5
JM
445112011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
44512 Maxim Kuvyrkov <maxim@codesourcery.com>
44513 Joseph Myers <joseph@codesourcery.com>
44514
44515 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
44516 if needed for __stack_chk_guard.
44517
bc7e1c36
RM
445182011-09-19 Roland McGrath <roland@hack.frob.com>
44519
ecb1482f
RM
44520 * sysdeps/posix/spawni.c (script_execute): Always define it.
44521 It will be optimized away if unused.
44522 (maybe_script_execute): New function.
44523 (__spawni): Call it.
44524
bc7e1c36
RM
44525 * Makerules: Don't include tls.make.
44526 (config-tls): Always set to thread.
44527 * tls.make.c: File removed.
44528
1c3b002b
MF
445292011-09-19 Mike Frysinger <vapier@gentoo.org>
44530
44531 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
44532 * config.make.in (CPPFLAGS-config): New substituted variable.
44533
2840865d
UD
445342011-09-15 Ulrich Drepper <drepper@gmail.com>
44535
88738eb6
UD
44536 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
44537
cbf645a6 44538 [BZ #13192]
2840865d
UD
44539 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
44540 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
44541
b402e91a
RM
445422011-09-15 Roland McGrath <roland@hack.frob.com>
44543
44544 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
44545 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
44546 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44547 (CALL_FAIL): Likewise.
44548 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
44549 (CALL_FAIL): Macro removed.
44550 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
44551
4c1a1f71
UD
445522011-09-15 Ulrich Drepper <drepper@gmail.com>
44553
44554 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
44555 for __FINITE_MATH_ONLY__ == 1.
44556
edc121be
AS
445572011-09-15 Andreas Schwab <schwab@redhat.com>
44558
44559 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
44560 __ieee754_sqrt instead of sqrt.
44561 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
44562 __ieee754_sqrtf instead of sqrtf.
44563 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
44564 __floorf instead of floorf.
44565 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
44566 __floorf, __truncf instead of floorf, truncf.
44567
cd205654
UD
445682011-09-14 Ulrich Drepper <drepper@gmail.com>
44569
ee4d0315
UD
44570 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
44571
cd205654
UD
44572 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
44573 __extern_always_inline.
44574 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
44575 32-bit.
44576
48b67d71
AS
445772011-09-14 Andreas Schwab <schwab@redhat.com>
44578
44579 * elf/rtld.c (dl_main): Also relocate in dependency order when
44580 doing symbol dependency testing.
44581
1ae12c75
AS
445822011-09-13 Andreas Schwab <schwab@linux-m68k.org>
44583
44584 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44585 Always define `refsym'.
44586
995a80df
AS
445872011-09-13 Andreas Schwab <schwab@redhat.com>
44588
e529793b
AS
44589 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
44590 (__FD_ELT): Renamed from __FDELT.
44591 * misc/bits/select2.h (__FD_ELT): Likewise.
44592 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
44593 __FD_MASK instead of __FDELT, __FDMASK.
44594 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44595 Likewise.
44596 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44597 Likewise.
44598
52d4fef8
AS
44599 * elf/Makefile (gen-ldd): Fix pattern.
44600
995a80df
AS
44601 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
44602 (init_tls): Likewise.
44603
8682f8b0
UD
446042011-09-12 Ulrich Drepper <drepper@gmail.com>
44605
44606 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
44607
de82006d
AS
446082011-09-12 Andreas Schwab <schwab@redhat.com>
44609
a7c8e6a1
AS
44610 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
44611 `struct cmsghdr *' instead of `void *'.
44612 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
44613 Likewise.
44614
0f31fe77
AS
446152011-09-11 Andreas Schwab <schwab@linux-m68k.org>
44616
44617 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
44618 if non-absolute.
44619 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
44620 ldd_rewrite_script.
0f31fe77 44621
32b4c839
UD
446222011-09-11 Ulrich Drepper <drepper@gmail.com>
44623
83cd1420
UD
44624 * configure.in: Remove --with-tls option.
44625 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
44626 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
44627 out in case it is missing.
44628 * sysdeps/ia64/elf/configure.in: Likewise.
44629 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
44630 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
44631 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
44632 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
44633 * sysdeps/sh/elf/configure.in: Likewise.
44634 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
44635 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44636 * sysdeps/x86_64/elf/configure.in: Likewise.
44637 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
44638 * sysdeps/mach/hurd/tls.h: Likewise.
44639
633f745d
UD
44640 [BZ #13067]
44641 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
44642
f318beb8
UD
44643 [BZ #13090]
44644 * configure.in: Fix use of AC_INIT.
44645
32b4c839
UD
44646 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
44647
3ce1f295
UD
446482011-09-10 Ulrich Drepper <drepper@gmail.com>
44649
bb016596
UD
44650 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
44651 __set_errno.
8e58439c
UD
44652 * malloc/hooks.c: Likewise.
44653
aebae053 44654 [BZ #11929]
02d46fc4
UD
44655 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
44656 variables statically.
44657 (narenas): Initialize.
44658 (list_lock): Initialize.
bb016596
UD
44659 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
44660 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
44661 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
44662 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
44663 Add initializers to main_arena and mp_.
44664 (malloc_state): Remove pagesize member. Change all users to use
44665 GLRO(dl_pagesize).
44666
44667 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
44668 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
44669 is always initialized.
44670
22a89187
UD
44671 * malloc/malloc.c: Removed unused configurations and dead code.
44672 * malloc/arena.c: Likewise.
44673 * malloc/hooks.c: Likewise.
02d46fc4 44674 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 44675
d063d164
UD
44676 * include/tls.h: Removed. USE___THREAD must always be defined.
44677 * bits/libc-tsd.h: Don't handle !USE___THREAD.
44678 * elf/dl-libc.c: Likewise.
44679 * elf/dl-tsd.c: Likewise.
44680 * include/errno.h: Likewise.
44681 * include/netdb.h: Likewise.
44682 * include/resolv.h: Likewise.
44683 * inet/herrno-loc.c: Likewise.
44684 * inet/herrno.c: Likewise.
44685 * malloc/arena.c: Likewise.
44686 * malloc/hooks.c: Likewise.
44687 * malloc/malloc.c: Likewise.
44688 * resolv/res-state.c: Likewise.
44689 * resolv/res_libc.c: Likewise.
44690 * sysdeps/i386/dl-machine.h: Likewise.
44691 * sysdeps/ia64/dl-machine.h: Likewise.
44692 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
44693 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
44694 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
44695 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
44696 * sysdeps/sh/dl-machine.h: Likewise.
44697 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44698 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44699 * sysdeps/unix/i386/sysdep.S: Likewise.
44700 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44701 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
44702 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
44703 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44704 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
44705 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44706 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
44707 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44708 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44709 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44710 * sysdeps/unix/x86_64/sysdep.S: Likewise.
44711 * sysdeps/x86_64/dl-machine.h: Likewise.
44712 * tls.make.c: Likewise.
44713
3ce1f295
UD
44714 * configure.in: Remove --with-__thread option. Make tests for
44715 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
44716 tls_model attribute fail if no support is available. Remove
44717 USE_IN_LIBIO.
44718 * Makeconfig: Adjust for dropped configure option. All features are
44719 now mandatory.
44720 * Makerules: Likewise.
44721 * Versions.def: Likewise.
44722 * argp/argp-fmtstream.c: Likewise.
44723 * argp/argp-fmtstream.h: Likewise.
44724 * argp/argp-help.c: Likewise.
44725 * assert/assert.c: Likewise.
44726 * config.h.in: Likewise.
44727 * config.make.in: Likewise.
44728 * configure: Likewise.
44729 * configure.in: Likewise.
44730 * csu/Versions: Likewise.
44731 * csu/init.c: Likewise.
44732 * elf/tst-audit2.c: Likewise.
44733 * elf/tst-tls10.c: Likewise.
44734 * elf/tst-tls10.h: Likewise.
44735 * elf/tst-tls11.c: Likewise.
44736 * elf/tst-tls12.c: Likewise.
44737 * elf/tst-tls14.c: Likewise.
44738 * elf/tst-tlsmod11.c: Likewise.
44739 * elf/tst-tlsmod12.c: Likewise.
44740 * elf/tst-tlsmod13.c: Likewise.
44741 * elf/tst-tlsmod13a.c: Likewise.
44742 * elf/tst-tlsmod14a.c: Likewise.
44743 * elf/tst-tlsmod15b.c: Likewise.
44744 * elf/tst-tlsmod16a.c: Likewise.
44745 * elf/tst-tlsmod16b.c: Likewise.
44746 * elf/tst-tlsmod7.c: Likewise.
44747 * elf/tst-tlsmod8.c: Likewise.
44748 * elf/tst-tlsmod9.c: Likewise.
44749 * gmon/gmon.c: Likewise.
44750 * grp/fgetgrent_r.c: Likewise.
44751 * grp/putgrent.c: Likewise.
44752 * hurd/fopenport.c: Likewise.
44753 * include/libc-symbols.h: Likewise.
44754 * include/tls.h: Likewise.
44755 * intl/gettextP.h: Likewise.
44756 * intl/loadinfo.h: Likewise.
44757 * locale/global-locale.c: Likewise.
44758 * locale/localeinfo.h: Likewise.
44759 * mach/devstream.c: Likewise.
44760 * malloc/arena.c: Likewise.
44761 * malloc/set-freeres.c: Likewise.
44762 * misc/err.c: Likewise.
44763 * misc/getttyent.c: Likewise.
44764 * misc/mntent_r.c: Likewise.
44765 * posix/getopt.c: Likewise.
44766 * posix/wordexp.c: Likewise.
44767 * pwd/fgetpwent_r.c: Likewise.
44768 * resolv/Versions: Likewise.
44769 * resolv/res_hconf.c: Likewise.
44770 * shadow/fgetspent_r.c: Likewise.
44771 * shadow/putspent.c: Likewise.
44772 * stdio-common/printf_fphex.c: Likewise.
44773 * stdio-common/tmpfile.c: Likewise.
44774 * stdlib/abort.c: Likewise.
44775 * stdlib/fmtmsg.c: Likewise.
44776 * sunrpc/auth_unix.c: Likewise.
44777 * sunrpc/clnt_perr.c: Likewise.
44778 * sunrpc/clnt_tcp.c: Likewise.
44779 * sunrpc/clnt_udp.c: Likewise.
44780 * sunrpc/clnt_unix.c: Likewise.
44781 * sunrpc/openchild.c: Likewise.
44782 * sunrpc/svc_simple.c: Likewise.
44783 * sunrpc/svc_tcp.c: Likewise.
44784 * sunrpc/svc_udp.c: Likewise.
44785 * sunrpc/svc_unix.c: Likewise.
44786 * sunrpc/xdr.c: Likewise.
44787 * sunrpc/xdr_array.c: Likewise.
44788 * sunrpc/xdr_rec.c: Likewise.
44789 * sunrpc/xdr_ref.c: Likewise.
44790 * sunrpc/xdr_stdio.c: Likewise.
44791
1248c1c4
PB
447922011-09-09 Ulrich Drepper <drepper@gmail.com>
44793
44794 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44795
447962011-07-03 Andreas Jaeger <aj@suse.de>
44797
44798 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
44799 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
44800 regenerate with gen-libm-tests.pl.
44801
448022010-05-12 Petr Baudis <pasky@suse.cz>
44803
44804 [BZ #11589]
44805 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
44806 around j0() zero points by switching to j1().
44807 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44808 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44809 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44810 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44811
f22e1074
UD
448122011-09-09 Ulrich Drepper <drepper@gmail.com>
44813
f19009c1
UD
44814 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
44815 instead of 0.
44816 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 44817 instead of 0.
f19009c1
UD
44818 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44819 Patch in part by Pavel Roskin <proski@gnu.org>.
44820
3f8cc204
UD
44821 [BZ #13138]
44822 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
44823 realloc.
44824 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
44825 Free memory block if necessary.
44826
f22e1074
UD
44827 [BZ #12847]
44828 * libio/genops.c (INTDEF): For string streams the _lock pointer can
44829 be NULL. Don't lock in this case.
44830
0a2349f9
RM
448312011-09-09 Roland McGrath <roland@hack.frob.com>
44832
44833 * elf/elf.h (ELFOSABI_GNU): New macro.
44834 (ELFOSABI_LINUX): Define to that.
44835
f3cdd467
DZ
448362011-07-29 Denis Zaitceff <zaitceff@gmail.com>
44837
44838 * string/strncat.c (strncat): Undef the symbol in case it has been
44839 defined in bits/string.h.
44840
74718d13
UD
448412011-09-09 Ulrich Drepper <drepper@gmail.com>
44842
633e9e0f
UD
44843 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
44844
0a2349f9 44845 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
44846 link map.
44847
f9924780
AJ
448482011-08-17 Andreas Jaeger <aj@suse.de>
44849
44850 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
44851
7f5517aa
PP
448522011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
44853 Ian Lance Taylor <iant@google.com>
44854
44855 * math/libm-test.inc (lround_test): New testcase.
44856 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
44857
762011fe
UD
448582011-09-08 Ulrich Drepper <drepper@gmail.com>
44859
92963737
UD
44860 * Makefile: Remove support for automatic cvs check-ins.
44861 * Makerules: Likewise.
44862 * config.make.in: Likewise.
44863 * configure.in: Likewise.
44864 * intl/Makefile: Likewise.
44865 * locale/Makefile: Likewise.
44866 * po/Makefile: Likewise.
44867 * posix/Makefile: Likewise.
44868 * sysdeps/gnu/Makefile: Likewise.
44869 * sysdeps/mach/hurd/Makefile: Likewise.
44870 * sysdeps/sparc/sparc32/Makefile: Likewise.
44871
b0727fd8
JS
44872 [BZ #13118]
44873 * posix/Makefile (bug-regex32-ENV): Define.
44874 Patch by John Stanley <jpsinthemix@verizon.net>.
44875
a0f33f99
UD
44876 * misc/Makefile (headers): Add bits/select2.h.
44877 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
44878 * misc/bits/select2.h: New file.
44879 * include/bits/select2.h: New file.
44880 * debug/Makefile (routines): Add fdelt_chk.
44881 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
44882 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
44883 FD_ISSET.
44884 * debug/fdelt_chk.c: New file.
44885
762011fe
UD
44886 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
44887 * wcsmbs/test-wmemcmp.c: Likewise.
44888 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 44889 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
44890
448912011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44892
44893 * string/Makefile (strop-tests): Add memcmp.
44894 * string/test-wmemcmp.c: New file.
44895 * string/test-memcmp.c: Add wmemcmp support.
44896
7f513ec8
RM
448972011-09-08 Roland McGrath <roland@hack.frob.com>
44898
0442afb4
RM
44899 [BZ #13153]
44900 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
44901 2011-07-19 change.
44902
7f513ec8
RM
44903 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
44904 garbage value in a __mach_port_mod_refs call in the cases of the
44905 task-self and thread-self ports.
44906
a12b2239
ST
449072011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44908
44909 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
44910
610f9ab4
AS
449112011-09-08 Andreas Schwab <schwab@redhat.com>
44912
7f513ec8 44913 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 44914
48882a1a
LD
449152011-09-07 Ulrich Drepper <drepper@gmail.com>
44916
b49865be
UD
44917 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
44918
fdc86bc9
UD
44919 * elf/dl-libc.c (dlerror_run): Pass back error code from
44920 dl_catch_error.
44921
c966526a
UD
44922 [BZ #13123]
44923 * elf/dl-load.c (lose): Free l_origin if it is valid.
44924
48882a1a
LD
44925 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
44926 names.
44927 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
44928 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44929 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44930 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44931 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
44932 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
44933
77a2a8b4
AZ
449342011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44935
44936 * sysdeps/powerpc/fpu/e_hypot.c: New file.
44937 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
44938 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
44939 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
44940 * sysdeps/powerpc/fpu/k_cosf.c: New file.
44941 * sysdeps/powerpc/fpu/k_sinf.c: New file.
44942 * sysdeps/powerpc/fpu/s_cosf.c: New file.
44943 * sysdeps/powerpc/fpu/s_sinf.c: New file.
44944 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
44945 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
44946
24f579d8
AM
449472011-08-15 Alan Modra <amodra@gmail.com>
44948
44949 [BZ #13092]
44950 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
44951 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
44952 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
44953 ppc_mcount to static-only-routines.
44954 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
44955 __mcount_internal.
44956 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
44957 __mcount_internal with usual JUMPTARGET. Remove useless nop.
44958
3d4837df
UD
449592011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
44960
44961 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
44962 for finite and infinity parameters.
44963
22700377
WS
449642011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
44965
44966 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
44967 and add nop instructions for throughput optimization.
44968 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44969
5025581e
WS
449702011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
44971
44972 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
44973 aligned copy for power7 with vector-scalar instructions.
44974 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44975
08a300c9
L
449762011-07-24 H.J. Lu <hongjiu.lu@intel.com>
44977
44978 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
44979 AVX check.
44980
59178ef9
AS
449812011-09-07 Andreas Schwab <schwab@redhat.com>
44982
44983 [BZ #13144]
44984 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
44985 last change.
44986
e38ba7ab
UD
449872011-09-07 Ulrich Drepper <drepper@gmail.com>
44988
44989 * sysdeps/unix/sysv/linux/x86_64/init-first.c
44990 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
44991 syscall wrapper around clock_gettime in __vdso_clock_gettime.
44992 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
44993 clock_gettime.
44994
d53a73ac
UD
449952011-09-06 Ulrich Drepper <drepper@gmail.com>
44996
fc8bffcc
UD
44997 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
44998 Forgot to demangle the pointer.
44999
ceaa0c5d
UD
45000 * sysdeps/i386/sysdep.h: Define atom_text_section.
45001 * sysdeps/x86_64/sysdep.h: Likewise.
45002 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
45003 section with atom_text_section.
45004 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45005 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45006 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
45007 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45008 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
45009
a77d3c17
UD
45010 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
45011 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
45012 already be defined. Change to take two parameters and don't assign
45013 result to variable. Adjust all users.
45014 Define INTERNAL_GETTIME if not already defined.
45015 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
45016 call.
45017 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
45018 HAVE_CLOCK_GETTIME_VSYSCALL.
45019 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
45020
d53a73ac
UD
45021 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
45022 gettimeofday vsyscall, just use time.
45023
a8f84144
AS
450242011-09-06 Andreas Schwab <schwab@redhat.com>
45025
45026 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
45027 <errno.h>.
45028
ef606249
UD
450292011-09-06 Ulrich Drepper <drepper@gmail.com>
45030
45031 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
45032 syscall on x86-64.
45033 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
45034 syscall.
45035 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
45036 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
45037 syscall if possible.
45038
6585cb60
UD
450392011-09-05 Ulrich Drepper <drepper@gmail.com>
45040
45041 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
45042 e_ident. Don't pass to find_mapsXX.
45043 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
45044
a5f524e4
LD
450452011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45046
45047 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45048 strchr-sse2-no-bsf strrchr-sse2-no-bsf
45049 * sysdeps/x86_64/multiarch/strchr.S: Update.
45050 Check bit_slow_BSF bit.
45051 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45052 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
45053 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
45054
554881ef
UD
450552011-09-05 Ulrich Drepper <drepper@gmail.com>
45056
d96de963
UD
45057 [BZ #13134]
45058 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
45059 before glibc 2.15.
45060 (tryshell): Define.
45061 (__spawni): Change last parameter to be flag. Test
45062 SPAWN_XFLAGS_USE_PATH flag to use path or not.
45063 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
45064 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
45065 * posix/spawni.c: Likewise.
45066 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
45067 * posix/spawnp.c: Likewise. Change normal version to use
45068 SPAWN_XFLAGS_USE_PATH.
45069 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
45070 SPAWN_XFLAGS_TRY_SHELL.
45071
d48e5868
UD
45072 [BZ #13150]
45073 * posix/glob.h: Remove gcc 1.x support.
45074
554881ef
UD
45075 [BZ #13068]
45076 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
45077
693fb948
LD
450782011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45079
45080 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45081 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
45082 strrchr-sse2-bsf
45083 * sysdeps/i386/i686/multiarch/strchr.S: New file.
45084 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
45085 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
45086 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
45087 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
45088 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
45089
1b48c537
UD
450902011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45091
49d42c37
UD
45092 * sysdeps/x86_64/wcscmp.S: New file.
45093
1b48c537
UD
45094 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
45095 wcscmp-c wcscmp-sse2
45096 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
45097 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
45098 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
45099 * wcsmbs/wcscmp.c: Allow renaming.
45100
15c95c5d
DM
451012011-09-05 David S. Miller <davem@davemloft.net>
45102
45103 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
45104 stack slot, rather than the struct return pointer slot.
45105 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
45106 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
45107 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
45108 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
45109
2f0ad8f3
UD
451102011-09-05 Ulrich Drepper <drepper@gmail.com>
45111
d88ae418
UD
45112 * po/ja.po: Update from translation team.
45113
2f0ad8f3
UD
45114 [BZ #13144]
45115 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
45116 kernel in 64-bit binaries.
45117
5f4318d1
DM
451182011-09-01 David S. Miller <davem@davemloft.net>
45119
45120 * elf/elf.h (HWCAP_SPARC_*): Move to..
45121 * sysdeps/sparc/sysdep.h: this new file and add new values.
45122 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
45123 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
45124 _DL_HWCAP_COUNT to 24.
45125 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45126 entries.
45127 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
45128 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
45129 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
45130 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
45131 instead of magic constants.
45132 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45133
3ba57516
DM
451342011-08-31 David S. Miller <davem@davemloft.net>
45135
45136 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
45137 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
45138 Reimplement to do errno handling inline.
45139 (SYSCALL_ERROR_HANDLER): New macro.
45140 (__SYSCALL_STRING): Do not do errno handling in asm.
45141 (__CLONE_SYSCALL_STRING): Delete.
45142 (__INTERNAL_SYSCALL_STRING): Delete.
45143 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
45144 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
45145 (PSEUDO): Reimplement to do errno handling inline.
45146 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
45147 (SYSCALL_ERROR_HANDLER): New macro.
45148 (__SYSCALL_STRING): Do not do errno handling in asm.
45149 (__CLONE_SYSCALL_STRING): Delete.
45150 (__INTERNAL_SYSCALL_STRING): Delete.
45151 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
45152 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
45153 i386.
45154 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
45155 (inline_syscall*): Add 'err' argument.
45156 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
45157 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
45158 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
45159 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
45160
45161 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
45162 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45163
2bc17433
AS
451642011-08-30 Andreas Schwab <schwab@redhat.com>
45165
45166 * elf/rtld.c (dl_main): Relocate objects in dependency order.
45167
fbeb5f4d
JO
451682011-08-29 Jiri Olsa <jolsa@redhat.com>
45169
45170 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
45171 directive.
45172
ad69cc26
DM
451732011-08-24 David S. Miller <davem@davemloft.net>
45174
45175 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
45176
39dd69df
AS
451772011-08-24 Andreas Schwab <schwab@redhat.com>
45178
45179 * elf/Makefile: Add rules to build and run unload8 test.
45180 * elf/unload8.c: New file.
45181 * elf/unload8mod1.c: New file.
45182 * elf/unload8mod1x.c: New file.
45183 * elf/unload8mod2.c: New file.
45184 * elf/unload8mod3.c: New file.
45185
45186 * elf/dl-close.c (_dl_close_worker): Reset private search list if
45187 it wasn't used.
45188
2c0b250a
DM
451892011-08-23 David S. Miller <davem@davemloft.net>
45190
45191 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
45192 subtract stack bias.
45193 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
45194 %sp not %fp in calculations.
45195 (_JMPBUF_UNWINDS_ADJ): Likewise.
45196
22044b48
DM
45197 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
45198 (aio_suspend): Call it to force an exception region around the
45199 AIO_MISC_WAIT() invocation.
45200
2cae4995
AS
452012011-08-23 Andreas Schwab <schwab@redhat.com>
45202
45203 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
45204 backslash.
45205
873a772e
AJ
452062011-07-04 Aurelien Jarno <aurelien@aurel32.net>
45207
45208 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
45209 protection macro.
45210 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
45211 and <dl-machine.h>.
45212 (Elf64_FuncDesc): Remove.
45213
25ad0df1
DM
452142011-08-22 David S. Miller <davem@davemloft.net>
45215
45216 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
45217 sigaltstack check, add missing cfi directives.
45218 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
45219 missing cfi directives, and sigaltstack handling.
45220
e888bcbe
AS
452212011-08-16 Andreas Schwab <schwab@redhat.com>
45222
45223 [BZ #11724]
45224 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
45225 object is seen twice.
45226 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45227
45228 * elf/Makefile (distribute): Add tst-initorder2.c.
45229 (tests): Add tst-initorder2.
45230 (modules-names): Add tst-initorder2a tst-initorder2b
45231 tst-initorder2c tst-initorder2d. Add rules to build them.
45232 ($(objpfx)tst-initorder2.out): New rule.
45233 * elf/tst-initorder2.c: New file.
45234 * elf/tst-initorder2.exp: New file.
45235
87162f46
AS
452362011-08-22 Andreas Schwab <schwab@redhat.com>
45237
70538b7f
AS
45238 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
45239
f55ffe58
AS
45240 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
45241 dependencies back to end of function.
45242
87162f46
AS
45243 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45244 $(elfobjdir)/ld.so.
45245
91b392a4
UD
452462011-08-21 Ulrich Drepper <drepper@gmail.com>
45247
45248 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
45249 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
45250 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
45251 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
45252 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
45253 of __vdso_gettimeofday.
45254 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
45255 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
45256 attribute_hidden.
45257 (_libc_vdso_platform_setup): Remove initialization of
45258 __vdso_gettimeofday and __vdso_time.
45259
5c43483f
UD
452602011-08-20 Ulrich Drepper <drepper@gmail.com>
45261
775a77e7
UD
45262 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
45263 and fgetc_unlocked.
45264 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
45265 getc_unlocked.
89f447ed 45266
49c74ba9
UD
45267 * elf/dl-open.c (add_to_global): Report additions to the global scope
45268 for LD_DEBUG=scopes.
45269 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 45270 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 45271
5c43483f
UD
45272 [BZ #13114]
45273 * stdio-common/Makefile (tests): Add bug24.
45274 * stdio-common/bug24.c: New file.
45275
a101b025
AJ
452762011-08-19 Andreas Jaeger <aj@suse.de>
45277
45278 [BZ #13114]
45279 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
45280 non-existant file when using close-on-exec mode.
45281
c88f1766
UD
452822011-08-20 Ulrich Drepper <drepper@gmail.com>
45283
0276a718
UD
45284 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
45285 the very first instruction.
45286
c88f1766
UD
45287 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
45288 the CFI state in the end.
45289 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
45290 inclusion of dl-trampoline.h.
45291 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
45292
51ccffa0
AS
452932011-08-19 Andreas Schwab <schwab@redhat.com>
45294
94d7165f
AS
45295 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
45296 expectations for long double.
45297
51ccffa0
AS
45298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
45299 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
45300
fd708658 453012011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
45302
45303 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
45304 artificual limit depends upon the system page size.
45305
44f0a71e
UD
453062011-08-17 Ulrich Drepper <drepper@gmail.com>
45307
45308 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
45309 * resolv/Makefile: Define CFLAGS-libresolv.
45310
8de79a24
AS
453112011-08-17 Andreas Schwab <schwab@redhat.com>
45312
45313 * nss/makedb.c (compute_tables): Make variables used in nested
45314 function static.
45315
27724598
UD
453162011-08-17 Ulrich Drepper <drepper@gmail.com>
45317
c5305d88
UD
45318 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
45319 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
45320 if buffer was too small.
45321
27724598
UD
45322 * elf/pldd.c (main): Attach to all threads in the process.
45323 Rewrite /proc handling to use *at functions.
45324
076fe015
UD
453252011-08-16 Ulrich Drepper <drepper@gmail.com>
45326
174baab3
UD
45327 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
45328 specifies first scope to show.
45329 (dl_open_worker): Update callers. Move printing scope of new
45330 object to before the relocation.
44f0a71e 45331 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
45332 * sysdeps/generic/ldsodefs.h: Update declaration.
45333
076fe015
UD
45334 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
45335 string for the scope number.
45336
a60df2c3
UD
453372011-08-14 Ulrich Drepper <drepper@gmail.com>
45338
45339 * nscd/servicescache.c (cache_addserv): Make sure written is always
45340 initialized.
45341
5e4287d1
RM
453422011-08-14 Roland McGrath <roland@hack.frob.com>
45343
85ae0589
RM
45344 * sysdeps/i386/i486/bits/atomic.h
45345 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
45346 statement expression, so as to suppress "set but not used" warning.
45347 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
45348
69f63097
RM
45349 * string/strncat.c (STRNCAT): Use prototype definition.
45350
675456ef
RM
45351 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
45352 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
45353 -Iprograms here.
45354 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
45355 (localedef-modules): Add localedef.
45356 (locale-modules): Add locale.
45357
5e4287d1
RM
45358 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
45359 * elf/rtld.c (dl_main): Invert order of assignment in last change,
45360 to avoid a warning.
45361
9c96ff23
DM
453622011-08-14 David S. Miller <davem@davemloft.net>
45363
45364 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
45365 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
45366
f9ddf089
UD
453672011-08-13 Ulrich Drepper <drepper@gmail.com>
45368
44f0a71e 45369 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
45370 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
45371 * elf/rtld.c (dl_main): Set l_name of vDSO.
45372 Call _dl_show_scope when DL_DEBUG_SCOPES.
45373 (process_dl_debug): Recognize scopes flag and also set it for all.
45374 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
45375 Declare _dl_show_scope.
45376
1dc27704
UD
45377 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
45378 (do_dlopen): Pass caller_dlopen to dl_open.
45379 (__libc_dlopen_mode): Initialize caller_dlopen.
45380
f9ddf089
UD
45381 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
45382 of libc. Make tolower call locale-independent. Optimize a bit by
45383 using isdigit instead of isalnum.
45384 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
45385
9ac533d3
UD
453862011-08-12 Ulrich Drepper <drepper@gmail.com>
45387
45388 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
45389 was a dependency or dynamically loaded.
45390
89edf2e9
UD
453912011-08-11 Ulrich Drepper <drepper@gmail.com>
45392
8e999d29
UD
45393 * intl/l10nflist.c: Allow architecture-specific pop function.
45394 * sysdeps/x86_64/l10nflist.c: New file.
45395
89edf2e9
UD
45396 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
45397 classification.
45398
14d96785
AS
453992011-08-10 Andreas Schwab <schwab@redhat.com>
45400
45401 * include/dirent.h: Add libc_hidden_proto for scandirat and
45402 scandirat64. Don't declare __scandirat64.
45403 * dirent/scandirat.c: Add libc_hidden_def.
45404 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
45405 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
45406
6761ac04
DM
454072011-08-10 David S. Miller <davem@davemloft.net>
45408
45409 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
45410 enum.
45411 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45412 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45413 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45414
c55fbd1e
UD
454152011-08-09 Ulrich Drepper <drepper@gmail.com>
45416
45417 * Versions.def [libc]: Add GLIBC_2.15.
45418 * dirent/Makefile (routines): Add scandirat and scandirat64.
45419 * dirent/Versions [libc]: Export scandirat and scandirat64 for
45420 GLIBC_2.15.
45421 * dirent/dirent.h: Declare scandirat and scandirat64.
45422 * dirent/scandirat.c: New file.
45423 * dirent/scandirat64.c: New file.
45424 * sysdeps/wordsize-64/scandirat.c: New file.
45425 * sysdeps/wordsize-64/scandirat64.c: New file.
45426 * dirent/opendir.c: Define opendirat.
45427 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
45428 using scandirat.
45429 * dirent/scandir64.c: Adjust for scandir.c change.
45430 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
45431 __scandirat64, and __scandir_cancel_handler.
45432 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
45433 additional parameter and use openat instead of open (outside of ld.so).
45434 Add new __opendir as wrapper around __opendirat.
45435 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
45436 here without requiring old scandirat implementation.
45437
879165f2
UD
454382011-08-08 Ulrich Drepper <drepper@gmail.com>
45439
45440 * dirent/scandir.c (cancel_handler): Renamed to
45441 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
45442 defined. Adjust users.
45443 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
45444 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
45445
cb7e923b
UD
454462011-08-04 Ulrich Drepper <drepper@gmail.com>
45447
16292edd
UD
45448 * string/test-string.h (IMPL): Use __STRING to expand name and then
45449 stringify it.
45450
cb7e923b
UD
45451 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
45452 of cleanups.
45453
cff82933
LD
454542011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45455
45456 * string/Makefile: Update.
45457 (strop-tests): Append strncat.
45458 * string/test-wcscmp.c: New file.
45459 New comprehensive test for wcscmp.
45460 * string/test-strcmp.c: Update.
45461 (WIDE): New define.
45462
9be9bfcc
AS
454632011-07-22 Andreas Schwab <schwab@redhat.com>
45464
45465 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
45466 line.
45467
2e96f1c7
AS
454682011-07-26 Andreas Schwab <schwab@redhat.com>
45469
45470 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45471 encoding to ACE if AI_IDN.
45472
85188888
JJ
454732011-08-01 Jakub Jelinek <jakub@redhat.com>
45474
45475 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
45476 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
45477
5fa16e9b
LD
454782011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45479
45480 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
45481 Fix overflow bug in strncat.
45482 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
45483
45484 * string/test-strncat.c: Update.
45485 Add new tests for checking overflow bugs.
45486
454872011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45488
45489 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45490 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
45491 * sysdeps/i386/i686/multiarch/strcat.S: New file.
45492 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
45493 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
45494 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
45495 * sysdeps/i386/i686/multiarch/strncat.S: New file.
45496 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
45497 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
45498
45499 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
45500 (USE_AS_STRCAT): Define.
45501 Add strcat and strncat support.
45502 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45503
8c1a459f
AS
455042011-07-25 Andreas Schwab <schwab@redhat.com>
45505
45506 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
45507 __n bigger than INT_MAX+1.
45508 (__strncmp_g): Likewise.
45509
bba33c28
UD
455102011-07-23 Ulrich Drepper <drepper@gmail.com>
45511
798be72d
UD
45512 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
45513 * libio/stido.h: Likewise.
45514
8accd4dc
UD
45515 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
45516 (AF_NFC): Define.
45517 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
45518 (AF_NFC): Define.
45519
cbff0d96
UD
45520 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
45521 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45522 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45523 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
45524 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45525
9191c04a
UD
45526 [BZ #13021]
45527 * scripts/test-installation.pl: Don't expect libnss_test1 to be
45528 installed.
45529
bba33c28
UD
45530 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
45531 typo.
45532 (_dl_x86_64_save_sse): Likewise.
45533
90f139dd
UD
455342011-07-22 Ulrich Drepper <drepper@gmail.com>
45535
1aae088a
UD
45536 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
45537 OSXSAVE.
45538 (_dl_x86_64_save_sse): Likewise.
45539
8e2045f5
UD
45540 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
45541
90f139dd
UD
45542 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
45543
1d002f25
AS
455442011-07-21 Andreas Schwab <schwab@redhat.com>
45545
45546 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
45547 change.
45548 (_dl_x86_64_save_sse): Use correct AVX check.
45549
21137f89
UD
455502011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45551
45552 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
45553 bug in strncpy/strncat.
45554 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
45555
a65c0b7a
UD
455562011-07-21 Ulrich Drepper <drepper@gmail.com>
45557
45558 * string/tester.c (test_strcat): Add tests for different alignments
45559 of source and destination.
45560 (test_strncat): Likewise.
45561
6986b98a
UD
455622011-07-20 Ulrich Drepper <drepper@gmail.com>
45563
90bb2039
UD
45564 [BZ #12852]
45565 * posix/glob.c (glob): Check passed in values before using them in
45566 expressions to avoid some overflows.
45567 (glob_in_dir): Likewise.
45568
5644ef54
UD
45569 [BZ #13007]
45570 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
45571 check for AVX enablement so that we don't crash with old kernels and
45572 new hardware.
45573 * elf/tst-audit4.c: Add same checks here.
45574 * elf/tst-audit6.c: Likewise.
45575
45576 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 45577
bfc9dc9b
AS
455782011-07-09 Andreas Schwab <schwab@linux-m68k.org>
45579
45580 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
45581
702e64bb
UD
455822011-07-20 Ulrich Drepper <drepper@gmail.com>
45583
45584 * po/cs.po: Update from translation team.
45585 * po/bg.po: Likewise.
45586
295e904f
MP
455872011-07-12 Marek Polacek <mpolacek@redhat.com>
45588
45589 * misc/sys/cdefs.h: Add support for const attribute.
45590 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
45591 to gnu_dev_{major,minor,makedev} functions.
45592
3ff94596
MP
455932011-07-20 Marek Polacek <mpolacek@redhat.com>
45594
45595 * intl/dcigettext.c (get_output_charset): Add missing bracket.
45596
28b59fca
AS
455972011-07-20 Andreas Schwab <schwab@redhat.com>
45598
45599 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
45600 strlen results.
45601
19df733e
AK
456022011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45603
45604 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
45605 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
45606 register in order to avoid conflicts with the soft frame pointer
45607 being held in r11 when necessary.
45608 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
45609 (INTERNAL_VSYSCALL_NCS): Likewise.
45610
c8835729
MP
456112011-07-14 Marek Polacek <mpolacek@redhat.com>
45612
45613 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
45614 * elf/dl-fini.c (_dl_fini): Adjust caller.
45615 * elf/dl-close.c (_dl_close_worker): Likewise.
45616 * sysdeps/generic/ldsodefs.h: Adjust declaration.
45617
b902330c
MP
456182011-07-15 Marek Polacek <mpolacek@redhat.com>
45619
8991e135
MP
45620 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
45621 "aux_cache->nlibs < 0".
45622
b902330c
MP
45623 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
45624 in the reload-count case.
45625
99710781
LD
456262011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45627
45628 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45629 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
45630 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
45631 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
45632 * sysdeps/x86_64/multiarch/strcat.S: New file.
45633 * sysdeps/x86_64/multiarch/strncat.S: New file.
45634 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
45635 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
45636 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
45637 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
45638 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
45639 (USE_AS_STRCAT): Define.
45640 Add strcat and strncat support.
45641 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45642 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45643 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
45644 * string/strncat.c: Update.
45645 (USE_AS_STRNCAT): Define.
45646 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45647 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
45648 and i7.
45649 * sysdeps/x86_64/multiarch/init-arch.h
45650 (bit_Prefer_PMINUB_for_stringop): New.
45651 (index_Prefer_PMINUB_for_stringop): Likewise.
45652 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
45653 bit_Prefer_PMINUB_for_stringop.
45654
7dc6bd90
UD
456552011-07-19 Ulrich Drepper <drepper@gmail.com>
45656
45657 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
45658 buffer64.
45659 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
45660 of casting of buffer.
45661 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
45662 buffer32 and buffer64.
45663 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
45664 writes instead of casting of buffer.
45665 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
45666 buffer32.
45667 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
45668 casting of buffer.
45669
e0e72284
AS
456702011-07-19 Andreas Schwab <schwab@redhat.com>
45671
45672 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
45673
feb1eb0b
UD
456742011-07-19 Ulrich Drepper <drepper@gmail.com>
45675
45676 * nscd/nscd.c (termination_handler): Don't do anything for a database
45677 if it has not yet been initialized.
45678
298711ff
UD
456792011-07-18 Ulrich Drepper <drepper@gmail.com>
45680
45681 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45682
456832011-07-15 Marek Polacek <mpolacek@redhat.com>
45684
45685 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45686
f9d68389
UD
456872011-07-18 Ulrich Drepper <drepper@gmail.com>
45688
45689 * po/nl.po: Update from translation team.
45690 * po/sv.po: Likewise.
45691
db290cf5
RM
456922011-07-16 Roland McGrath <roland@hack.frob.com>
45693
45694 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
45695 now disallowed by GCC.
5c550700 45696
fd5e21c7
RM
45697 * configure.in (use-default-link): Default to yes if a test -shared
45698 link meets our qualifications.
45699 * configure: Regenerated.
45700
5c550700
RM
45701 * config.make.in (output-format): New variable.
45702 * configure.in: Check for ld --print-output-format support.
45703 * configure: Regenerated.
45704 * Makerules ($(common-objpfx)format.lds)
45705 [$(output-format) != unknown]: Just use $(output-format),
45706 instead of the linker-script munging.
45707
9fa2c032
RM
457082011-07-14 Roland McGrath <roland@hack.frob.com>
45709
a6928d51
RM
45710 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
45711 of $(common-objpfx)shlib.lds.
45712 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
45713
661607b3
RM
45714 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
45715 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
45716
9fa2c032
RM
45717 * configure.in (-z relro check): Adjust test code to add a large
45718 writable data section after it.
45719 * configure: Regenerated.
45720
defe9061
RM
457212011-07-11 Roland McGrath <roland@hack.frob.com>
45722
45723 * configure.in (-z relro check): Fix test code to make the variable
45724 truly const.
45725 * configure: Regenerated.
45726
319b9ad4
UD
457272011-07-11 Ulrich Drepper <drepper@gmail.com>
45728
45729 * nscd/nscd.h (struct traced_file): Define.
45730 (struct database_dyn): Remove inotify_descr, reset_res, and filename
45731 elements. Add traced_files.
45732 (inotify_fd): Declare.
45733 (register_traced_file): Declare.
45734 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
45735 (inotify_fd): Export.
45736 (resolv_conf_descr): Remove.
45737 (nscd_init): Move inotify descriptor creation to main.
45738 Don't register files for notification here.
45739 (register_traced_file): New function.
45740 (invalidate_cache): Don't use reset_res to determine whether to call
45741 res_init, go through the list of registered files.
45742 (main_loop_poll): The inotify descriptors are now stored in the
45743 structures for the traced files.
45744 (main_loop_epoll): Likewise
45745 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
45746 to __nss_disable_nscd.
45747 * nscd/cache.c (prune_cache): There is no single inotify descriptor
45748 for a database anymore. Check the records for all the registered
45749 files instead.
45750 * nss/Makefile (libnss_files-routines): Add files-init.
45751 (libnss_db-routines): Add db-init.
45752 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
45753 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
45754 * nss/nss_db/db-init.c: New file.
45755 * nss/nss_files/files-init.c: New file.
45756 * nss/nsswitch.c (nss_load_library): New function. Broken out of
45757 __nss_lookup_function.
45758 (__nss_lookup_function): Call nss_load_library.
45759 (nss_load_all_libraries): New function.
45760 (__nss_disable_nscd): Take parameter with callback function for files
45761 to register. Set is_nscd. Load all the DSOs for the NSS modules
45762 used for the cached services.
45763 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
45764 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
45765 options for features to all the files in nscd.
45766
45767 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
45768
23bee3e8
RM
457692011-07-10 Roland McGrath <roland@hack.frob.com>
45770
45771 * csu/elf-init.c (__libc_csu_init): Comment typo.
45772
46a5b7f0
UD
457732011-07-09 Ulrich Drepper <drepper@gmail.com>
45774
45775 * po/pl.po: Update from translation team.
45776 * po/ja.po: Likewise.
45777 * po/ru.po: Likewise.
45778 * po/ko.po: Likewise.
45779 * po/fr.po: Likewise.
45780
d30cf5bb
RM
457812011-07-09 Roland McGrath <roland@hack.frob.com>
45782
113ddea4
RM
45783 * configure.in (.ctors/.dtors header and trailer check):
45784 Use an empirical test on a built program.
45785 * configure: Regenerated.
45786
574920b4
RM
45787 * configure.in (-z relro check): Use an empirical test on a built DSO.
45788 Detect, but do not require, on ia64.
45789 * configure: Regenerated.
45790
d30cf5bb
RM
45791 * configure.in (READELF): Find it with AC_CHECK_TOOL.
45792 Update tests that use readelf to use $READELF instead.
45793 * configure: Regenerated.
45794
8538fdb3
UD
457952011-07-08 Ulrich Drepper <drepper@gmail.com>
45796
45797 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
45798 if the result is not used.
45799
04d08991
AJ
458002011-07-05 Andreas Jaeger <aj@suse.de>
45801
45802 [BZ#9696]
45803 * stdlib/tst-strtod.c: Add testcase.
45804
de283087
AD
458052011-07-07 Ulrich Drepper <drepper@gmail.com>
45806
4e5f31c8 45807 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 45808 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
45809 The latter has a higher limit. Take additional parameter to pass to
45810 the new function.
45811 (__pathconf): Pass file to __statfs_link_max.
45812 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
45813 __statfs_link_max.
45814 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
45815 __statfs_link_max.
45816
de283087
AD
45817 [BZ #12868]
45818 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
45819 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45820 Handle Lustre.
45821 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
45822 (__statfs_filesize_max): Likewise.
45823 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
45824
c75fa153
AJ
458252011-07-05 Andreas Jaeger <aj@suse.de>
45826
45827 * resolv/res_comp.c (dn_skipname): Remove unused variable.
45828
1a544854
UD
458292011-07-06 Marek Polacek <mpolacek@redhat.com>
45830
45831 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
45832 `status' variable.
45833 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
45834 Likewise.
45835
6f0eec67
UD
458362011-07-04 H.J. Lu <hongjiu.lu@intel.com>
45837
45838 * Makefile (strop-tests): Add strncat.
45839 * string/test-strncat.c: New file.
45840
aae30307
UD
458412011-06-30 Marek Polacek <mpolacek@redhat.com>
45842
45843 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
45844
c0cfb5eb
UD
458452011-06-21 Andreas Jaeger <aj@suse.de>
45846
45847 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
45848 Copy rule from iconvdata/Makefile.
45849
01636b21
UD
458502011-07-06 Ulrich Drepper <drepper@gmail.com>
45851
45852 [BZ #12922]
45853 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
45854 but no long options are defined, just return 'W'.
45855
9895c8bc
UD
458562011-06-22 Marek Polacek <mpolacek@redhat.com>
45857
45858 [BZ #9696]
45859 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
45860
5d4cf042
UD
458612011-07-06 Ulrich Drepper <drepper@gmail.com>
45862
45863 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
45864 netgroups to read.
960e5535 45865 (innetgr): Likewise.
5d4cf042 45866
751eb97e
RM
458672011-07-05 Roland McGrath <roland@hack.frob.com>
45868
45869 * config.make.in (install_root): Default to $(DESTDIR).
45870
f15f1e45
UD
458712011-07-05 Ulrich Drepper <drepper@gmail.com>
45872
45873 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
45874
4e34ac6a
RM
458752011-07-02 Roland McGrath <roland@hack.frob.com>
45876
5e9b6af4
RM
45877 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
45878
84f9ea0f
RM
45879 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
45880 containing directory rather than embedding absolute directory names.
45881
ea5ee9f7
RM
45882 * scripts/check-local-headers.sh: Rewritten using awk.
45883 Match by word, not by line. Print error messages for matches.
45884 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
45885
1b74661a
RM
45886 * Makerules [shlib-lds-flags empty]:
45887 ($(common-objpfx)libc_pic.opts): New target.
45888 ($(common-objpfx)libc_pic.os.clean): New target.
45889 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
45890
45891 * config.make.in (OBJCOPY): New variable.
45892 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
45893 * configure: Regenerated.
45894
f781ef40
RM
45895 * config.make.in (use-default-link): New variable.
45896 * configure.in (use_default_link): Grok --with-default-link to set it.
45897 * configure: Regenerated.
45898 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
45899 (shlib-lds, shlib-lds-flags): Define to empty.
45900
2d4fa81e
RM
45901 * Makerules (shlib-lds): New variable.
45902 (shlib-lds-flags): New variable.
45903 (build-shlib, build-moduile, build-module-asneeded): Use it.
45904 ($(common-objpfx)libc.so): Use $(shlib-lds).
45905 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
45906 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
45907
31fffa6b
RM
45908 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
45909 DT_FLAGS/DT_FLAGS_1 with zero flags.
45910
4e34ac6a
RM
45911 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
45912 linker script munging.
45913
fcfc776b
UD
459142011-07-02 Ulrich Drepper <drepper@gmail.com>
45915
45916 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
45917 as 128-bit value.
45918 * crypt/sha512.c (sha512_process_block): Perform total addition using
45919 128-bit if possible.
45920 (__sha512_finish_ctx): Likewise.
45921 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
45922 as 64-bit value.
45923 * crypt/sha256.c (SWAP64): Define.
45924 (sha256_process_block): Perform total addition using 64-bit if
45925 possible.
45926 (__sha256_finish_ctx): Likewise.
45927
99231d9a
UD
459282011-07-01 Ulrich Drepper <drepper@gmail.com>
45929
45930 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
45931 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45932 * nscd/hstcache.c (cache_addhst): Likewise.
45933 * nscd/grpcache.c (cache_addgr): Likewise.
45934 * nscd/aicache.c (addhstaiX): Likewise
45935 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
45936
445b4a53
TK
459372011-07-01 Thorsten Kukuk <kukuk@suse.de>
45938
45939 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
45940 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45941 * nscd/hstcache.c (cache_addhst): Likewise.
45942 * nscd/grpcache.c (cache_addgr): Likewise.
45943 * nscd/aicache.c (addhstaiX): Likewise
45944
6d4d8e8e
AS
459452011-07-01 Andreas Schwab <schwab@redhat.com>
45946
45947 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
45948 domain only when needed.
45949
89f654c5
AS
459502011-06-30 Andreas Schwab <schwab@redhat.com>
45951
45952 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
45953 is always restored.
45954
cf3b23ff
UD
459552011-06-29 Ulrich Drepper <drepper@gmail.com>
45956
45957 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
45958 are re-adding the entry.
45959 * nscd/servicescache.c (cache_addserv): Likewise.
45960
751626f9
AJ
459612011-06-30 Aurelien Jarno <aurelien@aurel32.net>
45962
45963 * sysdeps/generic/dl-irel.h: fix protection against multiple
45964 inclusions.
45965 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
45966
9113ea1f
UD
459672011-06-28 Ulrich Drepper <drepper@gmail.com>
45968
5c0b8d90
UD
45969 [BZ #12935]
45970 * malloc/memusage.sh: Fix quoting in message.
45971 * debug/xtrace.sh: Likewise.
45972
9113ea1f
UD
45973 * configure.in: Remove support for --experimental-malloc option, make
45974 it the default.
45975 * config.make.in: Likewise.
45976 * malloc/Makefile: Likewise.
45977
a4172181
AS
459782011-06-27 Andreas Schwab <schwab@redhat.com>
45979
45980 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
45981 two-byte characters.
45982
78a7eee7
RM
459832011-06-27 Roland McGrath <roland@hack.frob.com>
45984
62bede13
RM
45985 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
45986 AC_CACHE_CHECK invocation.
45987 * configure: Regenerated.
45988
78a7eee7
RM
45989 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
45990
5ce33a62
UD
459912011-06-27 Ulrich Drepper <drepper@gmail.com>
45992
034807a9
UD
45993 [BZ #12350]
45994 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
45995 bit from old_res_options.
45996
4902da17
UD
45997 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
45998
5ce33a62
UD
45999 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
46000 value type for setfct.
46001
c2344f56
L
460022011-06-23 H.J. Lu <hongjiu.lu@intel.com>
46003
46004 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46005 __gettimeofday instead of gettimeofday.
46006
68468076
UD
460072011-06-26 Ulrich Drepper <drepper@gmail.com>
46008
46009 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
46010
acb0d739
L
460112011-06-24 H.J. Lu <hongjiu.lu@intel.com>
46012
46013 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
46014
46015 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
46016 info.
46017
8912479f
L
460182011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46019
46020 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46021 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46022 strcpy-sse2-unaligned strncpy-sse2-unaligned
46023 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
46024 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
46025 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
46026 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
46027 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
46028 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
46029 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
46030 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
46031 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
46032 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
46033 (STRCPY): Support SSE2 and SSSE3 versions.
46034
d5495a11
UD
460352011-06-24 Ulrich Drepper <drepper@gmail.com>
46036
46037 [BZ #12874]
46038 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
46039 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
46040 kernels which artificially limit size of requests.
46041
0b1cbaae
L
460422011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46043
46044 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46045 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46046 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
46047 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
46048 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
46049 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
46050 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
46051 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
46052 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
46053 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
46054 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
46055 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
46056 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
46057 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
46058 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
46059 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46060 Enable unaligned load optimization for Intel Core i3, i5 and i7
46061 processors.
46062 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
46063 Define.
46064 (index_Fast_Unaligned_Load): Define.
46065 (HAS_FAST_UNALIGNED_LOAD): Define.
46066
07f494a0
MP
460672011-06-23 Marek Polacek <mpolacek@redhat.com>
46068
46069 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
46070
fa3fc0fe
UD
460712011-06-22 Ulrich Drepper <drepper@gmail.com>
46072
46073 [BZ #12907]
46074 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
46075 until it is clear that the information is realy needed.
46076 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
46077
e12df166
AS
460782011-06-22 Andreas Schwab <schwab@redhat.com>
46079
46080 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
46081
852eb34d
UD
460822011-06-22 Ulrich Drepper <drepper@gmail.com>
46083
84e2a551
UD
46084 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46085 /sys/devices/system/cpu/online if it is usable.
46086
852eb34d
UD
46087 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
46088 reading the information from the /proc filesystem to once a second.
46089
6e502e19
UD
460902011-06-21 Andreas Jaeger <aj@suse.de>
46091
46092 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
46093 NULL after inclusion of kernel headers.
46094
75d39ff2
UD
460952011-06-21 Ulrich Drepper <drepper@gmail.com>
46096
51f9aa6a
UD
46097 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
46098 calls to internal_setent.
46099
c0244a9d
UD
46100 [BZ #12885]
46101 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
46102 addresses using gethostbyname4_r ignore IPv4 addresses.
46103
c5e3c2ae
UD
46104 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
46105 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
46106
75d39ff2
UD
46107 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
46108
42675c6f
DM
461092011-06-20 David S. Miller <davem@davemloft.net>
46110
46111 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
46112 inclusions.
46113 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
46114
46115 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
46116 (elf_irel): Use it.
46117 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
46118 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
46119 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
46120 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
46121 * sysdeps/x86_64/dl-irel.h: Likewise.
46122
46123 * elf/dl-runtime.c: Use elf_ifunc_invoke.
46124 * elf/dl-sym.c: Likewise.
46125
57912a71
UD
461262011-06-15 Ulrich Drepper <drepper@gmail.com>
46127
46128 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
46129 need to dereference resplen2.
46130
ee22793d
AS
461312011-06-14 Andreas Schwab <schwab@redhat.com>
46132
46133 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
46134
a9e836b0
UD
461352011-06-15 Ulrich Drepper <drepper@gmail.com>
46136
77fb9117
UD
46137 * Makeconfig: Define vardbdir and inst_vardbdir.
46138 * nss/Makefile: Add rules to install db-Makefile.
46139
40c1b22c
UD
46140 * nss/nss_db/db-XXX.c: Cleanup.
46141
9f2da732
UD
46142 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
46143 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
46144 GLIBC_PRIVATE.
46145 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
46146 * nss/makedb.c: Implement -g option to specify that value strings
46147 are generated and should not be added to table iterated over for
46148 get*ent calls.
46149 * nss/nss_db/db-initgroups.c: New file.
46150
82e9a1f7
UD
46151 * nss/getent.c: Add support for initgroups lookups through getgrouplist
46152 interface.
46153
c41af17e
UD
46154 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
46155 (internal_getgrouplist): Adjust to name change.
46156 Update use_initgroups_entry if this is not the first call.
46157 * nss/databases.def: Add initgroups entry.
46158
a9e836b0
UD
46159 * nss/makedb.c (compute_tables): Check result of multiple hash table
46160 sizes to minimize maximum chain length.
46161
2666d441
UD
461622011-06-14 Ulrich Drepper <drepper@gmail.com>
46163
46164 * Versions.def: Add entry for libnss_db.
46165 * shlib-versions: Likewise.
46166 * nss/Makefile: Add rules to build libnss_db.
46167 * nss/Versions: Add libnss_db information. Organize libnss_files
46168 entries better.
46169 * nss/db-Makefile: Add gshadow support. Change rules for the new
46170 makedb progra. Some minor improvements to generate smaller files.
46171 * nss/nss_db/nss_db.h: Move NSS database header data structures to
46172 here from...
46173 * nss/makedb.c: ...here.
46174 Improve database format to be smaller and require less memory at
46175 runtime.
46176 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
46177 db anymore.
46178 * nss/nss_db/db-netgrp.c: Likewise.
46179 * nss/nss_db/db-open.c: Likewise.
46180 * nss/nss_files/flies-XXX.x: Adjust comments.
46181 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
46182 * nss/nss_files/files-grp.c: Likewise.
46183 * nss/nss_files/files-hosts.c: Likewise.
46184 * nss/nss_files/files-network.c: Likewise.
46185 * nss/nss_files/files-proto.c: Likewise.
46186 * nss/nss_files/files-pwd.c: Likewise.
46187 * nss/nss_files/files-rpc.c: Likewise.
46188 * nss/nss_files/files-service.c: Likewise.
46189 * nss/nss_files/files-sgrp.c: Likewise.
46190 * nss/nss_files/files-spwd.c: Likewise.
46191 * nss/nss_db/db-alias.c: Removed.
46192 * nss/nss_db/dummy-db.h: Removed.
46193
9ee76b5a
UD
461942011-06-02 Ulrich Drepper <drepper@gmail.com>
46195
46196 * nss/makedb.c: Rewritten to not use database library.
46197 * nss/Makefile: Update to build new makedb program.
46198
c71ca1f8
AJ
461992011-06-14 Andreas Jaeger <aj@suse.de>
46200
46201 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
46202 memset declaration.
46203
3154bfb8
UD
462042011-06-10 Andreas Schwab <schwab@redhat.com>
46205
46206 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
46207 tmpbuf.
46208
b350afab
RM
462092011-06-10 Roland McGrath <roland@hack.frob.com>
46210
decd4e50
RM
46211 * Makerules (shlib.lds): Fail if the linker script comes out empty.
46212 * elf/Makefile ($(objpfx)ld.so): Likewise.
46213
5615eaf2
RM
46214 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
46215 Don't list ld.so twice in dependencies.
46216
46217 * posix/bug-regex31.c: Include <stdlib.h>.
46218
46219 * nscd/hstcache.c (cache_addhst): Remove unused variable.
46220
46221 * nis/nss_compat/compat-spwd.c
46222 (getspent_next_nss_netgr): Remove unused variable.
46223 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
46224
46225 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
46226 nonmembers" output to use the right array.
46227
46228 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
46229
46230 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
46231
46232 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
46233 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
46234 * catgets/gencat.c (read_input_file): Likewise.
46235 * locale/programs/locarchive.c (enlarge_archive): Likewise.
46236
46237 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
46238 variable definition inside #if's controlling its use.
46239
46240 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
46241
46242 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
46243
46244 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
46245
46246 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
46247 unreachable code.
46248
46249 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
46250
b68e08db
RM
46251 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
46252 * configure: Regenerated.
46253
b350afab
RM
46254 * Makerules: Revert last change.
46255 * elf/Makefile: Likewise.
46256
28368601
RM
462572011-06-09 Roland McGrath <roland@hack.frob.com>
46258
46259 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
46260 * elf/Makefile ($(objpfx)librtld.os): Likewise.
46261 (reloc-link): Likewise.
46262
11988f8f
UD
462632011-06-09 Ulrich Drepper <drepper@gmail.com>
46264
46265 * elf/Makefile: Add rules to build pldd.
46266 * elf/pldd.c: New file.
46267 * elf/pldd-xx.c: New file.
46268
e80fab37
UD
462692011-06-07 Ulrich Drepper <drepper@gmail.com>
46270
46271 * version.h: Update for 2.15 development version.
46272
9b849836
DM
462732011-06-07 David S. Miller <davem@davemloft.net>
46274
46275 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
46276 ifuncs.
46277 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
46278 elf_machine_lazy_rel): Likewise.
46279 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46280 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
46281 elf_machine_lazy_rel): Likewise.
46282 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
46283 dl_hwcap via passed in argument.
46284 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
46285 Likewise.
46286
5a31b283
AK
462872011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46288
46289 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
46290
069e52f8
RM
462912011-06-06 Roland McGrath <roland@hack.frob.com>
46292
46293 [BZ #12849]
46294 * manual/fdl-1.1.texi: New file, verbatim from:
46295 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
46296 * manual/lgpl-2.1.texi: New file, verbatim from:
46297 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
46298 * manual/Makefile (licenses): New variable, list those new file names.
46299 (texis): Use it.
46300 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
46301
46302 * manual/fdl.texi: File removed.
46303 * manual/lesser.texi: File removed.
46304 * manual/libc.texinfo (Copying, Documentation License):
46305 Use new @include file names, put @appendix directive before @include.
46306
f16846a5
JJ
463072011-06-04 Jakub Jelinek <jakub@redhat.com>
46308
46309 [BZ #12841]
46310 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
46311 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
46312 (mq_open): Add __NTH.
46313
3d29045b
L
463142011-06-02 H.J. Lu <hongjiu.lu@intel.com>
46315
46316 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46317 Assume Intel Core i3/i5/i7 processor if AVX is available.
46318
8c297311
UD
463192011-05-31 Ulrich Drepper <drepper@gmail.com>
46320
46321 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46322 typo.
46323
c8fc0c91
UD
463242011-05-31 Andreas Schwab <schwab@redhat.com>
46325
46326 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
46327 memory. Use alloca_account. Fix memory leak when retrying.
46328
5b27a807
UD
463292011-05-31 Ulrich Drepper <drepper@gmail.com>
46330
356f8bc6
UD
46331 * version.h (RELEASE): Bump for 2.14 release.
46332 * include/features.h (__GLIBC_MINOR__): Bump to 14.
46333
5b27a807
UD
46334 * config.make.in (RANLIB): Remove entry.
46335
01f16ab0
UD
463362011-05-30 Ulrich Drepper <drepper@gmail.com>
46337
41fce8bd
UD
46338 * po/Makefile (po-sed-cmd): Add ksh to extensions.
46339 (libc.pot): Work around missing support for .ksh extension in xgettext.
46340
4769ae77
UD
46341 [BZ #12684]
46342 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
46343 if both request failed.
46344 (send_dg): In case of server errors clear resplen or *resplen2.
46345
6b1e7d19
UD
46346 [BZ #12454]
46347 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
46348 when there are multiple maps.
46349 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
46350 (_dl_fini): Remove test here.
46351
01f16ab0
UD
46352 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
46353
b1ebd700
UD
463542011-05-29 Ulrich Drepper <drepper@gmail.com>
46355
7ae22829
UD
46356 [BZ #12350]
46357 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
46358 bit from old_res_options.
46359 (gaih_inet): Likewise.
46360
553149f6 46361 [BZ #11099]
18a84741 46362 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
46363 as signed.
46364
652ffab1
UD
46365 * resolv/res_init.c (res_setoptions): Make the code more compact.
46366
16985fd0
UD
46367 [BZ #11558]
46368 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
46369 set RES_USEVC.
46370
0464f746
UD
46371 [BZ #11634]
46372 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
46373
7d17596c
UD
46374 * malloc/malloc.h: Mark malloc hook variables as deprecated.
46375
cf6bbbd7
UD
46376 [BZ #11781]
46377 * malloc/malloc.h: Declare malloc hook variables as volatile.
46378
13f1ab36
UD
46379 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
46380 in last patch.
46381
b1ebd700
UD
46382 [BZ #11799]
46383 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 46384 raise in the comment.
80e2212d
UD
46385 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46386 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46387 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 46388
ce67228d
UD
463892011-05-28 Ulrich Drepper <drepper@gmail.com>
46390
8887a920
UD
46391 [BZ #12811]
46392 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
46393 grow the buffers more if it already has to be sufficient.
46394 (build_wcs_upper_buffer): Likewise.
46395 * posix/regexec.c (check_matching): Likewise.
46396 (clean_state_log_if_needed): Likewise.
46397 (extend_buffers): Don't enlarge buffers beyond size of the input
46398 buffer.
46399 Patches mostly by Emil Wojak <emil@wojak.eu>.
46400 * posix/bug-regex32.c: New file.
46401 * posix/Makefile (tests): Add bug-regex32.
46402
4f031072
UD
46403 * locale/findlocale.c (_nl_find_locale): Return right away if
46404 _nl_explode_name failed.
46405 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
46406
d0478f0c
UD
46407 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
46408
de81b246
UD
46409 * debug/xtrace.sh: Unify messages.
46410 * malloc/memusage.sh: Likewise.
46411
c738465a
UD
46412 [BZ #12813]
46413 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
46414 time symbol from vDSO. Substitute with vsyscall if not available.
46415 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
46416 __vdso_time.
46417
f1f929d7
UD
46418 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
46419 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
46420 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
46421 Add sendmmsg and internal_sendmmsg.
46422 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
46423 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
46424 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
46425
ce67228d
UD
46426 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
46427 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
46428 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
46429
e57420c6
UD
464302011-05-27 Ulrich Drepper <drepper@gmail.com>
46431
a8509ca5
UD
46432 [BZ #12813]
46433 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
46434 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
46435 available.
46436 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
46437 __vdso_getcpu.
46438
e57420c6
UD
46439 [BZ #12814]
46440 * iconvdata/Makefile (tests): Add bug-iconv9.
46441 * iconvdata/bug-iconv9.c: New file.
46442
4d07db15
AS
464432011-05-27 Andreas Schwab <schwab@redhat.com>
46444
46445 [BZ #12814]
46446 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
46447
ea486f69
JJ
464482011-05-25 Jakub Jelinek <jakub@redhat.com>
46449
46450 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46451 (struct user_regs_struct): Change intcs field back to cs.
46452
6f038433
UD
464532011-05-25 Ulrich Drepper <drepper@gmail.com>
46454
46455 * po/ja.po: Update from translation team.
46456
67f86a25
UD
464572011-05-23 Ulrich Drepper <drepper@gmail.com>
46458
46459 [BZ #12795]
46460 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
46461 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
46462
def7fbd6
AS
464632011-05-20 Andreas Schwab <schwab@redhat.com>
46464
46465 * stdlib/longlong.h: Update from GCC.
46466
f50ef8f1
AS
464672011-05-23 Andreas Schwab <schwab@redhat.com>
46468
46469 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
46470 parameter name.
46471 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
46472 Add parameter name.
46473 (__sysconf): Pass it down.
46474
de7ce8f1
UD
464752011-05-22 Ulrich Drepper <drepper@gmail.com>
46476
f2962a71
UD
46477 [BZ #12671]
46478 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
46479 some situations.
46480 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
46481 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
46482 add in in __libc_use_alloca calls. Adjust callers.
46483 (glob): Use malloc in some situations.
46484
de7ce8f1
UD
46485 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
46486 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
46487 pltexit.
46488
aec84f53
UD
464892011-05-21 Ulrich Drepper <drepper@gmail.com>
46490
05bb4a68
UD
46491 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
46492 and CLOCK_BOOTTIME_ALARM.
46493
7ea72f99
UD
46494 [BZ #12782]
46495 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
46496 is returned.
46497
7e4afad5
UD
46498 * string/_strerror.c (__strerror_r): Print negative errors as signed
46499 numbers.
46500
8e211fec
UD
46501 [BZ #12777]
46502 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
46503 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
46504 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
46505
f7d82dc9
UD
46506 * configure.in: Fix typo in redirection and correct removal of test
46507 files in two cases.
46508
cc9e536d
UD
46509 [BZ #12788]
46510 * locale/setlocale.c (new_composite_name): Fix test to check for
46511 identical name of all categories.
46512
aec84f53
UD
46513 [BZ #12792]
46514 * libio/filedoalloc.c (local_isatty): New function.
46515 (_IO_file_doallocate): Use local_isatty.
46516 * stdio-common/perror.c (perror): In case a new stream is used
46517 forward the stream error.
46518 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
46519 error flag.
46520
78e64fdc
RT
465212011-05-20 Ulrich Drepper <drepper@gmail.com>
46522
34a9094f
UD
46523 [BZ #11869]
46524 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
46525 alloca.
46526 * include/alloca.h (extend_alloca_account): Define.
46527
78e64fdc
RT
46528 [BZ #11857]
46529 * posix/regex.h: Fix comments with documentation of user-accessible
46530 fields after compilation and describe correct free'ing of pattern
46531 after re_compile_pattern.
46532 Patch by Reuben Thomas <rrt@sc3d.org>.
46533
457bddfc
RA
465342011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
46535
46536 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
46537 and -mno-altivec to prevent the compiler from using Altivec and/or
46538 VSX instructions when the corresponding registers are not available.
46539
a4527b51
AS
465402011-05-19 Andreas Schwab <schwab@redhat.com>
46541
46542 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
46543
ed690b2f
UD
465442011-05-19 Ulrich Drepper <drepper@gmail.com>
46545
46546 * libio/freopen.c (freopen): Use __dup2, not dup2.
46547 * libio/freopen64.c (freopen64): Likewise.
46548
8db73634
L
465492011-05-17 H.J. Lu <hongjiu.lu@intel.com>
46550
46551 [BZ #12775]
46552 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
46553 * math/Makefile (tests): Add test-powl.
46554 (CFLAGS-test-powl.c): Define.
46555 * math/test-powl.c: New file.
46556
0a197a9d
L
465572011-05-16 H.J. Lu <hongjiu.lu@intel.com>
46558
46559 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
46560
ee30c380
UD
465612011-05-17 Ulrich Drepper <drepper@gmail.com>
46562
46563 [BZ #11837]
46564 * iconvdata/gb18030.c: Update to GB18020-2005.
46565
6ce75379
UD
465662011-05-16 Ulrich Drepper <drepper@gmail.com>
46567
a4b89fd8
AR
46568 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
46569 RE_SYNTAX_POSIX_AWK): Update to match recent development.
46570 Patch by Aharon Robbins <arnold@skeeve.com>.
46571
ea389b12
UD
46572 [BZ #11892]
46573 * stdlib/putenv.c (putenv): Don't always create copy of the variable
46574 on the stack.
46575
68a3f91f
UD
46576 [BZ #11895]
46577 * misc/pselect.c (__pselect): Handle timeout value errors hidden
46578 through underflows.
46579
15cc7dd1
UD
46580 [BZ #12766]
46581 * misc/error.c (error_at_line): Ensure file_name and old_file_name
46582 point to strings before performing equality test for error_one_per_line
46583 mode.
46584
f3799213
UD
46585 [BZ #11697]
46586 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
46587
d79a9c94
UD
46588 [BZ #11820]
46589 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46590 (struct user_fpregs_struct): Avoid __uint*_t types.
46591
56e5eb46
UD
46592 [BZ #6420]
46593 * malloc/mtrace.c (tr_where): Add additional parameter to point to
46594 symbol info. Use it instead of calling _dl_addr locally.
46595 (lock_and_info): New function.
46596 (tr_freehook): Call lock_and_info and pass symbol info as additional
46597 parameter to tr_where.
46598 (tr_mallochook): Likewise.
46599 (tr_reallochook): Likewise.
46600 (tr_memalignhook): Likewise.
46601
6ce75379
UD
46602 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
46603 used and couldn't be at all thread-safe.
46604
f8a3b5bf
UD
466052011-05-15 Ulrich Drepper <drepper@gmail.com>
46606
94b7cc37
UD
46607 * libio/freopen.c (freopen): Don't close old file descriptor
46608 before the new one is opened. Instead dup the new file descriptor
46609 to the old one after the new stream is created.
46610 * libio/freopen64.c (freopen64): Likewise.
46611 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
46612 * libio/fileops.c (_IO_new_file_close_it): Handle new
46613 _IO_FLAGS2_NOCLOSE flag.
46614 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
46615 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
46616 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
46617 _IO_FLAGS2_NOCLOSE flag.
46618 * include/unistd.h: Add hidden_proto for dup3.
46619 Define __have_dup3.
46620 * io/dup3.c: Define hidden symbol.
46621 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
46622
bd25564e
UD
46623 [BZ #7101]
46624 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
46625 when an incomplete long option is used.
46626 * posix/tst-getopt_long1.c: New file.
46627 * posix/Makefile (tests): Add tst-getopt_long1.
46628
c84cfef4
UD
46629 [BZ #10138]
46630 * scripts/config.guess: Update from autoconf-2.68.
46631 * scripts/config.sub: Likewise.
46632
3b85df27
UD
46633 [BZ #10157]
46634 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
46635 tests into ...
46636 (has_cpuclock): ...this. New function.
46637 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
46638 macro here based on has_cpuclock code.
46639
15a856b1
UD
46640 [BZ #10149]
46641 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46642 First byte (not low byte) is now always NUL.
46643 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
46644
05f399e6
UD
46645 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46646 Use non-cancelable interfaces.
46647
10a52685 46648 [BZ #9809]
94ecc67d
UD
46649 * locale/iso-639.def: Add entry for Sorani.
46650
f8a3b5bf
UD
46651 [BZ #11901]
46652 * include/stdlib.h: Move include protection to the right place.
46653 Define abort_msg_s. Declare __abort_msg with it.
46654 * stdlib/abort.c (__abort_msg): Adjust type.
46655 * assert/assert.c (__assert_fail_base): New function. Majority
46656 of code from __assert_fail. Allocate memory for __abort_msg with
46657 mmap.
46658 (__assert_fail): Now call __assert_fail_base.
46659 * assert/assert-perr.c: Remove bulk of implementation. Use
46660 __assert_fail_base.
46661 * include/assert.hL Declare __assert_fail_base.
46662 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
46663 mmap.
46664 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
46665
1af4e298
UD
466662011-05-14 Ulrich Drepper <drepper@gmail.com>
46667
f8a3b5bf 46668 [BZ #11952]
d26dfc60
MG
46669 [BZ #12453]
46670 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
46671 until all modules are registered in the DTV.
46672 * elf/Makefile: Add rules to build and run tst-tls19.
46673 * elf/tst-tls19.c: New file.
46674 * elf/tst-tls19mod1.c: New file.
46675 * elf/tst-tls19mod2.c: New file.
46676 * elf/tst-tls19mod3.c: New file.
46677 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
46678
2fc54d6f
UD
46679 [BZ #12083]
46680 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
46681 correctly.
46682
98d76b46
UD
46683 [BZ #12601]
46684 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
46685 two-byte sequence errors.
46686 * iconvdata/Makefile (tests): Add bug-iconv8.
46687 * iconvdata/bug-iconv8.c: New file.
46688
da3c19ef
UD
46689 [BZ #12626]
46690 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
46691 buf2 definition.
46692
ca408c15
UD
46693 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
46694
d6f67f7d
UD
46695 [BZ #12432]
46696 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
46697 (dummy_getcfa): New function.
46698 (init): Get _Unwind_GetCFA address, use dummy if not found.
46699 (backtrace_helper): In recursion check, also check whether CFA changes.
46700 (__backtrace): Completely initialize arg.
46701
1af4e298 46702 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
46703 storing incomplete byte sequence in state object. Avoid testing for
46704 guaranteed too small input if we know there is enough data available.
1af4e298 46705
da62f81b
AS
467062011-05-11 Andreas Schwab <schwab@redhat.com>
46707
46708 * Makeconfig (+link-pie): Indent.
46709 * Rules (binaries-pie): Define if $(have-fpie) and
46710 $(build-shared).
46711 (binaries-shared): Also filter out $(binaries-pie).
46712 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
46713 * nscd/Makefile (others-pie): Add nscd.
46714 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
46715 ($(objpfx)nscd): Remove command override.
46716 * login/Makefile (others-pie): Add pt_chown.
46717 ($(objpfx)pt_chown): Remove command override.
46718 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
46719 remove command overrides.
46720
fcabc0f8
UD
467212011-05-13 Ulrich Drepper <drepper@gmail.com>
46722
20030ae6
UD
46723 * libio/tst_putwc.c: Fix error messages.
46724
fcabc0f8
UD
46725 [BZ #12724]
46726 * libio/fileops.c (_IO_new_file_close_it): Always flush when
46727 currently writing and seek to current position when not.
46728 * libio/Makefile (tests): Add bug-fclose1.
46729 * libio/bug-fclose1.c: New file.
46730
320a5dc0
PB
467312011-05-12 Ulrich Drepper <drepper@gmail.com>
46732
46733 [BZ #12511]
46734 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
46735 don't set DF_1_NODELETE here.
46736 (do_lookup_x): When entering new entry test for copy relocation
46737 and if necessary set DF_1_NODELETE flag.
46738 * elf/tst-unique4.cc: New file.
46739 * elf/tst-unique4.h: New file.
46740 * elf/tst-unique4lib.cc: New file.
46741 * elf/Makefile: Add rules to build and run tst-unique4.
46742 Patch by Piotr Bury <pbury@goahead.com>.
46743
22836f52
UD
467442011-05-11 Ulrich Drepper <drepper@gmail.com>
46745
f574184a
UD
46746 [BZ #12052]
46747 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
46748
e1fb097f
UD
46749 [BZ #12625]
46750 * misc/mntent_r.c (addmntent): Flush the stream after the output
46751
22836f52
UD
46752 [BZ #12393]
46753 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
46754 (is_trusted_path_normalize): Skip initial colon. Append slash
46755 to empty buffer. Duplicate is_trusted_path code but allow
46756 constructed patch to be prefix.
46757 (is_dst): Allow $ORIGIN followed by /.
46758 (_dl_dst_substitute): Correct clearing of check_for_trusted.
46759 Correct testing of result of is_trusted_path_normalize
46760 (decompose_rpath): Fix warning.
46761
7b3b0b2a
UD
467622011-05-10 Ulrich Drepper <drepper@gmail.com>
46763
46764 [BZ #11257]
46765 * grp/initgroups.c (internal_getgrouplist): When we found the service
46766 list through the initgroups entry in nsswitch.conf do not always
46767 continue on a successful lookup. Don't always use the
eac80ce2 46768 __nss_group_database value if it is set.
7b3b0b2a
UD
46769 * nss/nsswitch.conf (initgroups): Change action for successful db
46770 lookup to continue for compatibility.
46771
2a81eaa5
UD
467722011-05-09 Ulrich Drepper <drepper@gmail.com>
46773
be97a69e
UD
46774 [BZ #11532]
46775 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
46776 and CP774 modules.
46777 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
46778 and CP774 modules.
46779 * iconvdata/tst-tables.sh: Likewise.
46780 * iconvdata/cp770.c: New file.
46781 * iconvdata/cp771.c: New file.
46782 * iconvdata/cp772.c: New file.
46783 * iconvdata/cp773.c: New file.
46784 * iconvdata/cp774.c: New file.
46785 * iconvdata/testdata/CP770: New file.
46786 * iconvdata/testdata/CP770..UTF8: New file.
46787 * iconvdata/testdata/CP771: New file.
46788 * iconvdata/testdata/CP771..UTF8: New file.
46789 * iconvdata/testdata/CP772: New file.
46790 * iconvdata/testdata/CP772..UTF8: New file.
46791 * iconvdata/testdata/CP773: New file.
46792 * iconvdata/testdata/CP773..UTF8: New file.
46793 * iconvdata/testdata/CP774: New file.
46794 * iconvdata/testdata/CP774..UTF8: New file.
46795
46796 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
46797 END CHARMAP line.
46798 * iconvdata/gen-8bit-gap.sh: Likewise.
46799 * iconvdata/gen-8bit.sh: Likewise.
46800
c1e9e399
UD
46801 * locale/iso-639.def: Add ary entry.
46802
24c55fb3 46803 [BZ #11258]
96b4b1b0
UD
46804 * locale/C-translit.h.in: Add U20A1 transliteration.
46805
bdc2f971
KB
46806 [BZ #12178]
46807 * locale/iso-639.def: Add wae entry.
46808 Patch by Kevin Bortis <bortis@translate-wae.ch>.
46809
2952b117
UD
46810 [BZ #12545]
46811 * locale/programs/localedef.c (construct_output_path): Use ssize_t
46812 for n.
46813
2a81eaa5
UD
46814 [BZ #12711]
46815 * locale/C-translit.h.in: Add entry for U20B9.
46816 Patch by pravin.d.s@gmail.com.
46817
28377d1b
UD
468182011-05-08 Ulrich Drepper <drepper@gmail.com>
46819
7fb90fb8
UD
46820 [BZ #12713]
46821 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
46822 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
46823 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
46824 in rtld. Use *stat64.
7fb90fb8 46825 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 46826 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 46827 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
46828 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
46829 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
46830 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
46831 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
46832 __fstatat64 macros.
7fb90fb8
UD
46833 * include/dirent.h: Add libc_hidden_proto for rewinddir.
46834 * dirent/rewinddir.c: Add libc_hidden_def.
46835 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 46836 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 46837
28377d1b
UD
46838 * include/dirent.h (__alloc_dir): Add flags parameter.
46839 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
46840 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
46841 __alloc_dir.
46842 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
46843 from fdopendir if O_CLOEXEC is already set.
46844
66bdbaa4
AM
468452011-03-15 Alan Modra <amodra@gmail.com>
46846
46847 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
46848 l_tls_firstbyte_offset non-zero. Save padding offset in
46849 l_tls_firstbyte_offset for later use.
46850 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
46851 freeing static tls block.
46852
95721191
JN
468532011-03-05 Jonathan Nieder <jrnieder@gmail.com>
46854
46855 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
46856 where #ifdef was intended. The intent is to prevent ARG_MAX from
46857 being defined by the kernel headers.
46858
f87dfb1f
UD
468592011-05-07 Ulrich Drepper <drepper@gmail.com>
46860
46861 [BZ #12734]
46862 * resolv/resolv.h: Define RES_NOTLDQUERY.
46863 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
46864 no-tld-query and set RES_NOTLDQUERY.
46865 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
46866 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
46867 modern BIND to search name as TLD unless forbidden.
46868
47c3cd7a
UD
468692011-05-07 Petr Baudis <pasky@suse.cz>
46870 Ulrich Drepper <drepper@gmail.com>
46871
46872 [BZ #12393]
46873 * elf/dl-load.c (fillin_rpath): Move trusted path check...
46874 (is_trusted_path): ...to here.
c1e9ea35 46875 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 46876 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 46877 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 46878
8a35c912
PP
468792011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46880
46881 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
46882 __BEGIN/__END_DECLS.
46883
acd41f47
UD
468842011-05-06 Ulrich Drepper <drepper@gmail.com>
46885
46886 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
46887 NSS_STATUS_NOTFOUND if no record was found.
46888
597df647
AS
468892011-05-05 Andreas Schwab <schwab@redhat.com>
46890
46891 * sunrpc/Makefile (headers): Add rpc/netdb.h.
46892 (headers-not-in-tirpc): Remove rpc/netdb.h
46893 * resolv/netdb.h: Revert last change.
46894
b9af1301
PP
468952011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
46896
46897 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
46898 circular dependency between libgcc.a and libc.a.
46899
4e34d5f5
AS
469002011-05-05 Andreas Schwab <schwab@redhat.com>
46901
46902 * resolv/netdb.h: Don't include <rpc/netdb.h>.
46903 * nis/Makefile: Don't install rpcsvc/*.
46904 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
46905 instead of <rpc/types.h>.
46906 (MAXHOSTNAMELEN): Define.
46907
00ee369c
AS
469082011-05-03 Andreas Schwab <schwab@redhat.com>
46909
46910 * elf/ldconfig.c (add_dir): Don't crash on empty path.
46911
0b592a30
MB
469122011-04-28 Maciej Babinski <mbabinski@google.com>
46913
46914 [BZ #12714]
46915 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
46916 gethostbyname4_r when IPv6 results are possible.
46917
6e04cbbe
UD
469182011-05-02 Ulrich Drepper <drepper@gmail.com>
46919
46920 [BZ #12723]
46921 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
46922 _PC_PIPE_BUF handling.
46923
e4ecafe0
BH
469242011-04-30 Bruno Haible <bruno@clisp.org>
46925
46926 [BZ #12717]
46927 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
46928 * resolv/netdb.h (getnameinfo): Change type of flags parameter
46929 to 'int'.
46930 * inet/getnameinfo.c (getnameinfo): Likewise.
46931
125ee683
UD
469322011-04-29 Ulrich Drepper <drepper@gmail.com>
46933
46934 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
46935 to groups setting in database lookup.
46936 * nss/nsswitch.conf: Add initgroups entry.
46937
b722481a
EB
469382011-04-22 Ulrich Drepper <drepper@gmail.com>
46939
46940 [BZ #12685]
46941 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
46942 mode string.
46943 Patch by Eric Blake <eblake@redhat.com>.
46944
4df46dbd
L
469452011-04-20 H.J. Lu <hongjiu.lu@intel.com>
46946
46947 * sunrpc/Makefile (need-export-routines): Add svc_run.
46948 (routines): Remove svc_run.
46949 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
46950 * sunrpc/clnt_perr.c (clnt_perrno): Export.
46951 * sunrpc/svc_run.c (svc_run): Likewise.
46952 * sunrpc/svc_udp.c (svcudp_create): Likewise.
46953
e84142d2
UD
469542011-04-21 Ulrich Drepper <drepper@gmail.com>
46955
46956 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
46957 problem in reallocation in last patch.
46958
877175d8
UD
469592011-04-20 Ulrich Drepper <drepper@gmail.com>
46960
46961 * sunrpc/Makefile: Move inclusion of Rules.
46962
ab8eed78
UD
469632011-04-19 Ulrich Drepper <drepper@gmail.com>
46964
46965 * nss/nss_files/files-initgroups.c: New file.
46966 * nss/Makefile (libnss_files-routines): Add files-initgroups.
46967 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
46968 _nss_files_initgroups_dyn.
46969
e3d8f584
RS
469702011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
46971
46972 * elf/elf.h (R_ARM_IRELATIVE): Define.
46973
af190f45
UD
469742011-04-19 Ulrich Drepper <drepper@gmail.com>
46975
46976 * po/ru.po: Update from translation team.
46977
53cf59ef
UD
469782011-04-17 Ulrich Drepper <drepper@gmail.com>
46979
46980 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
46981 dependencies.
46982
4c559bcd
MF
469832011-02-06 Mike Frysinger <vapier@gentoo.org>
46984
46985 [BZ #12653]
46986 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
46987 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
46988 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46989 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46990 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46991
4420675c
AS
469922011-03-28 Andreas Schwab <schwab@linux-m68k.org>
46993
46994 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
46995 differing bytes.
46996 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46997 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46998 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46999
75ea32ab
UD
470002011-04-17 Ulrich Drepper <drepper@gmail.com>
47001
47002 [BZ #12420]
47003 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
47004 storing it.
47005 * stdlib/bug-getcontext.c: New file.
47006 * stdlib/Makefile: Add rules to build and run bug-getcontext.
47007
27390476
AK
470082011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47009
47010 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
47011 instructions into .machine "z9-109".
47012 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
47013 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
47014
10442705
AK
470152011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47016
47017 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
47018 between environment variables and auxiliary vector.
47019
7b57bfe5
UD
470202011-04-16 Ulrich Drepper <drepper@gmail.com>
47021
47022 * Makefile: Add rules to build linkobj/libc.so.
47023 * include/libc-symbols.h: Define libc_hidden_nolink.
47024 * include/rpc/auth.h: Mark functions which are to be hidden.
47025 * include/rpc/auth_des.h: Likewise.
47026 * include/rpc/auth_unix.h: Likewise.
47027 * include/rpc/clnt.h: Likewise.
47028 * include/rpc/des_crypt.h: Likewise.
47029 * include/rpc/key_prot.h: Likewise.
47030 * include/rpc/pmap_clnt.h: Likewise.
47031 * include/rpc/pmap_prot.h: Likewise.
47032 * include/rpc/pmap_rmt.h: Likewise.
47033 * include/rpc/rpc_msg.h: Likewise.
47034 * include/rpc/svc.h: Likewise.
47035 * include/rpc/svc_auth.h: Likewise.
47036 * include/rpc/xdr.h: Likewise.
47037 * nis/Makefile: Link all DSOs against linkobj/libc.so.
47038 * nss/Makefile: Likewise.
47039 * sunrpc/Makefile: Don't install headers. Build library with normal
47040 entry points. Don't build rpcinfo. Link RPC tests appropriately.
47041 * sunrpc/auth_des.c: Hide exported symbols by default, export some
47042 for the compat linking library. Remove use of INTDEF/INTUSE.
47043 * sunrpc/auth_none.c: Likewise.
47044 * sunrpc/auth_unix.c: Likewise.
47045 * sunrpc/authdes_prot.c: Likewise.
47046 * sunrpc/authuxprot.c: Likewise.
47047 * sunrpc/clnt_gen.c: Likewise.
47048 * sunrpc/clnt_perr.c: Likewise.
47049 * sunrpc/clnt_raw.c: Likewise.
47050 * sunrpc/clnt_simp.c: Likewise.
47051 * sunrpc/clnt_tcp.c: Likewise.
47052 * sunrpc/clnt_udp.c: Likewise.
47053 * sunrpc/clnt_unix.c: Likewise.
47054 * sunrpc/des_crypt.c: Likewise.
47055 * sunrpc/des_soft.c: Likewise.
47056 * sunrpc/get_myaddr.c: Likewise.
47057 * sunrpc/key_call.c: Likewise.
47058 * sunrpc/key_prot.c: Likewise.
47059 * sunrpc/netname.c: Likewise.
47060 * sunrpc/pm_getmaps.c: Likewise.
47061 * sunrpc/pm_getport.c: Likewise.
47062 * sunrpc/pmap_clnt.c: Likewise.
47063 * sunrpc/pmap_prot.c: Likewise.
47064 * sunrpc/pmap_prot2.c: Likewise.
47065 * sunrpc/pmap_rmt.c: Likewise.
47066 * sunrpc/publickey.c: Likewise.
47067 * sunrpc/rpc_cmsg.c: Likewise.
47068 * sunrpc/rpc_common.c: Likewise.
47069 * sunrpc/rpc_dtable.c: Likewise.
47070 * sunrpc/rpc_prot.c: Likewise.
47071 * sunrpc/rpc_thread.c: Likewise.
47072 * sunrpc/rtime.c: Likewise.
47073 * sunrpc/svc.c: Likewise.
47074 * sunrpc/svc_auth.c: Likewise.
47075 * sunrpc/svc_authux.c: Likewise.
47076 * sunrpc/svc_raw.c: Likewise.
47077 * sunrpc/svc_run.c: Likewise.
47078 * sunrpc/svc_simple.c: Likewise.
47079 * sunrpc/svc_tcp.c: Likewise.
47080 * sunrpc/svc_udp.c: Likewise.
47081 * sunrpc/svc_unix.c: Likewise.
47082 * sunrpc/svcauth_des.c: Likewise.
47083 * sunrpc/xcrypt.c: Likewise.
47084 * sunrpc/xdr.c: Likewise.
47085 * sunrpc/xdr_array.c: Likewise.
47086 * sunrpc/xdr_float.c: Likewise.
47087 * sunrpc/xdr_intXX_t.c: Likewise.
47088 * sunrpc/xdr_mem.c: Likewise.
47089 * sunrpc/xdr_rec.c: Likewise.
47090 * sunrpc/xdr_ref.c: Likewise.
47091 * sunrpc/xdr_sizeof.c: Likewise.
47092 * sunrpc/xdr_stdio.c: Likewise.
47093
e6c61494
UD
470942011-04-10 Ulrich Drepper <drepper@gmail.com>
47095
47096 [BZ #12650]
47097 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
47098 * sysdeps/ia64/dl-tls.h: Likewise.
47099 * sysdeps/powerpc/dl-tls.h: Likewise.
47100 * sysdeps/s390/dl-tls.h: Likewise.
47101 * sysdeps/sh/dl-tls.h: Likewise.
47102 * sysdeps/sparc/dl-tls.h: Likewise.
47103 * sysdeps/x86_64/dl-tls.h: Likewise.
47104 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
47105
34fe483e
AS
471062011-03-14 Andreas Schwab <schwab@redhat.com>
47107
47108 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
47109 rpath element also skip the following colon.
47110 (expand_dynamic_string_token): Add is_path parameter and pass
47111 down to DL_DST_REQUIRED and _dl_dst_substitute.
47112 (decompose_rpath): Call expand_dynamic_string_token with
47113 non-zero is_path. Ignore empty rpaths.
47114 (_dl_map_object_from_fd): Call expand_dynamic_string_token
47115 with zero is_path.
47116
f12a32e6
AS
471172011-04-08 Andreas Schwab <schwab@linux-m68k.org>
47118
47119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
47120 Make cancelable.
47121
38a7d692
UD
471222011-04-09 Ulrich Drepper <drepper@gmail.com>
47123
47124 [BZ #12655]
47125 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
47126 Patch by Filipe David Manana <fdmanana@apache.org>.
47127
e451d22b
AS
471282011-04-07 Andreas Schwab <schwab@redhat.com>
47129
47130 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
47131 Maintain aligned stack.
47132 (CHECK_RSP): Remove unused macro.
47133
dedc7c7b
UD
471342011-04-03 Ulrich Drepper <drepper@gmail.com>
47135
47136 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
47137 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
47138
94521213
UD
471392011-04-02 Ulrich Drepper <drepper@gmail.com>
47140
47141 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
47142
8cb700c0 47143 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 47144
0354e355
L
471452011-03-26 H.J. Lu <hongjiu.lu@intel.com>
47146
47147 [BZ #12518]
47148 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
47149 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
47150 * sysdeps/x86_64/memmove.c: New file.
47151 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
47152 (memcpy): Renamed to ...
47153 (__new_memcpy): This.
47154 (memcpy): Provide GLIBC_2_14 memcpy.
47155 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
47156 (memcpy): Provide GLIBC_2_2_5 memcpy.
47157
8593482f
UD
471582011-04-01 Ulrich Drepper <drepper@gmail.com>
47159
47160 [BZ #12631]
47161 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
47162
81a5726b
AS
471632011-03-30 Andreas Schwab <schwab@redhat.com>
47164
47165 * misc/syncfs.c: New file.
47166 * misc/Makefile (routines): Add syncfs.
47167 * posix/unistd.h: Declare syncfs.
47168 * sysdeps/unix/syscalls.list: Add syncfs.
47169
00e5419f
AS
471702011-04-01 Andreas Schwab <schwab@redhat.com>
47171
47172 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
47173 open_by_handle_at.
47174 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47175 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47176 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47177 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47178 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47179 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
47180 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47181
748876bf
UD
471822011-04-01 Ulrich Drepper <drepper@gmail.com>
47183
658e451d
UD
47184 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
47185 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47186 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
47187 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47188 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47189 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47190 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47191
748876bf
UD
47192 * io/Makefile: Compile fallocate.c, fallocate64.c, and
47193 sync_file_range.c with -fexceptions.
47194 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
47195 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
47196 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
47197 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
47198 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
47199 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47200 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
47201 sync_file_range as cancellation point
47202 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
47203 now a wrapper around __call_sync_file_range with cancellation handling.
47204 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
47205 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
47206 function name to __call_sync_file_range.
47207 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
47208 Add call_sync_file_range.
748876bf 47209
6e63d5e1
AS
472102011-04-01 Andreas Schwab <schwab@redhat.com>
47211
47212 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 47213 bits/timex.h.
6e63d5e1 47214
46998f74
UD
472152011-04-01 Ulrich Drepper <drepper@gmail.com>
47216
4c1423ed
UD
47217 * iconv/iconv.h: Fix typo in comment.
47218 * io/fcntl.h: Likewise.
47219 * libio/stdio.h: Likewise.
47220 * posix/spawn.h: Likewise.
47221 * posix/unistd.h: Likewise.
47222 * stdlib/stdlib.h: Likewise.
47223 * time/time.h: Likewise.
47224 * wcsmbs/wchar.h: Likewise.
47225
158648c0
UD
47226 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
47227 open_by_handle): Add.
47228 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
47229 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
47230 Augment a few comments.
47231 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47232 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47233 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47234 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47235 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47236 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
47237 open_by_handle.
47238
46998f74
UD
47239 * io/fcntl.h (AT_EMPTY_PATH): Define.
47240
83fe108b
UD
472412011-03-30 Ulrich Drepper <drepper@gmail.com>
47242
47243 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
47244 * sysdeps/unix/sysv/linux/bits/time.h: New file.
47245 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
47246 to...
47247 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
47248 * Versions.def: Add GLIBC_2.14.
47249 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
47250 Export.
83fe108b 47251
bb242059
UD
472522011-03-22 Ulrich Drepper <drepper@gmail.com>
47253
47254 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
47255 round counter.
47256 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47257
c97a1282
L
472582011-03-20 H.J. Lu <hongjiu.lu@intel.com>
47259
47260 [BZ #12597]
47261 * string/test-strncmp.c (do_page_test): New function.
47262 (check2): Likewise.
47263 (test_main): Call check2.
47264 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
47265
2a115601
UD
472662011-03-20 Ulrich Drepper <drepper@gmail.com>
47267
47268 [BZ #12587]
47269 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
47270 Handle cache information in CPU leaf 4.
47271 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47272
8126d904
UD
472732011-03-18 Ulrich Drepper <drepper@gmail.com>
47274
042c49c6 47275 [BZ #12583]
8126d904
UD
47276 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
47277 character representation.
47278 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
47279
ccfe366e
RA
472802011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
47281
47282 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
47283 END(__isnan) to END(__isnanf) to match function entry point/label
47284 EALIGN(__isnanf,...).
47285
c6e13027
JJ
472862011-03-10 Jakub Jelinek <jakub@redhat.com>
47287
47288 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
47289
33f85a3f
UD
472902011-03-10 Ulrich Drepper <drepper@gmail.com>
47291
028478fa
UD
47292 [BZ #12510]
47293 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
47294 copy from the symbol referenced in the relocation to initialize the
47295 used variable.
47296 Patch by Piotr Bury <pbury@goahead.com>.
47297 * elf/Makefile: Add rules to build and tst-unique3.
47298 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
47299 * elf/tst-unique3.cc: New file.
47300 * elf/tst-unique3.h: New file.
47301 * elf/tst-unique3lib.cc: New file.
47302 * elf/tst-unique3lib2.cc: New file.
47303
33f85a3f
UD
47304 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
47305
03592fc7
MF
473062011-03-10 Mike Frysinger <vapier@gentoo.org>
47307
47308 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
47309 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
47310 to _start.
03592fc7 47311
6a5ee102
UD
473122011-03-06 Ulrich Drepper <drepper@gmail.com>
47313
47314 * elf/dl-load.c (_dl_map_object): If we are looking for the first
47315 to-be-loaded object along a path to loader is ld.so.
47316
7e4ba49c
HJ
473172011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47318 Ulrich Drepper <drepper@gmail.com>
47319
47320 * sysdeps/x86_64/memset.S: After aligning destination, code
47321 branches to different locations depending on the value of
47322 misalignment, when multiarch is enabled. Fix this.
47323
473242011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47325
47326 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
47327 Set _x86_64_preferred_memory_instruction for AMD processsors.
47328 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47329 Set bit_Prefer_SSE_for_memop for AMD processors.
47330
13a804de
UD
473312011-03-04 Ulrich Drepper <drepper@gmail.com>
47332
47333 * libio/fmemopen.c (fmemopen): Optimize a bit.
47334
9d25c392
AS
473352011-03-03 Andreas Schwab <schwab@redhat.com>
47336
47337 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
47338
a5543c6a
RM
473392011-03-03 Roland McGrath <roland@redhat.com>
47340
47341 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
47342
012d35f7
DM
473432011-02-28 Aurelien Jarno <aurelien@aurel32.net>
47344
7e4ba49c 47345 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
47346 __bzero_ultra1 instead of __memset_ultra1.
47347
4bff6e01
AS
473482011-02-23 Andreas Schwab <schwab@redhat.com>
47349 Ulrich Drepper <drepper@gmail.com>
47350
47351 [BZ #12509]
47352 * include/link.h (struct link_map): Add l_orig_initfini.
47353 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
47354 returning unsuccessfully.
47355 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
47356 close of a file loaded at startup, restore the original l_initfini
47357 list.
47358 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
47359 list, store the pointer.
47360 * elf/Makefile ($(objpfx)noload-mem): New rule.
47361 (noload-ENV): Define.
47362 (tests): Add $(objpfx)noload-mem.
47363 * elf/noload.c: Include <memcheck.h>.
47364 (main): Call mtrace. Close all opened handles.
47365
f2092faf
AS
473662011-02-17 Andreas Schwab <schwab@redhat.com>
47367
47368 [BZ #12454]
47369 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
47370 dependencies are missing.
47371
6c8a2e88
ST
473722011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
47373
f2092faf 47374 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
47375 Hurd needs munmap.
47376 * sysdeps/mach/hurd/ifreq.h: New file.
47377
84a42118
PB
473782011-01-27 Petr Baudis <pasky@suse.cz>
47379 Ulrich Drepper <drepper@gmail.com>
47380
071f805e 47381 [BZ 12445]#
84a42118
PB
47382 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
47383 to extend_alloca().
47384 * stdio-common/bug23.c: New file.
47385 * stdio-common/Makefile (tests): Add bug23.
47386
e23fe25b
AS
473872010-09-28 Andreas Schwab <schwab@redhat.com>
47388 Ulrich Drepper <drepper@gmail.com>
47389
47390 [BZ #12489]
47391 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
47392 before performing relro protection. At old place add assertion
47393 to make sure nothing changed.
47394
d3f02e10
NS
473952011-02-17 Nathan Sidwell <nathan@codesourcery.com>
47396 Glauber de Oliveira Costa <glommer@gmail.com>
47397
47398 * elf/elf.h: Add new ARM TLS relocs.
47399
d55fd7a5
RA
474002011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
47401
47402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
47403 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
47404 cast from r3.
47405 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
47406 'tests' variable.
47407 * sysdeps/wordsize-64/tst-writev.c: New file.
47408
2206397e
RA
474092011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
47410
47411 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
47412 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
47413 insns in _dl_start to prevent a TOC reference before relocs are
47414 resolved.
47415
e9433893
UD
474162011-02-15 Ulrich Drepper <drepper@gmail.com>
47417
47418 [BZ #12469]
47419 * Makeconfig: Remove RANLIB definition.
47420 * Makerules: Don't use RANLIB.
47421 * aclocal.m4: Remove ranlib test.
47422 * configure.in: No need to check for ranlib.
47423 * elf/rtld-Rules: Don't use RANLIB.
47424
f75286c6
ST
474252011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
47426
8e31c82d
ST
47427 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
47428 protection macro.
47429 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
47430 inclusion protection macro.
47431
f75286c6
ST
47432 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
47433 SIGRTMIN and SIGRTMAX and print information in that case only when
47434 SIGRTMIN is defined.
47435
c1d0e639
JJ
474362011-02-11 Jakub Jelinek <jakub@redhat.com>
47437
47438 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
47439 arginfo fn returning -1.
47440
47441 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
47442 and thousands string is zero terminated.
47443
edf9294e
AS
474442011-02-03 Andreas Schwab <schwab@redhat.com>
47445
47446 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
47447 sysdeps/unix/sysv/linux/bits/socket.h.
47448
2b7e92df
ST
474492011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
47450
edf9294e
AS
47451 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
47452 (__CPU_COUNT): Remove old macros.
47453 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
47454 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
47455 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
47456 (__sched_cpualloc, __sched_cpufree): Add declarations.
47457
a4c7ea7b
UD
474582011-02-05 Ulrich Drepper <drepper@gmail.com>
47459
47460 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
47461 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
47462 * nscd/aicache.c (addhstaiX): Return timeout of added value.
47463 (readdhstai): Return value of addhstaiX call.
47464 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
47465 (addgrbyX): Return value returned by cache_addgr.
47466 (readdgrbyname): Return value returned by addgrbyX.
47467 (readdgrbygid): Likewise.
47468 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
47469 (addpwbyX): Return value returned by cache_addpw.
47470 (readdpwbyname): Return value returned by addhstbyX.
47471 (readdpwbyuid): Likewise.
47472 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
47473 (addservbyX): Return value returned by cache_addserv.
47474 (readdservbyname): Return value returned by addservbyX:
47475 (readdservbyport): Likewise.
47476 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
47477 (addhstbyX): Return value returned by cache_addhst.
47478 (readdhstbyname): Return value returned by addhstbyX.
47479 (readdhstbyaddr): Likewise.
47480 (readdhstbynamev6): Likewise.
47481 (readdhstbyaddrv6): Likewise.
47482 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
47483 (readdinitgroups): Return value returned by addinitgroupsX.
47484 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
47485 (prune_cache): Keep track of timeout value of re-added entries.
47486 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
47487 * nscd/nscd.h: Adjust prototypes of readd* functions.
47488
a0bf67cc
RM
474892011-02-04 Roland McGrath <roland@redhat.com>
47490
47491 * nis/nis_server.c (nis_servstate): Use the right name for 0.
47492 (nis_stats): Likewise.
47493 * nis/nis_modify.c (nis_modify): Likewise.
47494 * nis/nis_remove.c (nis_remove): Likewise.
47495 * nis/nis_add.c (nis_add): Likewise.
47496
47497 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
47498
47499 * posix/fnmatch_loop.c: Add some consts.
47500
47501 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
47502
435b95eb
L
475032011-02-02 H.J. Lu <hongjiu.lu@intel.com>
47504
47505 [BZ #12460]
47506 * config.make.in (config-cflags-novzeroupper): Define.
47507 * configure.in: Substitute libc_cv_cc_novzeroupper.
47508 * elf/Makefile (AVX-CFLAGS): Define.
47509 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
47510 (CFLAGS-tst-auditmod4a.c): Likewise.
47511 (CFLAGS-tst-auditmod4b.c): Likewise.
47512 (CFLAGS-tst-auditmod6b.c): Likewise.
47513 (CFLAGS-tst-auditmod6c.c): Likewise.
47514 (CFLAGS-tst-auditmod7b.c): Likewise.
47515 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
47516
8517b15e
UD
475172011-02-02 Ulrich Drepper <drepper@gmail.com>
47518
47519 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
47520 function to the callback.
47521 Patch partly by Jiri Olsa <jolsa@redhat.com>.
47522
10a656fe
AS
475232011-02-02 Andreas Schwab <schwab@redhat.com>
47524
47525 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
47526 of errno.
47527
968dad0a
UD
475282011-01-19 Ulrich Drepper <drepper@gmail.com>
47529
9f94d2ea 47530 [BZ #11724]
968dad0a
UD
47531 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
47532 of constructors.
47533 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
47534 of destructors.
47535 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
47536
47537 [BZ #11724]
47538 * elf/Makefile: Add rules to build and run new test.
47539 * elf/tst-initorder.c: New file.
47540 * elf/tst-initorder.exp: New file.
47541 * elf/tst-initordera1.c: New file.
47542 * elf/tst-initordera2.c: New file.
47543 * elf/tst-initordera3.c: New file.
47544 * elf/tst-initordera4.c: New file.
47545 * elf/tst-initorderb1.c: New file.
47546 * elf/tst-initorderb2.c: New file.
47547 * elf/tst-order-a1.c: New file.
47548 * elf/tst-order-a2.c: New file.
47549 * elf/tst-order-a3.c: New file.
47550 * elf/tst-order-a4.c: New file.
47551 * elf/tst-order-b1.c: New file.
47552 * elf/tst-order-b2.c: New file.
47553 * elf/tst-order-main.c: New file.
47554 New test case by George Gensure <werkt0@gmail.com>.
47555
86e92359
UD
475562010-10-01 Andreas Schwab <schwab@redhat.com>
47557
47558 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47559 decoding ACE if AI_CANONIDN.
47560
5d5732b0
UD
475612011-01-18 Ulrich Drepper <drepper@gmail.com>
47562
47563 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
47564
a77e8cbc
UD
475652011-01-17 Ulrich Drepper <drepper@gmail.com>
47566
6392473f
UD
47567 * version.h (RELEASE): Bump for 2.13 release.
47568 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
47569
620a0529
UD
47570 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
47571
18ba70a5
UD
47572 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
47573 MADV_NOHUGEPAGE.
32465c3e
UD
47574 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
47575 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
47576 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47577 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47578 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47579 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47580
c0dafcf1
UD
47581 * posix/getconf.c: Update copyright year.
47582 * catgets/gencat.c: Likewise.
47583 * csu/version.c: Likewise.
47584 * debug/catchsegv.sh: Likewise.
47585 * debug/xtrace.sh: Likewise.
47586 * elf/ldconfig.c: Likewise.
47587 * elf/ldd.bash.in: Likewise.
47588 * elf/sprof.c (print_version): Likewise.
47589 * iconv/iconv_prog.c: Likewise.
47590 * iconv/iconvconfig.c: Likewise.
47591 * locale/programs/locale.c: Likewise.
47592 * locale/programs/localedef.c: Likewise.
47593 * malloc/memusage.sh: Likewise.
47594 * malloc/mtrace.pl: Likewise.
47595 * nscd/nscd.c (print_version): Likewise.
47596 * nss/getent.c: Likewise.
47597
a77e8cbc
UD
47598 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
47599 PF_CAIF, and PF_ALG.
47600 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47601
77e8bddf
AS
476022011-01-16 Andreas Schwab <schwab@linux-m68k.org>
47603
1f20b93a
AS
47604 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
47605 (modules-names): Use them.
47606 (ifunc-test-modules, ifunc-pie-tests): Define.
47607 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
47608 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
47609 (test-extras): Likewise.
47610 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
47611 $(compile-command.c).
47612 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
47613 (all-built-dso): Define.
47614 (check-textrel.out, check-execstack.out): Depend on it.
47615
77e8bddf
AS
47616 * configure.in: Don't override --enable-multi-arch.
47617
bc425b33
UD
476182011-01-15 Ulrich Drepper <drepper@gmail.com>
47619
47620 [BZ #6812]
47621 * nscd/hstcache.c (tryagain): Define.
47622 (cache_addhst): Return tryagain not notfound for temporary errors.
47623 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
47624 failed.
47625
794c3ad3
UD
476262011-01-14 Ulrich Drepper <drepper@gmail.com>
47627
70181fdd
UD
47628 [BZ #10563]
47629 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
47630 to make the syscall.
47631 * sysdeps/unix/sysv/linux/setgroups.c: New file.
47632
794c3ad3
UD
47633 [BZ #12378]
47634 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
47635 and fall back to matching as normal character if the string ends before
47636 the matching ']' is found. This is what POSIX requires.
47637 * posix/testfnm.c: Adjust test result.
47638 * posix/globtest.sh: Adjust test result. Add new test.
47639 * posix/tst-fnmatch.input: Likewise.
47640 * posix/tst-fnmatch2.c: Add new test.
47641
68dc9497
AS
476422010-12-28 Andreas Schwab <schwab@linux-m68k.org>
47643
47644 * elf/Makefile (check-execstack): Revert last change. Depend on
47645 check-execstack.h.
47646 (check-execstack.h): New target.
47647 (generated): Add check-execstack.h.
47648 * elf/check-execstack.c: Include "check-execstack.h".
47649 (main): Revert last change.
47650 (handle_file): Return zero if GNU_STACK is absent and
47651 DEFAULT_STACK_PERMS doesn't include PF_X.
47652
451f001b
UD
476532011-01-13 Ulrich Drepper <drepper@gmail.com>
47654
cfa28e56
UD
47655 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
47656 in child fails because the descriptor is already closed.
8cf8ce17
UD
47657 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
47658 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
47659 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 47660
1086d70d
UD
47661 [BZ #12397]
47662 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
47663 syscall.
47664
451f001b
UD
47665 [BZ #10484]
47666 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
47667 temporary buffer used to handle multi lookups locally.
a85b5cb4 47668 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 47669
08769175
UD
476702011-01-12 Ulrich Drepper <drepper@gmail.com>
47671
47672 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
47673 loader is ld.so.
47674
5e49c52e
UD
476752011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
47676
47677 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
47678 alignment for SSE2.
47679
60522a5f
UD
476802011-01-12 Ulrich Drepper <drepper@gmail.com>
47681
47682 [BZ #12394]
47683 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
47684 characters. When rounding increased number of integer digits recompute
47685 number of groups.
47686 * stdio-common/tst-grouping.c: New file.
47687 * stdio-common/Makefile: Add rules to build and run tst-grouping.
47688
f257bbd7
UD
476892011-01-09 Ulrich Drepper <drepper@gmail.com>
47690
47691 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
47692 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
47693
47694 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
47695 void.
47696 * bits/select.h: Likewise.
47697
fa9c15cb
UD
476982011-01-08 Ulrich Drepper <drepper@gmail.com>
47699
47700 * po/ja.po: Update from translation team.
47701
16c2895f
DM
477022011-01-04 David S. Miller <davem@sunset.davemloft.net>
47703
47704 [BZ #11155]
47705 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
47706 implementation just like for lxstat, fxstatat, et al.
47707
2543fef2
JM
477082010-12-27 Jim Meyering <meyering@redhat.com>
47709
47710 [BZ #12348]
47711 * posix/regexec.c (build_trtable): Return failure indication upon
47712 calloc failure. Otherwise, re_search_internal could infloop on OOM.
47713
98727dbe
UD
477142010-12-25 Ulrich Drepper <drepper@gmail.com>
47715
5bd6dc5c
UD
47716 [BZ #12201]
47717 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
47718 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
47719 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
47720 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
47721
97983464
UD
47722 [BZ #12207]
47723 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
47724
98727dbe
UD
47725 [BZ #12204]
47726 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
47727 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
47728
4a531bb0
L
477292010-12-15 H.J. Lu <hongjiu.lu@intel.com>
47730
47731 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
47732 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
47733 script has SORT_BY_INIT_PRIORITY.
47734 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
47735 NO_CTORS_DTORS_SECTIONS is defined.
47736 * elf/soinit.c: Likewise.
47737 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
47738 NO_CTORS_DTORS_SECTIONS is defined.
47739 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
47740 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
47741 * sysdeps/sh/init-first.c: Likewise.
47742 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
47743
07eb4b71
UD
477442010-12-24 Ulrich Drepper <drepper@gmail.com>
47745
47746 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
47747 always use the slow path.
47748
30950a5f
RA
477492010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
47750
47751 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
47752 similar rule which adds the sysdep directories to the header search in
47753 order to pick up the correct platform stackinfo.h.
47754 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
47755 perform test if it is, otherwise return successfully without testing.
47756 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
47757 DEFAULT_STACK_PERMS define in stackinfo.h.
47758 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
47759 defined in stackinfo.h.
47760 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
47761 DEFAULT_STACK_PERMS defined in stackinfo.h.
47762 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
47763 * sysdeps/ia64/stackinfo.h: Likewise.
47764 * sysdeps/s390/stackinfo.h: Likewise.
47765 * sysdeps/sh/stackinfo.h: Likewise.
47766 * sysdeps/sparc/stackinfo.h: Likewise.
47767 * sysdeps/x86_64/stackinfo.h: Likewise.
47768 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
47769 PF_X for powerpc64. Retain PF_X for powerpc32.
47770
db753e2c
UD
477712010-12-19 Ulrich Drepper <drepper@gmail.com>
47772
14b697f7
UD
47773 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
47774 accurately.
db753e2c
UD
47775 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
47776 GETDENTS_64BIT_ALIGNED.
47777
28300719
UD
477782010-12-14 Ulrich Drepper <dreper@gmail.com>
47779
14b697f7 47780 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 47781
4f197237
AS
477822010-12-10 Andreas Schwab <schwab@redhat.com>
47783
dbb0472f
AS
47784 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
47785 _GNU_SOURCE.
47786
4f197237
AS
47787 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
47788 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
47789 Remove __restrict.
47790 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
47791 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
47792
fb88ac72
UD
477932010-12-09 Ulrich Drepper <drepper@gmail.com>
47794
47795 [BZ #11655]
47796 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
47797 are initialized.
47798
42acbb92
JJ
477992010-12-09 Jakub Jelinek <jakub@redhat.com>
47800
47801 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
47802
c038d98d
UD
478032010-12-03 Ulrich Drepper <drepper@gmail.com>
47804
47805 * po/it.po: Update from translation team.
47806
3a4a2499
L
478072010-12-01 H.J. Lu <hongjiu.lu@intel.com>
47808
47809 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
47810 unused codes.
47811
1e24cf6e
UD
478122010-11-30 Ulrich Drepper <drepper@gmail.com>
47813
47814 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
47815
a7690819
AS
478162010-11-24 Andreas Schwab <schwab@redhat.com>
47817
47818 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
47819 specially.
47820 (gaih_getanswer_slice): Likewise.
47821
3bf8d1b1
JJ
478222010-10-20 Jakub Jelinek <jakub@redhat.com>
47823
47824 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
47825
6db52fbb
PB
478262010-05-31 Petr Baudis <pasky@suse.cz>
47827
47828 [BZ #11149]
47829 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
47830 silently even in the chroot mode.
47831
eaca7569
UD
478322010-11-22 Ulrich Drepper <drepper@gmail.com>
47833
47834 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
47835 last patch a bit. Pretty printing
47836
3056dcdb
UD
478372010-05-31 Petr Baudis <pasky@suse.cz>
47838
47839 [BZ #10085]
47840 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
47841 initialization of skip_initgroups_dyn.
47842
cf7c9078
UD
478432010-11-19 Ulrich Drepper <drepper@gmail.com>
47844
47845 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
47846 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47847
a1fb5e3e
UD
478482010-11-16 Ulrich Drepper <drepper@gmail.com>
47849
47850 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
47851
3540d66b
AS
478522010-11-11 Andreas Schwab <schwab@redhat.com>
47853
47854 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
47855 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
47856 (tst-fnmatch-ENV): Set MALLOC_TRACE.
47857 ($(objpfx)tst-fnmatch-mem): New rule.
47858 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
47859 * posix/tst-fnmatch.c (main): Call mtrace.
47860
13b69574
L
478612010-11-11 H.J. Lu <hongjiu.lu@intel.com>
47862
47863 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47864 Support Intel processor model 6 and model 0x2c.
47865
da93d214
LM
478662010-11-10 Luis Machado <luisgpm@br.ibm.com>
47867
47868 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
47869 signed comparison.
47870
8ca52c6e
L
478712010-11-09 H.J. Lu <hongjiu.lu@intel.com>
47872
47873 [BZ #12205]
47874 * string/test-strncasecmp.c (check_result): New function.
47875 (do_one_test): Use it.
47876 (check1): New function.
47877 (test_main): Use it.
47878 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
47879 Support strcasecmp and strncasecmp.
47880
69da074d
UD
478812010-11-08 Ulrich Drepper <drepper@gmail.com>
47882
47883 [BZ #12194]
47884 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
47885 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47886
ff02d528
L
478872010-11-07 H.J. Lu <hongjiu.lu@intel.com>
47888
47889 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
47890 IFUNC support.
47891 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47892 memset-x86-64.
47893 * sysdeps/x86_64/multiarch/bzero.S: New file.
47894 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
47895 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
47896 * sysdeps/x86_64/multiarch/memset.S: New file.
47897 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
47898 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47899 Set bit_Prefer_SSE_for_memop for Intel processors.
47900 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
47901 Define.
47902 (index_Prefer_SSE_for_memop): Define.
47903 (HAS_PREFER_SSE_FOR_MEMOP): Define.
47904
344d0b54
LM
479052010-11-04 Luis Machado <luisgpm@br.ibm.com>
47906
47907 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
47908 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
47909
c0dde15b
UD
479102010-11-03 H.J. Lu <hongjiu.lu@intel.com>
47911
47912 [BZ #12191]
47913 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47914 (__x86_64_raw_data_cache_size_half): Likewise.
47915 (__x86_64_raw_shared_cache_size): Likewise.
47916 (__x86_64_raw_shared_cache_size_half): Likewise.
47917
47918 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47919 (__x86_64_raw_data_cache_size_half): Likewise.
47920 (__x86_64_raw_shared_cache_size): Likewise.
47921 (__x86_64_raw_shared_cache_size_half): Likewise.
47922 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
47923 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
47924 and __x86_64_raw_shared_cache_size_half. Round
47925 __x86_64_data_cache_size_half, __x86_64_data_cache_size
47926 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
47927 to multiple of 256 bytes.
47928
0e516e0e
MS
479292010-11-03 Ulrich Drepper <drepper@gmail.com>
47930
47931 [BZ #12167]
47932 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
47933 of inacessible symlinks. Verify result of symlink before returning it.
47934 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47935 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
47936
0e012e87
ER
479372010-10-28 Erich Ritz <erichritz@gmail.com>
47938
47939 * math/math.h (isinf): Fix typo in comment.
47940
de0ff7bc
UD
479412010-11-01 Ulrich Drepper <drepper@gmail.com>
47942
47943 * po/da.po: Update from translation team.
47944
fa41c84d
UD
479452010-10-26 Ulrich Drepper <drepper@gmail.com>
47946
47947 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
47948 is added to the list.
47949
f0967738
AK
479502010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47951 Ulrich Drepper <drepper@gmail.com>
47952
47953 * elf/dl-object.c (_dl_new_object): Don't append the new object to
47954 the global list here. Move code to...
47955 (_dl_add_to_namespace_list): ...here. New function.
47956 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
47957 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
47958 * elf/dl-load.c (lose): Don't remove the element from the list.
47959 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
47960 (_dl_map_object): Likewise.
47961
479622010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
47963
47964 [BZ #12159]
47965 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
47966 into all bytes of SSE register.
47967 Patch by Richard Li <richardpku@gmail.com>.
47968
f0967738 479692010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
47970
47971 [BZ #12140]
47972 * malloc/malloc.c (_int_free): Fill correct number of bytes when
47973 perturbing.
47974
d0b9e94f
MB
479752010-10-20 Michael B. Brutman <brutman@us.ibm.com>
47976
47977 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
47978 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
47979 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
47980 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
47982 submachine.
47983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
47984
8e9f92e9
AS
479852010-10-22 Andreas Schwab <schwab@redhat.com>
47986
47987 * include/dlfcn.h (__RTLD_SECURE): Define.
47988 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
47989 mode & __RTLD_SECURE instead.
47990 (open_path): Rename preloaded parameter to secure.
47991 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
47992 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
47993 * elf/dl-deps.c (openaux): Likewise.
47994 * elf/rtld.c (struct map_args): Remove is_preloaded.
47995 (map_doit): Don't use it.
47996 (dl_main): Likewise.
47997 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
47998 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
47999
bc96fbda
AS
480002010-09-09 Andreas Schwab <schwab@redhat.com>
48001
48002 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
48003 (sysd-rules-targets): Remove duplicates.
48004 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
48005 rtld-%.$o dependency.
48006
22cd1c9b
AS
480072010-10-18 Andreas Schwab <schwab@redhat.com>
48008
48009 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
48010 _dl_map_object do it.
48011
18edac48
UD
480122010-10-19 Ulrich Drepper <drepper@gmail.com>
48013
48014 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
48015 fast fma builtins, define the macros in the C99 standard.
48016 (FP_FAST_FMAF): Likewise.
48017 (FP_FAST_FMAL): Likewise.
48018 * sysdeps/x86_64/bits/mathdef.h: Likewise.
48019
48020 * bits/mathdef.h: Update copyright year.
48021 * sysdeps/powerpc/bits/mathdef.h: Likewise.
48022
d2050124
MM
480232010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
48024
48025 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
48026 builtins, define the macros in the C99 standard.
48027 (FP_FAST_FMAF): Likewise.
48028 (FP_FAST_FMAL): Likewise.
48029 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
48030 multiply/add.
48031 (FP_FAST_FMAF): Likewise.
48032
475facd1
JJ
480332010-10-15 Jakub Jelinek <jakub@redhat.com>
48034
48035 [BZ #3268]
48036 * math/libm-test.inc (fma_test): Some new testcases.
48037 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
48038 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
48039 y and infinite z. Do multiplication by C already in long double.
48040 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
48041 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
48042 y and infinite z. Do bitwise or of inexact bit into u.d.
48043 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
48044 * sysdeps/i386/fpu/s_fmaf.S: Removed.
48045 * sysdeps/i386/fpu/s_fma.S: Removed.
48046 * sysdeps/i386/fpu/s_fmal.S: Removed.
48047
7c08a05c
JJ
480482010-10-16 Jakub Jelinek <jakub@redhat.com>
48049
48050 [BZ #3268]
48051 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
48052 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
48053 computation is not scheduled after fetestexcept. Fix value
48054 of minimum denormal long double.
48055
f3f7372d
JJ
480562010-10-14 Jakub Jelinek <jakub@redhat.com>
48057
48058 [BZ #3268]
48059 * math/libm-test.inc (fma_test): Add some more tests.
48060 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
48061 correctly.
48062
14d43591
AS
480632010-10-15 Andreas Schwab <schwab@redhat.com>
48064
48065 * scripts/data/localplt-s390-linux-gnu.data: New file.
48066 * scripts/data/localplt-s390x-linux-gnu.data: New file.
48067
5e908464
JJ
480682010-10-13 Jakub Jelinek <jakub@redhat.com>
48069
48070 [BZ #3268]
48071 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
48072 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
48073 instead of dbl-64.
48074 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
48075 inlines.
48076 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
48077 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
48078 if one of x and y is very large and the other is subnormal.
48079 * sysdeps/s390/fpu/s_fmaf.c: New file.
48080 * sysdeps/s390/fpu/s_fma.c: New file.
48081 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
48082 * sysdeps/powerpc/fpu/s_fma.S: New file.
48083 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
48084 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
48085 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
48086
480872010-10-12 Jakub Jelinek <jakub@redhat.com>
48088
48089 [BZ #3268]
48090 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
48091 fma tests.
48092 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
48093 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
48094 * sysdeps/i386/i686/multiarch/s_fma.c: Include
48095 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
48096 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
48097 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
48098 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
48099
b833d51f
UD
481002010-10-12 Ulrich Drepper <drepper@redhat.com>
48101
48102 [BZ #12078]
48103 * posix/regcomp.c (parse_branch): One more memory leak plugged.
48104 * posix/bug-regex31.input: Add test case.
48105
1751705d
UD
481062010-10-11 Ulrich Drepper <drepper@gmail.com>
48107
e9b9cbf5
UD
48108 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
48109 * posix/bug-regex31.input: New file.
48110
48111 [BZ #12078]
48112 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
48113 (parse_sub_exp): Fix last change, use postorder.
48114
ef06edbe
UD
48115 * posix/bug-regex31.c: New file.
48116 * posix/Makefile: Add rules to build and run bug-regex31.
48117
a129c80d
UD
48118 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
48119
48120 [BZ #12078]
48121 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
48122
b76b818e
UD
48123 [BZ #12108]
48124 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
48125 to have entries in sys_siglist.
48126
1751705d
UD
48127 [BZ #12093]
48128 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
48129 be NULL.
48130
9ff8d36f
JJ
481312010-10-07 Jakub Jelinek <jakub@redhat.com>
48132
48133 [BZ #3268]
48134 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
48135 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
48136 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
48137 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
48138 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48139 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
48140 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
48141 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
48142 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
48143 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
48144 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
48145 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
48146 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
48147 * math/ftestexcept.c (fetestexcept): Likewise.
48148 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
48149 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
48150 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
48151 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
48152 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
48153 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
48154 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48155
af325969
UD
481562010-10-11 Ulrich Drepper <drepper@gmail.com>
48157
c579b202 48158 [BZ #12107]
af325969
UD
48159 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
48160 newline.
48161
67a67b95
UD
481622010-10-06 Ulrich Drepper <drepper@gmail.com>
48163
48164 * string/bug-strstr1.c: New file.
48165 * string/Makefile: Add rules to build and run bug-strstr1.
48166
5fb308bc
EB
481672010-10-05 Eric Blake <eblake@redhat.com>
48168
48169 [BZ #12092]
48170 * string/str-two-way.h (two_way_long_needle): Always clear memory
48171 when skipping input due to the shift table.
48172
45db99c7
UD
481732010-10-03 Ulrich Drepper <drepper@gmail.com>
48174
3b111893
UD
48175 [BZ #12005]
48176 * malloc/mcheck.c: Handle large requests.
48177
45db99c7
UD
48178 [BZ #12077]
48179 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
48180 for strncmp and strncasecmp.
48181 * string/stratcliff.c: Add tests for strcmp and strncmp.
48182 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
48183
cf7a1eb8
NI
481842010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48185
48186 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
48187 __set_fpscr.
48188
6484ba5e
AJ
481892010-09-30 Andreas Jaeger <aj@suse.de>
48190
48191 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
48192 (CGROUP_SUPER_MAGIC): Define.
48193 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48194 Handle btrfs and cgroup file systems.
48195 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48196 Likewise.
48197
91c42559
LM
481982010-09-27 Luis Machado <luisgpm@br.ibm.com>
48199
48200 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
48201 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
48202
87a97932
AK
482032010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48204
48205 [BZ #12067]
48206 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
48207 trying to locate the ELF header.
48208
c21cc9bc
AS
482092010-09-27 Andreas Schwab <schwab@redhat.com>
48210
48211 [BZ #11611]
48212 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
48213 Mask out sign-bit copies when constructing f_fsid.
48214
315970f6
PB
482152010-09-24 Petr Baudis <pasky@suse.cz>
48216
48217 * debug/stack_chk_fail_local.c: Add missing licence exception.
48218 * debug/warning-nop.c: Likewise.
48219
1ac7a2c7
JM
482202010-09-15 Joseph Myers <joseph@codesourcery.com>
48221
48222 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
48223 implementing getdents64 using getdents syscall, set d_type if
48224 __ASSUME_GETDENTS32_D_TYPE.
48225
56801c50
AS
482262010-09-16 Andreas Schwab <schwab@redhat.com>
48227
48228 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
48229 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
48230
dda51327
UD
482312010-09-21 Ulrich Drepper <drepper@redhat.com>
48232
48233 [BZ #12037]
48234 * posix/unistd.h: Undo change of feature selection for ftruncate from
48235 2010-01-11.
48236
8ffcee4a
UD
482372010-09-20 Ulrich Drepper <drepper@redhat.com>
48238
a545ecd9 48239 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
48240 detection.
48241
e24f0a8b
AS
482422010-09-20 Andreas Schwab <schwab@redhat.com>
48243
48244 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
48245 fanotify_mark.
48246 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48247
7291c56f
AS
482482010-09-14 Andreas Schwab <schwab@redhat.com>
48249
48250 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
48251 variables after CHECK_SP call.
48252 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
48253
bc5fb037
AS
482542010-09-13 Andreas Schwab <schwab@redhat.com>
48255 Ulrich Drepper <drepper@redhat.com>
48256
48257 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
48258 re-relocationg ld.so.
48259 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
48260 _dl_init_paths call.
48261 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
48262 here anymore.
48263
e66e7419
UD
482642010-09-14 Ulrich Drepper <drepper@redhat.com>
48265
48266 * resolv/res_init.c (__res_vinit): Count the default server we added.
48267
c044aa75
CLT
482682010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
48269 Ulrich Drepper <drepper@redhat.com>
48270
48271 [BZ #11968]
48272 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48273 (____longjmp_chk): Use %ebx for saving value across system call.
48274 Add unwind info.
48275
32cf4069
AS
482762010-09-06 Andreas Schwab <schwab@redhat.com>
48277
48278 * manual/Makefile: Don't mix pattern rules with normal rules.
48279
817328ee
AS
482802010-09-05 Andreas Schwab <schwab@linux-m68k.org>
48281
48282 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
48283 operation.
48284 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
48285 * libio/iofopncook.c (_IO_cookie_init): Likewise.
48286 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
48287 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
48288 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48289 Likewise.
48290
29fddf61
UD
482912010-09-04 Ulrich Drepper <drepper@redhat.com>
48292
48293 [BZ #11979]
48294 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
48295 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
48296
0959ffc9
UD
482972010-09-02 Ulrich Drepper <drepper@redhat.com>
48298
48299 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
48300 * sysdeps/x86_64/addmul_1.S: Likewise.
48301 * sysdeps/x86_64/lshift.S: Likewise.
48302 * sysdeps/x86_64/mul_1.S: Likewise.
48303 * sysdeps/x86_64/rshift.S: Likewise.
48304 * sysdeps/x86_64/sub_n.S: Likewise.
48305 * sysdeps/x86_64/submul_1.S: Likewise.
48306
ece29840
ST
483072010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
48308
0959ffc9
UD
48309 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
48310 Define __sched_param instead of SCHED_* and sched_param when
ece29840 48311 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 48312 * bits/sched.h [__need_schedparam]
ece29840 48313 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
48314 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
48315 (__defined_schedparam): Define to 1.
ece29840
ST
48316 (__sched_param): New structure, identical to sched_param.
48317 (__need_schedparam): Undefine.
48318
e53a31fe
MF
483192010-08-31 Mike Frysinger <vapier@gentoo.org>
48320
fdc0c10d
MF
48321 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
48322 (epoll_create1): Declare.
48323
e53a31fe
MF
48324 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
48325
a726d796
AS
483262010-08-31 Andreas Schwab <schwab@redhat.com>
48327
48328 [BZ #7066]
48329 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
48330 shifting retval into place.
48331
2f3e3dc7
UD
483322010-09-01 Ulrich Drepper <drepper@redhat.com>
48333
f2933da9
UD
48334 * nis/rpcsvc/nis.h: Update copyright notice.
48335 * nis/rpcsvc/nis.x: Likewise.
48336 * nis/rpcsvc/nis_callback.h: Likewise.
48337 * nis/rpcsvc/nis_callback.x: Likewise.
48338 * nis/rpcsvc/nis_object.x: Likewise.
48339 * nis/rpcsvc/nis_tags.h: Likewise.
48340 * nis/rpcsvc/yp.h: Likewise.
48341 * nis/rpcsvc/yp.x: Likewise.
48342 * nis/rpcsvc/ypupd.h: Likewise.
48343 * nis/yp_xdr.c: Likewise.
48344 * nis/ypupdate_xdr.c: Likewise.
48345
2f3e3dc7
UD
48346 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
48347 mainly the body of pmap_getport. Add parameters to specify timeouts.
48348 (pmap_getport): Use __libc_rpc_getport.
48349 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
48350 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
48351 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
48352
f3dcc2f9
AS
483532010-08-31 Andreas Schwab <schwab@linux-m68k.org>
48354
48355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
48356 fanotify_mark.
48357
6d34eb5b
RM
483582010-08-27 Roland McGrath <roland@redhat.com>
48359
48360 * sysdeps/i386/i686/multiarch/Makefile
48361 (CFLAGS-varshift.c): New variable.
48362
9ea3de11
UD
483632010-08-27 Ulrich Drepper <drepper@redhat.com>
48364
c96d23fc
UD
48365 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
48366 * sysdeps/i386/i686/multiarch/varshift.c: New file.
48367
9ea3de11
UD
48368 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
48369
48370 * sysdeps/x86_64/strlen.S: Minimal code improvement.
48371
623aac7f
L
483722010-08-26 H.J. Lu <hongjiu.lu@intel.com>
48373
48374 * sysdeps/x86_64/strlen.S: Unroll the loop.
48375 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48376 strlen-sse2 strlen-sse2-bsf.
48377 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
48378 __strlen_no_bsf if bit_Slow_BSF is set.
48379 (__strlen_sse42): Removed.
48380 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
48381 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
48382
8b2b7715
RM
483832010-08-25 Roland McGrath <roland@redhat.com>
48384
48385 * sysdeps/x86_64/multiarch/varshift.S: File removed.
48386 * sysdeps/x86_64/multiarch/varshift.c: New file.
48387 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
48388 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
48389 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
48390 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
48391
e73015f2
L
483922010-08-25 H.J. Lu <hongjiu.lu@intel.com>
48393
48394 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48395 strlen-sse2 strlen-sse2-bsf.
48396 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
48397 __strlen_sse2_bsf if bit_Slow_BSF is unset.
48398 (__strlen_sse2): Removed.
48399 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
48400 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
48401 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48402 bit_Slow_BSF for Atom.
48403 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
48404 (index_Slow_BSF): Define.
48405 (HAS_SLOW_BSF): Define.
48406
df24a73e
UD
484072010-08-25 Ulrich Drepper <drepper@redhat.com>
48408
48409 [BZ #10851]
48410 * resolv/res_init.c (__res_vinit): When no server address at all
48411 is given default to loopback.
48412
f2ac4868
RM
484132010-08-24 Roland McGrath <roland@redhat.com>
48414
09055553
RM
48415 * configure.in: Remove config-name.h generation.
48416 * configure: Regenerated.
48417 * config-name.in: File removed.
48418 * scripts/config-uname.sh: New file.
48419 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
48420 ($(objdir)config-name.h): New target.
48421
f2ac4868
RM
48422 * sunrpc/rpc_parse.h: Avoid nested comment.
48423
73f27d5e
RH
484242010-08-24 Richard Henderson <rth@redhat.com>
48425 Ulrich Drepper <drepper@redhat.com>
48426 H.J. Lu <hongjiu.lu@intel.com>
48427
48428 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
48429 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
48430 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
48431 Replace _mm_srli_si128 with __m128i_shift_right. Replace
48432 _mm_alignr_epi8 with _mm_loadu_si128.
48433 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
48434 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
48435 (__m128i_shift_right): Removed.
48436 * sysdeps/i386/i686/multiarch/varshift.h: New file.
48437 * sysdeps/i386/i686/multiarch/varshift.S: New file.
48438 * sysdeps/x86_64/multiarch/varshift.h: New file.
48439 * sysdeps/x86_64/multiarch/varshift.S: New file.
48440
84b9230c
MF
484412010-08-21 Mike Frysinger <vapier@gentoo.org>
48442
48443 * configure.in: Move assembler checks to before sysdep dir checking.
48444
9bbd0ddc
PB
484452010-08-20 Petr Baudis <pasky@suse.cz>
48446
48447 * LICENSES: Sync the sunrpc license.
48448
9da4bb31
UD
484492010-08-19 Ulrich Drepper <drepper@redhat.com>
48450
a7ab6ec8
UD
48451 * sunrpc/auth_des.c: Update copyright notice once again.
48452 * sunrpc/auth_none.c: Likewise.
48453 * sunrpc/auth_unix.c: Likewise.
48454 * sunrpc/authdes_prot.c: Likewise.
48455 * sunrpc/authuxprot.c: Likewise.
48456 * sunrpc/bindrsvprt.c: Likewise.
48457 * sunrpc/clnt_gen.c: Likewise.
48458 * sunrpc/clnt_perr.c: Likewise.
48459 * sunrpc/clnt_raw.c: Likewise.
48460 * sunrpc/clnt_simp.c: Likewise.
48461 * sunrpc/clnt_tcp.c: Likewise.
48462 * sunrpc/clnt_udp.c: Likewise.
48463 * sunrpc/clnt_unix.c: Likewise.
48464 * sunrpc/des_crypt.c: Likewise.
48465 * sunrpc/des_soft.c: Likewise.
48466 * sunrpc/get_myaddr.c: Likewise.
48467 * sunrpc/getrpcport.c: Likewise.
48468 * sunrpc/key_call.c: Likewise.
48469 * sunrpc/key_prot.c: Likewise.
48470 * sunrpc/openchild.c: Likewise.
48471 * sunrpc/pm_getmaps.c: Likewise.
48472 * sunrpc/pm_getport.c: Likewise.
48473 * sunrpc/pmap_clnt.c: Likewise.
48474 * sunrpc/pmap_prot.c: Likewise.
48475 * sunrpc/pmap_prot2.c: Likewise.
48476 * sunrpc/pmap_rmt.c: Likewise.
48477 * sunrpc/rpc/auth.h: Likewise.
48478 * sunrpc/rpc/auth_unix.h: Likewise.
48479 * sunrpc/rpc/clnt.h: Likewise.
48480 * sunrpc/rpc/des_crypt.h: Likewise.
48481 * sunrpc/rpc/key_prot.h: Likewise.
48482 * sunrpc/rpc/netdb.h: Likewise.
48483 * sunrpc/rpc/pmap_clnt.h: Likewise.
48484 * sunrpc/rpc/pmap_prot.h: Likewise.
48485 * sunrpc/rpc/pmap_rmt.h: Likewise.
48486 * sunrpc/rpc/rpc.h: Likewise.
48487 * sunrpc/rpc/rpc_des.h: Likewise.
48488 * sunrpc/rpc/rpc_msg.h: Likewise.
48489 * sunrpc/rpc/svc.h: Likewise.
48490 * sunrpc/rpc/svc_auth.h: Likewise.
48491 * sunrpc/rpc/types.h: Likewise.
48492 * sunrpc/rpc/xdr.h: Likewise.
48493 * sunrpc/rpc_clntout.c: Likewise.
48494 * sunrpc/rpc_cmsg.c: Likewise.
48495 * sunrpc/rpc_common.c: Likewise.
48496 * sunrpc/rpc_cout.c: Likewise.
48497 * sunrpc/rpc_dtable.c: Likewise.
48498 * sunrpc/rpc_hout.c: Likewise.
48499 * sunrpc/rpc_main.c: Likewise.
48500 * sunrpc/rpc_parse.c: Likewise.
48501 * sunrpc/rpc_parse.h: Likewise.
48502 * sunrpc/rpc_prot.c: Likewise.
48503 * sunrpc/rpc_sample.c: Likewise.
48504 * sunrpc/rpc_scan.c: Likewise.
48505 * sunrpc/rpc_scan.h: Likewise.
48506 * sunrpc/rpc_svcout.c: Likewise.
48507 * sunrpc/rpc_tblout.c: Likewise.
48508 * sunrpc/rpc_util.c: Likewise.
48509 * sunrpc/rpc_util.h: Likewise.
48510 * sunrpc/rpcinfo.c: Likewise.
48511 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
48512 * sunrpc/rpcsvc/key_prot.x: Likewise.
48513 * sunrpc/rpcsvc/klm_prot.x: Likewise.
48514 * sunrpc/rpcsvc/mount.x: Likewise.
48515 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
48516 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
48517 * sunrpc/rpcsvc/rex.x: Likewise.
48518 * sunrpc/rpcsvc/rstat.x: Likewise.
48519 * sunrpc/rpcsvc/rusers.x: Likewise.
48520 * sunrpc/rpcsvc/sm_inter.x: Likewise.
48521 * sunrpc/rpcsvc/spray.x: Likewise.
48522 * sunrpc/rpcsvc/yppasswd.x: Likewise.
48523 * sunrpc/rtime.c: Likewise.
48524 * sunrpc/svc.c: Likewise.
48525 * sunrpc/svc_auth.c: Likewise.
48526 * sunrpc/svc_authux.c: Likewise.
48527 * sunrpc/svc_raw.c: Likewise.
48528 * sunrpc/svc_run.c: Likewise.
48529 * sunrpc/svc_simple.c: Likewise.
48530 * sunrpc/svc_tcp.c: Likewise.
48531 * sunrpc/svc_udp.c: Likewise.
48532 * sunrpc/svc_unix.c: Likewise.
48533 * sunrpc/svcauth_des.c: Likewise.
48534 * sunrpc/xcrypt.c: Likewise.
48535 * sunrpc/xdr.c: Likewise.
48536 * sunrpc/xdr_array.c: Likewise.
48537 * sunrpc/xdr_float.c: Likewise.
48538 * sunrpc/xdr_mem.c: Likewise.
48539 * sunrpc/xdr_rec.c: Likewise.
48540 * sunrpc/xdr_ref.c: Likewise.
48541 * sunrpc/xdr_sizeof.c: Likewise.
48542 * sunrpc/xdr_stdio.c: Likewise.
48543
9da4bb31
UD
48544 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
48545 handling.
48546
bdaa77bc
AS
485472010-08-19 Andreas Schwab <schwab@redhat.com>
48548
48549 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
48550
fe2f79db
LM
485512010-08-19 Luis Machado <luisgpm@br.ibm.com>
48552
48553 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
48554 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
48555 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
48556 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
48557 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
48558 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
48559 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
48560 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
48561 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
48562 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
48563 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
48564 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
48565 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
48566 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
48567
b9b42ee0
AB
485682010-07-26 Anton Blanchard <anton@samba.org>
48569
48570 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
48571 * malloc/arena.c (heap_trim): Likewise.
48572
1c06ba31
UD
485732010-08-16 Ulrich Drepper <drepper@redhat.com>
48574
48575 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
48576 here. Not...
48577 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
48578 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
48579
f8392f40
L
485802010-08-12 H.J. Lu <hongjiu.lu@intel.com>
48581
48582 * sysdeps/i386/elf/Makefile: New file.
48583
3162f12e
AS
485842010-08-14 Andreas Schwab <schwab@linux-m68k.org>
48585
48586 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
48587 from fanotify_init.
48588 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
48589 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48590
28c90b2c
UD
485912010-08-15 Ulrich Drepper <drepper@redhat.com>
48592
48593 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
48594 of strncasecmp_l.
1feccb6c 48595 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 48596
ca6bb004
UD
485972010-08-14 Ulrich Drepper <drepper@redhat.com>
48598
e9f82e0d
UD
48599 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48600 strncase_l-nonascii.
48601 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48602 Add strncase_l-ssse3.
48603 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
48604 * sysdeps/x86_64/strcmp.S: Likewise.
48605 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
48606 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
48607 * sysdeps/x86_64/strncase.S: New file.
48608 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
48609 * sysdeps/x86_64/strncase_l.S: New file.
48610 * string/Makefile (strop-tests): Add strncasecmp.
48611 * string/test-strncasecmp.c: New file.
48612
48613 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
48614 warning.
48615
ca6bb004
UD
48616 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
48617 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
48618
052fa7b3
AS
486192010-08-14 Andreas Schwab <schwab@linux-m68k.org>
48620
48621 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
48622
962dba78
UD
486232010-08-12 Ulrich Drepper <drepper@redhat.com>
48624
48625 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
48626 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
48627 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
48628
bebff237
AM
486292010-05-01 Alan Modra <amodra@gmail.com>
48630
48631 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
48632 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
48633 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
48634 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
48635 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
48636 tidying. Don't tail-call __sigjmp_save for static lib.
48637 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
48638 save location.
48639 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
48640 (CALL_MCOUNT): Add eh info, and nop after bl.
48641 (TAIL_CALL_SYSCALL_ERROR): New macro.
48642 (PSEUDO_RET): Use it.
48643 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
48644 Correct save location of integer regs and cr.
48645 (_dl_profile_resolve): Correct cr save location. Delete nops
48646 after bl when SHARED. Reduce cfi size a little by better
48647 placement of cfi directives.
48648 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
48649 make a stack frame. Instead use parm save area as a temp.
48650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
48651 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
48652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
48653 Don't make a stack frame for parent, use parm save area.
48654 Increase child stack frame to 112 bytes. Don't save unused reg,
48655 and adjust reg usage. Set up cfi on error recovery and
48656 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
48657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48658 (__makecontext): Add dummy nop after jump to exit.
48659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
48660 Use correct parm save area and cr save, reduce stack frame.
48661 Correct cfi for possible PSEUDO_RET frame setup.
48662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
48663 Branch to local label emitted by PSEUDO_RET rather than
48664 __syscall_error.
48665
02637374
AS
486662010-08-12 Andreas Schwab <schwab@redhat.com>
48667
48668 [BZ #11904]
48669 * locale/programs/locale.c (print_assignment): New function.
48670 (show_locale_vars): Use it.
48671
c3e2f19b
UD
486722010-08-11 Ulrich Drepper <drepper@redhat.com>
48673
3cdaa6ad
UD
48674 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
48675 field.
48676 (struct statfs64): Likewise.
48677 (_STATFS_F_FLAGS): Define.
48678 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
48679 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48680 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
48681 (ST_VALID): Define locally.
48682 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
48683 __statvfs_getflags, use the provided value.
48684 * sysdeps/unix/sysv/linux/kernel-features.h: Define
48685 __ASSUME_STATFS_F_FLAGS.
48686
754f7da3
UD
48687 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
48688
10b3bedc
UD
48689 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
48690 Add sys/fanotify.h.
48691 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
48692 fanotify_mask for GLIBC_2.13.
48693 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
48694 fanotify_init and fanotify_mark.
48695 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48696 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
48697
c08fb0d7
UD
48698 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
48699 Add prlimit.
48700 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
48701 prlimit64 for GLIBC_2.13.
48702 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
48703 prlimit64.
48704 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
48705 syscall.
48706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
48707 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48708 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
48709 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
48710 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
48711 add prlimit alias.
48712 * sysdeps/unix/sysv/linux/prlimit.c: New file.
48713
15bac72b
UD
48714 [BZ #11903]
48715 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
48716 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
48717
c3e2f19b
UD
48718 * nss/Makefile: Add rules to build and run tst-nss-test1.
48719 * shlib-versions: Add entry for libnss_test1.
48720 * nss/nss_test1.c: New file.
48721 * nss/tst-nss-test1.c: New file.
48722
48723 * nss/nsswitch.c (__nss_database_custom): Define new variable.
48724 (__nss_configure_lookup): Set appropriate entry in
48725 __nss_configure_lookup to true.
48726 * nss/nsswitch.h: Define enum with indeces of databases in
48727 databases and __nss_database_custom arrays. Declare
48728 __nss_database_custom.
48729 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
48730 to avoid using nscd when custom rules are installed.
48731 * nss/getXXbyYY_r.c: Likewise.
48732 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48733
48734 * nss/nss_files/files-parse.c: Whitespace fixes.
48735
f15ce4d8
UD
487362010-08-09 Ulrich Drepper <drepper@redhat.com>
48737
48738 [BZ #11883]
48739 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
48740 * posix/fnmatch_loop.c: Likewise.
48741
d22e4cc9
AK
487422010-07-17 Andi Kleen <ak@linux.intel.com>
48743
48744 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
48745 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
48746 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
48747 * Versions.def [GLIBC_2.13]: Add.
48748
805bc17d
UD
487492010-08-06 Ulrich Drepper <drepper@redhat.com>
48750
48751 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48752 Also fail if tpwd after pwuid call is NULL.
48753
5a42321d
ST
487542010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
48755
48756 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
48757 when converting to ms.
48758
fd3ebeda
ST
487592010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
48760
48761 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
48762 EOPNOTSUPP errors with ENOTTY.
48763 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
48764 EOPNOTSUPP errors with ENOTTY.
48765
73507d3a
UD
487662010-07-31 Ulrich Drepper <drepper@redhat.com>
48767
48768 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48769 Add strcasecmp_l-ssse3.
48770 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
48771 strcasecmp.
48772 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
48773 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
48774 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
48775
fe36dd02
UD
487762010-07-30 Ulrich Drepper <drepper@redhat.com>
48777
66f6765a
UD
48778 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
48779
42e08a54
UD
48780 * string/Makefile (strop-tests): Add strcasecmp.
48781 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48782 strcasecmp_l-nonascii.
48783 (gen-as-const-headers): Add locale-defines.sym.
48784 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
48785 * sysdeps/x86_64/strcasecmp.S: New file.
48786 * sysdeps/x86_64/strcasecmp_l.S: New file.
48787 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
48788 * sysdeps/x86_64/locale-defines.sym: New file.
48789 * string/test-strcasecmp.c: New file.
48790
fe36dd02
UD
48791 * string/test-strcasestr.c: Test both ends of the range of characters.
48792 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
48793
48cbc0d6
RM
487942010-07-29 Roland McGrath <roland@redhat.com>
48795
76e6d6bc 48796 [BZ #11856]
48cbc0d6
RM
48797 * manual/locale.texi (Yes-or-No Questions): Fix example code.
48798
880113d9
UD
487992010-07-27 Ulrich Drepper <drepper@redhat.com>
48800
48801 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
48802 for ld.so.
48803
deb9cabb
AS
488042010-07-27 Andreas Schwab <schwab@redhat.com>
48805
48806 * manual/memory.texi (Malloc Tunable Parameters): Document
48807 M_PERTURB.
48808
1c7570ff
RM
488092010-07-26 Roland McGrath <roland@redhat.com>
48810
48811 [BZ #11840]
48812 * configure.in (-fgnu89-inline check): Set and substitute
48813 gnu89_inline, not libc_cv_gnu89_inline.
48814 * configure: Regenerated.
48815 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
48816
24fb0f88
UD
488172010-07-26 Ulrich Drepper <drepper@redhat.com>
48818
48819 * string/test-strnlen.c: New file.
48820 * string/Makefile (strop-tests): Add strnlen.
48821 * string/tester.c (test_strnlen): Add a few more test cases.
48822 * string/tst-strlen.c: Better error reporting.
48823
48824 * sysdeps/x86_64/strnlen.S: New file.
48825
8e96b93a
UD
488262010-07-24 Ulrich Drepper <drepper@redhat.com>
48827
48828 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
48829 lower-latency instructions.
48830
dbc676d4
UD
488312010-07-23 Ulrich Drepper <drepper@redhat.com>
48832
48833 * string/test-strcasestr.c: New file.
48834 * string/test-strstr.c: New file.
48835 * string/Makefile (strop-tests): Add strstr and strcasestr.
48836 * string/str-two-way.h: Don't undefine MAX.
48837 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
48838
f6a31e0e
AS
488392010-07-21 Andreas Schwab <schwab@redhat.com>
48840
48841 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48842 strcasestr-nonascii.
48843 (CFLAGS-strcasestr-nonascii.c): Define.
48844 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
48845 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
48846 Remove unused attribute.
48847
5dbc3b6c
RM
488482010-07-20 Roland McGrath <roland@redhat.com>
48849
48850 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
48851 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
48852 ld.so.cache was broken. With it, there is no way to disable dsocaps
48853 like LD_HWCAP_MASK can disable hwcaps.
48854
23d101d8
EPM
488552010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48856
48857 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
48858
cc9f2e47
UD
488592010-07-16 Ulrich Drepper <drepper@redhat.com>
48860
48861 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
48862 call in strcasestr.
48863 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
48864 __strcasestr_sse42_nonascii.
48865 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
48866 strcasestr-nonascii.c.
48867 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
48868
77c1b069
LM
488692010-06-15 Luis Machado <luisgpm@br.ibm.com>
48870
48871 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
48872 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
48873 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
48874 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
48875
440566c3
UD
488762010-07-09 Ulrich Drepper <drepper@redhat.com>
48877
48878 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
48879 fcntl.
48880
5be9d05d
AS
488812010-07-06 Andreas Schwab <schwab@redhat.com>
48882
c30b7ee2 48883 [BZ #11577]
5be9d05d
AS
48884 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
48885 dl_signal_cerror.
48886
8a492a67
UD
488872010-07-06 Ulrich Drepper <drepper@redhat.com>
48888
48889 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
48890 _PC_PIPE_BUF using F_GETPIPE_SZ.
48891
713df3d5
RM
488922010-07-05 Roland McGrath <roland@redhat.com>
48893
48894 * manual/arith.texi (Rounding Functions): Fix rint description
48895 implicit in round description.
48896
702e8f14
UD
488972010-07-02 Ulrich Drepper <drepper@redhat.com>
48898
48899 * elf/Makefile: Fix linking for a few tests to make recent linker
48900 happy.
48901
52ed8be9
AS
489022010-06-30 Andreas Schwab <schwab@redhat.com>
48903
48904 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48905 $(common-objpfx)libc_nonshared.a.
48906
f47c9a11
LM
489072010-06-21 Luis Machado <luisgpm@br.ibm.com>
48908
48909 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
48910 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
48911 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48912 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48913 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
48914 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
48915 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48916 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
48918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
48919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
48920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
48922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
48924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
48925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
48926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
48927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
48929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
48931 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
48932 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
48933 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
48934 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
48935 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
48936 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
48937 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
48938 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
48939 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
48940 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
48941 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
48942 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
48943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
48944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
48945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
48946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
48947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
48948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
48949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
48950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
48951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
48952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
48953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
48954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
48955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
48956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
48957
6fb8cbcb
L
489582010-06-25 H.J. Lu <hongjiu.lu@intel.com>
48959
48960 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
48961 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
48962 * string/memmove.c (memmove): Renamed to ...
48963 (MEMMOVE): ...this. Default to memmove.
48964 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
48965 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
48966 (END_CHK): Define.
48967 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48968 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
48969 mempcpy-ssse3-back memmove-ssse3-back.
48970 * sysdeps/x86_64/multiarch/bcopy.S: New file .
48971 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
48972 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
48973 * sysdeps/x86_64/multiarch/memcpy.S: New file.
48974 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
48975 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
48976 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
48977 * sysdeps/x86_64/multiarch/memmove.c: New file.
48978 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
48979 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
48980 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
48981 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
48982 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
48983 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
48984 Define.
48985 (index_Fast_Copy_Backward): Define.
48986 (HAS_ARCH_FEATURE): Define.
48987 (HAS_FAST_REP_STRING): Define.
48988 (HAS_FAST_COPY_BACKWARD): Define.
48989
4e733bac 489902010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
48991
48992 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48993 Restore proper fallback handling.
48994
63c4ed22
UD
489952010-06-19 Ulrich Drepper <drepper@redhat.com>
48996
ac2b484c
UD
48997 [BZ #11701]
48998 * posix/group_member.c (__group_member): Correct checking loop.
48999
63c4ed22
UD
49000 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
49001 OOM in getpwuid_r correctly. Return error number when the caller
49002 should return, otherwise -1.
49003 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
49004 call returning > 0 value.
49005 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
49006
765ade4b
AS
490072010-06-07 Andreas Schwab <schwab@redhat.com>
49008
49009 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
49010 libc_nonshared.a from targets in modules-names.
49011
80da2e09
KS
490122010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
49013
49014 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
49015 requires it.
49016
158db122
LM
490172010-06-10 Luis Machado <luisgpm@br.ibm.com>
49018
49019 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
49020 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
49021 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
49022 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
49023
caa78cf8
AS
490242010-06-02 Andreas Schwab <schwab@redhat.com>
49025
49026 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
49027
b2ef2c01
UD
490282010-06-14 Ulrich Drepper <drepper@redhat.com>
49029
49030 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
49031 and F_GETPIPE_SZ.
49032 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49033 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49034 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49035 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49036 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49037 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
49038
fbd643b6
RM
490392010-06-14 Roland McGrath <roland@redhat.com>
49040
49041 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
49042
f32f2869
JJ
490432010-06-07 Jakub Jelinek <jakub@redhat.com>
49044
49045 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
49046 __REDIRECT followed by __THROW.
49047 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
49048 * posix/getopt.h (getopt): Likewise.
49049
2a50c078
EPM
490502010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49051
49052 * hurd/lookup-at.c (__file_name_lookup_at): Accept
49053 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
49054 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
49055 in AT_FLAGS.
49056 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
49057 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
49058
eb5ad2eb
LM
490592010-05-28 Luis Machado <luisgpm@br.ibm.com>
49060
49061 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
49062
3c88fe1e
L
490632010-05-26 H.J. Lu <hongjiu.lu@intel.com>
49064
49065 [BZ #11640]
49066 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49067 Properly check family and model.
49068
d2f73151
TY
490692010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
49070
49071 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
49072
ebd2e13d
LM
490732010-05-24 Luis Machado <luisgpm@br.ibm.com>
49074
49075 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
49076
b32b8b45
UD
490772010-05-21 Ulrich Drepper <drepper@redhat.com>
49078
49079 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
49080 symbol reference.
49081
9acbe24d
AS
490822010-05-19 Andreas Schwab <schwab@redhat.com>
49083
49084 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
49085 symbol reference.
49086
f0ccf6ea
AS
490872010-05-21 Andreas Schwab <schwab@redhat.com>
49088
3d04ff3a
AS
49089 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
49090 and internal_recvmmsg.
49091 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
49092 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
49093 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
49094 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
49095
f0ccf6ea
AS
49096 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
49097 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49098 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49099
5b08ac57
AS
491002010-05-20 Andreas Schwab <schwab@redhat.com>
49101
49102 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
49103
4828935d
LM
491042010-05-17 Luis Machado <luisgpm@br.ibm.com>
49105
49106 POWER7 optimizations.
49107 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
49108 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
49109
373d545e
UD
491102010-05-19 Ulrich Drepper <drepper@redhat.com>
49111
49112 * version.h: Update for 2.13 development version.
49113
21a2b1ae
AS
491142010-05-12 Andrew Stubbs <ams@codesourcery.com>
49115
49116 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
49117 exceptions. Return 0.
49118
3f7dcb2b
RM
491192010-05-07 Roland McGrath <roland@redhat.com>
49120
49121 * elf/ldconfig.c (main): Add a const.
49122
5f24d53a 491232010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 49124
a160f8d8
UD
49125 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
49126 (args_options): Add no-idn option.
49127 (ahosts_keys_int): Add idn_flags to ai_flags.
49128 (parse_option): Handle 'i' option to clear idn_flags.
49129
5f24d53a
UD
49130 * malloc/malloc.c (_int_free): Possible race in the most recently
49131 added check. Only act on the data if no current modification
49132 happened.
265bb1ce
UD
49133
49134See ChangeLog.17 for earlier changes.