]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Remove 17581 from NEWS
[thirdparty/glibc.git] / ChangeLog
CommitLineData
bc0ed9f7
RM
12015-01-09 Roland McGrath <roland@hack.frob.com>
2
3 * sysdeps/posix/shm-directory.c: Use <> rather than ""
4 for #include of <shm-directory.h>.
5
585d9c18
CLT
62015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
7
8 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
9 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
10
aee6626c
MF
112015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
12
13 [BZ #17791]
14 * NEWS: Mention bug fix.
15 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
16 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
17 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
18
9e560f48
TR
192015-01-09 Torvald Riegel <triegel@redhat.com>
20
21 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
22
e1cfbd0c
TR
232015-01-09 Torvald Riegel <triegel@redhat.com>
24
25 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
26
cf71e44f
DH
272015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
28
29 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
30 pointer and cast to uintptr_t.
31
b360ee62
DH
322015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
33
34 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
35 removed.
36 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
37
caff764e
DH
382015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
39
40 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
41 of 0.
42
59ff172f
RM
432015-01-08 Roland McGrath <roland@hack.frob.com>
44
c97d27f1
RM
45 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
46 <nptl/pthreadP.h> instead.
47 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
48
08734ccd
RM
49 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
50 already defined.
51 [__SIGRTMIN] (init): Function removed.
52 [__SIGRTMIN] (initialized): Variable removed.
53 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
54 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
55 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
56 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
57 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
58 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
59 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
60 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
61 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
62 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
63 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
64 * sysdeps/nptl/allocrtsig.c: New file.
65 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
66 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
67 * sysdeps/generic/testrtsig.h: File removed.
68
7b052e33
RM
69 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
70 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
71
cc40d25e
RM
72 * nptl/nptl-init.c (pthread_functions): Conditionalize
73 .ptr__nptl_setxid initialization on [SIGSETXID].
74
9287adf0
RM
75 * sysdeps/nptl/sys/procfs.h: New file.
76 * nptl_db/Makefile (headers): Add it.
77 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
78
59ff172f
RM
79 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
80 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
81 * nptl/pthread_attr_setaffinity.c: Include it.
82 * nptl/pthread_setattr_default_np.c: Likewise.
83 * nptl/check-cpuset.h: New file.
84
b9205857
RH
852015-01-08 Richard Henderson <rth@redhat.com>
86
87 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
88 (CFLAGS-tst-execstack-prog.c): Likewise.
89 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
90
1a0a8d15
CLT
912015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
92 Sandra Loosemore <sandra@codesourcery.com>
93 Andrew Jenner <andrew@codesourcery.com>
94 Joseph Myers <joseph@codesourcery.com>
95 Nathan Sidwell <nathan@codesourcery.com>
96
97 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
98 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
99 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
100 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
101 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
102 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
103 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
104 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
105 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
106 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
107 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
108 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
109 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
110 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
111 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
112 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
113 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
114
dd6e8af6
AZ
1152015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
116
117 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
118 timespec struct member in syscall macro.
119 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
120 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
121 first timeval struct member in syscall macro.
122 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
123
8116321f
JM
1242015-01-07 Joseph Myers <joseph@codesourcery.com>
125
126 [BZ #17748]
127 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
128 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
129 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
130 __feupdateenv and define as weak alias of __feupdateenv. Use
131 libm_hidden_weak.
132 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
133 libm_hidden_def.
134 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
135 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
136 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
137 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
138 libm_hidden_def.
139 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
140 __feupdateenv and define as weak alias of __feupdateenv. Use
141 libm_hidden_weak.
142 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
143 libm_hidden_def.
144 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
145 __feupdateenv and define as weak alias of __feupdateenv. Use
146 libm_hidden_weak.
147 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
148 libm_hidden_def.
149 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
150 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
151 (__feupdateenv): Likewise.
152 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
153 __feupdateenv and define as weak alias of __feupdateenv. Use
154 libm_hidden_weak.
155 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
156 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
157 libm_hidden_def.
158 * sysdeps/tile/math_private.h (__feupdateenv): New inline
159 function.
160 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
161 libm_hidden_def.
162 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
163 __feupdateenv instead of feupdateenv.
164 (default_libc_feupdateenv_test): Likewise.
165 (libc_feresetround_ctx): Likewise.
166
882dfe18
AZ
1672015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
168
169 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
170 prototype.
171
39a12f8d
CM
1722015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
173
174 * posix/regcomp.c (parse_bracket_exp): Initialize type to
175 COLL_SYM in a couple of places to avoid uninitialized variable
176 wanings on tilegx gcc 4.8.2.
177
dc400d7b
RE
1782015-01-07 Richard Earnshaw <rearnsha@arm.com>
179
180 * sysdeps/aarch64/strcpy.S: New file.
181 * sysdeps/aarch64/stpcpy.S: New file.
182 * NEWS: Updated.
183
ec582ca0
RE
1842015-01-07 Richard Earnshaw <rearnsha@arm.com>
185
186 * sysdeps/aarch64/strrchr.S: New file.
187 * NEWS: Updated.
188
d5b1c5ed
EB
1892015-01-07 Eric Biggers <ebiggers3@gmail.com>
190
191 [BZ #17658]
192 * stdlib/setenv.c: Fix memory leak when setting large,
193 duplicate string.
194
fb87ee96
VN
1952015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
196
60f046a8 197 [BZ #17273]
fb87ee96
VN
198 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
199 and tabs from buffer before parsing fstab entry.
200 * misc/tst-mntent.c (main): Add test for mount entry with
201 trailing spaces and tabs.
202
cd42798a
JM
2032015-01-06 Joseph Myers <joseph@codesourcery.com>
204
01238691
JM
205 [BZ #17748]
206 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
207 * math/fesetround.c (fesetround): Rename to __fesetround and
208 define as weak alias of __fesetround. Use libm_hidden_weak.
209 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
210 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
211 * sysdeps/arm/fesetround.c (fesetround): Likewise.
212 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
213 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
214 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
215 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
216 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
217 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
218 __fesetround_inline.
219 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
220 __fesetround_inline instead of __fesetround.
221 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
222 __fesetround and define as weak alias of __fesetround. Use
223 libm_hidden_weak. Call __fesetround_inline instead of
224 __fesetround.
225 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
226 __fesetround and define as weak alias of __fesetround. Use
227 libm_hidden_weak.
228 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
229 Likewise.
230 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
231 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
232 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
233 * sysdeps/tile/math_private.h (__fesetround): New inline function.
234 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
235 __fesetround and define as weak alias of __fesetround. Use
236 libm_hidden_weak.
237 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
238 __fesetround instead of fesetround.
239 (default_libc_feholdexcept_setround): Likewise.
240 (libc_feholdsetround_ctx): Likewise.
241 (libc_feholdsetround_noex_ctx): Likewise.
242
cd42798a
JM
243 [BZ #17748]
244 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
245 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
246 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
247 and define as weak alias of __fesetenv. Use libm_hidden_weak.
248 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
249 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
250 define as weak alias of __fesetenv. Use libm_hidden_weak.
251 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
252 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
253 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
254 define as weak alias of __fesetenv. Use libm_hidden_weak.
255 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
256 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
257 define as weak alias of __fesetenv. Use libm_hidden_weak.
258 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
259 libm_hidden_def.
260 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
261 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
262 Likewise.
263 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
264 define as weak alias of __fesetenv. Use libm_hidden_weak.
265 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
266 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
267 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
268 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
269 and define as weak alias of __fesetenv. Use libm_hidden_weak.
270 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
271 __fesetenv instead of fesetenv.
272 (libc_feresetround_noex_ctx): Likewise.
273 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
274 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
275 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
276 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
277 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
278 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
279 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
280 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
281 (__feupdateenv): Likewise.
282 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
283 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
284 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
285 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
286
38949026
AJ
2872015-01-06 Aurelien Jarno <aurelien@aurel32.net>
288
1cf98e27 289 [BZ #17806]
38949026
AJ
290 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
291 addresses have been freed.
292
5fe55e9c
AJ
2932015-01-06 Aurelien Jarno <aurelien@aurel32.net>
294
295 * resolv/res_init.c (__res_vinit): Improve comments about nserv
296 and nservall.
297
dc8ab018
OB
2982015-01-06 Ondřej Bílka <neleai@seznam.cz>
299
300 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
301 Clean up check_pf allocation pattern. addresses
302
14bb4e57
AZ
3032015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
304
305 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
306 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
307 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
308 * nptl/pthread_exit.c (__pthread_exit): Likewise.
309 * nptl/pthread_join.c (pthread_join): Likewise.
310 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
311 * sysdeps/posix/waitid.c (__waitid): Likewise.
312 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
313 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
314 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
315 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
316 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
317 Likewise.
318 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
319 (__libc_pread64): Likewise.
320 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
321 (__libc_pwrite): Likewise.
322 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
323 (__libc_pwrite64): Likewsie.
324 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
325 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
326 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
327 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
328 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
329 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
330 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
332 Likewise.
333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
334 (__libc_pread64): Likewise.
335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
336 Likewise.
337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
338 (__libc_pwrite64): Likewise.
339 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
340 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
341 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
342 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
343 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
344 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
345 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
346 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
347 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
348 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
349 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
350 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
351 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
352 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
353 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
354 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
355 Likewise.
356
10a5e112
AS
3572015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
358
359 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
360 (CFLAGS-test-double.c): Likewise.
361 (CFLAGS-test-ldouble.c): Likewise.
362 (CPPFLAGS-test-ifloat.c): Likewise.
363 (CPPFLAGS-test-idouble.c): Likewise.
364 (CPPFLAGS-test-ildoubl.c): Likewise.
365 (CFLAGS-test-test-fenv.c): Remove variable.
366 (CFLAGS-test-misc.c): Likewise.
367
57ada0e7
L
3682015-01-06 H.J. Lu <hongjiu.lu@intel.com>
369
370 [BZ #17797]
371 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
372 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
373 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
374 CLOCKS_PER_SEC == 1000000.
375 * time/clocktest.c (main): Replace %ld with %jd and cast to
376 intmax_t.
377
46abb64d
RM
3782015-01-05 Roland McGrath <roland@hack.frob.com>
379
380 * sysdeps/generic/unwind-resume.h: New file.
381 * sysdeps/gnu/unwind-resume.c: Include it.
382 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
383 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
384 argument list.
385 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
386 global rather than static.
387 (_Unwind_Resume): Update user.
388 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
389 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
390 rather than static. Add __attribute__ ((cold)).
391 (_Unwind_Resume, __gcc_personality_v0): Update callers.
392 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
393 * sysdeps/arm/arm-unwind-resume.S: New file.
394 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
395 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
396 * sysdeps/arm/Makefile [$(subdir) = csu]
397 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
398 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
399 Add rt-arm-unwind-resume.
400 [$(subdir) = nptl]
401 (libpthread-sysdep_routines, libpthread-shared-only-routines):
402 Add pt-arm-unwind-resume.
403 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
404 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
405
ef9faf13
JM
4062015-01-05 Joseph Myers <joseph@codesourcery.com>
407
408 [BZ #17748]
409 * include/fenv.h (__feholdexcept): Declare. Use
410 libm_hidden_proto.
411 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
412 define as weak alias of __feholdexcept. Use libm_hidden_weak.
413 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
414 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
415 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
416 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
417 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
418 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
419 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
420 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
421 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
422 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
423 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
424 (feholdexcept): Likewise.
425 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
426 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
427 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
428 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
429 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
430 __feholdexcept instead of feholdexcept.
431 (default_libc_feholdexcept_setround): Likewise.
432
295a453e
SE
4332015-01-05 Steve Ellcey <sellcey@imgtec.com>
434
435 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
436 to avoid using stl/str to align destination.
437
882c4b9f
SE
4382015-01-05 Steve Ellcey <sellcey@imgtec.com>
439
440 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
441
ac4c11f5
JM
4422015-01-05 Joseph Myers <joseph@codesourcery.com>
443
444 [BZ #17796]
445 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
446 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
447 Define as weak alias not strong alias.
448
03403e30
SE
4492015-01-05 Steve Ellcey <sellcey@imgtec.com>
450
451 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
452 bltzal with addiupc.
453 (RTLD_START): Ditto.
454
1dca195e
CM
4552015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
456
7ea793f3
CM
457 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
458 for __vdso_* functions in declarations.
459 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
460 definitions.
461 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
462 INTERNAL_VSYSCALL): Use struct return types to check for error.
463
1dca195e
CM
464 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
465 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
466 function with cast from llround().
467 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
468 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
469 Define.
470
a287953a
JM
4712015-01-05 Joseph Myers <joseph@codesourcery.com>
472
ab70da77
JM
473 [BZ #17793]
474 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
475 Define as weak alias not strong alias.
476
b8986484
JM
477 [BZ #17635]
478 * ctype/ctype-c99.c: New file. isblank implementation moved from
479 ...
480 * ctype/ctype-extn.c: ... here.
481 (__isblank_l): Move to ...
482 * ctype/ctype-c99_l.c: ... here. New file.
483 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
484 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
485 Remove variable.
486 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
487 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
488 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
489 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
490 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
491
a287953a
JM
492 [BZ #17777]
493 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
494 (posix_fadvise64): Define as weak alias not strong alias.
495 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
496 (posix_fallocate64): Likewise.
497 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
498 Remove variable.
499 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
500 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
501 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
502 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
503 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
504
b1efe3bb
MF
5052015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
506
507 [BZ #16191]
508 * NEWS: Mention bug fix.
509 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
510 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
511 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
512 (HOST_STACK_END_ADDR): Likewise.
513
9706dc5f
JM
5142015-01-02 Joseph Myers <joseph@codesourcery.com>
515
b93c2205
JM
516 [BZ #17748]
517 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
518 * math/fegetround.c (fegetround): Rename to __fegetround and
519 define as weak alias of __fegetround. Use libm_hidden_weak.
520 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
521 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
522 * sysdeps/arm/fegetround.c (fegetround): Likewise.
523 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
524 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
525 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
526 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
527 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
528 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
529 Undefine after rather than before function definition; use
530 parentheses around function name in definition.
531 (__fegetround): Also undefine macro after function definition.
532 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
533 __fegetround and define as weak alias of __fegetround. Use
534 libm_hidden_weak. Do not undefine as macro.
535 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
536 Likewise.
537 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
538 __fegetround and define as weak alias of __fegetround. Use
539 libm_hidden_weak.
540 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
541 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
542 * sysdeps/tile/math_private.h (__fegetround): New inline function.
543 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
544 __fegetround and define as weak alias of __fegetround. Use
545 libm_hidden_weak.
546 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
547 __fegetround instead of fegetround.
548
253a59cc
JM
549 [BZ #17782]
550 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
551 Condition macro definition on [__USE_MISC].
552
27dae011
JM
553 [BZ #17781]
554 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
555 (struct sigaction): Change type of sa_flags field to int.
556
172019c0
JM
557 [BZ #17780]
558 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
559 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
560 __glibc_reserved0.
561
522ad1d6
JM
562 * nptl/version.c (banner): Use single year in copyright notice.
563
9706dc5f
JM
564 * NEWS: Update copyright dates.
565 * catgets/gencat.c (print_version): Likewise.
566 * csu/version.c (banner): Likewise.
567 * debug/catchsegv.sh: Likewise.
568 * debug/pcprofiledump.c (print_version): Likewise.
569 * debug/xtrace.sh (do_version): Likewise.
570 * elf/ldconfig.c (print_version): Likewise.
571 * elf/ldd.bash.in: Likewise.
572 * elf/pldd.c (print_version): Likewise.
573 * elf/sotruss.sh: Likewise.
574 * elf/sprof.c (print_version): Likewise.
575 * iconv/iconv_prog.c (print_version): Likewise.
576 * iconv/iconvconfig.c (print_version): Likewise.
577 * locale/programs/locale.c (print_version): Likewise.
578 * locale/programs/localedef.c (print_version): Likewise.
579 * login/programs/pt_chown.c (print_version): Likewise.
580 * malloc/memusage.sh (do_version): Likewise.
581 * malloc/memusagestat.c (print_version): Likewise.
582 * malloc/mtrace.pl: Likewise.
583 * manual/libc.texinfo: Likewise.
584 * nptl/version.c (banner): Likewise.
585 * nscd/nscd.c (print_version): Likewise.
586 * nss/getent.c (print_version): Likewise.
587 * nss/makedb.c (print_version): Likewise.
588 * posix/getconf.c (main): Likewise.
589 * scripts/test-installation.pl: Likewise.
590 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
591
b8607aac
WN
5922015-01-02 Will Newton <will.newton@linaro.org>
593
594 * sysdeps/arm/armv7/configure: Removed.
595 * sysdeps/arm/armv7/configure.ac: Likewise.
596
b168057a
JM
5972015-01-02 Joseph Myers <joseph@codesourcery.com>
598
599 * All files with FSF copyright notices: Update copyright dates
600 using scripts/update-copyrights.
601 * intl/plural.c: Regenerated.
602 * locale/programs/charmap-kw.h: Likewise.
603 * locale/programs/locfile-kw.h: Likewise.
604
b217c15f
SP
6052015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
606
607 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
608
73a268c7
JM
6092014-12-31 Joseph Myers <joseph@codesourcery.com>
610
611 [BZ #17748]
612 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
613 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
614 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
615 and define as weak alias of __fegetenv. Use libm_hidden_weak.
616 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
617 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
618 define as weak alias of __fegetenv. Use libm_hidden_weak.
619 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
620 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
621 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
622 define as weak alias of __fegetenv. Use libm_hidden_weak.
623 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
624 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
625 define as weak alias of __fegetenv. Use libm_hidden_weak.
626 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
627 libm_hidden_def.
628 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
629 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
630 Likewise.
631 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
632 define as weak alias of __fegetenv. Use libm_hidden_weak.
633 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
634 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
635 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
636 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
637 and define as weak alias of __fegetenv. Use libm_hidden_weak.
638 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
639 __fegetenv instead of fegetenv.
640 (libc_feholdsetround_noex_ctx): Likewise.
641
0bd95672
MF
6422014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
643
644 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
645 (Elf_MIPS_ABIFlags_v0): New structure.
646 (EF_MIPS_FP64): Define.
647 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
648 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
649 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
650 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
651 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
652 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
653 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
654 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
655 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
656 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
657 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
658 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
659 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
660 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
661 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
662 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
663 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
664 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
665 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
666 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
667 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
668 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
669 field.
670 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
671 EF_MIPS_FP64.
672 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
673 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
674 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
675 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
676 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
677 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
678 * sysdeps/mips/tst-abi-interlink.c: Likewise.
679 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
680 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
681 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
682 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
683 record the current FP ABI extension.
684 (mips-mode-switch): Define to show if kernel headers support mode
685 switching.
686 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
687 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
688 supported SYSV ABI version to 3.
689 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
690 feature.
691
f59ad976
RS
6922014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
693 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
694
695 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
696 path.
697 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
698
4a3d3999
JM
6992014-12-31 Joseph Myers <joseph@codesourcery.com>
700
701 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
702 __fegetround and redefine to call __fegetround. Remove condition
703 on [!__NO_MATH_INLINES].
704 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
705 function.
706 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
707 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
708 Remove macro.
709 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
710 instead of <fenv_libc.h>.
711 (__llrintl): Call fegetround instead of __fegetround.
712 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
713 instead of <fenv_libc.h>.
714 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
715 (__lrintl): Call fegetround instead of __fegetround.
716 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
717 instead of <fenv_libc.h>.
718 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
719 (__rintl): Call fegetround instead of __fegetround.
720
195f3afc
SP
7212014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
722
723 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
724 arrays.
725
7062bd42
L
7262014-12-30 H.J. Lu <hongjiu.lu@intel.com>
727
728 [BZ #17775]
729 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
730 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
731 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
732
07256e18
AS
7332014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
734
735 * sysdeps/i386/tls-macros.h: Include <features.h>.
736 (TLS_LE): Use non-PIC version for GCC >= 5.0.
737 (TLS_IE): Likewise.
738 (TLS_LD): Likewise.
739 (TLS_GD): Likewise.
740 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
741 define for GCC >= 5.0.
742
1ff950ad
CM
7432014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
744
745 * math/test-fenv.c (test_single_exception, set_single_exc,
746 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
747 feexcp_mask_test, feenable_test, fe_single_test): Add
748 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
749 case where they are not used.
750 * math/libm-test.inc: Likewise.
751 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
752 unused in the absence of FP rounding/exception support.
753 * stdio-common/tst-printf-round.c: Likewise.
754 * stdlib/tst-strtod-round.c: Likewise.
755 * stdlib/tst-strtod-underflow.c: Likewise.
756
0747f818
JM
7572014-12-30 Joseph Myers <joseph@codesourcery.com>
758
759 [BZ #17723]
760 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
761 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
762 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
763 __feraiseexcept and define as weak alias of __feraiseexcept. Use
764 libm_hidden_weak.
765 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
766 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
767 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
768 libm_hidden_def.
769 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
770 __feraiseexcept and define as weak alias of __feraiseexcept. Use
771 libm_hidden_weak.
772 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
773 Likewise.
774 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
775 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
776 __feraiseexcept and define as weak alias of __feraiseexcept. Use
777 libm_hidden_weak.
778 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
779 libm_hidden_def.
780 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
781 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
782 (__feraiseexcept): Likewise.
783 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
784 __feraiseexcept and define as weak alias of __feraiseexcept. Use
785 libm_hidden_weak.
786 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
787 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
788 libm_hidden_def.
789 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
790 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
791 Use libm_hidden_def.
792 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
793 libm_hidden_def.
794 (feraiseexcept): Define as weak not strong alias. Use
795 libm_hidden_weak.
796 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
797 New inline function. Factored out of ...
798 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
799 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
800 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
801 feraiseexcept.
802 * math/w_acos.c (__acos): Likewise.
803 * math/w_asin.c (__asin): Likewise.
804 * math/w_ilogb.c (__ilogb): Likewise.
805 * math/w_j0.c (y0): Likewise.
806 * math/w_j1.c (y1): Likewise.
807 * math/w_jn.c (yn): Likewise.
808 * math/w_log.c (__log): Likewise.
809 * math/w_log10.c (__log10): Likewise.
810 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
811 * sysdeps/aarch64/fpu/math_private.h
812 (libc_feupdateenv_test_aarch64): Likewise.
813 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
814 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
815 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
816 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
817 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
818 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
819 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
820 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
821 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
822 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
823
8d2b2763
L
8242014-12-30 H.J. Lu <hongjiu.lu@intel.com>
825
826 [BZ #17732]
827 * io/test-utime.c (main): Replace %ld with %jd and cast to
828 intmax_t.
41fad830 829 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
e401d5ca
L
830 * nptl/tst-mutex5.c: Include <stdint.h>.
831 (do_test): Replace %ld with %jd and cast to intmax_t.
6490d945
L
832 * posix/tst-regex.c (run_test): Likewise.
833 (run_test_backwards): Likewise.
5d619de4
L
834 * rt/tst-clock.c: Include <stdint.h>.
835 (clock_test): Replace %ld with %jd and cast to intmax_t.
836 * rt/tst-cpuclock1.c: Include <stdint.h>.
837 (do_test): Replace %lu with %ju and cast to uintmax_t.
838 * rt/tst-cpuclock2.c: Include <stdint.h>.
839 (do_test): Replace %lu with %ju and cast to uintmax_t.
840 * rt/tst-mqueue1.c: Include <stdint.h>.
841 (check_attrs): Replace %ld with %jd and cast to intmax_t.
842 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
843 intmax_t.
844 * rt/tst-mqueue4.c (do_test): Likewise.
845 * rt/tst-timer4.c: Include <stdint.h>.
846 (check_ts): Replace %ld with %jd and cast to intmax_t.
847 (do_test): Likewise.
ad86fbc3
L
848 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
849 and cast to intmax_t.
37f46900 850 * sysdeps/pthread/tst-timer.c (main): Likewise.
fe342f50
L
851 * time/clocktest.c (main): Likewise.
852 * time/tst-posixtz.c (do_test): Likewise.
126f6c72 853 * timezone/tst-timezone.c (main): Likewise.
8d2b2763 854
8b4416d8
AS
8552014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
856 H.J. Lu <hongjiu.lu@intel.com>
857
858 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
859 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
860 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
861 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
862 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
863 version if bit_Fast_Unaligned_Load is set.
864 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
865 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
866 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
867 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
868 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
869 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
870 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
871 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
872 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
873 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
874 to 4.
875 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
876 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
877 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
878 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
879
e47b8d3b
CM
8802014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
881
6d6d7fde
CM
882 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
883 instead of #if to avoid a Wundef warning.
884 * stdlib/tst-limits.c (do_test): Likewise.
885
cd2c37c9
CM
886 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
887 parallel other exception macros.
888 (fegetenv): Convert from macro to extern inline so that it applies
889 retroactively to inline functions already seen by the compiler.
890 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
891
e47b8d3b
CM
892 * posix/Makefile (before-compile): Use $(objpfx) for
893 posix-conf-vars-def.h.
894
4a6aca7b
SP
8952014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
896
7910c2ae
SP
897 * posix/getconf.c (main): Use size_t for type of I.
898 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
899 NSPEC.
900
50cbbaa9
SP
901 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
902 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
903 * posix/posix-envs.def: Likewise.
904 * sysdeps/posix/sysconf.c: Likewise.
905 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
906 (specs): Remove array.
907 * scripts/gen-posix-conf-vars.awk: Support generation of specs
908 array.
909
3b566046
SP
910 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
911 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
912 (__sysconf): Use CONF_IS_* macros.
913
4a6aca7b
SP
914 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
915 ($(objpfx)posix-conf-vars-def.h): New target.
916 * posix/posix-conf-vars.list: New file.
917 * posix/posix-conf-vars.h: New file.
918 * posix/confstr.c: Include posix-conf-vars.h.
919 (confstr): Use CONF_IS_* macros.
920 * posix/posix-envs.def: Include posix-conf-vars.h. Use
921 CONF_IS_* macros.
922 * scripts/gen-posix-conf-vars.awk: New file.
923
7c1395a7
CM
9242014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
925
0025b4cc
CM
926 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
927 fegetround): Add no-op macros to avoid linknamespace issues.
928
d8aaf74b
CM
929 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
930 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
931
5d24aa60
CM
932 * sysdeps/unix/sysv/linux/tile/sysdep.h
933 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
934 assembly-specific section to avoid a redefinition warning.
935
7c1395a7
CM
936 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
937 long before casting to pointer to avoid a cast warning.
938
3c87c616
CM
9392014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
940
941 * sysdeps/tile/tilegx/Implies: New file.
942
f559d8cf
RE
9432014-12-23 Richard Earnshaw <rearnsha@arm.com>
944
945 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
946
7d81e8d6
FW
9472014-12-23 Florian Weimer <fweimer@redhat.com>
948
949 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
950
90aa3d09
JM
9512014-12-22 Joseph Myers <joseph@codesourcery.com>
952
953 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
954 not define.
955 * sysdeps/unix/sysv/linux/utimes.c: Do not include
956 <kernel-features.h>.
957 (__utimes) [__NR_utimes]: Make code unconditional.
958 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
959 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
960 (__ASSUME_UTIMES): Do not undefine.
961 * sysdeps/unix/sysv/linux/tile/kernel-features.h
962 (__ASSUME_UTIMES): Likewise.
963 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
964 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
965 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
966 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
967
4c0c0e2a
SE
9682014-12-22 Steve Ellcey <sellcey@imgtec.com>
969
970 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
971
0dacd7a3
CM
9722014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
973
b638f96a
CM
974 [BZ #17747]
975 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
976 alias to weak alias for j0l, y0l.
977 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
978 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
979
0dacd7a3
CM
980 [BZ #17746]
981 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
982 conversion.
983
528479c4
SE
9842014-12-22 Steve Ellcey <sellcey@imgtec.com>
985
986 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
987 to zero if not already defined.
988
f56f9124
JM
9892014-12-22 Joseph Myers <joseph@codesourcery.com>
990
991 [BZ #17724]
992 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
993 (__kernel_standard_f): Remove. Moved to k_standardf.c.
994 (__kernel_standard_l): Remove. Moved to k_standardl.c with
995 (char *) casts added.
996 * sysdeps/ieee754/k_standardf.c: New file.
997 * sysdeps/ieee754/k_standardl.c: Likewise.
998 * math/Makefile (libm-support): Remove k_standard.
999 (libm-calls): Add k_standard.
1000
8622d556
WD
10012014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1002
1003 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1004 Optimize to avoid an unnecessary FPCR read.
1005
f3806bdb
WD
10062014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1007
1008 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
1009 Optimize to reduce FPCR/FPSR accesses.
1010
9b47df58
WD
10112014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1012
1013 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
1014 Call libc_fetestexcept_aarch64.
1015
97be3cac
WD
10162014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1017
1018 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
1019 Call libc_fesetround_aarch64.
1020
935ab817
JM
10212014-12-22 Joseph Myers <joseph@codesourcery.com>
1022
1023 [BZ #17733]
1024 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
1025 (__bind): Do not define as weak alias.
1026 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
1027 define.
1028 (__getsockname): Do not define as weak alias.
1029
cc8623f1
WN
10302014-12-22 Will Newton <will.newton@linaro.org>
1031
1032 * manual/install.texi: Document that we require bison 2.7
1033 or above.
1034 * INSTALL: Regenerate.
1035 * configure.ac: Use AC_CHECK_PROG_VER instead of
1036 AC_PATH_PROG when checking for bison and check for
1037 version 2.7 or above.
1038 * configure: Regenerate.
1039
a19ca65a
CM
10402014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
1041
92901170 1042 [BZ #17745]
e969965a
CM
1043 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
1044 * sysdeps/tile/ffsll.c (ffsll): To here.
1045
a19ca65a
CM
1046 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
1047
050f7298
L
10482014-12-21 H.J. Lu <hongjiu.lu@intel.com>
1049
1050 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
1051 if not defined.
1052 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
1053 definition.
1054 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
1055 hidden ___tls_get_addr.
1056 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
1057 hidden __tls_get_addr.
1058 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
1059 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
1060 Likewise.
1061
6df5547e
AS
10622014-12-21 Andreas Schwab <schwab@linux-m68k.org>
1063
1064 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
1065 _dl_init call.
1066
7432d613
L
10672014-12-21 H.J. Lu <hongjiu.lu@intel.com>
1068
1069 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
1070 from "call _dl_init@PLT".
1071 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7432d613 1072
98fe149e
AK
10732014-12-21 Anders Kaseorg <andersk@mit.edu>
1074
1075 * manual/search.texi: (Array Sort Function): Clarify stable sorting
1076 guarantees.
1077
d12455f5
CM
10782014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
1079
1080 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
1081
95dee05f
CM
10822014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
1083
92901170 1084 [BZ #17744]
95dee05f
CM
1085 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
1086 strnlen.
1087
2ef4b74a
SE
10882014-12-19 Steve Ellcey <sellcey@imgtec.com>
1089
1090 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
1091 of multu on MIPSr6.
1092 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
1093 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
1094 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
1095 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
1096 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
1097
10982014-12-19 Steve Ellcey <sellcey@imgtec.com>
1099
1100 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
1101 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
1102 (PTR_SUBU): Use subu for mips32r6/mips64r6.
1103 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9d1fc928 1104 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2ef4b74a
SE
1105 mips32r6/mips64r6.
1106 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
1107
3eb38795
OB
11082014-12-19 Ondřej Bílka <neleai@seznam.cz>
1109
1110 * string/strncat.c (STRNCAT): Simplify implementation.
1111
6d4188dd
DM
11122014-12-19 David S. Miller <davem@davemloft.net>
1113
0d4ba8be
DM
1114 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
1115 access the quad as both a long double and as a series of 4 words.
1116
6d4188dd
DM
1117 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
1118 link_map->l_info array access.
1119
4ef91cdc
CM
11202014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
1121
804c54f7
CM
1122 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
1123
4ef91cdc
CM
1124 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
1125 * math/atest-exp2.c (TIMEOUT): Likewise.
1126 * math/atest-sincos.c (TIMEOUT): Likewise.
1127
afd176d6
L
11282014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1129
1130 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
1131 -Wno-error with -fno-builtin-lround.
1132
a4a43a90
TR
11332014-12-19 Torvald Riegel <triegel@redhat.com>
1134
1135 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
1136 Contains futex constants and functions moved over from ...
1137 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
1138 <lowlevellock-futex.h>.
1139 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1140 (lll_timedwait_tid): Add comments and parentheses around macro
1141 arguments.
1142
76f71081
TR
11432014-12-19 Torvald Riegel <triegel@redhat.com>
1144
1145 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
1146 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
1147 (__lll_private_flag): Remove.
1148 (lll_futex_wait): Likewise.
1149 (lll_futex_timed_wait): Likewise.
1150 (lll_futex_wake): Likewise.
1151 (lll_futex_requeue): Likewise.
1152 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1153 (__lll_timedwait_tid): Spell out argument names.
1154 (lll_timedwait_tid): Add comments and parentheses around macro
1155 arguments.
1156 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
1157 LLL_SHARED and LLL_PRIVATE usable from assembly code.
1158
6b814909
TR
11592014-12-19 Torvald Riegel <triegel@redhat.com>
1160
1161 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
1162 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
1163 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1164 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
1165 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
1166 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
1167 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
1168 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
1169 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
1170 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
1171 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
1172 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
1173 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
1174 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
1175 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
1176 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
1177 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
1178 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
1179 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
1180
9cd4d4ab
L
11812014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1182
1183 * sysdeps/x86_64/x32/Makefile: New file.
1184
c9c1a2d0
L
11852014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1186
1187 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
1188 1L with (mp_limb_t) 1.
1189
af102d95
RM
11902014-12-17 Roland McGrath <roland@hack.frob.com>
1191
dd690454
RM
1192 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
1193 * nptl/libc_pthread_init.c: ... here.
1194 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
1195 * nptl/register-atfork.c: ... here.
1196
74eb826c
RM
1197 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
1198 Use pthread_sigmask rather than INTERNAL_SYSCALL.
1199 Use assert_perror to check its return value.
1200 (__gai_create_helper_thread): Likewise.
1201
c9ce306b
RM
1202 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
1203
af102d95
RM
1204 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
1205
8ac5a76a
JM
12062014-12-17 Joseph Myers <joseph@codesourcery.com>
1207
ea41469b
JM
1208 [BZ #17725]
1209 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
1210 __profil_counter.
1211 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
1212 Likewise.
1213 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
1214 Likewise.
1215 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
1216 Likewise.
1217 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
1218 (profil_counter): Likewise.
1219 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
1220 (profil_counter): Likewise.
1221 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
1222 Likewise.
1223 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
1224 Likewise.
1225 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
1226 (profil_counter): Likewise.
1227 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
1228 Likewise.
1229 [!__profil_counter] (profil_counter): Define as weak alias of
1230 __profil_counter.
1231 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
1232 (profil_counter): Rename to __profil_counter.
1233 [!__profil_counter] (profil_counter): Define as weak alias of
1234 __profil_counter.
1235 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
1236 (profil_counter): Rename to __profil_counter.
1237 [!__profil_counter] (profil_counter): Define as weak alias of
1238 __profil_counter.
1239 * sysdeps/posix/profil.c: Update comment referring to
1240 profil_counter.
1241 (__profil): Use __profil_counter instead of profil_counter.
1242 * sysdeps/posix/sprofil.c (profil_counter): Rename to
1243 __profil_counter. Use __profil_counter_ushort and
1244 __profil_counter_uint in definitions.
1245 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
1246 instead of profil_counter_uint and profil_counter_ushort.
1247
8ac5a76a
JM
1248 [BZ #17722]
1249 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
1250 define as weak alias of __inet_makeaddr.
1251 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
1252 as weak alias of __inet_addr.
1253 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
1254 as weak alias of __inet_pton. Use libc_hidden_weak.
1255 * include/arpa/inet.h (__inet_pton): Declare. Use
1256 libc_hidden_proto.
1257 (inet_makeaddr): Don't use libc_hidden_proto.
1258 (__inet_makeaddr): Declare. Use libc_hidden_proto.
1259 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
1260 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
1261 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
1262 Remove variable.
1263 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
1264 (test-xfail-POSIX/time.h/linknamespace): Likewise.
1265
66ce3cb1
SE
12662014-12-17 Steve Ellcey <sellcey@imgtec.com>
1267
1268 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
1269
d22ce01b
SL
12702014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1271
1272 * stdio-common/bug-vfprintf-nargs.c (do_test):
1273 Cast value to intptr_t to avoid format warning
1274 for usage with PRIdPTR printing macro.
1275
eca2772b
SL
12762014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1277
1278 * libio/tst-widetext.c (do_test):
1279 Use format type %td instead of %Zd for ptrdiff_t
1280 in order to avoid format warning.
1281
bdf079da
AS
12822014-12-17 Andreas Schwab <schwab@suse.de>
1283
1284 * nscd/mem.c (gc): Add size_t cast to match printf format.
1285
3eb5d2fc
RM
12862014-12-16 Roland McGrath <roland@hack.frob.com>
1287
1288 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
1289 (init): Apply PTR_MANGLE to pointers before storing them.
1290 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
1291 before using them.
1292
d003ada2
JM
12932014-12-16 Joseph Myers <joseph@codesourcery.com>
1294
380292ba
JM
1295 [BZ #17719]
1296 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
1297 define as weak alias of __memrchr.
1298 (__memrchr): Do not define as strong alias of memrchr.
1299 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
1300 Remove variable.
1301 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
1302 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
1303 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
1304
9a44d530
JM
1305 [BZ #17717]
1306 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
1307 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
1308 (if_indextoname): Rename to __if_indextoname and define as weak
1309 alias of __if_indextoname. Use libc_hidden_weak.
1310 (if_freenameindex): Rename to __if_freenameindex and define as
1311 weak alias of __if_freenameindex.
1312 (if_nameindex): Rename to __if_nameindex and define as weak alias
1313 of __if_nameindex.
1314 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
1315 __if_nametoindex and define as weak alias of __if_nametoindex.
1316 Use libc_hidden_weak.
1317 (if_freenameindex): Rename to __if_freenameindex and define as
1318 weak alias of __if_freenameindex.
1319 (if_nameindex): Rename to __if_nameindex and define as weak alias
1320 of __if_nameindex.
1321 (if_indextoname): Rename to __if_indextoname and define as weak
1322 alias of __if_indextoname. Use libc_hidden_weak.
1323 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
1324 __if_nametoindex and define as weak alias of __if_nametoindex.
1325 Use libc_hidden_weak.
1326 (if_freenameindex): Rename to __if_freenameindex and define as
1327 weak alias of __if_freenameindex. Use libc_hidden_weak.
1328 (if_nameindex_netlink): Use __if_freenameindex instead of
1329 if_freenameindex.
1330 (if_nameindex): Rename to __if_nameindex and define as weak alias
1331 of __if_nameindex. Use libc_hidden_weak.
1332 (if_indextoname): Rename to __if_indextoname and define as weak
1333 alias of __if_indextoname. Use libc_hidden_weak.
1334 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
1335 libc_hidden_proto.
1336 [!_ISOMAC] (__if_freenameindex): Likewise.
1337 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
1338 if_nametoindex.
1339 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
1340 variable.
1341 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
1342 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
1343 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
1344 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
1345 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
1346 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
1347 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
1348
d003ada2
JM
1349 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
1350 Remove variable.
1351 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
1352 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
1353
a0d424ef
SP
13542014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1355
0cd85520
SP
1356 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
1357 subscript above bounds'
1358
a0d424ef
SP
1359 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
1360 bounds.
1361
0e426475
AS
13622014-12-16 Arjun Shankar <arjun.is@lostca.se>
1363
8b460906
AS
1364 * libio/tst-fopenloc.c: Use test-skeleton.c.
1365
fa13e15b
AS
1366 * stdlib/tst-bsearch.c: Use test-skeleton.c.
1367 (entry): Rename to ITEM.
1368 (do_test, comp): Adjust.
1369
0e426475
AS
1370 * stdio-common/tst-fseek.c: Use test-skeleton.c.
1371
4f646bce
TR
13722014-12-16 Torvald Riegel <triegel@redhat.com>
1373
1374 * string/tester.c: Include <libc-internal.h>.
1375 (test_memset): Ignore -Wmemset-transposed-args.
1376
a07c4427
TR
13772014-12-16 Torvald Riegel <triegel@redhat.com>
1378
1379 * misc/tst-mntent2.c (do_test): Fix warning.
1380
1469f466
TR
13812014-12-16 Torvald Riegel <triegel@redhat.com>
1382
1383 * elf/tst-unique4lib.cc(a): Mark as used.
1384
11e3417a
FW
13852014-12-16 Florian Weimer <fweimer@redhat.com>
1386
1387 [BZ #17630]
1388 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
1389 names.
1390
ae61fc7b
AM
13912014-12-16 Allan McRae <allan@archlinux.org>
1392
1393 * stdio-common/Makefile (tests): Re-add bug26.
1394
363a9899
OB
13952014-12-15 Ondřej Bílka <neleai@seznam.cz>
1396
1397 [BZ #17657]
1398 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
1399 static array.
1400
d52c62df
TR
14012014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
1402
1403 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
1404 (__lll_lock_wait): Likewise.
1405 (__lll_timedlock_wait): Likewise.
1406 (__lll_timedwait_tid): Likewise.
1407 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
1408 (__lll_robust_timedlock_wait): Likewise.
1409 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
1410 (lll_cond_trylock): Likewise.
1411 (__lll_lock): Likewise.
1412 (__lll_robust_lock): Likewise.
1413 (__lll_cond_lock): Likewise.
1414 (lll_robust_cond_lock): Likewise.
1415 (__lll_timedlock): Likewise.
1416 (__lll_robust_timedlock): Likewise.
1417 (__lll_unlock): Likewise.
1418 (__lll_robust_unlock): Likewise.
1419 (lll_wait_tid): Likewise.
1420 (lll_timedwait_tid): Likewise.
1421
045a6bcd
TR
14222014-12-15 Torvald Riegel <triegel@redhat.com>
1423
1424 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
1425
7f786dc1
TR
14262014-12-15 Torvald Riegel <triegel@redhat.com>
1427
1428 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
1429
e7e21cba
AZ
14302014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
1431
1432 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
1433 * stdio-common/tst-sprintf.c: Likewise.
1434
bc89c0fc
TR
14352014-12-15 Torvald Riegel <triegel@redhat.com>
1436
1437 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
1438
a5357b7c
JL
14392014-12-15 Jeff Law <law@redhat.com>
1440
1441 [BZ #16617]
1442 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
1443 on the heap. (CVE-2012-3406)
1444 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
1445 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
1446 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
1447
3a12c70f
WN
14482014-12-15 Will Newton <will.newton@linaro.org>
1449
1450 * manual/install.texi: Bump required version of texinfo
1451 to 4.7 from 4.5.
1452 * INSTALL: Regenerated.
1453 * configure.ac: Check for makeinfo version 4.7 and above.
1454 * configure: Regenerated.
1455
e4f639e4
RM
14562014-12-12 Roland McGrath <roland@hack.frob.com>
1457
1458 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
1459 PREFIX, string constant to insert between directory and name.
1460 * sysdeps/posix/shm_open.c: Update caller.
1461 * sysdeps/posix/shm_unlink.c: Likewise.
1462 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
1463 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
1464 (SEM_SHM_PREFIX): New macro.
1465 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
1466 [$(have-thread-library) = no].
1467 * nptl/Makefile (libpthread-routines): Add shm-directory.
1468 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
1469 * sysdeps/nptl/shm-directory.h: New file.
1470 * sysdeps/posix/shm-directory.c
1471 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
1472 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
1473 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
1474 INTERNAL_SYSCALL.
1475 (__where_is_shmfs): Function removed.
1476 (mountpoint, defaultmount, defaultdir, __namedsem_once):
1477 Variables removed.
1478 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
1479 Use SHM_GET_NAME.
1480 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
1481
1482 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
1483 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
1484 unconditional for use inside libpthread.
1485 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
1486
439c43f6
RM
14872014-12-12 Roland McGrath <roland@hack.frob.com>
1488
c76d1ff5
RM
1489 * nptl/pthread_getaffinity.c: New file.
1490 * nptl/pthread_setaffinity.c: New file.
1491 * nptl/pthread_getname.c: New file.
1492 * nptl/pthread_setname.c: New file.
1493
439c43f6
RM
1494 * nptl/pthread_create.c (START_THREAD_DEFN)
1495 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
1496
48e435cd
SL
14972014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1498 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1499
1500 * resolv/res_send.c (send_vc): Disable warning resplen may
1501 be used uninitialized.
1502
9d9c0019
SL
15032014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1504
1505 * nptl/tst-mutex6.c
1506 (ATTR_NULL): New define checks ATTR against NULL.
1507 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
1508 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
1509
9173840b
JL
15102014-12-11 James Lemke <jwlemke@codesourcery.com>
1511
1512 [BZ #17581]
1513 * malloc/hooks.c
1514 (mem2mem_check): Revert my previous change.
1515 (malloc_check_get_size): Revert my previous change.
1516 (mem2chunk_check): Revert my previous change.
1517
78e21c5d
RM
15182014-12-11 Roland McGrath <roland@hack.frob.com>
1519
1520 * sysdeps/posix/shm-directory.c: New file.
1521 * sysdeps/posix/shm-directory.h: New file.
1522 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
1523 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
1524 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
1525 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
1526 Transmute EPERM to EACCES.
1527 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
1528 from ...
1529 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
1530 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
1531
f82c43af
KK
15322014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1533
1534 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
1535 pointer and cast to uintptr_t.
1536 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
1537 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
1538 Add cast to avoid warning.
1539 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
1540
fc00cf7b
JM
15412014-12-11 Joseph Myers <joseph@codesourcery.com>
1542
1543 * nptl/semaphore.h: Move to ...
1544 * sysdeps/pthread/semaphore.h: ... here.
1545 * Makefile (installed-headers): Change nptl/semaphore.h to
1546 sysdeps/pthread/semaphore.h.
1547
1c4053db
RM
15482014-12-11 Roland McGrath <roland@hack.frob.com>
1549
73b0c1a1
RM
1550 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
1551 generated error format strings.
1552
1c4053db
RM
1553 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
1554 -Wformat-extra-args warnings for scanf formats.
1555 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
1556 test of zero-length format (duh).
1557 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
1558 corner-case scanf format test.
1559 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
1560 generated fprintf format string.
1561 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
1562 corner-case sprintf format tests.
1563 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
1564 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
1565 -Wformat-extra-args warnings throughout.
1566 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
1567 (CFLAGS-scanf4.c): Likewise.
1568 (CFLAGS-scanf7.c): Likewise.
1569 (CFLAGS-tst-sprintf.c): Likewise.
1570 (CFLAGS-tst-printf.c): Likewise.
1571 (CFLAGS-tst-printfsz.c): Likewise.
1572
47d51f4f
JM
15732014-12-11 Joseph Myers <joseph@codesourcery.com>
1574
a1edbf3c
JM
1575 * include/cpio.h: New file.
1576 * include/fmtmsg.h: Likewise.
1577
47d51f4f
JM
1578 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
1579 corresponding format argument to size_t.
1580 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
1581 arguments.
1582 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
1583 corresponding format argument to size_t.
1584 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
1585 arguments.
1586 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
1587 corresponding format argument to size_t.
1588 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
1589 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
1590 (CFLAGS-tst-mbswcs2.c): Likewise.
1591 (CFLAGS-tst-mbswcs3.c): Likewise.
1592 (CFLAGS-tst-mbswcs4.c): Likewise.
1593 (CFLAGS-tst-mbswcs5.c): Likewise.
1594 (CFLAGS-tst-trans.c): Likewise
1595
e9813cfb
RM
15962014-12-11 Roland McGrath <roland@hack.frob.com>
1597
1598 * posix/regexbug1.c (main): Use "%s" format with regerror results,
1599 rather than assuming they won't contain any '%'s.
1600
f627ca82
CM
16012014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
1602
1603 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
1604 inhibit_loop_to_libcall to avoid recursive calls.
1605 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
1606 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
1607
7f296942
AZ
16082014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
1609
1610 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
1611 prototype.
1612
d0276e18
SE
16132014-12-11 Steve Ellcey <sellcey@imgtec.com>
1614
1615 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
1616 integer value instead of boolean.
1617
fc56e970
SE
16182014-12-11 Steve Ellcey <sellcey@imgtec.com>
1619
1620 * malloc/malloc.c: Fix powerof2 check.
1621
40e53917
SL
16222014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1623
1624 * locale/programs/locfile.h (maybe_swap_uint32):
1625 Remove inline and add unused attribute.
1626
1ea166df
SL
16272014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1628
9d9c0019 1629 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1ea166df
SL
1630 Truncating assembler expression to a .long expression.
1631
acf869f4
AS
16322014-12-11 Andreas Schwab <schwab@suse.de>
1633
1634 * elf/rtld.c (struct map_args): Constify str member.
1635 (do_preload): Constify fname argument.
1636
9d969099
AZ
16372014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1638
1639 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
1640 constants definition.
1641
da5bcaa4
AS
16422014-12-11 Andreas Schwab <schwab@suse.de>
1643
b0a3c164
AS
1644 [BZ #16657]
1645 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
1646 FORCE_ELISION instead of DO_ELISION.
1647 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
1648 Remove.
1649 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
1650 Likewise.
1651
da5bcaa4
AS
1652 * iconvdata/gconv-modules: Remove duplicate entry.
1653
6d248857
WN
16542014-12-11 Will Newton <will.newton@linaro.org>
1655
1656 Merge gettext 0.19.3 into intl/.
1657
1658 This involves a number of cosmetic changes to comments
1659 and ANSI function definitions and prototypes throughout
1660 all the files. The gettext copyright header is used but
1661 with the date ranges taken from the glibc copy.
1662
1663 * NEWS: Add gettext merge to 2.21.
1664 * intl/bindtextdom.c: Switch to gettext copyright.
1665 Use ANSI definitions and prototypes.
1666 Use gl_* locking primitives rather than __libc_* ones.
1667 Use __builtin_expect rather than __glibc_likely/unlikely.
1668 * intl/dcgettext.c: Switch to gettext copyright.
1669 Use ANSI definitions and prototypes.
1670 * intl/dcigettext.c: Switch to gettext copyright.
1671 Use ANSI definitions and prototypes.
1672 (INTDIV0_RAISES_SIGFPE): New define.
1673 Use gl_* locking primitives rather than __libc_* ones.
1674 Include eval-plural.h instead of plural-eval.c.
1675 Use __builtin_expect rather than __glibc_likely/unlikely.
1676 * intl/dcngettext.c: Switch to gettext copyright.
1677 Use ANSI definitions and prototypes.
1678 * intl/dgettext.c: Likewise.
1679 * intl/dngettext.c: Likewise.
1680 * intl/plural-eval.c: Renamed to...
1681 * intl/eval-plural.h: ...this.
1682 * intl/explodename.c: Switch to gettext copyright.
1683 Use ANSI definitions and prototypes.
1684 (_nl_explode_name): Use strchr instead of __rawmemchr.
1685 * intl/finddomain.c: Switch to gettext copyright.
1686 Use ANSI definitions and prototypes.
1687 Use gl_* locking primitives rather than __libc_* ones.
1688 (_nl_find_domain): Use malloc rather than alloca for
1689 allocation of temporary locale name.
1690 * intl/gettext.c: Switch to gettext copyright.
1691 Use ANSI definitions and prototypes.
1692 * intl/gettextP.h: Switch to gettext copyright.
1693 Use ANSI definitions and prototypes.
1694 Use gl_* locking primitives rather than __libc_* ones.
1695 * intl/gmo.h: Switch to gettext copyright.
1696 (struct sysdep_string): Move struct segment_pair outside of
1697 struct definition.
1698 * intl/hash-string.c: Use ANSI definitions and prototypes.
1699 * intl/hash-string.h: Switch to gettext copyright.
1700 Use ANSI definitions and prototypes.
1701 * intl/l10nflist.c: Switch to gettext copyright.
1702 Use ANSI definitions and prototypes.
1703 (_nl_normalize_codeset): Avoid integer overflow.
1704 * intl/loadinfo.h: Switch to gettext copyright.
1705 Use ANSI definitions and prototypes.
1706 (LIBINTL_DLL_EXPORTED): New define.
1707 (PATH_SEPARATOR): New define.
1708 * intl/loadmsgcat.c: Switch to gettext copyright.
1709 * intl/localealias.c: Switch to gettext copyright.
1710 Use ANSI definitions and prototypes.
1711 (_nl_expand_alias): Use PATH_SEPARATOR.
1712 * intl/ngettext.c: Switch to gettext copyright.
1713 Use ANSI definitions and prototypes.
1714 * intl/plural-exp.c: Likewise.
1715 * intl/plural-exp.h: Switch to gettext copyright.
1716 Use ANSI definitions and prototypes.
1717 (struct expression): Move definition of enum operator outside
1718 of struct definition.
1719 * intl/plural.c: Regenerate.
1720 * intl/plural.y: Switch to gettext copyright.
1721 Use ANSI definitions and prototypes.
1722 Port to bison 3.0.
1723 * intl/textdomain.c: Switch to gettext copyright.
1724 Use ANSI definitions and prototypes.
1725 Use gl_* locking primitives rather than __libc_* ones.
1726
48c43298
SE
17272014-12-10 Steve Ellcey <sellcey@imgtec.com>
1728
1729 * debug/warning-nop.c: Add used atrribute.
1730
2b89bce9
JM
17312014-12-10 Joseph Myers <joseph@codesourcery.com>
1732
c153ac9f
JM
1733 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
1734
2b89bce9
JM
1735 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
1736 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
1737 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
1738
2cfbdb9a
JM
17392014-12-10 Joseph Myers <joseph@codesourcery.com>
1740 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1741
1742 [BZ #17634]
1743 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
1744 Undefine after defining function. Define as weak alias of
1745 __wcschr. Use libc_hidden_weak.
1746 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
1747 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
1748 (libc_hidden_def): Also define __GI___wcschr alias.
1749 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
1750 __wcschr and define as weak alias of __wcschr.
1751 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
1752 __wcschr.
1753 [!WCSCHR] (DEFAULT_WCSCHR): Define.
1754 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
1755 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
1756 libc_hidden_weak. Do not use libc_hidden_def.
1757 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
1758 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
1759 __GI___wcschr alias.
1760 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
1761 [IS_IN (libc)] (wcschr): Define as macro expanding to
1762 __redirect_wcschr.
1763 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
1764 [IS_IN (libc)] (__wcschr_power6): Likewise.
1765 [IS_IN (libc)] (__wcschr_power7): Likewise.
1766 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
1767 instead of wcschr.
1768 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
1769 __libc_wcschr.
1770 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
1771 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
1772 __wcschr and define as weak alias of __wcschr. Use
1773 libc_hidden_builtin_def.
1774 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
1775 as weak alias of __wcschr. Use libc_hidden_weak.
1776 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
1777 wcschr.
1778 * time/era.c (_nl_init_era_entries): Likewise.
1779 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
1780 variable.
1781 (test-xfail-XPG3/time.h/linknamespace): Likewise.
1782 (test-xfail-XPG4/time.h/linknamespace): Likewise.
1783
1b8bf351
JM
17842014-12-10 Joseph Myers <joseph@codesourcery.com>
1785
1786 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
1787 format for long int variable.
1788
f5f46d51
AK
17892014-12-10 Anders Kaseorg <andersk@MIT.EDU>
1790
1791 [BZ #10672]
07008f7d 1792 * manual/search.texi: (Array Sort Function): Remove claim how to make
f5f46d51
AK
1793 qsort stable.
1794
217a74a8
AS
17952014-12-10 Andreas Schwab <schwab@suse.de>
1796
1797 [BZ #12847]
1798 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
1799 user-controlled locks.
1800
aa76a5c7
RE
18012014-12-10 Richard Earnshaw <rearnsha@arm.com>
1802
1803 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
1804 register.
1805
2084e7ca
JM
18062014-12-10 Joseph Myers <joseph@codesourcery.com>
1807
a4ecc9eb
JM
1808 * configure.ac (--disable-werror): New configure option.
1809 (enable_werror): New AC_SUBST.
1810 * configure: Regenerated.
1811 * config.make.in (enable-werror): New variable.
1812 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
1813 -Wno-error=undef.
1814 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
1815 * manual/install.texi (Configuring and compiling): Document
1816 --disable-werror.
1817 * INSTALL: Regenerated.
1818 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
1819 (CFLAGS-tst-chk2.c): Likewise.
1820 (CFLAGS-tst-chk3.c): Likewise.
1821 (CFLAGS-tst-chk4.cc): Likewise.
1822 (CFLAGS-tst-chk5.cc): Likewise.
1823 (CFLAGS-tst-chk6.cc): Likewise.
1824 (CFLAGS-tst-lfschk1.c): Likewise.
1825 (CFLAGS-tst-lfschk2.c): Likewise.
1826 (CFLAGS-tst-lfschk3.c): Likewise.
1827 (CFLAGS-tst-lfschk4.cc): Likewise.
1828 (CFLAGS-tst-lfschk5.cc): Likewise.
1829 (CFLAGS-tst-lfschk6.cc): Likewise.
1830
0f88636c
JM
1831 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
1832 (main): Disable -Wdeprecated-declarations around calls to
1833 register_printf_function.
1834
c81e9deb
JM
1835 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
1836 (do_test): Disable -Wdiv-by-zero around some calls to
1837 fwrite_unlocked and fread_unlocked.
1838
2084e7ca
JM
1839 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
1840 (DIAG_POP_NEEDS_COMMENT): Likewise.
1841 (_DIAG_STR1): Likewise.
1842 (_DIAG_STR): Likewise.
1843 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
1844 * stdio-common/bug21.c: Include <libc-internal.h>.
1845 (do_test): Disable -Wformat around call to sscanf.
1846 * stdio-common/scanf14.c: Include <libc-internal.h>.
1847 (main): Disable -Wformat around some calls to scanf functions.
1848
df7ecc6b
TR
18492014-12-09 Torvald Riegel <triegel@redhat.com>
1850
1851 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
1852
2aa3862e
AZ
18532014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1854
1855 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
1856 stack variable alignment.
1857
c5c2b7c3
JM
18582014-12-06 Joseph Myers <joseph@codesourcery.com>
1859
1860 [BZ #17682]
1861 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
1862 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
1863 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
1864 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
1865 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
1866 __getrlimit instead of getrlimit.
1867 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
1868 __gettimeofday instead of gettimeofday.
1869 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1870 Likewise.
1871 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1872 Likewise.
1873 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1874 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
1875 Remove variable.
1876 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
1877 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
1878
9752c3cd
AZ
18792014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1880
1881 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
1882 for wide-character tests.
1883
4bee4cd9
RM
18842014-12-04 Roland McGrath <roland@hack.frob.com>
1885
1886 * io/openat64.c: #include <libc-internal.h>
1887 (__openat64): Prototypify. Use ignore_value on MODE.
1888 * io/openat.c: Likewise.
1889 * misc/reboot.c: #include <libc-internal.h>
1890 (reboot): Prototypify. Use ignore_value on HOWTO.
1891 * misc/ptrace.c: #include <libc-internal.h>
1892 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
1893
84dbedb6
JM
18942014-12-04 Joseph Myers <joseph@codesourcery.com>
1895
1896 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
1897 XPG4, UNIX98 and XOPEN2K.
1898 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
1899 Remove variable.
1900 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
1901
b7a3e1c4 19022014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
be349d70 1903
af50dfc1 1904 * libio/fileops.c: Use ISO C style for function definitions.
24b97882
SP
1905 * libio/iofopen.c: Likewise.
1906 * libio/wfileops.c: Likewise.
1907
fe8b4d98
SP
1908 [BZ #17653]
1909 * libio/fileops.c (_IO_new_file_underflow): Unset cached
1910 offset on EOF.
1911 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
1912 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
1913 (fgets_func): Function pointer to fgets and fgetws.
1914 (do_ftell_test): Add test to verify ftell value after read
1915 EOF.
1916 (do_test): Set fgets_func.
1917
61b4f792
SP
1918 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
1919 O_TRUNC flag for w and w+ modes.
1920 (do_rewind_test): Likewise.
1921 (do_ftell_test): Likewise.
1922 (do_write_test): Likewise.
1923
be349d70
SP
1924 [BZ #17647]
1925 * libio/fileops.c (do_ftell): Seek only when there are
1926 unflushed writes.
1927 * libio/wfileops.c (do_ftell_wide): Likewise.
1928 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
1929 test case.
1930 (do_one_test): Call it.
1931
e3d6dba5
JM
19322014-12-03 Joseph Myers <joseph@codesourcery.com>
1933
1934 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
1935 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
1936 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
1937 Remove variable.
1938 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
1939 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
1940 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
1941
7f994279
JM
19422014-12-02 Joseph Myers <joseph@codesourcery.com>
1943
28a91e8f
JM
1944 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
1945 Remove variable.
1946 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
1947
7f994279
JM
1948 [BZ #17668]
1949 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
1950 as weak alias of __getifaddrs. Use libc_hidden_weak.
1951 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1952 __freeifaddrs. Use libc_hidden_weak.
1953 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
1954 define as weak alias of __getifaddrs. Use libc_hidden_weak.
1955 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1956 __freeifaddrs. Use libc_hidden_weak.
1957 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
1958 __getifaddrs and define as weak alias of __getifaddrs. Use
1959 libc_hidden_weak.
1960 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1961 __freeifaddrs. Use libc_hidden_weak.
1962 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
1963 Remove variable.
1964 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
1965 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
1966
bbe4c142
PJ
19672014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
1968
1969 [BZ #17601]
1970 * sysdeps/mips/start.S (__start): Use indirect jump to call
1971 __libc_start_main.
1972
66cadc05
JM
19732014-12-02 Joseph Myers <joseph@codesourcery.com>
1974
909e16d9
JM
1975 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
1976
4e0b9016
JM
1977 * nptl/tst-mutex1.c: Include <stdbool.h>.
1978 [!ATTR] (ATTR_NULL): New macro.
1979 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
1980 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
1981 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
1982
b1aff6a4
JM
1983 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
1984 to char *.
1985
266865c0
JM
1986 [BZ #17665]
1987 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
1988 Change conditional to [__USE_MISC].
1989
84e5e756
JM
1990 [BZ #17664]
1991 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
1992 fgets_unlocked.
1993 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
1994 __fgets_unlocked.
1995 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
1996 fgets_unlocked.
1997 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
1998 Remove variable.
1999 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
2000 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
2001 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
2002 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
2003 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
2004 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
2005 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
2006 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
2007 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
2008
66cadc05
JM
2009 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
2010
2e8a2de2 20112014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
0f0a1c82
AZ
2012
2013 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2014 Remove strpbrk objects.
2015 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2016 (__libc_ifunc_impl_list): Remove strpbrk implementation.
2017 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
2018 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
2019 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
2020 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
2021
bb2542e0
AZ
2022 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2023 Remove strcspn objects.
2024 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2025 (__libc_ifunc_impl_list): Remove strcspn implementation.
2026 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
2027 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
2028 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
2029 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2e8a2de2
AZ
2030
2031 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2032 Remove strspn objetcs.
2033 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2034 (__libc_ifunc_impl_list): Remove strspn implementation.
2035 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
2036 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
2037 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
2038 * sysdeps/powerpc/powerpc64/strspn.S: New file.
2039
08f1e1d2
JL
20402014-12-01 James Lemke <jwlemke@codesourcery.com>
2041
2042 [BZ #17581]
2043 * malloc/hooks.c
2044 (mem2mem_check): Add a terminator to the chain of checking blocks.
2045 (malloc_check_get_size): Use it here.
2046 (mem2chunk_check): Ditto.
2047
a8a7d7d2
RS
20482014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2049
2050 * sysdeps/powerpc/powerpc64/strtok.S: New file.
2051 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
2052
97114a38
CD
20532014-11-29 Carlos O'Donell <carlos@redhat.com>
2054
c8dc1727
CD
2055 * bits/ioctl-types.h: Indent preprocessor directives correctly.
2056
6d03458e
CD
2057 * nptl/nptl-init.c: Include libc-internal.h.
2058 (__pthread_initialize_minimal_internal): Use ROUND_UP.
2059
97114a38
CD
2060 * elf/ldconfig.c (search_dir): Expand comment.
2061
0e7e69ba
JM
20622014-11-29 Joseph Myers <joseph@codesourcery.com>
2063
2064 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
2065 variable.
2066 (linknamespace-symlist-stdlibs-tests): Likewise.
2067 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
2068 instead of $(objpfx)symlist-stdlibs.
2069 (linknamespace-libs-isoc): New variable.
2070 (linknamespace-libs): Use $(linknamespace-libs-isoc).
2071 (linknamespace-libs-ISO): New variable.
2072 (linknamespace-libs-ISO99): Likewise.
2073 (linknamespace-libs-ISO11): Likewise.
2074 (linknamespace-libs-XPG3): Likewise.
2075 (linknamespace-libs-XPG4): Likewise.
2076 (linknamespace-libs-POSIX): Likewise.
2077 (linknamespace-libs-UNIX98): Likewise.
2078 (linknamespace-libs-XOPEN2K): Likewise.
2079 (linknamespace-libs-POSIX2008): Likewise.
2080 (linknamespace-libs-XOPEN2K8): Likewise.
2081 ($(objpfx)symlist-stdlibs): Replace by
2082 $(linknamespace-symlist-stdlibs-tests). Use
2083 $(linknamespace-libs-$*) as set of libraries.
2084 ($(linknamespace-header-tests)): Update dependencies. Use
2085 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
2086 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
2087 * conform/linknamespace.pl: Remove comment about considering
2088 definitions of symbols from irrelevant libraries.
2089
d8dd0080
L
20902014-11-28 H.J. Lu <hongjiu.lu@intel.com>
2091
2092 [BZ #13862]
2093 * elf/dl-tls.c: Include <atomic.h>.
2094 (oom): Remove #ifdef SHARED/#endif.
2095 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
2096 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
2097 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
2098 big enough.
2099 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
2100 * nptl/Makefile (tests): Add tst-stack4.
2101 (modules-names): Add tst-stack4mod.
2102 ($(objpfx)tst-stack4): New.
2103 (tst-stack4mod.sos): Likewise.
2104 ($(objpfx)tst-stack4.out): Likewise.
2105 ($(tst-stack4mod.sos)): Likewise.
2106 (clean): Likewise.
2107 * nptl/tst-stack4.c: New file.
2108 * nptl/tst-stack4mod.c: Likewise.
2109
167da422
B
21102014-11-27 J. Brown <jb999@gmx.de>
2111
2112 * sysdeps/x86/bits/string.h: Add recent CPUs.
2113
9114625b
JM
21142014-11-27 Joseph Myers <joseph@codesourcery.com>
2115
6b5189eb
JM
2116 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
2117 sigblock.
2118
49051f8e
JM
2119 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
2120 feof.
2121
9114625b
JM
2122 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
2123 variable.
2124
e7300fef
SL
21252014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
2126
2127 * nscd/connections.c: Include libc-internal.h because of macro
2128 usage ignore_value.
2129
1721f0a4
SP
21302014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2131
2132 * string/bits/string3.h (__warn_memset_zero_len): Don't
2133 declare for gcc newer than 5.0.
2134 (memset): Don't test for zero-length __LEN for gcc newer than
2135 5.0.
2136
be970916
JM
21372014-11-27 Joseph Myers <joseph@codesourcery.com>
2138
d88548f4
JM
2139 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
2140 size_t for %zu format.
2141
be970916
JM
2142 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
2143 difference, not %ju.
2144
3b20fd5c
JM
21452014-11-26 Joseph Myers <joseph@codesourcery.com>
2146
8915eace
JM
2147 * include/libc-internal.h (ignore_value): New macro.
2148 * nscd/connections.c (restart): Wrap calls to setuid and setgid
2149 with ignore_value.
2150
f1a5a0e3
JM
2151 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
2152 definition.
2153
59ef1715
JM
2154 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
2155 pthread_cleanup_push to void *.
2156
a6f3079b
JM
2157 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
2158 Undefine.
2159
706688aa
JM
2160 [BZ #16619]
2161 [BZ #16740]
2162 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
2163 instead of 1L << 52.
2164
12da14a5
JM
2165 * libio/bug-rewind.c (do_test): Check fwscanf return values.
2166 * libio/bug-rewind2.c (do_test): Likewise.
2167
bd5dadac
JM
2168 * debug/test-stpcpy_chk-ifunc.c: Remove file.
2169 * debug/test-strcpy_chk-ifunc.c: Likewise.
2170 * wcsmbs/test-wcschr-ifunc.c: Likewise.
2171 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2172 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2173 * wcsmbs/test-wcslen-ifunc.c: Likewise.
2174 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2175 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2176 * Rules [$(multi-arch) = no] (tests): Do not filter out
2177 $(tests-ifunc).
2178 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
2179 * debug/Makefile (tests-ifunc): Remove variable.
2180 (tests): Do not add $(tests-ifunc).
2181 * wcsmbs/Makefile (tests-ifunc): Remove variable.
2182 (tests): Do not add $(tests-ifunc).
2183 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
2184 [TEST_IFUNC]: Remove conditionals.
2185 * string/test-string.h (TEST_IFUNC): Remove macro.
2186 [TEST_IFUNC]: Remove conditionals.
2187
3b20fd5c
JM
2188 * string/test-strchr.c [!WIDE] (L): New macro.
2189 [WIDE] (L): Likewise.
2190 (check1): Use CHAR instead of char. Use L on string and character
2191 constants.
2192
704f7947
AZ
21932014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
2194
2195 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
2196 tests.
2197 * sysdeps/powerpc/bits/atomic.h
2198 (__arch_atomic_exchange_and_add_32_acq): Add definition.
2199 (__arch_atomic_exchange_and_add_32_rel): Likewise.
2200 (atomic_exchange_and_add_acq): Likewise.
2201 (atomic_exchange_and_add_rel): Likewise.
2202 * sysdeps/powerpc/powerpc32/bits/atomic.h
2203 (__arch_atomic_exchange_and_add_64_acq): Add definition.
2204 (__arch_atomic_exchange_and_add_64_rel): Likewise.
2205 * sysdeps/powerpc/powerpc64/bits/atomic.h
2206 (__arch_atomic_exchange_and_add_64_acq): Add definition.
2207 (__arch_atomic_exchange_and_add_64_rel): Likewise.
2208
cdcb42d7
TR
22092014-11-26 Torvald Riegel <triegel@redhat.com>
2210
2211 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
2212 Change synchronization of __sched_fifo_min_prio and
2213 __sched_fifo_max_prio.
2214 * nptl/pthread_mutexattr_getprioceiling.c
2215 (pthread_mutexattr_getprioceiling): Likewise.
2216 * nptl/pthread_mutexattr_setprioceiling.c
2217 (pthread_mutexattr_setprioceiling): Likewise.
2218 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
2219 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
2220 Likewise.
2221
c82f5c0c
JM
22222014-11-26 Joseph Myers <joseph@codesourcery.com>
2223
2224 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
2225 void.
2226
439e1ad6
JM
22272014-11-25 Joseph Myers <joseph@codesourcery.com>
2228
2229 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
2230 third argument const.
2231
b1eda10e
PE
22322014-11-25 Paul Eggert <eggert@cs.ucla.edu>
2233
2234 fnmatch: work around GCC compiler warning bug with uninit var
2235 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
2236 This works around a bug with x86-64 GCC 4.9.2 and earlier
2237 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
2238 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
2239 used uninitialized in this function [-Wmaybe-uninitialized]".
2240
bde2667a
JM
22412014-11-25 Joseph Myers <joseph@codesourcery.com>
2242
2243 * posix/bug-regex31.c (main): Return RES not 0.
2244
5fbb5691
AB
22452014-11-25 Anton Blanchard <anton@samba.org>
2246
2247 * sysdeps/powerpc/bits/atomic.h
2248 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
2249
467fec0b
BM
22502014-11-24 Sterling Augustine <saugustine@google.com>
2251
2252 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
2253
e9ff8efb
RC
22542014-11-24 Ryan Cumming <etaoins@gmail.com>
2255
2256 [BZ #17608]
2257 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
2258
9744496f
JM
22592014-11-24 Joseph Myers <joseph@codesourcery.com>
2260
2261 [BZ #17633]
2262 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
2263 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
2264 variable.
2265 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
2266 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
2267
6423d475
WD
22682014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
2269
2270 * string/strncpy.c (strncpy): Improve performance by using memset.
2271
22722014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
b863d2bc
WD
2273
2274 * string/strcpy.c (strcpy):
2275 Improve performance by using strlen and memcpy.
2276
5d178c37
LH
22772014-11-24 Leonhard Holz <leonhard.holz@web.de>
2278
2279 * string/strcoll_l.c (get_next_seq): __always_inline.
2280 * string/strcoll_l.c (do_compare): __always_inline.
2281
279bc5b3
SP
22822014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2283
7a9ebfa1
SP
2284 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
2285 defined.
2286 * include/mqueue.h: Likewise.
2287 * include/stdlib.h: Likewise.
2288
4f41c682
SP
2289 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
2290 (get_null_defines): Adjust.
2291 * sunrpc/Makefile: Adjust comment.
2292 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
2293 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
2294 (CFLAGS-interp.c): Likewise.
2295 (CFLAGS-ldconfig.c): Likewise.
2296 (CPPFLAGS-.os): Likewise.
2297 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2298 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2299 * extra-modules.mk (extra-modules.mk): Likewise.
2300 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
2301 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
2302 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
2303 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
2304 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
2305 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
2306 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
2307 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
2308 * iconvdata/Makefile (CPPFLAGS): Likewise.
2309 (cpp-srcs-left): Add libof for all iconvdata routines.
2310 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
2311 * include/assert.h: Likewise.
2312 * include/ctype.h: Likewise.
2313 * include/errno.h: Likewise.
2314 * include/libc-symbols.h: Likewise.
2315 * include/math.h: Likewise.
2316 * include/netdb.h: Likewise.
2317 * include/resolv.h: Likewise.
2318 * include/stdio.h: Likewise.
2319 * include/stdlib.h: Likewise.
2320 * include/string.h: Likewise.
2321 * include/sys/stat.h: Likewise.
2322 * include/wctype.h: Likewise.
2323 * intl/l10nflist.c: Likewise.
2324 * libidn/idn-stub.c: Likewise.
2325 * libio/libioP.h: Likewise.
2326 * nptl/libc_multiple_threads.c: Likewise.
2327 * nptl/pthreadP.h: Likewise.
2328 * posix/regex_internal.h: Likewise.
2329 * resolv/res_hconf.c: Likewise.
2330 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
2331 * sysdeps/arm/memmove.S: Likewise.
2332 * sysdeps/arm/sysdep.h: Likewise.
2333 * sysdeps/generic/_itoa.h: Likewise.
2334 * sysdeps/generic/symbol-hacks.h: Likewise.
2335 * sysdeps/gnu/errlist.awk: Likewise.
2336 * sysdeps/gnu/errlist.c: Likewise.
2337 * sysdeps/i386/i586/memcpy.S: Likewise.
2338 * sysdeps/i386/i586/memset.S: Likewise.
2339 * sysdeps/i386/i686/memcpy.S: Likewise.
2340 * sysdeps/i386/i686/memmove.S: Likewise.
2341 * sysdeps/i386/i686/mempcpy.S: Likewise.
2342 * sysdeps/i386/i686/memset.S: Likewise.
2343 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
2344 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2345 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
2346 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
2347 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2348 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2349 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
2350 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2351 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
2352 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
2353 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2354 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2355 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2356 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2357 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2358 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2359 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
2360 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
2361 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
2362 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2363 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2364 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2365 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2366 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2367 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2368 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2369 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
2370 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2371 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
2372 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
2373 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2374 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2375 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2376 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2377 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2378 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
2379 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2380 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2381 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
2382 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
2383 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2384 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2385 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
2386 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
2387 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2388 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2389 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
2390 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
2391 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2392 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
2393 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2394 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
2395 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
2396 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2397 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
2398 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
2399 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2400 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
2401 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
2402 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2403 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
2404 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2405 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
2406 * sysdeps/nptl/bits/libc-lock.h: Likewise.
2407 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2408 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
2409 * sysdeps/posix/closedir.c: Likewise.
2410 * sysdeps/posix/opendir.c: Likewise.
2411 * sysdeps/posix/readdir.c: Likewise.
2412 * sysdeps/posix/rewinddir.c: Likewise.
2413 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
2414 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
2415 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
2416 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2417 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2418 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
2419 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
2420 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
2421 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
2422 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
2423 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
2424 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
2425 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
2426 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
2427 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
2428 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
2429 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
2430 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
2431 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
2432 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
2433 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
2434 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
2435 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
2436 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
2437 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
2438 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
2439 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
2440 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
2441 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
2442 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
2443 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
2444 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
2445 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
2446 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
2447 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
2448 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
2449 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2450 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2451 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
2452 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
2453 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
2454 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
2455 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
2456 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
2457 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
2458 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
2459 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
2460 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
2461 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
2462 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
2463 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
2464 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
2465 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
2466 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
2467 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
2468 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
2469 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
2470 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
2471 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
2472 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
2473 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
2474 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
2475 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
2476 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
2477 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
2478 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
2479 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
2480 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
2481 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
2482 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
2483 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
2484 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
2485 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
2486 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
2487 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
2488 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
2489 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
2490 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
2491 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
2492 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
2493 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
2494 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
2495 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
2496 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
2497 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
2498 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
2499 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
2500 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
2501 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
2502 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2503 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
2504 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
2505 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
2506 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2507 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2508 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
2509 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2510 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2511 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
2512 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
2513 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2514 * sysdeps/unix/alpha/sysdep.S: Likewise.
2515 * sysdeps/unix/alpha/sysdep.h: Likewise.
2516 * sysdeps/unix/make-syscalls.sh: Likewise.
2517 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2518 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2519 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2520 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
2521 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2522 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
2523 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
2524 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2525 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2526 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
2527 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2528 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2529 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2530 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
2531 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2532 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
2533 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2534 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2535 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
2536 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2537 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
2538 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2539 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2540 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2541 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2542 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2543 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
2545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2546 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
2547 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2548 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2549 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
2550 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2551 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2552 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2553 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
2554 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2555 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2556 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2557 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2558 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2559 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2560 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2561 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2562 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2563 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2564 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2565 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2566 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2567 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2568 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2569 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2570 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2571 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2572 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2573 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2574 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2575 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
2576 * sysdeps/x86_64/memcpy.S: Likewise.
2577 * sysdeps/x86_64/memmove.c: Likewise.
2578 * sysdeps/x86_64/memset.S: Likewise.
2579 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
2580 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2581 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2582 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
2583 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
2584 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2585 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2586 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2587 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2588 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2589 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2590 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2591 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
2592 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2593 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2594 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
2595 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
2596 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2597 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
2598 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2599 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
2600 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2601 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2602 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
2603 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2604 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2605 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2606 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
2607 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
2608 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2609 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
2610 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2611 * sysdeps/x86_64/strcmp.S: Likewise.
2612
76ca86a5
SP
2613 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
2614
a3848485
SP
2615 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
2616 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
2617 * elf/rtld-Rules: Likewise.
2618 * elf/setup-vdso.h: Likewise.
2619 * include/assert.h: Likewise.
2620 * include/bits/stdlib-float.h: Likewise.
2621 * include/errno.h: Likewise.
2622 * include/sys/stat.h: Likewise.
2623 * include/unistd.h: Likewise.
2624 * sysdeps/aarch64/setjmp.S: Likewise.
2625 * sysdeps/alpha/setjmp.S: Likewise.
2626 * sysdeps/arm/__longjmp.S: Likewise.
2627 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
2628 * sysdeps/arm/setjmp.S: Likewise.
2629 * sysdeps/arm/sysdep.h: Likewise.
2630 * sysdeps/generic/_itoa.h: Likewise.
2631 * sysdeps/generic/dl-sysdep.h: Likewise.
2632 * sysdeps/generic/ldsodefs.h: Likewise.
2633 * sysdeps/i386/dl-tls.h: Likewise.
2634 * sysdeps/i386/setjmp.S: Likewise.
2635 * sysdeps/m68k/setjmp.c: Likewise.
2636 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
2637 * sysdeps/mach/hurd/opendir.c: Likewise.
2638 * sysdeps/posix/getcwd.c: Likewise.
2639 * sysdeps/posix/opendir.c: Likewise.
2640 * sysdeps/posix/profil.c: Likewise.
2641 * sysdeps/powerpc/dl-procinfo.h: Likewise.
2642 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2643 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
2644 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2645 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2646 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
2647 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2648 * sysdeps/s390/dl-tls.h: Likewise.
2649 * sysdeps/s390/s390-32/setjmp.S: Likewise.
2650 * sysdeps/s390/s390-64/setjmp.S: Likewise.
2651 * sysdeps/sh/sh3/setjmp.S: Likewise.
2652 * sysdeps/sh/sh4/setjmp.S: Likewise.
2653 * sysdeps/unix/alpha/sysdep.h: Likewise.
2654 * sysdeps/unix/arm/sysdep.S: Likewise.
2655 * sysdeps/unix/i386/sysdep.S: Likewise.
2656 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2657 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2658 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2659 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2660 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2661 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
2662 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2663 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2664 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2665 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
2666 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
2667 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2668 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2671 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2672 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2673 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2674 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2675 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2676 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2677 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2678 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2679 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2680 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2681 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2682 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2683 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2684 * sysdeps/x86_64/setjmp.S: Likewise.
2685
a109996e
SP
2686 * include/math.h: Use IS_IN instead of IS_IN_libm.
2687 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
2688 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2689 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2690 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
2691 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2692 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2693 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2694 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2695 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2696 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2697 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
2698 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
2699 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
2700 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
2701 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
2702 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
2703 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
2704 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
2705 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
2706 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
2707 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
2708 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
2709 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
2710 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
2711 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
2712 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
2713 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
2714 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
2715 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
2716 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
2717 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
2718 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
2719 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
2721 Likewise.
2722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
2723 Likewise.
2724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
2725 Likewise.
2726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
2727 Likewise.
2728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
2729 Likewise.
2730 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2731 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
2732 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2733 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2734 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2735 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2736 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
2737 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
2738 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
2739 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
2740 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
2741 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
2742 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
2743 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2744 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2745 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2746 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2747 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2748 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2749 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2750 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
2751 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2752 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2753 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2754 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
2755 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2756 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
2757
ce9f10f7
SP
2758 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
2759 * nptl/pthreadP.h: Likewise.
2760 * nptl_db/structs.def: Likewise.
2761 * sysdeps/arm/sysdep.h: Likewise.
2762 * sysdeps/nptl/bits/libc-lock.h: Likewise.
2763 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2764 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
2765 * sysdeps/unix/alpha/sysdep.h: Likewise.
2766 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2767 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2768 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2769 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2770 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2771 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2772 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2773 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2774 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2775 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2776 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2777 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2778 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2779 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
2781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2782 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2783 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2784 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2785 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2786 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2787 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2788 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2789 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2790 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
2791 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2792
016afc75
SP
2793 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
2794 * nptl/pthreadP.h: Likewise.
2795 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2796 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2797 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2798 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2799 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2800 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2801 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2802 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2803 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2804 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2805 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2806 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2808 Likewise.
2809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2810 Likewise.
2811 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2812 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2813 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2814 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2815 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2816 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2817 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2818 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2819
9b42a0b3
SP
2820 * dlfcn/dladdr.c: Use IS_IN.
2821 * dlfcn/dladdr1.c: Likewise.
2822 * dlfcn/dlclose.c: Likewise.
2823 * dlfcn/dlerror.c: Likewise.
2824 * dlfcn/dlinfo.c: Likewise.
2825 * dlfcn/dlmopen.c: Likewise.
2826 * dlfcn/dlopen.c: Likewise.
2827 * dlfcn/dlsym.c: Likewise.
2828 * dlfcn/dlvsym.c: Likewise.
2829
85f36372
SP
2830 * include/ifaddrs.h: Use IS_IN.
2831 * inet/check_pf.c: Likewise.
2832 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2833 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
2834
fb6784e3
SP
2835 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
2836 IS_IN_ldconfig.
2837 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
2838 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
2839
2886d2d1
SP
2840 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
2841 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
2842 IS_IN (libc).
2843
9a484857
SP
2844 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
2845
a10178bd
SP
2846 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
2847 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2848 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2849 * include/libc-symbols.h (IS_IN_LIB): New macro.
2850 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
2851 * include/netdb.h: Likewise.
2852 * include/stap-probe.h: Remove all uses of IN_LIB.
2853
279bc5b3
SP
2854 * Makeconfig (module-cppflags-real): Define MODULE_NAME
2855 instead of IN_MODULE.
2856 * include/libc-symbols.h (IN_MODULE): Define using
2857 MODULE_NAME.
2858 (PASTE_NAME, PASTE_NAME1): New macros.
2859 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
2860 of IN_LIB.
2861 (STAP_PROBE_ASM): Likewise.
2862
e0cfa510
ST
28632014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
2864
2865 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
2866 __mach_init in dlopened libc.
2867
34d97d87
MF
28682014-11-22 Mike Frysinger <vapier@gentoo.org>
2869
2870 * sysdeps/arm/preconfigure.ac: Delete EABI check.
2871 * sysdeps/arm/preconfigure: Regenerate.
2872
33cd1f74
RM
28732014-11-21 Roland McGrath <roland@hack.frob.com>
2874
2875 * nptl/pthread_create.c (__pthread_create_2_1): Set
2876 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
2877 when copying values from IATTR into PD.
2878
8c230039
WN
28792014-11-21 Will Newton <will.newton@linaro.org>
2880 Andrew Pinski <andrew.pinski@caviumnetworks.com>
2881
6d3db89b
AP
2882 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
2883 Refactor inline-asm. Also add comment.
2884
01194ba1
WN
2885 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
2886 ElfW macro instead of hardcoded Elf64 types.
2887 (la_aarch64_gnu_pltenter): Likewise.
2888 * sysdeps/aarch64/dl-machine.h
2889 (elf_machine_runtime_setup): Use ElfW(Addr).
2890
8c230039
WN
2891 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
2892 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
2893 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
2894 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
2895 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
2896 (R_AARCH64_TLS_DTPMOD64): Rename to ..
2897 (R_AARCH64_TLS_DTPMOD): This.
2898 (R_AARCH64_TLS_DTPREL64): Rename to ...
2899 (R_AARCH64_TLS_DTPREL): This.
2900 (R_AARCH64_TLS_TPREL64): Rename to ...
2901 (R_AARCH64_TLS_TPREL): This.
2902 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
2903 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
2904 R_AARCH64_TLS_TPREL64.
2905 (elf_machine_rela): Likewise.
2906
0d79fa53
TR
29072014-11-21 Torvald Riegel <triegel@redhat.com>
2908
2909 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
2910 by setting it to 0. 64b atomics are not supported currently.
2911
b59d114b
AO
29122014-11-21 Alexandre Oliva <aoliva@redhat.com>
2913
2914 [BZ #16469]
2915 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
2916 search domain names.
2917
f3d945d5
AO
29182014-11-21 Alexandre Oliva <aoliva@redhat.com>
2919
2920 [BZ #16469]
2921 * NEWS: Update.
2922 * resolv/res_query.c (__libc_res_nquerydomain): Retain
2923 trailing dot.
2924 * posix/tst-getaddrinfo5.c: New.
2925 * posix/Makefile (tests): Add it.
2926
49698902
AO
29272014-11-21 Alexandre Oliva <aoliva@redhat.com>
2928
2929 [BZ #14498]
2930 * NEWS: Fixed.
2931 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
2932 after parsing line but before break_if_match.
2933 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
2934 if there is a protocol mismatch.
2935
81959214
MS
29362014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
2937
2938 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
2939 because the potential race is on the user-supplied stream.
2940
7729e0e9
AO
29412014-11-21 Alexandre Oliva <aoliva@redhat.com>
2942
2943 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
2944 string literal if not passed a buffer.
2945 * manual/job.texi (ctermid): Update reasoning, note deviation
2946 from posix, suggest mtasurace when not passed a buffer, for
2947 future non-preliminary safety notes.
2948
a4ea5e28
AO
29492014-11-21 Alexandre Oliva <aoliva@redhat.com>
2950
2951 * manual/users.texi (cuserid): Fix MT-Safety note for the case
2952 of not passing it a buffer.
2953 Reported by Peng Haitao.
2954
a2b581cb
AO
29552014-11-21 Alexandre Oliva <aoliva@redhat.com>
2956
2957 * manual/Makefile ($(objpfx)stamp-summary): Require
2958 check-safety.sh to pass.
2959 * manual/check-safety.sh: Wish for verification that every
2960 @deftypefn and @deftypefun is followed by a @safety remark.
2961
f214ff74
RM
29622014-11-20 Roland McGrath <roland@hack.frob.com>
2963
7f0dfae0
RM
2964 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
2965
2f531bbb
RM
2966 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
2967 PTHREAD_CANCEL_ASYNCHRONOUS.
2968 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
2969 send SIGCANCEL.
2970
f214ff74
RM
2971 * nptl/default-sched.h: New file.
2972 * sysdeps/unix/sysv/linux/default-sched.h: New file.
2973 * nptl/pthread_create.c: Include it.
2974 (__pthread_create_2_1): Use collect_default_sched instead of making
2975 Linux syscalls here directly.
2976
e37c91d4
TR
29772014-11-20 Torvald Riegel <triegel@redhat.com>
2978
2979 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
2980 __pthread_once): Use C11 atomics.
2981
1eccfecd
TR
29822014-11-20 Torvald Riegel <triegel@redhat.com>
2983
2984 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
2985
ff871426
TR
29862014-11-20 Torvald Riegel <triegel@redhat.com>
2987
2988 * include/atomic.h (__atomic_link_error, __atomic_check_size,
2989 atomic_thread_fence_acquire, atomic_thread_fence_release,
2990 atomic_thread_fence_seq_cst, atomic_load_relaxed,
2991 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
2992 atomic_compare_exchange_weak_relaxed,
2993 atomic_compare_exchange_weak_acquire,
2994 atomic_compare_exchange_weak_release,
2995 atomic_exchange_acquire, atomic_exchange_release,
2996 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
2997 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
2998 atomic_fetch_and_acquire,
2999 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
3000
1ea339b6
TR
30012014-11-20 Torvald Riegel <triegel@redhat.com>
3002
3003 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
3004 USE_ATOMIC_COMPILER_BUILTINS): Define.
3005 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
3006 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3007 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
3008 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3009 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
3010 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3011 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
3012 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3013 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
3014 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3015 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
3016 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3017 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
3018 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3019 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
3020 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3021 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
3022 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3023 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
3024 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3025 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
3026 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3027 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
3028 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3029 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
3030 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3031 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
3032 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3033 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
3034 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3035 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
3036 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3037 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
3038 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3039 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
3040 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3041 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
3042 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3043 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
3044 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3045
cbd463e2
RM
30462014-11-19 Roland McGrath <roland@hack.frob.com>
3047
d960211f
RM
3048 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
3049 the sched_priority value here. It was already checked when the user
3050 called pthread_attr_setschedparam.
3051
cbd463e2
RM
3052 * nptl/tst-bad-schedattr.c: New file.
3053 * nptl/Makefile (tests): Add it.
3054
a39208bd
CD
30552014-11-19 Carlos O'Donell <carlos@redhat.com>
3056 Florian Weimer <fweimer@redhat.com>
3057 Joseph Myers <joseph@codesourcery.com>
3058 Adam Conrad <adconrad@0c3.net>
3059 Andreas Schwab <schwab@suse.de>
3060 Brooks <bmoses@google.com>
3061
3062 [BZ #17625]
3063 * wordexp-test.c (__dso_handle): Add prototype.
3064 (__register_atfork): Likewise.
3065 (__app_register_atfork): New function.
3066 (registered_forks): New global.
3067 (register_fork): New function.
3068 (test_case): Add 3 new tests for WRDE_CMDSUB.
3069 (main): Call __app_register_atfork.
3070 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
3071 fork count is non-zero fail the test.
3072 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
3073 is set.
3074 (parse_dollars): Remove check for WRDE_NOCMD.
3075 (parse_dquote): Likewise.
3076
9cd47470
SP
30772014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3078
130ac68c
SP
3079 * Makeconfig (built-modules): List non-library modules to be
3080 built.
3081 (module-cppflags): Include libc-modules.h for
3082 everything except shlib-versions.v.i.
3083 (CPPFLAGS): Use it.
3084 (before-compile): Add libc-modules.h.
3085 ($(common-objpfx)libc-modules.h,
3086 $(common-objpfx)libc-modules.stmp): New targets.
3087 (common-generated): Add libc-modules.h and libc-modules.stmp.
3088 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
3089 * include/libc-symbols.h: Don't include libc-modules.h.
3090 * include/libc-modules.h: Remove file.
3091 * scripts/gen-libc-modules.awk: New script to generate
3092 libc-modules.h.
3093 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
3094 Depend on libc-modules.stmp.
3095
286663c3
SP
3096 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
3097
9cd47470
SP
3098 * Makeconfig (in-module): Get value of libof set for the
3099 translation unit.
3100 (CPPFLAGS): Use $(in-module).
3101 * Makerules: Don't suffix routine names for nonlib.
3102 * include/libc-modules.h: New file.
3103 * include/libc-symbols.h: Include libc-modules.h
3104 (IS_IN): New macro to replace IS_IN_* macros.
3105 * elf/Makefile: Set libof-* for each routine.
3106 * elf/rtld-Rules: Likewise.
3107 * extra-modules.mk: Likewise.
3108 * iconv/Makefile: Likewise.
3109 * iconvdata/Makefile: Likewise.
3110 * locale/Makefile: Likewise.
3111 * malloc/Makefile: Likewise.
3112 * nss/Makefile: Likewise.
3113 * sysdeps/gnu/Makefile: Likewise.
3114 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
3115 * sysdeps/unix/sysv/linux/Makefile: Likewise.
3116 * sysdeps/s390/s390-64/Makefile: Likewise.
3117 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
3118 CPPFLAGS for nscd instead of nonlib.
3119
32fed10f
RM
31202014-11-18 Roland McGrath <roland@hack.frob.com>
3121
d71035bd
RM
3122 * nptl/createthread.c: New file.
3123
6540b991
RM
3124 * nptl/createthread.c: Moved ...
3125 * sysdeps/unix/sysv/linux/createthread.c: ... here.
3126
32fed10f
RM
3127 * nptl/createthread.c: Add proper top-line comment.
3128 (do_clone): Folded into ...
3129 (create_thread): ... here. Take new arguments STOPPED_START and
3130 THREAD_RAN. Always set PD->stopped_start to something here. Don't
3131 increment __nptl_threads, do event-reporting logic, do
3132 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
3133 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
3134 resource cleanup if sched_setaffinity or sched_setscheduler fails,
3135 just send SIGCANCEL.
3136 * nptl/pthread_create.c: Forward-declare create_thread before
3137 including createthread.c.
3138 (start_thread): Use new macro START_THREAD_DEFN to replace defining
3139 declaration, and new macro START_THREAD_SELF to replace argument.
3140 Remove return statement.
3141 (report_thread_creation): New function.
3142 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
3143 synchronization logic, and __nptl_nthreads increment here, around
3144 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
3145 PD->parent_cancelhandling here, before create_thread. When
3146 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
3147 __deallocate_stack, and ENOMEM translation here.
3148
107a5bf0
JM
31492014-11-18 Joseph Myers <joseph@codesourcery.com>
3150
3151 [BZ #17616]
3152 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
3153 (mptwo): Rename to __mptwo.
3154 (__inv): Use __mptwo instead of mptwo.
3155 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
3156 (mptwo): Rename to __mptwo.
3157 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
3158 of mpone and __mptwo instead of mptwo.
3159 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
3160 instead of mpone.
3161 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3162 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
3163 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
3164 of mpone and __mptwo instead of mptwo.
3165 (__mpranred): Use __mpone instead of mpone.
3166 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
3167 variable.
3168 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
3169 (test-xfail-ISO99/math.h/linknamespace): Likewise.
3170 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
3171 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
3172 (test-xfail-ISO11/math.h/linknamespace): Likewise.
3173 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
3174 (test-xfail-XPG3/math.h/linknamespace): Likewise.
3175 (test-xfail-XPG4/math.h/linknamespace): Likewise.
3176 (test-xfail-POSIX/math.h/linknamespace): Likewise.
3177 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
3178 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3179 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
3180 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
3181 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
3182 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3183 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3184 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3185 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3186 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3187
3b679ab3
TV
31882014-11-18 Tom de Vries <tom@codesoucery.com>
3189
3190 * manual/signal.texi (Primitives Interrupted by Signals): In section,
3191 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
3192
31932014-11-17 Richard Henderson <rth@redhat.com>
3194
3195 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
3196 (_FP_PACK_RAW_2): Remove.
3197 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
3198 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
3199 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
3200 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
3201 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
3202 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
3203 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
3204 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
3205 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
3206 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
3207 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
3208 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
3209 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
3210 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
3211 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
3212 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
3213
0781a777
RM
32142014-11-14 Roland McGrath <roland@hack.frob.com>
3215
3216 * signal/signal.h [__USE_MISC]
3217 (struct sigvec): Remove type.
3218 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
3219 (sigvec): Remove declaration.
3220 * sysdeps/posix/sigvec.c: Moved ...
3221 * signal/sigvec.c: ... here, replacing old file.
3222 (struct sigvec): New type, copied from old signal.h definition.
3223 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
3224 (__sigvec): Convert definition to prototype.
3225 (sigvec): Replace weak_alias with compat_symbol.
3226 * signal/Versions (libc: GLIBC_2.21): New version set.
3227 * include/signal.h: Remove __sigvec declaration.
3228 * sysdeps/unix/bsd/sigvec.c: Remove file.
3229 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
3230 * manual/signal.texi (BSD Handler): Remove subsection.
3231 Move siginterrupt up to ...
3232 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
3233 (Blocking in BSD): Fold subsection into its parent.
3234 * NEWS: Mention sigvec removal.
3235
a4733812
JM
32362014-11-14 Joseph Myers <joseph@codesourcery.com>
3237
5ae4fe60
JM
3238 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
3239 (DLA_FMS): Make definition conditional only on [__FMA4__].
3240 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
3241 definition.
3242
6a0dd472
JM
3243 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
3244 Make definition conditional only on [PROF].
3245 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
3246 definition.
3247 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
3248 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
3249
a4733812
JM
3250 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
3251 !__GNUC__].
3252 * include/signal.h (__sigpause): Move declaration above call to
3253 libc_hidden_proto.
3254 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
3255 variable.
3256 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
3257 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
3258
cf7246dd
DM
32592014-11-14 David S. Miller <davem@davemloft.net>
3260
3261 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
3262 Define before including <string/memcpy.c> and <string/mempcpy.c>.
3263
c1b0aadc
JM
32642014-11-14 Joseph Myers <joseph@codesourcery.com>
3265
4863355a
JM
3266 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
3267 * configure: Regenerated.
3268 * manual/install.texi (Tools for Compilation): Document a
3269 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
3270 compiler verified to work.
3271 * INSTALL: Regenerated.
3272
c1b0aadc
JM
3273 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
3274 redeclare with asm name.
3275 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
3276 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
3277 including <string.h>.
3278 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3279 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
3280 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3281 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
3282 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3283 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
3284 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3285
2a1cfd94
JM
32862014-11-13 Joseph Myers <joseph@codesourcery.com>
3287
bf438382
JM
3288 * stdlib/strtol.c (__strtol): Use prototype definition.
3289
2a1cfd94
JM
3290 [BZ #17594]
3291 * stdlib/strtol.c (SYM__): New macro.
3292 (SYM__1): Likewise.
3293 (__strtol): Likewise.
3294 (strtol): Rename to __strtol and define as weak alias of
3295 __strtol. Use libc_hidden_weak.
3296
20ed0d26
SL
32972014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3298
3299 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
3300 Use numbered labels in inline assembly.
3301
53244a4e
SL
33022014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3303
3304 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
3305 Add setjmp LIBC_PROBE.
3306 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
3307 Likewise.
3308 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
3309 Add longjmp, longjmp_target LIBC_PROBE.
3310 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
3311 Likewise.
3312
47df8251
SL
33132014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3314
3315 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3316 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
3317 to get rid of unused variable warning.
3318
618cebef
SL
33192014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3320
3321 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
3322 Check for unwind_backtrace == NULL only in SHARED case.
3323 (__backchain_backtrace): Compile only in SHARED case.
3324 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
3325 Likewise.
3326 (__backchain_backtrace): Declare as static.
3327
c6aab2cb
RM
33282014-11-12 Roland McGrath <roland@hack.frob.com>
3329
3330 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
3331 (__libc_multiple_threads_ptr): Variable moved ...
3332 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
3333
5a6fa4d7
JM
33342014-11-12 Joseph Myers <joseph@codesourcery.com>
3335
24f4f825
JM
3336 * conform/GlibcConform.pm: New file.
3337 * conform/conformtest.pl: Use GlibcConform module.
3338 * conform/linknamespace.pl: New file.
3339 * conform/list-header-symbols.pl: Likewise.
3340 * conform/Makefile (linknamespace-symlists-base): New variable.
3341 (linknamespace-symlists-tests): Likewise.
3342 (linknamespace-header-base): Likewise.
3343 (linknamespace-header-tests): Likewise.
3344 (tests-special): Add new tests.
3345 ($(linknamespace-symlists-tests)): New rule.
3346 (linknamespace-libs): New variable.
3347 ($(objpfx)symlist-stdlibs): New rule.
3348 ($(linknamespace-header-tests)): Likewise.
3349 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
3350 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
3351 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
3352 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
3353 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
3354 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
3355 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
3356 (test-xfail-ISO/math.h/linknamespace): Likewise.
3357 (test-xfail-ISO/signal.h/linknamespace): Likewise.
3358 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
3359 (test-xfail-ISO/time.h/linknamespace): Likewise.
3360 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
3361 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
3362 (test-xfail-ISO99/math.h/linknamespace): Likewise.
3363 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
3364 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3365 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
3366 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
3367 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
3368 (test-xfail-ISO11/math.h/linknamespace): Likewise.
3369 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
3370 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3371 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
3372 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
3373 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
3374 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
3375 (test-xfail-XPG3/math.h/linknamespace): Likewise.
3376 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
3377 (test-xfail-XPG3/search.h/linknamespace): Likewise.
3378 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
3379 (test-xfail-XPG3/time.h/linknamespace): Likewise.
3380 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
3381 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
3382 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
3383 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
3384 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
3385 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
3386 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
3387 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
3388 (test-xfail-XPG4/math.h/linknamespace): Likewise.
3389 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
3390 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3391 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
3392 (test-xfail-XPG4/search.h/linknamespace): Likewise.
3393 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
3394 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
3395 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
3396 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
3397 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
3398 (test-xfail-XPG4/time.h/linknamespace): Likewise.
3399 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
3400 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
3401 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
3402 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
3403 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
3404 (test-xfail-POSIX/math.h/linknamespace): Likewise.
3405 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
3406 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
3407 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
3408 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3409 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
3410 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3411 (test-xfail-POSIX/time.h/linknamespace): Likewise.
3412 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
3413 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
3414 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3415 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
3416 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
3417 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
3418 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
3419 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3420 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3421 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
3422 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
3423 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
3424 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3425 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3426 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
3427 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3428 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
3429 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
3430 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
3431 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
3432 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3433 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3434 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
3435 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3436 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
3437 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
3438 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
3439 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
3440 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3441 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
3442 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
3443 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
3444 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
3445 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
3446 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3447 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
3448 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
3449 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
3450 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
3451 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
3452 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3453 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
3454 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
3455 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3456 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
3457 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
3458 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
3459 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3460 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3461 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
3462 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
3463 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
3464 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3465 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
3466 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
3467 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
3468 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
3469 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
3470 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
3471 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
3472 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
3473 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
3474 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3475 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
3476 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3477 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
3478 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3479 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
3480 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
3481 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
3482 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3483 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3484 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3485 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3486 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
3487 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3488 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3489 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
3490 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
3491 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
3492 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
3493 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3494 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3495 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
3496 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3497 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
3498 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3499 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
3500 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
3501 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
3502 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3503 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
3504 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3505 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3506 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
3507 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3508 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3509 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
3510
cc67478e
JM
3511 [BZ #17589]
3512 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
3513 of fgets_unlocked.
3514
9975e3d3
JM
3515 [BZ #17585]
3516 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
3517 (memmem): Rename to __memmem and define as weak alias of
3518 __memmem. Use libc_hidden_weak.
3519 (__memmem): Use libc_hidden_def.
3520 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
3521 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
3522 memmem.
3523
c4eae752
JM
3524 [BZ #17582]
3525 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
3526 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
3527 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
3528 and define as weak alias of __fgets_unlocked. Use
3529 libc_hidden_weak.
3530 (__fgets_unlocked): Use libc_hidden_def.
3531 * include/stdio.h (__fgets_unlocked): Declare. Use
3532 libc_hidden_proto.
3533 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
3534 __fgets_unlocked instead of fgets_unlocked.
3535 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
3536 (GET_NPROCS_CONF_PARSER): Likewise.
3537 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
3538 (GET_NPROCS_CONF_PARSER): Likewise.
3539
01cad84e
JM
3540 [BZ #17574]
3541 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
3542 weak alias of __wmemset. Use libc_hidden_weak.
3543 (__wmemset): Use libc_hidden_def.
3544 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
3545 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
3546 of wmemset.
3547
939da411
JM
3548 [BZ #17573]
3549 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
3550 with asm name __mempcpy.
3551 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
3552
293d9a41
JM
3553 [BZ #17572]
3554 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
3555 and define as weak alias of __rawmemchr.
3556 (__rawmemchr): Do not define as strong alias of rawmemchr.
3557
bef8fd60
JM
3558 [BZ #17571]
3559 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
3560 alias of __qsort_r.
3561 (qsort): Call __qsort_r instead of qsort_r.
3562 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
3563 (__qsort_r): Declare. Call libc_hidden_proto.
3564 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
3565 instead of qsort_r.
3566 * nscd/gai.c (__qsort_r): Define to qsort_r.
3567 * posix/tst-rfc3484.c (__qsort_r): Likewise.
3568 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
3569 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
3570
c52ff39e
JM
3571 [BZ #17570]
3572 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
3573 define as weak alias of __malloc_info.
3574
2f5c1b00
JM
3575 [BZ #17584]
3576 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
3577 as weak alias of __rewinddir. Don't use libc_hidden_def.
3578 (__rewinddir): Use libc_hidden_def.
3579 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
3580 as weak alias of __rewinddir. Don't use libc_hidden_def.
3581 (__rewinddir): Use libc_hidden_def.
3582 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
3583 weak alias of __rewinddir. Don't use libc_hidden_def.
3584 (__rewinddir): Use libc_hidden_def.
3585 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
3586 (__rewinddir): Use libc_hidden_proto.
3587 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
3588 rewinddir.
3589 (__getcwd): Use __rewinddir instead of rewinddir.
3590
5a6fa4d7
JM
3591 [BZ #17583]
3592 * libio/fileno.c (fileno): Rename to __fileno and define as weak
3593 alias of __fileno. Use libc_hidden_weak.
3594 (__fileno): Use libc_hidden_def.
3595 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
3596 * libio/ftello.c (ftello): Rename to __ftello and define as weak
3597 alias of __ftello.
3598 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
3599 __ftello.
3600 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
3601 (__fread_unlocked): Define as strong alias of _IO_fread. Use
3602 libc_hidden_def.
3603 (fread_unlocked): Don't use libc_hidden_ver.
3604 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
3605 and define as weak alias of __fread_unlocked. Don't use
3606 libc_hidden_def.
3607 (__fread_unlocked): Use libc_hidden_def.
3608 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
3609 (ftello): Don't use libc_hidden_proto.
3610 (__ftello): Declare. Use libc_hidden_proto.
3611 (fread_unlocked): Don't use libc_hidden_proto.
3612 (__fread_unlocked): Declare. Use libc_hidden_proto.
3613 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
3614 and __ftello instead of fileno, fread_unlocked and ftello.
3615
2581b98e
SP
36162012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3617
3618 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
3619 GOT12.
3620 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
3621 Likewise.
3622 (_dl_start_user): Likewise.
3623 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
3624
533bb7c2
SP
36252014-11-12 Carlos O'Donell <carlos@redhat.com>
3626 Siddhesh Poyarekar <siddhesh@redhat.com>
3627
3628 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
3629 Move argv and envp down instead of moving argc up.
3630 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
3631
fffa1cf8
LH
36322014-11-12 Leonhard Holz <leonhard.holz@web.de>
3633
3634 [BZ #17506]
3635 * test-skeleton.c (main): Return successful if one of
3636 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
3637 * string/tst-strcoll-overflow.c: Define expected status.
3638
fb89b46d
TU
36392014-11-12 Tatiana Udalova <t.udalova@samsung.com>
3640
3641 [BZ #17475]
3642 * locale/iso-639.def: Define Bhili and Tulu language codes.
3643
5c40c3ba
AH
36442014-11-11 Alan Hayward <alan.hayward@arm.com>
3645
3646 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
3647
b17fe01b 36482014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
3649
3650 [BZ #17555]
3651 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
3652
bd805071
AS
36532014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
3654
3655 * configure.ac: Updated check of minimal required version to
3656 2.22.
3657 * manual/install.texi (Tools for Compilation): Updated version
3658 number.
3659 * configure: Regenerated.
3660 * INSTALL: Likewise.
3661
1400983e
AS
36622014-11-07 Andreas Schwab <schwab@linux-m68k.org>
3663
3664 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
3665 __tls_get_addr.
3666
2c46a66a
JM
36672014-11-07 Joseph Myers <joseph@codesourcery.com>
3668
3669 * include/sys/wait.h (__libc_waitpid): Remove declaration.
3670 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
3671 (__waitpid): Don't define as alias. Use libc_hidden_def not
3672 libc_hidden_weak.
3673 (waitpid): Define as alias of __waitpid.
3674 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
3675 __waitpid.
3676 (__waitpid): Don't define as alias. Use libc_hidden_def not
3677 libc_hidden_weak.
3678 (waitpid): Define as alias of __waitpid.
3679 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
3680 __libc_waitpid alias.
3681 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
3682 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
3683 Likewise.
3684 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
3685 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
3686 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
3687 alias.
3688 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
3689 __waitpid.
3690 (__waitpid): Don't define as alias. Use libc_hidden_def not
3691 libc_hidden_weak.
3692 (waitpid): Define as alias of __waitpid.
3693
da53d6db
CD
36942014-11-06 Carlos O'Donell <carlos@redhat.com>
3695
a2887bdb
CD
3696 * manual/llio.texi: Add comment that write safety has been
3697 fixed in Linux.
3698
da53d6db
CD
3699 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
3700 (localplt-build-dso): Add elf/ld.so.
3701 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
3702 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
3703 and free for ld.so.
3704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
3705 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
3706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
3707 Likewise.
3708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3709 Likewise.
3710 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
3711 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
3712 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
3713 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
3714 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
3715 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
3716 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
3717 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
3718 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
3719 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
3720 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
3721
9cf27b8d
JM
37222014-11-05 Joseph Myers <joseph@codesourcery.com>
3723
3724 [BZ #14132]
3725 * include/libc-symbols.h (INTUSE): Remove macro.
3726 (INTDEF): Likewise.
3727 (INTVARDEF): Likewise.
3728 (_INTVARDEF): Likewise.
3729 (INTDEF2): Likewise.
3730 (INTVARDEF2): Likewise.
3731 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
3732 rtld_hidden_def instead of INTVARDEF.
3733 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
3734 (_dl_starting_up_internal): Remove declaration.
3735 (_dl_starting_up): Use rtld_hidden_proto.
3736 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
3737 declaration.
3738 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
3739 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
3740 _dl_starting_up.
3741 * elf/dl-writev.h (_dl_writev): Likewise.
3742 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
3743 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
3744 _dl_starting_up_internal.
3745
af83568d
AZ
37462014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3747
3748 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
3749 test-skeleton.c.
3750
b01ee67c
WN
37512014-11-05 Will Newton <will.newton@linaro.org>
3752
3753 * benchtests/Makefile: (bench-malloc): Add malloc thread
3754 scalability benchmark.
3755 * benchtests/bench-malloc-threads.c: New file.
3756
be9d4ccc
RE
37572014-11-05 Richard Earnshaw <rearnsha@arm.com>
3758
3759 * sysdeps/aarch64/strchrnul.S: New file.
3760
7110166d
AZ
37612014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3762
3763 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
3764 definition.
3765 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3766 Likwise.
3767 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3768 Likewise.
3769 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3770 Likewise.
3771 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3772 Likewise.
3773 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3774 Likewise.
3775
37762014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
3777
3778 * catgets/test-gencat.c: Use test-skeleton.c.
3779 * catgets/tst-catgets.c: Likewise.
3780 * csu/tst-empty.c: Likewise.
3781 * elf/tst-audit2.c: Likewise.
3782 * elf/tst-global1.c: Likewise.
3783 * elf/tst-pathopt.c: Likewise.
3784 * elf/tst-piemod1.c: Likewise.
3785 * elf/tst-tls10.c: Likewise.
3786 * elf/tst-tls11.c: Likewise.
3787 * elf/tst-tls12.c: Likewise.
3788 * gnulib/tst-gcc.c: Likewise.
3789 * iconvdata/tst-e2big.c: Likewise.
3790 * iconvdata/tst-loading.c: Likewise.
3791 * iconv/tst-iconv1.c: Likewise.
3792 * iconv/tst-iconv2.c: Likewise.
3793 * inet/test-inet6_opt.c: Likewise.
3794 * inet/tst-gethnm.c: Likewise.
3795 * inet/tst-network.c: Likewise.
3796 * inet/tst-ntoa.c: Likewise.
3797 * intl/tst-codeset.c: Likewise.
3798 * intl/tst-gettext2.c: Likewise.
3799 * intl/tst-gettext3.c: Likewise.
3800 * intl/tst-ngettext.c: Likewise.
3801 * intl/tst-translit.c: Likewise.
3802 * io/test-stat.c: Likewise.
3803 * libio/test-fmemopen.c: Likewise.
3804 * libio/tst-freopen.c: Likewise.
3805 * libio/tst-sscanf.c: Likewise.
3806 * libio/tst-ungetwc1.c: Likewise.
3807 * libio/tst-ungetwc2.c: Likewise.
3808 * libio/tst-widetext.c: Likewise.
3809 * localedata/tst-ctype.c: Likewise.
3810 * localedata/tst-digits.c: Likewise.
3811 * localedata/tst-leaks.c: Likewise.
3812 * localedata/tst-mbswcs1.c: Likewise.
3813 * localedata/tst-mbswcs2.c: Likewise.
3814 * localedata/tst-mbswcs3.c: Likewise.
3815 * localedata/tst-mbswcs4.c: Likewise.
3816 * localedata/tst-mbswcs5.c: Likewise.
3817 * localedata/tst-setlocale.c: Likewise.
3818 * localedata/tst-trans.c: Likewise.
3819 * localedata/tst-wctype.c: Likewise.
3820 * localedata/tst-xlocale1.c: Likewise.
3821 * login/tst-grantpt.c: Likewise.
3822 * malloc/tst-calloc.c: Likewise.
3823 * malloc/tst-malloc.c: Likewise.
3824 * malloc/tst-mallocstate.c: Likewise.
3825 * malloc/tst-mcheck.c: Likewise.
3826 * malloc/tst-mtrace.c: Likewise.
3827 * malloc/tst-obstack.c: Likewise.
3828 * math/atest-exp2.c: Likewise.
3829 * math/atest-exp.c: Likewise.
3830 * math/atest-sincos.c: Likewise.
3831 * math/test-matherr.c: Likewise.
3832 * math/test-misc.c: Likewise.
3833 * math/test-powl.c: Likewise.
3834 * math/tst-definitions.c: Likewise.
3835 * misc/tst-dirname.c: Likewise.
3836 * misc/tst-efgcvt.c: Likewise.
3837 * misc/tst-fdset.c: Likewise.
3838 * misc/tst-hsearch.c: Likewise.
3839 * misc/tst-mntent2.c: Likewise.
3840 * nptl/tst-sem7.c: Likewise.
3841 * nptl/tst-sem8.c: Likewise.
3842 * nptl/tst-sem9.c: Likewise.
3843 * nss/test-netdb.c: Likewise.
3844 * posix/tst-fnmatch.c: Likewise.
3845 * posix/tst-getlogin.c: Likewise.
3846 * posix/tst-gnuglob.c: Likewise.
3847 * posix/tst-mmap.c: Likewise.
3848 * pwd/tst-getpw.c: Likewise.
3849 * resolv/tst-inet_ntop.c: Likewise.
3850 * rt/tst-timer.c: Likewise.
3851 * stdio-common/test-fseek.c: Likewise.
3852 * stdio-common/test-popen.c: Likewise.
3853 * stdio-common/test-vfprintf.c: Likewise.
3854 * stdio-common/tst-cookie.c: Likewise.
3855 * stdio-common/tst-fileno.c: Likewise.
3856 * stdio-common/tst-gets.c: Likewise.
3857 * stdio-common/tst-obprintf.c: Likewise.
3858 * stdio-common/tst-perror.c: Likewise.
3859 * stdio-common/tst-sprintf2.c: Likewise.
3860 * stdio-common/tst-sprintf3.c: Likewise.
3861 * stdio-common/tst-sprintf.c: Likewise.
3862 * stdio-common/tst-swprintf.c: Likewise.
3863 * stdio-common/tst-tmpnam.c: Likewise.
3864 * stdio-common/tst-unbputc.c: Likewise.
3865 * stdio-common/tst-wc-printf.c: Likewise.
3866 * stdlib/tst-environ.c: Likewise.
3867 * stdlib/tst-fmtmsg.c: Likewise.
3868 * stdlib/tst-limits.c: Likewise.
3869 * stdlib/tst-rand48-2.c: Likewise.
3870 * stdlib/tst-rand48.c: Likewise.
3871 * stdlib/tst-random2.c: Likewise.
3872 * stdlib/tst-random.c: Likewise.
3873 * stdlib/tst-strtol.c: Likewise.
3874 * stdlib/tst-strtoll.c: Likewise.
3875 * stdlib/tst-tls-atexit.c: Likewise.
3876 * stdlib/tst-xpg-basename.c: Likewise.
3877 * string/test-ffs.c: Likewise.
3878 * string/tst-bswap.c: Likewise.
3879 * string/tst-inlcall.c: Likewise.
3880 * string/tst-strtok.c: Likewise.
3881 * string/tst-strxfrm.c: Likewise.
3882 * sysdeps/x86_64/tst-audit10.c: Likewise.
3883 * sysdeps/x86_64/tst-audit3.c: Likewise.
3884 * sysdeps/x86_64/tst-audit4.c: Likewise.
3885 * sysdeps/x86_64/tst-audit5.c: Likewise.
3886 * time/tst-ftime_l.c: Likewise.
3887 * time/tst-getdate.c: Likewise.
3888 * time/tst-mktime3.c: Likewise.
3889 * time/tst-mktime.c: Likewise.
3890 * time/tst-posixtz.c: Likewise.
3891 * time/tst-strptime2.c: Likewise.
3892 * time/tst-strptime3.c: Likewise.
3893 * wcsmbs/tst-btowc.c: Likewise.
3894 * wcsmbs/tst-mbrtowc.c: Likewise.
3895 * wcsmbs/tst-mbsrtowcs.c: Likewise.
3896 * wcsmbs/tst-wchar-h.c: Likewise.
3897 * wcsmbs/tst-wcpncpy.c: Likewise.
3898 * wcsmbs/tst-wcrtomb.c: Likewise.
3899 * wcsmbs/tst-wcsnlen.c: Likewise.
3900 * wcsmbs/tst-wcstof.c: Likewise.
3901
2004e7fb
JM
39022014-11-04 Joseph Myers <joseph@codesourcery.com>
3903
ab97ee8f
JM
3904 [BZ #14132]
3905 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
3906 INTDEF.
3907 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
3908 declaration.
3909 (_dl_mcount): Use rtld_hidden_proto.
3910 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
3911 _dl_mcount.
3912 * elf/rtld.c (_rtld_global_ro): Likewise.
3913
c5684fdb
JM
3914 [BZ #14132]
3915 * elf/dl-init.c (_dl_init): Don't use INTDEF.
3916 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
3917 of _dl_init_internal.
3918 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
3919 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
3920 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
3921 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
3922 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
3923 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
3924 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
3925 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
3926 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
3927 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
3928 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
3929 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
3930 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3931 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3932 * sysdeps/tile/dl-start.S (_start): Likewise.
3933 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
3934 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
3935
4243cbea
JM
3936 [BZ #14132]
3937 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
3938 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
3939 (rtld_progname): Make macro definition unconditional.
3940 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
3941 INTDEF.
3942 (dlmopen_doit): Do not use INTUSE with _dl_argv.
3943 (dl_main): Likewise.
3944 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
3945 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
3946 instead of _dl_argv_internal.
3947 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3948 __GI__dl_argv instead of INTUSE(_dl_argv).
3949 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
3950 __GI__dl_argv instead of _dl_argv_internal.
3951
2004e7fb
JM
3952 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
3953 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
3954 macro.
3955 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
3956 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
3957 New macro.
3958 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
3959 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
3960 macro.
3961 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
3962 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
3963
97827bfc
AS
39642014-11-04 Andreas Schwab <schwab@suse.de>
3965
3966 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
3967
5e4df284
AZ
39682014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3969
3970 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
3971 mtvsrd instruction in binary form.
3972
04b76b5a
AS
39732014-11-03 Andreas Schwab <schwab@suse.de>
3974
3975 [BZ #17522]
3976 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
3977 for less than MB_LEN_MAX use a local buffer of that size.
3978 * libio/tst-fputws.c: New file.
3979 * libio/Makefile (tests): Add tst-fputws.
3980
4c6da7da
JM
39812014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
3982
3983 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
3984 the size of the fpu_fr.fpu_dregs[] array.
3985
1679ba8e
JM
39862014-11-01 Joseph Myers <joseph@codesourcery.com>
3987
3988 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
3989 (__nanosleep): Do not define as alias.
3990 (nanosleep): Define as alias of __nanosleep.
3991 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
3992 __libc_nanosleep name.
3993
2626c183
JM
39942014-10-31 Joseph Myers <joseph@codesourcery.com>
3995
3996 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
3997 install.texi in comment.
3998
7f981fc2
TR
39992014-10-31 Torvald Riegel <triegel@redhat.com>
4000
4001 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
4002 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
4003 ... add here and use lwsync or sync ...
4004 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
4005 ... and add here using lwsync.
4006
d6f373d2
MF
40072014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
4008
4009 * elf/dl-machine-reject-phdr.h: New file.
4010 * elf/dl-load.c: #include that.
4011 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
4012 if that returned true.
4013
67c37987
RM
40142014-10-31 Roland McGrath <roland@hack.frob.com>
4015
4016 [BZ #17496]
4017 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
4018 gen-as-const-headers chunk. Add a big scare comment after the last
4019 safe place to touch before-compile.
4020
94a42455 40212014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 4022
f3f5d895
JM
4023 * manual/install.texi (Tools for Compilation): Update autoconf
4024 version requirements.
4025 * INSTALL: Regenerated.
4026
f62ff286
JM
4027 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
4028 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
4029 (__libc_pselect): Likewise.
94a42455
JM
4030
4031 [BZ #14138]
4032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
4033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4036
ff9dbdc0
TR
40372014-10-31 Torvald Riegel <triegel@redhat.com>
4038
4039 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
4040 correct barrier instruction.
4041 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
4042 Likewise.
4043 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
4044 Likewise.
4045
b4f66884
RM
40462014-10-30 Roland McGrath <roland@hack.frob.com>
4047
4048 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
4049 after defining inlines. Instead, just use parens to defeat macro
4050 expansion of __isctype in its declaration.
4051
e19c95fd
JM
40522014-10-30 Joseph Myers <joseph@codesourcery.com>
4053
4054 * include/sys/uio.h (__libc_readv): Remove declaration.
4055 (__libc_writev): Likewise.
4056 * misc/readv.c (__libc_readv): Rename to __readv.
4057 (__readv): Do not define as alias.
4058 (readv): Define as alias of __readv.
4059 * misc/writev.c (__libc_writev): Rename to __writev.
4060 (__writev): Do not define as alias.
4061 (writev): Define as alias of __writev.
4062 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
4063 (__readv): Do not define as alias.
4064 (readv): Define unconditionally as alias of __readv.
4065 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
4066 (__writev): Do not define as alias.
4067 (writev): Define unconditionally as alias of __writev.
4068 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
4069 name.
4070 (writev): Do not define __libc_writev name.
4071
65b00b6c
RM
40722014-10-30 Roland McGrath <roland@hack.frob.com>
4073
4074 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
4075 (convert_charseq): New function, broken out of ...
4076 (use_from_charmap): ... here. Call it.
4077 (use_to_charmap): Use convert_charseq and free instead of duplicating
4078 its code with a variable-length stack struct.
4079
d4e157aa
JM
40802014-10-30 Joseph Myers <joseph@codesourcery.com>
4081
4082 * include/fcntl.h (__libc_creat): Remove declaration.
4083 * io/creat.c (__libc_creat): Rename to creat.
4084 (creat): Do not define as alias.
4085 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
4086 of creat instead of __libc_creat.
4087 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
4088 to creat.
4089 (creat): Do not define as alias.
4090 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
4091 __libc_creat.
4092 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
4093 __libc_creat name.
4094 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
4095 Likewise.
4096
0c6891a0
CD
40972014-10-29 Carlos O'Donell <carlos@redhat.com>
4098
4099 * manual/llio.texi: Add comments discussing why write() may be
4100 considered MT-unsafe on Linux.
4101
cc00cece
CD
41022014-10-28 Carlos O'Donell <carlos@redhat.com>
4103
4104 * dl-load.c (local_strdup): Remove.
4105 (expand_dynamic_string_token): Use __strdup.
4106 (decompose_rpath): Likewise.
4107 (_dl_map_object): Likewise.
4108
51e623f2
JM
41092014-10-28 Joseph Myers <joseph@codesourcery.com>
4110
4111 [BZ #14132]
4112 * sysdeps/generic/unwind-dw2-fde.c
4113 (__register_frame_info_bases_internal): Do not declare.
4114 (__register_frame_info_table_bases_internal): Likewise.
4115 (__deregister_frame_info_bases_internal): Likewise.
4116 (__register_frame_info_bases): Declare and use hidden_proto before
4117 definition. Use hidden_def instead of INTDEF.
4118 (__register_frame_info_table_bases): Likewise.
4119 (__deregister_frame_info_bases): Likewise.
4120 (__register_frame_info): Do not use INTUSE.
4121 (__register_frame): Likewise.
4122 (__register_frame_info_table): Likewise.
4123 (__register_frame_table): Likewise.
4124 (__deregister_frame_info): Likewise.
4125 (__deregister_frame): Likewise.
4126
03d41216
GC
41272014-10-27 Gratian Crisan <gratian.crisan@ni.com>
4128
4129 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4130 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
4131 not undefine.
4132 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
4133 Likewise.
4134 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
4135 Likewise.
4136
a4b3624d
JM
41372014-10-27 Joseph Myers <joseph@codesourcery.com>
4138
4139 [BZ #14138]
4140 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
4141 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
4142 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
4143 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
4144 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
4145 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
4146 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
4147 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
4148 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
4149 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
4150 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
4151 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
4152 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
4153 syscall.
4154 (setfsuid): Likewise.
4155 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
4156 (setfsuid): Likewise.
4157 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
4158 (setfsuid): Likewise.
4159 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
4160 Likewise.
4161 (setfsuid): Likewise.
4162 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
4163 (setfsuid): Likewise.
4164 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
4165 Likewise.
4166 (setfsuid): Likewise.
4167
3574f2fd
AS
41682014-10-27 Andreas Schwab <schwab@suse.de>
4169
4170 [BZ #17501]
4171 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
4172 check for Slow_SSE4_2 feature bit.
4173 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
4174 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
4175 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
4176 Likewise. Fix check for Fast_Unaligned_Load feature bit.
4177
70996a37
RM
41782014-10-24 Roland McGrath <roland@hack.frob.com>
4179
461a7b1e
RM
4180 * configure.ac: Validate compiler version with a empirical test of
4181 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
4182 $CC -v output.
4183 * configure: Regenerated.
4184
70996a37
RM
4185 * inet/htons.c (htons): Prototypify.
4186 * inet/htonl.c (htonl): Likewise.
4187
e80514b5
WD
41882014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4189
4190 * string/strncat.c (strncat): Improve performance by using strlen.
4191
6e46de42
WD
41922014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4193
4194 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
4195
6a9ad2fa
WD
41962014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4197
4198 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
4199 Call libc_fetestexcept_aarch64.
4200
1c8810ed
WD
42012014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4202
4203 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
4204 Call libc_feholdexcept_aarch64.
4205
8b1af712
WD
42062014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4207
4208 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
4209 Call get_rounding_mode.
4210
a7b00c11
WD
42112014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4212
4213 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
4214 Simplify logic.
4215
3a84f1a6
WD
42162014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4217
4218 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
4219 Simplify logic.
4220
48eb7a94
JM
42212014-10-24 Joseph Myers <joseph@codesourcery.com>
4222
c8bc4038
JM
4223 [BZ #14138]
4224 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
4225 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
4226 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
4227 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
4228 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
4229 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
4230 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
4231 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
4232 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
4233 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
4234 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4235 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
4236 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
4237 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
4238 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
4239 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
4240 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
4241 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
4242 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
4243 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
4244 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
4245 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
4246 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
4247 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
4248 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
4249 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
4250 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
4251 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
4252 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
4253 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
4254 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
4255 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
4256 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
4257 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
4258 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
4259 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
4260 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
4261 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
4262 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
4263 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
4264 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
4265 syscall.
4266 (geteuid): Likewise.
4267 (getgid): Likewise.
4268 (getuid): Likewise.
4269 (getresgid): Likewise.
4270 (getresuid): Likewise.
4271 (getgroups): Likewise.
4272 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
4273 (geteuid): Likewise.
4274 (getgid): Likewise.
4275 (getuid): Likewise.
4276 (getresgid): Likewise.
4277 (getresuid): Likewise.
4278 (getgroups): Likewise.
4279 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
4280 (geteuid): Likewise.
4281 (getgid): Likewise.
4282 (getuid): Likewise.
4283 (getresgid): Likewise.
4284 (getresuid): Likewise.
4285 (getgroups): Likewise.
4286 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
4287 Likewise.
4288 (geteuid): Likewise.
4289 (getgid): Likewise.
4290 (getuid): Likewise.
4291 (getresgid): Likewise.
4292 (getresuid): Likewise.
4293 (getgroups): Likewise.
4294 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
4295 (geteuid): Likewise.
4296 (getgid): Likewise.
4297 (getuid): Likewise.
4298 (getresgid): Likewise.
4299 (getresuid): Likewise.
4300 (getgroups): Likewise.
4301 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
4302 Likewise.
4303 (geteuid): Likewise.
4304 (getgid): Likewise.
4305 (getuid): Likewise.
4306 (getgroups): Likewise.
4307
48eb7a94
JM
4308 [BZ #14138]
4309 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
4310 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
4311 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
4312 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
4313 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
4314 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
4315 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
4316 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
4317 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
4318 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
4319 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
4320 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
4321 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
4322 __chown.
4323 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
4324 (lchown): Likewise.
4325 (fchown): Likewise.
4326 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
4327 Likewise.
4328 (lchown): Likewise.
4329 (fchown): Likewise.
4330 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
4331 (lchown): Likewise.
4332 (fchown): Likewise.
4333 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
4334 Likewise.
4335 (lchown): Likewise.
4336 (fchown): Likewise.
4337
ea9a7c8b
WD
43382014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4339
4340 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
4341 Simplify logic.
4342
e226de33
WD
43432014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4344
4345 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
4346 Cleanup logic.
4347
6e3d8ed3
WD
43482014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4349
4350 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
4351 Remove unused include.
4352
eb04247d
WD
43532014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4354
4355 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
4356 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
4357 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
4358 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
4359
13d84554
CD
43602014-10-23 Carlos O'Donell <carlos@systemhalted.org>
4361 Helge Deller <deller@gmx.de>
4362
4363 [BZ #17508]
4364 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
4365 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
4366 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
4367
15f9c5df
JM
43682014-10-23 Joseph Myers <joseph@codesourcery.com>
4369
4370 [BZ #14132]
4371 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
4372 Remove macro definition.
4373 (__ashrdi3_v_glibc20): Likewise.
4374 (__lshrdi3_v_glibc20): Likewise.
4375 (__cmpdi2_v_glibc20): Likewise.
4376 (__ucmpdi2_v_glibc20): Likewise.
4377 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
4378 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4379 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4380 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4381 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4382 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
4383
c6dfed24
RM
43842014-10-22 Roland McGrath <roland@hack.frob.com>
4385
4386 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
4387 old GNU extension [0] syntax.
4388 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
4389 alloca rather than an array member with variable length.
4390 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
4391 * nscd/nscd.c (invalidate_db): New function, broken out of ...
4392 (parse_opt): ... here. Likewise use alloca there.
4393 Validate the -i argument before checking for rootness.
4394 (send_shutdown): New function, broken out of ...
4395 (parse_opt): ... here.
4396
8c2b1ed8
RM
43972014-10-22 Roland McGrath <roland@hack.frob.com>
4398
4399 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
4400 macro to get at the _rt_local_ro field.
4401 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
4402 ([PIC] case) or _dl_hwcap ([!PIC] case).
4403 * sysdeps/arm/setjmp.S: Likewise.
4404
4405 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
4406 * sysdeps/arm/configure.ac: New check to define it.
4407 * sysdeps/arm/configure: Regenerated.
4408 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
4409 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
4410 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
4411 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
4412 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
4413 Use move/movt pair instead of a load.
4414 (LDST_GLOBAL): Macro removed.
4415 (LDR_GLOBAL): New macro replaces it.
4416 (LDR_HIDDEN): New macro.
4417 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
4418 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
4419
4420 * setjmp/tst-setjmp-static.c: New file.
4421 * setjmp/Makefile (tests): Add it.
4422 (tests-static): New variable.
4423
b5af9297
MR
44242014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
4425
4426 [BZ #17485]
4427 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
4428
a13d0d74
JM
44292014-10-21 Joseph Myers <joseph@codesourcery.com>
4430
4431 [BZ #14132]
4432 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
4433
f05e73f6
RM
44342014-10-21 Roland McGrath <roland@hack.frob.com>
4435
4436 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
4437
6ab1d1ea
RM
44382014-10-20 Roland McGrath <roland@hack.frob.com>
4439
4440 * io/fts.c (dirent_not_directory): New function.
4441 (fts_build): Call it.
4442
ab49e763
RM
44432014-10-20 Roland McGrath <roland@hack.frob.com>
4444
e436eb79
RM
4445 * nptl/version.c (__nptl_main): Use normal __write rather than
4446 INTERNAL_SYSCALL.
4447 (banner): Update copyright years.
4448
6af246cf
RM
4449 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
4450 gettimeofday.
4451 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
4452 * nptl/pthread_cond_timedwait.c: Likewise.
4453 * nptl/pthread_mutex_timedlock.c: Likewise.
4454 * nptl/sem_timedwait.c: Likewise.
4455
ab49e763
RM
4456 * sysdeps/nptl/bits/libc-lock.h
4457 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4458 (__libc_lock_init_recursive): Return void, not 0.
4459 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
4460 (__libc_rwlock_init): Likewise.
4461 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
4462
f50277c1
TR
44632014-10-20 Torvald Riegel <triegel@redhat.com>
4464
4465 [BZ #15215]
4466 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
4467 (__pthread_once_slow): ... here.
4468 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
4469 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
4470
63668b70
TR
44712014-10-20 Torvald Riegel <triegel@redhat.com>
4472
4473 [BZ #15215]
4474 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
4475 __PTHREAD_ONCE_FORK_GEN_INCR): New.
4476 * sysdeps/nptl/fork.c (__libc_fork): Use them.
4477 * nptl/pthread_once.c (__pthread_once): Likewise.
4478 Update comments.
4479
42b7f5d4
JM
44802014-10-20 Joseph Myers <joseph@codesourcery.com>
4481
4482 [BZ #14138]
4483 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
4484 name.
4485 (writev): Use __libc_writev as strong name.
4486 * sysdeps/unix/sysv/linux/readv.c: Remove file.
4487 * sysdeps/unix/sysv/linux/writev.c: Likewise.
4488
b0643088
RM
44892014-10-17 Roland McGrath <roland@hack.frob.com>
4490
114c4e09
RM
4491 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
4492
674b8978
RM
4493 * sysdeps/i386/nptl/tls.h
4494 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
4495 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
4496 New macros.
4497 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
4498 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
4499 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
4500 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
4501 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
4502 Call CHECK_THREAD_SYSINFO instead of doing an assert.
4503
184ee940
RM
4504 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
4505 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
4506 on [__NR_futex].
4507 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
4508 broken out of ...
4509 (__pthread_mutex_init): ... here. Call it.
4510 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
4511 Conditionalize PI cases on [__NR_futex].
4512 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
4513 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
4514 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4515
327ae257
RM
4516 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
4517 conditional on [SIGSETXID].
4518 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
4519 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
4520 is defined. Likewise for SIGSETXID.
4521 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
4522 Conditionalize definitions on [SIGSETXID].
4523 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
4524 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
4525 unblocking on [SIGCANCEL].
4526
b0643088
RM
4527 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
4528 [__NR_set_robust_list].
4529
33cc770b
SP
45302014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4531
4532 * string/strcoll_l.c (get_next_seq): Fix up formatting.
4533 (do_compare): Likewise.
4534
0742aef6
LH
45352014-10-17 Leonhard Holz <leonhard.holz@web.de>
4536
4537 [BZ #15884]
4538 * string/strcoll_l.c: Don't include stdio.h.
4539 (coll_seq): Remove members idxarr and rulearr.
4540 (get_next_seq_cached): Remove function.
4541 (get_next_seq): Likewise.
4542 (get_next_seq_nocache): Rename to get_next_seq.
4543 (do_compare): Remove function.
4544 (do_compare_nocache): Rename to do_compare.
4545 (STRCOLL): Remove weight and rules cache.
4546
ee54ce44
RM
45472014-10-16 Roland McGrath <roland@hack.frob.com>
4548
4549 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
4550 * sysdeps/arm/sfp-machine.h: ... to here.
4551 * sysdeps/arm/Implies: Remove arm/soft-fp.
4552
a75d3b02
JM
45532014-10-14 Joseph Myers <joseph@codesourcery.com>
4554
4555 * conform/data/sys/utsname.h-data (*_t): Allow.
4556 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
4557 [POSIX] (WEXITED): Do not expect constant.
4558 [POSIX] (WSTOPPED): Likewise.
4559 [POSIX] (WNOHANG): Likewise.
4560 [POSIX] (WNOWAIT): Likewise.
4561 [POSIX] (siginfo_t): Do not expect type or elements.
4562 [POSIX] (pid_t): Do not expect type.
4563 [POSIX] (signal.h): Do not allow header.
4564 [POSIX] (sys/resource.h): Likewise.
4565 [POSIX] (si_*): Do not allow pattern.
4566 [POSIX] (W*): Likewise.
4567 [POSIX] (P_*): Likewise.
4568 [POSIX] (BUS_*): Likewise.
4569 [POSIX] (CLD_*): Likewise.
4570 [POSIX] (FPE_*): Likewise.
4571 [POSIX] (ILL_*): Likewise.
4572 [POSIX] (POLL_*): Likewise.
4573 [POSIX] (SEGV_*): Likewise.
4574 [POSIX] (SI_*): Likewise.
4575 [POSIX] (TRAP_*): Likewise.
4576 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
4577 variable.
4578
fda389c8
SP
45792014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
4580
4581 [BZ #12926]
4582 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
4583 infinite loop when __recvmsg returns 0.
4584
6bc6bd3b
JM
45852014-10-10 Joseph Myers <joseph@codesourcery.com>
4586
fcb32af1
JM
4587 * CANCEL-FCT-WAIVE: Remove file.
4588 * CANCEL-FILE-WAIVE: Likewise.
4589
6bc6bd3b
JM
4590 [BZ #14132]
4591 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
4592 instead of INTVARDEF.
4593 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
4594 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
4595 rtld_hidden_data_def instead of INTVARDEF.
4596 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
4597 * elf/dl-deps.c (expand_dst): Likewise.
4598 * elf/dl-load.c (_dl_dst_count): Likewise.
4599 (_dl_dst_substitute): Likewise.
4600 (decompose_rpath): Likewise.
4601 (_dl_init_paths): Likewise.
4602 (open_path): Likewise.
4603 (_dl_map_object): Likewise.
4604 * elf/rtld.c (dl_main): Likewise.
4605 (process_dl_audit): Likewise.
4606 (process_envvars): Likewise.
4607 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
4608 Remove declaration.
4609 (__libc_enable_secure): Use rtld_hidden_proto.
4610
b8c80a7e
KS
46112014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4612
4613 * elf/dl-load.c
4614 (add_path): New function broken out of _dl_rtld_di_serinfo.
4615 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
4616
ff12c11f
JM
46172014-10-09 Joseph Myers <joseph@codesourcery.com>
4618
5c0508a3
JM
4619 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
4620 parentheses around macro arguments.
4621 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
4622 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
4623 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
4624 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
4625 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
4626 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
4627 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
4628 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
4629 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
4630 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
4631 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
4632 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
4633 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
4634 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
4635 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
4636 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
4637 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
4638 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
4639 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
4640 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
4641 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
4642 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
4643 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
4644 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
4645 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
4646 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
4647 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
4648 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
4649 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
4650 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
4651 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
4652 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
4653 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
4654 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
4655 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
4656 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
4657 Likewise.
4658 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
4659 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4660 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4661 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
4662 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
4663 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
4664 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
4665 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
4666 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
4667 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
4668 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
4669 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
4670 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
4671 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
4672 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
4673 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4674 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4675 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
4676 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
4677 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
4678 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
4679 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
4680 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
4681 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
4682 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
4683 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
4684 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
4685 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
4686 (_FP_FRAC_SRS_1): Likewise.
4687 (_FP_FRAC_CLZ_1): Likewise.
4688 (_FP_MUL_MEAT_1_imm): Likewise.
4689 (_FP_MUL_MEAT_1_wide): Likewise.
4690 (_FP_MUL_MEAT_1_hard): Likewise.
4691 (_FP_SQRT_MEAT_1): Likewise.
4692 (_FP_FRAC_ASSEMBLE_1): Likewise.
4693 (_FP_FRAC_DISASSEMBLE_1): Likewise.
4694 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
4695 (__FP_CLZ_2): Likewise.
4696 (_FP_MUL_MEAT_2_wide): Likewise.
4697 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
4698 (_FP_MUL_MEAT_2_gmp): Likewise.
4699 (_FP_MUL_MEAT_2_120_240_double): Likewise.
4700 (_FP_SQRT_MEAT_2): Likewise.
4701 (_FP_FRAC_ASSEMBLE_2): Likewise.
4702 (_FP_FRAC_DISASSEMBLE_2): Likewise.
4703 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
4704 (_FP_FRAC_CLZ_4): Likewise.
4705 (_FP_MUL_MEAT_4_wide): Likewise.
4706 (_FP_MUL_MEAT_4_gmp): Likewise.
4707 (_FP_SQRT_MEAT_4): Likewise.
4708 (_FP_FRAC_ASSEMBLE_4): Likewise.
4709 (_FP_FRAC_DISASSEMBLE_4): Likewise.
4710 * soft-fp/op-common.h (_FP_CMP): Likewise.
4711 (_FP_CMP_EQ): Likewise.
4712 (_FP_CMP_UNORD): Likewise.
4713 (_FP_TO_INT): Likewise.
4714 (_FP_FROM_INT): Likewise.
4715 [!__FP_CLZ] (__FP_CLZ): Likewise.
4716 (_FP_DIV_HELP_imm): Likewise.
4717 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
4718 Likewise.
4719 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
4720 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
4721 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
4722 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
4723 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
4724 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4725 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4726 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
4727 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
4728 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
4729 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
4730 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
4731 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
4732 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
4733 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
4734 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
4735 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
4736 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
4737 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
4738 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
4739 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
4740 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
4741 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
4742 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4743 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4744 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
4745 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
4746 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
4747 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
4748 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
4749 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
4750 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
4751 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
4752 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
4753 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
4754 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
4755 (FP_UNPACK_RAW_SP): Likewise.
4756 (FP_PACK_RAW_S): Likewise.
4757 (FP_PACK_RAW_SP): Likewise.
4758 (FP_UNPACK_S): Likewise.
4759 (FP_UNPACK_SP): Likewise.
4760 (FP_UNPACK_SEMIRAW_S): Likewise.
4761 (FP_UNPACK_SEMIRAW_SP): Likewise.
4762 (FP_PACK_S): Likewise.
4763 (FP_PACK_SP): Likewise.
4764 (FP_PACK_SEMIRAW_S): Likewise.
4765 (FP_PACK_SEMIRAW_SP): Likewise.
4766 (_FP_SQRT_MEAT_S): Likewise.
4767 (FP_CMP_S): Likewise.
4768 (FP_CMP_EQ_S): Likewise.
4769 (FP_CMP_UNORD_S): Likewise.
4770 (FP_TO_INT_S): Likewise.
4771 (FP_FROM_INT_S): Likewise.
4772
a736ec37
JM
4773 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
4774
ff12c11f
JM
4775 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
4776 (FP_EX_INVALID_IMZ): Likewise.
4777 (FP_EX_INVALID_IMZ_FMA): Likewise.
4778 (FP_EX_INVALID_ISI): Likewise.
4779 (FP_EX_INVALID_ZDZ): Likewise.
4780 (FP_EX_INVALID_IDI): Likewise.
4781 (FP_EX_INVALID_SQRT): Likewise.
4782 (FP_EX_INVALID_CVI): Likewise.
4783 (FP_EX_INVALID_VC): Likewise.
4784 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
4785 "invalid" exceptions.
4786 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
4787 (_FP_ADD_INTERNAL): Likewise.
4788 (_FP_MUL): Likewise.
4789 (_FP_FMA): Likewise.
4790 (_FP_DIV): Likewise.
4791 (_FP_CMP_CHECK_NAN): Likewise.
4792 (_FP_SQRT): Likewise.
4793 (_FP_TO_INT): Likewise.
4794 (FP_EXTEND): Likewise.
4795
b6dcfe8c
AM
47962014-10-09 Allan McRae <allan@archlinux.org>
4797
4798 * po/fr.po: Update French translation from translation project.
4799
2d6a47ba
JM
48002014-10-09 Joseph Myers <joseph@codesourcery.com>
4801
cb831245
JM
4802 [BZ #14132]
4803 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
4804 of INTDEF.
4805 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
4806 (__cxa_atexit): Use libc_hidden_proto.
4807 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
4808
5deeb190
JM
4809 [BZ #14132]
4810 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
4811 declaration.
4812 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
4813 [!_ISOMAC] (__iswspace_l_internal): Likewise.
4814 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
4815 [!_ISOMAC] (__iswctype_internal): Likewise.
4816 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
4817 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
4818 alias.
4819 (fcntl): Remove __fcntl_internal alias.
4820 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
4821 __connect_internal alias.
4822 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
4823 Likewise.
4824
454ac701
JM
4825 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
4826 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
4827 FP_DENORM_ZERO.
4828 (_FP_CHECK_FLUSH_ZERO): New macro.
4829 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
4830 (_FP_CMP): Likewise.
4831 (_FP_CMP_EQ): Likewise.
4832 (_FP_TO_INT): Do not set inexact for subnormal arguments if
4833 FP_DENORM_ZERO.
4834 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
4835 (FP_TRUNC): Likewise.
4836
0022e688
JM
4837 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
4838 treated as invalid conversion, not as normal exponent.
4839
73e28d9c
JM
4840 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
4841 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
4842 (_FP_CMP_EQ): Likewise.
4843 (_FP_CMP_UNORD): Likewise.
4844 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
4845 (FP_CMP_EQ_D): Likewise.
4846 (FP_CMP_UNORD_D): Likewise.
4847 * soft-fp/extended.h (FP_CMP_E): Likewise.
4848 (FP_CMP_EQ_E): Likewise.
4849 (FP_CMP_UNORD_E): Likewise.
4850 * soft-fp/quad.h (FP_CMP_Q): Likewise.
4851 (FP_CMP_EQ_Q): Likewise.
4852 (FP_CMP_UNORD_Q): Likewise.
4853 * soft-fp/single.h (FP_CMP_S): Likewise.
4854 (FP_CMP_EQ_S): Likewise.
4855 (FP_CMP_UNORD_S): Likewise.
4856 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
4857 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
4858 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
4859 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
4860 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
4861 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
4862 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
4863 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
4864 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
4865 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
4866 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
4867 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
4868 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
4869 to FP_CMP_Q.
4870 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
4871 FP_CMP_Q.
4872 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
4873 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
4874 FP_CMP_EQ_Q.
4875 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
4876 FP_CMP_Q.
4877 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
4878 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
4879 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
4880 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
4881 FP_CMP_EQ_Q.
4882 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
4883 FP_CMP_Q.
4884 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
4885 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
4886 FP_CMP_EQ_Q.
4887 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
4888 FP_CMP_Q.
4889 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
4890 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
4891 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
4892 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
4893 FP_CMP_EQ_Q.
4894
43059f42
JM
4895 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
4896 a subnormal result, set the underflow exception if trapping on
4897 underflow is enabled.
4898 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
4899 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
4900 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
4901 redefine to 0.
4902 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
4903 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
4904 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
4905 * soft-fp/extendxftf2.c (__extendxftf2): Use
4906 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
4907
2d6a47ba
JM
4908 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
4909 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
4910 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4911 FP_HANDLE_EXCEPTIONS.
4912 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
4913 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4914 FP_HANDLE_EXCEPTIONS.
4915 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
4916 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4917 FP_HANDLE_EXCEPTIONS.
4918 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
4919 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4920 FP_HANDLE_EXCEPTIONS.
4921
620f462e
JM
49222014-10-08 Joseph Myers <joseph@codesourcery.com>
4923
4924 [BZ #14132]
4925 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
4926 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
4927 use INTUSE.
4928 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
4929 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
4930 Remove alias.
4931 (__adjtimex): Define using libc_hidden_ver.
4932 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
4933 Remove declaration.
4934 (ntp_gettime): Call __adjtimex directly.
4935 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
4936 Remove declaration.
4937 (ntp_gettimex): Call __adjtimex directly.
4938 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
4939 __adjtimex_internal alias.
4940
c763c5d2
RM
49412014-10-08 Roland McGrath <roland@hack.frob.com>
4942
4943 [BZ #17460]
4944 * nscd/nscd.c (more_help): Rewrite list of tables collection
4945 using xstrdup and asprintf.
4946
4947 * nscd/nscd_conf.c: Remove local xstrdup declaration.
4948
7b8fb2b8
RM
49492014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4950 Roland McGrath <roland@hack.frob.com>
4951
4952 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
4953 (do_lookup_unique): ... local function 'enter' here; update callers.
4954
abb280f7
JM
49552014-10-06 Joseph Myers <joseph@codesourcery.com>
4956
f7b42517
JM
4957 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
4958 compat_symbol calls on [SHARED].
4959 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
4960 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
4961 Remove.
4962 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4963 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
4964 (oldsetrlimit): Remove.
4965 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
4967 (lchown): New syscall entry.
4968 (oldsetrlimit): Remove.
4969 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4970 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
4971 (oldsetrlimit): Remove.
4972 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4973
abb280f7
JM
4974 [BZ #14138]
4975 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
4976 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
4977 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
4978 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
4979 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4980 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
4981 (fchown): Likewise.
4982 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
4983 (fchown): Likewise.
4984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
4985 Likewise.
4986
47d46237
AZ
49872014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4988
4989 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
4990 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
4991 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
4992 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
4993 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
4994 Likewise.
4995 (__old_sem_post): Likewise.
4996
49972014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 4998
845a7343
CM
4999 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
5000 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
5001 HAVE_CLOCK_GETTIME_VSYSCALL macros.
5002 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
5003 Use INLINE_VSYSCALL macro.
5004 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
5005 __vdso_clock_gettime.
5006 * sysdeps/unix/sysv/linux/tile/init-first.c
5007 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
5008 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
5009 __vdso_clock_gettime.
5010
83d641ef
CM
5011 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
5012 to set up frame more cleanly.
5013
d9cd52e6
CM
5014 * sysdeps/tile/memcmp.c: New file.
5015
4b68ea11
CM
5016 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
5017
c86f7b80
CM
5018 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
5019 * sysdeps/tile/tilegx/strcasestr.c: New file.
5020 * sysdeps/tile/tilegx/strnlen.c: New file.
5021 * sysdeps/tile/tilegx/strstr.c: New file.
5022
1c4c1a6f
CM
5023 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
5024
99d86ea3
AS
50252014-10-06 Arjun Shankar <arjun.is@lostca.se>
5026
5027 * nptl/tst-setuid3.c: Write errors to stdout.
5028
06210a44
KS
50292014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5030
5031 * elf/dl-deps.c
5032 (preload): New functions broken out of _dl_map_object_deps.
5033 (_dl_map_object_deps): Remove a nested function. Update call sites.
5034
6268f532
JM
50352014-10-01 Joseph Myers <joseph@codesourcery.com>
5036
5037 [BZ #14138]
5038 * sysdeps/unix/sysv/linux/execve.c: Remove file.
5039 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
5040
b925285f
SE
50412014-10-01 Steve Ellcey <sellcey@mips.com>
5042
5043 * sysdeps/mips/strcmp.S: New.
5044
754a15c6
JM
50452014-09-30 Joseph Myers <joseph@codesourcery.com>
5046
5047 [BZ #14138]
5048 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
5049 (linkat): Likewise.
5050 (mkdirat): Likewise.
5051 (readlinkat): Likewise.
5052 (renameat): Likewise.
5053 (symlinkat): Likewise.
5054 (unlinkat): Likewise.
5055 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
5056 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
5057 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
5058 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
5059 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
5060 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
5061 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
5062
85bb81c9
WN
50632014-09-30 Will Newton <will.newton@linaro.org>
5064
dc6fe23b
WN
5065 * math/math.h: Define long double math functions if
5066 _LIBC_TEST is defined.
5067 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
5068
85bb81c9
WN
5069 * localedata/Makefile: Move assignment to tests-special
5070 into an ifdef testing run-built-tests.
5071 * timezone/Makefile: Likewise.
5072
b7e02da4
JM
50732014-09-29 Joseph Myers <joseph@codesourcery.com>
5074
5075 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
5076 with $(BASH) not $(SHELL).
5077
62058ce6
CD
50782014-09-29 Carlos O'Donell <carlos@redhat.com>
5079 Matthew LeGendre <legendre1@llnl.gov>
5080
5081 [BZ #17411]
5082 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
5083 l_reloc_result.
5084
8e257a29
KS
50852014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5086
5087 * stdio-common/printf_fp.c
5088 (hack_digit): New function, broken out of ...
5089 (__printf_fp): ... local function here. Update call sites.
5090 hack_digit now takes an additional parameter that is a pointer
5091 to a struct of the referenced locals. Those locals moved inside
5092 the struct and references updated.
5093
f4a58f0d
L
50942014-09-29 H.J. Lu <hongjiu.lu@intel.com>
5095
5096 * aclocal.m4: Require autoconf 2.69.
5097 * configure: Regenerated.
5098 * sysdeps/aarch64/configure: Likewise.
5099 * sysdeps/alpha/configure: Likewise.
5100 * sysdeps/arm/armv7/configure: Likewise.
5101 * sysdeps/arm/configure: Likewise.
5102 * sysdeps/ia64/configure: Likewise.
5103 * sysdeps/mach/configure: Likewise.
5104 * sysdeps/mips/configure: Likewise.
5105 * sysdeps/s390/configure: Likewise.
5106 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
5107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
5108
5109 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
5110 file.
5111 * sysdeps/ia64/configure.ac: Likewise.
5112
93ae1eba
JM
51132014-09-26 Joseph Myers <joseph@codesourcery.com>
5114
1810d3ab
JM
5115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
5116 specify symbol version for ld.so. Do not include entry for
5117 libpthread.
5118 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5119 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5120 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5121
93ae1eba
JM
5122 [BZ #14171]
5123 * Makeconfig [$(build-shared) = yes]
5124 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
5125 makefiles.
5126 [$(build-shared) = yes && $(soversions.mk-done) = t]
5127 ($(common-objpfx)gnu/lib-names.h): Remove rule.
5128 [$(build-shared) = yes && $(soversions.mk-done) = t]
5129 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
5130 to Makerules.
5131 [$(build-shared) = yes && $(soversions.mk-done) = t]
5132 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
5133 here.
5134 [$(build-shared) = yes && $(soversions.mk-done) = t]
5135 (common-generated): Don't append gnu/lib-names.h and
5136 gnu/lib-names.stmp here.
5137 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
5138 (lib-names-h-abi): New variable.
5139 [$(build-shared) = yes && $(soversions.mk-done) = t]
5140 (lib-names-stmp-abi): Likewise.
5141 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5142 abi-variants] (before-compile): Append
5143 $(common-objpfx)$(lib-names-h-abi).
5144 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5145 abi-variants] (common-generated): Append gnu/lib-names.h.
5146 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5147 abi-variants] (install-others-nosubdir): Depend on
5148 $(inst_includedir)/$(lib-names-h-abi).
5149 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5150 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
5151 [$(build-shared) = yes && $(soversions.mk-done) = t]
5152 ($(common-objpfx)$(lib-names-h-abi)): New rule.
5153 [$(build-shared) = yes && $(soversions.mk-done) = t]
5154 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
5155 [$(build-shared) = yes && $(soversions.mk-done) = t]
5156 (common-generated): Append $(lib-names-h-abi) and
5157 $(lib-names-stmp-abi).
5158 * scripts/lib-names.awk: Do not handle multi being set.
5159 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
5160 Remove variable.
5161 (abi-lp64_be-ld-soname): Likewise.
5162 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
5163 Likewise.
5164 (abi-hard-ld-soname): Likewise.
5165 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
5166 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
5167 Remove variable.
5168 (abi-o32_hard-ld-soname): Likewise.
5169 (abi-o32_soft_2008-ld-soname): Likewise.
5170 (abi-o32_hard_2008-ld-soname): Likewise.
5171 (abi-n32_soft-ld-soname): Likewise.
5172 (abi-n32_hard-ld-soname): Likewise.
5173 (abi-n32_soft_2008-ld-soname): Likewise.
5174 (abi-n32_hard_2008-ld-soname): Likewise.
5175 (abi-n64_soft-ld-soname): Likewise.
5176 (abi-n64_hard-ld-soname): Likewise.
5177 (abi-n64_soft_2008-ld-soname): Likewise.
5178 (abi-n64_hard_2008-ld-soname): Likewise.
5179 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
5180 Likewise.
5181 (abi-64-v2-ld-soname): Likewise.
5182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
5183 ld.so entries.
5184 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
5185 variable.
5186 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
5187 entry.
5188 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
5189 variable.
5190 (abi-64-ld-soname): Likewise.
5191 (abi-x32-ld-soname): Likewise.
5192 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
5193 entry.
5194 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5195
68870f12
JM
51962014-09-23 Joseph Myers <joseph@codesourcery.com>
5197
5198 [BZ #14138]
5199 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
5200 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
5201 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
5202 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
5203 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
5204 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
5205 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
5206 syscall entry for GLIBC_2.2 symbol version.
5207 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
5208 Likewise.
5209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
5210 (setrlimit): Likewise.
5211 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
5212 Likewise.
5213
ea58f202
WN
52142014-09-23 Will Newton <will.newton@linaro.org>
5215
5216 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
5217 _LINUX_ARM_SYSDEP_H include guard too.
5218 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
5219 define.
5220
69eb9a18
RV
52212014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5222
5223 * sysdeps/unix/sysv/linux/eventfd.c:
5224 Make first argument unsigned.
5225 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
5226 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
5227
20e5a5f7
OB
52282014-09-20 Ondřej Bílka <neleai@seznam.cz>
5229
5230 * socket/recvmmsg.c (recvmmsg): Drop const argument.
5231 * socket/sys/socket.h: Likewise
5232 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
5233
d3c827e7
AK
52342014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5235
5236 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
5237
fe1cc35a
AS
52382014-09-17 Arjun Shankar <arjun.is@lostca.se>
5239
5240 * time/tst-ftime.c: New test.
5241 * time/Makefile (tests): Add tst-ftime.
5242
4e8afe69
JM
52432014-09-17 Joseph Myers <joseph@codesourcery.com>
5244
c4fe3ea7
JM
5245 * soft-fp/extended.h: Fix comment formatting.
5246 * soft-fp/op-1.h: Likewise.
5247 * soft-fp/op-2.h: Likewise.
5248 * soft-fp/op-4.h: Likewise.
5249 * soft-fp/op-8.h: Likewise.
5250 * soft-fp/op-common.h: Likewise.
5251 * soft-fp/soft-fp.h: Likewise.
5252
4e8afe69
JM
5253 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
5254
af296fcd
JM
52552014-09-16 Joseph Myers <joseph@codesourcery.com>
5256
5257 [BZ #6652]
5258 * Makeconfig (soversions-default-setname): Remove variable.
5259 ($(common-objpfx)soversions.i): Don't pass default_setname to
5260 soversions.awk.
5261 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
5262 oldest_abi to abi-versions.awk.
5263 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
5264 * config.make.in (oldest-abi): Remove variable.
5265 * configure.ac (--enable-oldest-abi): Remove configure option.
5266 * configure: Regenerated.
5267 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
5268 text.
5269 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
5270 * scripts/soversions.awk: Do not handle default_setname variable.
5271 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
5272 variable.
5273 * sysdeps/mach/hurd/configure: Regenerated.
5274 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
5275 variable.
5276 * sysdeps/unix/sysv/linux/configure: Regenerated.
5277
545583d6
SP
52782014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5279
d330b980
SP
5280 * elf/Makefile (CFLAGS-interp.c): Remove.
5281 ($(elf-objpfx)runtime-linker.h): Generate header with linker
5282 path string.
5283 * elf/interp.c: Include generated runtime-linker.h
5284
02657da2
SP
5285 * Makerules (lib%.so): Don't include $(+interp) in
5286 prerequisites.
5287 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
5288 * dlfcn/eval.c: Remove file.
5289
653b1080
SP
5290 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
5291 macros.
5292
602f80ec
SP
5293 [BZ #17266]
5294 * misc/sys/cdefs.h: Define __extern_always_inline for clang
5295 4.2 and newer.
5296
545583d6
SP
5297 [BZ #17370]
5298 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
5299
884ddc50
SP
53002014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5301 Jakub Jelinek <jakub@redhat.com>
5302
5303 [BZ #17266]
5304 * libio/stdio.h: Check definition of __fortify_function
5305 instead of __extern_always_inline to include bits/stdio2.h.
5306 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
5307 check if __extern_always_inline is defined.
5308 [__USE_MISC || __USE_XOPEN]: Likewise.
5309 [__USE_ISOC99] Likewise.
5310 * misc/sys/cdefs.h (__fortify_function): Define only if
5311 __extern_always_inline is defined.
5312 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
5313 __extern_always_inline and __extern_inline only for g++-4.3
5314 and newer or a compatible gcc.
5315
a7b87268
AS
53162014-09-15 Andreas Schwab <schwab@linux-m68k.org>
5317
5318 [BZ #17371]
5319 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5320 last change to handle zero prefix length.
5321
3f41521d
SP
53222014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5323
61fe374a
SP
5324 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
5325 _SC_REGEX_VERSION.
5326
3f41521d
SP
5327 * posix/getconf.c (vars): Add _POSIX_IPV6 and
5328 _POSIX_RAW_SOCKETS.
5329
d8f879ee
AM
53302014-09-13 Allan McRae <allan@archlinux.org>
5331
5332 * po/ru.po: Update Russian translation from translation project.
5333
c079afb7
RM
53342014-09-12 Roland McGrath <roland@hack.frob.com>
5335
a62b3c15
RM
5336 * locale/programs/locale.c (show_locale_vars): Inline local function
5337 into its sole call site. Clean up some style nits.
5338 (print_item): New function, broken out of ...
5339 (show_info): ... local function here. Clean up style nits.
5340
d7e49b19
RM
5341 * locale/programs/ld-ctype.c (set_one_default): New function, broken
5342 out of ...
5343 (set_class_defaults): ... local function set_default here.
5344 Define set_default as a macro locally to pass constant parameters.
5345 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
5346 rather than a shared local.
5347
c079afb7
RM
5348 * stdlib/rpmatch.c (try): New function, broken out of ...
5349 (rpmatch): ... local function here. Also, prototypify definition.
5350
0bd72468
JM
53512014-09-12 Joseph Myers <joseph@codesourcery.com>
5352
ba90e050
JM
5353 * scripts/soversions.awk: Do not handle configuration names.
5354 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
5355 vendor and os variables to soversions.awk.
5356 * configure.ac: Do not modify gnu-* host_os.
5357 * configure: Regenerated
5358 * shlib-versions: Remove first column with configuration names.
5359 * nptl/shlib-versions: Likewise.
5360 * nptl_db/shlib-versions: Likewise.
5361 * sysdeps/hppa/shlib-versions: Likewise.
5362 * sysdeps/m68k/shlib-versions: Likewise.
5363 * sysdeps/mach/hurd/shlib-versions: Likewise.
5364 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
5365 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
5366 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
5367 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
5368 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
5369 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
5370 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
5371 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
5372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
5373 Likewise.
5374 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5375 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
5376 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
5377 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5378 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5379 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
5380 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5381 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5382
73a39112
JM
5383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5384 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
5385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
5386 Regenerated.
5387 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
5388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
5389 Condition symbol version definitions on [HAVE_ELFV2_ABI].
5390
c729e7c1
JM
5391 * shlib-versions: Remove OS-specific entries. Moved to files in
5392 sysdeps.
5393 * sysdeps/mach/hurd/shlib-versions: New file.
5394 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
5395
dc932a24
JM
5396 * nptl/shlib-versions: Remove architecture-specific entries.
5397 Moved to files in sysdeps.
5398 * shlib-versions: Likewise.
5399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
5400 file.
5401 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5402 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
5403 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5404 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5405
0bd72468
JM
5406 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
5407 (UDP_NO_CHECK6_RX): Likewise.
5408
920238e0
SP
54092014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5410
5411 * sysdeps/posix/sysconf.c (__sysconf): Spell
5412 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
5413
ba7b4d29
FW
54142014-08-12 Florian Weimer <fweimer@redhat.com>
5415
5416 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
5417 loading.
5418 * iconv/Versions (__gconv_transliterate): Export for use from
5419 gconv modules.
5420 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
5421 (struct __gconv_trans_data, __gconv_trans_fct,
5422 __gconv_trans_context_fct, __gconv_trans_query_fct,
5423 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
5424 definitions.
5425 (struct __gconv_step_data): Remove __trans member.
5426 (__gconv_transliterate): Declaration moved from gconv_int.h. No
5427 longer hidden. Remove unused trans_data argument.
5428 * iconv/gconv_int.h (struct trans_struct): Remove definition.
5429 (__gconv_translit_find): Remove declaration.
5430 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
5431 prototype.
5432 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
5433 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
5434 trans_data argument. Add hidden definition.
5435 (__gconv_translit_find): Remove.
5436 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
5437 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
5438 * iconv/skeleton.c: Remove transliteration initialization.
5439 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
5440 __gconv_step_data initialization.
5441 * libio/iofwide.c (__libio_translit_): Remove.
5442 (_IO_fwide): Adjust struct __gconv_step_data initialization.
5443 * wcsmbs/btowc.c (__btowc): Likewise.
5444 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5445 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
5446 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
5447 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
5448 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
5449 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
5450 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
5451 * wcsmbs/wctob.c (wctob): Likewise.
5452
5379aebd
SP
54532014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5454
5455 [BZ #16194]
5456 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
5457 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
5458 register usage.
5459 * sysdeps/x86/Makefile: Adjust.
5460
8c0ab919
RM
54612014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5462 Roland McGrath <roland@hack.frob.com>
5463
5464 * locale/weight.h: Add include guard.
5465 (findidx): Make static rather than auto; take new parameters
5466 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
5467 * locale/weightwc.h: Likewise.
5468 * posix/fnmatch_loop.c
5469 (FCT): Change type of EXTRA from int32_t to wint_t.
5470 Don't include either header inside the function.
5471 Call FINDIDX rather than findidx, and pass new arguments.
5472 #undef FINDIDX at the end of the file.
5473 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
5474 FINDIDX before including fnmatch_loop.c for the non-wide version.
5475 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
5476 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
5477 for the wide version.
5478 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
5479 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
5480 Pass new arguments to findidx.
5481 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
5482 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
5483 Don't #include it inside the function. Pass new arguments to findidx.
5484 * posix/regex_internal.h
5485 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
5486 (re_string_elem_size_at): Don't #include it inside the function.
5487 Pass new arguments to findidx.
5488 * string/strcoll_l.c: #include WEIGHT_H at top level.
5489 (get_next_seq): Don't #include it inside the function.
5490 Pass new arguments to findidx.
5491 (get_next_seq_nocache): Likewise.
5492 * string/strxfrm_l.c: #include WEIGHT_H at top level.
5493 (STRXFRM): Don't #include it inside the function.
5494 Pass new arguments to findidx.
5495
52ffbdf2
FW
54962014-09-11 Florian Weimer <fweimer@redhat.com>
5497
5498 [BZ #17344]
5499 * malloc/malloc.c (unlink): Turn asserts into a call to
5500 malloc_printerr.
5501
984c0ea9
TL
55022014-09-11 Tim Lammens <tim.lammens@gmail.com>
5503
5504 [BZ #17370]
5505 * libio/wfileops (do_ftell_wide): Free OUT.
5506
3daee107
CM
55072014-09-10 Chris Metcalf <cmetcalf@tilera.com>
5508
5509 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
5510
58b930ae
SP
55112014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5512
5513 [BZ #17363]
5514 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
5515 group if the current group is empty.
5516
3b473fec
AZ
55172014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5518
71ae8647
AZ
5519 * benchtests/bench-memset.c (test_main): Add more test from size
5520 from 32 to 512 bytes.
5521 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5522 Add POWER8 memset object.
5523 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5524 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
5525 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
5526 implementation.
5527 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
5528 Likewise.
5529 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
5530 multiarch POWER8 memset optimization.
5531 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
5532 POWER8 memset optimization.
5533
3b473fec
AZ
5534 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5535 Remove bzero multiarch objects.
5536 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
5537 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
5538 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
5539 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
5540 Remove define.
5541 [__bzero]: Redefine to specific name.
5542 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
5543 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
5544 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
5545 define.
5546 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5547 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5548
e6fb9587
FW
55492014-09-10 Florian Weimer <fweimer@redhat.com>
5550
5551 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
5552 warnings into errors.
5553
5554 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
5555 __cxa_thread_atexit_impl prototype.
5556
9d3a350b
SE
55572014-09-09 Steve Ellcey <sellcey@mips.com>
5558
5559 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
5560 Fix capitalization of error message.
5561
0febba23
SE
55622014-09-09 Steve Ellcey <sellcey@mips.com>
5563
5564 * sysdeps/mips/preconfigure: Modify ABI tests.
5565
645a0e9c
CD
55662014-09-07 Carlos O'Donell <carlos@systemhalted.org>
5567
5568 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
5569
d83f0734
CD
55702014-09-07 Roland McGrath <roland@hack.frob.com>
5571 Carlos O'Donell <carlos@systemhalted.org>
5572
5573 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
5574 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
5575 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
5576 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
5577 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
5578 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
5579 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
5580 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
5581 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
5582 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
5583 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
5584 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
5585 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
5586 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
5587 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
5588 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
5589 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
5590 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
5591 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
5592 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
5593 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
5594 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
5595 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
5596 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
5597 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
5598 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
5599 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
5600 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
5601 Deconditionalize the code that was previously under [RESET_PID].
5602 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
5603 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
5604 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
5605 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
5606 include sysdep.h.
5607
21c83793
AM
56082014-09-08 Allan McRae <allan@archlinux.org>
5609
5610 * version.h (RELEASE): Set to "development".
5611 (VERSION): Set to "2.20.90"
5612
1cd9b65c
AM
56132014-09-07 Allan McRae <allan@archlinux.org
5614
b8079dd0
AM
5615 * version.h (RELEASE): Set to "stable".
5616 (VERSION): Set to "2.20"
5617 * include/features.h (__GLIBC_MINOR__): Set to 20.
5618
c46303ef
AM
5619 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
5620 Liebler.
5621
1cd9b65c
AM
5622 * po/ko.po: Update Korean translation from translation project.
5623
8622092d
CM
56242014-09-06 Chris Metcalf <cmetcalf@tilera.com>
5625
5626 [BZ #17354]
5627 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
5628 macro for handling signed relocations.
5629
41488498
FW
56302014-09-03 Florian Weimer <fweimer@redhat.com>
5631
5632 [BZ #17325]
5633 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
5634 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
5635 assert.
5636 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
5637 * iconvdata/ibm935.c (BODY): Likewise.
5638 * iconvdata/ibm937.c (BODY): Likewise.
5639 * iconvdata/ibm939.c (BODY): Likewise.
5640 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
5641 assert.
5642 * iconvdata/Makefile (iconv-test.out): Pass module list to test
5643 script.
5644 * iconvdata/run-iconv-test.sh: New test loop for checking for
5645 decoder crashers.
5646
a78b712d
KR
56472014-09-02 Khem Raj <raj.khem@gmail.com>
5648
5649 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
5650 libm_hidden_ver.
5651
cb08abc6
AM
56522014-09-01 Allan McRae <allan@archlinux.org>
5653
2c31e102
AM
5654 * po/eo.po: Update Esperanto translation from translation project.
5655
cb08abc6
AM
5656 * po/ca.po: Update Catalan translation from translation project.
5657
17a62de1
ST
56582014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
5659
5660 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
5661 __proc_dostop call.
5662
9570bc53
MW
56632014-08-27 Mark Wielaard <mjw@redhat.com>
5664
5665 [BZ #17319]
5666 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
5667 to call set_thread_area instead of hand written asm.
5668 (__NR_set_thread_area): Removed define.
5669 (TLS_FLAG_WRITABLE): Likewise.
5670 (__ASSUME_SET_THREAD_AREA): Remove check.
5671 (TLS_EBX_ARG): Remove define.
5672 (TLS_LOAD_EBX): Likewise.
5673
b0f955c9
ST
56742014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5675
5676 Simplify atomicity of socket creation in bind.
5677
5678 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
5679 looking up the name after linking the file.
5680
529bf515
AM
56812014-08-27 Allan McRae <allan@archlinux.org>
5682
5683 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5684
a1a6a401
FW
56852014-08-26 Florian Weimer <fweimer@redhat.com>
5686
5687 [BZ #17187]
5688 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
5689 trans_compare, open_translit, __gconv_translit_find):
5690 Remove module loading code.
5691
686ab290
AM
56922014-08-26 Allan McRae <allan@archlinux.org>
5693
e4e7cfd2
AM
5694 * po/vi.po: Update Vietnamese translation from translation project.
5695
6aa09f71
AM
5696 * po/uk.po: Update Ukrainian translation from translation project.
5697
edc0660e
AM
5698 * po/fr.po: Update French translation from translation project.
5699
7eea72ac
AM
5700 * po/ru.po: Update Russian translation from translation project.
5701
93c49eff
AM
5702 * po/pl.po: Update Polish translation from translation project.
5703
46acaf63
AM
5704 * po/cs.po: Update Czech translation from translation project.
5705
a9f5ce98
AM
5706 * po/de.po: Update German translation from translation project.
5707
373f2b78
AM
5708 * po/bg.po: Update Bulgarian translation from translation project.
5709
e7548bd8
AM
5710 * po/sv.po: Update Sweedish translation from translation project.
5711
c526bf4d
AM
5712 * po/nl.po: Update Dutch translation from translation project.
5713
686ab290
AM
5714 * po/es.po: Update Spanish translation from translation project.
5715
eb72478a
SP
57162014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5717
dd763fdb
SP
5718 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
5719
318c7a58
SP
5720 * catgets/Makefile (CPPFLAGS-gencat): Remove.
5721 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
5722 (CPPFLAGS-iconvconfig): Likewise.
5723 * timezone/Makefile (CPPFLAGS-zic): Likewise.
5724
eb72478a
SP
5725 * include/libc-symbols.h: Remove unnecessary check for
5726 NOT_IN_libc.
5727 * nptl/pthreadP.h: Likewise.
5728 * sysdeps/aarch64/setjmp.S: Likewise.
5729 * sysdeps/alpha/setjmp.S: Likewise.
5730 * sysdeps/arm/sysdep.h: Likewise.
5731 * sysdeps/i386/setjmp.S: Likewise.
5732 * sysdeps/m68k/setjmp.c: Likewise.
5733 * sysdeps/posix/getcwd.c: Likewise.
5734 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5735 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
5736 * sysdeps/s390/s390-32/setjmp.S: Likewise.
5737 * sysdeps/s390/s390-64/setjmp.S: Likewise.
5738 * sysdeps/sh/sh3/setjmp.S: Likewise.
5739 * sysdeps/sh/sh4/setjmp.S: Likewise.
5740 * sysdeps/unix/alpha/sysdep.h: Likewise.
5741 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5742 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5743 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5744 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5747 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5748 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5749 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5750 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5751 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5752 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5753 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5754 * sysdeps/x86_64/setjmp.S: Likewise.
5755
d44a052c
JM
57562014-08-13 Joseph Myers <joseph@codesourcery.com>
5757
5758 [BZ #17263]
5759 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
5760 <stdint.h>.
5761 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
5762 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
5763
508ce3ac
SP
57642014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5765
e44c8b0e
SP
5766 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
5767
508ce3ac
SP
5768 [BZ #17262]
5769 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
5770 and __x86_64__ when disabling x87 inline functions.
5771
b4acef1f
L
57722014-08-12 H.J. Lu <hongjiu.lu@intel.com>
5773
5774 [BZ #17259]
5775 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
5776 asm statement with __cpuid_count.
5777
61b1ef6e
MF
57782014-08-12 Mike Frysinger <vapier@gentoo.org>
5779
5780 * configure.ac: Change __ehdr_start code to dereference the struct.
5781 Run readelf on the output to look for relocations.
5782 * configure: Regenerated.
5783
898c62f4
JM
57842014-08-12 Joseph Myers <joseph@codesourcery.com>
5785
5786 [BZ #17261]
5787 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
5788 value to 0.
5789 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
5790
9a8a5720
RM
57912014-08-12 Roland McGrath <roland@hack.frob.com>
5792
5793 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
5794
4e75751c
BO
57952014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
5796
5797 [BZ #16892]
5798 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
5799 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
5800
bb2ce416
SA
58012014-08-12 Sean Anderson <seanga2@gmail.com>
5802
5803 * malloc/malloc.c: Fix typo in comment.
5804
7950a4ee
AM
58052014-08-09 Allan McRae <allan@archlinux.org>
5806
5807 * Regenerate libc.po.
5808
f469c49f
MF
58092014-08-08 Mike Frysinger <vapier@gentoo.org>
5810
5811 * intl/tst-gettext2.sh: Check every lang file for creation.
5812
656b84c2
WD
58132014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
5814
5815 * sysdeps/aarch64/fpu/math_private.h
5816 (libc_feholdsetround_noex_aarch64_ctx): New function.
5817
538e9e45
W
58182014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
5819
5820 * sysdeps/arm/armv6/strcpy.S (strcpy):
5821 Fix performance issue in misaligned cases.
5822
d4795e4a
AZ
58232014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5824
5825 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
5826 Move definition from termios.h.
5827 (struct termio): Likewise.
5828 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5829 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
5830 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
5831 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
5832 Likewise.
5833 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
5834 Move definition to ioctl-types.h
5835 (struct termio): Likewise.
5836 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5837 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
5838 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
5839 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
5840 Likewise.
5841
64accb62
RH
58422014-08-05 Richard Henderson <rth@redhat.com>
5843
27bb6dc0
RH
5844 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
5845 exceptions.
5846 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
5847 Add fraiseexcpt.
5848 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5849 Use __feraiseexcept.
5850 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
5851 Protect libm symbols with IS_IN_libm.
5852
64accb62
RH
5853 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
5854
e5292691
BO
58552014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
5856
5857 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
5858
5b4bd2d4
WN
58592014-08-04 Will Newton <will.newton@linaro.org>
5860
5861 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
5862 file.
5863
fcadaeef
MF
58642014-08-04 Mike Frysinger <vapier@gentoo.org>
5865
5866 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
5867 variants for each function.
5868
43a94c64
RM
58692014-08-04 Roland McGrath <roland@hack.frob.com>
5870
5871 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
5872 appended ...
5873 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
5874 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
5875 appended ...
5876 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
5877 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
5878 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
5879 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
5880 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
5881 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
5882 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
5883 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
5884 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
5885 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
5886 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
5887 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
5888 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
5889 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
5890 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
5891 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
5892 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
5893 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
5894 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
5895 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
5896 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
5897 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
5898 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
5899 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
5900 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
5901 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
5902 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
5903 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
5904 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
5905 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
5906 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
5907 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
5908 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
5909 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
5910 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
5911 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
5912 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
5913 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
5914 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
5915 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
5916 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
5917 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
5918 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
5919 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
5920 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
5921 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
5922 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
5923 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
5924 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
5925 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
5926 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
5927 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
5928 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
5929 Update #include.
5930 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
5931 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
5932
8f3c1fa4
RM
59332014-08-04 Roland McGrath <roland@hack.frob.com>
5934
5935 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
5936 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
5937 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
5938 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
5939 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
5940 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
5941
ca08746f
RM
59422014-08-04 Roland McGrath <roland@hack.frob.com>
5943
5944 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
5945 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
5946 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5947 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
5948
9c925ff9
RM
59492014-08-04 Roland McGrath <roland@hack.frob.com>
5950
5951 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
5952 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
5953 (__libc_vfork): Define function under this name.
5954 (__vfork): Define as an alias.
5955 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
5956 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
5957
e641054c
RM
59582014-08-04 Roland McGrath <roland@hack.frob.com>
5959
5960 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
5961 that was previously under [RESET_PID].
5962 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
5963
dacdc867
AS
59642014-08-04 Andreas Schwab <schwab@suse.de>
5965
5966 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
5967
41f725ff
MF
59682014-08-03 Mike Frysinger <vapier@gentoo.org>
5969
5970 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
5971 (main): Likewise.
5972
277cfb31
RM
59732014-08-01 Roland McGrath <roland@hack.frob.com>
5974
5975 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
5976
4896f049
RH
59772014-08-01 Richard Henderon <rth@redhat.com>
5978
5979 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
5980 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
5981 typo in exact zero test.
5982 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5983 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5984 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5985
6f64e7d7
RM
59862014-08-01 Roland McGrath <roland@hack.frob.com>
5987
5988 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
5989 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
5990 * sysdeps/arm/sysdep.h: ... here.
5991 [!__ASSEMBLER__]: Include <stdint.h>.
5992
3f3dd810
SP
59932014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5994
a476ac4b
SP
5995 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
5996 (HAVE_WCTYPE_H): Likewise.
5997 (HAVE_ISWCTYPE): Likewise.
5998 (ENABLE_NLS): Likewise.
5999 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
6000 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
6001
78dd658a
SP
6002 * posix/regex_internal.c: Check if DEBUG is defined and is
6003 set.
6004
3f3dd810
SP
6005 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
6006 (HAVE_MBSRTOWCS): Likewise.
6007 * posix/fnmatch.c: Include string.h unconditionally.
6008
95ee7fb1
SL
60092014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
6010
6011 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
6012 reversal.
6013
23fe486b
RM
60142014-07-31 Roland McGrath <roland@hack.frob.com>
6015
f61a113f
RM
6016 * sysdeps/generic/safe-fatal.h: New file.
6017 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
6018 * nptl/forward.c: Include it.
6019 (__pthread_unwind): Use __safe_fatal as default action, rather
6020 than a bogus use of INTERNAL_SYSCALL that could never work.
6021
9fe7e787
RM
6022 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
6023 * configure.ac (libc_cv_builtin_trap): New test.
6024 * configure: Regenerated.
6025 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
6026 (ABORT_INSTRUCTION): Define using __builtin_trap.
6027
23fe486b
RM
6028 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
6029 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
6030 * sysdeps/nptl/nptl-signals.h: New file.
6031 * nptl/pthreadP.h: Include <nptl-signals.h>.
6032
f349489e
SL
60332014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
6034
6035 * sysdeps/s390/s390-64/utf16-utf32-z9.c
6036 (ONE_DIRECTION): Define.
6037 * sysdeps/s390/s390-64/utf8-utf16-z9.c
6038 (ONE_DIRECTION): Define.
6039 * sysdeps/s390/s390-64/utf8-utf32-z9.c
6040 (ONE_DIRECTION): Define.
6041
2f438e20
SL
60422014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
6043
6044 * sysdeps/s390/Makefile: Delete file.
6045 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
6046 * sysdeps/s390/__longjmp.c: Delete file.
6047 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
6048 Remove fields __flags and __reserved.
6049 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
6050 and add versioning.
6051 * sysdeps/s390/rtld-__longjmp.c: Delete file.
6052 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
6053 * sysdeps/s390/rtld-setjmp.S: Likewise.
6054 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
6055 * sysdeps/s390/s390-32/__longjmp.c: ... here.
6056 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
6057 * sysdeps/s390/s390-32/setjmp.S: ... here.
6058 Add versioning.
6059 (__sigsetjmp): Remove setting __flags field.
6060 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
6061 * sysdeps/s390/s390-64/__longjmp.c: ... here.
6062 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
6063 * sysdeps/s390/s390-64/setjmp.S: ... here.
6064 Add versioning.
6065 (__sigsetjmp): Remove setting __flags field.
6066 * sysdeps/s390/setjmp.S: Delete file.
6067 * sysdeps/s390/sigjmp.c: Likewise.
6068 * sysdeps/s390/v1-longjmp.c: Likewise.
6069 * sysdeps/s390/v1-setjmp.h: Likewise.
6070 * sysdeps/s390/v1-sigjmp.c: Likewise.
6071 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
6072 Remove v1-longjmp_chk.
6073 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
6074 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
6075 Include debug/longjmp_chk.c and add versioning.
6076 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
6077 Include nptl/pt-longjmp.c and add versioning.
6078 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
6079 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
6080 Include __longjmp.c.
6081 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6082 Move to ...
6083 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
6084 (__getcontext): Remove setting __flags field.
6085 Add versioning.
6086 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6087 Don't restore upper high grps.
6088 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
6089 Likewise.
6090 (__swapcontext): Remove setting uc_flags field.
6091 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
6092 Delete file.
6093 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
6094 Include __longjmp.c.
6095 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6096 Move to ...
6097 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
6098 (__getcontext): Remove setting __flags field.
6099 Add versioning.
6100 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
6101 (__swapcontext): Remove setting uc_flags field.
6102 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
6103 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
6104 Remove fields uc_high_gprs and __reserved.
6105 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
6106 New file with reverted content.
6107 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
6108 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
6109 Regenerated.
6110 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
6111 Regenerated.
6112
6c9578a2
AS
61132014-07-31 Andreas Schwab <schwab@suse.de>
6114
6115 * config.h.in (HAVE_IFUNC): Define to 0.
6116 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
6117 definedness.
6118
05f3633d
LM
61192014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
6120
6121 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6122 memmove-avx-unaligned, memcpy-avx-unaligned and
6123 mempcpy-avx-unaligned.
6124 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6125 Add tests for AVX memcpy functions.
6126 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
6127 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
6128 memcpy_chk.
6129 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
6130 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
6131 memmove_chk.
6132 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
6133 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
6134 mempcpy_chk.
6135 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
6136 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
6137 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
6138
a53fbd8e
AZ
61392013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6140
6141 [BZ #17213]
6142 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
6143 powerpc64le.
6144
0961f7e1
JL
61452014-07-29 Jeff Layton <jlayton@poochiereds.net>
6146
6147 [BZ #16839]
6148 * manual/llio.texi: Add section about open file description locks.
6149 * manual/examples/ofdlocks.c: Example of open file description
6150 lock usage.
6151 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
6152 F_OFD_SETLK, and F_OFD_SETLKW.
6153
cc5fb300
AM
61542014-07-23 Allan McRae <allan@archlinux.org>
6155
6156 * po/es.po: Update Spanish translation from translation project.
6157
23329dca
AS
61582014-07-18 Andreas Schwab <schwab@linux-m68k.org>
6159
6160 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
6161
9c82da17
MR
61622014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
6163
6164 [BZ #17078]
6165 * sysdeps/arm/dl-machine.h (elf_machine_rela)
6166 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
6167 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
6168
29c4f53e
JM
61692014-07-17 Joseph Myers <joseph@codesourcery.com>
6170
831b9896
JM
6171 [BZ #17088]
6172 * math/fesetenv.c (__fesetenv)
6173 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
6174 * math/feupdateenv.c (__feupdateenv)
6175 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
6176
b21c2d50
JM
6177 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
6178 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6179 (__ASSUME_SOCKETCALL): Do not define.
6180
067764ef
JM
6181 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
6182 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
6183 (__ASSUME_SOCKETCALL): Do not define.
6184 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
6185 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6186 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6187 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6188 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6189 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
6190 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6191 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6192
642530c1
JM
6193 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
6194 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
6195 (__ASSUME_SOCKETCALL): Do not define.
6196 (__ASSUME_IPC64): Define unconditionally.
6197 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6198 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6199 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6200 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6201 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
6202 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6203 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
6204 Likewise.
6205
03f77315
JM
6206 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
6207 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
6208 (__ASSUME_SOCKETCALL): Do not define.
6209 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
6210 (__ASSUME_FUTEX_LOCK_PI): Likewise.
6211 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6212 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6213 (__ASSUME_REQUEUE_PI): Define unconditionally.
6214 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
6215 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
6216 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6217 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
6218 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6219 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6220
083b1f7c
JM
6221 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
6222 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
6223 (__ASSUME_SOCKETCALL): Do not define.
6224 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
6225 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6226 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6227 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
6228 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6229 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6230
5be44ea6
JM
6231 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
6232 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
6233 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6234 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
6235 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6236 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
6237 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6238 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
6239 (__ASSUME_GETCPU_SYSCALL): Likewise.
6240
d95ffd4c
JM
6241 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
6242 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
6243 cases for individual architectures.
6244 * sysdeps/gnu/configure: Regenerated.
6245 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
6246 LIBC_SLIBDIR_RTLDDIR.
6247 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
6248 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
6249 LIBC_SLIBDIR_RTLDDIR.
6250 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
6251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
6252 LIBC_SLIBDIR_RTLDDIR.
6253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6254 Regenerated.
6255 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
6256 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
6257 file.
6258 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
6259 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
6260 file.
6261 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
6262 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
6263 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
6264 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
6265
29c4f53e
JM
6266 * sysdeps/aarch64/shlib-versions: Move to ...
6267 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
6268 * sysdeps/alpha/shlib-versions: Move to ...
6269 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
6270 * sysdeps/arm/shlib-versions: Move to ...
6271 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
6272 * sysdeps/hppa/shlib-versions: Move all contents except for
6273 libgcc_s entry to ...
6274 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
6275 entry from ...
6276 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
6277 * sysdeps/ia64/shlib-versions: Move to ...
6278 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
6279 entry from ...
6280 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
6281 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
6282 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
6283 * sysdeps/microblaze/shlib-versions: Move to ...
6284 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
6285 * sysdeps/mips/shlib-versions: Move to ...
6286 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
6287 entry from ...
6288 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
6289 * sysdeps/tile/shlib-versions: Move to ...
6290 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
6291 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
6292 from ...
6293 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
6294 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
6295 entry from ...
6296 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
6297
32bead5b
WN
62982014-07-17 Will Newton <will.newton@linaro.org>
6299
57977c4b
WN
6300 * sysdeps/arm/bits/atomic.h
6301 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
6302 (__arch_compare_and_exchange_bool_16_int): Likewise.
6303 (__arch_compare_and_exchange_bool_64_int): Likewise.
6304
32bead5b
WN
6305 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
6306 into an #else block.
6307
37fccd41
RM
63082014-07-16 Roland McGrath <roland@hack.frob.com>
6309
6310 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
6311 just Linux configurations. Test empirically that the compiler sets
6312 __ARM_EABI__, rather than using the tuple to decide.
6313 * sysdeps/arm/preconfigure: Regenerated.
6314 * sysdeps/unix/sysv/linux/arm/configure: File removed.
6315 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
6316 contents appended ...
6317 * sysdeps/arm/configure.ac: ... here.
6318 * sysdeps/arm/configure: Regenerated.
6319
b365f3ec
RM
63202014-07-15 Roland McGrath <roland@hack.frob.com>
6321
8badf496
RM
6322 * nptl/pthread_kill.c: New file.
6323 * nptl/pthread_sigmask.c: New file.
6324 * nptl/pthread_sigqueue.c: New file.
6325
3df6f22e
RM
6326 * sysdeps/nptl/lowlevellock.h: New file.
6327 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
6328 * sysdeps/nptl/lowlevellock-futex.h: New file.
6329
b365f3ec
RM
6330 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
6331 Remove dead declarations.
6332
f2fef657
L
63332014-07-14 H.J. Lu <hongjiu.lu@intel.com>
6334
6335 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
6336 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
6337 config-cflags-avx2.
6338 * sysdeps/x86_64/configure.ac: Likewise.
6339 * sysdeps/i386/configure: Regenerated.
6340 * sysdeps/x86_64/configure: Likewise.
6341 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6342 memset-avx2 only if config-cflags-avx2 is yes.
6343 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6344 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
6345 defined.
6346 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
6347 only if HAVE_AVX2_SUPPORT is defined.
6348 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6349
f6c44d47
AM
63502014-07-14 Alan Modra <amodra@gmail.com>
6351
6352 [BZ #17153]
6353 * elf/elf.h (DT_PPC64_NUM): Correct value.
6354 * NEWS: Add to fixed bug list.
6355
7ee03f00
JM
63562014-07-13 Jim Meyering <meyering@fb.com>
6357
6358 [BZ 17150]
6359 regex: don't deref NULL upon heap allocation failure
6360 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
6361 failure in one more place.
6362 To trigger the segfault, configure grep -with-included-regex,
6363 build it, and run these commands:
6364 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
6365
9d39d517
AS
63662014-07-13 Andreas Schwab <schwab@linux-m68k.org>
6367
6368 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6369
a75b89b7
RH
63702014-07-11 Richard Henderson <rth@redhat.com>
6371
6372 * sysdeps/aarch64/libm-test-ulps: Update.
6373
771eb141
FW
63742014-07-10 Florian Weimer <fweimer@redhat.com>
6375
6376 [BZ #17135]
6377 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
6378 * nptl/allocatestack.c (__nptl_setxid_error): New function.
6379 (__nptl_setxid): Initialize error member. Call
6380 __nptl_setxid_error.
6381 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
6382 * nptl/descr.h (struct xid_command): Add error member.
6383 * nptl/tst-setuid3.c: New file.
6384 * nptl/Makefile (tests): Add it.
6385
bc1da176
AZ
63862014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6387
6388 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
6389 New define.
6390 (__lll_trylock): Use __lll_base_trylock.
6391 (__lll_cond_trylock): Likewise.
6392
887865fc
RM
63932014-07-10 Roland McGrath <roland@hack.frob.com>
6394
c0c6bac9
RM
6395 * nptl/pthread_create.c (start_thread): Use atomic_or and
6396 lll_futex_wake directly rather than lll_robust_dead.
6397 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6398 (lll_robust_dead): Macro removed.
6a42be57 6399 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
6400 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
6401 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
6402 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6403 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6404 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
6405 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
6406 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6407 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
6408 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6409 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6410 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6411 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6412 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6413 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6414
887865fc
RM
6415 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
6416 Use atomic_compare_and_exchange_val_acq directly rather than
6417 lll_robust_trylock.
6418 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6419 (__lll_robust_trylock, lll_robust_trylock): Removed.
6420 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
6421 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
6422 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6423 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6424 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
6425 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
6426 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6427 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
6428 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6429 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6430 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6431 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6432 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6433 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6434
58536726
FW
64352014-07-02 Florian Weimer <fweimer@redhat.com>
6436
6437 * manual/locale.texi (Locale Names): New section documenting
6438 locale name syntax. Adjust menu and node chaining accordingly.
6439 (Choosing Locale): Reference Locale Names, Locale Categories.
6440 Mention setting LC_ALL=C. Reflect that name syntax is now
6441 documented.
6442 (Locale Categories): New section title. Reference Locale Names.
6443 LC_ALL is an environment variable, but not a category.
6444 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
6445 description, now in Locale Name. Reference that section. Locale
6446 name syntax is now documented.
6447
4e8f95a0
FW
64482014-07-02 Florian Weimer <fweimer@redhat.com>
6449
6450 [BZ #17137]
6451 * locale/findlocale.c (name_present, valid_locale_name): New
6452 functions.
6453 (_nl_find_locale): Use the loc_name variable to store name
6454 candidates. Call name_present and valid_locale_name to check and
6455 validate locale names. Return an error if the locale is invalid.
6456
d1836456
FW
64572014-07-02 Florian Weimer <fweimer@redhat.com>
6458
6459 * locale/setlocale.c (setlocale): Use strdup for allocating
6460 composite name copy.
6461
d69b7f5a
SP
64622014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6463
888c679b
SP
6464 Sync up with gnulib.
6465 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
6466 [!_LIBC && ENABLE_NLS]: Include gettext.h.
6467 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
6468 and _GL_ARG_NONNULL.
6469 [USE_UNLOCKED_IO]: Include unlocked-io.h.
6470 [!_LIBC]: Include code for Windows and Cygwin.
6471 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
6472 Include prototype for int strerror_r.
6473 [!_LIBC] (is_open): New function.
6474 (flush_stdout): New function.
6475 (print_errno_message): Use it.
6476 (error): Likewise.
6477 (error_at_line): Likewise.
6478 (error_tail) Add function attribute macros. Use
6479 __builtin_expect.
6480
180e0e4b
SP
6481 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
6482
d22f1fe2
SP
6483 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
6484
12f2254b
SP
6485 * io/ftw.c: Include sys/param.h unconditionally.
6486
c3c7c360
SP
6487 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
6488
d62aa75a
SP
6489 [BZ #17125]
6490 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
6491 libc_freeres_ptr.
6492 (freecache): New function to free CACHE on exit.
6493
d69b7f5a
SP
6494 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
6495 initialization.
6496
5efe06a1
DM
64972014-07-09 David S. Miller <davem@davemloft.net>
6498
6499 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6500
7000d82e
DM
6501 * sysdeps/sparc/nptl/internaltypes.h: Delete.
6502 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
6503 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
6504 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
6505 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
6506 * sysdeps/sparc/nptl/sem_init.c: Likewise.
6507 * sysdeps/sparc/nptl/sem_post.c: Likewise.
6508 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
6509 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
6510 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
6511 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
6512 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
6513 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
6514
c213442d
AS
65152014-07-09 Andreas Schwab <schwab@suse.de>
6516
4a2552c3
AS
6517 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
6518 output.
6519 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
6520 (do_test): Likewise.
6521
c213442d
AS
6522 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6523
82374e65
WN
65242014-07-09 Will Newton <will.newton@linaro.org>
6525
6526 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
6527 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
6528 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
6529 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
6530 * sysdeps/hppa/start.S (_start): Likewise.
6531
6680738a
SP
65322014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
6533
6ee3eab4
SP
6534 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
6535
6680738a
SP
6536 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
6537 defined.
6538
80b5c505
SP
65392014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6540
e35c53e3
SP
6541 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
6542 after checking that it is non-NULL.
6543
80b5c505
SP
6544 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
6545
91f4b564
AZ
65462014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6547
27b75f56
AZ
6548 * sysdeps/powerpc/memmove.c: Remove file.
6549 * sysdeps/powerpc/powerpc32/power4/memcopy.h
6550 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
6551 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
6552 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
6553 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
6554 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
6555 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
6556 string memmove instead of removed powerpc one.
6557
e7f95bb5
AZ
6558 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6559 [weak_alias]: Fix compiler warning due trailing data.
6560 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
6561 [weak_alias]: Likewise.
6562 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
6563 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
6564
91f4b564
AZ
6565 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6566 (__libc_ifunc_impl_list): Add memmove functions.
6567
7c33f1e5
SP
65682014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6569
6570 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
6571 Remove code.
6572 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
6573 Likewise
6574 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
6575 Likewise
6576 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
6577 Likewise
6578 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
6579 Likewise
6580 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
6581 Likewise
6582 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
6583 Likewise
6584 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
6585 Likewise
6586 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
6587 Likewise
6588 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
6589 Likewise
6590 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
6591 Likewise
6592 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
6593 Likewise
6594 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
6595 Likewise
6596 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
6597 Likewise
6598 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
6599 Likewise
6600 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
6601 Likewise
6602 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
6603 Likewise
6604
3f17b03b
AZ
66052014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6606
87868c24
AZ
6607 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
6608 to avoid alignment traps in non-cacheable memory.
6609 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
6610
07aedd78
AZ
6611 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
6612 multiarch objects.
6613 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
6614 file: multiarch power7 memmove.
6615 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
6616 multiarch default memmove.
6617 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
6618 multiarch memove for powerpc32/power4.
6619
17762f66
AZ
6620 * string/bcopy.c: Use full path to include memmove.c.
6621 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
6622 multiarch objects.
6623 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
6624 bcopy for powerpc64.
6625 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
6626 bcopy for powerpc64.
6627 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
6628 and memmove implementations.
6629 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
6630 optimized multiarch memmove for POWER7/powerpc64.
6631 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
6632 default multiarch memmove for powerpc64.
6633 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
6634 multiarch for powerpc64.
6635 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
6636 for POWER7/powerpc64.
6637 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
6638 memmove for POWER7/powerpc64.
6639
d6f68bbe
AZ
6640 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
6641 glibc default one.
6642
3f17b03b
AZ
6643 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
6644 __ELF_NATIVE_CLASS equal to 64.
6645
08192659
RM
66462014-07-07 Roland McGrath <roland@hack.frob.com>
6647
f4c4021b
RM
6648 * sysdeps/nptl/lowlevellock.h: File removed.
6649
f083450f
RM
6650 * NEWS: NPTL is no longer an add-on!
6651 * nptl/internaltypes.h: Moved ...
6652 * sysdeps/nptl/internaltypes.h: ... here.
6653 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
6654 * sysdeps/nptl/fork.c: Likewise.
6655 * sysdeps/nptl/gai_misc.h: Likewise.
6656 * sysdeps/nptl/librt-cancellation.c: Likewise.
6657 * sysdeps/nptl/jmp-unwind.c: Likewise.
6658 * sysdeps/nptl/setxid.h: Likewise.
6659 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
6660 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
6661 * sysdeps/unix/sysv/linux/arm/Implies: New file.
6662 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
6663 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
6664 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
6665 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
6666 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
6667 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
6668 * sysdeps/unix/sysv/linux/mips/Implies: New file.
6669 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
6670 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
6671 * sysdeps/unix/sysv/linux/sh/Implies: New file.
6672 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
6673 * sysdeps/unix/sysv/linux/tile/Implies: New file.
6674 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
6675 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
6676 * nptl/Makeconfig: Moved ...
6677 * sysdeps/nptl/Makeconfig: ... here.
6678 * nptl/configure: File removed.
6679 * nptl/ANNOUNCE: File removed.
6680 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
6681 * sysdeps/unix/sysv/linux/configure: Regenerated.
6682
08192659
RM
6683 * nptl/Makefile (routines): Add libc_pthread_init,
6684 libc_multiple_threads, register-atfork and unregister-atfork.
6685 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
6686 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
6687 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
6688 pthread-pi-defines.sym, structsem.sym.
6689 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
6690 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
6691 [$(subdir) = nptl] (tests): Add tst-setgetname.
6692 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
6693 * sysdeps/unix/sysv/linux/sigaction.c: Just include
6694 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
6695 [!LIBC_SIGACTION]: Remove aliases.
6696 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
6697 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6698 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6699 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
6700 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
6701 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
6702 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6703 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6704 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6705 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
6706 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
6707 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
6708 __libc_allocate_rtsig_private.
6709 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
6710 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
6711 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
6712 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
6713 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
6714 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
6715 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
6716 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
6717 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
6718 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
6719 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
6720 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
6721 * nptl/internaltypes.h: ... here.
6722 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
6723 * sysdeps/nptl/jmp-unwind.c: ... here.
6724 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
6725 * nptl/libc-lowlevellock.c: ... here.
6726 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
6727 * nptl/libc_multiple_threads.c: ... here.
6728 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
6729 * nptl/libc_pthread_init.c: ... here.
6730 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
6731 * nptl/lowlevelbarrier.sym: ... here.
6732 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
6733 * nptl/lowlevelcond.sym: ... here.
6734 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
6735 * nptl/lowlevellock.c: ... here.
6736 * nptl/lowlevellock.h: Moved ...
6737 * sysdeps/nptl/lowlevellock.h: ... here.
6738 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
6739 * nptl/lowlevelrobustlock.c: ... here.
6740 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
6741 * nptl/lowlevelrobustlock.sym: ... here.
6742 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
6743 * nptl/lowlevelrwlock.sym: ... here.
6744 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
6745 * nptl/pt-fork.c: ... here.
6746 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
6747 * nptl/pthread-pi-defines.sym: ... here.
6748 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
6749 * nptl/pthread_attr_getaffinity.c: ... here.
6750 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
6751 * nptl/pthread_attr_setaffinity.c: ... here.
6752 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
6753 * nptl/pthread_mutex_cond_lock.c: ... here.
6754 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6755 Update #include.
6756 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
6757 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
6758 * nptl/pthread_once.c: ... here, replacing old file.
6759 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
6760 * nptl/pthread_yield.c: ... here.
6761 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
6762 * nptl/register-atfork.c: ... here.
6763 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
6764 * nptl/sem_post.c: ... here.
6765 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
6766 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
6767 * nptl/sem_timedwait.c: ... here.
6768 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
6769 * nptl/sem_trywait.c: ... here.
6770 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
6771 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
6772 * nptl/sem_wait.c: ... here.
6773 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
6774 * nptl/structsem.sym: ... here.
6775 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
6776 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
6777 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
6778 * nptl/unregister-atfork.c: ... here.
6779 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
6780 * nptl/unwindbuf.sym: ... here.
6781 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
6782 * sysdeps/nptl/fork.c: ... here.
6783 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
6784 * sysdeps/nptl/fork.h: ... here.
6785 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
6786 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
6787 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
6788 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
6789 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
6790 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
6791 * sysdeps/unix/sysv/linux/getpid.c: ... here.
6792 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
6793 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
6794 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
6795 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
6796 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
6797 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
6798 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
6799 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
6800 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
6801 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
6802 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
6803 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
6804 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
6805 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
6806 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
6807 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
6808 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
6809 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
6810 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
6811 * sysdeps/unix/sysv/linux/raise.c: ... here.
6812 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
6813 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
6814 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
6815 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
6816 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
6817 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
6818 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
6819 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
6820 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
6821 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
6822 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
6823 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
6824 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
6825 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
6826 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
6827
96baf6ff
SP
68282014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6829
6830 * sysdeps/generic/memcopy.h: Add comment for
6831 MEMCPY_OK_FOR_FWD_MEMMOVE.
6832
6b7b14b2
WN
68332014-07-04 Will Newton <will.newton@linaro.org>
6834
1570a72b
WN
6835 * string/memchr.c: Merge from gnulib.
6836 [_LIBC]: Remove conditionals.
6837 (__ptr_t): Remove define.
6838 (LONG_MAX_32_BITS): Likewise.
6839 (LONG_MAX): Likewise.
6840 (MEMCHR): Use ANSI prototype and optimize algorithm.
6841
6b7b14b2
WN
6842 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
6843
38851324
SP
68442014-07-03 Roland McGrath <roland@hack.frob.com>
6845
3d9eb57c
RM
6846 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
6847 (lll_futex_timed_wait_bitset): Fix syscall argument count.
6848
78b984ae
RM
6849 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
6850 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
6851 in a bare environment with no <stdlib.h> installed.
6852 * sysdeps/nptl/configure: Regenerated.
6853
2d5976a5
RM
6854 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
6855
c1f5acd4
RM
6856 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
6857 AC_EGREP_CPP for kernel header checks, so they only succeed if
6858 including <linux/version.h> actually works right.
6859 * sysdeps/unix/sysv/linux/configure: Regenerated.
6860
4d614fe5
RM
6861 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
6862 value so it's not diagnosed as unused.
6863
38851324
SP
6864 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
6865 thing) with "ifeq ($(subdir),rt)".
6866
b3ec00e5
RH
68672014-07-03 Richard Henderson <rth@redhat.com>
6868
69862e25
RH
6869 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
6870 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
6871 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
6872
d5e16ade
RH
6873 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
6874 (math_force_eval): New.
6875
ca7b945c
RH
6876 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
6877 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
6878
cd1175a3
RH
6879 * sysdeps/alpha/fpu/s_round.c: Remove file.
6880 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
6881
b3ec00e5
RH
6882 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
6883 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
6884 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
6885 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
6886 (_dl_start, print_statistics): Likewise.
6887 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
6888 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
6889
6890 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6891 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6892 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6893 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6894 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6895 (HP_SMALL_TIMING_AVAIL): Define.
6896 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6897 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
6898 (HP_SMALL_TIMING_AVAIL): Define.
6899 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6900 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6901
6902 * sysdeps/aarch64/hp-timing.h: New file.
6903
6904 * sysdeps/generic/hp-timing.h: Remove dead comment.
6905 * sysdeps/generic/hp-timing-common.h: New file.
6906 * sysdeps/alpha/hp-timing.h: Include it.
6907 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
6908 * sysdeps/i386/i686/hp-timing.h: Likewise.
6909 * sysdeps/ia64/hp-timing.h: Likewise.
6910 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6911 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6912 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6913 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6914 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
6915 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
6916 (hp_timing_t): New.
6917
6918 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
6919 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
6920 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
6921 * elf/rtld.c (_dl_start_final): Likewise.
6922 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
6923 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6924 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6925 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6926 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6927 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6928 (HP_TIMING_DIFF_INIT): Remove.
6929 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6930 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
6931 (HP_TIMING_DIFF_INIT): Remove.
6932 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6933 * sysdeps/i386/i686/hp-timing.c: Remove file.
6934 * sysdeps/x86_64/hp-timing.c: Remove file.
6935 * sysdeps/ia64/hp-timing.c: Remove file.
6936 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
6937 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
6938 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
6939 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
6940
6941 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
6942 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
6943 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
6944 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6945 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6946 (HP_TIMING_ACCUM): Remove.
6947 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6948 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
6949 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6950
6951 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
6952 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
6953 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
6954 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
6955 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
6956 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
6957 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
6958 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
6959
6960 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
6961
225f410f
MR
69622014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
6963
6964 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
6965
3247f285
SP
69662014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6967
6968 Sync up with gettext.
6969 * intl/loadmsgcat.c: Define O_BINARY if not defined.
6970 [_MSC_VER]: Include malloc.h
6971 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
6972 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
6973 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
6974 TEMP_FAILURE_RETRY. Cast return of alloca.
6975 [!_LIBC] Call gl_rwlock_init.
6976 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
6977
d12704c7
SP
69782014-07-02 Roland McGrath <roland@hack.frob.com>
6979
6980 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
6981 before checking its value.
6982
99f8dc92
SP
69832014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6984
05fdac77
SP
6985 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
6986
99f8dc92
SP
6987 * debug/memcpy_chk.c: Don't include pagecopy.h.
6988 * debug/mempcpy_chk.c: Likewise.
6989 * string/memcpy.c: Likewise.
6990 * string/memmove.c: Likewise.
6991 * sysdeps/powerpc/memmove.c: Likewise.
6992 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
6993 definition of PAGE_COPY_FWD_MAYBE here...
6994 * sysdeps/generic/pagecopy.h: ... from here.
6995 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
6996
bc8ea385
VR
69972014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6998 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6999
7000 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
7001 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
7002 optimizations.
7003 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7004 (__libc_ifunc_impl_list): Likewise.
7005 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
7006 multiarch strcat for PPC64.
7007 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
7008 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
7009
fe5f34e4
RM
70102014-07-02 Roland McGrath <roland@hack.frob.com>
7011
7012 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
7013
256aa665
SP
70142014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7015
d4eb8195
SP
7016 * intl/loadmsgcat.c: Remove declaration of
7017 get_sysdep_segment_value.
7018 (get_sysdep_segment_value): Use ISO C style.
7019 (_nl_load_domain): Use ISO C style. Get rid of redundant
7020 semicolon. Fix typo and formatting in comment.
7021 (_nl_unload_domain): Use ISO C style.
7022
256aa665
SP
7023 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
7024
b100f9aa
WN
70252014-07-02 Will Newton <will.newton@linaro.org>
7026
7027 * malloc/obstack.c: Merge from gnulib master.
7028 [HAVE_CONFIG_H]: Remove conditional code.
7029 [!_LIBC]: Include config.h.
7030 [!ELIDE_CODE]: Don't include inttypes.h, include
7031 stdint.h unconditionally.
7032 (print_and_abort): Mark as _Noreturn.
7033 (_obstack_allocated_p): Mark as __attribute_pure__.
7034 (obstack_free): Rename to __obstack_free.
7035 [!__attribute__]: Remove conditional code.
7036 * malloc/obstack.h: Merge from gnulib master.
7037 [__cplusplus]: Move conditional down.
7038 [!__attribute_pure__]: Define __attribute_pure__ here
7039 if it is not already defined.
7040 (_obstack_memory_used): Mark as __attribute_pure__.
7041 [!__obstack_free]: Define as obstack_free.
7042 [__GNUC__]: Remove check for ancient NeXT gcc.
7043
c4c41244
PE
70442014-07-02 Will Newton <will.newton@linaro.org>
7045 Paul Eggert <eggert@cs.ucla.edu>
7046
7047 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
7048
e1e041c4
SP
70492014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7050
7051 * resolv/gethnamaddr.c: Add comment warning that the file is
7052 not maintained.
7053
ccf431ff
CD
70542014-07-01 Carlos O'Donell <carlos@redhat.com>
7055
d34570a6
CD
7056 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
7057 entries.
7058
ccf431ff
CD
7059 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
7060 entry for aio_cancel and aio_cancel64.
7061 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
7062 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
7063 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
7064 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
7065 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
7066 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
7067 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
7068 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
7069 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
7070 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
7071 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
7072 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
7073 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
7074
ca06321d
RM
70752014-07-01 Roland McGrath <roland@hack.frob.com>
7076
7077 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
7078 * nptl/pthread_mutex_lock.c: Likewise.
7079 * nptl/pthread_mutex_timedlock.c: Likewise.
7080 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
7081
a1ac3184
RH
70822014-07-01 Richard henderson <rth@redhat.com>
7083
631021e0
RH
7084 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
7085 (__isnan, __isnanl): Remove.
7086 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
7087
a1ac3184
RH
7088 * sysdeps/alpha/fpu/libm-test-ulps: Update.
7089
0c1d731f
SL
70902014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
7091
7092 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7093
76985d3e
SP
70942014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7095
7096 * resolv/nss_dns/dns-host.c (getanswer_r)
7097 [MULTI_PTRS_ARE_ALIASES]: Remove code.
7098
b0cb3096
JM
70992014-07-01 Joseph Myers <joseph@codesourcery.com>
7100
7101 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7102 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
7103 undefine.
7104 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
7105 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
7106
4d76cb39
RM
71072014-07-01 Roland McGrath <roland@hack.frob.com>
7108
7109 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
7110 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
7111
7112 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
7113 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
7114
7115 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
7116 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
7117 ... here.
7118 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
7119 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
7120
7121 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
7122 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
7123 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
7124 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
7125
7126 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
7127 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
7128 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
7129 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
7130 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
7131 Moved ...
7132 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
7133 ... here.
7134 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
7135 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
7136 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
7137 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
7138 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
7139 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
7140 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
7141 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
7142 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
7143 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
7144 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
7145 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
7146 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
7147 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
7148 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
7149 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
7150 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
7151 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
7152 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
7153 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
7154 ... here.
7155 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
7156 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
7157 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
7158 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
7159 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
7160 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
7161 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
7162 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
7163
0cdcad17
DH
71642014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
7165
7166 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
7167 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
7168 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
7169 Add sysdep.
7170
9b71d0e3
AZ
71712014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7172
7173 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7174
665390c2
JM
71752014-06-30 Joseph Myers <joseph@codesourcery.com>
7176
ae05a9d7
JM
7177 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
7178 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7179
a7672a2f
JM
7180 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7181
665390c2
JM
7182 * sysdeps/arm/libm-test-ulps: Regenerated.
7183
d7a05d07
MR
71842014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
7185 Roland McGrath <roland@hack.frob.com>
7186
7187 * test-skeleton.c (signal_handler): Kill the whole process group
7188 before killing the child individually.
7189 (main): Report any failure on `setpgid'.
7190
46f1d8a6
RM
71912014-06-30 Roland McGrath <roland@hack.frob.com>
7192
7193 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
7194 from _TLS_H to _ARM_NPTL_TLS_H.
7195 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
7196 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
7197
9c37ec0b
JM
71982014-06-30 Joseph Myers <joseph@codesourcery.com>
7199
ce9c5b3e
JM
7200 [BZ #16539]
7201 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
7202 (__expm1l): Return argument unchanged when small but not
7203 subnormal.
7204
3a6e9887
JM
7205 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
7206 include macro name.
7207 (_FP_UNPACK_RAW_1_P): Likewise.
7208 (_FP_PACK_RAW_1): Likewise.
7209 (_FP_PACK_RAW_1_P): Likewise.
7210 (_FP_MUL_MEAT_1_wide): Likewise.
7211 (_FP_MUL_MEAT_DW_1_hard): Likewise.
7212 (_FP_MUL_MEAT_1_hard): Likewise.
7213 (_FP_DIV_MEAT_1_imm): Likewise.
7214 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
7215 (_FP_DIV_MEAT_1_udiv): Likewise.
7216 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
7217 (_FP_UNPACK_RAW_2): Likewise.
7218 (_FP_UNPACK_RAW_2_P): Likewise.
7219 (_FP_PACK_RAW_2): Likewise.
7220 (_FP_PACK_RAW_2_P): Likewise.
7221 (_FP_MUL_MEAT_DW_2_wide): Likewise.
7222 (_FP_MUL_MEAT_2_wide): Likewise.
7223 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
7224 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7225 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
7226 (_FP_MUL_MEAT_2_gmp): Likewise.
7227 (_FP_DIV_MEAT_2_udiv): Likewise.
7228 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
7229 (_FP_FRAC_SRL_4): Likewise.
7230 (_FP_FRAC_SRST_4): Likewise.
7231 (_FP_FRAC_SRS_4): Likewise.
7232 (_FP_UNPACK_RAW_4): Likewise.
7233 (_FP_UNPACK_RAW_4_P): Likewise.
7234 (_FP_PACK_RAW_4): Likewise.
7235 (_FP_PACK_RAW_4_P): Likewise.
7236 (_FP_MUL_MEAT_DW_4_wide): Likewise.
7237 (_FP_MUL_MEAT_4_wide): Likewise.
7238 (_FP_MUL_MEAT_4_gmp): Likewise.
7239 (umul_ppppmnnn): Likewise.
7240 (_FP_DIV_MEAT_4_udiv): Likewise.
7241 (__FP_FRAC_ADD_4): Likewise.
7242 (__FP_FRAC_SUB_3): Likewise.
7243 (__FP_FRAC_SUB_4): Likewise.
7244 (__FP_FRAC_DEC_3): Likewise.
7245 (__FP_FRAC_DEC_4): Likewise.
7246 (__FP_FRAC_ADDI_4): Likewise.
7247 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
7248 (_FP_FRAC_SRL_8): Likewise.
7249 (_FP_FRAC_SRS_8): Likewise.
7250
9c37ec0b
JM
7251 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
7252 include macro name.
7253 (FP_UNPACK_RAW_EP): Likewise.
7254 (FP_PACK_RAW_E): Likewise.
7255 (FP_PACK_RAW_EP): Likewise.
7256 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
7257 (_FP_ISSIGNAN): Likewise.
7258 (_FP_ADD_INTERNAL): Likewise.
7259 (_FP_FMA): Likewise.
7260 (_FP_CMP): Likewise.
7261 (_FP_SQRT): Likewise.
7262 (_FP_TO_INT): Likewise.
7263 (_FP_FROM_INT): Likewise.
7264 (FP_EXTEND): Likewise.
7265 (_FP_DIV_MEAT_N_loop): Likewise.
7266
2125f674
MR
72672014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
7268
7269 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
7270 throughout.
7271
edea4028
JM
72722014-06-29 Joseph Myers <joseph@codesourcery.com>
7273
7274 [BZ #17097]
7275 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
7276 result with correct sign in case of exponents that produce
7277 overflow except for X very close to 1.
7278
dd0ba018
PE
72792014-06-28 Paul Eggert <eggert@cs.ucla.edu>
7280
7281 mktime: merge #if/#ifdef usage from glibc
7282 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
7283 as that works with both Glibc's and Gnulib's style.
7284 See thread starting at Siddhesh Poyarekar's bug report at:
7285 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
7286
64df73c2
SP
72872014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7288
7289 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
7290 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
7291 * sysdeps/tile/tilegx/memmove.c: Remove file.
7292
f1eafb41
JM
72932014-06-27 Joseph Myers <joseph@codesourcery.com>
7294
7295 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
7296 abi-name definition.
7297 * scripts/soversions.awk: Do not handle or generate ABI lines.
7298 * shlib-versions: Remove ABI entries.
7299 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
7300 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
7301
58eb0862
RM
73022014-06-27 Roland McGrath <roland@hack.frob.com>
7303
37caf178
RM
7304 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
7305 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
7306 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
7307 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
7308 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
7309 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
7310 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
7311 Moved ...
7312 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
7313 ... here.
7314 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
7315 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
7316 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
7317 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
7318 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
7319 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
7320 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
7321 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
7322 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
7323 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
7324 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
7325 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
7326 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
7327 Moved ...
7328 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
7329 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
7330 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
7331 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
7332 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
7333 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
7334 Moved ...
7335 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
7336 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
7337 Moved ...
7338 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
7339 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
7340 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
7341 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
7342 Moved ...
7343 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
7344 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
7345 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
7346 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
7347 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
7348 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
7349 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
7350 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
7351 Moved ...
7352 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
7353 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
7354 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
7355 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
7356 Moved ...
7357 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
7358 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
7359 Moved ...
7360 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
7361 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
7362 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
7363 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
7364 Moved ...
7365 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
7366 ... here.
7367 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
7368 Identical file removed.
7369 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
7370 Moved ...
7371 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
7372 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
7373 Identical file removed.
7374 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
7375 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
7376 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
7377 Moved ...
7378 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
7379 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
7380 Identical file removed.
7381 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
7382 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
7383 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
7384 Identical file removed.
7385 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
7386 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
7387 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
7388 Identical file removed.
7389 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
7390 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
7391 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
7392 Identical file removed.
7393 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
7394 Moved ...
7395 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
7396 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
7397 Identical file removed.
7398 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
7399 Moved ...
7400 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
7401 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
7402 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
7403 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
7404 Identical file removed.
7405 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
7406 Moved ...
7407 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
7408 ... here.
7409 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
7410 Identical file removed.
7411 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
7412 Moved ...
7413 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
7414 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
7415 Identical file removed.
7416 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
7417 Moved ...
7418 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
7419 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
7420 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
7421 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
7422 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
7423 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
7424 Moved ...
7425 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
7426 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
7427 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
7428
58eb0862
RM
7429 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
7430 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
7431 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
7432 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
7433 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
7434
6f12d062
AS
74352014-06-27 Arjun Shankar <arjun.is@lostca.se>
7436
7437 [BZ #17092]
7438 * nscd/nscd.c (monitor_child): Return exit status of child
7439 instead of return value from wait syscall.
7440
be254932
JM
74412014-06-27 Joseph Myers <joseph@codesourcery.com>
7442
cb403c34
JM
7443 * configure.ac (libc_commonpagesize): Remove variable.
7444 (libc_relro_required): Likewise.
7445 (libc_cv_z_relro): Remove configure test.
7446 * configure: Regenerated.
7447 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
7448 variable.
7449 (libc_relro_required): Likewise.
7450 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
7451 (libc_relro_required): Likewise.
7452 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
7453 (libc_relro_required): Likewise.
7454 * sysdeps/arm/preconfigure: Regenerated.
7455 * sysdeps/ia64/preconfigure: Remove file.
7456 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
7457 variable.
7458 (libc_relro_required): Likewise.
7459
be254932
JM
7460 [BZ #16561]
7461 [BZ #16562]
7462 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
7463 (__ieee754_yn): Set FE_TONEAREST mode internally and then
7464 recompute overflowing results in original rounding mode.
7465 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
7466 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
7467 recompute overflowing results in original rounding mode.
7468 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
7469 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7470 recompute overflowing results in original rounding mode.
7471 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
7472 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7473 recompute overflowing results in original rounding mode.
7474 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
7475 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7476 recompute overflowing results in original rounding mode.
7477 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
7478 (libc_feholdsetround_ctx): New macro.
7479 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
7480 * sysdeps/i386/fpu/libm-test-ulps: Update.
7481 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
7482
b351d85a
JM
74832014-06-26 Joseph Myers <joseph@codesourcery.com>
7484
7485 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
7486 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
7487 corresponding .cpsetup call.
7488
3cb4de47
RM
74892014-06-26 Roland McGrath <roland@hack.frob.com>
7490
7491 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
7492 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
7493 * sysdeps/arm/Makefile [$(subdir) = csu]
7494 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
7495 (static-only-routines): Add aeabi_read_tp here.
7496 (shared-only-routines): Add libc-aeabi_read_tp here.
7497 (CFLAGS-libc-start.c): Add -fexceptions here.
7498 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
7499 (sysdep_routines, static-only-routines, shared-only-routines):
7500 Don't add to these here.
7501 (CFLAGS-libc-start.c): Likewise.
7502
7503 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
7504 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
7505 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
7506 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
7507 * sysdeps/arm/Makefile [$(subdir) = rt]
7508 (librt-sysdep_routines, librt-shared-only-routines):
7509 Append rt-aeabi_unwind_cpp_pr1 here.
7510 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
7511 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
7512 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
7513 (libpthread-sysdep_routines, libpthread-shared-only-routines):
7514 Append nptl-aeabi_unwind_cpp_pr1 here.
7515 (tests): Filter out tst-cleanupx4 here.
7516 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
7517 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
7518 Don't do those here.
7519
354426bb
JM
75202014-06-26 Joseph Myers <joseph@codesourcery.com>
7521
7522 * scripts/list-sources.sh: Do not handle ports specially.
7523
28b0a8c9
RM
75242014-06-26 Roland McGrath <roland@hack.frob.com>
7525
a3dd035d
RM
7526 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
7527 * sysdeps/arm/feupdateenv.c: Likewise.
7528
28b0a8c9
RM
7529 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
7530
e66a8203
JM
75312014-06-26 Joseph Myers <joseph@codesourcery.com>
7532
7533 * manual/texinfo.tex: Update to version 2014-05-05.10 with
7534 trailing whitespace removed.
7535 * scripts/config.guess: Update to version 2014-03-23.
7536 * scripts/config.sub: Update to version 2014-05-01
7537 * scripts/install-sh: Update to version 2013-12-25.23.
7538 * scripts/move-if-change: Update from gnulib.
7539
74171115
SP
75402014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7541
b97c9ce5
SP
7542 * debug/memmove_chk.c: Remove pagecopy.h include.
7543
4000f892
SP
75442014-06-26 Paul Eggert <eggert@cs.ucla.edu>
7545
74171115
SP
7546 * time/mktime.c (leapyear): Remove inline keyword. The code is now
7547 identical to gnulib mktime.
7548
a8779c28
JM
75492014-06-26 Joseph Myers <joseph@codesourcery.com>
7550
e64708de
JM
7551 * configure.ac: Do not test for machine being rs6000. Do not test
7552 for powerpc*-*soft.
7553 * configure: Regenerated.
7554
a8779c28
JM
7555 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
7556 test.
7557 * configure: Regenerated.
7558 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
7559 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
7560 Remove configure test.
7561 * sysdeps/arm/configure: Regenerated.
7562 * sysdeps/nptl/configure.ac: Do not check
7563 libc_cv_asm_cfi_directives.
7564 * sysdeps/nptl/configure: Regenerated.
7565 * sysdeps/x86_64/nptl/configure.ac: Remove file.
7566 * sysdeps/x86_64/nptl/configure: Remove generated file.
7567 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
7568 unconditional.
7569 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
7570
2aac0a86
SP
75712014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7572
059bf913
SP
7573 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
7574 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
7575 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
7576 it is defined.
7577
4cf5b6d0
SP
7578 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
7579 instead of whether it is defined.
7580 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
7581 * sysdeps/hppa/dl-machine.h: Likewise.
7582 * sysdeps/ia64/dl-machine.h: Likewise.
7583 * sysdeps/m68k/dl-machine.h: Likewise.
7584 * sysdeps/microblaze/dl-machine.h: Likewise.
7585 * sysdeps/mips/dl-machine.: Likewise.
7586 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7587 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7588 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7589 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7590 * sysdeps/sh/dl-machine.h: Likewise.
7591 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7592 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7593 * sysdeps/tile/dl-machine.h: Likewise.
7594 * sysdeps/x86_64/dl-machine.h: Likewise.
7595
2aac0a86
SP
7596 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
7597 code.
7598 (verify_persistent_db): Likewise.
7599
6ad2df0b
RM
76002014-06-26 Roland McGrath <roland@hack.frob.com>
7601
d8a483f3
RM
7602 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
7603 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
7604 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
7605 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
7606 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7607 Moved ...
7608 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
7609 ... here.
7610 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
7611 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
7612 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
7613 Identical file removed.
7614 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
7615 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
7616 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
7617 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
7618 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
7619 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
7620 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
7621 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
7622 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
7623 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
7624 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7625 Moved ...
7626 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
7627 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
7628 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
7629 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
7630 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
7631 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7632 Moved ...
7633 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
7634 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
7635 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
7636 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
7637 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
7638 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
7639 Identical file removed.
7640 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
7641 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
7642 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
7643 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
7644 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7645 Moved ...
7646 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
7647 ... here.
7648 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
7649 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
7650 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
7651 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
7652 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
7653 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
7654 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
7655 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
7656 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
7657 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
7658 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7659 Moved ...
7660 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
7661 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
7662 Moved ...
7663 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
7664 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
7665 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
7666 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7667 Moved ...
7668 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
7669 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
7670 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
7671
52ae23b4
RM
7672 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
7673 folded into ...
7674 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
7675 * sysdeps/unix/sysv/linux/s390/Versions
7676 (libpthread: GLIBC_2.19): New version set.
7677 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
7678 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
7679 (librt: GLIBC_2.3.3): New version set.
7680 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
7681 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
7682 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
7683 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
7684 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
7685 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
7686 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
7687 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
7688 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
7689 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
7690 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
7691 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
7692 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
7693 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
7694 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
7695 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
7696 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
7697 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
7698 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
7699 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
7700 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
7701 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
7702 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
7703 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
7704 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
7705 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
7706 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
7707 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
7708 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
7709 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
7710 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
7711 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
7712 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
7713 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
7714 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
7715 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
7716 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
7717 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
7718 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
7719 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
7720 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
7721 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
7722 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
7723 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
7724 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
7725
39507e4a
RM
7726 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
7727 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
7728 (__libc_vfork): Define the function under this name.
7729 [!NOT_IN_libc] (__vfork): Make this an alias.
7730 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7731 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
7732 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
7733 (__libc_vfork): Define the function under this name.
7734 [!NOT_IN_libc] (__vfork): Make this an alias.
7735 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7736 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
7737 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
7738 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
7739 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
7740 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7741
e549ee56
RM
7742 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
7743 code that was previously under [RESET_PID].
7744 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
7745 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
7746 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
7747
6ad2df0b
RM
7748 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
7749 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
7750 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
7751 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
7752 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
7753 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
7754 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
7755 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
7756 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
7757 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
7758 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
7759 Moved ...
7760 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
7761 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
7762 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
7763 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
7764 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
7765 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
7766 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
7767 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
7768 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
7769 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
7770 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
7771 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
7772 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
7773 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
7774 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
7775 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
7776 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
7777 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
7778 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
7779 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
7780 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
7781 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
7782 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
7783 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
7784 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
7785 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
7786 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
7787 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
7788 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
7789
7c1c1d8e
RM
77902014-06-25 Roland McGrath <roland@hack.frob.com>
7791
7792 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
7793 that was previously under [RESET_PID].
7794 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
7795
3e239be6
JM
77962014-06-25 Joseph Myers <joseph@codesourcery.com>
7797
74385da5
JM
7798 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
7799 not undefine and redefine.
7800 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
7801 [O_CLOEXEC]: Make code unconditional.
7802 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
7803 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
7804 <kernel-features.h>.
7805 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
7806 conditional variable definition.
7807 (shm_open) [O_CLOEXEC]: Make code unconditional.
7808 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
7809 code.
7810
c2570a0b
JM
7811 * configure.ac (USE_REGPARMS): Don't define here.
7812 * configure: Regenerated.
7813 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
7814 * sysdeps/i386/configure: Regenerated.
7815
11b076bb
JM
7816 * nptl/createthread.c: Don't include kernel-features.h.
7817 * nptl/pthread_cancel.c: Likewise.
7818 * nptl/pthread_condattr_setclock.c: Likewise.
7819 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
7820 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
7821 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
7822 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
7823 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
7824 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
7825 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
7826 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
7827 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
7828 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
7829 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
7830 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
7831 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
7832 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
7833 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
7834 * nscd/gai.c: Likewise.
7835 * nss/nss_db/db-open.c: Likewise.
7836 * sysdeps/generic/ldsodefs.h: Likewise.
7837 * sysdeps/sh/nptl/tls.h: Likewise.
7838 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7839 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
7840 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
7841 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
7842 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
7843 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7844 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
7845 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7846 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7847 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
7848 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
7849 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7850 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
7851 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
7852 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
7853 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
7854 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
7855 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
7856 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
7857 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
7858 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
7859 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
7860 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
7861 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
7862 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
7863 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
7864 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
7865 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
7866 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
7867 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
7868 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
7869 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
7870 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
7871 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7872 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7873 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7874 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7875 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
7876 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
7877 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
7878 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
7879 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
7880 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
7881 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7882 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
7883 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
7884 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
7885 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
7886 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
7887 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
7888 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7889 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
7890 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7891 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7892 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
7893 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
7894 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7895 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
7896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
7898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
7899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
7900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
7901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
7902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
7903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
7904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
7907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
7908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
7909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
7910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
7911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
7916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
7917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
7918 * sysdeps/unix/sysv/linux/pread.c: Likewise.
7919 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
7920 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
7921 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
7922 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
7923 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
7924 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
7925 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
7926 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
7927 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
7928 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
7929 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
7930 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
7931 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
7932 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
7933 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
7934 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7935 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
7936 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
7937 * sysdeps/unix/sysv/linux/system.c: Likewise.
7938 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
7939 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
7940 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7941 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7942 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7943 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7944 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
7945
92072d57
JM
7946 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
7947 * configure: Regenerated.
7948 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
7949
3e239be6
JM
7950 * configure.ac (base_machine): Do not set specially for particular
7951 machines here.
7952 * configure: Regenerated.
7953 * sysdeps/powerpc/preconfigure: Move machine and base_machine
7954 settings from configure.ac.
7955 * sysdeps/i386/preconfigure: New file.
7956 * sysdeps/s390/preconfigure: Likewise.
7957 * sysdeps/sh/preconfigure: Likewise.
7958 * sysdeps/sparc/preconfigure: Likewise.
7959
06d50baa
RM
79602014-06-25 Roland McGrath <roland@hack.frob.com>
7961
74836003
RM
7962 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
7963 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
7964 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
7965 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
7966 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
7967 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
7968 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
7969 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
7970 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
7971 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
7972 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
7973 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
7974 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
7975 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
7976 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
7977 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
7978 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
7979 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
7980 * sysdeps/sparc/sparc64/Makefile: ... appended here.
7981
7982 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
7983 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
7984 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
7985 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
7986 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
7987 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
7988 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
7989 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
7990 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
7991 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
7992 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
7993 * sysdeps/sparc/sparc32/sem_post.c: ... here.
7994 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
7995 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
7996 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
7997 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
7998 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
7999 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
8000 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
8001 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
8002 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
8003 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
8004 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
8005 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
8006 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
8007 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
8008 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
8009 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
8010 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
8011 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
8012 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
8013 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
8014 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
8015 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
8016 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
8017 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
8018 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
8019 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
8020
06d50baa
RM
8021 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
8022 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
8023 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
8024 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
8025 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8026 Moved ...
8027 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
8028 ... here.
8029 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
8030 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
8031 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
8032 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
8033 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
8034 Moved ...
8035 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
8036 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
8037 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
8038 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
8039 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
8040 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
8041 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
8042 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8043 Moved ...
8044 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
8045 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8046 Moved ...
8047 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
8048 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
8049 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
8050 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8051 Moved ...
8052 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
8053 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
8054 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
8055 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
8056 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
8057 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
8058 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
8059 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
8060 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
8061 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8062 Moved ...
8063 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
8064 ... here.
8065 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
8066 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
8067 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
8068 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
8069 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
8070 Moved ...
8071 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
8072 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
8073 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
8074 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
8075 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
8076 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
8077 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
8078 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8079 Moved ...
8080 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
8081 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8082 Moved ...
8083 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
8084 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
8085 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
8086 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8087 Moved ...
8088 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
8089 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
8090 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
8091 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
8092 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
8093
a4ccbc9b
JM
80942014-06-25 Joseph Myers <joseph@codesourcery.com>
8095
0828edbf
JM
8096 * timezone/checktab.awk: Update from tzcode 2014e.
8097 * timezone/private.h: Likewise.
8098 * timezone/tzfile.h: Likewise.
8099 * timezone/zdump.c: Likewise.
8100 * timezone/zic.c: Likewise.
8101
a4ccbc9b
JM
8102 * sysdeps/unix/sysv/linux/kernel-features.h
8103 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
8104 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
8105 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
8106 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
8107 Remove conditional code.
8108
9aea0cb8
WN
81092014-06-25 Will Newton <will.newton@linaro.org>
8110
8111 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
8112 (_dl_arm_cap_flags): Add HWCAP2 values.
8113 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
8114 (_DL_HWCAP_COUNT): Increase to 37.
8115 (_DL_HWCAP_LAST): New define.
8116 (_DL_HWCAP2_LAST): New define.
8117 (_dl_procinfo): Add support for printing
8118 AT_HWCAP2 entries.
8119 (_dl_string_hwcap): Use _dl_hwcap_string.
8120
6eaa65ce
AZ
81212014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8122
8123 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8124
0f5b7185
JM
81252014-06-25 Joseph Myers <joseph@codesourcery.com>
8126
cfd2ea50
JM
8127 * README: Do not mention ports directory.
8128
cecf2ed4
JM
8129 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
8130 Remove macro.
8131 * sysdeps/unix/sysv/linux/futimes.c: Do not include
8132 <kernel-features.h>.
8133 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
8134 conditional variable definition.
8135 (__futimes): Update comment.
8136 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
8137 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
8138
a638de82
JM
8139 [BZ #16560]
8140 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
8141 arguments close to 0.
8142 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
8143 Likewise.
8144 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
8145 Likewise.
8146 * math/auto-libm-test-in: Add more tests of exp10.
8147 * math/auto-libm-test-out: Regenerated.
8148 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8149
0f5b7185
JM
8150 * sysdeps/unix/sysv/linux/kernel-features.h
8151 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
8152 * sysdeps/unix/sysv/linux/readv.c: Do not include
8153 <kernel-features.h>.
8154 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8155 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8156 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8157 unconditional.
8158 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8159 conditional code.
8160 * sysdeps/unix/sysv/linux/writev.c: Do not include
8161 <kernel-features.h>.
8162 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8163 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8164 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8165 unconditional.
8166 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8167 conditional code.
8168
c7aec4be
WN
81692014-06-25 Will Newton <will.newton@linaro.org>
8170
8171 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
8172 comment changes throughout the file. Remove checks
8173 for HAVE_*_H definitions that are not required.
8174 (__gen_tempname): Call abort if an unknown kind value is
8175 passed.
8176
c5241f95
AS
81772014-06-25 Andreas Schwab <schwab@suse.de>
8178
8179 [BZ #17086]
8180 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
8181 scalbln, scalblnf, scalblnl in libc.
8182
911422da
SP
81832014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8184
8185 [BZ #17086]
8186 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
8187 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
8188 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
8189
0d749bbe
RM
81902014-06-24 Roland McGrath <roland@hack.frob.com>
8191
8192 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
8193 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
8194 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
8195 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
8196 Update #include.
8197 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
8198 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
8199 Update #include.
8200 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
8201 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
8202 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
8203 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
8204 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
8205 * sysdeps/x86/bits/pthreadtypes.h: ... here.
8206 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
8207 * sysdeps/x86/bits/semaphore.h: ... here.
8208 * sysdeps/x86/nptl/elide.h: Moved ...
8209 * sysdeps/x86/elide.h: ... here.
8210 * sysdeps/x86_64/nptl/Implies: File removed.
8211 * sysdeps/i386/nptl/Implies: File removed.
8212
0ea5d373
JM
82132014-06-24 Joseph Myers <joseph@codesourcery.com>
8214
4060283d
JM
8215 [BZ #16539]
8216 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
8217 return the argument for normal arguments with exponent below -64.
8218 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8219 Likewise.
8220 * math/auto-libm-test-in: Add another test of expm1.
8221 * math/auto-libm-test-out: Regenerated.
8222
e7dd3c8c
JM
8223 [BZ #16287]
8224 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
8225 calling __erfcl for arguments at least 16.
8226 * math/auto-libm-test-in: Add more tests of erf.
8227 * math/auto-libm-test-out: Regenerated.
8228
0ea5d373
JM
8229 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
8230 individual architectures.
8231 * sysdeps/unix/sysv/linux/configure: Regenerated.
8232 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
8233 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
8234 * sysdeps/unix/sysv/linux/powerpc/configure.ac
8235 (ldd_rewrite_script): Define variable.
8236 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
8238 file.
8239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
8240 generated file.
8241 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
8242 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
8243 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
8244 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
8245 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
8246 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
8247 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
8248 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
8249
2307e126
SP
82502014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8251
8252 [BZ #17084]
8253 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
8254 Rename member __data.d to __data.__elision_data.
8255
c0a4ed77
W
82562014-06-24 Wilco <wdijkstr@arm.com>
8257
8258 * NEWS: Add 16918 to fixed bug list.
8259
b8c00573
W
82602014-06-24 Wilco <wdijkstr@arm.com>
8261
8262 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
8263
b5570d92
W
82642014-06-24 Wilco <wdijkstr@arm.com>
8265
8266 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
8267 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
8268 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
8269 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
8270 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
8271 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
8272 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
8273 Use _FPU_MASK_RM.
8274
947bdca2
W
82752014-06-24 Wilco <wdijkstr@arm.com>
8276
8277 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
8278
00f669ed
W
82792014-06-24 Wilco <wdijkstr@arm.com>
8280
8281 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
8282 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
8283 * sysdeps/arm/fesetround.c (fesetround): Remove space.
8284 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
8285
db59bad3
W
82862014-06-24 Wilco <wdijkstr@arm.com>
8287
8288 [BZ #16918]
8289 * sysdeps/arm/feupdateenv.c (feupdateenv):
8290 Rewrite to reduce FPSCR accesses and fix return value.
8291
001f7b77
W
82922014-06-24 Wilco <wdijkstr@arm.com>
8293
8294 * sysdeps/arm/fclrexcpt.c (feclearexcept):
8295 Optimize to avoid unnecessary FPSCR writes.
8296 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
8297 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
8298 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
8299 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
8300
4841e6a6
W
83012014-06-24 Wilco <wdijkstr@arm.com>
8302
8303 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
8304 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
8305 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
8306 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
8307 Call libc_fetestexcept_vfp.
8308 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
8309 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
8310 __SOFTFP__ ifdef so that they can be built for softfp.
8311
0813022c
SP
83122014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8313
08e5862f
SP
8314 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
8315 argument type signed char.
8316
0813022c
SP
8317 * Makerules (check-abi): Dump diff of symlist if the test
8318 fails.
8319
3fc7236a
RM
83202014-06-23 Roland McGrath <roland@hack.frob.com>
8321
aba8ef95
RM
8322 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
8323 using abort.
8324
3fc7236a
RM
8325 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
8326 Remove unused variable ST.
8327
4da6db51
JM
83282014-06-23 Joseph Myers <joseph@codesourcery.com>
8329
4648909d
JM
8330 [BZ #16354]
8331 [BZ #17061]
8332 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
8333 small arguments before calling __expm1.
8334 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
8335 small arguments before calling __expm1f.
8336 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
8337 small arguments before calling __expm1l.
8338 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8339 Likewise.
8340 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
8341 * math/auto-libm-test-in: Add more cosh tests. Do not allow
8342 spurious underflow for some cosh tests.
8343 * math/auto-libm-test-out: Regenerated.
8344 * sysdeps/i386/fpu/libm-test-ulps: Update.
8345
46a3d3c7
JM
8346 [BZ #17050]
8347 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
8348 (__ieee754_y1): Set errno if return value overflows.
8349 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
8350 (__ieee754_y1f): Set errno if return value overflows.
8351 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
8352 (__ieee754_y1l): Set errno if return value overflows.
8353 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
8354 (__ieee754_y1l): Set errno if return value overflows.
8355 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
8356 * math/auto-libm-test-out: Regenerated.
8357
863893ec
JM
8358 * math/gen-auto-libm-tests.c: Document use of
8359 ignore-zero-inf-sign.
8360 (input_flag_type): Add value flag_ignore_zero_inf_sign.
8361 (input_flags): Add ignore-zero-inf-sign.
8362 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
8363 * math/gen-libm-test.pl (generate_testfile): Handle
8364 ignore-zero-inf-sign.
8365 * math/auto-libm-test-in: Mark some cpow tests with
8366 ignore-zero-inf-sign and some with xfail-rounding.
8367 * math/auto-libm-test-out: Regenerated.
8368 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
8369 * sysdeps/i386/fpu/libm-test-ulps: Update.
8370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8371
4da6db51
JM
8372 [BZ #16315]
8373 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
8374 overflowing or underflowing operations take place with sign of
8375 result.
8376 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8377 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8378 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
8379 (__ieee754_pow): Recompute overflowing and underflowing results in
8380 original rounding mode.
8381 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
8382 (__powl_helper): Allow negative argument X and scale negated value
8383 as needed. Avoid passing value outside [-1, 1] to f2xm1.
8384 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
8385 overflowing or underflowing operations take place with sign of
8386 result.
8387 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
8388 Include <math.h>.
8389 * math/auto-libm-test-in: Add more tests of pow.
8390 * math/auto-libm-test-out: Regenerated.
8391 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
8392 (pow_tonearest_test_data): Remove.
8393 (pow_test_tonearest): Likewise.
8394 (pow_towardzero_test_data): Likewise.
8395 (pow_test_towardzero): Likewise.
8396 (pow_downward_test_data): Likewise.
8397 (pow_test_downward): Likewise.
8398 (pow_upward_test_data): Likewise.
8399 (pow_test_upward): Likewise.
8400 (main): Don't call removed functions.
8401 * sysdeps/i386/fpu/libm-test-ulps: Update.
8402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8403
5686b236
RM
84042014-06-23 Roland McGrath <roland@hack.frob.com>
8405
8406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
8407 Moved ...
8408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
8409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8410 Moved ...
8411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
8412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8413 Moved ...
8414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
8415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
8416 Moved ...
8417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
8418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
8419 File removed.
8420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8421 File removed.
8422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
8423 File removed.
8424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
8425 File removed.
8426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
8427 File removed.
8428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
8429 File removed.
8430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
8431 File removed.
8432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8433 File removed.
8434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
8435 File removed.
8436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8437 File removed.
8438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
8439 File removed.
8440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
8441 File removed.
8442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
8443 Moved ...
8444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
8445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
8446 Moved ...
8447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
8448 ... here.
8449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
8450 Moved ...
8451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
8452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
8453 Moved ...
8454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
8455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
8456 Moved ...
8457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
8458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
8459 Moved ...
8460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
8461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
8462 Moved ...
8463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
8464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
8465 Moved ...
8466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
8467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
8468 Moved ...
8469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
8470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
8471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
8472 ... here.
8473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
8474 Moved ...
8475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
8476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
8477 Moved ...
8478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8479 ... here.
8480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
8481 Moved ...
8482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8483 ... here.
8484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8485 Moved ...
8486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
8487 ... here.
8488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
8489 Moved ...
8490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
8491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8492 Moved ...
8493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
8494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
8495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
8496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8497 Moved ...
8498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
8499 ... here.
8500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8501 Moved ...
8502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
8503 ... here.
8504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8505 Moved ...
8506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
8507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8508 Moved ...
8509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
8510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8511 Moved ...
8512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
8513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8514 Moved ...
8515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
8516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8517 Moved ...
8518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
8519 ... here.
8520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8521 Moved ...
8522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
8523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8524 Moved ...
8525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
8526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8527 Moved ...
8528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
8529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8530 Moved ...
8531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
8532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
8533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
8534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8535 Moved ...
8536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
8537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8538 Moved ...
8539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
8540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8541 Moved ...
8542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
8543 ... here.
8544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8545 Moved ...
8546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
8547 ... here.
8548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8549 Moved ...
8550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
8551 ... here.
8552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
8553 Moved ...
8554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
8555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8556 Moved ...
8557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
8558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
8559 Moved ...
8560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
8561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8562 Moved ...
8563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
8564 ... here.
8565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
8566 Moved ...
8567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
8568 ... here.
8569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8570 Moved ...
8571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
8572 ... here.
8573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
8574 Moved ...
8575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
8576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
8577 Moved ...
8578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
8579
e6d90d67
WD
85802014-06-23 Will Newton <will.newton@linaro.org>
8581 Wilco <wdijkstr@arm.com>
8582
8583 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
8584 implementation. Include get-rounding-mode.h.
8585 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
8586 [!libc_feholdsetround_noex_ctx]: Define
8587 libc_feholdsetround_noex_ctx.
8588 [!libc_feholdsetround_noexf_ctx]: Define
8589 libc_feholdsetround_noexf_ctx.
8590 [!libc_feholdsetround_noexl_ctx]: Define
8591 libc_feholdsetround_noexl_ctx.
8592 (libc_feholdsetround_ctx): New function.
8593 (libc_feresetround_ctx): New function.
8594 (libc_feholdsetround_noex_ctx): New function.
8595 (libc_feresetround_noex_ctx): New function.
8596
d42df555
RM
85972014-06-23 Roland McGrath <roland@hack.frob.com>
8598
88a46474
RM
8599 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
8600 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
8601 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
8602 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
8603 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
8604 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
8605
15bed472
RM
8606 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
8607 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
8608 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
8609 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
8610 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
8611 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
8612 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
8613 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
8614 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
8615 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
8616 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
8617 Moved ...
8618 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
8619 ... here.
8620 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
8621 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
8622 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
8623 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
8624 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
8625 Moved ...
8626 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
8627 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
8628 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
8629 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
8630 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
8631 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
8632 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
8633 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
8634 Moved ...
8635 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
8636 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
8637 Moved ...
8638 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
8639 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
8640 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
8641 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
8642 Moved ...
8643 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
8644 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
8645 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
8646 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
8647 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
8648 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
8649 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
8650 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
8651 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
8652 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
8653 Moved ...
8654 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
8655 ... here.
8656 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
8657 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
8658 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
8659 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
8660 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
8661 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
8662 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
8663 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
8664 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
8665 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
8666 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
8667 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
8668 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
8669 Moved ...
8670 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
8671 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
8672 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
8673 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
8674 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
8675 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
8676 Moved ...
8677 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
8678 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
8679 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
8680 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
8681 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
8682
d42df555
RM
8683 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
8684 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
8685 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
8686 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
8687 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
8688 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
8689 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
8690 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
8691 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
8692 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
8693 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
8694 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
8695 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
8696 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
8697 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
8698 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
8699 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
8700 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
8701 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
8702 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
8703 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
8704 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
8705 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
8706 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
8707 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
8708 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
8709 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
8710 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
8711
76e5216e
JM
87122014-06-23 Joseph Myers <joseph@codesourcery.com>
8713
8714 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
8715 (FALLOC_FL_COLLAPSE_RANGE): New macro.
8716 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
8717 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
8718 (IPV6_PMTUDISC_INTERFACE): Likewise.
8719 (IPV6_PMTUDISC_OMIT): Likewise.
8720
7a81cbcc
AS
87212014-06-23 Andreas Schwab <schwab@suse.de>
8722
8723 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
8724 Remove unused errout label.
8725
db224009
AZ
87262014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8727
8728 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
8729 macro: hardware supports Vector Crypto instructions.
8730
f393b4aa
WN
87312014-06-23 Will Newton <will.newton@linaro.org>
8732
cc7d0447
WN
8733 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
8734 rather than __builtin_expect.
8735
d6d06225
WN
8736 * elf/dl-lookup.c (undefined_msg): Remove variable.
8737 (_dl_lookup_symbol_x): Replace undefined_msg with string
8738 literal.
8739
f393b4aa
WN
8740 * elf/dl-lookup.c (do_lookup_unique): New function.
8741 (do_lookup_x): Move STB_GNU_UNIQUE handling code
8742 to a separate function.
8743
ac60763e
AS
87442014-06-23 Andreas Schwab <schwab@suse.de>
8745
8746 [BZ #17079]
8747 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
8748 before reading the next line.
8749
c5c13355
WN
87502014-06-23 Will Newton <will.newton@linaro.org>
8751
8752 * test-skeleton.c (signal_handler): Use printf and %m
8753 rather than perror. Use printf rather than fprintf to
8754 stderr. Use puts rather than fputs to stderr.
8755 (main): Likewise.
8756
bd3675f9
LC
87572014-06-22 Ludovic Courtès <ludo@gnu.org>
8758
8759 * nscd/nscd.c (thread_info_t): Remove typedef.
8760 (thread_info): Remove variable.
8761
d03efb2f
AM
87622014-06-21 Allan McRae <allan@archlinux.org>
8763
8764 * NEWS: Mention CVE-2014-4043.
8765
bc4a86fa
RM
87662014-06-20 Roland McGrath <roland@hack.frob.com>
8767
dc9a54f8
RM
8768 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
8769 * nptl/smp.h: ... here.
8770
bd7022c4
RM
8771 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
8772
26ffd5e6
RM
8773 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
8774 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
8775 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
8776 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
8777
93a6d082
RM
8778 * nptl/allocatestack.c: Include <stack-aliasing.h>.
8779 * nptl/stack-aliasing.h: New file.
8780 * sysdeps/i386/i686/stack-aliasing.h: New file.
8781 * sysdeps/i386/i686/nptl/Makefile: File removed.
8782 * sysdeps/x86_64/stack-aliasing.h: New file.
8783 * sysdeps/x86_64/nptl/Makefile
8784 (CFLAGS-pthread_create.c): Variable removed.
8785
bc4a86fa
RM
8786 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
8787 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
8788 old file.
8789 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
8790 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
8791 old file.
8792
2272ffc1
JM
87932014-06-21 Joseph Myers <joseph@codesourcery.com>
8794
8795 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8796 (__ASSUME_SIGFRAME_V2): Remove macro.
8797 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
8798 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
8799 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
8800 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
8801 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
8802 Declare as function. Remove conditional macro definitions.
8803 (__default_rt_sa_restorer): Likewise.
8804 (__default_sa_restorer_v1): Remove declaration.
8805 (__default_sa_restorer_v2): Likewise.
8806 (__default_rt_sa_restorer_v1): Likewise.
8807 (__default_rt_sa_restorer_v2): Likewise.
8808 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
8809 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
8810 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
8811
4b88139b
RM
88122014-06-20 Roland McGrath <roland@hack.frob.com>
8813
8814 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
8815 (libpthread-routines): Add sysdep.
8816 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
8817 * sysdeps/unix/sysv/linux/sparc/Versions
8818 (libpthread: GLIBC_2.3.3): New version set.
8819 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
8820 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
8821 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
8822 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
8823 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
8824 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
8825 Moved ...
8826 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
8827 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
8828 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
8829 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
8830 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
8831 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
8832 * sysdeps/sparc/nptl/sem_init.c: ... here.
8833 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
8834 * sysdeps/sparc/nptl/sem_post.c: ... here.
8835 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
8836 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
8837 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
8838 * sysdeps/sparc/nptl/sem_wait.c: ... here.
8839 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
8840 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
8841 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
8842 (libpthread-routines): Add cpu_relax.
8843 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
8844 File removed.
8845 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
8846 (librt: GLIBC_2.3.3): New version set.
8847 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
8848 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
8849 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
8850 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
8851 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
8852 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
8853 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
8854 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
8855 Moved ...
8856 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
8857 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
8858 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
8859 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
8860 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
8861 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
8862 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
8863 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
8864 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
8865 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
8866 Moved ...
8867 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
8868 Update #include.
8869 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
8870 Moved ...
8871 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
8872 Update #include.
8873 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
8874 Moved ...
8875 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
8876 Update #include.
8877 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
8878 Moved ...
8879 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
8880 Update #include.
8881 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
8882 Moved ...
8883 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
8884 Update #include.
8885 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
8886 Moved ...
8887 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
8888 Update #include.
8889 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
8890 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
8891 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
8892 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
8893 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
8894 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
8895 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
8896 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
8897 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
8898 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
8899 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
8900 Moved ...
8901 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
8902 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
8903 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
8904 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
8905 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
8906
d7109027
JM
89072014-06-20 Joseph Myers <joseph@codesourcery.com>
8908
9bc6103d
JM
8909 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
8910 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
8911 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
8912 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
8913 * nscd/nscd.c: Likewise.
8914 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
8915 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
8916 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
8917 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
8918
d7109027
JM
8919 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
8920 <kernel-features.h>.
8921 (init_mq_netlink): Remove conditional have_sock_cloexec
8922 definitions. Remove code conditional on have_sock_cloexec < 0.
8923 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
8924 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
8925 * sysdeps/unix/sysv/linux/opensock.c: Do not include
8926 <kernel-features.h>.
8927 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
8928 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
8929
d92d8f8a
L
89302014-06-20 H.J. Lu <hongjiu.lu@intel.com>
8931
8932 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8933 Add tests for memset_chk and memset.
8934
8935 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
8936 with AVX2_Usable.
8937
4e6d2347
MR
89382014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
8939
257ce712
MR
8940 [BZ #16046]
8941 * elf/tst-dl-iter-static.c: New file.
8942 * elf/Makefile (tests-static): Add tst-dl-iter-static.
8943
4e6d2347
MR
8944 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
8945 error.
8946
a2a76afe
JM
89472014-06-20 Joseph Myers <joseph@codesourcery.com>
8948
7fd00f99
JM
8949 * sysdeps/unix/sysv/linux/kernel-features.h
8950 (__ASSUME_F_GETOWN_EX): Remove macro.
8951 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
8952 <kernel-features.h>.
8953 (miss_F_GETOWN_EX): Remove variable or macro.
8954 (do_fcntl): Do not check miss_F_GETOWN_EX.
8955 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
8956
4a103975
JM
8957 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
8958 Remove macro.
8959 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
8960 [!__ASSUME_AT_RANDOM]: Remove conditional code.
8961 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
8962
a2a76afe
JM
8963 * sysdeps/unix/sysv/linux/kernel-features.h
8964 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
8965 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
8966 [ADJ_OFFSET_SS_READ]: Make code unconditional.
8967 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
8968
90e5dd48
MR
89692014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
8970
8971 [BZ #17075]
8972 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
8973 Fix calculation of the symbol's value.
8974 * sysdeps/arm/tst-armtlsdescloc.c: New file.
8975 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
8976 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
8977 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
8978 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
8979 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
8980 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
8981 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
8982 (modules-names): Add `tst-armtlsdescmod',
8983 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
8984 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
8985 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
8986 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
8987 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
8988 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
8989 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
8990 ($(objpfx)tst-armtlsdescloc): New dependency.
8991 ($(objpfx)tst-armtlsdescextnow): Likewise.
8992 ($(objpfx)tst-armtlsdescextlazy): Likewise.
8993 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
8994 TLS scheme support.
8995 * sysdeps/arm/configure: Regenerate.
8996
809fdf0d
JM
89972014-06-20 Joseph Myers <joseph@codesourcery.com>
8998
8999 * include/fcntl.h (__atfct_seterrno): Remove prototype.
9000 (__atfct_seterrno_2): Likewise.
9001 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
9002 <kernel-features.h>.
9003 (__ASSUME_ATFCTS): Do not undefine and redefine.
9004 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
9005 (__have_atfcts): Remove conditional definition.
9006 (__fxstatat([__NR_fstatat64]: Make code unconditional.
9007 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
9008 unreachable if [__ASSUME_ATFCTS].
9009 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
9010 not undefine and redefine.
9011 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
9012 <kernel-features.h>.
9013 (faccessat) [__NR_faccessat]: Make code unconditional.
9014 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
9015 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
9016 <kernel-features.h>.
9017 (fchmodat) [__NR_fchmodat]: Make code unconditional.
9018 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
9019 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
9020 <kernel-features.h>.
9021 (fchownat) [__NR_fchownat]: Make code unconditional.
9022 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
9023 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
9024 <kernel-features.h>.
9025 (futimesat) [__NR_futimesat]: Make code unconditional.
9026 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
9027 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9028 <kernel-features.h>.
9029 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
9030 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9031 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9032 <kernel-features.h>.
9033 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
9034 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
9035 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
9036 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9037 <kernel-features.h>.
9038 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
9039 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9040 * sysdeps/unix/sysv/linux/linkat.c: Do not include
9041 <kernel-features.h>.
9042 (linkat) [__NR_linkat]: Make code unconditional.
9043 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9044 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
9045 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
9046 <kernel-features.h>.
9047 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
9048 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
9049 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
9050 <kernel-features.h>.
9051 (mkdirat) [__NR_mkdirat]: Make code unconditional.
9052 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
9053 * sysdeps/unix/sysv/linux/openat.c: Do not include
9054 <kernel-features.h>.
9055 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
9056 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
9057 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
9058 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
9059 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
9060 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
9061 <kernel-features.h>.
9062 (readlinkat) [__NR_readlinkat]: Make code unconditional.
9063 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
9064 result of INLINE_SYSCALL directly, not via int variable.
9065 * sysdeps/unix/sysv/linux/renameat.c: Do not include
9066 <kernel-features.h>.
9067 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
9068 (renameat) [__NR_renameat]: Make code unconditional.
9069 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
9070 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
9071 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
9072 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
9073 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
9074 (__ASSUME_ATFCTS): Do not undefine and redefine.
9075 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
9076 <kernel-features.h>.
9077 (symlinkat) [__NR_symlinkat]: Make code unconditional.
9078 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9079 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
9080 <kernel-features.h>.
9081 (unlinkat) [__NR_unlinkat]: Make code unconditional.
9082 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9083 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
9084 (__ASSUME_ATFCTS): Do not undefine and redefine.
9085 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9086 <kernel-features.h>.
9087 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
9088 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9089 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9090 <kernel-features.h>.
9091 (__xmknodat) [__NR_mknodat]: Make code unconditional.
9092 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
9093
224c6c51
L
90942014-06-20 H.J. Lu <hongjiu.lu@intel.com>
9095
9096 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
9097
aa6ec754
AS
90982014-06-20 Andreas Schwab <schwab@linux-m68k.org>
9099
9100 [BZ #17069]
9101 * posix/regcomp.c (parse_reg_exp): Deallocate partially
9102 constructed tree before returning error.
9103 * posix/bug-regexp36.c: Expand test case.
9104
d8c2869d
SL
91052014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
9106
3ef6b850
SL
9107 [BZ #6803]
9108 * math/libm-test.inc (scalbln_test_date):
9109 Add errno expectations.
9110 * math/w_scalblnf.c: New File.
9111 Add wrapper which checks for setting errno to ERANGE.
9112 Add weak_alias for corresponding scalbln function.
9113 * math/w_scalbln.c: Likewise.
9114 * math/w_scalblnl.c: Likewise.
9115 * math/Makefile (libm-calls): Add w_scalbln.
9116 * sysdeps/ieee754/flt-32/s_scalblnf.c:
9117 Remove weak_alias for corresponding scalbln function.
9118 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9119 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9120 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9121 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9122 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
9123 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9124 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
9125 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9126 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
9127 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
9128 Remove long_double_symbol for scalblnl function in libm, libc.
9129 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
9130 Add wrapper which checks for setting errno to ERANGE.
9131 Add long_double_symbol for scalblnl function in libm, libc.
9132 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
9133 Remove long_double_symbol for scalblnl in libm.
9134 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
9135 Add wrapper which checks for setting errno to ERANGE.
9136 Add long_double_symbol for scalblnl function in libm.
9137 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
9138 Do not use wrapper because of own implementation.
9139
c8daec5c
L
91402014-06-19 H.J. Lu <hongjiu.lu@intel.com>
9141
9142 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
9143 3 bytes for __pad1 for x32.
9144 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
9145
5c74e47c
LM
91462014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
9147 H.J. Lu <hongjiu.lu@intel.com>
9148
9149 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
9150 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
9151 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9152 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9153 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
9154
4d43ef1e
AS
91552014-06-19 Andreas Schwab <schwab@linux-m68k.org>
9156
9157 [BZ #17069]
9158 * posix/regcomp.c (parse_expression): Deallocate partially
9159 constructed tree before returning error.
9160 * posix/Makefile.c (tests): Add bug-regex36.
9161 (generated): Add bug-regex36.mtrace.
9162 (tests-special): Add $(objpfx)bug-regex36-mem.out
9163 (bug-regex36-ENV): New variable.
9164 ($(objpfx)bug-regex36-mem.out): New rule.
9165 * posix/bug-regex36.c: New file.
9166
51a7380b
WN
91672014-06-19 Will Newton <will.newton@linaro.org>
9168
9169 * malloc/malloc.c (systrim): If extra is zero then return
9170 early.
9171
91b84fe5
SP
91722014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9173
9174 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
9175
f940b965
RE
91762014-06-19 Richard Earnshaw <rearnsha@arm.com>
9177
9178 * sysdeps/aarch64/strchr.S: New file.
9179
4ba7a00f
JM
91802014-06-18 Joseph Myers <joseph@codesourcery.com>
9181
9182 [BZ #17022]
9183 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
9184 from arguments -2 or below.
9185 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9186 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
9187
b3a9f56b
AS
91882014-06-18 Andreas Schwab <schwab@suse.de>
9189
9190 [BZ #17062]
9191 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
9192 of a bracket expr not to run off the end of the string.
9193 * posix/Makefile (tests): Add tst-fnmatch3.
9194 * posix/tst-fnmatch3.c: New file.
9195
85d89278
JM
91962014-06-18 Joseph Myers <joseph@codesourcery.com>
9197
9198 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
9199 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9200 [$(cross-compiling) = no]: Likewise.
9201 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9202 [$(cross-compiling) = no]: Likewise.
9203
754c5a08
RS
92042014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9205
9206 [BZ #17031]
9207 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
9208 double, adjusted for any remainder from the high double.
9209 * math/libm-test.inc (nearbyint): Add tests.
9210 (rint): Likewise.
9211
556f529d
AZ
92122014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9213
9214 * nptl/sysdeps/powerpc/Makefile: Moved ...
9215 * sysdeps/powerpc/nptl/Makefile: ... here.
9216 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
9217 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
9218 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
9219 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
9220 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
9221 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
9222 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
9223 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
9224 * nptl/sysdeps/powerpc/tls.h: Moved ...
9225 * sysdeps/powerpc/nptl/tls.h: ... here.
9226
91c03c53
JM
92272014-06-16 Joseph Myers <joseph@codesourcery.com>
9228
9229 [BZ #16681]
9230 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
9231 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
9232 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
9233 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
9234 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
9235 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
9236 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
9237 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
9238 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
9239
a76e63c5
AS
92402014-06-17 Andreas Schwab <schwab@linux-m68k.org>
9241
9242 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9243
f2f6d82f
AS
92442014-06-16 Andreas Schwab <schwab@linux-m68k.org>
9245
ea8a15f6
AS
9246 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
9247 defined operator.
9248
f2f6d82f
AS
9249 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
9250 $TIMEOUTFACTOR.
9251
a7291117
FW
92522014-06-16 Florian Weimer <fweimer@redhat.com>
9253
9254 [BZ #17058]
9255 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
9256 non-executed part of the test.
9257
3d7c00e3
AS
92582014-06-16 Andreas Schwab <schwab@suse.de>
9259
9260 * string/bits/string2.h (strdup, strndup): Update feature guard.
9261
6957fb31
DM
92622014-06-14 David S. Miller <davem@davemloft.net>
9263
9264 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9265
11b9e55b
AS
92662014-06-14 Andreas Schwab <schwab@linux-m68k.org>
9267
1d2a0492
AS
9268 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
9269 that was previously under [RESET_PID].
9270 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
9271
11b9e55b
AS
9272 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
9273 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
9274 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
9275 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9276 (__libc_vfork): New strong alias.
9277 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
9278
0f6901d0
AK
92792014-06-14 Andi Kleen <ak@linux.intel.com>
9280
9281 * sysdeps/generic/elide.h: New file.
9282
38bbbb9f
SL
92832014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9284
9285 * Makefile (installed-headers): Adjust path of pthread.h header.
9286
45193bb8
RM
92872014-06-13 Roland McGrath <roland@hack.frob.com>
9288
9a25fd1e
RM
9289 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
9290 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
9291 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
9292 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
9293
4004f7e4
RM
9294 * nptl/sysdeps/s390/Makefile: Moved ...
9295 * sysdeps/s390/nptl/Makefile: ... here.
9296 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
9297 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
9298 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
9299 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
9300 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
9301 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
9302 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
9303 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
9304 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
9305 * sysdeps/s390/nptl/pthreaddef.h: ... here.
9306 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
9307 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
9308 * nptl/sysdeps/s390/tls.h: Moved ...
9309 * sysdeps/s390/nptl/tls.h: ... here.
9310
45193bb8
RM
9311 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
9312 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
9313
f6fdf533
DM
93142014-06-13 David S. Miller <davem@davemloft.net>
9315
9316 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
9317 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
9318 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
9319 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
9320 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
9321 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
9322 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
9323 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
9324 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
9325 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
9326 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
9327 Remove RESET_PID cpp guards.
9328 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
9329 Remove RESET_PID cpp guards.
9330 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
9331
f5d71e14
AS
93322014-06-13 Andreas Schwab <schwab@linux-m68k.org>
9333
9334 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
9335 __sp to uintptr_t.
9336
b7aa8caa
AK
93372014-06-13 Andi Kleen <ak@linux.intel.com>
9338
4b266200
AZ
9339 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
9340 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
9341 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
9342 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
9343 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
9344 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
9345 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
9346 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
9347 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
9348 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
9349 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
9350 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
9351 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
9352 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
9353 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
9354 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
9355 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
9356 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
9357 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
9358 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
9359
9360 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
9361 (pthread_rwlock_rdlock): Add elision.
9362 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
9363 (pthread_rwlock_wrlock): Add elision.
9364 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
9365 (pthread_rwlock_trywrlock): Add elision.
9366 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
9367 (pthread_rwlock_tryrdlock): Add elision.
9368 * nptl/pthread_rwlock_unlock.c: Include elide.h.
9369 (pthread_rwlock_tryrdlock): Add elision unlock.
9370 * nptl/sysdeps/pthread/pthread.h:
9371 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
9372 (PTHREAD_RWLOCK_INITIALIZER,
9373 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
9374 Handle new elision field.
9375 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
9376 * sysdeps/arm/nptl/bits/pthreadtypes.h
9377 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9378 * sysdeps/sh/nptl/bits/pthreadtypes.h
9379 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9380 * sysdeps/tile/nptl/bits/pthreadtypes.h
9381 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9382 * sysdeps/a/nptl/bits/pthreadtypes.h
9383 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9384 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9385 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9386 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9387 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9388 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
9389 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9390 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9391 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9392 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9393 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9394 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9395 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9396 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9397 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9398 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
9399 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9400 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
9401 (elision_init): Set try_xbegin to zero when no RTM.
9402 * sysdeps/x86/nptl/bits/pthreadtypes.h
9403 (pthread_rwlock_t): Change __pad1 to __rwelision.
9404 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 9405
a832bdd3
AK
94062014-06-13 Andi Kleen <ak@linux.intel.com>
9407
9408 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
9409 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
9410 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
9411 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
9412
995a46bb
MI
94132014-06-13 Meador Inge <meadori@codesourcery.com>
9414
9415 [BZ #16996]
03ed7738 9416 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
9417 that the cached result has been set before returning it.
9418
45262aee
RM
94192014-06-12 Roland McGrath <roland@hack.frob.com>
9420
febf6cc5
RM
9421 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
9422 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
9423 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
9424 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
9425 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
9426 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
9427
e2682246
RM
9428 * nptl/sysdeps/sparc/Makefile: Moved ...
9429 * sysdeps/sparc/nptl/Makefile: ... here.
9430 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
9431 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
9432 * nptl/sysdeps/sparc/tls.h: Moved ...
9433 * sysdeps/sparc/nptl/tls.h: ... here.
9434 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
9435 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
9436 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
9437 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
9438 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
9439 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
9440 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
9441 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
9442 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
9443 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
9444 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
9445 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
9446 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
9447 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
9448 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
9449 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
9450 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
9451 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
9452 Update #include.
9453 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
9454 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
9455 Update #include.
9456 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
9457 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
9458 Update #include.
9459 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
9460 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
9461 Update #include.
9462
b0725f43
RM
9463 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
9464
b14368b8
RM
9465 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
9466 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
9467
c5620eb3
RM
9468 * sysdeps/pthread/posix-timer.h: Include <list.h>.
9469 (struct list_links): Type removed.
9470 (struct thread_node, struct timer_node): Replace struct list_links
9471 with struct list_head.
9472 (list_unlink_ip): Likewise.
9473 * sysdeps/pthread/timer_routines.c
9474 (timer_free_list, thread_free_list, thread_active_list): Likewise.
9475 (list_append, list_insbefore): Likewise.
9476 (list_init): Function removed.
9477 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
9478 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
9479 * sysdeps/pthread/Makefile: ... here, new file.
9480
9481 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
9482 * sysdeps/nptl/Implies: ... here.
9483 * sysdeps/unix/sysv/linux/Implies: Add nptl.
9484 * nptl/sysdeps/pthread/list.h: Moved ...
9485 * include/list.h: ... here.
9486 * nptl/sysdeps/pthread/createthread.c: Moved ...
9487 * nptl/createthread.c: ... here.
9488 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
9489 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
9490 * nptl/pt-longjmp.c: ... here.
9491 * nptl/sysdeps/pthread/Makefile: Moved ...
9492 * sysdeps/nptl/Makefile: ... here.
9493 * nptl/sysdeps/pthread/Subdirs: Moved ...
9494 * sysdeps/nptl/Subdirs: ... here.
9495 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
9496 * sysdeps/nptl/aio_misc.h: ... here.
9497 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
9498 * sysdeps/nptl/bits/libc-lock.h: ... here.
9499 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
9500 * sysdeps/nptl/bits/libc-lockP.h: ... here.
9501 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
9502 * sysdeps/nptl/bits/stdio-lock.h: ... here.
9503 * nptl/sysdeps/pthread/configure: Moved ...
9504 * sysdeps/nptl/configure: ... here.
9505 * nptl/sysdeps/pthread/configure.ac: Moved ...
9506 * sysdeps/nptl/configure.ac: ... here.
9507 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
9508 * sysdeps/nptl/gai_misc.h: ... here.
9509 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
9510 * sysdeps/nptl/librt-cancellation.c: ... here.
9511 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
9512 * sysdeps/nptl/malloc-machine.h: ... here.
9513 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
9514 * sysdeps/nptl/pthread-functions.h: ... here.
9515 * nptl/sysdeps/pthread/pthread.h: Moved ...
9516 * sysdeps/nptl/pthread.h: ... here.
9517 * nptl/sysdeps/pthread/setxid.h: Moved ...
9518 * sysdeps/nptl/setxid.h: ... here.
9519 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
9520 * sysdeps/nptl/sigfillset.c: ... here.
9521 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
9522 * sysdeps/nptl/tcb-offsets.h: ... here.
9523 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
9524 * sysdeps/nptl/tst-mqueue8x.c: ... here.
9525 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
9526 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
9527 * nptl/sysdeps/pthread/allocalim.h: Moved ...
9528 * sysdeps/pthread/allocalim.h: ... here.
9529 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
9530 * sysdeps/pthread/bits/sigthread.h: ... here.
9531 * nptl/sysdeps/pthread/flockfile.c: Moved ...
9532 * sysdeps/pthread/flockfile.c: ... here.
9533 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
9534 * sysdeps/pthread/ftrylockfile.c: ... here.
9535 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
9536 * sysdeps/pthread/funlockfile.c: ... here.
9537 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
9538 * sysdeps/pthread/posix-timer.h: ... here.
9539 * nptl/sysdeps/pthread/timer_create.c: Moved ...
9540 * sysdeps/pthread/timer_create.c: ... here.
9541 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
9542 * sysdeps/pthread/timer_delete.c: ... here.
9543 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
9544 * sysdeps/pthread/timer_getoverr.c: ... here.
9545 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
9546 * sysdeps/pthread/timer_gettime.c: ... here.
9547 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
9548 * sysdeps/pthread/timer_routines.c: ... here.
9549 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
9550 * sysdeps/pthread/timer_settime.c: ... here.
9551 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
9552 * sysdeps/pthread/tst-timer.c: ... here.
9553 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
9554 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
9555
e876b090
RM
9556 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
9557 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
9558
f6b07b3d
RM
9559 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
9560 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
9561 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
9562 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
9563 Update #include target.
9564 * nptl/sysdeps/i386/i686/Makefile: Moved ...
9565 * sysdeps/i386/i686/nptl/Makefile: ... here.
9566 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
9567 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
9568 Update #include target.
9569 * nptl/sysdeps/i386/i686/tls.h: Moved ...
9570 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
9571 * nptl/sysdeps/i386/Makefile: Moved ...
9572 * sysdeps/i386/nptl/Makefile: ... here.
9573 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
9574 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
9575 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
9576 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
9577 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
9578 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
9579 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
9580 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
9581 * sysdeps/i386/nptl/pthreaddef.h: ... here.
9582 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
9583 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
9584 * nptl/sysdeps/i386/tls.h: Moved ...
9585 * sysdeps/i386/nptl/tls.h: ... here.
9586
45262aee
RM
9587 * sysdeps/sh/Makefile [$(subdir) = csu]
9588 (gen-as-const-headers): Add tcb-offsets.sym.
9589 * nptl/sysdeps/sh/Makefile: File removed.
9590 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
9591 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
9592 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
9593 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
9594 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
9595 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
9596 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
9597 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
9598 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
9599 * sysdeps/sh/nptl/pthreaddef.h: ... here.
9600 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
9601 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
9602 * nptl/sysdeps/sh/tls.h: Moved ...
9603 * sysdeps/sh/nptl/tls.h: ... here.
9604 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
9605 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
9606 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
9607 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
9608 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
9609 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
9610 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
9611 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
9612 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
9613 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
9614 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
9615 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
9616 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
9617 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
9618 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
9619 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
9620 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
9621 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
9622 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
9623 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
9624 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
9625 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
9626 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
9627 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
9628 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
9629 Moved ...
9630 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
9631 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
9632 Moved ...
9633 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
9634 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
9635 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
9636 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
9637 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
9638 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
9639 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
9640 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
9641 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
9642 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
9643 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
9644 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
9645 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
9646 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
9647 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
9648 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
9649 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
9650 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
9651 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
9652
35a5e3e3
SL
96532014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
9654
9655 * posix/spawn_faction_addopen.c: Include string.h.
9656
14642b85
RM
96572014-06-11 Roland McGrath <roland@hack.frob.com>
9658
9659 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
9660 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
9661 * nptl/sysdeps/x86_64/Makefile: Moved ...
9662 * sysdeps/x86_64/nptl/Makefile: ... here.
9663 * nptl/sysdeps/x86_64/configure: Moved ...
9664 * sysdeps/x86_64/nptl/configure: ... here.
9665 * nptl/sysdeps/x86_64/configure.ac: Moved ...
9666 * sysdeps/x86_64/nptl/configure.ac: ... here.
9667 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
9668 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
9669 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
9670 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
9671 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
9672 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
9673 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
9674 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
9675 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
9676 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
9677 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
9678 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
9679 * nptl/sysdeps/x86_64/tls.h: Moved ...
9680 * sysdeps/x86_64/nptl/tls.h: ... here.
9681 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
9682 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
9683 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
9684 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
9685
9686 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
9687
31c44fea
AZ
96882014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9689
9690 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9691
e81a4f9a
JM
96922014-06-11 Joseph Myers <joseph@codesourcery.com>
9693
9694 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
9695 type.
9696 [POSIX] (off_t): Likewise.
9697 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
9698 [POSIX] (S_ISBLK): Require macro.
9699 [POSIX] (S_ISCHR): Likewise.
9700 [POSIX] (S_ISDIR): Likewise.
9701 [POSIX] (S_ISFIFO): Likewise.
9702 [POSIX] (S_ISREG): Likewise.
9703 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
9704 optional-macro.
9705 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
9706 type.
9707 [POSIX] (time_t): Likewise.
9708 [POSIX] (timer_t): Likewise.
9709
89e435f3
FW
97102014-06-11 Florian Weimer <fweimer@redhat.com>
9711
9712 [BZ #17048]
9713 * posix/spawn_int.h (struct __spawn_action): Make the path string
9714 non-const to support deallocation.
9715 * posix/spawn_faction_addopen.c
9716 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
9717 * posix/spawn_faction_destroy.c
9718 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
9719 path in all spawn_do_open actions.
9720 * posix/tst-spawn.c (do_test): Exercise the copy operation in
9721 posix_spawn_file_actions_addopen.
9722
c3a2ebe1
CM
97232014-06-11 Chris Metcalf <cmetcalf@tilera.com>
9724
9725 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
9726 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
9727 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
9728 conditional code always true.
9729 (__libc_vfork): New alias.
9730
9503784a
RM
97312014-06-11 Roland McGrath <roland@hack.frob.com>
9732
c9cab3d2
RM
9733 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9734 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
9735
d3996c79
RM
9736 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
9737
ba5ec611
RM
9738 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9739 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
9740
f12b4814
RM
9741 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
9742 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
9743
9503784a
RM
9744 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9745 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
9746
e23d3d26
VR
97472014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9748
9749 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
9750 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
9751 multiarch strcmp for PPC64.
9752 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
9753 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
9754 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
9755 multiarch optimizations.
9756 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9757 (__libc_ifunc_impl_list): Likewise.
9758
42b1161e
SP
97592014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9760
9761 * benchtests/scripts/validate_benchout.py: New script.
9762 * benchtests/Makefile (bench-func): Call it.
9763 * benchtests/scripts/benchout.schema.json: New file.
9764
2d0fc4dc
CM
97652014-06-10 Chris Metcalf <cmetcalf@tilera.com>
9766
4a594c34
AZ
9767 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
9768 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
9769 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
9770 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
9771 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
9772 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
9773 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
9774 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
9775 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
9776 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
9777 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
9778 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
9779 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
9780 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
9781 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
9782 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
9783 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 9784 Moved ...
4a594c34 9785 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 9786 ... here.
4a594c34 9787 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 9788 Moved ...
4a594c34
AZ
9789 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
9790 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 9791 Moved ...
4a594c34 9792 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 9793 ... here.
4a594c34 9794 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 9795 Moved ...
4a594c34 9796 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 9797 ... here.
4a594c34 9798 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 9799 Moved ...
4a594c34
AZ
9800 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
9801 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 9802 Moved ...
4a594c34 9803 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 9804 ... here.
4a594c34 9805 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 9806 Moved ...
4a594c34 9807 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 9808 ... here.
4a594c34 9809 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 9810 Moved ...
4a594c34
AZ
9811 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
9812 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 9813 Moved ...
4a594c34 9814 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 9815 ... here.
4a594c34 9816 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 9817 Moved ...
4a594c34 9818 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 9819 ... here.
4a594c34 9820 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 9821 Moved ...
4a594c34 9822 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 9823 ... here.
4a594c34 9824 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 9825 Moved ...
4a594c34
AZ
9826 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
9827 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 9828 Moved ...
4a594c34 9829 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 9830 ... here.
4a594c34 9831 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 9832 Moved ...
4a594c34 9833 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 9834 ... here.
4a594c34 9835 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 9836 Moved ...
4a594c34 9837 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 9838 ... here.
4a594c34 9839 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 9840 Moved ...
4a594c34
AZ
9841 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
9842 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 9843 Moved ...
4a594c34 9844 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 9845 ... here.
4a594c34 9846 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 9847 Moved ...
4a594c34 9848 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 9849 ... here.
4a594c34 9850 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 9851 Moved ...
4a594c34
AZ
9852 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
9853 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 9854 Moved ...
4a594c34 9855 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 9856 ... here.
4a594c34 9857 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 9858 Moved ...
4a594c34
AZ
9859 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
9860 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 9861 Moved ...
4a594c34
AZ
9862 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
9863 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 9864 Moved ...
4a594c34 9865 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 9866 ... here.
4a594c34 9867 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 9868 Moved ...
4a594c34 9869 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 9870 ... here.
4a594c34 9871 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 9872 Moved ...
4a594c34 9873 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 9874 ... here.
4a594c34 9875 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 9876 Moved ...
4a594c34
AZ
9877 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
9878 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 9879 Moved ...
4a594c34 9880 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 9881 ... here.
4a594c34 9882 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 9883 Moved ...
4a594c34 9884 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 9885 ... here.
4a594c34
AZ
9886 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
9887 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
9888 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
9889 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
9890 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 9891 Moved ...
4a594c34 9892 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 9893 ... here.
4a594c34
AZ
9894 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
9895 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
9896 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
9897 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
9898 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
9899 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
9900 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
9901 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
9902 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
9903 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
9904 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
9905 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
9906 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 9907 Moved ...
4a594c34
AZ
9908 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
9909 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 9910 Moved ...
4a594c34
AZ
9911 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
9912 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
9913 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
9914 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 9915 Moved ...
4a594c34
AZ
9916 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
9917 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
9918 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
9919 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
9920 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
9921 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
9922 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 9923
0570cfed
W
99242014-06-10 Wilco <wdijkstr@arm.com>
9925
9926 * math/test-fenv-return.c: New file.
9927 * math/Makefile: Add new test test-fenv-return.
9928
f8ba1b56
JM
99292014-06-10 Joseph Myers <joseph@codesourcery.com>
9930
9931 [BZ #17042]
9932 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
9933 when x - 1 is zero.
9934 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
9935 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
9936 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
9937 0.0L for an argument of 1.0L.
9938 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
9939 Likewise.
9940 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
9941 value when x - 1 is zero.
9942 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
9943 * sysdeps/i386/fpu/libm-test-ulps: Update.
9944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9945
2c3520d9
BO
99462014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
9947
9948 [BZ #15119]
9949 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
9950
acaa4d24
RM
99512014-06-09 Roland McGrath <roland@hack.frob.com>
9952
9953 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
9954 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
9955
962b744d
RM
99562014-06-09 Roland McGrath <roland@hack.frob.com>
9957
d752f0cc
RM
9958 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9959 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
9960
34eda6d1
RM
9961 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9962 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
9963
50f0a637
RM
9964 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9965 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
9966
08f41f04
RM
9967 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9968 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
9969
962b744d
RM
9970 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
9971 if not already defined.
9972 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
9973 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
9974 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
9975 (TLS_INIT_TP): Use it.
9976 (TLS_DEFINE_INIT_TP): New macro.
9977 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
9978
09f19b05
JM
99792014-06-09 Joseph Myers <joseph@codesourcery.com>
9980
9981 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
9982 constant.
9983 [POSIX] (IXANY): Likewise.
9984 [POSIX] (OLCUC): Likewise.
9985 [POSIX || POSIX2008] (CBAUD): Do not allow.
9986 [POSIX || POSIX2008] (DEFECHO): Likewise.
9987 [POSIX || POSIX2008] (ECHOCTL): Likewise.
9988 [POSIX || POSIX2008] (ECHOKE): Likewise.
9989 [POSIX || POSIX2008] (ECHOPRT): Likewise.
9990 [POSIX || POSIX2008] (EXTA): Likewise.
9991 [POSIX || POSIX2008] (EXTB): Likewise.
9992 [POSIX || POSIX2008] (FLUSHO): Likewise.
9993 [POSIX || POSIX2008] (LOBLK): Likewise.
9994 [POSIX || POSIX2008] (PENDIN): Likewise.
9995 [POSIX || POSIX2008] (SWTCH): Likewise.
9996 [POSIX || POSIX2008] (VDISCARD): Likewise.
9997 [POSIX || POSIX2008] (VDSUSP): Likewise.
9998 [POSIX || POSIX2008] (VLNEXT): Likewise.
9999 [POSIX || POSIX2008] (VREPRINT): Likewise.
10000 [POSIX || POSIX2008] (VSTATUS): Likewise.
10001 [POSIX || POSIX2008] (VWERASE): Likewise.
10002 (B*): Change to B[0123456789]*.
10003 * conform/data/time.h-data [POSIX || UNIX98]
10004 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
10005 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10006 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
10007 [POSIX] (tm_*): Do not allow.
10008
686554bf
JM
100092014-06-07 Joseph Myers <joseph@codesourcery.com>
10010
10011 * Makefile (install): Don't set LANGUAGE.
10012 * Makefile.in (install): Likewise.
10013 * assert/Makefile (test-assert-ENV): Remove variable.
10014 (test-assert-perr-ENV): Likewise.
10015 * elf/Makefile (neededtest4-ENV): Likewise.
10016 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10017 [$(cross-compiling) = no]: Don't set LANGUAGE.
10018 * io/ftwtest-sh (LANG): Remove variable.
10019 * libio/Makefile (tst-widetext-ENV): Likewise.
10020 * manual/install.texi (Running make install): Don't refer to
10021 environment settings for make install.
10022 * INSTALL: Regenerated.
10023 * nptl/tst-tls6.sh: Don't set LANG.
10024 * posix/globtest.sh (LANG): Remove variable.
10025 * string/Makefile (tester-ENV): Likewise.
10026 (inl-tester-ENV): Likewise.
10027 (noinl-tester-ENV): Likewise.
10028 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10029 [$(cross-compiling) = no]: Don't set LANGUAGE.
10030 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
10031 without explicit environment settings.
10032
68e6b6b1
RM
100332014-06-06 Roland McGrath <roland@hack.frob.com>
10034
10035 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
10036 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
10037 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
10038 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
10039
4d3ae034
CM
100402014-06-06 Chris Metcalf <cmetcalf@tilera.com>
10041
10042 * crypt/crypt-private.h [DOS]: Add some includes taken from the
10043 other files in the crypt directory.
10044 * crypt/crypt.c: Remove duplicate includes.
10045 * crypt/crypt-entry.c: Likewise.
10046 * crypt/crypt_util.c: Likewise.
10047
8540f6d2
JM
100482014-06-06 Joseph Myers <joseph@codesourcery.com>
10049
10050 * Makeconfig (run-program-env): New variable.
10051 (run-program-prefix-before-env): Likewise.
10052 (run-program-prefix-after-env): Likewise.
10053 (run-program-prefix): Define in terms of new variables.
10054 (built-program-cmd-before-env): New variable.
10055 (built-program-cmd-after-env): Likewise.
10056 (built-program-cmd): Define in terms of new variables.
10057 (test-program-prefix-before-env): New variable.
10058 (test-program-prefix-after-env): Likewise.
10059 (test-program-prefix): Define in terms of new variables.
10060 (test-program-cmd-before-env): New variable.
10061 (test-program-cmd-after-env): Likewise.
10062 (test-program-cmd): Define in terms of new variables.
10063 * Rules (make-test-out): Use $(run-program-env).
10064 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
10065 (help): Do not mention environment variables. Mention
10066 --timeoutfactor option.
10067 (timeoutfactor): New variable.
10068 (blacklist_exports): Remove function.
10069 (exports): Remove variable.
10070 (command): Do not include ${exports}.
10071 * manual/install.texi (Configuring and compiling): Do not mention
10072 test wrappers preserving environment variables. Mention that last
10073 assignment to a variable must take precedence.
10074 * INSTALL: Regenerated.
10075 * benchtests/Makefile (run-bench): Use $(run-program-env).
10076 * catgets/Makefile ($(objpfx)test1.cat): Use
10077 $(built-program-cmd-before-env), $(run-program-env) and
10078 $(built-program-cmd-after-env).
10079 ($(objpfx)test2.cat): Do not specify environment variables
10080 explicitly.
10081 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
10082 $(run-program-env) and $(built-program-cmd-after-env).
10083 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
10084 $(run-program-env) and $(test-program-cmd-after-env).
10085 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
10086 explicitly.
10087 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
10088 run_program_env and test_program_cmd_after_env arguments.
10089 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
10090 * elf/tst-pathopt.sh: Use run_program_env argument.
10091 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
10092 $(test-wrapper-env) and $(run-program-env).
10093 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
10094 run_program_env arguments.
10095 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
10096 * intl/Makefile ($(objpfx)tst-gettext.out): Use
10097 $(test-program-prefix-before-env), $(run-program-env) and
10098 $(test-program-prefix-after-env).
10099 ($(objpfx)tst-gettext2.out): Likewise.
10100 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
10101 run_program_env and test_program_prefix_after_env arguments.
10102 * intl/tst-gettext2.sh: Likewise.
10103 * intl/tst-gettext4.sh: Do not set environment variables
10104 explicitly.
10105 * intl/tst-gettext6.sh: Likewise.
10106 * intl/tst-translit.sh: Likewise.
10107 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
10108 $(test-program-prefix-before-env), $(run-program-env) and
10109 $(test-program-prefix-after-env).
10110 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
10111 run_program_env and test_program_prefix_after_env arguments.
10112 * math/Makefile (run-regen-ulps): Use $(run-program-env).
10113 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
10114 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
10115 explicitly with each use of ${test_wrapper_env}.
10116 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
10117 $(test-program-prefix-before-env), $(run-program-env) and
10118 $(test-program-prefix-after-env).
10119 * posix/tst-getconf.sh: Do not set environment variables
10120 explicitly.
10121 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
10122 run_program_env and test_program_prefix_after_env arguments.
10123 * stdio-common/tst-printf.sh: Do not set environment variables
10124 explicitly.
10125 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
10126 $(test-program-prefix-before-env), $(run-program-env) and
10127 $(test-program-prefix-after-env).
10128 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
10129 run_program_env and test_program_prefix_after_env arguments.
10130 Split $test calls into $test_pre and $test.
10131 * timezone/Makefile (build-testdata): Use
10132 $(built-program-cmd-before-env), $(run-program-env) and
10133 $(built-program-cmd-after-env).
10134
ed36bfa1
AZ
101352014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10136
10137 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
10138 strlen for non SHARED builds.
10139
fc75bf46
SP
101402014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10141
10142 * nptl/allocatestack.c (check_list): Inlined function...
10143 (__reclaim_stacks): ... here.
10144
d89b3d80
OB
101452014-06-05 Ondřej Bílka <neleai@seznam.cz>
10146
10147 [BZ #15698]
10148 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
10149 memory overrun.
10150
2bf18041
JM
101512014-06-05 Joseph Myers <joseph@codesourcery.com>
10152
10153 * Rules (make-test-out): Include
10154 LOCPATH=$(common-objpfx)localedata in default environment.
10155 * debug/Makefile (tst-chk1-ENV): Remove variable.
10156 (tst-chk2-ENV): Likewise.
10157 (tst-chk3-ENV): Likewise.
10158 (tst-chk4-ENV): Likewise.
10159 (tst-chk5-ENV): Likewise.
10160 (tst-chk6-ENV): Likewise.
10161 (tst-lfschk1-ENV): Likewise.
10162 (tst-lfschk2-ENV): Likewise.
10163 (tst-lfschk3-ENV): Likewise.
10164 (tst-lfschk4-ENV): Likewise.
10165 (tst-lfschk5-ENV): Likewise.
10166 (tst-lfschk6-ENV): Likewise.
10167 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
10168 (tst-iconv7-ENV): Likewise.
10169 * intl/Makefile (LOCPATH-ENV): Likewise.
10170 (tst-codeset-ENV): Likewise.
10171 (tst-gettext3-ENV): Likewise.
10172 (tst-gettext5-ENV): Likewise.
10173 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
10174 (tst-fopenloc-ENV): Likewise.
10175 (tst-fgetws-ENV): Remove variable.
10176 (tst-ungetwc1-ENV): Likewise.
10177 (tst-ungetwc2-ENV): Likewise.
10178 (bug-ungetwc2-ENV): Likewise.
10179 (tst-swscanf-ENV): Likewise.
10180 (bug-ftell-ENV): Likewise.
10181 (tst-fgetwc-ENV): Likewise.
10182 (tst-fseek-ENV): Likewise.
10183 (tst-ftell-partial-wide-ENV): Likewise.
10184 (tst-ftell-active-handler-ENV): Likewise.
10185 (tst-ftell-append-ENV): Likewise.
10186 * posix/Makefile (tst-fnmatch-ENV): Likewise.
10187 (tst-regexloc-ENV): Likewise.
10188 (bug-regex1-ENV): Likewise.
10189 (tst-regex-ENV): Likewise.
10190 (tst-regex2-ENV): Likewise.
10191 (bug-regex5-ENV): Likewise.
10192 (bug-regex6-ENV): Likewise.
10193 (bug-regex17-ENV): Likewise.
10194 (bug-regex18-ENV): Likewise.
10195 (bug-regex19-ENV): Likewise.
10196 (bug-regex20-ENV): Likewise.
10197 (bug-regex22-ENV): Likewise.
10198 (bug-regex23-ENV): Likewise.
10199 (bug-regex25-ENV): Likewise.
10200 (bug-regex26-ENV): Likewise.
10201 (bug-regex30-ENV): Likewise.
10202 (bug-regex32-ENV): Likewise.
10203 (bug-regex33-ENV): Likewise.
10204 (bug-regex34-ENV): Likewise.
10205 (bug-regex35-ENV): Likewise.
10206 (tst-rxspencer-ENV): Likewise.
10207 (tst-rxspencer-no-utf8-ENV): Likewise.
10208 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
10209 (tst-sscanf-ENV): Likewise.
10210 (tst-swprintf-ENV): Likewise.
10211 (tst-swscanf-ENV): Likewise.
10212 (test-vfprintf-ENV): Likewise.
10213 (scanf13-ENV): Likewise.
10214 (bug14-ENV): Likewise.
10215 (tst-grouping-ENV): Likewise.
10216 * stdlib/Makefile (tst-strtod-ENV): Likewise.
10217 (tst-strtod3-ENV): Likewise.
10218 (tst-strtod4-ENV): Likewise.
10219 (tst-strtod5-ENV): Likewise.
10220 (testmb2-ENV): Likewise./
10221 * string/Makefile (tst-strxfrm-ENV): Likewise.
10222 (tst-strxfrm2-ENV): Likewise.
10223 (bug-strcoll1-ENV): Likewise.
10224 (test-strcasecmp-ENV): Likewise.
10225 (test-strncasecmp-ENV): Likewise.
10226 * time/Makefile (tst-strptime-ENV): Likewise.
10227 (tst-ftime_l-ENV): Likewise.
10228 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
10229 (tst-mbrtowc-ENV): Likewise.
10230 (tst-wcrtomb-ENV): Likewise.
10231 (tst-mbrtowc2-ENV): Likewise.
10232 (tst-c16c32-1-ENV): Likewise.
10233 (tst-mbsnrtowcs-ENV): Likewise.
10234
cd1fb604
OB
102352014-06-05 Ondřej Bílka <neleai@seznam.cz>
10236
10237 * manual/resource.texi (How to get information about the memory
10238 subsystem?): Fix typo.
10239 Reported by Peon de la Parra Ivan <peon@keba.com>
10240
b42eca7d
GY
102412014-06-03 Guo Yixuan <culu.gyx@gmail.com>
10242
10243 [BZ #16882]
10244 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
10245 (pthread_spin_lock): Branch out of spin loop to proper location.
10246 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
10247 (pthread_spin_lock): Likewise.
10248
902b71f9
DM
10249 * nptl/tst-spin4.c: New test.
10250 * nptl/Makefile (tests): Add tst-spin4.
10251
f9d2d032
AS
102522014-06-03 Andreas Schwab <schwab@suse.de>
10253
10254 [BZ #15946]
10255 * resolv/res_send.c (send_dg): Reload file descriptor after
10256 calling reopen.
10257
cf7bfd28
SL
102582014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
10259
10260 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10261
111cc714
RH
102622014-06-03 Richard Henderson <rth@redhat.com>
10263
89b4bd6b
RH
10264 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
10265 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
10266 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
10267 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
10268 in the SAVE_PID block.
10269 (__libc_vfork): New alias.
71840409 10270 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 10271
111cc714
RH
10272 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
10273 child in registers, not on the stack. Remove RESET_PID conditionals.
10274 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
10275
ccc39911
MS
102762014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
10277
10278 * sysdeps/aarch64/libm-test-ulps: Regenerate.
10279
693096cc
W
102802014-06-03 Wilco <wdijkstr@arm.com>
10281
10282 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
10283 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
10284 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10285 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
10286 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
10287 Likewise.
10288
0b4366bc
W
102892014-06-03 Wilco <wdijkstr@arm.com>
10290
10291 * sysdeps/aarch64/fpu/math_private.h
10292 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
10293 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
10294 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
10295 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10296 Fix declarations.
10297
8747cd03
KS
102982014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10299
10300 * crypt/crypt-private.h: Include ufc-crypt.h.
10301 (__b64_from_24bit): Declare extern.
10302 * crypt/crypt_util.c(__b64_from_24bit): New function.
10303 (b64t): New static const variable.
10304 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
10305 (b64t): Remove variable.
10306 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
10307 * crypt/sha256-crypt.c: Include crypt-private.h.
10308 (b64t): Remove variable.
10309 (__sha256_crypt_r): Remove b64_from_24bit and replace
10310 with __b64_from_24bit.
10311 * crypt/sha512-crypt.c: Likewise.
10312
d936d379
RM
103132014-06-02 Roland McGrath <roland@hack.frob.com>
10314
10315 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
10316 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
10317 Label the code __libc_vfork rather than __vfork.
10318 [!NOT_IN_libc] (vfork): Define as weak alias.
10319 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
10320 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
10321 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
10322
9fa76613
SP
103232014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10324
10325 * malloc/malloc.c (malloc_info): Fix format specifier for
10326 n_mmaps.
10327
a88dadbe
W
103282014-06-02 Wilco <wdijkstr@arm.com>
10329
10330 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
10331 FPCR write.
10332
c95b3011
W
103332014-06-02 Wilco <wdijkstr@arm.com>
10334
10335 [BZ #17009]
10336 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
10337 Rewrite to reduce FPCR/FPSR accesses.
10338
6b4d7a90
DM
103392014-06-01 David S. Miller <davem@davemloft.net>
10340
10341 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10342
30f3d07c
DM
103432014-05-31 David S. Miller <davem@davemloft.net>
10344
10345 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
10346 to occur in round to nearest mode when |x| >= 2.0
10347
74f31c18
RH
103482014-05-30 Richard Henderson <rth@twiddle.net>
10349
f0712b54
RH
10350 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
10351 (PSEUDO_RET_NOERRNO): Remove.
10352 (ret): Don't redefine.
10353 (ret_NOERRNO): Define in terms of ret.
10354 (ret_ERRVAL): Likewise.
10355
74f31c18
RH
10356 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
10357 use of PSEUDO_RET; perform the error check directly.
10358
30477995
MM
103592014-05-30 Marko Myllynen <myllynen@redhat.com>
10360
10361 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
10362 with __int128_t.
10363
62a58816
SP
103642014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10365
10366 * malloc/malloc (malloc_info): Fix formatting.
10367
4d653a59
SP
103682014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10369 Roland McGrath <roland@hack.frob.com>
10370
10371 * malloc/malloc (malloc_info): Also print mmapped statistics.
10372
5190c17f
RM
103732014-05-30 Roland McGrath <roland@hack.frob.com>
10374
10375 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
10376 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
10377
987c0269
OB
103782014-05-30 Ondřej Bílka <neleai@seznam.cz>
10379
10380 * malloc/malloc.c (malloc_info): Inline mi_arena.
10381
af4e8ef9
RH
103822014-05-29 Richard Henderson <rth@twiddle.net>
10383
1670e207
RH
10384 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
10385 Remove comma before expanding ASM_ARGS_##nr.
10386 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
10387 Make _x0 a strict output; make _x8 a strict input; adjust expansion
10388 of ASM_ARGS_##nr.
10389 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
10390 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
10391 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
10392 (ASM_ARGS_1): Add leading comma.
10393
11a28aee
RH
10394 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
10395 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
10396 to __errno_location.
10397 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
10398 Remove the expected plt for __errno_location.
10399
a17e5ffb 10400 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 10401 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
10402 call to __read_tp.
10403
b5be4597
RH
10404 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10405 Always allocate 64 bytes of stack frame. Use ldp/stp to create
10406 it and break it down.
10407 (DOCARGS_0, DOCARGS_1): Do nothing.
10408 (DOCARGS_2): Update to store into the new stack frame.
10409 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
10410 (UNDOCARGS_1): Update to restore from the new stack frame.
10411 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
10412 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
10413
645d44ab
RH
10414 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10415 (SINGLE_THREAD_P): New parameter for result regno.
10416 (PSEUDO): Update to match; use cbz instead of beq.
10417
a8b4f04a
RH
10418 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10419 Use ENTRY to define the _nocancel entry point. Share the syscall
10420 and syscall error check paths with the cancel path.
10421 (PSEUDO_END): New.
10422
af4e8ef9
RH
10423 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
10424 whitespace; tabs before and after asm mnemonics.
10425
26b0d2e1
EW
104262014-05-29 Eric Wong <normalperson@yhbt.net>
10427
10428 [BZ #15132]
10429 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10430 Call fstat64 or stat64 internally, depending on arguments passed.
10431 Replace stat buffer argument with file descriptor argument.
10432 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
10433 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10434 Pass fd to __internal_statvfs instead of calling fstat64.
10435 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
10436 Pass fd to __internal_statvfs64 instead of calling fstat64.
10437 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
10438 Pass -1 to __internal_statvfs instead of calling stat64.
10439 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
10440 Pass -1 to __internal_statvfs64 instead of calling stat64.
10441
1efe2bd9
RM
104422014-05-28 Roland McGrath <roland@hack.frob.com>
10443
0d3b7a19
RM
10444 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
10445 that was previously under [RESET_PID].
10446 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
10447
1efe2bd9
RM
10448 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
10449 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
10450
a6bea3ca
RM
104512014-05-27 Roland McGrath <roland@hack.frob.com>
10452
30b6629e
RM
10453 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
10454
a6bea3ca
RM
10455 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
10456 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
10457
3dfb9a5c
OB
104582014-05-27 Ondřej Bílka <neleai@seznam.cz>
10459
10460 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
10461
774f9285
AS
104622014-05-27 Andreas Schwab <schwab@suse.de>
10463
10464 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
10465 TLS_INIT_TP macro.
10466 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
10467 * elf/rtld.c (init_tls, dl_main): Likewise.
10468 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
10469 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
10470 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
10471 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
10472 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
10473 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
10474 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
10475 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
10476 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
10477 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
10478 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
10479 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
10480 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
10481 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
10482 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
10483 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
10484 * sysdeps/generic/tls.h: Update description.
10485
36ffe739
WN
104862014-05-27 Will Newton <will.newton@linaro.org>
10487
10488 [BZ #16990]
10489 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
10490 and restore r2 rather than just restoring.
10491
2482ae43
SP
104922014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10493
10494 [BZ #16724]
10495 * libio/tst-ftell-append.c: New test case.
10496 * libio/Makefile (tests): Add test case.
10497 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
10498 append mode.
10499 * libio/wfileops.c (do_ftell_wide): Likewise.
10500
3d1024e8
AZ
105012014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10502
bab90016
AZ
10503 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10504
c7a8d667
AZ
10505 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
10506 ...
10507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
10508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
10509 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
10510 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
10511 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
10512 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
10513 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
10514 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
10515 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
10516 Moved ...
10517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
10518 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
10519 Moved ...
10520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
10521 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
10522 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
10523 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
10524 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
10525 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
10526 ...
10527 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
10528 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
10529 Moved ...
10530 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
10531 here.
10532 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
10533 ...
10534 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
10535 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
10536 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
10537
daee7851
AZ
10538 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
10539 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
10540 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
10541 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
10542
50a40819
AZ
10543 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
10544 merge into ...
10545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
10546 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
10547 ...
10548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
10549 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
10550 ...
10551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
10552 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
10553 Moved ...
10554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
10555 here.
10556 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
10557 Moved ...
10558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
10559 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
10560 Moved ...
10561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
10562
8464c2a1
AZ
10563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
10564 conditional [RESET_PID].
10565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
10566 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
10567 removed.
10568 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
10569 removed.
10570
3d1024e8
AZ
10571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
10572 <tcb-offsets.h>.
10573 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10574 (__libc_vfork): New strong alias.
10575 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
10576 removed.
10577 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
10578 Removed.
10579
10580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
10581 <tcb-offsets.h>.
10582 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
10583 (__libc_vfork): New strong alias.
10584 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
10585 removed.
10586 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
10587 removed.
10588
fdfd175d
CD
105892014-05-26 Carlos O'Donell <carlos@redhat.com>
10590
10591 * malloc/malloc.c (mi_arena): New function.
10592 (malloc_info): Remove nested function mi_arena. Call non-nosted
10593 function mi_arena.
10594
d298c416
AZ
105952014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10596
10597 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
10598 by insrwi.
10599 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
10600 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
10601 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
10602 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
10603 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
10604 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
10605 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
10606
b60ea6ff
AS
106072014-05-26 Andreas Schwab <schwab@suse.de>
10608
10609 [BZ #16984]
10610 * locale/programs/repertoire.c (repertoire_read): Add slash
10611 between I18NPATH element and file name.
10612 * locale/programs/locfile.c (locfile_read): Likewise.
10613
67365926
SL
106142014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
10615
10616 * nptl/pthread_mutexattr_settype.c
10617 (__pthread_mutexattr_settype):
10618 Disable lock elision for PTHREAD_MUTEX_NORMAL.
10619
f8bdf1f0
SL
106202014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
10621
10622 * nptl/tst-mutex5 (do_test):
10623 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
10624
15eaf6ff
SP
106252014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10626
10627 * benchtests/README: Document 'init' directive.
10628 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
10629 BENCH_INIT.
10630 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
10631 (parse_file): Recognize 'init' directive.
10632
75f11331
KM
106332014-05-26 Kyle McMartin <kyle@redhat.com>
10634
10635 [BZ #16796]
10636 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
10637 alignment of struct pthread.
10638
c3ec475c
SP
106392014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10640
10641 [BZ #16878]
10642 * nscd/netgroupcache.c (addgetnetgrentX): Look for
10643 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10644 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
10645 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10646
82aab97c
RH
106472014-05-25 Richard Henderson <rth@twiddle.net>
10648
aa2f176d
RH
10649 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10650 (SINGLE_THREAD_P_PIC): Remove.
10651 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
10652 (SINGLE_THREAD_P_PIC): Remove.
10653
ca3cfa40
RH
10654 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
10655 branch to syscall error ...
10656 (PSEUDO): ... here.
10657 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
10658 from __local_syscall_error to .Lsyscall_error.
10659 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
10660 (SYSCALL_ERROR): Update label name.
10661
6e6c2d01
RH
10662 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10663 Do not use DOARGS/UNDOARGS.
10664 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
10665 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
10666 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
10667 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
10668 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
10669
c69abcee
RH
10670 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
10671 block comment.
10672
82aab97c
RH
10673 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
10674 define if !NOT_IN_libc.
10675 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
10676 define with non-default symbol versions.
10677
8820e3ac
RH
106782014-05-23 Richard Henderson <rth@twiddle.net>
10679
900e445f
RH
10680 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
10681 (vfork, __vfork): Define via compat_symbol.
10682
8820e3ac
RH
10683 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
10684 [!HAVE_IFUNC] (vfork_compat): Remove.
10685 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
10686
e59252a5
JM
106872014-05-23 Joseph Myers <joseph@codesourcery.com>
10688
10689 [BZ #16978]
10690 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
10691 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
10692 variable.
10693
132c7f5f
RH
106942014-05-23 Richard Henderson <rth@twiddle.net>
10695
bc89e962
RH
10696 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
10697 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
10698 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
10699 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
10700
10701 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
10702 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
10703 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
10704 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
10705 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
10706 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
10707 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
10708 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
10709 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
10710 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
10711 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
10712 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
10713 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
10714 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
10715 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
10716 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
10717 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
10718 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
10719 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
10720 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
10721 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
10722 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
10723 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
10724 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
10725 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
10726 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
10727 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
10728 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
10729 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
10730 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
10731 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
10732 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
10733 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
10734 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
10735 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
10736 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
10737 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
10738 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
10739 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
10740 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
10741 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
10742 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
10743 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
10744 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
10745 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
10746 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
10747 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
10748 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
10749 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
10750 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
10751 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
10752 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
10753 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
10754 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
10755 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
10756 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
10757
e2fa4bc2
RH
10758 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
10759 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
10760 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
10761 before exiting on error.
10762 (__libc_vfork): New strong alias.
10763 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
10764 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
10765
279b24e2
RH
10766 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
10767 that was previously under [RESET_PID].
10768 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
10769
132c7f5f
RH
10770 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
10771
b72592e7
JM
107722014-05-23 Joseph Myers <joseph@codesourcery.com>
10773
10774 [BZ #16977]
10775 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
10776 value when x - 1 is zero.
10777 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
10778 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
10779 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
10780 0.0L for an argument of 1.0L.
10781 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
10782 Likewise.
10783 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
10784 value when x - 1 is zero.
10785 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
10786 * sysdeps/i386/fpu/libm-test-ulps: Update.
10787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10788
2302d679
RV
107892014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
10790
10791 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
10792 alphasort and versionsort.
10793
32999d63
AZ
107942014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10795
10796 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
10797 macro.
10798 [copysignf]: Likewise.
10799
019324d0
SP
108002014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10801
10802 * crypt/md5-crypt.c: Fix formatting.
10803
34fff5c2
KS
108042014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10805
10806 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
10807 (b64_from_24bit): New function.
10808
3d2badac
AZ
108092014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10810
10811 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
10812 libc_hidden_builtin_def to ifunc.
10813 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
10814 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
10815
f7bb179f 108162014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
10817
10818 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
10819 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
10820
4134b50d
JM
108212014-05-21 Joseph Myers <joseph@codesourcery.com>
10822
bb7d0337
JM
10823 * nscd/Depend (linuxthreads): Remove.
10824 (nptl): Add.
10825 * resolv/Depend (linuxthreads): Remove.
10826 * rt/Depend (linuxthreads): Remove.
10827
4134b50d
JM
10828 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
10829 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
10830 $(common-objpfx)elf/.
10831 (link-libc-before-gnulib): Likewise.
10832 (elfobjdir): Remove variable.
10833 * Makefile (install): Use $(elf-objpfx) instead of
10834 $(common-objpfx)elf/.
10835 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
10836 $(elfobjdir)/.
10837 (link-libc-deps): Likewise.
10838 ($(common-objpfx)libc.so): Likewise.
10839 ($(common-objpfx)linkobj/libc.so): Likewise.
10840 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
10841 instead of $(common-objpfx)elf/.
10842 (symbolic-link-list): Likewise.
10843 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10844 [$(cross-compiling) = no]: Likewise.
10845 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
10846 $(elfobjdir)/.
10847 (static-gnulib-arch): Likewise.
10848 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10849 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
10850 $(common-objpfx)elf/.
10851
3612eb8f
RH
108522014-05-21 Richard Henderson <rth@redhat.com>
10853
a6b3657b
RH
10854 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10855 (SINGLE_THREAD_P): Use the correct width load. Fold
10856 into the ldr offset.
10857
3612eb8f
RH
10858 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
10859 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
10860
175cef41
JM
108612014-05-20 Joseph Myers <joseph@codesourcery.com>
10862
10863 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
10864 (libgcc_s_resume): Use __attribute_used__.
10865 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
10866 Likewise.
10867
e13bccd3
AZ
108682014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10869
10870 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
10871 optimization when used with float constants.
10872
7c112a38
AZ
10873 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10874
ae75a883
AJ
108752014-05-20 Aurelien Jarno <aurelien@aurel32.net>
10876
10877 [BZ #16915]
10878 * locale/nl_langinfo_l.c: Make direct reference to every
10879 _nl_current_CATEGORY symbol.
10880 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
10881 (tests-static): Add tst-langinfo-static.
10882 (tests-special): Add tst-langinfo-static.out.
10883 ($(objpfx)tst-langinfo.out): Redirect output.
10884 ($(objpfx)tst-langinfo-static.out): New.
10885 * localedata/tst-langinfo.sh: Send output to stdout.
10886 * localedata/tst-langinfo-static.c: New file.
10887
4406c41c
AJ
10888 [BZ #16965]
10889 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
10890 when the shift amount is modulo the limb size.
10891
4c0a1e63
RH
108922014-05-20 Richard Henderson <rth@redhat.com>
10893
de9d8f20
RH
10894 [BZ #16967]
10895 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
10896 Change type of sa_flags from unsigned int to int.
10897
4c0a1e63
RH
10898 [BZ #16966]
10899 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
10900
10901 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
10902
a60339aa
WN
109032014-05-20 Will Newton <will.newton@linaro.org>
10904
10905 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10906 Test the return value of the system call in the nocancel case.
10907
7d05a816
YR
109082014-05-20 Will Newton <will.newton@linaro.org>
10909 Yvan Roux <yvan.roux@linaro.org>
10910
10911 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
10912 #include of asm/ptrace.h.
10913 (PTRACE_GET_THREAD_AREA): Remove #undef.
10914 (PTRACE_GETHBPREGS): Likewise.
10915 (PTRACE_SETHBPREGS): Likewise.
10916 (struct user_regs_struct): New structure.
10917 (struct user_fpsimd_struct): New structure.
10918 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
10919 #include of asm/ptrace.h and second #include of sys/user.h.
10920 (PTRACE_GET_THREAD_AREA): Remove #undef.
10921 (PTRACE_GETHBPREGS): Likewise.
10922 (PTRACE_SETHBPREGS): Likewise.
10923 (ELF_NGREG): Use new struct user_regs_struct.
10924 (elf_fpregset_t): Use new struct user_fpsimd_struct.
10925
af121e37
AZ
109262014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10927
10928 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
10929 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
10930
834caf06
JM
109312014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
10932
10933 [BZ #16958]
10934 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
10935 membar to avoid block loads/stores to overlap previous stores.
10936
e184a918
RH
109372014-05-17 Richard Henderson <rth@redhat.com>
10938
10939 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
10940 Create the __##syscall_name##_nocancel entry point.
10941 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
10942 Remove; let the sysdep-cancel.h code create it.
10943
f56c7a6a
DM
109442014-05-17 David S. Miller <davem@davemloft.net>
10945
10946 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
10947 Protect with __USE_GNU.
10948 (TIOCSET_TEMPT): Likewise.
10949 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10950 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
10951 these are already provided in bits/ioctl-types.h
10952
f75616b2
RM
109532014-05-16 Roland McGrath <roland@hack.frob.com>
10954
3edeca86
RM
10955 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
10956 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
10957
f75616b2
RM
10958 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
10959 Use wait4 regardless of [__NR_waitpid].
10960
deb0f7f6
MR
109612014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
10962
10963 PR libgcc/60166
10964 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10965 (_FP_NANSIGN_Q): Set the quiet bit.
10966
79520f4b
JM
109672014-05-16 Joseph Myers <joseph@codesourcery.com>
10968
10969 * benchtests/Makefile
10970 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
10971 not $(common-objpfx)math/libm.so.
10972 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
10973 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
10974 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
10975 $(common-objpfx)dlfcn/libdl.so.
10976 ($(objpfx)tst-audit8): Depend on $(libm), not
10977 $(common-objpfx)math/libm.so.
10978 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
10979 not $(common-objpfx)dlfcn/libdl.so.
10980 * math/Makefile
10981 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10982 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
10983 [$(build-shared) = yes].
10984 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
10985 $(common-objpfx)nptl/libpthread.so.
10986 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
10987 $(common-objpfx)math/libm.so$(libm.so-version) or
10988 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
10989 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
10990 $(common-objpfx)dlfcn/libdl.so.
10991 * setjmp/Makefile (link-libm): Remove variable.
10992 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
10993 * stdio-common/Makefile (link-libm): Remove variable.
10994 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
10995 * stdlib/Makefile (link-libm): Remove variable.
10996 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
10997 ($(objpfx)tst-strtod-round): Likewise.
10998 ($(objpfx)tst-tininess): Likewise.
10999 ($(objpfx)tst-strtod-underflow): Likewise.
11000 ($(objpfx)tst-strtod6): Likewise.
11001 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
11002 $(libdl), not $(common-objpfx)nptl/libpthread.so and
11003 $(common-objpfx)dlfcn/libdl.so.
11004
026b0fe4
AZ
110052014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11006
11007 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
11008 BSD terminal modes definitions.
11009
def4bcb2
RM
110102014-05-16 Roland McGrath <roland@hack.frob.com>
11011
fe39b021
RM
11012 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
11013 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
11014
1d1fc46e 11015 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
11016 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
11017 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
11018 Don't do #include_next.
11019 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
11020 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
11021 Don't do #include_next.
11022 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
11023 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
11024 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
11025 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
11026
c72399fb
AM
110272014-05-16 Allan McRae <allan@archlinux.org>
11028
d51d659d
AM
11029 * po/sv.po: Update Swedish translation from translation project.
11030
c72399fb
AM
11031 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
11032 in sed expression.
11033
d0583c40
AJ
110342014-05-16 Aurelien Jarno <aurelien@aurel32.net>
11035
11036 [BZ #16917]
11037 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
11038 errno if the TIOCGPTN ioctl fails with an error different than
11039 EINVAL.
11040 * login/tst-ptsname.c: New file.
11041 * login/Makefile (tests): Add tst-ptsname.
11042
d16e6ec7
AJ
11043 [BZ #16943]
11044 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
11045 and prlimit64.
11046
cf26a0cb
SP
110472014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11048
11049 [BZ #16849]
11050 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
11051 herrno to return EAI_AGAIN.
11052
5675da1e
RM
110532014-05-14 Roland McGrath <roland@hack.frob.com>
11054
a5d87b3d
RM
11055 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
11056 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
11057 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
11058 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
11059 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
11060 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
11061 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
11062 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
11063 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
11064 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
11065 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
11066 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
11067 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
11068 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
11069 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
11070 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
11071 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
11072 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
11073 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
11074 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
11075 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
11076 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
11077 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
11078 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
11079 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
11080 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
11081 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
11082 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
11083 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
11084 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
11085 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
11086 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
11087 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
11088 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
11089 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
11090 Moved ...
11091 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
11092 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
11093 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
11094 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
11095 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
11096 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
11097 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
11098 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
11099 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
11100 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
11101 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
11102 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
11103 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
11104 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
11105 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
11106 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
11107 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
11108 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
11109 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
11110 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
11111 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
11112 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
11113 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
11114 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
11115 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
11116 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
11117 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
11118 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
11119 Moved ...
11120 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
11121 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
11122 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
11123 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
11124 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
11125 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
11126 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
11127 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
11128 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
11129 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
11130 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
11131 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
11132 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
11133 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
11134 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
11135 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
11136 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
11137 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
11138 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
11139 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11140 Moved ...
11141 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
11142 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
11143 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
11144
039890a6
RM
11145 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
11146 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
11147 (libpthread-sysdep_routines): Add elision-related stuff here instead.
11148 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
11149 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
11150 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
11151 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
11152 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
11153 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
11154 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
11155 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
11156 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
11157 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
11158 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
11159 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
11160 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
11161 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
11162 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
11163 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
11164 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
11165 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
11166 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
11167 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
11168 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
11169 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
11170 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
11171 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
11172 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
11173 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
11174 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
11175 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
11176
65c89320
RM
11177 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
11178 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
11179
348f8e8c
RM
11180 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
11181 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
11182 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
11183 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
11184 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
11185 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
11186 Moved ...
11187 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
11188 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
11189 Moved ...
11190 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
11191 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
11192 Moved ...
11193 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
11194 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
11195 Moved ...
11196 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
11197 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
11198 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
11199 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
11200 Moved ...
11201 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
11202 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
11203 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
11204 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
11205 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
11206 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
11207 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
11208 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
11209 Moved ...
11210 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
11211 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11212 Moved ...
11213 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11214 ... here.
11215 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
11216 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
11217 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
11218 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
11219 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11220 Moved ...
11221 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11222 ... here.
11223 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
11224 Moved ...
11225 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
11226 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
11227 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
11228 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
11229 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
11230 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
11231 Moved ...
11232 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
11233 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
11234 Moved ...
11235 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
11236 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
11237 Moved ...
11238 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
11239 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
11240 Moved ...
11241 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
11242 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
11243 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
11244 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
11245 Moved ...
11246 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
11247 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
11248 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
11249 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
11250 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
11251 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
11252 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
11253 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
11254 Moved ...
11255 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
11256 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11257 Moved ...
11258 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11259 ... here.
11260 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
11261 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
11262 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
11263 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
11264 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
11265 Moved ...
11266 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
11267 ... here.
11268 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
11269 Moved ...
11270 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
11271 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
11272 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
11273 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
11274 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
11275 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
11276 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
11277 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
11278 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
11279 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
11280 Moved ...
11281 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
11282 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
11283 Moved ...
11284 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
11285 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
11286 Moved ...
11287 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
11288 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
11289 Moved ...
11290 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
11291 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
11292 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
11293 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
11294 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
11295 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
11296 Moved ...
11297 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
11298 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
11299 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
11300 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
11301 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
11302 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
11303 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
11304 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
11305 Moved ...
11306 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
11307 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11308 Moved ...
11309 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11310 ... here.
11311 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
11312 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
11313 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
11314 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
11315 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11316 Moved ...
11317 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11318 ... here.
11319 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
11320 Moved ...
11321 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
11322 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
11323 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
11324 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
11325 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
11326 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
11327 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
11328 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
11329 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
11330 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
11331 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
11332
5085af05
RM
11333 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
11334 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
11335
708f0813
RM
11336 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
11337 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
11338
c96067bc
RM
11339 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
11340 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
11341 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
11342 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
11343 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
11344 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
11345 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
11346 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
11347 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
11348 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
11349 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
11350 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
11351 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
11352 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
11353 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
11354 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
11355 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
11356 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
11357 Moved ...
11358 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
11359 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
11360 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
11361 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
11362 Moved ...
11363 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
11364 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
11365 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
11366 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
11367 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
11368 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
11369 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
11370 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
11371 Moved ...
11372 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
11373 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
11374 Moved ...
11375 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
11376 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
11377 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
11378 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
11379 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
11380 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
11381 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
11382 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
11383 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
11384 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
11385 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
11386 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
11387 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
11388 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
11389 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
11390 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
11391 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
11392
ec136444
RM
11393 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
11394 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
11395 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
11396 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
11397 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
11398
2fbdf533
RM
11399 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
11400 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
11401 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
11402 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
11403 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
11404 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
11405 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
11406 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
11407 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
11408 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
11409
4c68138b
RM
11410 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
11411 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
11412
4eaae765
RM
11413 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
11414 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
11415 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
11416 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
11417 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
11418 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
11419 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
11420 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
11421 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
11422 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
11423 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
11424 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
11425 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
11426 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
11427 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
11428 Update #include.
11429 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
11430 Likewise.
11431 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11432 Likewise.
11433 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11434 Likewise.
11435 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11436 Likewise.
11437 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
11438 Likewise.
11439 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
11440 Likewise.
11441 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11442 Likewise.
11443 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
11444 Likewise.
11445 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
11446 Likewise.
4ef6befa
RM
11447 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
11448 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
11449 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
11450 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
11451 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
11452 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
11453 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
11454 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
11455 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
11456 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
11457 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
11458 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
11459 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
11460 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
11461 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 11462
941d7dfd
RM
11463 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
11464 that was previously under [RESET_PID].
11465 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11466 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
11467 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
11468
1b731c35
RM
11469 * sysdeps/i386/nptl/Implies: New file.
11470 * sysdeps/x86_64/nptl/Implies: New file.
11471 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
11472 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
11473 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
11474 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
11475
e2787137
RM
11476 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
11477 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11478 (__libc_vfork): New strong alias.
11479 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
11480 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
11481
11482 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
11483 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11484 (__libc_vfork): New strong alias.
11485 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
11486 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
11487
5675da1e
RM
11488 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
11489 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11490 (__libc_vfork): New strong alias.
11491 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
11492 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
11493 * nptl/pt-vfork.c: New file.
11494 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
11495 (libpthread: GLIBC_2.20): New version set (empty).
11496
4f02e2b8
WN
114972014-05-14 Will Newton <will.newton@linaro.org>
11498
11499 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
11500 rather than #if.
11501
0bf061d3
JM
115022014-05-14 Joseph Myers <joseph@codesourcery.com>
11503
1a84c3d6
JM
11504 [BZ #16564]
11505 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
11506 arguments with exponent 65 or above.
11507 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
11508 arguments 0x1p113L or above.
11509 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
11510 to arguments 0x1p107L or above.
11511 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
11512 positive arguments with exponent 65 or above.
11513 * math/auto-libm-test-in: Add more tests of log1p.
11514 * math/auto-libm-test-out: Regenerated.
11515
01dbacd2
JM
11516 [BZ #16928]
11517 * math/s_cacos.c (__cacos): Ensure zero real part of result from
11518 non-finite arguments is +0.
11519 * math/s_cacosf.c (__cacosf): Likewise.
11520 * math/s_cacosl.c (__cacosl): Likewise.
11521 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
11522 * sysdeps/i386/fpu/libm-test-ulps: Update.
11523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11524
913d03c8
JM
11525 [BZ #16927]
11526 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
11527 value.
11528 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
11529 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
11530 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
11531 for explicit high bit of mantissa when testing for argument equal
11532 to 1.
11533 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
11534 * sysdeps/i386/fpu/libm-test-ulps: Update.
11535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11536
0bf061d3
JM
11537 [BZ #16516]
11538 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
11539 (__erf): Scale by 16 instead of 8 in potentially underflowing
11540 case. Ensure exception if result actually underflows.
11541 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
11542 (__erff): Scale by 16 instead of 8 in potentially underflowing
11543 case. Ensure exception if result actually underflows.
11544 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
11545 (efx8): Remove variable.
11546 (__erfl): Scale by 16 instead of 8 in potentially underflowing
11547 case. Ensure exception if result actually underflows.
11548 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
11549 (efx8): Remove variable.
11550 (__erfl): Scale by 16 instead of 8 in potentially underflowing
11551 case. Ensure exception if result actually underflows.
11552 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
11553 (efx8): Remove variable.
11554 (__erfl): Scale by 16 instead of 8 in potentially underflowing
11555 case. Ensure exception if result actually underflows.
11556 * math/auto-libm-test-in: Add more tests of erf.
11557 * math/auto-libm-test-out: Regenerated.
11558
73ba67cb
AS
115592014-05-14 Andreas Schwab <schwab@suse.de>
11560
3d8c8bff
AS
11561 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
11562 Remove code conditionalized on USE___THREAD.
11563
73ba67cb
AS
11564 * config.h.in (HAVE_PT_CHOWN): Define as 0.
11565 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
11566 not definedness.
11567
5c521ecd
JM
115682014-05-14 Joseph Myers <joseph@codesourcery.com>
11569
5e7698c6
JM
11570 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
11571 Define unconditionally.
11572 (__ASSUME_O_CLOEXEC): Likewise.
11573 (__ASSUME_SOCK_CLOEXEC): Likewise.
11574 (__ASSUME_IN_NONBLOCK): Likewise.
11575 (__ASSUME_PIPE2): Likewise.
11576 (__ASSUME_EVENTFD2): Likewise.
11577 (__ASSUME_SIGNALFD4): Likewise.
11578 (__ASSUME_DUP3): Likewise.
11579 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11580 (__ASSUME_DUP3): Do not define.
11581 (__ASSUME_EVENTFD2): Likewise.
11582 (__ASSUME_IN_NONBLOCK): Likewise.
11583 (__ASSUME_O_CLOEXEC): Likewise.
11584 (__ASSUME_PIPE2): Likewise.
11585 (__ASSUME_SIGNALFD4): Likewise.
11586 (__ASSUME_SOCK_CLOEXEC): Likewise.
11587 (__ASSUME_UTIMES): Undefine.
11588 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11589 (__ASSUME_UTIMES): Do not define.
11590 (__ASSUME_O_CLOEXEC): Likewise.
11591 (__ASSUME_SOCK_CLOEXEC): Likewise.
11592 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
11593 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
11594 0x020621].
11595 (__ASSUME_PIPE2): Likewise.
11596 (__ASSUME_EVENTFD2): Likewise.
11597 (__ASSUME_SIGNALFD4): Likewise.
11598 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
11599 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
11600 Do not define.
11601 (__ASSUME_EVENTFD2): Likewise.
11602 (__ASSUME_SIGNALFD4): Likewise.
11603 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11604 (__ASSUME_32BITUIDS): Likewise.
11605 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11606 (__ASSUME_IPC64): Likewise.
11607 (__ASSUME_ST_INO_64_BIT): Likewise.
11608 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
11609 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
11610 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11611 (__ASSUME_UTIMES): Do not define.
11612 (__ASSUME_PSELECT): Likewise.
11613 (__ASSUME_PPOLL): Likewise.
11614 (__ASSUME_O_CLOEXEC): Likewise.
11615 (__ASSUME_SOCK_CLOEXEC): Likewise.
11616 (__ASSUME_IN_NONBLOCK): Likewise.
11617 (__ASSUME_PIPE2): Likewise.
11618 (__ASSUME_EVENTFD2): Likewise.
11619 (__ASSUME_SIGNALFD4): Likewise.
11620 (__ASSUME_DUP3): Likewise.
11621 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11622 (__ASSUME_UTIMES): Likewise.
11623 (__ASSUME_O_CLOEXEC): Likewise.
11624 (__ASSUME_SOCK_CLOEXEC): Likewise.
11625 (__ASSUME_IN_NONBLOCK): Likewise.
11626 (__ASSUME_PIPE2): Likewise.
11627 (__ASSUME_EVENTFD2): Likewise.
11628 (__ASSUME_SIGNALFD4): Likewise.
11629 (__ASSUME_DUP3): Likewise.
11630 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11631 (__ASSUME_UTIMES): Likewise.
11632 (__ASSUME_O_CLOEXEC): Likewise.
11633 (__ASSUME_SOCK_CLOEXEC): Likewise.
11634 (__ASSUME_IN_NONBLOCK): Likewise.
11635 (__ASSUME_PIPE2): Likewise.
11636 (__ASSUME_EVENTFD2): Likewise.
11637 (__ASSUME_SIGNALFD4): Likewise.
11638 (__ASSUME_DUP3): Likewise.
11639 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
11640 Likewise.
11641 (__ASSUME_UTIMES): Likewise.
11642 (__ASSUME_EVENTFD2): Likewise.
11643 (__ASSUME_SIGNALFD4): Likewise.
11644 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11645 (__ASSUME_O_CLOEXEC): Likewise.
11646 (__ASSUME_SOCK_CLOEXEC): Likewise.
11647 (__ASSUME_IN_NONBLOCK): Likewise.
11648 (__ASSUME_PIPE2): Likewise.
11649 (__ASSUME_EVENTFD2): Likewise.
11650 (__ASSUME_SIGNALFD4): Likewise.
11651 (__ASSUME_DUP3): Likewise.
11652 (__ASSUME_UTIMES): Undefine.
11653
5c521ecd
JM
11654 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
11655 feclearexcept. Remove symbol versioning code.
11656 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
11657 symbol versioning code.
11658 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
11659 symbol versioning code.
11660 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
11661 feupdateenv. Remove symbol versioning code.
11662 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
11663 fegetexceptflag. Remove symbol versioning code.
11664 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
11665 fesetexceptflag. Remove symbol versioning code.
11666 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
11667 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
11668 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
11669 (__posix_fadvise64_l32): Remove prototype.
11670 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
11671 code.
11672
5da9dfad
RM
116732014-05-13 Roland McGrath <roland@hack.frob.com>
11674
11675 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
11676 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
11677 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
11678 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
11679
893b4f37
SK
116802014-05-13 Sami Kerola <kerolasa@iki.fi>
11681
11682 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
11683 current working directory
11684
e0db6517
RM
116852014-05-13 Roland McGrath <roland@hack.frob.com>
11686
58aa195d
RM
11687 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
11688 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
11689 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
11690 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
11691 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
11692 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
11693 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
11694 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
11695 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
11696 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
11697 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
11698 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
11699 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
11700 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
11701 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
11702 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
11703 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
11704 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
11705 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
11706 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
11707 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
11708 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
11709 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
11710 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
11711 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
11712 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
11713 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
11714 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
11715 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
11716 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
11717 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
11718 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
11719 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
11720 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
11721 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
11722 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
11723 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
11724 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
11725 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
11726 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
11727 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
11728 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
11729
8c6d01f0
RM
11730 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
11731 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
11732
11733 * sysdeps/unix/sysv/linux/arm/Makefile
11734 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
11735 Add rt-aeabi_unwind_cpp_pr1.
11736 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
11737 Add nptl-aeabi_unwind_cpp_pr1.
11738 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
11739 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
11740 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
11741 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
11742 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
11743 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
11744
11745 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
11746 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
11747 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
11748 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
11749
bba6da4e
RM
11750 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
11751 Deconditionalize the code that was previously under [RESET_PID].
11752 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
11753
e0db6517
RM
11754 * sysdeps/generic/exit-thread.h: New file.
11755 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
11756 * include/unistd.h (__exit_thread): Remove declaration.
11757 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
11758 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
11759 * csu/libc-start.c: Include <exit-thread.h>.
11760 (LIBC_START_MAIN): Pass no argument to __exit_thread.
11761 * nptl/pthread_create.c: Include <exit-thread.h>.
11762 (start_thread): Call __exit_thread in place of __exit_thread_inline.
11763 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
11764 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
11765 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
11766 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
11767 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
11768 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
11769 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
11770 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
11771 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
11772 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
11773 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
11774 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
11775 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
11776 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
11777 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
11778 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
11779
01eb16fd
AS
117802014-05-13 Andreas Schwab <schwab@suse.de>
11781
11782 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
11783
637461d9
JM
117842014-05-12 Joseph Myers <joseph@codesourcery.com>
11785
11786 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
11787 (__ASSUME_UTIMES): Do not condition on kernel version.
11788 (__ASSUME_PSELECT): Define unconditionally.
11789 (__ASSUME_PPOLL): Likewise.
11790 (__ASSUME_ATFCTS): Likewise.
11791 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
11792 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
11793 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
11794 (__ASSUME_UTIMENSAT): Define unconditionally.
11795 (__ASSUME_PRIVATE_FUTEX): Likewise.
11796 (__ASSUME_FALLOCATE): Likewise.
11797 (__ASSUME_O_CLOEXEC): Likewise.
11798 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
11799 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
11800 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
11801 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
11802 (__ASSUME_IN_NONBLOCK): Likewise.
11803 (__ASSUME_PIPE2): Likewise.
11804 (__ASSUME_EVENTFD2): Likewise.
11805 (__ASSUME_SIGNALFD4): Likewise.
11806 (__ASSUME_DUP3): Likewise.
11807 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11808 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
11809 (__ASSUME_AT_RANDOM): Likewise.
11810 (__ASSUME_PREADV): Likewise.
11811 (__ASSUME_PWRITEV): Likewise.
11812 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
11813 (__ASSUME_F_GETOWN_EX): Define unconditionally.
11814 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
11815 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
11816 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
11817 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11818 (__ASSUME_O_CLOEXEC): Define unconditionally.
11819 (__ASSUME_PSELECT): Do not undefine conditionally.
11820 (__ASSUME_PPOLL): Likewise.
11821 (__ASSUME_ATFCTS): Likewise.
11822 (__ASSUME_SET_ROBUST_LIST): Likewise.
11823 (__ASSUME_UTIMENSAT): Likewise.
11824 (__ASSUME_FDATASYNC): Define unconditionally.
11825 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11826 (__ASSUME_SIGFRAME_V2): Likewise.
11827 )__ASSUME_EVENTFD2): Likewise.
11828 (__ASSUME_SIGNALFD4): Likewise.
11829 (__ASSUME_PSELECT): Do not undefine conditionally.
11830 (__ASSUME_PPOLL): Likewise.
11831 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11832 (__ASSUME_PSELECT): Define unconditionally.
11833 (__ASSUME_PPOLL): Likewise.
11834 (__ASSUME_O_CLOEXEC): Likewise.
11835 (__ASSUME_SOCK_CLOEXEC): Likewise.
11836 (__ASSUME_IN_NONBLOCK): Likewise.
11837 (__ASSUME_PIPE2): Likewise.
11838 (__ASSUME_EVENTFD2): Likewise.
11839 (__ASSUME_SIGNALFD4): Likewise.
11840 (__ASSUME_DUP3): Likewise.
11841 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11842 (__ASSUME_O_CLOEXEC): Likewise.
11843 (__ASSUME_SOCK_CLOEXEC): Likewise.
11844 (__ASSUME_IN_NONBLOCK): Likewise.
11845 (__ASSUME_PIPE2): Likewise.
11846 (__ASSUME_EVENTFD2): Likewise.
11847 (__ASSUME_SIGNALFD4): Likewise.
11848 (__ASSUME_DUP3): Likewise.
11849 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11850 (__ASSUME_EVENTFD2): Likewise.
11851 (__ASSUME_SIGNALFD4): Likewise.
11852 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11853
315eb1d8
AS
118542014-05-12 Andreas Schwab <schwab@suse.de>
11855
11856 [BZ #16932]
11857 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
11858 (_nss_nis_gethostbyname4_r): Return error if item length is larger
11859 than maximum RPC packet size.
11860 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
11861 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
11862 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
11863 (_nss_nis_getservbyport_r): Likewise.
11864
91df99f7
WN
118652014-05-12 Will Newton <will.newton@linaro.org>
11866
11867 * malloc/Makefile (tests): Add tst-mallopt.
11868 * malloc/tst-mallopt.c: New file.
11869
0a982a29
RM
118702014-05-09 Roland McGrath <roland@hack.frob.com>
11871
11872 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
11873 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
11874
0ded08a5
AZ
118752014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11876
11877 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
11878 (tst-tlsmod6.so): Likewise.
11879
55d4d550
RM
118802014-05-09 Roland McGrath <roland@hack.frob.com>
11881
11882 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
11883
77d08aca
JM
118842014-05-09 Joseph Myers <joseph@codesourcery.com>
11885
11886 [BZ #16064]
11887 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
11888 and <dl-procinfo.h>.
11889 (__fegetenv): Save SSE state in envp->__eip if supported.
11890 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
11891 envp->__eip if supported.
11892 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
11893 and <dl-procinfo.h>.
11894 (__fesetenv): Always set __eip, __cs_selector, __opcode,
11895 __data_offset and __data_selector in environment to 0. Set SSE
11896 state if supported.
11897 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11898 test-fenv-sse.
11899 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
11900 -mfpmath=sse.
11901 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
11902
28162f4d
WN
119032014-05-09 Will Newton <will.newton@linaro.org>
11904
11905 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
11906 and libc_relro_required for ARM.
11907 * sysdeps/arm/preconfigure: Regenerate.
11908
5a414ff7
DV
119092014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
11910 Stefan Liebler <stli@linux.vnet.ibm.com>
11911
11912 * config.make.in (enable-lock-elision): New Makefile variable.
11913 * configure.ac: Likewise.
11914 * configure: Regenerate.
11915 * sysdeps/s390/configure.ac:
11916 Add check for gcc transactions support.
11917 * sysdeps/s390/configure: Regenerate.
11918 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
11919 Build elision files if enabled.
11920 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
11921 Add lock elision support for s390.
11922 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
11923 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
11924 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
11925 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
11926 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
11927 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
11928 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
11929 Likewise.
11930 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
11931 Likewise.
11932 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
11933 Likewise.
11934 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
11935 Likewise.
11936 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
11937 (__lll_timedlock_elision, __lll_lock_elision)
11938 (__lll_unlock_elision, __lll_trylock_elision)
11939 (lll_timedlock_elision, lll_lock_elision)
11940 (lll_unlock_elision, lll_trylock_elision): Add.
11941 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11942 (pthread_mutex_t): Add lock elision support for s390.
11943
1a2f40e5
W
119442014-05-14 Wilco <wdijkstr@arm.com>
11945
11946 * sysdeps/arm/fclrexcpt.c: Cleanup.
11947 * sysdeps/arm/fedisblxcpt.c: Cleanup.
11948 * sysdeps/arm/feenablxcpt.c: Cleanup.
11949 * sysdeps/arm/fegetenv.c: Cleanup.
11950 * sysdeps/arm/fegetexcept.c: Cleanup.
11951 * sysdeps/arm/fegetround.c: Cleanup.
11952 * sysdeps/arm/feholdexcpt.c: Cleanup.
11953 * sysdeps/arm/fesetenv.c: Cleanup.
11954 * sysdeps/arm/fesetround.c: Cleanup.
11955 * sysdeps/arm/feupdateenv.c: Cleanup.
11956 * sysdeps/arm/fgetexcptflg.c: Cleanup.
11957 * sysdeps/arm/fraiseexcpt.c: Cleanup.
11958 * sysdeps/arm/fsetexcptflg.c: Cleanup.
11959 * sysdeps/arm/ftestexcept.c: Cleanup.
11960 * sysdeps/arm/get-rounding-mode.h: Cleanup.
11961 * sysdeps/arm/setfpucw.c: Cleanup.
11962
f63c86fe
WN
119632014-05-09 Will Newton <will.newton@linaro.org>
11964
11965 * sysdeps/arm/armv7/strcmp.S: New file.
11966 * NEWS: Mention addition of ARMv7 optimized strcmp.
11967
7a1a51b5
RM
119682014-05-08 Roland McGrath <roland@hack.frob.com>
11969
95afbbe5
RM
11970 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
11971 look for %.ac rather than %.in.
11972
11973 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
11974 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
11975 * sysdeps/mach/hurd/configure: Regenerated.
11976 * sysdeps/unix/sysv/linux/configure: Regenerated.
11977
7a1a51b5
RM
11978 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
11979
5057ad3b
SE
119802014-05-07 Steve Ellcey <sellcey@mips.com>
11981
11982 [BZ# 16922]
11983 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
11984 (LONG_SUB): Ditto.
11985 (PTR_SUB): Ditto.
11986
8dc97517
AS
119872014-05-07 Andreas Schwab <schwab@suse.de>
11988
11989 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
11990 when skipping over non-matching result from nscd.
11991
ce0c5b8f
OB
119922014-05-07 Ondřej Bílka <neleai@seznam.cz>
11993
11994 [BZ #16876]
11995 * nptl/sockperf.c (client): Check socket return value.
8dc97517 11996
a1189263
OB
11997 [BZ #16877]
11998 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
11999 nscd security class.
ce0c5b8f 12000
0f58d252
RM
120012014-05-06 Roland McGrath <roland@hack.frob.com>
12002
12003 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
12004 * sysdeps/arm/unwind.h: ... here.
12005
83df9ad0
AJ
120062014-05-06 Aurelien Jarno <aurelien@aurel32.net>
12007
ce0c5b8f
OB
12008 [BZ# 16916]
12009 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
12010 Define.
83df9ad0 12011
f360f94a
VR
120122014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12013
12014 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
12015 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
12016 multiarch strncpy for PPC64.
12017 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
12018 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
12019 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
12020 multiarch optimizations.
12021 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12022 (__libc_ifunc_impl_list): Likewise.
12023 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
12024 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
12025 multiarch stpncpy for PPC64.
12026 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
12027 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
12028
978a41c3
AS
120292014-05-06 Andreas Schwab <schwab@suse.de>
12030
12031 [BZ #16912]
12032 * gmon/mcount.c (_MCOUNT_DECL): Use
12033 atomic_compare_and_exchange_bool_acq instead of
12034 catomic_compare_and_exchange_bool_acq.
12035
eb1ed03d
RM
120362014-05-05 Roland McGrath <roland@hack.frob.com>
12037
fe658845
RM
12038 * elf/Makefile (others, install-bin): Remove pldd.
12039 (pldd-modules): Variable removed.
12040 ($(objpfx)pldd): Target removed.
12041 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
12042 (others, install-bin): Append pldd here.
12043 ($(objpfx)pldd): New target.
12044
eb1ed03d
RM
12045 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
12046 to 0, so the first #if test emitted later doesn't see it undefined.
12047 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
12048 * sysdeps/gnu/errlist.c: Regenerated.
12049
19c4bec0
AZ
120502014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12051
12052 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
12053 [libc_hidden_builtin_def]: Define to empty value.
12054 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
12055 [libc_hidden_builtin_def]: Likewise.
12056 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
12057 [libc_hidden_builtin_def]: Likewise.
12058 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
12059 [libc_hidden_builtin_def]: Likewise.
12060 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
12061 __redirect_memcpy and define ifunc as default hidden symbol.
12062 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
12063 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
12064
7776e669
AC
120652014-05-04 Adam Conrad <adconrad@0c3.net>
12066
12067 * locale/iso-4217.def: Reintroduce XDR currency.
12068
d69aeb12
AM
120692014-05-04 Allan McRae <allan@archlinux.org>
12070
12071 * po/eo.po: Update Esperanto translation from translation project.
12072
8f1df5cf
CD
120732014-05-02 Carlos O'Donell <carlos@redhat.com>
12074
12075 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
12076 and FEATURE_INDEX_MAX to 1.
12077 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
12078
13e402e7
SE
120792014-05-01 Steve Ellcey <sellcey@mips.com>
12080
12081 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
12082 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
12083 * iconvdata/big5.c (ONE_DIRECTION): Define.
12084 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
12085 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
12086 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
12087 * iconvdata/cp932.c (ONE_DIRECTION): Define.
12088 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
12089 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
12090 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
12091 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
12092 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
12093 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
12094 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
12095 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
12096 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
12097 * iconvdata/gbk.c (ONE_DIRECTION): Define.
12098 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
12099 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
12100 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
12101 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
12102 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
12103 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
12104 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
12105 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
12106 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
12107 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
12108 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
12109 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
12110 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
12111 * iconvdata/iso646.c (ONE_DIRECTION): Define.
12112 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
12113 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
12114 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
12115 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
12116 * iconvdata/johab.c (ONE_DIRECTION): Define.
12117 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
12118 * iconvdata/sjis.c (ONE_DIRECTION): Define.
12119 * iconvdata/t.61.c (ONE_DIRECTION): Define.
12120 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
12121 * iconvdata/tscii.c (ONE_DIRECTION): Define.
12122 * iconvdata/uhc.c (ONE_DIRECTION): Define.
12123 * iconvdata/unicode.c (ONE_DIRECTION): Define.
12124 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
12125 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
12126 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
12127
c727f032
RM
121282014-05-01 Roland McGrath <roland@hack.frob.com>
12129
8f2f08d0
RM
12130 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
12131 (_IO_JUMPS_OFFSET): Define to 0.
12132
c727f032
RM
12133 * nptl/sysdeps/pthread/bits/libc-lock.h
12134 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
12135 (__libc_lock_define_initialized_recursive): Always define using
12136 initializer. Modern compilers treat uninitialized (implicit zero) and
12137 explicit zero initializers the same (i.e. put the datum in bss).
12138
a849e800
AS
121392014-05-01 Andreas Schwab <schwab@linux-m68k.org>
12140
12141 * nscd/nscd-client.h: Include <string.h>.
12142
5331255b
DM
121432014-05-01 David S. Miller <davem@davemloft.net>
12144
12145 [BZ #16885]
12146 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
12147 multiple zero bytes exist at the end of a string.
12148 Reported by Aurelien Jarno <aurelien@aurel32.net>
12149
12150 * string/test-strcmp.c (check): Add explicit test for situations where
12151 there are multiple zero bytes after the first.
12152
4fdfe821
AS
121532014-05-01 Andreas Schwab <schwab@linux-m68k.org>
12154
12155 [BZ #16890]
12156 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
12157 when compiling wprintf.
12158 * stdio-common/tstdiomisc.c (t3): New function.
12159 (main): Call it.
12160
0cdddc25
SE
121612014-05-01 Steve Ellcey <sellcey@mips.com>
12162
12163 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
12164 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
12165 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
12166 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
12167
6426d77e
SE
121682014-05-01 Steve Ellcey <sellcey@mips.com>
12169
12170 * stdlib/longlong.h: Updated from GCC.
12171
6d96f5e4
WN
121722014-05-01 Will Newton <will.newton@linaro.org>
12173 Bernard Ogden <bernie.ogden@linaro.org>
12174
7470db0c
WN
12175 * NEWS: Update fixed bug list.
12176
6d96f5e4
WN
12177 [BZ #15119]
12178 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
12179
211d653c
DM
121802014-04-30 David S. Miller <davem@davemloft.net>
12181
4fa262fa
DM
12182 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
12183 (libc_feholdexcept_setround_sparc_ctx): New function.
12184 (libc_fesetenv_sparc_ctx): Likewise.
12185 (libc_feupdateenv_sparc_ctx): Likewise.
12186 (libc_feholdsetround_sparc_ctx): Likewise.
12187 (libc_feholdexcept_setround_ctx): Define.
12188 (libc_feholdexcept_setroundf_ctx): Likewise.
12189 (libc_feholdexcept_setroundl_ctx): Likewise.
12190 (libc_fesetenv_ctx): Likewise.
12191 (libc_fesetenvf_ctx): Likewise.
12192 (libc_fesetenvl_ctx): Likewise.
12193 (libc_feupdateenv_ctx): Likewise.
12194 (libc_feupdateenvf_ctx): Likewise.
12195 (libc_feupdateenvl_ctx): Likewise.
12196 (libc_feresetround_ctx): Likewise.
12197 (libc_feresetroundf_ctx): Likewise.
12198 (libc_feresetroundl_ctx): Likewise.
12199 (libc_feholdsetround_ctx): Likewise.
12200 (libc_feholdsetroundf_ctx): Likewise.
12201 (libc_feholdsetroundl_ctx): Likewise.
12202
1d3d93ef
DM
12203 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12204 with __USE_GNU instead of XOPEN cpp guards.
12205
8aa583c3
DM
12206 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
12207 0.
12208
211d653c
DM
12209 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12210 with XOPEN cpp guards.
12211
60c8f1f6
JB
122122014-04-30 Julian Brown <julian@codesourcery.com>
12213
12214 [BZ #16888]
12215 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
12216 handling.
12217
9a461d46
JM
122182014-04-30 Joseph Myers <joseph@codesourcery.com>
12219
d0f5b3f8
JM
12220 [BZ #9894]
12221 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
12222 Change to 2.6.32.
12223 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
12224 * sysdeps/unix/sysv/linux/configure: Regenerated.
12225 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
12226 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
12227 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
12228 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
12229 * README: Update reference to required Linux kernel version.
12230 * manual/install.texi (Linux): Update reference to required Linux
12231 kernel headers version.
12232 * INSTALL: Regenerated.
12233
9a461d46
JM
12234 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
12235 header inclusion.
12236 [POSIX] (limits.h): Likewise.
12237 [POSIX] (math.h): Likewise.
12238 [POSIX] (sys/wait.h): Likewise.
12239 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
12240 function.
12241 [POSIX] (stddef.h): Do not allow header inclusion.
12242
1775babf
AZ
122432014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12244
57f41c40 12245 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 12246
8f630cca
YY
122472014-04-30 Yang Yingliang <yangyingliang@huawei.com>
12248
12249 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
12250 Return immediately after lll_futex_wake.
12251
1cdeb237
SP
122522014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12253
bc8f194c
SP
12254 [BZ #16791]
12255 * nscd/nscd-client.h (datahead_init_common): Initialize entire
12256 structure.
12257 (datahead_init_pos): Call datahead_init_common early.
12258 (datahead_init_neg): Likewise.
12259
1cdeb237
SP
12260 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
12261 datahead_init_neg): New functions.
12262 * nscd/aicache.c (addhstaiX): Use them.
12263 * nscd/grpcache.c (cache_addgr): Likewise.
12264 * nscd/hstcache.c (cache_addhst): Likewise.
12265 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12266 * nscd/netgroupcache.c (do_notfound): Likewise.
12267 (addgetnetgrentX): Likewise.
12268 (addinnetgrX): Likewise.
12269 * nscd/pwdcache.c (cache_addpw): Likewise.
12270 * nscd/servicescache.c (cache_addserv): Likewise.
12271
16b293a7
SP
122722014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12273 Atsushi Onoe <atsushi@onoe.org>
12274
12275 [BZ #14308]
12276 [BZ #12994]
12277 [BZ #13651]
12278 * resolv/res_query.c (__libc_res_nsearch): Return if at least
12279 one response is valid.
12280 * resolv/res_send.c (send_dg): Check for validity of other
12281 response if the current response is a referral.
12282
a28a9b94
SE
122832014-04-29 Steve Ellcey <sellcey@mips.com>
12284
12285 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
12286
2ca180e9
SL
122872014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
12288
12289 [BZ #16823]
12290 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
12291 Always divide by positive zero when computing -Inf result.
12292 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
12293 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
12294
18f2945a
AZ
122952014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12296
12297 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
12298 FPSCR if value do not change.
12299 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12300 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
12301 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
12302 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12303 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
12304 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
12305 function.
12306
5abebba4
CD
123072014-05-29 Carlos O'Donell <carlos@systemhalted.org>
12308
12309 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
12310 * sysdeps/unix/sysv/linux/hppa: Move directory from
12311 ports/systeps/unix/sysv/linux/hppa.
12312 * README: Update listing for hppa-*-linux-gnu.
12313
f7ed60c2
OB
123142014-04-28 Ondřej Bílka <neleai@seznam.cz>
12315
fff763a5
OB
12316 [BZ #16754]
12317 * manual/stdio.texi (Hook functions): Fix types of stream hook
12318 functions.
f7ed60c2
OB
12319 [BZ #16854]
12320 * socket/sys/socket.h: Fix typo in comment.
12321
df639d73
WD
123222014-04-28 Wilco <wdijkstr@arm.com>
12323
f7ed60c2 12324 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
12325 * sysdeps/arm/math_private.h: New file.
12326 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
12327
48332d82
L
123282014-04-25 H.J. Lu <hongjiu.lu@intel.com>
12329
12330 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
12331 with __int128_t.
12332 (La_x86_64_retval): Likewise.
12333
e5e0d9a4
IB
123342014-04-24 Ian Bolton <ian.bolton@arm.com>
12335
12336 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
12337 fpsr if value didn't change.
12338 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
12339 to fpcr if value didn't change.
12340 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
12341 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
12342 fpsr or fpcr if value didn't change.
12343 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
12344 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
12345 fpcr if value didn't change.
12346 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
12347 to fpsr if value didn't change.
12348
bacc75f7
SP
123492014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12350
12351 * nptl/tst-sem3.c: Use test-skeleton.c
12352 (main): Rename to do_test. Use return instead of
12353 exit.
12354 * nptl/tst-sem4.c: Use test-skeleton.c
12355 (main): Rename to do_test.
12356
a059d359
DM
123572014-04-22 David S. Miller <davem@davemloft.net>
12358
12359 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
12360 (struct sigaction): New struct member __glibc_reserved0, change
12361 type of sa_flags to int.
12362
ea6c92f3
YZ
123632014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
12364
12365 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
12366 (COUNT_LEADING_ZEROS_0): Define for AArch64.
12367
766c4a36
SP
123682014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12369
12370 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
12371 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
12372
140cc7ab
VK
123732014-04-22 Will Newton <will.newton@linaro.org>
12374 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
12375
12376 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
12377 (__longjmp): Add longjmp and longjmp_target SystemTap
12378 probes.
12379 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
12380 (__sigsetjmp): Add setjmp SystemTap probe.
12381
c54e5cf7
CD
123822014-04-17 Carlos O'Donell <carlos@redhat.com>
12383
12384 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
12385 match manual order.
12386
75ffb047
AZ
123872014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12388
12389 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
12390
2cd925f7
AZ
12391 * sysdeps/powerpc/fpu/fenv_private.h
12392 (libc_feholdexcept_setroundl_ctx): Define to
12393 libc_feholdexcept_setround_ppc_ctx.
12394 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
12395 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
12396 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
12397 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
12398
39e6cd8d
IB
123992014-04-17 Ian Bolton <ian.bolton@arm.com>
12400
12401 * sysdeps/aarch64/math-tests.h: New file.
12402
f9281df9
SY
124032014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
12404
12405 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
12406 New.
12407 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12408 Check and set bit_AVX2_Usable.
12409 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
12410 macro.
12411 (bit_AVX2): Likewise.
12412 (index_AVX2_Usable): Likewise.
12413 (CPUID_AVX2): Likewise.
12414 (HAS_AVX2): Likewise.
12415
37d35007
WN
124162014-04-17 Will Newton <will.newton@linaro.org>
12417
7c677662
WN
12418 * manual/setjmp.texi (System V contexts): Add note that
12419 calling setcontext on a context created by a call to a
12420 signal handler is undefined. Update text to note that
12421 setcontext from a signal handler is possible but not
12422 recommended.
12423
37d35007 12424 [BZ #16629]
e04a4e9d
WN
12425 * stdlib/tst-setcontext.c: Include signal.h.
12426 (main): Check that the signal stack before and
12427 after swapcontext is the same.
12428
37d35007
WN
12429 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
12430 Re-implement to restore registers in user code and avoid
12431 rt_sigreturn system call.
12432
423a7160
W
124332014-04-17 Wilco <wdijkstr@arm.com>
12434
12435 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
12436 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
12437 * math/test-fenv.c: Skip exception trap tests on targets which only
12438 support non-stop mode.
12439
bc93ab29
IB
124402014-04-17 Ian Bolton <ian.bolton@arm.com>
12441 Wilco Dijkstra <wilco.dijkstra@arm.com>
12442
12443 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
12444 (libc_feholdsetround_aarch64_ctx)
12445 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
12446 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
12447 (libc_feresetround_ctx, libc_feresetroundf_ctx)
12448 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
12449 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
12450 (libc_feresetround_noexl_ctx): Define.
12451
95fc5fa3
RH
124522014-04-16 Richard Henderson <rth@redhat.com>
12453
ddb04724
RH
12454 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
12455
d77c0899
RH
12456 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
12457 unwind tables.
12458
a3df56fc
RH
12459 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
12460 const from the non-libc, non-ldso copy.
12461
95fc5fa3
RH
12462 * sysdeps/alpha/libm-test-ulps: Regenerate.
12463
7e0b6763
IB
124642014-04-16 Ian Bolton <ian.bolton@arm.com>
12465 Wilco Dijkstra <wilco.dijkstra@arm.com>
12466
12467 * sysdeps/aarch64/fpu/math_private.h: New file.
12468
a9ea2e0c
MS
124692014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
12470
12471 * sysdeps/aarch64/libm-test-ulps: Regenerate.
12472
ea8ba7cd
IZ
124732014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
12474
7e54fd04 12475 [BZ #16275]
ea8ba7cd
IZ
12476 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
12477 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
12478 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
12479 Intel MPX bound registers before _dl_profile_fixup.
12480 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
12481 registers after _dl_profile_fixup. Save and restore bound
12482 registers bnd0/bnd1 when calling _dl_call_pltexit.
12483 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
12484 (LR_BND_OFFSET): Likewise.
12485 (LRV_BND0_OFFSET): Likewise.
12486 (LRV_BND1_OFFSET): Likewise.
12487
9f2a4fbc
ST
124882014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12489
12490 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
12491 to...
12492 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
12493 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
12494 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
12495 fields.
9f2a4fbc 12496
fd15a59b
ST
124972014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12498
12499 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
12500
f19dfa0a
SL
125012014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
12502
12503 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12504
4fa8bc3b
SL
125052014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
12506
12507 [BZ #14770]
12508 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
12509 * sysdeps/s390/configure: Regenerate.
12510
8ea587db
SL
12511 [BZ #16824]
12512 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
12513 Set round-to-nearest internally to reduce error accumulation.
12514
aa5f0ff1
AM
125152014-04-16 Alan Modra <amodra@gmail.com>
12516
12517 [BZ #16740]
12518 [BZ #16619]
12519 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
12520 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 12521 * NEWS: Update fixed bug list.
aa5f0ff1 12522
bb9c256f
SP
125232014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12524
12525 * benchtests/Makefile: Depend on libraries in build directory.
12526 (bench-math): Separate out math tests.
12527 (bench-pthread): Separate out pthread tests.
12528 (bench): Include math and pthread tests.
12529
f737dfd0
CD
125302014-04-14 Carlos O'Donell <carlos@redhat.com>
12531
12532 [BZ #16831]
12533 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
12534 _dl_debug_initialize.
12535
0699f766
CD
12536 * configure.ac: Remove SELinux header check.
12537 * configure: Regenerate.
12538 * nscd/selinux.c (perms): Array of const char* to permission names.
12539 (nscd_request_avc_has_perm): Call security_deny_unknown to find
12540 default policy. Call string_to_security_class and string_to_av_perm to
12541 translate strings. Enforce default policy and call avs_has_perm with
12542 results of translated strings.
12543
809bd45f
DM
125442014-04-13 David S. Miller <davem@davemloft.net>
12545
12546 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12547
89e691f2
AM
125482014-04-12 Allan McRae <allan@archlinux.org>
12549
12550 [BZ #16838]
12551 * manual/string.texi (Collation Functions): Fix qsort argument
12552 order in example.
12553 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
12554
9c9daaeb
CM
125552014-04-11 Chris Metcalf <cmetcalf@tilera.com>
12556
12557 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
12558 Make the test a no-op if there are no exceptions defined.
12559
95561fb9
PP
125602014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
12561
fe8d072c 12562 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
12563 enable-hardcoded-path-in-tests
12564
970c602a
WN
125652014-04-11 Will Newton <will.newton@linaro.org>
12566
12567 * benchtests/Makefile (extra-objs): Add json-lib.o.
12568 (bench-func): Tidy up JSON output.
12569 * benchtests/bench-skeleton.c: Include json-lib.h.
12570 (main): Use JSON library functions to do output of
12571 benchmark results.
12572 * benchtests/bench-timing-type.c (main): Output the
12573 timing type simply, leaving formatting to the user.
12574 * benchtests/json-lib.c: New file.
12575 * benchtests/json-lib.h: Likewise.
12576
36875b06
TR
125772014-04-11 Torvald Riegel <triegel@redhat.com>
12578
12579 [BZ #15215]
12580 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
12581 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
12582 memory barriers. Add comments.
12583 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
12584 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
12585 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
12586 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
12587 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
12588 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
12589
579db35a
SL
125902014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
12591
12592 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
12593 * sysdeps/s390/s390-64/configure.ac: ... this ...
12594 * sysdeps/s390/configure.ac: ... to here.
12595 * sysdeps/s390/s390-32/configure: Delete file.
12596 * sysdeps/s390/s390-64/configure: Delete file.
12597 * sysdeps/s390/configure: Regenerate.
12598
c12e9f37
JAPH
125992014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
12600
12601 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
12602
439bda32
WN
126032014-04-11 Will Newton <will.newton@linaro.org>
12604
12605 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
12606 to zero if it is not defined elsewhere. (mtrim): Test
12607 the value of MALLOC_DEBUG with #if rather than #ifdef.
12608
6a5d6ea1
TR
126092014-04-10 Torvald Riegel <triegel@redhat.com>
12610
12611 * benchtests/pthread_once-inputs: New file.
12612 * benchtests/pthread_once-source.c: New file.
12613 * benchtests/README: Update documentation.
12614
a4c75cfd
IZ
126152014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
12616 H.J. Lu <hongjiu.lu@intel.com>
12617
7e54fd04 12618 [BZ #16275]
a4c75cfd
IZ
12619 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
12620 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
12621 * sysdeps/x86_64/configure: Regenerated.
12622 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
12623 macro.
12624 (REGISTER_SAVE_RAX): Likewise.
12625 (REGISTER_SAVE_RCX): Likewise.
12626 (REGISTER_SAVE_RDX): Likewise.
12627 (REGISTER_SAVE_RSI): Likewise.
12628 (REGISTER_SAVE_RDI): Likewise.
12629 (REGISTER_SAVE_R8): Likewise.
12630 (REGISTER_SAVE_R9): Likewise.
12631 (REGISTER_SAVE_BND0): Likewise.
12632 (REGISTER_SAVE_BND1): Likewise.
12633 (REGISTER_SAVE_BND2): Likewise.
12634 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
12635 bound registers when calling _dl_fixup.
12636
27822ce6
AZ
126372014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12638
12639 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
12640 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
12641 of its definition.
27822ce6
AZ
12642 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
12643 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
12644 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
12645 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
12646 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
12647 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
12648 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
12649
a88ddc90
PTB
126502014-04-09 Peter Brett <peter@peter-b.co.uk>
12651
12652 [BZ #15514]
12653 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
12654 pathconf(_PC_NAME_MAX).
12655
01f8eac2
AZ
126562014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12657
12658 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
12659 Remove macro usage.
12660 (__PTHREAD_SPINS): Move definition to ...
12661 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12662 (__PTHREAD_SPINS): ... here.
12663 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12664 (__PTHREAD_SPIN): Likewise.
12665 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
12666 (__PTHREAD_SPIN): Likewise.
12667 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
12668 (__PTHREAD_SPIN): Likewise.
12669 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
12670 (__PTHREAD_SPIN): Likewise.
12671 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
12672 (__PTHREAD_SPIN): Likewise.
12673 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
12674 (__PTHREAD_SPIN): Likewise.
12675 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
12676 (__PTHREAD_SPIN): Likewise.
12677 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
12678 (__PTHREAD_SPIN): Likewise.
12679 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
12680 (__PTHREAD_SPIN): Likewise.
12681 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
12682 (__PTHREAD_SPIN): Likewise.
12683 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
12684 (__PTHREAD_SPIN): Likewise.
12685 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
12686 (__PTHREAD_SPIN): Likewise.
12687
de21c33c
AZ
12688 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
12689 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
12690 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
12691 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
12692 imply folder.
12693 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
12694 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
12695 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
12696 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
12697 correct imply path.
12698 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
12699 strlen symbol for non multi-arch builds.
12700 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
12701 missing hidden_def and weak_alias.
12702
862c472e
CD
127032014-04-08 Carlos O'Donell <carlos@redhat.com>
12704
12705 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
12706
8667f90e
WN
127072014-04-07 Will Newton <will.newton@linaro.org>
12708
12709 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
12710 and contents. [!_LIBC] Remove #ifndef and contents.
12711 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
12712 * string/memccpy.c (__memccpy): Use ANSI prototype.
12713 * string/memfrob.c (memfrob): Likewise.
12714 * string/strcoll.c (STRCOLL): Likewise.
12715 * string/strlen.c (strlen): Likewise.
12716 * string/strtok.c (STRTOK): Likewise.
12717 * string/strcat.c: Remove unused #include of memcopy.h.
12718 (strcat): Use ANSI prototype.
12719 * string/strchr.c: Remove unused #include of memcopy.h.
12720 (strchr): Use ANSI prototype.
12721 * string/strcmp.c: Remove unused #include of memcopy.h.
12722 (strcmp): Use ANSI prototype.
12723 * string/strcpy.c: Remove unused #include of memcopy.h.
12724 (strcpy): Use ANSI prototype.
12725
7ffa9423
AZ
127262014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12727
12728 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
12729 * config.make.in (config-extra-cppflags): Set it from
12730 libc_extra_cppflags.
12731 * configure.ac (libc_extra_cflags): Make it accumulate over
12732 configure fragments.
12733 (libc_extra_cppflags): New flag.
12734 * configure. Regenerate.
12735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
12736 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
12737 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
12738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
12739
8bd70862
AZ
12740 [BZ #16815]
12741 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
12742 result for FE_DOWNWARD rounding mode.
12743 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
12744 Likewise.
12745 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12746
d42f3448
CM
127472014-04-04 Chris Metcalf <cmetcalf@tilera.com>
12748
12749 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
12750 in function argument name.
12751
1c21d115
DS
127522014-04-03 David Svoboda <svoboda@cert.org>
12753
12754 [BZ #5666]
12755 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
12756 explicitly.
12757
fcccd512
RM
127582014-04-03 Roland McGrath <roland@hack.frob.com>
12759
12760 * elf/dl-unmap-segments.h: New file.
12761 * sysdeps/generic/ldsodefs.h
12762 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
12763 * elf/dl-close.c: Include <dl-unmap-segments.h>.
12764 * elf/dl-fptr.c: Likewise.
12765 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
12766 * sysdeps/aarch64/tlsdesc.c: Likewise.
12767 * sysdeps/arm/tlsdesc.c: Likewise.
12768 * sysdeps/i386/tlsdesc.c: Likewise.
12769 * sysdeps/tile/dl-runtime.c: Likewise.
12770 * sysdeps/x86_64/tlsdesc.c: Likewise.
12771 * elf/dl-load.h: New file.
12772 * elf/dl-load.c: Include it.
12773 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
12774 Macros moved to dl-load.h.
12775 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
12776 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
12777 Use _dl_unmap_segments in place of __munmap.
12778 Break out segment-mapping loop into ...
12779 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
12780
f6488e2b
WN
127812014-04-03 Will Newton <will.newton@linaro.org>
12782
12783 * elf/dl-lookup.c (do_lookup_x): Remove comment
12784 referring to nested function and move variable
12785 declarations down to before first use.
12786
6f05bafe
JM
127872014-04-02 Joseph Myers <joseph@codesourcery.com>
12788
a84e78c8
JM
12789 [BZ #16799]
12790 [BZ #16800]
12791 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
12792 with 0 numerator.
12793 * math/s_catanf.c (__catanf): Likewise.
12794 * math/s_catanh.c (__catanh): Likewise.
12795 * math/s_catanhf.c (__catanhf): Likewise.
12796 * math/s_catanhl.c (__catanhl): Likewise.
12797 * math/s_catanl.c (__catanl): Likewise.
12798 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
12799 by positive zero when computing -Inf result.
12800 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
12801 (catanh_test): Likewise.
12802 * sysdeps/i386/fpu/libm-test-ulps: Update.
12803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12804
6f05bafe
JM
12805 [BZ #16789]
12806 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
12807 instead of using underflowing value in computing result.
12808 * math/s_clog10.c (__clog10): Likewise.
12809 * math/s_clog10f.c (__clog10f): Likewise.
12810 * math/s_clog10l.c (__clog10l): Likewise.
12811 * math/s_clogf.c (__clogf): Likewise.
12812 * math/s_clogl.c (__clogl): Likewise.
12813 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
12814 (clog10_test): Likewise.
12815 * sysdeps/i386/fpu/libm-test-ulps: Update.
12816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12817
b0abbc21
AM
128182014-04-02 Alan Modra <amodra@gmail.com>
12819
12820 [BZ #16739]
12821 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
12822 output when value is near a power of two. Use int64_t for lx and
12823 remove casts. Use decimal rather than hex exponent constants.
12824 Don't use long double multiplication when double will suffice.
12825 * math/libm-test.inc (nextafter_test_data): Add tests.
12826 * NEWS: Add 16739 and 16786 to bug list.
12827
af6b1797
AM
12828 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
12829
483818d7
AM
12830 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
12831
f6c55796
WN
128322014-04-01 Will Newton <will.newton@linaro.org>
12833
12834 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
12835 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
12836
13f7fe35
FW
128372014-04-01 Florian Weimer <fweimer@redhat.com>
12838
12839 [BZ #13347]
12840 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
12841 * nptl/tst-setuid2.c: New file.
12842 * nptl/Makefile (xtests): Add tst-setuid2.
12843
c859b32e
AM
128442014-04-01 Alan Modra <amodra@gmail.com>
12845
12846 [BZ #16786]
12847 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
12848
54fa2475
JM
128492014-03-31 Joseph Myers <joseph@codesourcery.com>
12850
8795b4a4
JM
12851 [BZ #6803]
12852 [BZ #6804]
12853 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
12854 set errno as appropriate.
12855 * math/w_scalbf.c (__scalbf): Likewise.
12856 * math/w_scalbl.c (__scalbl): Likewise.
12857 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
12858 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
12859 * math/libm-test.inc (scalb_test_data): Add errno expectations.
12860 Add more NaN tests.
12861
54fa2475
JM
12862 [BZ #16349]
12863 * math/w_atan2.c: Include <errno.h>.
12864 (__atan2): Set errno for result underflowing to zero.
12865 * math/w_atan2f.c: Include <errno.h>.
12866 (__atan2f): Set errno for result underflowing to zero.
12867 * math/w_atan2l.c: Include <errno.h>.
12868 (__atan2l): Set errno for result underflowing to zero.
12869 * math/auto-libm-test-in: Don't allow missing errno for some atan2
12870 tests.
12871 * math/auto-libm-test-out: Regenerated.
12872
757d9dd5
AZ
128732014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12874
12875 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
12876 Encode instruction correctly in little endian.
12877 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
12878 Likewise.
12879 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
12880 Likewise.
12881 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
12882 Likewise.
12883 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
12884 Likewise.
12885
d7a68734
JM
128862014-03-31 Joseph Myers <joseph@codesourcery.com>
12887
47c5adeb
JM
12888 [BZ #9894]
12889 * sysdeps/unix/sysv/linux/kernel-features.h
12890 [__sparc__ && !__arch64__ && !__sparc_v9__]
12891 (__ASSUME_SET_ROBUST_LIST): Do not define.
12892 [__sparc__ && !__arch64__ && !__sparc_v9__]
12893 (__ASSUME_FUTEX_LOCK_PI): Likewise.
12894 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
12895 Likewise.
12896 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12897 (__ASSUME_FUTEX_LOCK_PI): Undefine.
12898 (__ASSUME_REQUEUE_PI): Likewise.
12899 (__ASSUME_SET_ROBUST_LIST): Likewise.
12900 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12901 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
12902 Undefine.
12903 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12904 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
12905 Likewise.
12906 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
12907 Likewise.
12908 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
12909 Likewise.
12910 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12911 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
12912 Undefine.
12913 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
12914 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
12915 Likewise.
12916
d7a68734
JM
12917 [BZ #16648]
12918 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12919 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
12920 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
12921
c760f5c2
WN
129222014-03-31 Will Newton <will.newton@linaro.org>
12923
12924 * benchtests/Makefile (bench): Add ffs and ffsll to list
12925 of tests.
12926 * benchtests/ffs-inputs: New file.
12927 * benchtests/ffsll-inputs: Likewise.
12928
ea6029b1
JM
129292014-03-29 Joseph Myers <joseph@codesourcery.com>
12930
12931 [BZ #16770]
12932 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
12933 too large before casting to int.
12934 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
12935 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
12936 * math/libm-test.inc (scalb_test_data): Add more tests.
12937
cf806aff
SP
129382014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12939
56737508
SP
12940 * benchtests/Makefile (DETAILED_OPT): New make option.
12941 (bench-func): Run benchmark program with -d if DETAILED_OPT is
12942 set.
12943 * benchtests/bench-skeleton.c: Include stdbool.h.
12944 (main): Store and print timings per input.
12945 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
12946 member to each argument value.
12947 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
12948 (_print_arg_data): Initialize per-input timing to 0.
12949
cb5e4aad
SP
12950 * benchtests/Makefile (timing-type): New binary.
12951 (bench-clean): Also remove bench-timing-type.
12952 (bench): New target for timing-type.
12953 (bench-func): Print output in JSON format.
12954 * benchtests/bench-skeleton.c (main): Print output in JSON
12955 format.
12956 * benchtests/bench-timing-type.c: New file.
12957 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
12958 (TIMING_PRINT_STATS): Remove.
12959 * benchtests/scripts/bench.py (_print_arg_data): Store variant
12960 name separately.
12961
cf806aff
SP
12962 * benchtests/bench-modf.c: Remove.
12963 * benchtests/modf-inputs: New inputs file.
12964
289e0779
JM
129652014-03-28 Joseph Myers <joseph@codesourcery.com>
12966
12967 [BZ #16362]
12968 * math/s_clog10.c (M_PI_LOG10E): New macro.
12969 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
12970 imaginary parts are 0.
12971 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
12972 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
12973 imaginary parts are 0.
12974 * math/s_clog10l.c (M_PI_LOG10El): New macro.
12975 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
12976 imaginary parts are 0.
12977 * math/libm-test.inc (clog10_test_data): Update expected results
12978 for when real and imaginary parts are 0.
12979
277ae3f1
PP
129802014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
12981
12982 * elf/dl-load.c: Finish conversion of __builtin_expect into
12983 __glibc_{un}likely.
12984
03a7091f
JM
129852014-03-27 Joseph Myers <joseph@codesourcery.com>
12986
12987 [BZ #16348]
12988 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
12989 1+x for argument with exponent below -67.
12990 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
12991 Likewise.
12992 * math/auto-libm-test-in: Add more tests of exp.
12993 * math/auto-libm-test-out: Regenerated.
12994
ea7d8b95
SP
129952014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12996
dd3022d7
SP
12997 [BZ #16759]
12998 * inet/getnetgrent_r.c (get_nonempty_val): New function.
12999 (nscd_getnetgrent): Use it.
13000
ea7d8b95
SP
13001 [BZ #16760]
13002 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
13003 of stpcpy.
13004
df5b85da
AK
130052014-03-27 Andi Kleen <ak@linux.intel.com>
13006
57f41c40
AS
13007 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
13008 (lll_robust_lock, lll_cond_lock, lll_timedlock)
13009 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
13010 (lll_robust_unlock): Remove out of line section. Use cfi
13011 intrinsics.
df5b85da 13012 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
13013 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
13014 (lll_robust_lock, lll_cond_lock, lll_timedlock)
13015 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
13016 (lll_robust_unlock): Remove out of line section. Use cfi
13017 intrinsics.
df5b85da
AK
13018 (LLL_STUB_UNWIND_INFO*): Remove.
13019
fbd6b5a4
SP
130202014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13021
13022 [BZ #16758]
13023 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
13024 blank values.
13025
1b26b855
PP
130262014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
13027
13028 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
13029
9be36fb8
JM
130302014-03-26 Joseph Myers <joseph@codesourcery.com>
13031
13032 [BZ #16198]
13033 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
13034 fnstenv.
13035 * math/test-fenv-preserve.c: New file.
13036 * math/Makefile (tests): Add test-fenv-preserve.
13037
60a2f3c1
WN
130382014-03-26 Will Newton <will.newton@linaro.org>
13039
13040 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
13041
a5e5f1e2
RM
130422014-03-25 Roland McGrath <roland@hack.frob.com>
13043
13044 * scripts/versionlist.awk: Partition the version sets and emit all
13045 GLIBC_* (sorted) before all others (sorted).
13046
00f4012a
JM
130472014-03-25 Joseph Myers <joseph@codesourcery.com>
13048
13049 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
13050 GLIBC_2.2.5 version.
13051
7bc5a741
AZ
130522014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13053
13054 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
13055 calls.
13056
7578473b
AZ
13057 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
13058 previous change.
13059
f3f1dab3
AZ
13060 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13061
6da36183
AS
130622014-03-25 Andreas Schwab <schwab@suse.de>
13063
13064 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
13065 label to be used after in6ailist is initialized.
13066
f3f1dab3 130672014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 13068
7578473b 13069 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
13070 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13071
046651c1
JM
130722014-03-25 Joseph Myers <joseph@codesourcery.com>
13073
13074 [BZ #16357]
13075 [BZ #16599]
13076 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
13077 min_plus_half.
13078 (fp_formats): Update initializers.
13079 (init_fp_formats): Initialize new field.
13080 (output_for_one_input_case): Allow underflow for results up to
13081 min_plus_half.
13082 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
13083 * math/auto-libm-test-in: Don't mark some underflows from asin and
13084 atanh as spurious.
13085 * math/auto-libm-test-out: Regenerated.
13086 * sysdeps/i386/fpu/libm-test-ulps: Update.
13087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13088
003e49ed
AS
130892014-03-25 Andreas Schwab <schwab@suse.de>
13090
13091 * libio/Makefile (tst-ftell-partial-wide-ENV)
13092 (tst-ftell-active-handler-ENV): Define.
13093
de031874
SL
130942014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
13095
13096 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
13097
55a81e3b
PP
130982014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13099
13100 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
13101
f3426898
JM
131022014-03-24 Joseph Myers <joseph@codesourcery.com>
13103
13104 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
13105 * sysdeps/x86_64/fpu/multiarch/e_exp.c
13106 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13107
a42faf59
PP
131082014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13109
13110 [BZ #16634]
a42faf59 13111 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
13112 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
13113 (open_path): Change from boolean 'secure' to complete flag 'mode'
13114 (_dl_map_object): Adjust.
a42faf59
PP
13115 * elf/Makefile (tests): Add tst-dlopen-aout.
13116 * elf/tst-dlopen-aout.c: New test.
13117
50936127
SL
131182014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
13119
13120 [BZ #16714]
13121 * sysdeps/unix/sysv/linux/s390/bits/stat.h
13122 (struct stat): Rename member pad0 to __glibc_reserved0.
13123
26011b5c
SL
13124 [BZ #16712]
13125 * sysdeps/s390/s390-32/bits/wordsize.h
13126 (__WORDSIZE32_SIZE_ULONG): New define.
13127 * sysdeps/s390/s390-64/bits/wordsize.h
13128 (__WORDSIZE32_SIZE_ULONG): Likewise.
13129 * sysdeps/generic/stdint.h (SIZE_MAX):
13130 Define as UL if __WORDSIZE32_SIZE_ULONG.
13131
a2d86bf1
SL
13132 [BZ #16713]
13133 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
13134 (__glibc_reserved0): New variable.
13135 (sa_flags): Change type to int.
13136
78b6eebc
SL
13137 * posix/Makefile (before-compile): Use += before-compile instead
13138 of a :=.
13139
f1399b5a
SL
13140 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13141 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13142
a071766e
AS
131432014-03-20 Andreas Schwab <schwab@suse.de>
13144
13145 [BZ #16743]
13146 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
13147 non-matching result from nscd.
13148
27c673b8
SP
131492014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13150
13151 * scripts/bench.py: Moved to ...
13152 * benchtests/scripts/bench.py: ... here.
13153 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
13154
44152e4b
AS
131552014-03-24 Andreas Schwab <schwab@suse.de>
13156
13157 [BZ #16002]
13158 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
13159 alloca_account and account alloca use for struct in6ailist.
13160
b376a11a
JM
131612014-03-24 Joseph Myers <joseph@codesourcery.com>
13162
13163 [BZ #16284]
13164 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
13165 rounding mode to recompute results that overflow to infinity or
13166 underflow to zero.
13167 * math/auto-libm-test-in: Don't mark tests as expected to fail for
13168 bug 16284.
13169 * math/auto-libm-test-out: Regenerated.
13170 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
13171 (ccosh_test): Likewise.
13172 (csin_test_data): Use plus_oflow.
13173 (csin_test): Use ALL_RM_TEST.
13174 (csinh_test_data): Use plus_oflow.
13175 (csinh_test): Use ALL_RM_TEST.
13176 * sysdeps/i386/fpu/libm-test-ulps: Update.
13177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13178
f7be7376
JM
131792014-03-21 Joseph Myers <joseph@codesourcery.com>
13180
1ca2d03e
JM
13181 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
13182 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
13183 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
13184
f7be7376
JM
13185 [BZ #16731]
13186 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
13187 when x - 1 is zero.
13188 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
13189 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
13190 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
13191 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
13192 argument is 1.
13193 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
13194 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
13195 zero.
13196 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
13197 * sysdeps/i386/fpu/libm-test-ulps: Update.
13198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13199
fdf4534d
SP
132002014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13201
df26ea53
SP
13202 * scripts/bench.pl: Remove file.
13203 * scripts/bench.py: New benchmark script.
13204 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
13205 * benchtests/README: Mention python dependency.
13206 * scripts/pylintrc: New file.
13207 * scripts/pylint: New file.
13208
fdf4534d
SP
13209 * bits/mathdef.h: Use #ifdef instead of #if.
13210 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
13211 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13212 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
13213 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13214 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
13215 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13216
6f23d093
AZ
132172014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13218 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13219
13220 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
13221 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
13222 and strpbrk-ppc64 objects.
13223 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13224 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
13225 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
13226 multiarch strpbrk for POWER7.
13227 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
13228 multiarch strpbrk for PPC64.
13229 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
13230 ifunc selector.
13231 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
13232 strpbrk for POWER7.
13233
8c92dfff
JM
132342014-03-20 Joseph Myers <joseph@codesourcery.com>
13235
13236 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
13237 (atan_test): Likewise.
13238 (atanh_test_data): Use NO_TEST_INLINE for two tests.
13239 (atanh_test): Use ALL_RM_TEST.
13240 (atan2_test_data): Likewise.
13241 (cabs_test): Likewise.
13242 (cacosh_test): Likewise.
13243 (carg_test): Likewise.
13244 (casin_test): Likewise.
13245 (casinh_test): Likewise.
13246 (cbrt_test): Likewise.
13247 (csqrt_test): Likewise.
13248 (erf_test): Likewise.
13249 (erfc_test): Likewise.
13250 (pow10_test): Likewise.
13251 (exp2_test): Likewise.
13252 (hypot_test): Likewise.
13253 (j0_test): Likewise.
13254 (j1_test): Likewise.
13255 (lgamma_test): Likewise.
13256 (gamma_test): Likewise.
13257 (sincos_test): Likewise.
13258 (tanh_test): Likewise.
13259 (y0_test): Likewise.
13260 (y1_test): Likewise.
13261 * sysdeps/i386/fpu/libm-test-ulps: Update.
13262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13263
6eaf95cb
AZ
132642014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13265
a387428c
SP
13266 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
13267 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
13268 and strcspn-ppc64 objects.
13269 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13270 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
13271 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
13272 multiarch strcspn for POWER7.
13273 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
13274 multiarch strcspn for PPC64.
13275 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
13276 ifunc selector.
13277 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
13278 strcspn for POWER7.
13279
ae3a5dff
JM
132802014-03-20 Joseph Myers <joseph@codesourcery.com>
13281
13282 * math/gen-libm-test.pl (generate_testfile): Expect only function
13283 name as argument to AUTO_TESTS_* and pass results for all rounding
13284 modes to parse_args.
13285 (parse_auto_input): Separate inputs of automatic tests from
13286 outputs before storing in %auto_tests.
13287 * math/libm-test.inc (acos_test_data): Update call to
13288 AUTO_TESTS_f_f.
13289 (acos_test): Use ALL_RM_TEST.
13290 (acos_tonearest_test_data): Remove.
13291 (acos_test_tonearest): Likewise.
13292 (acos_towardzero_test_data): Likewise.
13293 (acos_test_towardzero): Likewise.
13294 (acos_downward_test_data): Likewise.
13295 (acos_test_downward): Likewise.
13296 (acos_upward_test_data): Likewise.
13297 (acos_test_upward): Likewise.
13298 (acosh_test_data): Update call to AUTO_TESTS_f_f.
13299 (asin_test_data): Likewise.
13300 (asin_test): Use ALL_RM_TEST.
13301 (asin_tonearest_test_data): Remove.
13302 (asin_test_tonearest): Likewise.
13303 (asin_towardzero_test_data): Likewise.
13304 (asin_test_towardzero): Likewise.
13305 (asin_downward_test_data): Likewise.
13306 (asin_test_downward): Likewise.
13307 (asin_upward_test_data): Likewise.
13308 (asin_test_upward): Likewise.
13309 (asinh_test_data): Update call to AUTO_TESTS_f_f.
13310 (atan_test_data): Likewise.
13311 (atanh_test_data): Likewise.
13312 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
13313 (cabs_test_data): Update call to AUTO_TESTS_c_f.
13314 (carg_test_data): Likewise.
13315 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
13316 (ccos_test_data): Update call to AUTO_TESTS_c_c.
13317 (ccosh_test_data): Likewise.
13318 (cexp_test_data): Likewise.
13319 (clog_test_data): Likewise.
13320 (clog10_test_data): Likewise.
13321 (cos_test_data): Update call to AUTO_TESTS_f_f.
13322 (cos_test): Use ALL_RM_TEST.
13323 (cos_tonearest_test_data): Remove.
13324 (cos_test_tonearest): Likewise.
13325 (cos_towardzero_test_data): Likewise.
13326 (cos_test_towardzero): Likewise.
13327 (cos_downward_test_data): Likewise.
13328 (cos_test_downward): Likewise.
13329 (cos_upward_test_data): Likewise.
13330 (cos_test_upward): Likewise.
13331 (cosh_test_data): Update call to AUTO_TESTS_f_f.
13332 (cosh_test): Use ALL_RM_TEST.
13333 (cosh_tonearest_test_data): Remove.
13334 (cosh_test_tonearest): Likewise.
13335 (cosh_towardzero_test_data): Likewise.
13336 (cosh_test_towardzero): Likewise.
13337 (cosh_downward_test_data): Likewise.
13338 (cosh_test_downward): Likewise.
13339 (cosh_upward_test_data): Likewise.
13340 (cosh_test_upward): Likewise.
13341 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
13342 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
13343 (ctan_test_data): Likewise.
13344 (ctan_test): Use ALL_RM_TEST.
13345 (ctan_tonearest_test_data): Remove.
13346 (ctan_test_tonearest): Likewise.
13347 (ctan_towardzero_test_data): Likewise.
13348 (ctan_test_towardzero): Likewise.
13349 (ctan_downward_test_data): Likewise.
13350 (ctan_test_downward): Likewise.
13351 (ctan_upward_test_data): Likewise.
13352 (ctan_test_upward): Likewise.
13353 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
13354 (ctanh_test): Use ALL_RM_TEST.
13355 (ctanh_tonearest_test_data): Remove.
13356 (ctanh_test_tonearest): Likewise.
13357 (ctanh_towardzero_test_data): Likewise.
13358 (ctanh_test_towardzero): Likewise.
13359 (ctanh_downward_test_data): Likewise.
13360 (ctanh_test_downward): Likewise.
13361 (ctanh_upward_test_data): Likewise.
13362 (ctanh_test_upward): Likewise.
13363 (erf_test_data): Update call to AUTO_TESTS_f_f.
13364 (erfc_test_data): Likewise.
13365 (exp_test_data): Likewise.
13366 (exp_test): Use ALL_RM_TEST.
13367 (exp_tonearest_test_data): Remove.
13368 (exp_test_tonearest): Likewise.
13369 (exp_towardzero_test_data): Likewise.
13370 (exp_test_towardzero): Likewise.
13371 (exp_downward_test_data): Likewise.
13372 (exp_test_downward): Likewise.
13373 (exp_upward_test_data): Likewise.
13374 (exp_test_upward): Likewise.
13375 (exp10_test_data): Update call to AUTO_TESTS_f_f.
13376 (exp10_test): Use ALL_RM_TEST.
13377 (exp10_tonearest_test_data): Remove.
13378 (exp10_test_tonearest): Likewise.
13379 (exp10_towardzero_test_data): Likewise.
13380 (exp10_test_towardzero): Likewise.
13381 (exp10_downward_test_data): Likewise.
13382 (exp10_test_downward): Likewise.
13383 (exp10_upward_test_data): Likewise.
13384 (exp10_test_upward): Likewise.
13385 (exp2_test_data): Update call to AUTO_TESTS_f_f.
13386 (expm1_test_data): Likewise.
13387 (expm1_test): Use ALL_RM_TEST.
13388 (expm1_tonearest_test_data): Remove.
13389 (expm1_test_tonearest): Likewise.
13390 (expm1_towardzero_test_data): Likewise.
13391 (expm1_test_towardzero): Likewise.
13392 (expm1_downward_test_data): Likewise.
13393 (expm1_test_downward): Likewise.
13394 (expm1_upward_test_data): Likewise.
13395 (expm1_test_upward): Likewise.
13396 (fma_test_data): Update call to AUTO_TESTS_fff_f.
13397 (fma_test): Use ALL_RM_TEST.
13398 (fma_towardzero_test_data): Remove.
13399 (fma_test_towardzero): Likewise.
13400 (fma_downward_test_data): Likewise.
13401 (fma_test_downward): Likewise.
13402 (fma_upward_test_data): Likewise.
13403 (fma_test_upward): Likewise.
13404 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
13405 (j0_test_data): Update call to AUTO_TESTS_f_f.
13406 (j1_test_data): Likewise.
13407 (jn_test_data): Update call to AUTO_TESTS_if_f.
13408 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
13409 (log_test_data): Update call to AUTO_TESTS_f_f.
13410 (log10_test_data): Likewise.
13411 (log1p_test_data): Likewise.
13412 (log2_test_data): Likewise.
13413 (pow_test_data): Update call to AUTO_TESTS_ff_f.
13414 (pow_tonearest_test_data): Likewise.
13415 (sin_test_data): Update call to AUTO_TESTS_f_f.
13416 (sin_test): Use ALL_RM_TEST.
13417 (sin_tonearest_test_data): Remove.
13418 (sin_test_tonearest): Likewise.
13419 (sin_towardzero_test_data): Likewise.
13420 (sin_test_towardzero): Likewise.
13421 (sin_downward_test_data): Likewise.
13422 (sin_test_downward): Likewise.
13423 (sin_upward_test_data): Likewise.
13424 (sin_test_upward): Likewise.
13425 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
13426 (sinh_test_data): Update call to AUTO_TESTS_f_f.
13427 (sinh_test): Use ALL_RM_TEST.
13428 (sinh_tonearest_test_data): Remove.
13429 (sinh_test_tonearest): Likewise.
13430 (sinh_towardzero_test_data): Likewise.
13431 (sinh_test_towardzero): Likewise.
13432 (sinh_downward_test_data): Likewise.
13433 (sinh_test_downward): Likewise.
13434 (sinh_upward_test_data): Likewise.
13435 (sinh_test_upward): Likewise.
13436 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
13437 (sqrt_test): Use ALL_RM_TEST.
13438 (sqrt_tonearest_test_data): Remove.
13439 (sqrt_test_tonearest): Likewise.
13440 (sqrt_towardzero_test_data): Likewise.
13441 (sqrt_test_towardzero): Likewise.
13442 (sqrt_downward_test_data): Likewise.
13443 (sqrt_test_downward): Likewise.
13444 (sqrt_upward_test_data): Likewise.
13445 (sqrt_test_upward): Likewise.
13446 (tan_test_data): Update call to AUTO_TESTS_f_f.
13447 (tan_test): Use ALL_RM_TEST.
13448 (tan_tonearest_test_data): Remove.
13449 (tan_test_tonearest): Likewise.
13450 (tan_towardzero_test_data): Likewise.
13451 (tan_test_towardzero): Likewise.
13452 (tan_downward_test_data): Likewise.
13453 (tan_test_downward): Likewise.
13454 (tan_upward_test_data): Likewise.
13455 (tan_test_upward): Likewise.
13456 (tanh_test_data): Update call to AUTO_TESTS_f_f.
13457 (tgamma_test_data): Likewise.
13458 (y0_test_data): Likewise.
13459 (y1_test_data): Likewise.
13460 (yn_test_data): Update call to AUTO_TESTS_if_f.
13461 (main): Do not call removed functions.
13462
d71aeee8
JM
134632014-03-19 Joseph Myers <joseph@codesourcery.com>
13464
13465 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
13466 (ldexp_test_data): Remove.
13467 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
13468 scalbn_test_data.
13469 (scalb_test): Use ALL_RM_TEST.
13470
baaf1ded
AS
134712014-03-19 Andreas Schwab <schwab@suse.de>
13472
13473 * nscd/nscd.service: Also invalidate netgroup cache on reload.
13474
b1115e91
JM
134752014-03-19 Joseph Myers <joseph@codesourcery.com>
13476
13477 [BZ #16649]
13478 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13479 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
13480 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
13481 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13482 (__ASSUME_PREADV): Undefine.
13483 (__ASSUME_PWRITEV): Likewise.
13484
0283ecca
RM
134852014-03-18 Roland McGrath <roland@hack.frob.com>
13486
7d375303
RM
13487 * bits/mman-linux.h: Add comment about non-Linux use.
13488 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
13489 bits/mman-linux.h resting place.
13490
0283ecca
RM
13491 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
13492 * bits/mman-linux.h: ... here.
13493
aebe1003
AZ
134942014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13495
13496 * conform/conformtest.pl: Add standard definition when calling C
13497 preprocessor on data files.
13498 (checknamespace): Remove unused variable.
13499
b29b6bb8
JM
135002014-03-18 Joseph Myers <joseph@codesourcery.com>
13501
13502 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
13503 minus_oflow, plus_uflow and minus_uflow in expected results.
13504 * math/libm-test.inc (scalbn_test_data): Add more tests of
13505 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
13506 minus_uflow.
13507 (scalbn_test): Use ALL_RM_TEST.
13508 (scalbln_test_data): Add more tests of negative arguments. Use
13509 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
13510 (scalbln_test): Use ALL_RM_TEST.
13511
c8f8fa15
RM
135122014-03-18 Roland McGrath <roland@hack.frob.com>
13513
13514 * scripts/abilist.awk: Ignore symbols marked with .hidden.
13515
fede7a5f
WN
135162014-03-18 Will Newton <will.newton@linaro.org>
13517
13518 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
13519 inaccurate comment.
13520
80cf0a58
JM
135212014-03-18 Joseph Myers <joseph@codesourcery.com>
13522
13523 * Makerules [!subdir] (check-abi): Exit with error status if a
13524 test failed.
13525
b3620862
JM
135262014-03-17 Joseph Myers <joseph@codesourcery.com>
13527
13528 * math/libm-test.inc (nearbyint_test_data): Include all tests used
13529 for rint. Include results for all rounding modes.
13530 (nearbyint_test): Use ALL_RM_TEST.
13531 (rint_test_data): Include all tests used for nearbyint.
13532
788bba36
WN
135332014-03-17 Will Newton <will.newton@linaro.org>
13534
04ec140a
WN
13535 * nptl/sysdeps/pthread/pthread.h: Revert previous
13536 change.
13537
7579d8d5
WN
13538 * sysdeps/generic/ldsodefs.h: Revert previous
13539 change.
13540
c15cf13a
WN
13541 * libio/genops.c: Revert previous change.
13542 * libio/libioP.h: Likewise.
13543 * stdio-common/vfprintf.c: Likewise.
13544
d0ac1324
WN
13545 * sysdeps/generic/math_private.h: Revert previous
13546 change.
13547
9290130a
WN
13548 * sysdeps/generic/math_private.h: Check whether
13549 HAVE_RM_CTX is defined with #ifdef rather
13550 than #if.
13551
afb466fc
WN
13552 * argp/argp-fmtstream.h: Check whether
13553 __STRICT_ANSI__ is defined with #ifdef rather
13554 than #if.
13555 * argp/argp.h: Likewise.
13556
f7efd7c3
WN
13557 * libio/genops.c: Check whether
13558 _IO_JUMPS_OFFSET is defined with #ifdef rather
13559 than #if.
13560 * libio/libioP.h: Likewise.
13561 * stdio-common/vfprintf.c: Likewise.
13562
53f1bed3
WN
13563 * sysdeps/generic/ldsodefs.h: Check whether
13564 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
13565 than #if.
13566
788bba36
WN
13567 * nptl/sysdeps/pthread/pthread.h: Check
13568 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
13569 its value.
13570
fcd89ebe
SP
135712014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13572
ae42bbc5
SP
13573 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
13574 setting O_APPEND.
13575 * libio/tst-ftell-active-handler.c (do_append_test): Add a
13576 test case.
13577
ea33158c
SP
13578 [BZ #16680]
13579 * libio/fileops.c (_IO_file_open): Seek to end of file but
13580 don't cache the offset.
13581 (get_file_offset): Remove function.
13582 (do_ftell): Use cached offset when available.
13583 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
13584 don't cache the offset.
13585 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
13586 case.
13587 (do_one_test): Call it.
13588 (do_ftell_test): Fix up expected old offset for a+ mode.
13589 * libio/wfileops.c (do_ftell_wide): Used cached offset when
13590 available.
13591
b1dbb426
SP
13592 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
13593 up test status with function return status.
13594 (do_write_test): Likewise.
13595 (do_append_test): Likewise.
13596
fcd89ebe
SP
13597 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
13598 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
13599 Remove.
13600
9962a2d3
JM
136012014-03-17 Joseph Myers <joseph@codesourcery.com>
13602
13603 * math/gen-libm-test.pl (parse_args): Handle results specified for
13604 each rounding mode separately.
13605 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
13606 tests and results from lrint_tonearest_test_data,
13607 lrint_towardzero_test_data, lrint_downward_test_data and
13608 lrint_upward_test_data.
13609 (lrint_test): Use ALL_RM_TEST.
13610 (lrint_tonearest_test_data): Remove.
13611 (lrint_test_tonearest): Likewise.
13612 (lrint_towardzero_test_data): Likewise.
13613 (lrint_test_towardzero): Likewise.
13614 (lrint_downward_test_data): Likewise.
13615 (lrint_test_downward): Likewise.
13616 (lrint_upward_test_data): Likewise.
13617 (lrint_test_upward): Likewise.
13618 (llrint_test_data): Merge in per-rounding-mode tests and results
13619 from llrint_tonearest_test_data, llrint_towardzero_test_data,
13620 llrint_downward_test_data and llrint_upward_test_data.
13621 (llrint_test): Use ALL_RM_TEST.
13622 (llrint_tonearest_test_data): Remove.
13623 (llrint_test_tonearest): Likewise.
13624 (llrint_towardzero_test_data): Likewise.
13625 (llrint_test_towardzero): Likewise.
13626 (llrint_downward_test_data): Likewise.
13627 (llrint_test_downward): Likewise.
13628 (llrint_upward_test_data): Likewise.
13629 (llrint_test_upward): Likewise.
13630 (rint_test_data): Merge in per-rounding-mode tests and results
13631 from rint_tonearest_test_data, rint_towardzero_test_data,
13632 rint_downward_test_data and rint_upward_test_data. Add
13633 per-rounding-mode results for tests not in those arrays.
13634 (rint_test): Use ALL_RM_TEST.
13635 (rint_tonearest_test_data): Remove.
13636 (rint_test_tonearest): Likewise.
13637 (rint_towardzero_test_data): Likewise.
13638 (rint_test_towardzero): Likewise.
13639 (rint_downward_test_data): Likewise.
13640 (rint_test_downward): Likewise.
13641 (rint_upward_test_data): Likewise.
13642 (rint_test_upward): Likewise.
13643 (main): Don't call removed functions.
13644
5006148e
RM
136452014-03-14 Roland McGrath <roland@hack.frob.com>
13646
13647 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
13648 "Compiled on ..." crapola. It is anti-useful.
13649
d6fe5e58
JM
136502014-03-14 Joseph Myers <joseph@codesourcery.com>
13651
13652 * scripts/evaluate-test.sh: Handle fourth argument to determine
13653 whether test run should stop on failure.
13654 * Makeconfig (stop-on-test-failure): New variable.
13655 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
13656 $(stop-on-test-failure).
13657 * Makefile (tests): Give a summary of results from testing and
13658 exit with failure status if they include an ERROR or FAIL.
13659 (xtests): Likewise.
13660 * manual/install.texi (Configuring and compiling): Mention
13661 stop-on-test-failure=y.
13662 * INSTALL: Regenerated.
13663
498a2233
RM
136642014-03-14 Roland McGrath <roland@hack.frob.com>
13665
22dbc19d
RM
13666 * scripts/versionlist.awk: New file.
13667 * Makerules [$(build-shared) = yes]
13668 (postclean-generated): Add Versions.def, not Versions.def.v and
13669 Versions.def.v.i.
13670 ($(common-objpfx)Versions.def.v.i): Target removed.
13671 ($(common-objpfx)Versions.def): New target.
13672 ($(common-objpfx)Versions.all): Depend on that rather that
13673 $(common-objpfx)Versions.def.v.
13674 * Versions.def: File removed.
13675
498a2233
RM
13676 * Makeconfig (+gccwarn): Add -Wundef.
13677 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
13678 a dl-sysdep.h breaking its contract.
13679 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
13680 * include/stackinfo.h: New file.
13681 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
13682 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
13683 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
13684 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
13685 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
13686 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
13687 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13688 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13689 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13690 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13691 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13692 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
13693 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13694 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13695 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13696
c7de5025
AZ
136972014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13698
13699 [BZ #16707]
13700 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
13701 implementation.
13702 * math/libm-test.inc (round_test_data): Add more tests.
13703
98fb27a3
AZ
13704 [BZ #16706]
13705 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
13706 implementation.
13707 * math/libm-test.inc (nearbyint_test_data): Add more tests.
13708
374f7f61
AZ
13709 [BZ #16701]
13710 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
13711 implementation.
13712 * math/libm-test.inc (ceil_test_data): Add more tests.
13713
4655c291
AZ
13714 * math/libm-test.inc (trunc_test_data): Add more tests related to
13715 BZ#16414.
13716
d7329d4b
RM
137172014-03-14 Roland McGrath <roland@hack.frob.com>
13718
13719 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
13720 with #if rather than #ifdef.
13721 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
13722
aa4de9ce
L
137232014-03-14 H.J. Lu <hongjiu.lu@intel.com>
13724
13725 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
13726 first. Disable AVX-512 GCC support if assembler doesn't support
13727 it.
13728 * sysdeps/x86_64/configure: Regenerated.
13729
2e03fae7
CD
137302014-03-13 Carlos O'Donell <carlos@redhat.com>
13731
13732 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
13733 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
13734 (__old_pthread_attr_setstack): Likewise.
13735 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
13736 [!_STACK_GROWS_DOWN]: Likewise.
13737
43ca83ec
MF
137382014-03-13 Mike Frysinger <vapier@gentoo.org>
13739
13740 * config.make.in (have-bash2): Delete.
13741 * configure.ac (libc_cv_have_bash2): Delete.
13742 * configure: Regenerate.
13743 * elf/Makefile (common-ldd-rewrite): Rename to ...
13744 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
13745 (sh-ldd-rewrite): Delete.
13746 (bash-ldd-rewrite): Delete.
13747 (have-bash2): Delete checks.
57f41c40
AS
13748 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
13749 ldd-rewrite.
c66e48b4
MF
13750
13751 * config.make.in (have-ksh): Delete.
13752 (KSH): Delete.
13753 * configure.ac (libc_cv_have_ksh): Delete.
13754 * configure: Regenerate.
13755
b93834ef
MF
13756 * elf/Makefile: Delete $(have-ksh) check.
13757 ($(objpfx)sotruss): Change KSH to BASH.
13758 * elf/sotruss.ksh: Rename to ...
13759 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
13760 function style to match POSIX. Drop ksh vim mode setting.
13761
f3a4632a
MF
13762 * manual/time.texi (Specifying the Time Zone with TZ): Change
13763 Tuesday to Thursday.
13764
5896c8bd
MF
13765 * debug/tst-longjmp_chk2.c: Update header comment.
13766 (stackoverflow_handler): Add comment. Call assert on pass value.
13767
2d63a517
IZ
137682014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
13769
7e54fd04 13770 [BZ #16194]
2d63a517
IZ
13771 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
13772 (HAVE_AVX512_ASM_SUPPORT): Likewise.
13773 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
13774 (La_x86_64_vector): Add zmm.
13775 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
13776 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
13777 ($(objpfx)tst-audit10): New target.
13778 ($(objpfx)tst-audit10.out): Likewise.
13779 (tst-audit10-ENV): New.
13780 (AVX512-CFLAGS): Likewise.
13781 (CFLAGS-tst-audit10.c): Likewise.
13782 (CFLAGS-tst-auditmod10a.c): Likewise.
13783 (CFLAGS-tst-auditmod10b.c): Likewise.
13784 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
13785 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
13786 * sysdeps/x86_64/configure: Regenerated.
13787 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
13788 AVX-512 zmm register support.
13789 (_dl_x86_64_save_sse): Likewise.
13790 (_dl_x86_64_restore_sse): Likewise.
13791 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
13792 size vector registers.
13793 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
13794 (ZMM_SIZE): Likewise.
13795 * sysdeps/x86_64/tst-audit10.c: New file.
13796 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
13797 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
13798
44c4e5d5
RM
137992014-03-13 Roland McGrath <roland@hack.frob.com>
13800
13801 * configure.ac (HAVE_EHDR_START): New check.
13802 * configure: Regenerated.
13803 * config.h.in (HAVE_EHDR_START): New #undef.
13804 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
13805 assuming the lowest-addressed segment maps the start of the file.
13806
acd6e389
JM
138072014-03-13 Joseph Myers <joseph@codesourcery.com>
13808
13809 * INSTALL: Regenerated.
13810
6f918f36
WN
138112014-03-13 Will Newton <will.newton@linaro.org>
13812
13813 * manual/setjmp.texi (System V contexts): Improve
13814 clarity and grammar of documentation.
13815
798212a0
PP
138162014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
13817
13818 [BZ #16381]
798212a0 13819 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 13820 (tests-pie): Add tst-pie2.
798212a0
PP
13821 * elf/tst-pie2.c: New file.
13822 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
13823 for ET_EXEC.
13824 * elf/rtld.c (map_doit): Load executable as lt_executable.
13825 (dl_main): Likewise.
13826
abe6d90c
JM
138272014-03-12 Joseph Myers <joseph@codesourcery.com>
13828
13829 [BZ #16642]
13830 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13831 (__ASSUME_PSELECT): Undefine.
13832
dd3946c6
AZ
138332014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13834
13835 [BZ #16689]
13836 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
13837 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
13838 static build.
13839 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
13840 selector for static builds.
13841
c44496df
SP
138422014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13843
13844 [BZ #16695]
13845 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
13846 key in the buffer.
13847
27c7220a
AZ
138482014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13849
57f41c40
AS
13850 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
13851 IFUNC selector for static builds.
27c7220a 13852
600fa361
JM
138532014-03-11 Joseph Myers <joseph@codesourcery.com>
13854
76c96cf7
JM
13855 * sysdeps/mips/math_private.h [__mips_hard_float]
13856 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
13857 libc_feresetround_mips_ctx.
13858 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
13859 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
13860 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
13861
600fa361
JM
13862 [BZ #16677]
13863 * math/s_nextafter.c (__nextafter): Do not return value from
13864 overflowing computation.
13865 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
13866 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
13867 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
13868 Likewise.
13869 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
13870 Likewise.
13871 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
13872 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
13873
d7706c32
RM
138742014-03-11 Roland McGrath <roland@hack.frob.com>
13875
13876 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
13877 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
13878 Move sfi_sp use from the load-multiple (that no longer sets sp) to
13879 the new mov targetting sp.
13880
4facea47
AZ
138812014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13882
13883 [BZ #16683]
13884 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
13885 Define it for static builds as well.
13886 (NO_BZERO_IMPL): Likewise.
13887
e65caf1f
VR
138882014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13889
13890 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
13891 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
13892 multiarch strspn for PPC64.
13893 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
13894 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
13895 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13896 (__libc_ifunc_impl_list): Likewise.
13897 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
13898 multiarch optimizations
13899 * string/strspn.c (strspn): Using macro to redefine symbol name.
13900
ba9cc071
AZ
139012014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13902 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13903
13904 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
13905 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
13906 multiarch strncat for PPC64.
13907 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
13908 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
13909 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13910 (__libc_ifunc_impl_list): Likewise.
13911 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
13912 multiarch optimizations
13913
8b4ff974
SP
139142014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13915
13916 [BZ #16639]
13917 * nscd/nscd.service: Make service type forking.
13918
54b46a4b
AZ
139192014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13920
13921 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
13922 sign in non default rounding modes.
13923 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
13924
e9996ef7
JM
139252014-03-08 Joseph Myers <joseph@codesourcery.com>
13926
13927 * math/libm-test.inc (ALL_RM_TEST): New macro.
13928 (ceil_test): Use ALL_RM_TEST.
13929 (cimag_test): Likewise.
13930 (conj_test): Likewise.
13931 (copysign_test): Likewise.
13932 (cproj_test): Likewise.
13933 (creal_test): Likewise.
13934 (fabs_test): Likewise.
13935 (floor_test): Likewise.
13936 (fmax_test): Likewise.
13937 (fmin_test): Likewise.
13938 (fmod_test): Likewise.
13939 (fpclassify_test): Likewise.
13940 (frexp_test): Likewise.
13941 (ilogb_test): Likewise.
13942 (isfinite_test): Likewise.
13943 (finite_test): Likewise.
13944 (isgreater_test): Likewise.
13945 (isgreaterequal_test): Likewise.
13946 (isinf_test): Likewise.
13947 (isless_test): Likewise.
13948 (islessequal_test): Likewise.
13949 (islessgreater_test): Likewise.
13950 (isnan_test): Likewise.
13951 (isnormal_test): Likewise.
13952 (issignaling_test): Likewise.
13953 (isunordered_test): Likewise.
13954 (logb_test): Likewise.
13955 (logb_downward_test_data): Remove.
13956 (logb_test_downward): Likewise.
13957 (lround_test): Use ALL_RM_TEST.
13958 (llround_test): Likewise.
13959 (modf_test): Likewise.
13960 (nexttoward_test): Likewise.
13961 (remainder_test): Likewise.
13962 (drem_test): Likewise.
13963 (remainder_tonearest_test_data): Likewise.
13964 (remainder_test_tonearest): Likewise.
13965 (drem_test_tonearest): Likewise.
13966 (remainder_towardzero_test_data): Likewise.
13967 (remainder_test_towardzero): Likewise.
13968 (drem_test_towardzero): Likewise.
13969 (remainder_downward_test_data): Likewise.
13970 (remainder_test_downward): Likewise.
13971 (drem_test_downward): Likewise.
13972 (remainder_upward_test_data): Likewise.
13973 (remainder_test_upward): Likewise.
13974 (drem_test_upward): Likewise.
13975 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
13976 (round_test): Use ALL_RM_TEST.
13977 (signbit_test): Likewise.
13978 (trunc_test): Likewise.
13979 (significand_test): Likewise.
13980 (main): Don't call removed functions.
13981
bc61d27c
JM
139822014-03-07 Joseph Myers <joseph@codesourcery.com>
13983
5c780849
JM
13984 [BZ #16674]
13985 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
13986 || __USE_XOPEN2K8].
13987 (ILL_ILLOPN): Likewise.
13988 (ILL_ILLADR): Likewise.
13989 (ILL_ILLTRP): Likewise.
13990 (ILL_PRVOPC): Likewise.
13991 (ILL_PRVREG): Likewise.
13992 (ILL_COPROC): Likewise.
13993 (ILL_BADSTK): Likewise.
13994 (FPE_INTDIV): Likewise.
13995 (FPE_INTOVF): Likewise.
13996 (FPE_FLTDIV): Likewise.
13997 (FPE_FLTOVF): Likewise.
13998 (FPE_FLTUND): Likewise.
13999 (FPE_FLTRES): Likewise.
14000 (FPE_FLTINV): Likewise.
14001 (FPE_FLTSUB): Likewise.
14002 (SEGV_MAPERR): Likewise.
14003 (SEGV_ACCERR): Likewise.
14004 (BUS_ADRALN): Likewise.
14005 (BUS_ADRERR): Likewise.
14006 (BUS_OBJERR): Likewise.
14007 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14008 (TRAP_TRACE): Likewise.
14009 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14010 __USE_XOPEN2K8].
14011 (CLD_KILLED): Likewise.
14012 (CLD_DUMPED): Likewise.
14013 (CLD_TRAPPED): Likewise.
14014 (CLD_STOPPED): Likewise.
14015 (CLD_CONTINUED): Likewise.
14016 (POLL_IN): Likewise.
14017 (POLL_OUT): Likewise.
14018 (POLL_MSG): Likewise.
14019 (POLL_ERR): Likewise.
14020 (POLL_PRI): Likewise.
14021 (POLL_HUP): Likewise.
14022 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
14023 Likewise.
14024 (ILL_ILLOPN): Likewise.
14025 (ILL_ILLADR): Likewise.
14026 (ILL_ILLTRP): Likewise.
14027 (ILL_PRVOPC): Likewise.
14028 (ILL_PRVREG): Likewise.
14029 (ILL_COPROC): Likewise.
14030 (ILL_BADSTK): Likewise.
14031 (FPE_INTDIV): Likewise.
14032 (FPE_INTOVF): Likewise.
14033 (FPE_FLTDIV): Likewise.
14034 (FPE_FLTOVF): Likewise.
14035 (FPE_FLTUND): Likewise.
14036 (FPE_FLTRES): Likewise.
14037 (FPE_FLTINV): Likewise.
14038 (FPE_FLTSUB): Likewise.
14039 (SEGV_MAPERR): Likewise.
14040 (SEGV_ACCERR): Likewise.
14041 (BUS_ADRALN): Likewise.
14042 (BUS_ADRERR): Likewise.
14043 (BUS_OBJERR): Likewise.
14044 (BUS_MCEERR_AR): Likewise.
14045 (BUS_MCEERR_AO): Likewise.
14046 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14047 (TRAP_TRACE): Likewise.
14048 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14049 __USE_XOPEN2K8].
14050 (CLD_KILLED): Likewise.
14051 (CLD_DUMPED): Likewise.
14052 (CLD_TRAPPED): Likewise.
14053 (CLD_STOPPED): Likewise.
14054 (CLD_CONTINUED): Likewise.
14055 (POLL_IN): Likewise.
14056 (POLL_OUT): Likewise.
14057 (POLL_MSG): Likewise.
14058 (POLL_ERR): Likewise.
14059 (POLL_PRI): Likewise.
14060 (POLL_HUP): Likewise.
14061 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
14062 (ILL_ILLOPN): Likewise.
14063 (ILL_ILLADR): Likewise.
14064 (ILL_ILLTRP): Likewise.
14065 (ILL_PRVOPC): Likewise.
14066 (ILL_PRVREG): Likewise.
14067 (ILL_COPROC): Likewise.
14068 (ILL_BADSTK): Likewise.
14069 (FPE_INTDIV): Likewise.
14070 (FPE_INTOVF): Likewise.
14071 (FPE_FLTDIV): Likewise.
14072 (FPE_FLTOVF): Likewise.
14073 (FPE_FLTUND): Likewise.
14074 (FPE_FLTRES): Likewise.
14075 (FPE_FLTINV): Likewise.
14076 (FPE_FLTSUB): Likewise.
14077 (SEGV_MAPERR): Likewise.
14078 (SEGV_ACCERR): Likewise.
14079 (BUS_ADRALN): Likewise.
14080 (BUS_ADRERR): Likewise.
14081 (BUS_OBJERR): Likewise.
14082 (BUS_MCEERR_AR): Likewise.
14083 (BUS_MCEERR_AO): Likewise.
14084 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14085 (TRAP_TRACE): Likewise.
14086 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14087 __USE_XOPEN2K8].
14088 (CLD_KILLED): Likewise.
14089 (CLD_DUMPED): Likewise.
14090 (CLD_TRAPPED): Likewise.
14091 (CLD_STOPPED): Likewise.
14092 (CLD_CONTINUED): Likewise.
14093 (POLL_IN): Likewise.
14094 (POLL_OUT): Likewise.
14095 (POLL_MSG): Likewise.
14096 (POLL_ERR): Likewise.
14097 (POLL_PRI): Likewise.
14098 (POLL_HUP): Likewise.
14099 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
14100 Likewise.
14101 (ILL_ILLOPN): Likewise.
14102 (ILL_ILLADR): Likewise.
14103 (ILL_ILLTRP): Likewise.
14104 (ILL_PRVOPC): Likewise.
14105 (ILL_PRVREG): Likewise.
14106 (ILL_COPROC): Likewise.
14107 (ILL_BADSTK): Likewise.
14108 (ILL_BADIADDR): Likewise.
14109 (ILL_BREAK): Likewise.
14110 (FPE_INTDIV): Likewise.
14111 (FPE_INTOVF): Likewise.
14112 (FPE_FLTDIV): Likewise.
14113 (FPE_FLTOVF): Likewise.
14114 (FPE_FLTUND): Likewise.
14115 (FPE_FLTRES): Likewise.
14116 (FPE_FLTINV): Likewise.
14117 (FPE_FLTSUB): Likewise.
14118 (FPE_DECOVF): Likewise.
14119 (FPE_DECDIV): Likewise.
14120 (FPE_DECERR): Likewise.
14121 (FPE_INVASC): Likewise.
14122 (FPE_INVDEC): Likewise.
14123 (SEGV_MAPERR): Likewise.
14124 (SEGV_ACCERR): Likewise.
14125 (SEGV_PSTKOVF): Likewise.
14126 (BUS_ADRALN): Likewise.
14127 (BUS_ADRERR): Likewise.
14128 (BUS_OBJERR): Likewise.
14129 (BUS_MCEERR_AR): Likewise.
14130 (BUS_MCEERR_AO): Likewise.
14131 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14132 (TRAP_TRACE): Likewise.
14133 (TRAP_BRANCH): Likewise.
14134 (TRAP_HWBKPT): Likewise.
14135 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14136 __USE_XOPEN2K8].
14137 (CLD_KILLED): Likewise.
14138 (CLD_DUMPED): Likewise.
14139 (CLD_TRAPPED): Likewise.
14140 (CLD_STOPPED): Likewise.
14141 (CLD_CONTINUED): Likewise.
14142 (POLL_IN): Likewise.
14143 (POLL_OUT): Likewise.
14144 (POLL_MSG): Likewise.
14145 (POLL_ERR): Likewise.
14146 (POLL_PRI): Likewise.
14147 (POLL_HUP): Likewise.
14148 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
14149 (ILL_ILLOPN): Likewise.
14150 (ILL_ILLADR): Likewise.
14151 (ILL_ILLTRP): Likewise.
14152 (ILL_PRVOPC): Likewise.
14153 (ILL_PRVREG): Likewise.
14154 (ILL_COPROC): Likewise.
14155 (ILL_BADSTK): Likewise.
14156 (FPE_INTDIV): Likewise.
14157 (FPE_INTOVF): Likewise.
14158 (FPE_FLTDIV): Likewise.
14159 (FPE_FLTOVF): Likewise.
14160 (FPE_FLTUND): Likewise.
14161 (FPE_FLTRES): Likewise.
14162 (FPE_FLTINV): Likewise.
14163 (FPE_FLTSUB): Likewise.
14164 (SEGV_MAPERR): Likewise.
14165 (SEGV_ACCERR): Likewise.
14166 (BUS_ADRALN): Likewise.
14167 (BUS_ADRERR): Likewise.
14168 (BUS_OBJERR): Likewise.
14169 (BUS_MCEERR_AR): Likewise.
14170 (BUS_MCEERR_AO): Likewise.
14171 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14172 (TRAP_TRACE): Likewise.
14173 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14174 __USE_XOPEN2K8].
14175 (CLD_KILLED): Likewise.
14176 (CLD_DUMPED): Likewise.
14177 (CLD_TRAPPED): Likewise.
14178 (CLD_STOPPED): Likewise.
14179 (CLD_CONTINUED): Likewise.
14180 (POLL_IN): Likewise.
14181 (POLL_OUT): Likewise.
14182 (POLL_MSG): Likewise.
14183 (POLL_ERR): Likewise.
14184 (POLL_PRI): Likewise.
14185 (POLL_HUP): Likewise.
14186 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
14187 (ILL_ILLOPN): Likewise.
14188 (ILL_ILLADR): Likewise.
14189 (ILL_ILLTRP): Likewise.
14190 (ILL_PRVOPC): Likewise.
14191 (ILL_PRVREG): Likewise.
14192 (ILL_COPROC): Likewise.
14193 (ILL_BADSTK): Likewise.
14194 (FPE_INTDIV): Likewise.
14195 (FPE_INTOVF): Likewise.
14196 (FPE_FLTDIV): Likewise.
14197 (FPE_FLTOVF): Likewise.
14198 (FPE_FLTUND): Likewise.
14199 (FPE_FLTRES): Likewise.
14200 (FPE_FLTINV): Likewise.
14201 (FPE_FLTSUB): Likewise.
14202 (SEGV_MAPERR): Likewise.
14203 (SEGV_ACCERR): Likewise.
14204 (BUS_ADRALN): Likewise.
14205 (BUS_ADRERR): Likewise.
14206 (BUS_OBJERR): Likewise.
14207 (BUS_MCEERR_AR): Likewise.
14208 (BUS_MCEERR_AO): Likewise.
14209 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14210 (TRAP_TRACE): Likewise.
14211 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14212 __USE_XOPEN2K8].
14213 (CLD_KILLED): Likewise.
14214 (CLD_DUMPED): Likewise.
14215 (CLD_TRAPPED): Likewise.
14216 (CLD_STOPPED): Likewise.
14217 (CLD_CONTINUED): Likewise.
14218 (POLL_IN): Likewise.
14219 (POLL_OUT): Likewise.
14220 (POLL_MSG): Likewise.
14221 (POLL_ERR): Likewise.
14222 (POLL_PRI): Likewise.
14223 (POLL_HUP): Likewise.
14224 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
14225 (ILL_ILLOPN): Likewise.
14226 (ILL_ILLADR): Likewise.
14227 (ILL_ILLTRP): Likewise.
14228 (ILL_PRVOPC): Likewise.
14229 (ILL_PRVREG): Likewise.
14230 (ILL_COPROC): Likewise.
14231 (ILL_BADSTK): Likewise.
14232 (FPE_INTDIV): Likewise.
14233 (FPE_INTOVF): Likewise.
14234 (FPE_FLTDIV): Likewise.
14235 (FPE_FLTOVF): Likewise.
14236 (FPE_FLTUND): Likewise.
14237 (FPE_FLTRES): Likewise.
14238 (FPE_FLTINV): Likewise.
14239 (FPE_FLTSUB): Likewise.
14240 (SEGV_MAPERR): Likewise.
14241 (SEGV_ACCERR): Likewise.
14242 (BUS_ADRALN): Likewise.
14243 (BUS_ADRERR): Likewise.
14244 (BUS_OBJERR): Likewise.
14245 (BUS_MCEERR_AR): Likewise.
14246 (BUS_MCEERR_AO): Likewise.
14247 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14248 (TRAP_TRACE): Likewise.
14249 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14250 __USE_XOPEN2K8].
14251 (CLD_KILLED): Likewise.
14252 (CLD_DUMPED): Likewise.
14253 (CLD_TRAPPED): Likewise.
14254 (CLD_STOPPED): Likewise.
14255 (CLD_CONTINUED): Likewise.
14256 (POLL_IN): Likewise.
14257 (POLL_OUT): Likewise.
14258 (POLL_MSG): Likewise.
14259 (POLL_ERR): Likewise.
14260 (POLL_PRI): Likewise.
14261 (POLL_HUP): Likewise.
14262 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
14263 (ILL_ILLOPN): Likewise.
14264 (ILL_ILLADR): Likewise.
14265 (ILL_ILLTRP): Likewise.
14266 (ILL_PRVOPC): Likewise.
14267 (ILL_PRVREG): Likewise.
14268 (ILL_COPROC): Likewise.
14269 (ILL_BADSTK): Likewise.
14270 (ILL_DBLFLT): Likewise.
14271 (ILL_HARDWALL): Likewise.
14272 (FPE_INTDIV): Likewise.
14273 (FPE_INTOVF): Likewise.
14274 (FPE_FLTDIV): Likewise.
14275 (FPE_FLTOVF): Likewise.
14276 (FPE_FLTUND): Likewise.
14277 (FPE_FLTRES): Likewise.
14278 (FPE_FLTINV): Likewise.
14279 (FPE_FLTSUB): Likewise.
14280 (SEGV_MAPERR): Likewise.
14281 (SEGV_ACCERR): Likewise.
14282 (BUS_ADRALN): Likewise.
14283 (BUS_ADRERR): Likewise.
14284 (BUS_OBJERR): Likewise.
14285 (BUS_MCEERR_AR): Likewise.
14286 (BUS_MCEERR_AO): Likewise.
14287 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14288 (TRAP_TRACE): Likewise.
14289 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14290 __USE_XOPEN2K8].
14291 (CLD_KILLED): Likewise.
14292 (CLD_DUMPED): Likewise.
14293 (CLD_TRAPPED): Likewise.
14294 (CLD_STOPPED): Likewise.
14295 (CLD_CONTINUED): Likewise.
14296 (POLL_IN): Likewise.
14297 (POLL_OUT): Likewise.
14298 (POLL_MSG): Likewise.
14299 (POLL_ERR): Likewise.
14300 (POLL_PRI): Likewise.
14301 (POLL_HUP): Likewise.
14302 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
14303 (ILL_ILLOPN): Likewise.
14304 (ILL_ILLADR): Likewise.
14305 (ILL_ILLTRP): Likewise.
14306 (ILL_PRVOPC): Likewise.
14307 (ILL_PRVREG): Likewise.
14308 (ILL_COPROC): Likewise.
14309 (ILL_BADSTK): Likewise.
14310 (FPE_INTDIV): Likewise.
14311 (FPE_INTOVF): Likewise.
14312 (FPE_FLTDIV): Likewise.
14313 (FPE_FLTOVF): Likewise.
14314 (FPE_FLTUND): Likewise.
14315 (FPE_FLTRES): Likewise.
14316 (FPE_FLTINV): Likewise.
14317 (FPE_FLTSUB): Likewise.
14318 (SEGV_MAPERR): Likewise.
14319 (SEGV_ACCERR): Likewise.
14320 (BUS_ADRALN): Likewise.
14321 (BUS_ADRERR): Likewise.
14322 (BUS_OBJERR): Likewise.
14323 (BUS_MCEERR_AR): Likewise.
14324 (BUS_MCEERR_AO): Likewise.
14325 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14326 (TRAP_TRACE): Likewise.
14327 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14328 __USE_XOPEN2K8].
14329 (CLD_KILLED): Likewise.
14330 (CLD_DUMPED): Likewise.
14331 (CLD_TRAPPED): Likewise.
14332 (CLD_STOPPED): Likewise.
14333 (CLD_CONTINUED): Likewise.
14334 (POLL_IN): Likewise.
14335 (POLL_OUT): Likewise.
14336 (POLL_MSG): Likewise.
14337 (POLL_ERR): Likewise.
14338 (POLL_PRI): Likewise.
14339 (POLL_HUP): Likewise.
14340 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
14341 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
14342
bc61d27c
JM
14343 [BZ #16670]
14344 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
14345 before #include of <time.h>.
14346 [!__USE_XOPEN2K] (__need_timespec): Likewise.
14347 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
14348 (test-xfail-UNIX98/sched.h/conform): Likewise.
14349
302949e2
MS
143502014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
14351
14352 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
14353 error absence of trapping exception support.
14354 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14355
a00f522a
JM
143562014-03-07 Joseph Myers <joseph@codesourcery.com>
14357
6f99f280
JM
14358 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
14359 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
14360 * timezone/Makefile (testdata): Move definition above include of
14361 Rules.
14362 (test-zones): New variable.
14363 (tests-special): Add zone files.
14364 (build-testdata): Use $(evaluate-test).
14365
0b20a9e8
JM
14366 * elf/Makefile (tests-special): Rename tests to end with .out.
14367 ($(objpfx)noload-mem): Likewise.
14368 ($(objpfx)tst-leaks1-mem): Likewise.
14369 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
14370 * iconv/Makefile (xtests-special): Change test-iconvconfig to
14371 $(objpfx)test-iconvconfig.out.
14372 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
14373 set -e inside subshell and redirect output to file.
14374 * iconvdata/Makefile (generated): Rename tests to end with .out.
14375 Correct type.
14376 (tests-special): Rename tests to end with .out.
14377 ($(objpfx)mtrace-tst-loading): Likewise.
14378 * intl/Makefile (generated): Likewise.
14379 (tests-special): Likewise.
14380 ($(objpfx)mtrace-tst-gettext): Likewise.
14381 * misc/Makefile (generated): Likewise.
14382 (tests-special): Likewise.
14383 ($(objpfx)tst-error1-mem): Likewise.
14384 * nptl/Makefile (tests-special): Likewise.
14385 ($(objpfx)tst-stack3-mem): Likewise.
14386 (generated): Likewise.
14387 * posix/Makefile (generated): Likewise.
14388 (tests-special): Likewise.
14389 (xtests-special): Likewise.
14390 ($(objpfx)tst-fnmatch-mem): Likewise.
14391 ($(objpfx)bug-regex2-mem): Likewise.
14392 ($(objpfx)bug-regex14-mem): Likewise.
14393 ($(objpfx)bug-regex21-mem): Likewise.
14394 ($(objpfx)bug-regex31-mem): Likewise.
14395 ($(objpfx)tst-vfork3-mem): Likewise.
14396 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
14397 ($(objpfx)tst-pcre-mem): Likewise.
14398 ($(objpfx)tst-boost-mem): Likewise.
14399 ($(objpfx)bug-ga2-mem): Likewise.
14400 ($(objpfx)bug-glob2-mem): Likewise.
14401 * resolv/Makefile (generate): Likewise.
14402 (tests-special): Likewise.
14403 (xtests-special): Likewise.
14404 (generated): Likewise.
14405 ($(objpfx)mtrace-tst-leaks): Likewise.
14406 ($(objpfx)mtrace-tst-leaks2): Likewise.
14407
265d52ab
JM
14408 * scripts/merge-test-results.sh: New file.
14409 * Makefile (tests-special-notdir): New variable.
14410 (tests): Run merge-test-results.sh.
14411 (xtests): Likewise.
14412 * Rules (tests-special-notdir): New variable.
14413 (xtests-special-notdir): Likewise.
14414 (tests): Run merge-test-results.sh
14415 (xtests): Likewise.
14416
54ee292d
JM
14417 * Makeconfig (test-xfail-name): New variable.
14418 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
14419 compute variable name for expected failures.
14420 * conform/Makefile (conformtest-headers-data): New variable.
14421 (conformtest-standards): Likewise.
14422 (conformtest-headers-ISO): Likewise.
14423 (conformtest-headers-ISO99): Likewise.
14424 (conformtest-headers-ISO11): Likewise.
14425 (conformtest-headers-POSIX): Likewise.
14426 (conformtest-headers-XPG3): Likewise.
14427 (conformtest-headers-XPG4): Likewise.
14428 (conformtest-headers-UNIX98): Likewise.
14429 (conformtest-headers-XOPEN2K): Likewise.
14430 (conformtest-headers-POSIX2008): Likewise.
14431 (conformtest-headers-XOPEN2K8): Likewise.
14432 (conformtest-header-list-base): Likewise.
14433 (conformtest-header-list-tests): Likewise.
14434 (conformtest-header-base): Likewise.
14435 (conformtest-header-tests): Likewise.
14436 (tests-special): Add $(conformtest-header-list-tests). If
14437 [$(fast-check) && !$(cross-compiling)], add
14438 $(conformtest-header-tests) instead of
14439 $(objpfx)run-conformtest.out.
14440 (generated): Add $(conformtest-header-list-base). If
14441 [$(fast-check) && !$(cross-compiling)], add
14442 $(conformtest-header-base). Remove previous setting.
14443 ($(conformtest-header-list-tests)): New target.
14444 (test-xfail-run-conformtest): Remove variable.
14445 ($(objpfx)run-conformtest.out): Remove target.
14446 (test-xfail-ISO11/complex.h/conform): New variable.
14447 (test-xfail-ISO11/stdalign.h/conform): Likewise.
14448 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
14449 (test-xfail-XPG3/varargs.h/conform): Likewise.
14450 (test-xfail-XPG4/varargs.h/conform): Likewise.
14451 (test-xfail-UNIX98/varargs.h/conform): Likewise.
14452 (test-xfail-XPG4/ndbm.h/conform): Likewise.
14453 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
14454 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
14455 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
14456 (test-xfail-XPG3/fcntl.h/conform): Likewise.
14457 (test-xfail-XPG3/ftw.h/conform): Likewise.
14458 (test-xfail-XPG3/grp.h/conform): Likewise.
14459 (test-xfail-XPG3/langinfo.h/conform): Likewise.
14460 (test-xfail-XPG3/limits.h/conform): Likewise.
14461 (test-xfail-XPG3/pwd.h/conform): Likewise.
14462 (test-xfail-XPG3/search.h/conform): Likewise.
14463 (test-xfail-XPG3/signal.h/conform): Likewise.
14464 (test-xfail-XPG3/stdio.h/conform): Likewise.
14465 (test-xfail-XPG3/stdlib.h/conform): Likewise.
14466 (test-xfail-XPG3/string.h/conform): Likewise.
14467 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
14468 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
14469 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
14470 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
14471 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
14472 (test-xfail-XPG3/sys/types.h/conform): Likewise.
14473 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
14474 (test-xfail-XPG3/termios.h/conform): Likewise.
14475 (test-xfail-XPG3/time.h/conform): Likewise.
14476 (test-xfail-XPG3/unistd.h/conform): Likewise.
14477 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
14478 (test-xfail-XPG4/fcntl.h/conform): Likewise.
14479 (test-xfail-XPG4/langinfo.h/conform): Likewise.
14480 (test-xfail-XPG4/netdb.h/conform): Likewise.
14481 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
14482 (test-xfail-XPG4/signal.h/conform): Likewise.
14483 (test-xfail-XPG4/stdio.h/conform): Likewise.
14484 (test-xfail-XPG4/stdlib.h/conform): Likewise.
14485 (test-xfail-XPG4/stropts.h/conform): Likewise.
14486 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
14487 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
14488 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
14489 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
14490 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
14491 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
14492 (test-xfail-XPG4/sys/time.h/conform): Likewise.
14493 (test-xfail-XPG4/sys/types.h/conform): Likewise.
14494 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
14495 (test-xfail-XPG4/termios.h/conform): Likewise.
14496 (test-xfail-XPG4/ucontext.h/conform): Likewise.
14497 (test-xfail-XPG4/unistd.h/conform): Likewise.
14498 (test-xfail-XPG4/utmpx.h/conform): Likewise.
14499 (test-xfail-POSIX/sched.h/conform): Likewise.
14500 (test-xfail-POSIX/signal.h/conform): Likewise.
14501 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
14502 (test-xfail-POSIX/tar.h/conform): Likewise.
14503 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
14504 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
14505 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
14506 (test-xfail-UNIX98/netdb.h/conform): Likewise.
14507 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
14508 (test-xfail-UNIX98/sched.h/conform): Likewise.
14509 (test-xfail-UNIX98/signal.h/conform): Likewise.
14510 (test-xfail-UNIX98/stdio.h/conform): Likewise.
14511 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
14512 (test-xfail-UNIX98/stropts.h/conform): Likewise.
14513 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
14514 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
14515 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
14516 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
14517 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
14518 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
14519 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
14520 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
14521 (test-xfail-UNIX98/unistd.h/conform): Likewise.
14522 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
14523 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
14524 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
14525 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
14526 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
14527 (test-xfail-XOPEN2K/math.h/conform): Likewise.
14528 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
14529 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
14530 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
14531 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
14532 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
14533 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
14534 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
14535 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
14536 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
14537 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
14538 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
14539 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
14540 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
14541 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
14542 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
14543 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
14544 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
14545 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
14546 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
14547 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
14548 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
14549 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
14550 (test-xfail-POSIX2008/signal.h/conform): Likewise.
14551 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
14552 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
14553 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
14554 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
14555 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
14556 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
14557 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
14558 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
14559 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
14560 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
14561 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
14562 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
14563 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
14564 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
14565 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
14566 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
14567 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
14568 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
14569 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
14570 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
14571 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
14572 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
14573 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
14574 (conformtest-cc-flags): Likewise.
14575 ($(conformtest-header-tests): New target.
14576 * conform/check-header-lists.sh: New file.
14577 * conform/run-conformtest.sh: Remove.
14578
a00f522a
JM
14579 * conform/conformtest.pl: Allow ' and \ in values given for
14580 constants.
14581 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
14582 inclusion.
14583 [POSIX] (sys/types.h): Likewise.
14584 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
14585 inclusion.
14586 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
14587 inclusion.
14588 * conform/data/signal.h-data (SIGIO): Remove expectation.
14589 [XPG3] (SIGBUS): Do not expect.
14590 [POSIX || XPG3] (SIGPOLL): Likewise.
14591 [POSIX || XPG3] (SIGPROF): Likewise.
14592 [POSIX || XPG3] (SIGSYS): Likewise.
14593 [XPG3] (SIGTRAP): Likewise.
14594 [POSIX || XPG3] (SIGURG): Likewise.
14595 [POSIX || XPG3] (SIGVTALRM): Likewise.
14596 [POSIX || XPG3] (SIGXCPU): Likewise.
14597 [POSIX || XPG3] (SIGXFSZ): Likewise.
14598 [POSIX] (SA_SIGINFO): Expect.
14599 [XPG3] (siginfo_t): Do not expect type or contents.
14600 [POSIX] (si_pid): Do not expect element.
14601 [POSIX] (si_uid): Likewise.
14602 [POSIX] (si_addr): Likewise.
14603 [POSIX] (si_status): Likewise.
14604 [POSIX] (si_band): Likewise.
14605 [XPG4] (si_value): Likewise.
14606 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
14607 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
14608 [POSIX || XPG3] (ILL_ILLADR): Likewise.
14609 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
14610 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
14611 [POSIX || XPG3] (ILL_PRVREG): Likewise.
14612 [POSIX || XPG3] (ILL_COPROC): Likewise.
14613 [POSIX || XPG3] (ILL_BADSTK): Likewise.
14614 [POSIX || XPG3] (FPE_INTDIV): Likewise.
14615 [POSIX || XPG3] (FPE_INTOVF): Likewise.
14616 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
14617 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
14618 [POSIX || XPG3] (FPE_FLTUND): Likewise.
14619 [POSIX || XPG3] (FPE_FLTRES): Likewise.
14620 [POSIX || XPG3] (FPE_FLTINV): Likewise.
14621 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
14622 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
14623 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
14624 [POSIX || XPG3] (BUS_ADRALN): Likewise.
14625 [POSIX || XPG3] (BUS_ADRERR): Likewise.
14626 [POSIX || XPG3] (BUS_OBJERR): Likewise.
14627 [POSIX || XPG3] (CLD_EXITED): Likewise.
14628 [POSIX || XPG3] (CLD_KILLED): Likewise.
14629 [POSIX || XPG3] (CLD_DUMPED): Likewise.
14630 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
14631 [POSIX || XPG3] (CLD_STOPPED): Likewise.
14632 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
14633 [POSIX || XPG3] (POLL_IN): Likewise.
14634 [POSIX || XPG3] (POLL_OUT): Likewise.
14635 [POSIX || XPG3] (POLL_MSG): Likewise.
14636 [POSIX || XPG3] (POLL_ERR): Likewise.
14637 [POSIX || XPG3] (POLL_PRI): Likewise.
14638 [POSIX || XPG3] (POLL_HUP): Likewise.
14639 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
14640 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
14641 (SIG*): Do not allow.
14642 [XPG3] (si_*): Likewise.
14643 [XPG3] (SI_*): Likewise.
14644 [XPG3 || XPG4] (sigev_*): Likewise.
14645 [XPG3 || XPG4] (SIGEV_*): Likewise.
14646 [XPG3 || XPG4] (sival_*): Likewise.
14647 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
14648 [POSIX || XPG3] (BUS_*): Likewise.
14649 [POSIX || XPG3] (CLD_*): Likewise.
14650 [POSIX || XPG3] (FPE_*): Likewise.
14651 [POSIX || XPG3] (ILL_*): Likewise.
14652 [POSIX || XPG3] (POLL_*): Likewise.
14653 [POSIX || XPG3] (SEGV_*): Likewise.
14654 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
14655 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
14656 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
14657 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
14658 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
14659 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
14660 Specify type and value.
14661 (TVERSLEN): Likewise.
14662 (REGTYPE): Likewise.
14663 (AREGTYPE): Likewise.
14664 (LNKTYPE): Likewise.
14665 (SYMTYPE): Likewise.
14666 (CHRTYPE): Likewise.
14667 (BLKTYPE): Likewise.
14668 (DIRTYPE): Likewise.
14669 (FIFOTYPE): Likewise.
14670 (CONTTYPE): Likewise.
14671 (TSUID): Likewise.
14672 (TSGID): Likewise.
14673 (TSVTX): Likewise.
14674 (TUREAD): Likewise.
14675 (TUWRITE): Likewise.
14676 (TUEXEC): Likewise.
14677 (TGREAD): Likewise.
14678 (TGWRITE): Likewise.
14679 (TGEXEC): Likewise.
14680 (TOREAD): Likewise.
14681 (TOWRITE): Likewise.
14682 (TOEXEC): Likewise.
14683 [POSIX] (TSVTX): Expect constant.
14684
aa97dee1
JM
146852014-03-06 Joseph Myers <joseph@codesourcery.com>
14686
f214606a
JM
14687 * Makefile (tests): Change dependencies to ....
14688 (tests-special): ... additions to this variable.
14689 (tests): Depend on $(tests-special).
14690 * Makerules (check-abi-list): New variable.
14691 (check-abi): Depend on $(check-abi-list).
14692 [$(subdir) = elf] (tests-special): Add
14693 $(objpfx)check-abi-libc.out.
14694 [$(build-shared) = yes && subdir] (tests-special): Add
14695 $(check-abi-list).
14696 [$(build-shared) = yes && subdir] (tests): Do not depend on
14697 check-abi.
14698 * Rules (tests): Depend on $(tests-special).
14699 (xtests): Depend on $(xtests-special).
14700 * catgets/Makefile (tests): Change dependencies to ....
14701 (tests-special): ... additions to this variable.
14702 * conform/Makefile (tests): Change dependencies to ....
14703 (tests-special): ... additions to this variable.
14704 * elf/Makefile (tests): Change dependencies to ....
14705 (tests-special): ... additions to this variable.
14706 * grp/Makefile (tests): Change dependencies to ....
14707 (tests-special): ... additions to this variable.
14708 * iconv/Makefile (xtests): Change dependencies to ....
14709 (xtests-special): ... additions to this variable.
14710 * iconvdata/Makefile (tests): Change dependencies to ....
14711 (tests-special): ... additions to this variable.
14712 * intl/Makefile (tests): Change dependencies to ....
14713 (tests-special): ... additions to this variable. Also add
14714 $(objpfx)tst-gettext.out.
14715 * io/Makefile (tests): Change dependencies to ....
14716 (tests-special): ... additions to this variable.
14717 * libio/Makefile (tests): Change dependencies to ....
14718 (tests-special): ... additions to this variable.
14719 * malloc/Makefile (tests): Change dependencies to ....
14720 (tests-special): ... additions to this variable.
14721 * misc/Makefile (tests): Change dependencies to ....
14722 (tests-special): ... additions to this variable.
14723 * nptl/Makefile (tests): Change dependencies to ....
14724 (tests-special): ... additions to this variable.
14725 * nptl_db/Makefile (tests): Change dependencies to ....
14726 (tests-special): ... additions to this variable.
14727 * posix/Makefile (tests): Change dependencies to ....
14728 (tests-special): ... additions to this variable.
14729 (xtests): Change dependencies to ....
14730 (xtests-special): ... additions to this variable.
14731 * resolv/Makefile (tests): Change dependencies to ....
14732 (tests-special): ... additions to this variable.
14733 (xtests): Change dependencies to ....
14734 (xtests-special): ... additions to this variable.
14735 * stdio-common/Makefile (tests): Change dependencies to ....
14736 (tests-special): ... additions to this variable.
14737 (do-tst-unbputc): Remove target.
14738 (do-tst-printf): Likewise.
14739 * stdlib/Makefile (tests): Change dependencies to ....
14740 (tests-special): ... additions to this variable.
14741 * string/Makefile (tests): Change dependencies to ....
14742 (tests-special): ... additions to this variable.
14743 * sysdeps/x86/Makefile (tests): Change dependencies to ....
14744 (tests-special): ... additions to this variable.
14745
81700b53
JM
14746 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
14747 whole file.
14748 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
14749 whole file.
14750 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
14751 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
14752
2ea18461
JM
14753 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
14754 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
14755 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
14756 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
14757 * conform/data/libgen.h-data [XPG3]: Likewise.
14758 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
14759 * conform/data/ndbm.h-data [XPG3]: Likewise.
14760 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14761 * conform/data/netdb.h-data [XPG3]: Likewise.
14762 * conform/data/netinet/in.h-data [XPG3]: Likewise.
14763 * conform/data/poll.h-data [XPG3]: Likewise.
14764 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14765 * conform/data/strings.h-data [XPG3]: Likewise.
14766 * conform/data/stropts.h-data [XPG3]: Likewise.
14767 * conform/data/sys/mman.h-data [XPG3]: Likewise.
14768 * conform/data/sys/resource.h-data [XPG3]: Likewise.
14769 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
14770 Likewise.
14771 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
14772 * conform/data/sys/time.h-data [XPG3]: Likewise.
14773 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
14774 * conform/data/sys/uio.h-data [XPG3]: Likewise.
14775 * conform/data/sys/un.h-data [XPG3]: Likewise.
14776 * conform/data/syslog.h-data [XPG3]: Likewise.
14777 * conform/data/ucontext.h-data [XPG3]: Likewise.
14778 * conform/data/utmpx.h-data [XPG3]: Likewise.
14779 * conform/data/varargs.h-data [UNIX98]: Enable file.
14780
355bc986
JM
14781 * manual/Makefile (INSTALL_INFO): Remove variable setting.
14782
215db402
JM
14783 * math/libm-test.inc (struct test_f_f_data): Move expected results
14784 into structure for each rounding mode.
14785 (struct test_ff_f_data): Likewise.
14786 (struct test_ff_f_data_nexttoward): Likewise.
14787 (struct test_fi_f_data): Likewise.
14788 (struct test_fl_f_data): Likewise.
14789 (struct test_if_f_data): Likewise.
14790 (struct test_fff_f_data): Likewise.
14791 (struct test_c_f_data): Likewise.
14792 (struct test_f_f1_data): Likewise.
14793 (struct test_fF_f1_data): Likewise.
14794 (struct test_ffI_f1_data): Likewise.
14795 (struct test_c_c_data): Likewise.
14796 (struct test_cc_c_data): Likewise.
14797 (struct test_f_i_data): Likewise.
14798 (struct test_ff_i_data): Likewise.
14799 (struct test_f_l_data): Likewise.
14800 (struct test_f_L_data): Likewise.
14801 (struct test_fFF_11_data): Likewise.
14802 (RM_): New macro.
14803 (RM_FE_DOWNWARD): Likewise.
14804 (RM_FE_TONEAREST): Likewise.
14805 (RM_FE_TOWARDZERO): Likewise.
14806 (RM_FE_UPWARD): Likewise.
14807 (RUN_TEST_LOOP_f_f): Update references to expected results.
14808 (RUN_TEST_LOOP_2_f): Likewise.
14809 (RUN_TEST_LOOP_fff_f): Likewise.
14810 (RUN_TEST_LOOP_c_f): Likewise.
14811 (RUN_TEST_LOOP_f_f1): Likewise.
14812 (RUN_TEST_LOOP_fF_f1): Likewise.
14813 (RUN_TEST_LOOP_fI_f1): Likewise.
14814 (RUN_TEST_LOOP_ffI_f1): Likewise.
14815 (RUN_TEST_LOOP_c_c): Likewise.
14816 (RUN_TEST_LOOP_cc_c): Likewise.
14817 (RUN_TEST_LOOP_f_i): Likewise.
14818 (RUN_TEST_LOOP_f_i_tg): Likewise.
14819 (RUN_TEST_LOOP_ff_i_tg): Likewise.
14820 (RUN_TEST_LOOP_f_b): Likewise.
14821 (RUN_TEST_LOOP_f_b_tg): Likewise.
14822 (RUN_TEST_LOOP_f_l): Likewise.
14823 (RUN_TEST_LOOP_f_L): Likewise.
14824 (RUN_TEST_LOOP_fFF_11): Likewise.
14825 * math/gen-libm-test.pl (parse_args): Output four copies of
14826 expected results for each test.
14827
67737b8f
JM
14828 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14829 (__ASSUME_UTIMES): Remove.
14830 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14831 (__ASSUME_UTIMES): Likewise.
14832
aa97dee1
JM
14833 * math/gen-auto-libm-tests.c: Update comment on output format.
14834 (output_for_one_input_case): Generate before-rounding and
14835 after-rounding information as conditions on output flags not
14836 floating-point format.
14837 * math/auto-libm-test-out: Regenerated.
14838 * math/gen-libm-test.pl (cond_value): New function.
14839 (or_cond_value): Use cond_value.
14840 (generate_testfile): Handle conditional exceptions.
14841
e6b6a857
JM
148422014-03-05 Joseph Myers <joseph@codesourcery.com>
14843
2f0a0f44
JM
14844 * math/libm-test.inc (max_valid_error): New variable.
14845 (init_max_error): Take new argument specifying whether function
14846 results are exactly determined. Set max_valid_error and bound
14847 other variables for errors based on this argument.
14848 (set_max_error): Do not record results above max_valid_error.
14849 (check_float_internal): Only accept errors of up to 0.5ulps if
14850 also at most max_valid_error.
14851 (START): Take new argument EXACT and pass it to init_max_error.
14852 (acos_test): Update call to START.
14853 (acos_test_tonearest): Likewise.
14854 (acos_test_towardzero): Likewise.
14855 (acos_test_downward): Likewise.
14856 (acos_test_upward): Likewise.
14857 (acosh_test): Likewise.
14858 (asin_test): Likewise.
14859 (asin_test_tonearest): Likewise.
14860 (asin_test_towardzero): Likewise.
14861 (asin_test_downward): Likewise.
14862 (asin_test_upward): Likewise.
14863 (asinh_test): Likewise.
14864 (atan_test): Likewise.
14865 (atanh_test): Likewise.
14866 (atan2_test): Likewise.
14867 (cabs_test): Likewise.
14868 (cacos_test): Likewise.
14869 (cacosh_test): Likewise.
14870 (carg_test): Likewise.
14871 (casin_test): Likewise.
14872 (casinh_test): Likewise.
14873 (catan_test): Likewise.
14874 (catanh_test): Likewise.
14875 (cbrt_test): Likewise.
14876 (ccos_test): Likewise.
14877 (ccosh_test): Likewise.
14878 (ceil_test): Likewise.
14879 (cexp_test): Likewise.
14880 (cimag_test): Likewise.
14881 (clog_test): Likewise.
14882 (clog10_test): Likewise.
14883 (conj_test): Likewise.
14884 (copysign_test): Likewise.
14885 (cos_test): Likewise.
14886 (cos_test_tonearest): Likewise.
14887 (cos_test_towardzero): Likewise.
14888 (cos_test_downward): Likewise.
14889 (cos_test_upward): Likewise.
14890 (cosh_test): Likewise.
14891 (cosh_test_tonearest): Likewise.
14892 (cosh_test_towardzero): Likewise.
14893 (cosh_test_downward): Likewise.
14894 (cosh_test_upward): Likewise.
14895 (cpow_test): Likewise.
14896 (cproj_test): Likewise.
14897 (creal_test): Likewise.
14898 (csin_test): Likewise.
14899 (csinh_test): Likewise.
14900 (csqrt_test): Likewise.
14901 (ctan_test): Likewise.
14902 (ctan_test_tonearest): Likewise.
14903 (ctan_test_towardzero): Likewise.
14904 (ctan_test_downward): Likewise.
14905 (ctan_test_upward): Likewise.
14906 (ctanh_test): Likewise.
14907 (ctanh_test_tonearest): Likewise.
14908 (ctanh_test_towardzero): Likewise.
14909 (ctanh_test_downward): Likewise.
14910 (ctanh_test_upward): Likewise.
14911 (erf_test): Likewise.
14912 (erfc_test): Likewise.
14913 (exp_test): Likewise.
14914 (exp_test_tonearest): Likewise.
14915 (exp_test_towardzero): Likewise.
14916 (exp_test_downward): Likewise.
14917 (exp_test_upward): Likewise.
14918 (exp10_test): Likewise.
14919 (exp10_test_tonearest): Likewise.
14920 (exp10_test_towardzero): Likewise.
14921 (exp10_test_downward): Likewise.
14922 (exp10_test_upward): Likewise.
14923 (pow10_test): Likewise.
14924 (exp2_test): Likewise.
14925 (expm1_test): Likewise.
14926 (expm1_test_tonearest): Likewise.
14927 (expm1_test_towardzero): Likewise.
14928 (expm1_test_downward): Likewise.
14929 (expm1_test_upward): Likewise.
14930 (fabs_test): Likewise.
14931 (fdim_test): Likewise.
14932 (floor_test): Likewise.
14933 (fma_test): Likewise.
14934 (fma_test_towardzero): Likewise.
14935 (fma_test_downward): Likewise.
14936 (fma_test_upward): Likewise.
14937 (fmax_test): Likewise.
14938 (fmin_test): Likewise.
14939 (fmod_test): Likewise.
14940 (fpclassify_test): Likewise.
14941 (frexp_test): Likewise.
14942 (hypot_test): Likewise.
14943 (ilogb_test): Likewise.
14944 (isfinite_test): Likewise.
14945 (finite_test): Likewise.
14946 (isgreater_test): Likewise.
14947 (isgreaterequal_test): Likewise.
14948 (isinf_test): Likewise.
14949 (isless_test): Likewise.
14950 (islessequal_test): Likewise.
14951 (islessgreater_test): Likewise.
14952 (isnan_test): Likewise.
14953 (isnormal_test): Likewise.
14954 (issignaling_test): Likewise.
14955 (isunordered_test): Likewise.
14956 (j0_test): Likewise.
14957 (j1_test): Likewise.
14958 (jn_test): Likewise.
14959 (ldexp_test): Likewise.
14960 (lgamma_test): Likewise.
14961 (gamma_test): Likewise.
14962 (lrint_test): Likewise.
14963 (lrint_test_tonearest): Likewise.
14964 (lrint_test_towardzero): Likewise.
14965 (lrint_test_downward): Likewise.
14966 (lrint_test_upward): Likewise.
14967 (llrint_test): Likewise.
14968 (llrint_test_tonearest): Likewise.
14969 (llrint_test_towardzero): Likewise.
14970 (llrint_test_downward): Likewise.
14971 (llrint_test_upward): Likewise.
14972 (log_test): Likewise.
14973 (log10_test): Likewise.
14974 (log1p_test): Likewise.
14975 (log2_test): Likewise.
14976 (logb_test): Likewise.
14977 (logb_test_downward): Likewise.
14978 (lround_test): Likewise.
14979 (llround_test): Likewise.
14980 (modf_test): Likewise.
14981 (nearbyint_test): Likewise.
14982 (nextafter_test): Likewise.
14983 (nexttoward_test): Likewise.
14984 (pow_test): Likewise.
14985 (pow_test_tonearest): Likewise.
14986 (pow_test_towardzero): Likewise.
14987 (pow_test_downward): Likewise.
14988 (pow_test_upward): Likewise.
14989 (remainder_test): Likewise.
14990 (drem_test): Likewise.
14991 (remainder_test_tonearest): Likewise.
14992 (drem_test_tonearest): Likewise.
14993 (remainder_test_towardzero): Likewise.
14994 (drem_test_towardzero): Likewise.
14995 (remainder_test_downward): Likewise.
14996 (drem_test_downward): Likewise.
14997 (remainder_test_upward): Likewise.
14998 (drem_test_upward): Likewise.
14999 (remquo_test): Likewise.
15000 (rint_test): Likewise.
15001 (rint_test_tonearest): Likewise.
15002 (rint_test_towardzero): Likewise.
15003 (rint_test_downward): Likewise.
15004 (rint_test_upward): Likewise.
15005 (round_test): Likewise.
15006 (scalb_test): Likewise.
15007 (scalbn_test): Likewise.
15008 (scalbln_test): Likewise.
15009 (signbit_test): Likewise.
15010 (sin_test): Likewise.
15011 (sin_test_tonearest): Likewise.
15012 (sin_test_towardzero): Likewise.
15013 (sin_test_downward): Likewise.
15014 (sin_test_upward): Likewise.
15015 (sincos_test): Likewise.
15016 (sinh_test): Likewise.
15017 (sinh_test_tonearest): Likewise.
15018 (sinh_test_towardzero): Likewise.
15019 (sinh_test_downward): Likewise.
15020 (sinh_test_upward): Likewise.
15021 (sqrt_test): Likewise.
15022 (sqrt_test_tonearest): Likewise.
15023 (sqrt_test_towardzero): Likewise.
15024 (sqrt_test_downward): Likewise.
15025 (sqrt_test_upward): Likewise.
15026 (tan_test): Likewise.
15027 (tan_test_tonearest): Likewise.
15028 (tan_test_towardzero): Likewise.
15029 (tan_test_downward): Likewise.
15030 (tan_test_upward): Likewise.
15031 (tanh_test): Likewise.
15032 (tgamma_test): Likewise.
15033 (trunc_test): Likewise.
15034 (y0_test): Likewise.
15035 (y1_test): Likewise.
15036 (yn_test): Likewise.
15037 (significand_test): Likewise.
15038
e6b6a857
JM
15039 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
15040 individual tests in comment.
15041 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
15042 (prev_max_error): New variable.
15043 (prev_real_max_error): Likewise.
15044 (prev_imag_max_error): Likewise.
15045 (compare_ulp_data): Don't refer to test names in comment.
15046 (find_test_ulps): Remove function.
15047 (find_function_ulps): Likewise.
15048 (find_complex_function_ulps): Likewise.
15049 (init_max_error): Take function name as argument. Look up ulps
15050 for that function.
15051 (print_ulps): Remove function.
15052 (print_max_error): Use prev_max_error instead of calling
15053 find_function_ulps.
15054 (print_complex_max_error): Use prev_real_max_error and
15055 prev_imag_max_error instead of calling find_complex_function_ulps.
15056 (check_float_internal): Take max_ulp parameter instead of calling
15057 find_test_ulps. Don't call print_ulps.
15058 (check_float): Update call to check_float_internal.
15059 (check_complex): Update calls to check_float_internal.
15060 (START): Pass argument to init_max_error.
15061 * math/gen-libm-test.pl (%results): Don't include "kind"
15062 information.
15063 (parse_ulps): Don't handle ulps of individual tests.
15064 (print_ulps_file): Likewise.
15065 (output_ulps): Likewise.
15066 * math/README.libm-test: Update.
15067 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
15068 individual tests.
15069 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
15070 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
15071 * sysdeps/arm/libm-test-ulps: Likewise.
15072 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
15073 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
15074 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
15075 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
15076 * sysdeps/microblaze/libm-test-ulps: Likewise.
15077 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
15078 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15079 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15080 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
15081 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15082 * sysdeps/sh/libm-test-ulps: Likewise.
15083 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15084 * sysdeps/tile/libm-test-ulps: Likewise.
15085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15086
45adef3c
JM
150872014-03-04 Joseph Myers <joseph@codesourcery.com>
15088
15089 * math/libm-test.inc (print_complex_max_error): Check separately
15090 whether real and imaginary errors are within allowed range and
15091 pass 0 to print_complex_function_ulps instead of value within
15092 allowed range.
15093
000232b9
SP
150942014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15095
d4b17258
SP
15096 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
15097 formatting.
15098 (get_handles_fopen): Likewise.
15099 (do_write_test): Likewise.
15100
091eff71
SP
15101 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
15102
fa3cd248
SP
15103 * libio/fileops.c (do_ftell): Use cached offset when
15104 available.
15105 * libio/iofwide.c (do_ftell_wide): Likewise.
15106 * libio/iofdopen.c (_IO_new_fdopen): Don't use
15107 _IO_file_attach.
15108 * libio/wfileops.c (_IO_fwide): Don't cache offset.
15109
000232b9
SP
15110 [BZ #16532]
15111 * libio/libioP.h (get_file_offset): New function.
15112 * libio/fileops.c (get_file_offset): Likewise.
15113 (do_ftell): Likewise.
15114 (_IO_new_file_seekoff): Split out ftell logic.
15115 * libio/wfileops.c (do_ftell_wide): Likewise.
15116 (_IO_wfile_seekoff): Split out ftell logic.
15117 * libio/tst-ftell-active-handler.c: New test case.
15118 * libio/Makefile (tests): Add it.
15119
116f4d1a
RM
151202014-03-03 Roland McGrath <roland@hack.frob.com>
15121
15122 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
15123 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
15124
532a6035
SP
151252014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15126
15127 [BZ #16639]
15128 * nscd/connections.c (nscd_init): Call do_exit.
15129 (start_threads): Call do_exit and notify_parent.
15130 (begin_drop_privileges): Call do_exit.
15131 (finish_drop_privileges): Likewise.
15132 * nscd/selinux.c (preserve_capabilities): Likewise.
15133 (install_real_capabilities): Likewise.
15134 (nscd_selinux_enabled): Likewise.
15135 (avc_create_thread): Likewise.
15136 (avc_alloc_lock): Likewise.
15137 (nscd_avc_init): Likewise.
15138 * nscd/nscd.c (parent_fd): New static variable.
15139 (main): Create a pipe between parent and child processes.
15140 Skip closing parent_fd.
15141 (monitor_child): New function.
15142 (do_exit): Likewise.
15143 (notify_parent): Likewise.
15144 * nscd/nscd.h (notify_parent): Likewise.
15145 (do_exit): Likewise.
15146
d6285c9f
CD
151472014-03-03 Carlos O'Donell <carlos@redhat.com>
15148
15149 * malloc/malloc.c (__libc_calloc): Revert last change.
15150
2b85d2a0
AZ
151512014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15152
15153 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15154
c7debbdf
RS
151552014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15156
15157 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
15158 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
15159 implementation.
15160 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15161 (__libc_ifunc_impl_list): Likewise.
15162 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
15163 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
15164 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
15165 * string/strrchr.c: Define STRRCHR.
15166
235eed86
OB
151672014-02-28 Ondřej Bílka <neleai@seznam.cz>
15168
15169 * benchtest/bench-strtok.c (simple_strtok): Delete.
15170 (strtok_string): Use as benchmark.
15171 * string/strtok (STRTOK): New macro.
15172
8e25d1e7
CD
151732014-02-28 Carlos O'Donell <carlos@redhat.com>
15174
ef563f92
CD
15175 * manual/threads.texi: Add header and standard comments to all
15176 functions.
15177
8e25d1e7
CD
15178 * elf/dl-lookup.c (check_match): New function.
15179 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
15180 (do_lookup_x): Remove nested function check_match. Use non-nested
15181 function check_match.
15182
ff71cc37
RM
151832014-02-28 Roland McGrath <roland@hack.frob.com>
15184
f08e9a26
RM
15185 * csu/Makefile (generated, before-compile): Use += rather than =.
15186 * catgets/Makefile (generated, generated-dirs): Likewise.
15187 * debug/Makefile (generated): Likewise.
15188 * dlfcn/Makefile (generated): Likewise.
15189 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
15190 * iconvdata/Makefile (before-compile, generated): Likewise.
15191 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
15192 * libio/Makefile (generated): Likewise.
15193 * malloc/Makefile (generated): Likewise.
15194 * manual/Makefile (generated, generated-dirs): Likewise.
15195 * misc/Makefile (generated): Likewise.
15196 * posix/Makefile (generated): Likewise.
15197 * resolv/Makefile (generated): Likewise.
15198 * sunrpc/Makefile (generated, generated-dirs): Likewise.
15199 * timezone/Makefile (generated, generated-dirs): Likewise.
15200
ff71cc37
RM
15201 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
15202
fe13a20c
AZ
152032014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15204
57f41c40
AS
15205 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
15206 power8 implementation.
15207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
15208 file: POWER8 llround ifunc implementation.
15209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
15210 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
15211 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
15212 POWER8 llround implementation.
15213
57f41c40
AS
15214 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
15215 power8 implementation.
15216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
15217 file: POWER8 llrint ifunc implementation.
15218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
15219 Add POWER8 implementation.
1ad8950a
AZ
15220 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
15221 POWER8 llrint implementation.
15222
57f41c40
AS
15223 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
15224 power8 implementation.
15225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
15226 file: POWER8 finite ifunc implementation.
15227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
15228 Add POWER8 implementation.
cac626d6
AZ
15229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
15230 Likewise.
15231 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
15232 POWER8 finite implementation.
15233 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
15234
57f41c40
AS
15235 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
15236 power8 implementation.
15237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
15238 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
15239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
15240 POWER8 implementation.
15241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
15242 Likewise.
57f41c40
AS
15243 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
15244 isinf implementation.
4393fc11
AZ
15245 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
15246
57f41c40
AS
15247 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
15248 (INIT_ARCH): Add hwcap2 initialization.
15249 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
15250 power8 implementation.
15251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
15252 file: POWER8 isnan ifunc implementation.
487972ae
AZ
15253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
15254 POWER8 implementation.
15255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
15256 Likewise.
57f41c40
AS
15257 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
15258 isnan implementation.
487972ae
AZ
15259 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
15260
7d92b787
JY
152612014-02-27 Joey Ye <joey.ye@arm.com>
15262
15263 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
15264 (_FP_NANFRAC_Q): Set to zero.
15265
1cadc858
SP
152662014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15267
15268 [BZ #16623]
15269 * math/auto-libm-test-in: New test inputs.
15270 * math/auto-libm-test-out: Regenerate.
15271 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
15272 and DA.
15273 (__cos): Likewise.
15274 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15275
f8c17e79
JM
152762014-02-27 Joseph Myers <joseph@codesourcery.com>
15277
15278 * scripts/evaluate-test.sh: Take new argument indicating whether
15279 failure is expected.
15280 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
15281 indicating whether failure is expected.
15282 * conform/Makefile (test-xfail-run-conformtest): New variable.
15283 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
15284 level.
15285 * posix/Makefile (test-xfail-annexc): New variable.
15286 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
15287
a5f891ac
JM
152882014-02-26 Joseph Myers <joseph@codesourcery.com>
15289
15290 * argp/Makefile: Include Makeconfig immediately after defining
15291 subdir.
15292 * assert/Makefile: Likewise.
15293 * benchtests/Makefile: Likewise.
15294 * catgets/Makefile: Likewise.
15295 * conform/Makefile: Likewise.
15296 * crypt/Makefile: Likewise.
15297 * csu/Makefile: Likewise.
15298 (all): Remove target.
15299 * ctype/Makefile: Include Makeconfig immediately after defining
15300 subdir.
15301 * debug/Makefile: Likewise.
15302 * dirent/Makefile: Likewise.
15303 * dlfcn/Makefile: Likewise.
15304 * gmon/Makefile: Likewise.
15305 * gnulib/Makefile: Likewise.
15306 * grp/Makefile: Likewise.
15307 * gshadow/Makefile: Likewise.
15308 * hesiod/Makefile: Likewise.
15309 * hurd/Makefile: Likewise.
15310 (all): Remove target.
15311 * iconvdata/Makefile: Include Makeconfig immediately after
15312 defining subdir.
15313 * inet/Makefile: Likewise.
15314 * intl/Makefile: Likewise.
15315 * io/Makefile: Likewise.
15316 * libio/Makefile: Likewise.
15317 (all): Remove target.
15318 * locale/Makefile: Include Makeconfig immediately after defining
15319 subdir.
15320 * login/Makefile: Likewise.
15321 * mach/Makefile: Likewise.
15322 (all): Remove target.
15323 * malloc/Makefile: Include Makeconfig immediately after defining
15324 subdir.
15325 (all): Remove target.
15326 * manual/Makefile: Include Makeconfig immediately after defining
15327 subdir.
15328 * math/Makefile: Likewise.
15329 * misc/Makefile: Likewise.
15330 * nis/Makefile: Likewise.
15331 * nss/Makefile: Likewise.
15332 * po/Makefile: Likewise.
15333 (all): Remove target.
15334 * posix/Makefile: Include Makeconfig immediately after defining
15335 subdir.
15336 * pwd/Makefile: Likewise.
15337 * resolv/Makefile: Likewise.
15338 * resource/Makefile: Likewise.
15339 * rt/Makefile: Likewise.
15340 * setjmp/Makefile: Likewise.
15341 * shadow/Makefile: Likewise.
15342 * signal/Makefile: Likewise.
15343 * socket/Makefile: Likewise.
15344 * soft-fp/Makefile: Likewise.
15345 * stdio-common/Makefile: Likewise.
15346 * stdlib/Makefile: Likewise.
15347 * streams/Makefile: Likewise.
15348 * string/Makefile: Likewise.
15349 * sunrpc/Makefile: Likewise.
15350 (all): Remove target.
15351 * sysvipc/Makefile: Include Makeconfig immediately after defining
15352 subdir.
15353 * termios/Makefile: Likewise.
15354 * time/Makefile: Likewise.
15355 * timezone/Makefile: Likewise.
15356 (all): Remove target.
15357 * wcsmbs/Makefile: Include Makeconfig immediately after defining
15358 subdir.
15359 * wctype/Makefile: Likewise.
15360
5b456e9d
SE
153612014-02-26 Steve Ellcey <sellcey@mips.com>
15362
15363 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
15364 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
15365 (libc_feholdexcept_setround_mips): Ditto.
15366 (libc_feholdsetround): New.
15367 (libc_feholdsetroundf): New.
15368 (libc_feholdsetroundl): New.
15369 (libc_feupdateenv_test_mips): New.
15370 (libc_feupdateenv_test): New.
15371 (libc_feupdateenv_testf): New.
15372 (libc_feupdateenv_testl): New.
15373 (libc_feresetround): New.
15374 (libc_feresetroundf): New.
15375 (libc_feresetroundl): New.
15376 (libc_fetestexcept_mips): New.
15377 (libc_fetestexcept): New.
15378 (libc_fetestexceptf): New.
15379 (libc_fetestexceptl): New.
15380 (HAVE_RM_CTX): New.
15381 (libc_feholdexcept_setround_mips_ctx): New.
15382 (libc_feholdexcept_setround_ctx): New.
15383 (libc_feholdexcept_setroundf_ctx): New.
15384 (libc_feholdexcept_setroundl_ctx): New.
15385 (libc_fesetenv_mips_ctx): New.
15386 (libc_fesetenv_ctx): New.
15387 (libc_fesetenv_ctxf): New.
15388 (libc_fesetenv_ctxl): New.
15389 (libc_feupdateenv_mips_ctx): New.
15390 (libc_feupdateenv_ctx): New.
15391 (libc_feupdateenvf_ctx): New.
15392 (libc_feupdateenvl_ctx): New.
15393 (libc_feholdsetround_mips_ctx): New.
15394 (libc_feholdsetround_ctx): New.
15395 (libc_feholdsetroundf_ctx): New.
15396 (libc_feholdsetroundl_ctx): New.
15397 (libc_feresetround_mips_ctx): New.
15398 (libc_feresetround_ctx): New.
15399 (libc_feresetroundf_ctx): New.
15400 (libc_feresetroundl_ctx): New.
15401
085d0e35
CD
154022014-02-26 Carlos O'Donell <carlos@redhat.com>
15403
f067bf1f
CD
15404 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
15405
085d0e35
CD
15406 * manual/ipc.texi: New file.
15407 * manual/Makefile (chapters): Add ipc.
15408 * manual/job.texi: Add "Inter-Process Communication" to next.
15409 * manual/process.texi: Add "Inter-Process Communication" to prev.
15410
86e58c08
AZ
154112014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15412
15413 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15414
4248f0da
OB
154152014-02-26 Ondřej Bílka <neleai@seznam.cz>
15416
15417 * malloc/malloc.c (__libc_calloc): Simplify implementation.
15418
cf822e3c
OB
15419 * manual/arith.texi: Fix spaces after sentences.
15420 * manual/charset.texi: Likewise.
15421 * manual/errno.texi: Likewise.
15422 * manual/install.texi: Likewise.
15423 * manual/llio.texi: Likewise.
15424 * manual/locale.texi: Likewise.
15425 * manual/maint.texi: Likewise.
15426 * manual/math.texi: Likewise.
15427 * manual/memory.texi: Likewise.
15428 * manual/message.texi: Likewise.
15429 * manual/probes.texi: Likewise.
15430 * manual/resource.texi: Likewise.
15431 * manual/signal.texi: Likewise.
15432 * manual/socket.texi: Likewise.
15433 * manual/stdio.texi: Likewise.
15434 * manual/string.texi: Likewise.
15435 * manual/time.texi: Likewise.
15436 * manual/users.texi: Likewise.
15437
ade40b10
CD
154382014-02-25 Carlos O'Donell <carlos@redhat.com>
15439
15440 [BZ #16632]
15441 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
15442 _DEFAULT_SOURCE is defined.
15443
d0503676
CD
154442014-02-25 Ulrich Drepper <drepper@gmail.com>
15445 Carlos O'Donell <carlos@redhat.com>
15446
15447 [BZ #16613]
15448 * elf/dl-tls.c (_dl_count_modids): New function.
15449 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
15450 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
15451 audit library and increment generation counter.
15452 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
15453 * elf/tst-audit9.c: New file.
15454 * elf/tst-auditmod9a.c: New file.
15455 * elf/tst-auditmod9b.c: New file.
15456 * elf/Makefile: Add rules to build and run tst-audit9.
15457
4cbf380c
FW
154582014-02-25 Florian Weimer <fweimer@redhat.com>
15459
15460 [BZ #15347]
15461 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
15462
80a56cc3
WN
154632014-02-25 Will Newton <will.newton@linaro.org>
15464
15465 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
15466 (__longjmp): Restore sp and lr before restoring callee
15467 saved registers. Add longjmp and longjmp_target
15468 SystemTap probe point.
15469 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
15470 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
15471 Define to zero to match jmpbuf layout.
15472 * sysdeps/arm/setjmp.S: Include stap-probe.h.
15473 (__sigsetjmp): Save sp and lr before saving callee
15474 saved registers. Add setjmp SystemTap probe point.
15475
3ea0f74e
SL
154762014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
15477
15478 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15479
b04acb26
AS
154802014-02-24 Andreas Schwab <schwab@suse.de>
15481
15482 [BZ #15804]
15483 * elf/pldd.c (wait_for_ptrace_stop): New function.
15484 (main): Call it after attaching.
15485
098ad55c
RM
154862014-02-22 Roland McGrath <roland@hack.frob.com>
15487
d4ec6ae1
RM
15488 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
15489 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
15490 Versions files is now verboten.
15491 * hurd/Versions (libc: GLIBC_2.0):
15492 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
15493 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
15494 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
15495 * mach/Versions: Likewise.
15496
098ad55c
RM
15497 * csu/Versions: Remove unused %include.
15498 * resolv/Versions: Likewise.
15499
acd7f096
JM
155002014-02-21 Joseph Myers <joseph@codesourcery.com>
15501
f0881698
JM
15502 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
15503 ($(objpfx)check-local-headers.out): Likewise.
15504 ($(objpfx)begin-end-check.out): Likewise.
15505 * Makerules (check-abi-%.out): Likewise.
15506 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
15507 ($(objpfx)test2.cat): Likewise.
15508 ($(objpfx)de/libc.cat): Likewise.
15509 ($(objpfx)test-gencat.out): Likewise.
15510 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
15511 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
15512 ($(objpfx)noload-mem): Likewise.
15513 ($(objpfx)tst-pathopt.out): Likewise.
15514 ($(objpfx)tst-rtld-load-self.out): Likewise.
15515 ($(objpfx)tst-array1-cmp.out): Likewise.
15516 ($(objpfx)tst-array1-static-cmp.out): Likewise.
15517 ($(objpfx)tst-array2-cmp.out): Likewise.
15518 ($(objpfx)tst-array3-cmp.out): Likewise.
15519 ($(objpfx)tst-array4-cmp.out): Likewise.
15520 ($(objpfx)tst-array5-cmp.out): Likewise.
15521 ($(objpfx)tst-array5-static-cmp.out): Likewise.
15522 ($(objpfx)check-textrel.out): Likewise.
15523 ($(objpfx)check-execstack.out): Likewise.
15524 ($(objpfx)check-localplt.out): Likewise.
15525 ($(objpfx)order2-cmp.out): Likewise.
15526 ($(objpfx)tst-leaks1-mem): Likewise.
15527 ($(objpfx)tst-leaks1-static-mem): Likewise.
15528 ($(objpfx)tst-initorder-cmp.out): Likewise.
15529 ($(objpfx)tst-initorder2-cmp.out): Likewise.
15530 ($(objpfx)tst-unused-dep.out): Likewise.
15531 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
15532 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
15533 * iconv/Makefile (test-iconvconfig): Likewise.
15534 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
15535 ($(objpfx)iconv-test.out): Likewise.
15536 ($(objpfx)tst-tables.out): Likewise.
15537 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
15538 ($(objpfx)tst-gettext.out): Likewise.
15539 ($(objpfx)tst-translit.out): Likewise.
15540 ($(objpfx)tst-gettext2.out): Likewise.
15541 ($(objpfx)tst-gettext4.out): Likewise.
15542 ($(objpfx)tst-gettext6.out): Likewise.
15543 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
15544 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
15545 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
15546 ($(objpfx)tst-fopenloc-mem.out): Likewise.
15547 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
15548 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
15549 * posix/Makefile ($(objpfx)globtest.out): Likewise.
15550 ($(objpfx)wordexp-tst.out): Likewise.
15551 ($(objpfx)annexc.out): Likewise.
15552 ($(objpfx)tst-fnmatch-mem): Likewise.
15553 ($(objpfx)bug-regex2-mem): Likewise.
15554 ($(objpfx)bug-regex14-mem): Likewise.
15555 ($(objpfx)bug-regex21-mem): Likewise.
15556 ($(objpfx)bug-regex31-mem): Likewise.
15557 ($(objpfx)tst-vfork3-mem): Likewise.
15558 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15559 ($(objpfx)tst-pcre-mem): Likewise.
15560 ($(objpfx)tst-boost-mem): Likewise.
15561 ($(objpfx)tst-getconf.out): Likewise.
15562 ($(objpfx)bug-ga2-mem): Likewise.
15563 ($(objpfx)bug-glob2-mem): Likewise.
15564 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
15565 ($(objpfx)mtrace-tst-leaks2): Likewise.
15566 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
15567 ($(objpfx)tst-printf.out): Likewise.
15568 ($(objpfx)tst-setvbuf1.out): Likewise.
15569 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
15570 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
15571 ($(objpfx)tst-fmtmsg.out): Likewise.
15572 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
15573 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
15574
acd7f096
JM
15575 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
15576 * bits/sigaction.h [__USE_MISC]: Likewise.
15577 * bits/waitstatus.h: Update #endif comments.
15578 * ctype/ctype.h: Likewise.
15579 * dirent/dirent.h: Likewise.
15580 [__USE_MISC]: Remove redundant conditionals.
15581 * grp/grp.h: Update #endif comments.
15582 [__USE_GNU]: Remove redundant conditionals.
15583 [__USE_MISC]: Likewise.
15584 * inet/netinet/in.h [__USE_GNU]: Likewise.
15585 * io/sys/stat.h [__USE_MISC]: Likewise.
15586 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
15587 * libio/bits/stdio.h: Update #endif comments.
15588 [__USE_MISC]: Remove redundant conditionals.
15589 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
15590 * libio/stdio.h: Update #endif comments.
15591 [__USE_MISC]: Remove redundant conditionals.
15592 * math/bits/math-finite.h [__USE_MISC]: Likewise.
15593 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
15594 * math/math.h: Update #else and #endif comments.
15595 [__USE_MISC]: Remove redundant conditionals.
15596 * misc/sys/uio.h: Update #endif comments.
15597 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
15598 * posix/glob.h [__USE_MISC]: Likewise.
15599 * posix/sys/types.h: Update #endif comments.
15600 [__USE_MISC]: Remove redundant conditionals.
15601 * posix/sys/wait.h: Update #endif comments.
15602 [__USE_MISC]: Remove redundant conditionals.
15603 * posix/unistd.h: Update #endif comments.
15604 [__USE_MISC]: Remove redundant conditionals.
15605 * pwd/pwd.h [__USE_GNU]: Likewise.
15606 [__USE_MISC]: Likewise.
15607 * resolv/netdb.h [__USE_GNU]: Likewise.
15608 * signal/signal.h: Update #endif comments.
15609 [__USE_MISC]: Remove redundant conditionals.
15610 * stdlib/stdlib.h: Update #else and #endif comments.
15611 [__USE_MISC]: Remove redundant conditionals.
15612 [__USE_GNU]: Likewise.
15613 * string/bits/string2.h [__USE_MISC]: Likewise.
15614 * string/string.h: Update #endif comments.
15615 [__USE_MISC]: Remove redundant conditionals.
15616 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
15617 Likewise.
15618 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
15619 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
15620 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
15621 Likewise.
15622 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
15623 Likewise.
15624 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
15625 comments.
15626 [__USE_MISC]: Remove redundant conditionals.
15627 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
15628 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
15629 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
15630 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
15631 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
15632 Likewise.
15633 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
15634 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
15635 Likewise.
15636 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
15637 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
15638 Likewise.
15639 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
15640 Likewise.
15641 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
15642 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
15643 Likewise.
15644 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
15645 Likewise.
15646 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
15647 * sysdeps/x86/bits/string.h: Update #endif comments.
15648 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
15649 conditionals.
15650 * time/sys/time.h: Update #endif comments.
15651 * time/time.h: Likewise.
15652 [__USE_MISC]: Remove redundant conditionals.
15653
a5d82e4e
YG
156542014-02-21 Yury Gribov <y.gribov@samsung.com>
15655
15656 [BZ #16600]
15657 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
15658
9a80491d
AS
156592014-02-21 Andreas Schwab <schwab@linux-m68k.org>
15660
15661 * Versions.def (librt): Add GLIBC_2.17.
15662
105fa381
AC
156632014-02-21 Adam Conrad <adconrad@0c3.net>
15664
15665 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
15666 synonym for _SYS_AUXV_H to allow direct inclusion.
15667 * sysdeps/sparc/bits/hwcap.h: Likewise.
15668 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
15669 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
15670 * sysdeps/sparc/sysdep.h: Likewise.
15671
b8cd1c4e
SP
156722014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15673
15674 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
15675
bd939d23
RS
156762014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15677
15678 * benchtests/bench-strrchr.c: Print length instead of position.
15679
5d7b57ca
JM
156802014-02-20 Joseph Myers <joseph@codesourcery.com>
15681
bc688c10
JM
15682 [BZ #16611]
15683 * sysdeps/unix/sysv/linux/kernel-features.h
15684 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
15685 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
15686 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
15687 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
15688 Likewise.
15689 [__i386__ || __powerpc__ || __sh__ || __sparc__]
15690 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15691 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
15692 (__ASSUME_SENDMMSG): Define instead of using previous
15693 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
15694 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15695 (__ASSUME_SENDMMSG_SYSCALL): Define.
15696 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15697 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
15698 Likewise.
15699 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15700 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15701 Likewise.
15702 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15703 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15704 Likewise.
15705 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
15706 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
15707 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
15708 [__ASSUME_SENDMMSG]: Change conditionals to
15709 [__ASSUME_SENDMMSG_SOCKETCALL].
15710 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15711 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
15712 Define.
15713 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15714 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
15715 Likewise.
15716 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
15717 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
15718 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
15719 [!__ASSUME_SENDMMSG]: Change conditional to
15720 [!__ASSUME_SENDMMSG_SOCKETCALL].
15721 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15722 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15723 Define.
15724
0e31b18c
JM
15725 [BZ #16610]
15726 * sysdeps/unix/sysv/linux/kernel-features.h
15727 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
15728 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
15729 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
15730 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
15731 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15732 [__i386__ || __sparc__]
15733 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15734 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
15735 (__ASSUME_RECVMMSG): Define instead of using previous
15736 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
15737 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15738 (__ASSUME_RECVMMSG_SYSCALL): Define.
15739 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15740 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15741 Likewise.
15742 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15743 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15744 Likewise.
15745 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15746 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15747 Likewise.
15748 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
15749 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15750 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15751 [__ASSUME_RECVMMSG]: Change condition to
15752 [__ASSUME_RECVMMSG_SOCKETCALL].
15753 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15754 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15755 Define.
15756 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15757 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15758 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15759 Likewise.
15760 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
15761 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15762 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15763 [!__ASSUME_RECVMMSG]: Change condition to
15764 [!__ASSUME_RECVMMSG_SOCKETCALL].
15765 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15766 (__ASSUME_RECVMMSG_SYSCALL): Define.
15767
dd481ccf
JM
15768 [BZ #16609]
15769 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
15770 __powerpc__ || __s390__ || __sh__ || __sparc__]
15771 (__ASSUME_SOCKETCALL): Define.
15772 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
15773 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
15774 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
15775 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
15776 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15777 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
15778 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
15779 (__ASSUME_ACCEPT4): Define instead of using previous
15780 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
15781 __powerpc__ || __sparc__ || __s390__)] condition.
15782 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15783 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15784 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
15785 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15786 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15787 [!__ASSUME_ACCEPT4]: Change condition to
15788 [!__ASSUME_ACCEPT4_SOCKETCALL].
15789 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15790 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
15791 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
15792 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15793 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
15794 __ASSUME_ACCEPT4_SYSCALL.
15795 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
15796 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
15797 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15798 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
15799 __ASSUME_ACCEPT4_SYSCALL.
15800 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
15801 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15802 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15803 [__ASSUME_ACCEPT4]: Change condition to
15804 [__ASSUME_ACCEPT4_SOCKETCALL].
15805 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15806 (__ASSUME_SOCKETCALL): Define.
15807 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
15808 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15809 (__ASSUME_SOCKETCALL): Define.
15810 (__ASSUME_ACCEPT4): Remove.
15811 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
15812 Define.
15813 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15814 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
15815 Likewise.
15816 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15817 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15818
5d7b57ca
JM
15819 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
15820 macro.
15821 (HWCAP_ARM_LPAE): Likewise.
15822 (HWCAP_ARM_EVTSTRM): Likewise.
15823 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
15824 Add vpfd32, lpae and evtstrm.
15825 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
15826 Increase to 22.
15827
63689d61
JM
158282014-02-19 Joseph Myers <joseph@codesourcery.com>
15829
15830 * math/auto-libm-test-in: Add tests of clog10.
15831 * math/auto-libm-test-out: Regenerated.
15832 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
15833 * sysdeps/i386/fpu/libm-test-ulps: Update.
15834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15835
ab09bf61
AS
158362014-02-18 Andreas Schwab <schwab@suse.de>
15837
15838 [BZ #16574]
15839 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
15840 Store non-zero if the second buffer was newly allocated.
15841 (send_dg): Likewise.
15842 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
15843 to send_vc and send_dg.
15844 (res_nsend): Pass NULL for ansp2_malloced.
15845 * resolv/res_query.c (__libc_res_nquery): Add parameter
15846 answerp2_malloced and pass it down to __libc_res_nsend.
15847 (res_nquery): Pass additional NULL to __libc_res_nquery.
15848 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
15849 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
15850 second answer buffer if answerp2_malloced was set.
15851 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
15852 (__libc_res_nquerydomain): Add parameter
15853 answerp2_malloced and pass it down to __libc_res_nquery.
15854 (res_nquerydomain): Pass additional NULL to
15855 __libc_res_nquerydomain.
15856 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
15857 additional NULL to __libc_res_nsend and __libc_res_nquery.
15858 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
15859 additional NULL to __libc_res_nsearch.
15860 (_nss_dns_gethostbyname4_r): Revert last change. Use new
15861 parameter of __libc_res_nsearch to check for separately allocated
15862 second buffer.
15863 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
15864 __libc_res_nquery.
15865 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
15866 additional NULL to __libc_res_nquery.
15867 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
15868 __libc_res_nsearch.
15869 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
15870 * include/resolv.h: Update prototypes of __libc_res_nquery,
15871 __libc_res_nsearch, __libc_res_nsend.
15872
a4fb7861
JM
158732014-02-18 Joseph Myers <joseph@codesourcery.com>
15874
c6af2d89
JM
15875 * math/auto-libm-test-in: Add tests of fma.
15876 * math/auto-libm-test-out: Regenerated.
15877 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
15878 (fma_towardzero_test_data): Likewise.
15879 (fma_downward_test_data): Likewise.
15880 (fma_upward_test_data): Likewise.
15881 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
15882 mpc_mode.
15883 (rounding_modes): Add values for new field.
15884 (func_calc_method): Add value mpfr_fff_f.
15885 (func_calc_desc): Add mpfr_fff_f union field.
15886 (test_function): Add field exact_args.
15887 (FUNC): Add macro argument EXACT_ARGS.
15888 (FUNC_mpfr_f_f): Update call to FUNC.
15889 (FUNC_mpfr_f_f): Likewise.
15890 (FUNC_mpfr_ff_f): Likewise.
15891 (FUNC_mpfr_if_f): Likewise.
15892 (FUNC_mpc_c_f): Likewise.
15893 (FUNC_mpc_c_c): Likewise.
15894 (test_functions): Add fma. Update calls to FUNC.
15895 (handle_input_arg): Add argument exact_args.
15896 (add_test): Update call to handle_input_arg.
15897 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
15898 (output_for_one_input_case): Update call to calc_generic_results.
15899 Recalculate exact zero results in each rounding mode.
15900
a4fb7861
JM
15901 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
15902 non-negative before setting low bit.
15903 * math/auto-libm-test-in: Mark one asin test possibly having
15904 spurious underflow.
15905 * math/auto-libm-test-out: Regenerated.
15906 * sysdeps/i386/fpu/libm-test-ulps: Update.
15907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15908
ef114eaf
DH
159092014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
15910
2b7f4f2c
SP
15911 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
15912 * sysdeps/unix/sysv/linux/microblaze: Move directory from
15913 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
15914 * README: Add missing listing for microblaze*-*-linux-gnu.
15915
8125aedc
AM
159162014-02-16 Ondřej Bílka <neleai@seznam.cz>
15917
15918 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
15919 duplicate code
15920
c70a4b1d
MF
159212014-02-16 Mike Frysinger <vapier@gentoo.org>
15922
15923 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
15924 * sysdeps/unix/sysv/linux/ia64: Move directory from
15925 ports/sysdeps/unix/sysv/linux/ia64.
15926 * README: Update listing for ia64-*-linux-gnu.
15927
591aeaf7
TD
159282014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
15929 Joseph Myers <joseph@codesourcery.com>
15930
15931 * Makeconfig (test-name): New variable.
15932 (evaluate-test): Likewise.
15933 * Makerules (do-test-clean): Remove .test-result files.
15934 (common-mostlyclean): Likewise.
15935 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
15936 * scripts/evaluate-test.sh: New file.
15937
6e89caf1
JM
159382014-02-14 Joseph Myers <joseph@codesourcery.com>
15939
7f98f180
JM
15940 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
15941 separate $(objpfx)tst-fopenloc-cmp.out and
15942 $(objpfx)tst-fopenloc-mem.out targets.
15943 (tests): Update dependencies.
15944 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
15945 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
15946 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
15947 (tst-rxspencer-no-utf8-ARGS): New variable.
15948 (tst-rxspencer-no-utf8-ENV): Likewise.
15949 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
15950 instead of $(objpfx)tst-rxspencer-mem.
15951 ($(objpfx)tst-rxspencer-mem): Change target to
15952 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
15953 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
15954 * posix/tst-rxspencer-no-utf8.c: New file.
15955
6e89caf1
JM
15956 * elf/Makefile ($(objpfx)order.out): Remove rule.
15957 [$(run-built-tests) = yes] (tests): Depend on
15958 $(objpfx)order-cmp.out.
15959 ($(objpfx)order-cmp.out): New rule.
15960 [$(run-built-tests) = yes] (tests): Depend on
15961 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
15962 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
15963 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
15964 $(objpfx)tst-array5-static-cmp.out.
15965 ($(objpfx)tst-array1.out): Remove rule.
15966 ($(objpfx)tst-array1-cmp.out): New rule.
15967 ($(objpfx)tst-array1-static.out): Remove rule.
15968 ($(objpfx)tst-array1-static-cmp.out): New rule.
15969 ($(objpfx)tst-array2.out): Remove rule.
15970 ($(objpfx)tst-array2-cmp.out): New rule.
15971 ($(objpfx)tst-array3.out): Remove rule.
15972 ($(objpfx)tst-array3-cmp.out): New rule.
15973 ($(objpfx)tst-array4.out): Remove rule.
15974 ($(objpfx)tst-array4-cmp.out): New rule.
15975 ($(objpfx)tst-array5.out): Remove rule.
15976 ($(objpfx)tst-array5-cmp.out): New rule.
15977 ($(objpfx)tst-array5-static.out): Remove rule.
15978 ($(objpfx)tst-array5-static-cmp.out): New rule.
15979 [$(run-built-tests) = yes] (tests): Depend on
15980 $(objpfx)order2-cmp.out.
15981 ($(objpfx)order2.out): Remove rule.
15982 ($(objpfx)order2-cmp.out): New rule.
15983 ($(objpfx)tst-initorder.out): Remove rule.
15984 [$(run-built-tests) = yes] (tests): Depend on
15985 $(objpfx)tst-initorder-cmp.out.
15986 ($(objpfx)tst-initorder-cmp.out): New rule.
15987 ($(objpfx)tst-initorder2.out): Remove rule.
15988 [$(run-built-tests) = yes] (tests): Depend on
15989 $(objpfx)tst-initorder2-cmp.out.
15990 ($(objpfx)tst-initorder2-cmp.out): New rule.
15991 [$(run-built-tests) = yes] (tests): Depend on
15992 $(objpfx)tst-unused-dep-cmp.out.
15993 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
15994 ($(objpfx)tst-unused-dep-cmp.out): New rule.
15995 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
15996 on $(objpfx)tst-setvbuf1-cmp.out.
15997 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
15998 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
15999 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
16000 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
16001 ($(objpfx)tst-svc.out): Remove rule.
16002 ($(objpfx)tst-svc-cmp.out): New rule.
16003
ed9a38e2
JM
160042014-02-13 Joseph Myers <joseph@codesourcery.com>
16005
16006 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
16007 * ctype/ctype.h [__USE_MISC]: Likewise.
16008 * dirent/dirent.h [__USE_MISC]: Likewise.
16009 * grp/grp.h [__USE_MISC]: Likewise.
16010 * io/fcntl.h [__USE_MISC]: Likewise.
16011 * io/sys/stat.h [__USE_MISC]: Likewise.
16012 * libio/stdio.h [__USE_MISC]: Likewise.
16013 * posix/unistd.h [__USE_MISC]: Likewise.
16014 * pwd/pwd.h [__USE_MISC]: Likewise.
16015 * stdlib.h [__USE_MISC]: Likewise.
16016 * string/bits/string2.h [__USE_MISC]: Likewise.
16017 * string/string.h [__USE_MISC]: Likewise.
16018 * time/time.h [__USE_MISC]: Likewise.
16019
d6680619
AS
160202014-02-13 Andreas Schwab <schwab@suse.de>
16021
16022 [BZ #16574]
16023 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
16024 second answer buffer if it was separately allocated.
16025
ace614b8
JM
160262014-02-12 Joseph Myers <joseph@codesourcery.com>
16027
743151ae
JM
16028 * sysdeps/mips/math-tests.h: Include <features.h>.
16029 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
16030 (ROUNDING_TESTS_long_double): Do not define.
16031 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
16032 (EXCEPTION_TESTS_long_double): Likewise.
16033 * sysdeps/mips/mips64/libm-test-ulps: Update.
16034
498afc54
JM
16035 * include/features.h (__USE_BSD): Remove macro definitions.
16036 (__USE_SVID): Likewise.
16037 (_BSD_SOURCE): Likewise.
16038 (_SVID_SOURCE): Likewise.
16039 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
16040 from definition of _DEFAULT_SOURCE.
16041 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
16042 [_DEFAULT_SOURCE].
16043 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
16044 * bits/mman.h [__USE_BSD]: Likewise.
16045 * bits/termios.h [__USE_BSD]: Likewise.
16046 * bits/waitstatus.h [__USE_BSD]: Likewise.
16047 * ctype/ctype.h [__USE_SVID]: Likewise.
16048 * dirent/dirent.h [__USE_BSD]: Likewise.
16049 * grp/grp.h [__USE_SVID]: Likewise.
16050 [__USE_BSD]: Likewise.
16051 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
16052 * io/fcntl.h [__USE_BSD]: Likewise.
16053 * io/ftw.h [__USE_BSD]: Likewise.
16054 * io/sys/stat.h [__USE_BSD]: Likewise.
16055 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
16056 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
16057 * libio/stdio.h [__USE_SVID]: Likewise.
16058 [__USE_BSD]: Likewise.
16059 * math/math.h [__USE_SVID]: Likewise.
16060 [__USE_BSD]: Likewise.
16061 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
16062 * misc/bits/syslog.h [__USE_BSD]: Likewise.
16063 * misc/search.h [__USE_SVID]: Likewise.
16064 * misc/sys/mman.h [__USE_BSD]: Likewise.
16065 * misc/sys/syslog.h [__USE_BSD]: Likewise.
16066 * misc/sys/uio.h [__USE_BSD]: Likewise.
16067 * posix/bits/unistd.h [__USE_BSD]: Likewise.
16068 * posix/glob.h [__USE_BSD]: Likewise.
16069 * posix/regex.h [__USE_BSD]: Likewise.
16070 * posix/sys/types.h [__USE_BSD]: Likewise.
16071 [__USE_SVID]: Likewise.
16072 * posix/sys/utsname.h [__USE_SVID]: Likewise.
16073 * posix/sys/wait.h [__USE_BSD]: Likewise.
16074 [__USE_SVID]: Likewise.
16075 * posix/unistd.h [__USE_BSD]: Likewise.
16076 [__USE_SVID]: Likewise.
16077 * pwd/pwd.h [__USE_SVID]: Likewise.
16078 * resolv/netdb.h [__USE_BSD]: Likewise.
16079 * setjmp/setjmp.h [__USE_BSD]: Likewise.
16080 * signal/signal.h [__USE_BSD]: Likewise.
16081 [__USE_SVID]: Likewise.
16082 * socket/sys/socket.h [__USE_BSD]: Likewise.
16083 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
16084 * stdlib/stdlib.h [__USE_BSD]: Likewise.
16085 [__USE_SVID]: Likewise.
16086 * string/bits/string2.h [__USE_BSD]: Likewise.
16087 [__USE_SVID]: Likewise.
16088 * string/bits/string3.h [__USE_BSD]: Likewise.
16089 * string/endian.h [__USE_BSD]: Likewise.
16090 * string/string.h [__USE_SVID]: Likewise.
16091 [__USE_BSD]: Likewise.
16092 * string/strings.h [__USE_BSD]: Likewise.
16093 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
16094 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
16095 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
16096 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
16097 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
16098 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
16099 Likewise.
16100 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
16101 Likewise.
16102 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
16103 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
16104 Likewise.
16105 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
16106 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
16107 Likewise.
16108 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
16109 Likewise.
16110 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
16111 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
16112 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
16113 Likewise.
16114 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
16115 Likewise.
16116 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
16117 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
16118 * termios/termios.h [__USE_BSD]: Likewise.
16119 * time/sys/time.h [__USE_BSD]: Likewise.
16120 * time/time.h [__USE_BSD]: Likewise.
16121 [__USE_SVID]: Likewise.
16122
dd7b064c
JM
16123 * Makefile (subdir_targets): Remove subdir_lint.out.
16124
a2c4c199
JM
16125 * stdio-common/Makefile (do-tst-unbputc): Remove target.
16126 (do-tst-printf): Likewise.
16127 (tests): Depend directly on $(objpfx)tst-unbputc.out and
16128 $(objpfx)tst-printf.out.
16129
8756f740
JM
16130 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
16131
1b6dd3f1
JM
16132 * Makerules (check-abi-%): Change target to
16133 $(objpfx)check-abi-%.out.
16134 (check-abi target): Update dependencies.
16135 (check-abi-pattern variable): Redirect output of diff to $@.
16136 (check-abi variable): Likewise.
16137 * elf/Makefile (check-abi): Update dependencies.
16138
ace614b8
JM
16139 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
16140 unused.
16141 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
16142 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
16143 subnormal range.
16144 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
16145 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
16146 value has largest subnormal exponent.
16147 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
16148 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
16149 * sysdeps/aarch64/soft-fp/sfp-machine.h
16150 (_FP_TININESS_AFTER_ROUNDING): New macro.
16151 * sysdeps/alpha/soft-fp/sfp-machine.h
16152 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16153 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16154 Likewise.
16155 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
16156 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16157 * sysdeps/mips/soft-fp/sfp-machine.h
16158 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16159 * sysdeps/powerpc/soft-fp/sfp-machine.h
16160 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16161 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16162 Likewise.
16163 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16164 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16165 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16166 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16167 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16168 Likewise.
16169
fbfdf9cb
DAS
161702014-02-12 Dylan Alex Simon <dylan@dylex.net>
16171
16172 [BZ #16545]
16173 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
16174 model 1.
16175
68b7efaa
RH
161762014-02-12 Richard Henderson <rth@redhat.com>
16177
c70a4b1d 16178 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
16179 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
16180 * sysdeps/unix/sysv/linux/alpha: Move directory from
16181 ports/sysdeps/unix/sysv/linux/alpha.
16182 * README: Update listing for alpha-*-linux-gnu.
16183
cb4a2928
JM
161842014-02-11 Joseph Myers <joseph@codesourcery.com>
16185
c941736c
JM
16186 * include/features.h: Update comment documenting feature test
16187 macros.
16188 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
16189 _DEFAULT_SOURCE.
16190 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
16191 (_SVID_SOURCE): Likewise.
16192 (_DEFAULT_SOURCE): Update description of default features.
16193 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
16194 with _GNU_SOURCE.
16195 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
16196 (S_ISVTX): Likewise.
16197 * manual/math.texi (Mathematical Constants): Likewise.
16198 * manual/signal.texi (Interrupted Primitives): Likewise.
16199 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
16200 * math/test-matherr.c (_SVID_SOURCE): Do not define.
16201 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
16202 Don't refer to _SVID_SOURCE in warning text.
16203
e8d8d7ec
JM
16204 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16205
cb4a2928
JM
16206 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
16207 already defined.
16208 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
16209 * sysdeps/mips/dl-lookup.c: Remove.
16210 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
16211
7e6424e3
AK
162122014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
16213
16214 [BZ #16447]
16215 * math/auto-libm-test-in: Add testcase for expl.
16216 * math/auto-libm-test-out: Regenerate.
16217 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
16218 calculation of unsafe.
16219 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
16220
75eff3fe
MS
162212014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
16222
16223 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
16224 * sysdeps/unix/sysv/linux/aarch64: Move directory from
16225 ports/sysdeps/unix/sysv/linux/aarch64.
16226 * README: Update listing for aarch64*-*-linux-gnu.
16227
d35f1e80
WN
162282014-02-11 Will Newton <will.newton@linaro.org>
16229
16230 * manual/probes.texi (Mathematical Function Probes): Use
16231 "triggered" instead of "hit".
16232
7b3436d4
WN
16233 * manual/probes.texi (Internal Probes): Add documentation
16234 of setjmp, longjmp and longjmp_target probes.
16235
b4f12ca3
WN
16236 * include/stap-probe.h: Add comment about probe argument
16237 format.
16238
c13a72b7
WN
16239 * malloc/mtrace.c (attribute_hidden): Remove unused macro
16240 definition. (tr_where, tr_freehook, tr_mallochook,
16241 tr_reallochook, tr_memalignhook): Use ANSI protoype.
16242
195b8165
DM
162432014-02-11 David S. Miller <davem@davemloft.net>
16244
16245 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
16246 processing int_tests.
16247
2ad7600b
JM
162482014-02-10 Joseph Myers <joseph@codesourcery.com>
16249
16250 * sysdeps/mips: Move directory from ports/sysdeps/mips.
16251 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
16252 * sysdeps/unix/sysv/linux/mips: Move directory from
16253 ports/sysdeps/unix/sysv/linux/mips.
16254 * README: Update listing for mips-*-linux-gnu and
16255 mips64-*-linux-gnu.
16256
73588a72
AS
162572014-02-10 Andreas Schwab <schwab@linux-m68k.org>
16258
16259 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
16260 * sysdeps/unix/sysv/linux/m68k: Move directory from
16261 ports/sysdeps/unix/sysv/linux/m68k.
16262 * README: Update listing for m68k-*-linux-gnu.
16263
4372980f
CM
162642014-02-10 Chris Metcalf <cmetcalf@tilera.com>
16265
16266 * sysdeps/tile: Move directory from ports/sysdeps/tile.
16267 * sysdeps/unix/sysv/linux/generic: Move directory from
16268 ports/sysdeps/unix/sysv/linux/generic.
16269 * sysdeps/unix/sysv/linux/tile: Move directory from
16270 ports/sysdeps/unix/sysv/linux/tile.
16271 * README: Update listing for tile*-*-linux-gnu.
16272
a1ffb40e
OB
162732014-02-10 Ondřej Bílka <neleai@seznam.cz>
16274
57f41c40
AS
16275 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
16276 __builtin_expect.
a1ffb40e
OB
16277 * benchtests/bench-memmem.c (simple_memmem): Likewise.
16278 * catgets/open_catalog.c (__open_catalog): Likewise.
16279 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
16280 * debug/confstr_chk.c: Likewise.
16281 * debug/fread_chk.c (__fread_chk): Likewise.
16282 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
16283 * debug/getgroups_chk.c: Likewise.
16284 * debug/mbsnrtowcs_chk.c: Likewise.
16285 * debug/mbsrtowcs_chk.c: Likewise.
16286 * debug/mbstowcs_chk.c: Likewise.
16287 * debug/memcpy_chk.c: Likewise.
16288 * debug/memmove_chk.c: Likewise.
16289 * debug/mempcpy_chk.c: Likewise.
16290 * debug/memset_chk.c: Likewise.
16291 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16292 * debug/strcat_chk.c (__strcat_chk): Likewise.
16293 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
16294 * debug/strncat_chk.c (__strncat_chk): Likewise.
16295 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
16296 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
16297 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
16298 * debug/wcpncpy_chk.c: Likewise.
16299 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16300 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
16301 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
16302 * debug/wcsncpy_chk.c: Likewise.
16303 * debug/wcsnrtombs_chk.c: Likewise.
16304 * debug/wcsrtombs_chk.c: Likewise.
16305 * debug/wcstombs_chk.c: Likewise.
16306 * debug/wmemcpy_chk.c: Likewise.
16307 * debug/wmemmove_chk.c: Likewise.
16308 * debug/wmempcpy_chk.c: Likewise.
16309 * debug/wmemset_chk.c: Likewise.
16310 * dirent/scandirat.c (SCANDIRAT): Likewise.
16311 * dlfcn/dladdr1.c (dladdr1): Likewise.
16312 * dlfcn/dladdr.c (dladdr): Likewise.
16313 * dlfcn/dlclose.c (dlclose_doit): Likewise.
16314 * dlfcn/dlerror.c (__dlerror): Likewise.
16315 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
16316 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
16317 * dlfcn/dlopen.c (dlopen_doit): Likewise.
16318 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
16319 * dlfcn/dlsym.c (dlsym_doit): Likewise.
16320 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
16321 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
16322 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
16323 Likewise.
16324 * elf/dl-conflict.c: Likewise.
16325 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
16326 * elf/dl-dst.h: Likewise.
16327 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
16328 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
16329 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
16330 * elf/dl-init.c (call_init, _dl_init): Likewise.
16331 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
16332 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
16333 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
16334 Likewise.
a1ffb40e
OB
16335 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
16336 Likewise.
16337 * elf/dl-minimal.c (__libc_memalign): Likewise.
16338 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
16339 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16340 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
16341 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
16342 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
16343 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
16344 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
16345 * elf/dl-writev.h (_dl_writev): Likewise.
16346 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
16347 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
16348 (dl_main): Likewise.
a1ffb40e
OB
16349 * elf/setup-vdso.h (setup_vdso): Likewise.
16350 * grp/compat-initgroups.c (compat_call): Likewise.
16351 * grp/fgetgrent.c (fgetgrent): Likewise.
16352 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
16353 * grp/putgrent.c (putgrent): Likewise.
16354 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16355 Likewise.
16356 * hurd/hurdinit.c: Likewise.
16357 * iconvdata/8bit-gap.c (struct): Likewise.
16358 * iconvdata/ansi_x3.110.c : Likewise.
16359 * iconvdata/big5.c : Likewise.
16360 * iconvdata/big5hkscs.c : Likewise.
16361 * iconvdata/cp1255.c: Likewise.
16362 * iconvdata/cp1258.c : Likewise.
16363 * iconvdata/cp932.c : Likewise.
16364 * iconvdata/euc-cn.c: Likewise.
16365 * iconvdata/euc-jisx0213.c : Likewise.
16366 * iconvdata/euc-jp.c: Likewise.
16367 * iconvdata/euc-jp-ms.c : Likewise.
16368 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
16369 * iconvdata/gb18030.c : Likewise.
16370 * iconvdata/gbbig5.c (const): Likewise.
16371 * iconvdata/gbgbk.c: Likewise.
16372 * iconvdata/gbk.c : Likewise.
16373 * iconvdata/ibm1364.c : Likewise.
16374 * iconvdata/ibm930.c : Likewise.
16375 * iconvdata/ibm932.c: Likewise.
16376 * iconvdata/ibm933.c : Likewise.
16377 * iconvdata/ibm935.c : Likewise.
16378 * iconvdata/ibm937.c : Likewise.
16379 * iconvdata/ibm939.c : Likewise.
16380 * iconvdata/ibm943.c: Likewise.
16381 * iconvdata/iso_11548-1.c: Likewise.
16382 * iconvdata/iso-2022-cn.c : Likewise.
16383 * iconvdata/iso-2022-cn-ext.c : Likewise.
16384 * iconvdata/iso-2022-jp-3.c: Likewise.
16385 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
16386 * iconvdata/iso-2022-kr.c : Likewise.
16387 * iconvdata/iso646.c (gconv_end): Likewise.
16388 * iconvdata/iso_6937-2.c : Likewise.
16389 * iconvdata/iso_6937.c : Likewise.
16390 * iconvdata/iso8859-1.c: Likewise.
16391 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
16392 * iconvdata/shift_jisx0213.c : Likewise.
16393 * iconvdata/sjis.c : Likewise.
16394 * iconvdata/t.61.c : Likewise.
16395 * iconvdata/tcvn5712-1.c : Likewise.
16396 * iconvdata/tscii.c: Likewise.
16397 * iconvdata/uhc.c : Likewise.
16398 * iconvdata/unicode.c (gconv_end): Likewise.
16399 * iconvdata/utf-16.c (gconv_end): Likewise.
16400 * iconvdata/utf-32.c (gconv_end): Likewise.
16401 * iconvdata/utf-7.c (base64): Likewise.
16402 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
16403 * iconv/gconv_close.c (__gconv_close): Likewise.
16404 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
16405 * iconv/gconv_simple.c (internal_ucs4_loop_single)
16406 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
16407 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
16408 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
16409 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
16410 * iconv/iconv.c (iconv): Likewise.
16411 * iconv/iconv_close.c: Likewise.
16412 * iconv/loop.c (SINGLE): Likewise.
16413 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
16414 * include/atomic.h: Likewise.
16415 * inet/inet6_option.c (option_alloc): Likewise.
16416 * intl/bindtextdom.c (set_binding_values): Likewise.
16417 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
16418 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
16419 * intl/localealias.c (read_alias_file): Likewise.
16420 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
16421 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
16422 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
16423 * libio/fmemopen.c (fmemopen): Likewise.
16424 * libio/iofgets.c (_IO_fgets): Likewise.
16425 * libio/iofgets_u.c (fgets_unlocked): Likewise.
16426 * libio/iofgetws.c (fgetws): Likewise.
16427 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
16428 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
16429 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
16430 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
16431 * locale/findlocale.c (_nl_find_locale): Likewise.
16432 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
16433 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
16434 Likewise.
16435 * locale/setlocale.c (setlocale): Likewise.
16436 * login/programs/pt_chown.c (main): Likewise.
16437 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
16438 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
16439 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
16440 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
16441 * math/e_exp2l.c: Likewise.
16442 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
16443 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
16444 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
16445 * math/s_catan.c (__catan): Likewise.
16446 * math/s_catanf.c (__catanf): Likewise.
16447 * math/s_catanh.c (__catanh): Likewise.
16448 * math/s_catanhf.c (__catanhf): Likewise.
16449 * math/s_catanhl.c (__catanhl): Likewise.
16450 * math/s_catanl.c (__catanl): Likewise.
16451 * math/s_ccosh.c (__ccosh): Likewise.
16452 * math/s_ccoshf.c (__ccoshf): Likewise.
16453 * math/s_ccoshl.c (__ccoshl): Likewise.
16454 * math/s_cexp.c (__cexp): Likewise.
16455 * math/s_cexpf.c (__cexpf): Likewise.
16456 * math/s_cexpl.c (__cexpl): Likewise.
16457 * math/s_clog10.c (__clog10): Likewise.
16458 * math/s_clog10f.c (__clog10f): Likewise.
16459 * math/s_clog10l.c (__clog10l): Likewise.
16460 * math/s_clog.c (__clog): Likewise.
16461 * math/s_clogf.c (__clogf): Likewise.
16462 * math/s_clogl.c (__clogl): Likewise.
16463 * math/s_csin.c (__csin): Likewise.
16464 * math/s_csinf.c (__csinf): Likewise.
16465 * math/s_csinh.c (__csinh): Likewise.
16466 * math/s_csinhf.c (__csinhf): Likewise.
16467 * math/s_csinhl.c (__csinhl): Likewise.
16468 * math/s_csinl.c (__csinl): Likewise.
16469 * math/s_csqrt.c (__csqrt): Likewise.
16470 * math/s_csqrtf.c (__csqrtf): Likewise.
16471 * math/s_csqrtl.c (__csqrtl): Likewise.
16472 * math/s_ctan.c (__ctan): Likewise.
16473 * math/s_ctanf.c (__ctanf): Likewise.
16474 * math/s_ctanh.c (__ctanh): Likewise.
16475 * math/s_ctanhf.c (__ctanhf): Likewise.
16476 * math/s_ctanhl.c (__ctanhl): Likewise.
16477 * math/s_ctanl.c (__ctanl): Likewise.
16478 * math/w_pow.c: Likewise.
16479 * math/w_powf.c: Likewise.
16480 * math/w_powl.c: Likewise.
16481 * math/w_scalb.c (sysv_scalb): Likewise.
16482 * math/w_scalbf.c (sysv_scalbf): Likewise.
16483 * math/w_scalbl.c (sysv_scalbl): Likewise.
16484 * misc/error.c (error_tail): Likewise.
16485 * misc/pselect.c (__pselect): Likewise.
16486 * nis/nis_callback.c (__nis_create_callback): Likewise.
16487 * nis/nis_call.c (__nisfind_server): Likewise.
16488 * nis/nis_creategroup.c (nis_creategroup): Likewise.
16489 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
16490 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
16491 * nis/nis_getservlist.c (nis_getservlist): Likewise.
16492 * nis/nis_lookup.c (nis_lookup): Likewise.
16493 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
16494 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
16495 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 16496 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
16497 * nis/nss_compat/compat-grp.c (getgrent_next_file)
16498 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
16499 * nis/nss_compat/compat-initgroups.c (add_group)
16500 (internal_getgrent_r): Likewise.
16501 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
16502 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
16503 * nis/nss_compat/compat-spwd.c (getspent_next_file)
16504 (internal_getspnam_r): Likewise.
16505 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
16506 (_nss_nis_getaliasbyname_r): Likewise.
16507 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
16508 (_nss_nis_getntohost_r): Likewise.
16509 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
16510 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
16511 (_nss_nis_getgrgid_r): Likewise.
16512 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
16513 (internal_nis_gethostent_r, internal_gethostbyname2_r)
16514 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
16515 (_nss_nis_gethostbyname4_r): Likewise.
16516 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
16517 (initgroups_netid): Likewise.
a1ffb40e 16518 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
16519 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
16520 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
16521 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
16522 (_nss_nis_getprotobynumber_r): Likewise.
16523 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
16524 (_nss_nis_getsecretkey): Likewise.
16525 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
16526 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
16527 (_nss_nis_getpwuid_r): Likewise.
16528 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
16529 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
16530 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
16531 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
16532 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
16533 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
16534 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
16535 Likewise.
57f41c40
AS
16536 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
16537 (_nss_nisplus_getntohost_r): Likewise.
16538 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
16539 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
16540 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
16541 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 16542 Likewise.
57f41c40
AS
16543 * nis/nss_nisplus/nisplus-initgroups.c
16544 (_nss_nisplus_initgroups_dyn): Likewise.
16545 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
16546 (_nss_nisplus_getnetbyaddr_r): Likewise.
16547 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
16548 (_nss_nisplus_getprotobynumber_r): Likewise.
16549 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
16550 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
16551 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
16552 Likewise.
57f41c40
AS
16553 * nis/nss_nisplus/nisplus-service.c
16554 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
16555 (_nss_nisplus_getservbyport_r): Likewise.
16556 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
16557 (_nss_nisplus_getspnam_r): Likewise.
16558 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
16559 Likewise.
a1ffb40e
OB
16560 * nscd/aicache.c (addhstaiX): Likewise.
16561 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
16562 * nscd/connections.c (register_traced_file, send_ro_fd)
16563 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
16564 (main_loop_epoll): Likewise.
a1ffb40e
OB
16565 * nscd/grpcache.c (addgrbyX): Likewise.
16566 * nscd/hstcache.c (addhstbyX): Likewise.
16567 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16568 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
16569 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
16570 (addinnetgrX): Likewise.
16571 * nscd/nscd-client.h (__nscd_acquire_maplock)
16572 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
16573 * nscd/nscd_getai.c (__nscd_getai): Likewise.
16574 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
16575 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
16576 Likewise.
16577 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
16578 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
16579 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
16580 (__nscd_get_map_ref): Likewise.
a1ffb40e 16581 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
16582 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
16583 Likewise.
a1ffb40e
OB
16584 * nscd/pwdcache.c (addpwbyX): Likewise.
16585 * nscd/selinux.c (preserve_capabilities): Likewise.
16586 * nscd/servicescache.c (addservbyX): Likewise.
16587 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
16588 * posix/fnmatch.c (fnmatch): Likewise.
16589 * posix/getopt.c (_getopt_internal_r): Likewise.
16590 * posix/glob.c (glob, glob_in_dir): Likewise.
16591 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
16592 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
16593 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
16594 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
16595 * resolv/res_init.c: Likewise.
16596 * resolv/res_mkquery.c (res_nmkquery): Likewise.
16597 * resolv/res_query.c (__libc_res_nquery): Likewise.
16598 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
16599 Likewise.
16600 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
16601 * stdio-common/perror.c (perror): Likewise.
16602 * stdio-common/printf_fp.c (___printf_fp): Likewise.
16603 * stdio-common/tmpnam.c (tmpnam): Likewise.
16604 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16605 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
16606 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
16607 Likewise.
a1ffb40e
OB
16608 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
16609 * stdlib/putenv.c (putenv): Likewise.
16610 * stdlib/setenv.c (__add_to_environ): Likewise.
16611 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16612 * stdlib/strtol_l.c (INTERNAL): Likewise.
16613 * string/memmem.c (memmem): Likewise.
16614 * string/strerror.c (strerror): Likewise.
16615 * string/strnlen.c (__strnlen): Likewise.
16616 * string/test-memmem.c (simple_memmem): Likewise.
16617 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
16618 * sunrpc/pm_getport.c (__get_socket): Likewise.
16619 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
16620 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
16621 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
16622 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
16623 Likewise.
16624 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
16625 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
16626 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
16627 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
16628 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
16629 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
16630 Likewise.
16631 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
16632 Likewise.
a1ffb40e
OB
16633 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
16634 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
16635 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16636 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
16637 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
16638 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
16639 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
16640 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
16641 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
16642 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
16643 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
16644 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
16645 Likewise.
16646 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
16647 Likewise.
16648 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
16649 Likewise.
16650 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
16651 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16652 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
16653 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
16654 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
16655 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
16656 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16657 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
16658 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
16659 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
16660 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
16661 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16662 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
16663 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
16664 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
16665 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
16666 Likewise.
a1ffb40e
OB
16667 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
16668 Likewise.
16669 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
16670 Likewise.
16671 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
16672 Likewise.
16673 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16674 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16675 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
16676 Likewise.
16677 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
16678 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
16679 * sysdeps/posix/opendir.c (__opendirat): Likewise.
16680 * sysdeps/posix/sleep.c: Likewise.
16681 * sysdeps/posix/tempname.c: Likewise.
16682 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
16683 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16684 Likewise.
57f41c40
AS
16685 * sysdeps/powerpc/powerpc32/dl-machine.h
16686 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
16687 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16688 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16689 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
16690 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
16691 Likewise.
16692 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
16693 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
16694 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
16695 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
16696 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
16697 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
16698 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
16699 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
16700 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16701 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
16702 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
16703 (elf_machine_lazy_rel): Likewise.
a1ffb40e 16704 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
16705 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
16706 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
16707 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
16708 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
16709 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
16710 * sysdeps/unix/grantpt.c (grantpt): Likewise.
16711 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
16712 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
16713 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
16714 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16715 Likewise.
16716 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
16717 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
16718 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
16719 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
16720 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
16721 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16722 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
16723 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
16724 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
16725 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16726 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16727 Likewise.
16728 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
16729 (__posix_fallocate64_l64): Likewise.
16730 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
16731 (posix_fallocate): Likewise.
57f41c40
AS
16732 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
16733 Likewise.
a1ffb40e 16734 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
16735 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
16736 (getifaddrs_internal): Likewise.
a1ffb40e
OB
16737 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
16738 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
16739 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
16740 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
16741 * sysdeps/unix/sysv/linux/posix_fallocate64.c
16742 (__posix_fallocate64_l64): Likewise.
16743 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
16744 Likewise.
16745 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
16746 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
16747 (__get_clockfreq): Likewise.
a1ffb40e
OB
16748 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
16749 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
16750 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
16751 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16752 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16753 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
16754 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
16755 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
16756 Likewise.
16757 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
16758 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
16759 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
16760 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
16761 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16762 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
16763 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
16764 Likewise.
16765 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16766 (posix_fallocate): Likewise.
16767 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16768 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
16769 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
16770 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
16771 (elf_machine_rela, elf_machine_rela_relative)
16772 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
16773 * time/asctime.c (asctime_internal): Likewise.
16774 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
16775 * time/tzset.c (__tzset_parse_tz): Likewise.
16776 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
16777 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
16778 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
16779 * wcsmbs/wcsmbsload.h: Likewise.
16780
f3d338c9
OB
16781 [BZ #15894]
16782 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
16783
57f41c40
AS
16784 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
16785 (arena_get2): Remove THREAD_STATS conditionals.
16786 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
16787 (__malloc_stats, int): Likewise.
bdfe308a 16788
d674667c
MF
167892014-02-08 Mike Frysinger <vapier@gentoo.org>
16790
16791 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
16792 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
16793
6349768c
MF
16794 * manual/setjmp.texi: Fix typos/grammar errors.
16795
0b7c7473
MF
16796 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
16797 Only return early when n is <= 0. Delete unused return statement.
16798
ac8cc9e3
MF
16799 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
16800 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
16801 * debug/tst-longjmp_chk3.c: New file.
16802
c5bb8e23
MF
16803 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
16804 (test_main): Replace code with set_fortify_handler call.
16805 * debug/test-strcpy_chk.c: Likewise.
16806 * debug/tst-chk1.c: Likewise.
16807 * debug/tst-longjmp_chk.c: Likewise.
16808 * test-skeleton.c: Include fcntl.h & paths.h
16809 (set_fortify_handler): Define.
16810
10444e42
MF
16811 * debug/tst-longjmp_chk.c: Add header comment and include
16812 ../test-skeleton.c.
16813 (do_test): Mark static.
16814 (TEST_FUNCTION): Define.
16815
1e805e8d
MF
16816 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
16817 (IP_PMTUDISC_INTERFACE): Likewise.
16818 (IP_MULTICAST_IF): Likewise.
16819 (IP_MULTICAST_TTL): Likewise.
16820 (IP_MULTICAST_LOOP): Likewise.
16821 (IP_ADD_MEMBERSHIP): Likewise.
16822 (IP_DROP_MEMBERSHIP): Likewise.
16823 (IP_UNBLOCK_SOURCE): Likewise.
16824 (IP_BLOCK_SOURCE): Likewise.
16825 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
16826 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
16827 (IP_MSFILTER): Likewise.
16828 (MCAST_JOIN_GROUP): Likewise.
16829 (MCAST_BLOCK_SOURCE): Likewise.
16830 (MCAST_UNBLOCK_SOURCE): Likewise.
16831 (MCAST_LEAVE_GROUP): Likewise.
16832 (MCAST_JOIN_SOURCE_GROUP): Likewise.
16833 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
16834 (MCAST_MSFILTER): Likewise.
16835 (IP_MULTICAST_ALL): Likewise.
16836 (IP_UNICAST_IF): Likewise.
16837
73f79bb7
MF
16838 * timezone/Makefile: Delete $(have-ksh) check.
16839 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
16840 * timezone/tzselect.ksh: Add +x mode bits.
16841
8da79b60
MF
16842 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
16843 (ANON_INODE_FS_MAGIC): Likewise.
16844 (BDEVFS_MAGIC): Likewise.
16845 (BINFMTFS_MAGIC): Likewise.
16846 (BTRFS_TEST_MAGIC): Likewise.
16847 (CRAMFS_MAGIC_WEND): Likewise.
16848 (DEBUGFS_MAGIC): Likewise.
16849 (ECRYPTFS_SUPER_MAGIC): Likewise.
16850 (EXT3_SUPER_MAGIC): Likewise.
16851 (EXT4_SUPER_MAGIC): Likewise.
16852 (FUTEXFS_SUPER_MAGIC): Likewise.
16853 (HOSTFS_SUPER_MAGIC): Likewise.
16854 (HUGETLBFS_MAGIC): Likewise.
16855 (MINIX3_SUPER_MAGIC): Likewise.
16856 (MTD_INODE_FS_MAGIC): Likewise.
16857 (NILFS_SUPER_MAGIC): Likewise.
16858 (OPENPROM_SUPER_MAGIC): Likewise.
16859 (PIPEFS_MAGIC): Likewise.
16860 (PSTOREFS_MAGIC): Likewise.
16861 (QNX6_SUPER_MAGIC): Likewise.
16862 (RAMFS_MAGIC): Likewise.
16863 (REISERFS_SUPER_MAGIC_STRING): Likewise.
16864 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
16865 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
16866 (SECURITYFS_MAGIC): Likewise.
16867 (SELINUX_MAGIC): Likewise.
16868 (SMACK_MAGIC): Likewise.
16869 (SOCKFS_MAGIC): Likewise.
16870 (SQUASHFS_MAGIC): Likewise.
16871 (STACK_END_MAGIC): Likewise.
16872 (TMPFS_MAGIC): Likewise.
16873 (USBDEVICE_SUPER_MAGIC): Likewise.
16874 (V9FS_MAGIC): Likewise.
16875 (XENFS_SUPER_MAGIC): Likewise.
16876 (CRAMFS_MAGIC): Fix typo in comment.
16877 (EXT2_SUPER_MAGIC): Update comment.
16878 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
16879
464263cc
JM
168802014-02-08 Joseph Myers <joseph@codesourcery.com>
16881
c6bfe5c4
JM
16882 * sysdeps/arm: Move directory from ports/sysdeps/arm.
16883 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
16884 * sysdeps/unix/sysv/linux/arm: Move directory from
16885 ports/sysdeps/unix/sysv/linux/arm.
16886 * README: Update listing for arm-*-linux-gnueabi.
16887
464263cc
JM
16888 * README: Remove mention of am33.
16889
32749f6c
RM
168902014-02-07 Roland McGrath <roland@hack.frob.com>
16891
16892 * bits/sigset.h (__sigemptyset): Use a statement expression rather
16893 than the comma operator, to avoid "rhs of comma has no effect"
16894 compiler warnings.
16895 (__sigfillset, __sigandset, __sigorset): Likewise.
16896 * include/signal.h (__sigemptyset): Likewise.
16897 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
16898
d5b396c1
AM
168992014-02-07 Allan McRae <allan@archlinux.org>
16900
16901 * version.h (RELEASE): Set to "development".
16902 (VERSION): Set to "2.19.90"
16903 * NEWS: Add 2.20 section.
16904
3bfff2ed
CD
169052014-02-06 Carlos O'Donell <carlos@redhat.com>
16906
16907 [BZ #16529]
16908 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
16909
ee7cc385
SP
169102014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16911
16912 * manual/contrib.texi: Update entry for Carlos O'Donell,
16913 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
16914
f877c4f2
CD
169152014-02-05 Carlos O'Donell <carlos@rehdat.com>
16916
27e839f6
CD
16917 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
16918
f877c4f2
CD
16919 * sysdeps/unix/sysv/linux/kernel-features.h
16920 [__LINUX_KERNEL_VERSION >= 0x020621]
16921 (__ASSUME_PROC_PID_TASK_COMM): Define.
16922
68159946
SP
169232014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16924
ba17cdbd
SP
16925 [BZ #16398]
16926 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
16927 conversion when destination buffer does not have enough space.
16928 * libio/tst-ftell-partial-wide.c: New test case.
16929 * libio/Makefile (tests): Add tst-ftell-partial-wide.
16930
68159946
SP
16931 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
16932 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
16933 Leonard and Allan McRae.
16934
2b528732
DM
169352014-02-04 David S. Miller <davem@davemloft.net>
16936
16937 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
16938 32-bit.
16939
0ff82463
AZ
169402014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16941
57f41c40
AS
16942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
16943 New file
c01603f7
AZ
16944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
16945 New file
57f41c40
AS
16946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
16947 New file.
16948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
16949 New file.
c01603f7
AZ
16950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
16951 New file.
57f41c40
AS
16952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
16953 New file.
16954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
16955 New file.
c01603f7
AZ
16956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
16957 New file.
16958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
16959 New file.
16960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
16961 New file.
16962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
16963 New file.
16964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
16965 New file.
16966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
16967 New file.
16968
169692014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16970
0ff82463
AZ
16971 * nptl/shlib-versions: Change powerpc*le start to 2.17.
16972 * shlib-versions: Likewise.
16973
1695c773
AZ
169742014-02-04 Roland McGrath <roland@hack.frob.com>
16975 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16976
16977 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
16978 (abilist-pattern): New variable, set to %-le.abilist.
16979
16980 * Makerules (abilist-pattern): New variable.
16981 (vpath): Use $(abilist-pattern) in place of %.abilist.
16982 (check-abi-% pattern rule): Likewise.
16983 (check-abi, update-abi): Likewise.
16984
6c0ce4b4
EW
169852014-02-04 Eric Wong <normalperson@yhbt.net>
16986
16987 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16988
481e3524
CD
169892014-02-03 Carlos O'Donell <carlos@redhat.com>
16990
16991 * manual/startup.texi: Add next, previous, and top entries for
16992 the `Program Arguments' and `Environment Variables' nodes.
16993
375592d3
AO
169942014-02-03 Alexandre Oliva <aoliva@redhat.com>
16995
16996 * manual/macros.texi: Add comments before MTASC-safety macros.
16997
f54838ba
AO
16998 * manual/users.texi: Document MTASC-safety properties.
16999
57f41c40
AS
17000 * manual/threads.texi (pthread_key_create, pthread_key_delete)
17001 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
17002 @deftypefun, and add @safety note.
17003 * manual/signal.texi: Move comments that analyze the above
17004 functions to their home place.
17005
fd3daba4
AM
170062014-02-03 Allan McRae <allan@archlinux.org>
17007
17008 * po/sl.po: Update Slovenian translation from translation project.
17009
597636d7
AO
170102014-02-02 Alexandre Oliva <aoliva@redhat.com>
17011
17012 * manual/time.texi (timegm): Add missing blank after @c.
17013 Reported by Joseph Myers <joseph@codesourcery.com>.
17014
ee196e3c
AO
170152014-02-01 Alexandre Oliva <aoliva@redhat.com>
17016
17017 * manual/check-safety.sh: New.
17018 * manual/Makefile ($(objpfx)stamp-summary): Run it.
17019
f8d529d5
AO
17020 * manual/terminal.texi: Document MTASC-safety properties.
17021
de55fdf4
AO
17022 * manual/filesys.texi: Document MTASC-safety properties.
17023
c3299c08
AO
17024 * manual/errno.texi: Document MTASC-safety properties.
17025
06e90b14
AO
17026 * manual/intro.texi: Document safety identifiers and
17027 conditionals.
17028
1acd4371
AO
17029 * manual/string.texi (wcstok): Fix prototype.
17030 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
17031
23e5b8cb
AO
17032 * manual/time.texi: Document MTASC-safety properties.
17033
11087373
AO
17034 * manual/string.texi: Document MTASC-safety properties.
17035
5da2c93d
AO
17036 * manual/threads.texi: Document MTASC-safety properties.
17037
171e9210
AO
17038 * manual/stdio.texi: Document MTASC-safety properties.
17039
d9e02532
AO
17040 * manual/syslog.texi: Document MTASC-safety properties.
17041
6af8bab7
AO
17042 * manual/sysinfo.texi: Document MTASC-safety properties.
17043
663b02d7
AO
17044 * manual/startup.texi: Document MTASC-safety properties.
17045
973f180b
AO
17046 * manual/socket.texi: Document MTASC-safety properties.
17047
8f3c25c8
AO
17048 * manual/signal.texi: Document MTASC-safety properties.
17049
542210fb
AO
170502014-01-31 Alexandre Oliva <aoliva@redhat.com>
17051
17052 * manual/setjmp.texi: Document MTASC-safety properties.
17053
433c45a2
AO
17054 * manual/search.texi: Document MTASC-safety properties.
17055
c8ce789c
AO
17056 * manual/resource.texi: Document MTASC-safety properties.
17057
19f5d29c
AO
17058 * manual/process.texi: Document MTASC-safety properties.
17059
e2dfb7f4
AO
17060 * manual/platform.texi: Document MTASC-safety properties.
17061
8c1413f5
AO
17062 * manual/pipe.texi: Document MTASC-safety properties.
17063
03483ada
AO
17064 * manual/pattern.texi: Document MTASC-safety properties.
17065
29e7e2df
AO
17066 * manual/message.texi: Document MTASC-safety properties.
17067
9f529d7c
AO
17068 [BZ #12751]
17069 * manual/memory.texi: Document MTASC-safety properties.
17070
27aaa791
AO
17071 * manual/math.texi: Document MTASC-safety properties.
17072
f2d58726
AO
17073 * manual/locale.texi: Document MTASC-safety properties.
17074
2cc3615c
AO
17075 * manual/llio.texi: Document MTASC-safety properties.
17076
d9f0ec97
AO
17077 * manual/libdl.texi: New.
17078
e7c4409a
AO
17079 * manual/lang.texi: Document MTASC-safety properties.
17080
27bdc63c
AO
17081 * manual/job.texi: Document MTASC-safety properties.
17082
a7b90ea9
AO
17083 * manual/getopt.texi: Document MTASC-safety properties.
17084
c49130e3
AO
17085 * manual/ctype.texi: Document MTASC-safety properties.
17086
0d23a5c1
MR
170872014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
17088
17089 [BZ #16046]
17090 * csu/libc-tls.c (static_map): Remove variable.
17091 (__libc_setup_tls): Use main executable's link map for TLS data.
17092 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
17093 casing for LM_ID_BASE and GL(dl_nns).
17094 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
17095 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
17096 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
17097 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
17098 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
17099 member.
17100 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
17101 l_phnum members.
17102
0037bb60
AO
171032014-01-30 Alexandre Oliva <aoliva@redhat.com>
17104
17105 * manual/debug.texi: Document MTASC-safety properties.
17106
409e00bd
L
171072014-01-29 H.J. Lu <hongjiu.lu@intel.com>
17108
17109 [BZ #16510]
17110 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
17111 of __x86_64__ when disabling x87 inline functions.
17112
86e60666
AO
171132014-01-29 Alexandre Oliva <aoliva@redhat.com>
17114
17115 * manual/charset.texi: Document MTASC-safety properties.
17116
76167637
AO
17117 * manual/crypt.texi: Document MTASC-safety properties.
17118
e567f2a0
AO
17119 * manual/conf.texi: Document MTASC-safety properties.
17120
b719dafd
AO
17121 * manual/arith.texi: Document MTASC-safety properties.
17122
4a16c662
AO
17123 * manual/argp.texi: Document MTASC-safety properties.
17124
0a57b83e
AO
17125 * manual/macros.texi: Introduce macros to document multi
17126 thread, asynchronous signal and asynchronous cancellation
17127 safety properties.
17128 * manual/intro.texi: Introduce the properties themselves.
17129
feab2397
KK
171302014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17131
17132 * sysdeps/sh/sh4/Makefile: New file.
17133
1c0d11bc
AS
171342014-01-27 Andreas Schwab <schwab@linux-m68k.org>
17135
17136 * math/gen-libm-test.pl ($srcdir): New variable.
17137 ($auto_input): Use it.
17138
af37a8a3
SP
171392014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17140
d7b00f98
SP
17141 [BZ #16506]
17142 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
17143 access beyond array bounds when parsing netgroups file.
17144
af37a8a3
SP
17145 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
17146 the old buffer before realloc.
17147
0c00f062
AM
171482014-01-27 Allan McRae <allan@archlinux.org>
17149
17150 * po/fr.po: Update French translation from translation project.
17151
7d69a1b0
KK
171522014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17153
17154 * sysdeps/sh/libm-test-ulps: Regenerate.
17155
6e697ff7
DM
171562014-01-24 David S. Miller <davem@davemloft.net>
17157
17158 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
17159
9cadb35c
KK
171602014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17161
17162 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
17163 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
17164
5d41dadf
SP
171652013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17166
17167 [BZ #16474]
17168 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
17169 string pointers after reallocation.
17170
0bad441c
KK
171712014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17172
17173 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
17174 __SH4A__ instead of __SH_FPU_ANY__.
17175
7007c661
KK
171762014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17177
17178 * sysdeps/sh/fpu_control.h: New file.
17179 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
17180 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
17181 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
17182 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
17183 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
17184 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
17185 * sysdeps/sh/sys/ucontext.h: Remove.
17186 * sysdeps/sh/sys: Remove directory.
17187
0f0c35e4
AK
171882014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17189
17190 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
17191 s390/sys/ucontext.h.
17192 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
17193 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
17194
4959e284
L
171952014-01-20 H.J. Lu <hongjiu.lu@intel.com>
17196
17197 [BZ #15605]
17198 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
17199
d98720e0
AZ
172002014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17201
17202 [BZ#16431]
17203 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17204 Adjust the vDSO correctly for internal calls.
17205 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
17206
91cbd0bc
AM
172072014-01-20 Allan McRae <allan@archlinux.org>
17208
17209 * po/ca.po: Update Catalan translation from translation project.
17210
7a02cfad
MF
172112014-01-16 Mike Frysinger <vapier@gentoo.org>
17212
17213 * sysdeps/s390/sotruss-lib.c: New file.
17214
736c304a
AZ
172152014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17216
17217 [BZ#16430]
6e077ee5 17218 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
17219 (__GI___gettimeofday): Alias for a different internal symbol to avoid
17220 local calls issues by not having a PLT stub required for IFUNC calls.
17221 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
17222
94d0cea0
JM
172232014-01-16 Joseph Myers <joseph@codesourcery.com>
17224
17225 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
17226 * math/test-fpucw-static.c: Likewise.
17227
980cb518
SP
172282013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17229
17230 [BZ #16453]
17231 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
17232
2393fc01
AZ
172332014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17234
17235 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
17236 implementation for powerpc.
17237
d359bcc2
OB
172382014-01-15 Ondřej Bílka <neleai@seznam.cz>
17239
17240 [BZ #14782]
17241 * sysdeps/posix/system.c (__libc_system): Do not enable
17242 asynchronous cancellation.
17243
7beb48cb
AK
172442014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17245
17246 [BZ #16427]
17247 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
17248 handling only for numbers special also in the IEEE case.
17249
c20d5bf5
AK
172502014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17251
17252 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17253
e83bd4ee
AM
172542014-01-11 Allan McRae <allan@archlinux.org>
17255
76d0ea69
AM
17256 * po/bg.po: Update Bulgarian translation from translation project.
17257
e83bd4ee
AM
17258 * po/de.po: Update German translation from translation project.
17259
bc2ba20a
RM
172602014-01-10 Roland McGrath <roland@hack.frob.com>
17261
17262 * sysdeps/generic/gcc-compat.h: New file.
17263
649ecea2
SP
172642014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17265
17266 * benchtests/asin-inputs: Correct slow inputs.
17267 * benchtests/acos-inputs: Likewise.
17268
1b19c006
AM
172692014-01-10 Allan McRae <allan@archlinux.org>
17270
a46dab08
AM
17271 * po:sv.po: Update Swedish translation from translation project.
17272
421df74a
AM
17273 * po/vi.po: Update Vietnamese translation from translation project.
17274
d61c51a7
AM
17275 * po/eo.po: Update Esperanto translation from translation project.
17276
0339a319
AM
17277 * po/cs.po: Update Czech translation from translation project.
17278
94ad3e99
AM
17279 * po/nl.po: Update Dutch translation from translation project.
17280
e349ca71
AM
17281 * po/pl.po: Update Polish translation from translation project.
17282
ddf930c1
AM
17283 * po/ru.po: Update Russian translation from translation project.
17284
1b19c006
AM
17285 * po/uk.po: Update Ukrainian translation from translation project.
17286
9f236c49
BM
172872014-01-08 Brooks Moses <bmoses@google.com>
17288
17289 * elf/dl-load.c: Fix comment typo.
17290
cd6701cf
CD
172912014-01-08 Carlos O'Donell <carlos@redhat.com>
17292
17293 * po/header.pot: Rename to...
17294 * po/pot.header: ... this.
17295 * po/Makefile: Use pot.header.
17296
66671c84
YK
172972014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
17298 Maxim Kuvyrkov <maxim@kugelworks.com>
17299
17300 [BZ #16394]
cd6701cf
CD
17301 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
17302 SRC and DEST against LEN.
66671c84 17303
38f34581
AZ
173042014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17305
17306 [BZ #16414]
17307 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
17308 implementation.
17309 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
17310
173112014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
17312
17313 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17314
4c327f2a
JM
173152014-01-08 Joseph Myers <joseph@codesourcery.com>
17316
17317 [BZ #16408]
17318 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
17319 for large positive arguments.
17320
b821f414
JM
173212014-01-07 Joseph Myers <joseph@codesourcery.com>
17322
1f0f2067
JM
17323 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17324
a5a326f6
JM
17325 * math/auto-libm-test-in: Mark various tests with
17326 xfail-rounding:ldbl-128ibm.
17327 * math/auto-libm-test-out: Regenerated.
17328
b821f414
JM
17329 [BZ #16407]
17330 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
17331 Increase overflow threshold.
17332
94c8a4bc
OB
173332014-01-07 Ondřej Bílka <neleai@seznam.cz>
17334
17335 [BZ #14286]
17336 * stdio-common/vfprintf.c: Check for integer overflow.
17337
87ded0c3
AK
173382014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17339
17340 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
17341 the first argument and return value of __tls_get_addr_internal.
17342
c5eebdd0
AK
173432014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17344
17345 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
17346 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
17347
05d138ef
AK
173482014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17349
17350 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
17351 * sysdeps/s390/rtld-global-offsets.sym: New file.
17352 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
17353 GLIBC_2.19 symbol.
17354 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
17355 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
17356 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
17357 ... this.
17358 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
17359 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
17360 ... this.
17361 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17362 Regenerate.
17363 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17364 Regenerate.
17365 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
17366 halfs of GPRs for high_gprs contexts.
17367 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
17368 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
17369 field.
17370 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
17371 uc_flags field.
17372 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
17373 64 bit versions:
17374 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
17375 for high GPRs (uc_high_gprs) and for future extensions
17376 (__reserved).
17377 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
17378 for future extensions (__reserved).
17379 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
17380 64 bit versions:
17381 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
17382 SC_HIGHGPRS offset definition.
17383 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
17384 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
17385
93a45ff1
AK
17386 * Versions.def: Add GLIBC_2.19 for libpthread.
17387 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
17388 siglongjmp for libpthread with GLIBC_2.19 symver.
17389 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
17390 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
17391 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
17392 * sysdeps/s390/__longjmp.c: New file.
17393 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
17394 * sysdeps/s390/longjmp.c: New file.
17395 * sysdeps/s390/setjmp.S: New file.
17396 * sysdeps/s390/sigjmp.S: New file.
17397 * sysdeps/s390/v1-longjmp.c: New file.
17398 * sysdeps/s390/v1-setjmp.h: New file.
17399 * sysdeps/s390/v1-sigjmp.c: New file.
17400 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
17401 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
17402 GLIBC_2.19 version.
17403 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
17404 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
17405 versioned symbols for ____longjmp_chk.
17406 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
17407 Likewise.
17408 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17409 Regenerate.
17410 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17411 Regenerate.
17412 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17413 Regenerate.
17414 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17415 Regenerate.
17416 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
17417 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
17418 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
17419 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
17420 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
17421 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
17422 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
17423 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
17424 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
17425 * sysdeps/s390/rtld-__longjmp.c: New file.
17426 * sysdeps/s390/rtld-setjmp.S: New file.
17427
eb3fc44b
JM
174282014-01-06 Joseph Myers <joseph@codesourcery.com>
17429
17430 [BZ #16400]
17431 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17432 Return -__logl (x) for small positive arguments without evaluating
17433 a polynomial.
17434
9341dde4
MF
174352014-01-06 Mike Frysinger <vapier@gentoo.org>
17436
17437 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
17438 Rename to ...
17439 (__ptrace_peeksiginfo_args): ... this.
17440 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17441 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17442 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17443
4cff0293
AM
174442014-01-06 Allan McRae <allan@archlinux.org>
17445
17446 * inet/netinet/in.h: Fix typo in comment.
17447
75595dcf
AJ
174482014-01-05 Andreas Jaeger <aj@suse.de>
17449
17450 * sysdeps/i386/fpu/libm-test-ulps: Update.
17451
79c1e109
AM
174522014-01-05 Allan McRae <allan@archlinux.org>
17453
dd804818
AM
17454 * po/libc.pot: Regenerated.
17455
79c1e109
AM
17456 * malloc/memusagestat.c: Fix gettext call formatting.
17457
0c813d1f
SK
174582014-01-04 Sami Kerola <kerolasa@iki.fi>
17459
17460 * nscd/nscd.c: Improve usage() output.
17461
20f4a8d9
MF
174622014-01-04 Mike Frysinger <vapier@gentoo.org>
17463
17464 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
17465 * sysdeps/unix/sysv/linux/configure: Regenerated.
17466 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
17467 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
17468
22562bb2
JM
174692014-01-03 Joseph Myers <joseph@codesourcery.com>
17470
17471 [BZ #16390]
17472 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17473 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
17474
d7ad2d9b
AZ
174752014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17476
17477 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
17478 extra tokens at end of #undef directive.
17479 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
17480 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
17481 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
17482
7dd009d8
JM
174832014-01-03 Joseph Myers <joseph@codesourcery.com>
17484
24db925a
JM
17485 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17486
7dd009d8
JM
17487 * math/auto-libm-test-in: Mark various tests with
17488 xfail-rounding:ldbl-128ibm.
17489 * math/auto-libm-test-out: Regenerated.
17490
396e3ecf
JM
174912014-01-02 Joseph Myers <joseph@codesourcery.com>
17492
819e5d50
JM
17493 [BZ #16386]
17494 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
17495 numbers with subnormal high part when calculating exponent.
17496
90b6a1e5
JM
17497 [BZ #16385]
17498 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
17499 fabs.
17500
396e3ecf
JM
17501 [BZ #16384]
17502 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
17503 M_LN2l.
17504 (__ieee754_acoshl): Use __log1pl not __log1p.
17505
6c8dbf00
OB
175062013-01-02 Ondřej Bílka <neleai@seznam.cz>
17507
57f41c40
AS
17508 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
17509 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
17510 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
17511 (grow_heap, heap_trim, _int_new_arena, get_free_list)
17512 (reused_arena, arena_get2): Convert to GNU style.
17513 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
17514 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
17515 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 17516 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
17517 * malloc/malloc.c (__malloc_assert, malloc_init_state)
17518 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
17519 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
17520 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
17521 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
17522 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 17523 * malloc/malloc.h: Likewise.
57f41c40
AS
17524 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
17525 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 17526 * malloc/mcheck.h: Likewise.
57f41c40
AS
17527 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
17528 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
17529 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
17530 * malloc/morecore.c (__default_morecore): Likewise.
17531 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
17532 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
17533 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
17534 (print_and_abort): Likewise.
6c8dbf00
OB
17535 * malloc/obstack.h: Likewise.
17536 * malloc/set-freeres.c (__libc_freeres): Likewise.
17537 * malloc/tst-mallocstate.c (main): Likewise.
17538 * malloc/tst-mtrace.c (main): Likewise.
17539 * malloc/tst-realloc.c (do_test): Likewise.
17540
d4124212
SP
175412013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17542
9a3c6a6f
SP
17543 [BZ #16366]
17544 * nscd/netgroupcache.c (do_notfound): New function.
17545 (addgetnetgrentX): Use it.
17546
d4124212
SP
17547 [BZ # 16365]
17548 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
17549 NSS_STATUS_NOTFOUND.
17550
97b9a009
JM
175512014-01-01 Joseph Myers <joseph@codesourcery.com>
17552
17553 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17555
d4697bc9
AM
175562014-01-01 Allan McRae <allan@archlinux.org>
17557
ddb3687f
AM
17558 * scripts/update-copyrights: Update configure input file suffix.
17559
88726d48
AM
17560 * NEWS: Update copyright year.
17561 * catgets/gencat.c: Likewise.
17562 * csu/version.c: Likewise.
17563 * debug/catchsegv.sh: Likewise.
17564 * debug/pcprofiledump.c: Likewise.
17565 * debug/xtrace.sh: Likewise.
17566 * elf/ldconfig.c: Likewise.
17567 * elf/ldd.bash.in: Likewise.
17568 * elf/pldd.c: Likewise.
17569 * elf/sotruss.ksh: Likewise.
17570 * elf/sprof.c: Likewise.
17571 * iconv/iconv_prog.c: Likewise.
17572 * iconv/iconvconfig.c: Likewise.
17573 * locale/programs/locale.c: Likewise.
17574 * locale/programs/localedef.c: Likewise.
17575 * login/programs/pt_chown.c: Likewise.
17576 * malloc/memusage.sh: Likewise.
17577 * malloc/memusagestat.c: Likewise.
17578 * malloc/mtrace.pl: Likewise.
17579 * manual/libc.texinfo: Likewise.
17580 * nscd/nscd.c: Likewise.
17581 * nss/getent.c: Likewise.
17582 * nss/makedb.c: Likewise.
17583 * posix/getconf.c: Likewise.
17584 * scripts/test-installation.pl: Likewise.
17585
d4697bc9
AM
17586 * All files with FSF copyright notices: Update copyright dates
17587 using scripts/update-copyrights.
17588 * intl/plural.c: Regenerated.
17589 * locale/programs/charmap-kw.h: Likewise.
17590 * locale/programs/locfile-kw.h: Likewise.
17591
c8590f9d
MF
175922013-12-31 Mike Frysinger <vapier@gentoo.org>
17593
17594 * sysdeps/unix/sysv/linux/configure: Regenerated.
17595 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
17596 the linux/fanotify.h header.
17597 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
17598 HAVE_LINUX_FANOTIFY_H is defined.
17599
b19221b9
SP
176002013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17601
dd1d85e5
SP
17602 * benchtests/cos-inputs: New inputs.
17603 * benchtests/sin-inputs: Likewise.
17604
1acbb90f
SP
17605 * benchtests/atan-inputs: New inputs. Fix name of multiple
17606 precision fallback inputs.
17607
4c012ed3
SP
17608 * benchtests/atanh-inputs: New inputs.
17609 * benchtests/tanh-inputs: Likewise.
17610
eff98324
SP
17611 * benchtests/acosh-inputs: New inputs.
17612 * benchtests/asinh-inputs: Likewise.
17613
ce641152
SP
17614 * benchtests/cosh-inputs: New inputs.
17615 * benchtests/sinh-inputs: Likewise.
17616
b19221b9
SP
17617 * benchtests/acos-inputs: Add more inputs.
17618 * benchtests/asin-inputs: Likewise.
17619
030a4976 176202013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 17621
030a4976 17622 [BZ #16375]
9dcc8f11
VS
17623 * manual/arith.texi: Fix spelling.
17624 * manual/charset.texi: Likewise.
17625 * manual/errno.texi: Likewise.
17626 * manual/filesys.texi: Likewise.
17627 * manual/lang.texi: Likewise.
17628 * manual/llio.texi: Likewise.
17629 * manual/locale.texi: Likewise.
17630 * manual/message.texi: Likewise.
17631 * manual/resource.texi: Likewise.
17632 * manual/search.texi: Likewise.
17633 * manual/setjmp.texi: Likewise.
17634 * manual/stdio.texi: Likewise.
17635 * manual/string.texi: Likewise.
17636 * manual/sysinfo.texi: Likewise.
17637 * manual/time.texi: Likewise.
17638
11520a57
CD
176392013-12-27 Carlos O'Donell <carlos@redhat.com>
17640
17641 * po/sl.po: New file.
17642
471103ae
MF
176432013-12-27 Mike Frysinger <vapier@gentoo.org>
17644
17645 * .gitignore: Add core/.gdbinit/.gdb_history.
17646
6c9642ed
AM
176472013-12-27 Allan McRae <allan@archlinux.org>
17648
17649 [BZ #16369]
17650 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
17651 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
17652
3f637079
BM
176532013-12-24 Brooks Moses <bmoses@google.com>
17654
17655 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
17656 all compilers that claim C++98 compliance, not just GCC.
17657 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
17658 Likewise.
17659
abc26e99
MK
176602013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
17661
17662 * NEWS: Restore accidentally deleted bug-fix entries.
17663
362b47fe
MK
176642013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
17665 Ondřej Bílka <neleai@seznam.cz>
17666
17667 [BZ #15073]
17668 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 17669 have_lock.
362b47fe 17670
b9bcbbcb
OB
176712013-12-23 Ondřej Bílka <neleai@seznam.cz>
17672
17673 [BZ #12986]
17674 * manual/stdio.texi (String Input Conversions): Clarify that character
17675 classes are not supported.
17676
fb55fcd2
AZ
176772013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17678
17679 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17680
ef7344f0
JM
176812013-12-22 Joseph Myers <joseph@codesourcery.com>
17682
4f40e4b3
JM
17683 [BZ #16337]
17684 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17685 Calculate results for small negative arguments directly rather
17686 than using reflection formula with special underflow handling.
17687
ef7344f0
JM
17688 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
17689 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
17690 sysdeps/unix/bsd/bsd4.4/syscalls.list.
17691 (fchflags): Likewise.
17692 (revoke): Likewise.
17693 (setlogin): Likewise.
17694 (sigaltstack): Likewise.
17695 (wait4): Likewise.
17696 (sigblock): Remove.
17697 (sigsetmask): Likewise.
17698 (wait3): Likewise.
17699 (waitpid): Likewise.
17700 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
17701 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
17702 file.
17703 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
17704 * sysdeps/unix/bsd/Makefile: ... here.
17705 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
17706 * sysdeps/unix/bsd/Versions: ... here.
17707 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
17708 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
17709 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
17710 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
17711 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
17712 * sysdeps/unix/bsd/sigblock.c: ... here.
17713 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
17714 * sysdeps/unix/bsd/sigsetmask.c: ... here.
17715 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
17716 * sysdeps/unix/bsd/sigvec.c: ... here.
17717 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
17718 * sysdeps/unix/bsd/tcdrain.c: ... here.
17719 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
17720 * sysdeps/unix/bsd/tcgetattr.c: ... here.
17721 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
17722 * sysdeps/unix/bsd/tcsetattr.c: ... here.
17723 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
17724 * sysdeps/unix/bsd/wait.c: ... here.
17725 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
17726 * sysdeps/unix/bsd/wait3.c: ... here.
17727 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
17728 * sysdeps/unix/bsd/waitpid.c: ... here.
17729
5b0626b9
JM
177302013-12-21 Joseph Myers <joseph@codesourcery.com>
17731
17732 [BZ #16356]
17733 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
17734 round-to-nearest for [!USE_AS_EXPM1L].
17735 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
17736 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
17737 more tests of exp and exp10. Expect some exp10 tests to miss
17738 exceptions or fail in directed rounding modes.
17739 * math/auto-libm-test-out: Regenerated.
17740 * math/libm-test.inc (exp10_tonearest_test_data): New array.
17741 (exp10_test_tonearest): New function.
17742 (exp10_towardzero_test_data): New array.
17743 (exp10_test_towardzero): New function.
17744 (exp10_downward_test_data): New array.
17745 (exp10_test_downward): New function.
17746 (exp10_upward_test_data): New array.
17747 (exp10_test_upward): New function.
17748 (main): Call the new functions.
17749 * sysdeps/i386/fpu/libm-test-ulps: Update.
17750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17751
7fda5682
JM
177522013-12-20 Joseph Myers <joseph@codesourcery.com>
17753
31e3a405
JM
17754 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17755 asinh, atan, atan2, atanh, cbrt, cos and cosh.
17756 * math/auto-libm-test-out: Regenerated.
17757 * math/libm-test.inc (acosh_test_data): Add more tests.
17758 (atanh_test_data): Likewise.
17759 (ceil_test_data): Likewise.
17760 (copysign_test_data): Likewise.
17761 * sysdeps/i386/fpu/libm-test-ulps: Update.
17762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17763
85bff96a
JM
17764 * timezone/checktab.awk: Update from tzcode 2013i.
17765 * timezone/private.h: Likewise.
17766 * timezone/scheck.c: Likewise.
17767 * timezone/tzfile.h: Likewise.
17768 * timezone/tzselect.ksh: Likewise.
17769 * timezone/zdump.c: Likewise.
17770 * timezone/zic.c: Likewise.
17771
b7867a3b
JM
17772 * math/auto-libm-test-in: Add tests of cpow.
17773 * math/auto-libm-test-out: Regenerated.
17774 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 17775 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
17776 mpc_cc_c.
17777 (func_calc_desc): Add mpc_cc_c union field.
17778 (test_functions): Add cpow.
17779 (special_fill_2pi): New function.
17780 (special_real_inputs): Add 2pi.
17781 (calc_generic_results): Handle mpc_cc_c.
17782 * sysdeps/i386/fpu/libm-test-ulps: Update.
17783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17784
7fda5682
JM
17785 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
17786 csqrt, ctan and ctanh.
17787 * math/auto-libm-test-out: Regenerated.
17788 * math/libm-test.inc (TEST_COND_x86_64): New macro.
17789 (TEST_COND_x86): Likewise.
17790 (ccos_test_data): Use AUTO_TESTS_c_c.
17791 (ccosh_test_data): Likewise.
17792 (cexp_test_data): Likewise.
17793 (clog_test_data): Likewise.
17794 (csqrt_test_data): Likewise.
17795 (ctan_test_data): Likewise.
17796 (ctan_tonearest_test_data): Likewise.
17797 (ctan_towardzero_test_data): Likewise.
17798 (ctan_downward_test_data): Likewise.
17799 (ctan_upward_test_data): Likewise.
17800 (ctanh_test_data): Likewise.
17801 (ctanh_tonearest_test_data): Likewise.
17802 (ctanh_towardzero_test_data): Likewise.
17803 (ctanh_downward_test_data): Likewise.
17804 (ctanh_upward_test_data): Likewise.
17805 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17806 mpc_c_c.
17807 (func_calc_desc): Add mpc_c_c union field.
17808 (FUNC_mpc_c_c): New macro.
17809 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
17810 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
17811 ctanh.
17812 (special_fill_min_subnorm_p120): New function.
17813 (special_real_inputs): Add min_subnorm_p120.
17814 (calc_generic_results): Handle mpc_c_c.
17815 * sysdeps/i386/fpu/libm-test-ulps: Update.
17816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17817
5ff8d60e
SP
178182013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17819
57f41c40
AS
17820 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
17821 (do_sin_slow): New functions.
17822 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
17823 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 17824
84ba214c
SP
17825 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
17826 Use M to change sign of result instead of X. Assume X is
17827 positive.
17828 (csloww1): Likewise.
17829 (__sin): Adjust.
17830 (__cos): Adjust.
17831
975195e4
SP
17832 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
17833 arguments A and DA.
17834 (__sin): Adjust.
17835 (__cos): Likewise.
17836
5ff8d60e
SP
17837 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
17838 (__cos): Likewise.
17839 (sloww1): Don't adjust sign of DX.
17840 (csloww1): Likewise.
17841 (sloww2): Use X directly and don't adjust sign of DX.
17842 (csloww2): Likewise.
17843
eb983568
JM
178442013-12-19 Joseph Myers <joseph@codesourcery.com>
17845
64a17f1a
JM
17846 * math/auto-libm-test-in: Add tests of cabs and carg.
17847 * math/auto-libm-test-out: Regenerated.
17848 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
17849 (carg_test_data): Likewise.
17850 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17851 mpc_c_f.
17852 (func_calc_desc): Add mpc_c_f union field.
17853 (test_functions): Add cabs and carg.
17854 (calc_generic_results): Handle mpc_c_f.
17855
eb983568
JM
17856 * sysdeps/powerpc/powerpc32/libgcc-compat.S
17857 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
17858 as a macro and a compat symbol.
17859 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
17860 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
17861 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
17862 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
17863 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
17864 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
17865 not use .hidden.
17866 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
17867 Likewise.
17868 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
17869 Likewise.
17870 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
17871 Likewise.
17872 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
17873 Likewise.
17874 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
17875 Likewise.
17876 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
17877 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
17878 from GLIBC_2.3.2.
17879
6eeb678a
AZ
178802013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17881
17882 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17883
6f6fc482
JM
178842013-12-19 Joseph Myers <joseph@codesourcery.com>
17885
21fea2e2
JM
17886 * manual/texinfo.tex: Update to version 2013-11-26.10 with
17887 trailing whitespace removed.
17888 * scripts/config.guess: Update to version 2013-11-29.
17889 * scripts/config.sub: Update to version 2013-10-01.
17890
6f6fc482
JM
17891 * math/auto-libm-test-in: Add tests of sincos.
17892 * math/auto-libm-test-out: Regenerated.
17893 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
17894 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17895 mpfr_f_11.
17896 (func_calc_desc): Add mpfr_f_11 union field.
17897 (test_functions): Add sincos.
17898 (calc_generic_results): Handle mpfr_f_11.
17899 * sysdeps/i386/fpu/libm-test-ulps: Update.
17900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17901
83f5c32d
AS
179022013-12-19 Andreas Schwab <schwab@suse.de>
17903
17904 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
17905 CALL_MCOUNT.
17906 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
17907 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
17908 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
17909
c688b419
JM
179102013-12-19 Joseph Myers <joseph@codesourcery.com>
17911
335ee092
JM
17912 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
17913 * sysdeps/i386/fpu/libm-test-ulps: Update.
17914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17915
f88acd39
JM
17916 [BZ #16293]
17917 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
17918 round-to-nearest mode when using frndint.
17919 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
17920 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
17921 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
17922 Likewise.
17923 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
17924 sinh test to fail.
17925 * math/auto-libm-test-out: Regenerated.
17926 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
17927 (TEST_COND_x86): Likewise.
17928 (expm1_tonearest_test_data): New array.
17929 (expm1_test_tonearest): New function.
17930 (expm1_towardzero_test_data): New array.
17931 (expm1_test_towardzero): New function.
17932 (expm1_downward_test_data): New array.
17933 (expm1_test_downward): New function.
17934 (expm1_upward_test_data): New array.
17935 (expm1_test_upward): New function.
17936 (main): Run the new test functions.
17937 * sysdeps/i386/fpu/libm-test-ulps: Update.
17938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17939
c688b419
JM
17940 * include/features.h: Update comment documenting feature test
17941 macros. Mention _DEFAULT_SOURCE in comment.
17942 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
17943 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
17944 _BSD_SOURCE and _SVID_SOURCE.
17945 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
17946 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
17947 !_SVID_SOURCE]: Likewise.
17948 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17949 (__USE_POSIX_IMPLICITLY): Define.
17950 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17951 (_POSIX_SOURCE): Undefine and redefine.
17952 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17953 (_POSIX_C_SOURCE): Likewise.
17954 * manual/creature.texi (_DEFAULT_SOURCE): Document.
17955 (Feature Test Macros): Update documentation of default features.
17956
9f6e964c
RS
179572013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17958
17959 * benchtests/Makefile: Add bench-strtok.
17960 * benchtests/bench-strtok.c: New file: strtok benchtest.
17961
ee0a148a
AM
179622013-12-19 Allan McRae <allan@archlinux.org>
17963
17964 * manual/install.texi: Suppress menu for plain text output.
17965 * INSTALL: Regenerated.
17966
b9ab448f
BM
179672013-12-18 Brooks Moses <bmoses@google.com>
17968
17969 [BZ #15846]
17970 * misc/getauxval.c: Include errno.h.
17971 (__getauxval): Set errno to ENOENT if the requested type is not
17972 found.
17973 * misc/sys/auxv.h (getauxval): Document that it may set errno;
17974 don't declare with __attribute_const__.
17975 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
17976 * manual/startup.texi: Document that getauxval sets errno.
17977
23776487
JM
179782013-12-18 Joseph Myers <joseph@codesourcery.com>
17979
f889953b
JM
17980 * math/auto-libm-test-in: Add tests of jn and yn.
17981 * math/auto-libm-test-out: Regenerated.
17982 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
17983 (yn_test_data): Likewise.
17984 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17985 mpfr_if_f.
17986 (func_calc_desc): Add mpfr_if_f union field.
17987 (FUNC_mpfr_if_f): New macro.
17988 (test_functions): Add jn and yn.
17989 (calc_generic_results): Assert type of second input for
17990 mpfr_ff_f. Handle mpfr_if_f.
17991 (output_for_one_input_case): Disable all checking for arguments
17992 fitting floating-point types in case of an integer argument.
17993 * sysdeps/i386/fpu/libm-test-ulps: Update.
17994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17995
23776487
JM
17996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17997 Don't expect fegetround reference in libm.so.
17998
cb756c6d
MS
179992013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18000
18001 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
18002 $(config-cflags-nofma).
18003
2dec468f
JM
180042013-12-18 Joseph Myers <joseph@codesourcery.com>
18005
5953eb3a
JM
18006 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
18007 * math/auto-libm-test-out: Regenerated.
18008
2dec468f
JM
18009 [BZ #16338]
18010 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
18011 to determine exponent and adjust argument to have exponent of -1.
18012 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
18013 log2.
18014 * math/auto-libm-test-out: Regenerated.
18015 * sysdeps/i386/fpu/libm-test-ulps: Update.
18016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18017
4d84e6ad
OB
180182013-12-18 Ondřej Bílka <neleai@seznam.cz>
18019
18020 * manual/probes.texi: Remove cases when per-thread arenas are
18021 disabled.
18022
1818483b
AS
180232013-12-18 Andreas Schwab <schwab@suse.de>
18024
18025 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
18026 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
18027 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
18028 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
18029 * sysdeps/i386/i686/multiarch/Makefile: Update.
18030 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
18031
25de95bf
JM
180322013-12-17 Joseph Myers <joseph@codesourcery.com>
18033
18034 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
18035 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
18036
674762d9
PE
180372013-12-17 Paul Eggert <eggert@cs.ucla.edu>
18038
ed27ed83 18039 [BZ #15968]
0748546f
PE
18040 Support TZ transition times < 00:00:00.
18041 This is needed for version-3 tz-format files; it supports time
18042 stamps past 2037 for America/Godthab (the only entry in the tz
18043 database for which this change is relevant).
18044 * manual/time.texi (TZ Variable): Document transition times
18045 from -167:59:59 through -00:00:01.
18046 * time/tzset.c (tz_rule): Time of day is now signed.
18047 (__tzset_parse_tz): Parse negative time of day.
18048
4480e934
PE
18049 Document TZ transition times >= 25:00:00.
18050 * manual/time.texi (TZ Variable): Document transition times from
18051 25:00:00 through 167:59:59. These are already supported, and this
18052 support will help with version-3 tz-format files.
18053
69947401
PE
18054 * manual/time.texi (TZ Variable): Modernize North America example
18055 to reflect current (i.e., 2007-and-later) daylight saving rules.
18056
674762d9
PE
18057 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
18058
7011c262
JM
180592013-12-17 Joseph Myers <joseph@codesourcery.com>
18060
2fc6557e
JM
18061 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
18062 * sysdeps/unix/bsd/bits/stat.h: Likewise.
18063 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
18064 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18065 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
18066 * sysdeps/unix/bsd/bsdstat.h: Likewise.
18067 * sysdeps/unix/bsd/clock.c: Likewise.
18068 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
18069 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
18070 * sysdeps/unix/bsd/init-posix.c: Likewise.
18071 * sysdeps/unix/bsd/poll.c: Likewise.
18072 * sysdeps/unix/bsd/ptsname.c: Likewise.
18073 * sysdeps/unix/bsd/seekdir.c: Likewise.
18074 * sysdeps/unix/bsd/setegid.c: Likewise.
18075 * sysdeps/unix/bsd/seteuid.c: Likewise.
18076 * sysdeps/unix/bsd/setgid.c: Likewise.
18077 * sysdeps/unix/bsd/setrgid.c: Likewise.
18078 * sysdeps/unix/bsd/setruid.c: Likewise.
18079 * sysdeps/unix/bsd/setsid.c: Likewise.
18080 * sysdeps/unix/bsd/setuid.c: Likewise.
18081 * sysdeps/unix/bsd/sigaction.c: Likewise.
18082 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
18083 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
18084 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
18085 * sysdeps/unix/bsd/telldir.c: Likewise.
18086 * sysdeps/unix/bsd/times.c: Likewise.
18087 * sysdeps/unix/bsd/usleep.c: Likewise.
18088
029c7b25
JM
18089 * misc/Makefile (install-lib): Remove libbsd-compat.a.
18090 ($(objpfx)libbsd-compat.a): Remove rule.
18091
7011c262
JM
18092 * include/features.h (__FAVOR_BSD): Do not define.
18093 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
18094 features conflicting with POSIX.
18095 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
18096 (_BSD_SOURCE): Remove description of not being a subset of other
18097 feature test macros.
18098 * manual/job.texi (getpgrp): Do not document BSD version.
18099 (getpgid): Do not document by reference to BSD getpgrp.
18100 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
18101 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
18102 * signal/signal.h [__FAVOR_BSD]: Likewise.
18103 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
18104 instead of making contents conditional on [__FAVOR_BSD].
18105 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
18106
affb6f78
AZ
181072013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18108
18109 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18110
c88769dd
JM
181112013-12-17 Joseph Myers <joseph@codesourcery.com>
18112
6432a540
JM
18113 [BZ #16314]
18114 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
18115 values below 2**-450, not 2**-500.
18116 * math/auto-libm-test-in: Don't allow spurious underflow from
18117 hypot.
18118 * math/auto-libm-test-out: Regenerated.
18119
c88769dd
JM
18120 [BZ #16316]
18121 [BZ #16330]
18122 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
18123 values of ha and hb and sort them after adjusting subnormal
18124 arguments.
18125 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
18126 Likewise.
18127 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
18128 values of ea and eb and sort them after adjusting subnormal
18129 arguments.
18130 * math/auto-libm-test-in: Do not expect some hypot tests of
18131 subnormals to fail. Add more hypot tests.
18132 * math/auto-libm-test-out: Regenerated.
18133
29618f6b
KK
181342013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18135
18136 [BZ #13304]
18137 * sysdeps/sh/s_fma.c: New file.
18138 * sysdeps/sh/s_fmaf.c: New file.
18139 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
18140 version.
18141 * sysdeps/sh/Implies: Add sh/soft-fp.
18142
eacfdfbf
RM
181432013-12-16 Roland McGrath <roland@hack.frob.com>
18144
18145 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
18146 level of indirection to members `objname', `errstring', `malloced'.
18147 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
18148 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
18149 it as the __longjmp argument (just pass 1 instead).
18150 (_dl_catch_error): Initialize C with argument pointers and address of
18151 volatile local ERRCODE rather than copying values out of C at return.
18152
ff362e5b
JM
181532013-12-16 Joseph Myers <joseph@codesourcery.com>
18154
18155 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
18156 * math/auto-libm-test-out: Regenerated.
18157 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
18158 (hypot_test_data): Likewise.
18159 (pow_test_data): Likewise.
18160 (pow_tonearest_test_data): Likewise.
18161 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18162 mpfr_ff_f.
18163 (func_calc_desc): Add mpfr_ff_f union field.
18164 (FUNC_mpfr_ff_f): New macro.
18165 (test_functions): Add atan2, hypot and pow.
18166 (special_fill_min): New function.
18167 (special_fill_minus_min): Likewise.
18168 (special_fill_min_subnorm): Likewise.
18169 (special_fill_minus_min_subnorm): Likewise.
18170 (special_real_inputs): Add min, -min, min_subnorm and
18171 -min_subnorm.
18172 (calc_generic_results): Handle mpfr_ff_f.
18173 * sysdeps/i386/fpu/libm-test-ulps: Update.
18174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18175
5764c27f
WN
181762013-12-16 Will Newton <will.newton@linaro.org>
18177
18178 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
18179 (Aligned Memory Blocks): Add documentation for aligned_alloc
18180 and suggest it as an alternative to posix_memalign.
18181 (Hooks for Malloc): Document __memalign_hook is also called
18182 for aligned_alloc. (Summary of Malloc): Add summary for
18183 aligned alloc. Document __memalign_hook is also called
18184 for aligned_alloc.
18185
0a096e44
WN
181862013-12-16 Will Newton <will.newton@linaro.org>
18187
18188 * manual/memory.texi (Malloc Examples): Clarify default
18189 alignment documentation. Suggest posix_memalign rather
18190 than memalign or valloc.
18191 (Aligned Memory Blocks): Remove suggestion to use memalign
18192 or valloc. Remove obsolete comment about BSD.
18193 Document memalign errno values and mark the function obsolete.
18194 Document posix_memalign returned error codes. Mark valloc
18195 as obsolete. (Hooks for Malloc): __memalign_hook is also
18196 called for posix_memalign and valloc.
18197 (Summary of Malloc): Add posix_memalign to function summary.
18198 __memalign_hook is also called for posix_memalign and valloc.
18199
8d561986
SP
182002013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18201
18202 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
18203 TAYLOR_SIN.
18204 (__sin): Adjust.
18205 (__cos): Likewise.
18206 (sloww): Use mynumber union. Expand ternary operator into
18207 if-else statements.
18208 (cslow): use mynumber union.
18209
73616a74
AM
182102013-12-16 Allan McRae <allan@archlinux.org>
18211
9e8ac24b
AM
18212 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
18213 * configure: Regenerated.
18214
6f8e37eb
AM
18215 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
18216
8894bad3
AM
18217 [BZ #14120]
18218 * configure.ac: Added --enable-maintainer-mode. Check for
18219 autoconf when enabled.
18220 * configure: Regenerated.
18221
73616a74
AM
18222 * nscd/nscd.service: New file.
18223 * nscd/nscd.tmpfiles: New file.
18224
584b18eb
OB
182252013-12-14 Ondřej Bílka <neleai@seznam.cz>
18226
18227 [BZ #12100]
18228 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
18229 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
18230 * sysdeps/x86_64/multiarch/strstr.c: ... here.
18231 (strstr): Add __strstr_sse2_unaligned ifunc.
18232 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
18233 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
18234 (strcasestr): Remove __strcasestr_sse42 ifunc.
18235 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
18236 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
18237 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
18238
8a5c7897
KK
182392013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18240
18241 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
18242 * sysdeps/sh/bits/fenv.h: ... here.
18243 * sysdeps/sh/sh4/fpu/bits: Remove directory.
18244
fd712ef3
AZ
182452013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18246
18247 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
18248
42fcb46c
AZ
18249 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
18250 hypotf multiarch implementations.
18251 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
18252 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
18253 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
18254 multiarch hypot for PPC64.
18255 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
18256 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
18257 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
18258 multiarch hypotf for PPC64.
18259
83efded4
AZ
18260 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
18261 modff multiarch implementations.
18262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
18263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
18264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
18265 multiarch modf for PPC64.
18266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
18267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
18268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
18269 multiarch modff for PPC64.
18270
43e246d2
AZ
18271 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
18272 and logl multiarch implementations.
18273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
18274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
18275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
18276 multiarch logb for PPC64.
18277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
18278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
18279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
18280 multiarch logb for PPC64.
18281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
18282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
18283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
18284 multiarch logb for PPC64.
18285
8fdad123
AZ
18286 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
18287 isinff multiarch implementation.
18288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
18289 file.
18290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
18291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
18292 multiarch isinf for PPC64.
18293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
18294 file.
18295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
18296 multiarch isinff for PPC64.
18297
1481d706
AZ
18298 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
18299 finitef multiarch implementation.
18300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
18301 file.
18302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
18303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
18304 multiarch finite for PPC64.
18305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
18306 file.
18307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
18308 multiarch finitef for PPC64.
18309
5ccd5fc8
AZ
18310 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
18311 lrint multiarch implementation.
18312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
18313 file.
18314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
18315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
18316 multiarch llrint for PPC64.
18317 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
18318 multiarch lrint for PPC64.
18319
2568f3fa
AZ
18320 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
18321 copysignf multiarch implementation.
18322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
18323 file.
18324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
18325 file.
18326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
18327 multiarch copysign for PPC64.
18328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
18329 multiarch copysignf for PPC64.
18330
1cb341fd
AZ
18331 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
18332 multiarch implementation.
18333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
18334 file.
18335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
18336 file.
18337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
18338 file.
18339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
18340 file.
18341 multiarch llround for PPC64.
18342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
18343 multiarch trunc for PPC64.
18344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
18345 multiarch truncf for PPC64.
18346
59a3e194
AZ
18347 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
18348 multiarch implementation.
18349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
18350 file.
18351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
18352 file.
18353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
18354 file.
18355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
18356 file.
18357 multiarch llround for PPC64.
18358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
18359 multiarch round for PPC64.
18360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
18361 multiarch roundf for PPC64.
18362
357fd3b4
AZ
18363 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
18364 multiarch implementation.
18365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
18366 file.
18367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
18368 file.
18369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
18370 file.
18371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
18372 file.
18373 multiarch llround for PPC64.
18374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
18375 multiarch floor for PPC64.
18376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
18377 multiarch floorf for PPC64.
18378
96770f12
AZ
18379 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
18380 multiarch implementation.
18381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
18382 file.
18383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
18384 file.
18385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
18386 file.
18387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
18388 file.
18389 multiarch llround for PPC64.
18390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
18391 multiarch ceil for PPC64.
18392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
18393 multiarch ceilf for PPC64.
18394
c3627f6e
AZ
18395 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
18396 multiarch implementation.
18397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
18398 file.
18399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
18400 file.
18401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
18402 file.
18403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
18404 multiarch llround for PPC64.
18405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
18406 multiarch lround for PPC64.
18407
b2284ad7
AZ
18408 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
18409 multiarch implementation.
18410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
18411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
18412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
18413 file.
18414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
18415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
18416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
18417 multiarch isnan for PPC64.
18418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
18419 multiarch isnanf for PPC64.
18420
69bbc63d
AZ
18421 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
18422 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
18423 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
18424 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
18425 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
18426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
18427
c24517c9
AZ
18428 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
18429 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18430 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18431 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18432
a52374e8
AZ
18433 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
18434 multiarch implementations.
18435 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18436 (__libc_ifunc_impl_list): Likewise.
18437 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
18438 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
18439 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
18440 multiarch stpcpy for PPC64.
18441
7f5ec113
AZ
18442 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
18443 multiarch implementations.
18444 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18445 (__libc_ifunc_impl_list): Likewise.
18446 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
18447 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
18448 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
18449 multiarch strcpy for PPC64.
18450
e28bcd42
AZ
18451 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
18452 redefine function name.
18453 (_wordcopy_fwd_dest_aligned): Likewise.
18454 (_wordcopy_bwd_aligned): Likewise.
18455 (_wordcopy_bwd_dest_aligned): Likewise.
18456 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
18457 multiarch implementations.
18458 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18459 (__libc_ifunc_impl_list): Likewise.
18460 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
18461 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
18462 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
18463 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
18464 multiarch wcscpy for PPC64.
18465
92cacfce
AZ
18466 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
18467 multiarch implementations.
18468 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18469 (__libc_ifunc_impl_list): Likewise.
18470 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
18471 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
18472 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
18473 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
18474 multiarch wcscpy for PPC64.
18475
7b714620
AZ
18476 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
18477 multiarch implementations.
18478 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18479 (__libc_ifunc_impl_list): Likewise.
18480 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
18481 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
18482 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
18483 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
18484 multiarch wcsrchr for PPC64.
18485
16fd2ae3
AZ
18486 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
18487 multiarch implementations.
18488 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18489 (__libc_ifunc_impl_list): Likewise.
18490 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
18491 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
18492 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
18493 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
18494 multiarch wcschr for PPC64.
18495
9ee2969b
AZ
18496 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
18497 multiarch implementations.
18498 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18499 (__libc_ifunc_impl_list): Likewise.
18500 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
18501 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
18502 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
18503 multiarch strchrnul for PPC64.
18504
372dc060
AZ
18505 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
18506 implementations.
18507 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18508 (__libc_ifunc_impl_list): Likewise.
18509 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
18510 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
18511 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
18512 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
18513 strchr for PPC64.
18514
24c2c3b9
AZ
18515 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
18516 implementations.
18517 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18518 (__libc_ifunc_impl_list): Likewise.
18519 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
18520 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
18521 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
18522 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
18523 strncmp for PPC64.
18524
1c92d9a0
AZ
18525 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
18526 multiarch implementations.
18527 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18528 (__libc_ifunc_impl_list): Likewise.
18529 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
18530 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
18531 strncasecmp for PPC64.
18532 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
18533 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
18534 multiarch strncasecmp_l for PPC64.
18535
17de3ee3
AZ
18536 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
18537 multiarch implementations.
18538 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18539 (__libc_ifunc_impl_list): Likewise.
18540 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
18541 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
18542 multiarch strcasecmp for PPC64.
18543 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
18544 file.
18545 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
18546 multiarch strcasecmp_l for PPC64.
18547
62982bf9
AZ
18548 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
18549 implementations.
18550 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18551 (__libc_ifunc_impl_list): Likewise.
18552 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
18553 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
18554 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
18555 strnlen for PPC64.
18556
a65f4904
AZ
18557 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
18558 implementations.
18559 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18560 (__libc_ifunc_impl_list): Likewise.
18561 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
18562 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
18563 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
18564 strlen for PPC64.
18565
1fd005ad
AZ
18566 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
18567 implementations.
18568 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18569 (__libc_ifunc_impl_list): Likewise.
18570 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
18571 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
18572 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
18573 rawmemrchr for PPC64.
18574
cd05ba91
AZ
18575 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
18576 implementation.
18577 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18578 (__libc_ifunc_impl_list): Likewise.
18579 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
18580 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
18581 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
18582 memrchr for PPC64.
18583
870f8676
AZ
18584 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
18585 implementation.
18586 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18587 (__libc_ifunc_impl_list): Likewise.
18588 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
18589 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
18590 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
18591 memchr for PPC64.
18592
f00be62b
AZ
18593 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
18594 implementation.
18595 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18596 (__libc_ifunc_impl_list): Likewise.
18597 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
18598 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
18599 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
18600 mempcpy for PPC64.
18601
8a29a3d0
AZ
18602 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
18603 avoid cretion of __bzero symbol.
18604 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
18605 Likewise.
18606 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
18607 Likewise.
18608 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
18609 Likewise.
18610 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
18611 multiarch implementations.
18612 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18613 (__libc_ifunc_impl_list): Likewise.
18614 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
18615 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
18616 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
18617 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
18618 bzero for PPC32.
18619 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
18620 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
18621 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
18622 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
18623 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
18624 memset for PPC64.
18625 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
18626
07253fcf
AZ
18627 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
18628 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
18629 implementations.
18630 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18631 (__libc_ifunc_impl_list): Likewise.
18632 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
18633 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
18634 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
18635 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
18636 memcmp for PPC64.
18637
b5beafbc
AZ
18638 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
18639 multiarch for POWER/PPC64.
18640 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
18641 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
18642 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
18643 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
18644 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
18645 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
18646 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
18647 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
18648 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
18649 memcpy for PPC64.
18650
5e6a4d4b
AZ
18651 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
18652 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
18653 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
18654 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
18655 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
18656 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
18657 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
18658 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
18659 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
18660 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
18661 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
18662 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
18663 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
18664 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
18665 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
18666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
18667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
18668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
18669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
18670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
18671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
18672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
18673
ddfab6dc
KK
186742013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18675
18676 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
18677
19b5525e
SP
186782013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18679
18680 * benchtests/Makefile (bench): Add exp2 and log2.
18681 (LDLIBS-bench-exp2): Add -lm.
18682 (LDLIBS-bench-log2): Likewise.
18683 * benchtests/exp2-inputs: New inputs file.
18684 * benchtests/log2-inputs: New inputs file.
18685 * benchtests/log-inputs: Add new inputs.
18686 * benchtests/tan-inputs: Likewise.
18687
196f7f5d
SP
186882013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18689
7a74607f
SP
18690 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
18691 definition...
57f41c40
AS
18692 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
18693 (csloww2): ... from here.
7a74607f 18694
196f7f5d
SP
18695 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
18696 instead of structures.
18697 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
18698 (POLYNOMIAL): Likewise.
18699 (TAYLOR_SLOW): Likewise.
18700 (__sin): Likewise.
18701 (__cos): Likewise.
18702 (slow1): Likewise.
18703 (slow2): Likewise.
18704 (sloww): Likewise.
18705 (sloww1); Likewise.
18706 (sloww2): Likewise.
18707 (bsloww1): Likewise.
18708 (bsloww2): Likewise.
18709 (cslow2): Likewise.
18710 (csloww): Likewise.
18711 (csloww1): Likewise.
18712 (csloww2): Likewise.
18713
0dfa665c
OB
187142013-12-10 Ondřej Bílka <neleai@seznam.cz>
18715
18716 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
18717 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
18718 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
18719 * malloc/hooks.c (realloc_check): Likewise.
18720
5782a80f
OB
18721 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
18722 * malloc/arena.c: Remove PER_THREAD conditional.
18723 [!PER_THREAD]: Remove code.
18724 (ptmalloc_unlock_all2): Likewise.
18725 (ptmalloc_init): Likewise.
18726 (_int_new_arena): Likewise.
18727 (arena_get2): Likewise.
18728 * malloc/hooks.c (__malloc_get_state): Likewise.
18729 (__malloc_set_state): Likewise.
18730 * malloc/malloc.c: Likewise.
18731 (struct malloc_state): Likewise.
18732 (struct malloc_par): Likewise.
18733 (__libc_realloc): Likewise.
18734 (__libc_mallopt): Likewise.
18735
aeb95445
AZ
187362013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18737
18738 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
18739
e8349efd
OB
187402013-12-09 Ondřej Bílka <neleai@seznam.cz>
18741
18742 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
18743 macro to a function. Check for zero perturb_byte.
18744 (_int_malloc, _int_free): Remove zero perturb_byte checks.
18745
f3eeb3fc 18746 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
18747 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
18748 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
18749 force_reg by atomic_forced_read.
18750 * malloc/arena.c (ptmalloc_init): Likewise.
18751 * malloc/hooks.c (top_check): Likewise.
18752
be2f9009
AZ
187532013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18754
18755 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18756
e7b914bd
MT
187572013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
18758
18759 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18760
9f0be4f8
JM
187612013-12-08 Joseph Myers <joseph@codesourcery.com>
18762
18763 * math/auto-libm-test-in: Add tests of lgamma.
18764 * math/auto-libm-test-out: Regenerated.
18765 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
18766 (M_LOG_2_SQRT_PIl): Likewise.
18767 (lgamma_test_data): Use AUTO_TESTS_f_f1.
18768 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18769 mpfr_f_f1.
18770 (func_calc_desc): Add mpfr_f_f1 union field.
18771 (ARGS1): New macro.
18772 (ARGS2): Likewise.
18773 (ARGS3): Likewise.
18774 (ARGS4): Likewise.
18775 (RET1): Likewise.
18776 (RET2): Likewise.
18777 (CALC): Likewise.
18778 (FUNC): Likewise.
18779 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
18780 (test_functions): Add lgamma.
18781 (calc_generic_results): Handle mpfr_f_f1.
18782 * sysdeps/i386/fpu/libm-test-ulps: Update.
18783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18784
24eeafdb
AZ
187852013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18786
18787 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
18788 __mpn_add_n for PowerPC64/POWER7.
18789 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
18790 __mpn_sub_n for PowerPC64/POWER7.
18791
4a2c0fd4
AZ
18792 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
18793 __mpn_addmul_1 for PowerPC64.
18794 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
18795 __mpn_submul_1 for PowerPC64.
18796 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
18797 for PowerPC64.
18798 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
18799 for PowerPC64.
18800
4b5b548c
FS
188012013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
18802
18803 [BZ #15089]
18804 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
18805
0a3ac0aa
AZ
188062013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18807
18808 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
18809
ccdc8438
AZ
18810 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
18811 add multiarch folders.
18812 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
18813 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
18814 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
18815 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
18816 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
18817 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
18818 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
18819 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
18820 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
18821 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
18822 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
18823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
18824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
18825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
18826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
18827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
18828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
18829
2e973d99
AZ
18830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
18831 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
18832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
18833 New file.
18834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
18835 New file.
18836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
18837 multiarch __ieee754_hypot for PowerPC32.
18838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
18839 New file.
18840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
18841 New file.
18842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
18843 multiarch __ieee754_hypotf for PowerPC32.
18844
2d9470b2
AZ
18845 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
18846 long_double_symbol only if __logbl is defined.
18847 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
18848 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
18849 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
18850 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
18851 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
18852 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
18853 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
18854 path for implementation.
18855 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
18856 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
18857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
18858 logb, and logbl multiarch implementations for PowerPC32.
18859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
18860 file.
18861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
18862 file.
18863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
18864 multiarch logb for PowerPC32.
18865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
18866 file.
18867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
18868 file.
18869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
18870 multiarch logbf for PowerPC32.
18871 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
18872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
18873 file.
18874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
18875 multiarch logbl implementation for PowerPC32.
18876
5212ffce
AZ
18877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
18878 and modff multiarch implementations.
18879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
18880 New file.
18881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
18882 New file.
18883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
18884 multiarch modf for PowerPC32.
18885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
18886 New file.
18887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
18888 New file.
18889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
18890 multiarch modff for PowerPC32.
18891
79dccf31
AZ
18892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
18893 and lrintf multiarch implementations.
18894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
18895 New file.
18896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
18897 New file.
18898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
18899 multiarch lrint for PowerPC32.
18900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
18901 file: multiarch lrintf for PowerPC32.
18902
deb66480
AZ
18903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
18904 and lroundf multiarch implementations.
18905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
18906 New file.
18907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
18908 New file.
18909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
18910 New file.
18911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
18912 multiarch lround for PowerPC32.
18913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
18914 file: multiarch lroundf for PowerPC32.
18915
264b036b
AZ
18916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
18917 copysign and copysignf multiarch implementations.
18918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
18919 New file.
18920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
18921 New file.
18922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
18923 file: multiarch copysign for PowerPC32.
18924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
18925 file: multiarch copysignf for PowerPC32.
18926
d47db6c9
AZ
18927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
18928 and truncf multiarch implementations.
18929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
18930 New file.
18931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
18932 file.
18933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
18934 multiarch trunc for PowerPC32.
18935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
18936 New file.
18937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
18938 New file.
18939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
18940 multiarch truncf for PowerPC32.
18941
ddb60b5a
AZ
18942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
18943 and roundf multiarch implementations.
18944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
18945 New file.
18946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
18947 file.
18948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
18949 multiarch round for PowerPC32.
18950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
18951 New file.
18952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
18953 New file.
18954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
18955 multiarch roundf for PowerPC32.
18956
bedcf49b
AZ
18957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
18958 and floorf multiarch implementations.
18959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
18960 New file.
18961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
18962 file.
18963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
18964 multiarch floor for PowerPC32.
18965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
18966 New file.
18967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
18968 New file.
18969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
18970 multiarch floorf for PowerPC32.
18971
35ae5b40
AZ
18972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
18973 and ceilf multiarch implementations.
18974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
18975 New file.
18976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
18977 file.
18978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
18979 multiarch ceil for PowerPC32.
18980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
18981 New file.
18982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
18983 file.
18984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
18985 multiarch ceilf for PowerPC32.
18986
ae1a4cd9
AZ
18987 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
18988 is defined.
18989 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
18990 FINITEF is defined.
18991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
18992 and finitef multiarch implementations.
18993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
18994 New file.
18995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
18996 file.
18997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
18998 multiarch finite for PowerPC32.
18999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
19000 New file.
19001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
19002 file: multiarch finitef for PowerPC32.
19003
64fffd65
AZ
19004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
19005 and isinff multiarch implementations.
19006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
19007 file.
19008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
19009 file.
19010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
19011 multiarch isinf for PowerPC32.
19012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
19013 New file.
19014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
19015 multiarch isinff for PowerPC32.
19016
8e4e7ba2
AZ
19017 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
19018 alias when __isnan is defined.
19019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
19020 and isnanf multiarch implementations.
19021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
19022 file.
19023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
19024 file.
19025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
19026 file.
19027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
19028 file.
19029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
19030 multiarch isnan for PowerPC32.
19031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
19032 New file.
19033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
19034 New file.
19035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
19036 multiarch isnanf for PowerPC32.
19037
ddba588e
AZ
19038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
19039 and sqrtf multiarch implementations.
19040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
19041 file.
19042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
19043 file.
19044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
19045 multiarch sqrt for PowerPC32.
19046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
19047 file.
19048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
19049 file.
19050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
19051 multiarch sqrtf for PowerPC32.
19052
0f96a2f0
AZ
19053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
19054 and llroundf multiarch implementations.
19055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
19056 New file.
19057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
19058 New file.
19059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
19060 New file.
19061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
19062 file: multiarch llround for PowerPC32.
19063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
19064 file: multiarch llroundf for PowerPC32.
19065
c9b5d79e
AZ
19066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
19067 multiarch PowerPC32 fpu implementations.
19068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
19069 New file.
19070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
19071 New file.
19072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
19073 multiarch llrint for PowerPC32.
19074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
19075 New file.
19076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
19077 New file.
19078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
19079 file.
19080
9cbb3aab
AZ
19081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
19082
ea5a72f8
AZ
19083 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
19084 file.
19085 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
19086 file.
19087 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
19088 file.
19089 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
19090 multiarch wordcopy for PPC32.
19091 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
19092 wordcopy objects.
19093 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19094 (__libc_ifunc_impl_list): Likewise.
19095 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
19096 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
19097 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
19098 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
19099 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
19100 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
19101
93be09e7
AZ
19102 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
19103 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
19104 file.
19105 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
19106 file.
19107 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
19108 file.
19109 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
19110 multiarch wcscpy for PPC32.
19111 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
19112 multiarch objects.
19113 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19114 (__libc_ifunc_impl_list): Likewise.
19115 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19116 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19117 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
19118 sysdeps/powerpc/power6/wcscpy.c.
19119
bb04e529
AZ
19120 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
19121 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
19122 file.
19123 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
19124 file.
19125 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
19126 file.
19127 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
19128 multiarch wcsrchr for PPC32.
19129 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19130 multiarch objects.
19131 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19132 (__libc_ifunc_impl_list): Likewise.
19133 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19134 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19135 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
19136 sysdeps/powerpc/power6/wcsrchr.c.
19137
05b5cd1c
AZ
19138 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
19139 file.
19140 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
19141 file.
19142 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
19143 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
19144 multiarch wcschr for PPc32.
19145 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19146 multiarch objects.
19147 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19148 (__libc_ifunc_impl_list): Likewise.
19149 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
19150 * sysdeps/powerpc/power6/wcschr.c: ... to here.
19151 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
19152 sysdeps/powerpc/power6/wcschr.c.
19153
ba964147
AZ
19154 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
19155 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
19156 file.
19157 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
19158 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
19159 file: multiarch strchr for PPC32.
19160 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
19161 multiarch objects.
19162 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19163 (__libc_ifunc_impl_list): Likewise.
19164
31c81aaa
AZ
19165 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
19166 name.
19167 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
19168 file.
19169 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
19170 file.
19171 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
19172 multiarch strchrnul for PPC32.
19173 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
19174 multiarch objects.
19175 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19176 (__libc_ifunc_impl_list): Likewise.
19177
0d0607d9
AZ
19178 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
19179 file.
19180 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
19181 multiarch strncasecmp for PPC32.
19182 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
19183 file.
19184 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
19185 multiarch strncasecmp_l for PPC32.
19186 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
19187 strncasecmp multiarch objects.
19188 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19189 (__libc_ifunc_impl_list): Likewise.
19190
4dfd5c86
AZ
19191 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
19192 file.
19193 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
19194 multiarch strncasecmp for PPC32.
19195 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
19196 New file.
19197 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
19198 multiarch strcasecmp_l for PPC32.
19199 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
19200 multiarch objects.
19201 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19202 (__libc_ifunc_impl_list): Likewise.
19203
a19e01a3
AZ
19204 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
19205 file.
19206 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
19207 file.
19208 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
19209 multiarch strncmp for PPC32.
19210 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
19211 multiarch objects.
19212 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19213 (__libc_ifunc_impl_list): Likewise.
19214
ae9cf7a2
AZ
19215 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
19216 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
19217 file.
19218 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
19219 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
19220 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
19221 multiarch objects.
19222 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19223 (__libc_ifunc_impl_list): Likewise.
19224
3148bb7d
AZ
19225 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
19226 file.
19227 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
19228 file.
19229 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
19230 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
19231 multiarch objects.
19232 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19233 (__libc_ifunc_impl_list): Likewise.
19234
7af8b946
AZ
19235 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
19236 file.
19237 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
19238 file.
19239 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
19240 multiarch rawmemchr for PPC32.
19241 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
19242 multiarch objects.
19243 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19244 (__libc_ifunc_impl_list): Likewise.
19245
03a6aa6a
AZ
19246 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
19247 file.
19248 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
19249 file.
19250 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
19251 file: memrchr multiarch for PPC32.
19252 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
19253 multiarch objects.
19254 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19255 (__libc_ifunc_impl_list): Likewise.
19256
1c62e6d9
AZ
19257 * string/memchr.c (__memchr): Using macro to redefine symbol name.
19258 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
19259 file.
19260 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
19261 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
19262 multiarch memchr for PPC32.
19263 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
19264 multiarch objects.
19265 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19266 (__libc_ifunc_impl_list): Likewise.
19267
87da8bdb
AZ
19268 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
19269 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
19270 file.
19271 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
19272 file.
19273 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
19274 file: multiarch mempcpy for PPC32.
19275 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
19276 multiarch objects.
19277 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19278 (__libc_ifunc_impl_list): Likewise.
19279
20ed4714
AZ
19280 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
19281 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
19282 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
19283 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
19284 multiarch bzero for PPC32.
19285 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
19286 file.
19287 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
19288 file.
19289 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
19290 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
19291 file: multiarch memset for PPC32.
19292 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
19293 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
19294 memset multiarch objects.
19295 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19296 (__libc_ifunc_impl_list): Likewise.
19297
ab3e3a46
AZ
19298 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
19299 file.
19300 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
19301 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
19302 memcmp for PPC32.
19303 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
19304 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
19305 multiarch objects.
19306 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19307 (__libc_ifunc_impl_list): Likewise.
19308
930de6f0
AZ
19309 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
19310 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
19311 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
19312 file.
19313 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
19314 file.
19315 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
19316 file.
19317 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
19318 multiarch memcpy for PPC32.
19319 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
19320 multiarch objects.
19321 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19322 (__libc_ifunc_impl_list): Likewise.
19323
4c628e00
AZ
19324 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
19325 support multiarch for POWER/PPC32.
19326 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
19327 Likewise.
19328 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
19329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
19330 Implies file to make multiarch folder appers before the fpu and
19331 default folder for power4 configuration.
19332
f4479220
SP
193332013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19334
19335 * scripts/bench.pl: Append volatile keyword to type.
19336
8517800f
KK
193372013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19338
19339 * sysdeps/sh/sotruss-lib.c: New file.
19340 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
19341
180138f1
AZ
193422013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19343
19344 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19345
bbf37bdc
JM
193462013-12-05 Joseph Myers <joseph@codesourcery.com>
19347
e47cc4e0
JM
19348 [BZ #6810]
19349 * math/w_tgamma.c: Include <errno.h>.
19350 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
19351 * math/w_tgammaf.c: Include <errno.h>.
19352 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
19353 * math/w_tgammal.c: Include <errno.h>.
19354 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
19355 * math/auto-libm-test-in: Do not allow missing errno on tgamma
19356 underflow. Add more tgamma tests.
19357 * math/auto-libm-test-out: Regenerated.
19358 * sysdeps/i386/fpu/libm-test-ulps: Update.
19359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19360
bbf37bdc
JM
19361 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
19362 sin, sinh, tan, tanh, tgamma, y0 and y1.
19363 * math/auto-libm-test-out: Regenerated.
19364 * math/libm-test.inc (TEST_COND_x86_64): New macro.
19365 (TEST_COND_x86): Likewise.
19366 (M_E2l): Remove macro.
19367 (M_E3l): Likewise.
19368 (M_2_SQRT_PIl): Likewise.
19369 (M_SQRT_PIl): Likewise.
19370 (M_1_DIV_El): Likewise.
19371 (log_test_data): Use AUTO_TESTS_f_f.
19372 (log10_test_data): Likewise.
19373 (log1p_test_data): Likewise.
19374 (log2_test_data): Likewise.
19375 (sin_test_data): Likewise.
19376 (sin_tonearest_test_data): Likewise.
19377 (sin_towardzero_test_data): Likewise.
19378 (sin_downward_test_data): Likewise.
19379 (sin_upward_test_data): Likewise.
19380 (sinh_test_data): Likewise.
19381 (sinh_tonearest_test_data): Likewise.
19382 (sinh_towardzero_test_data): Likewise.
19383 (sinh_downward_test_data): Likewise.
19384 (sinh_upward_test_data): Likewise.
19385 (tan_test_data): Likewise.
19386 (tan_tonearest_test_data): Likewise.
19387 (tan_towardzero_test_data): Likewise.
19388 (tan_downward_test_data): Likewise.
19389 (tan_upward_test_data): Likewise.
19390 (tanh_test_data): Likewise.
19391 (tgamma_test_data): Likewise.
19392 (y0_test_data): Likewise.
19393 (y1_test_data): Likewise.
19394 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
19395 (special_real_inputs): Add pi/4.
19396 * sysdeps/i386/fpu/libm-test-ulps: Update.
19397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19398
eb5ad6b9
AZ
193992013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19400
19401 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
19402 "longjmp_target" static probes.
19403 (__longjmp): Rename to __longjmp_symbol.
19404 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19405 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
19406 on which longjmp to generate.
19407 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
19408 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
19409 probe.
19410 (__sigsetjmp): Rename to __sigsetjmp_symbol.
19411 (__sigjmp_save): Rename to __sigjmp_save_symbol.
19412 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
19413 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
19414 and __sigjmp_save_symbol based on which sigsetjmp to generated.
19415 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
19416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
19417 __longjmp_symbol based on which __longjmp to generate.
19418 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
19419 probe.
19420 (setjmp): Rename to setjmp_symbol.
19421 (__sigsetjmp): Rename to __sigsetjmp_symbol.
19422 (_setjmp): Rename to _setjmp_symbol.
19423 (__sigsetjmp): Rename to __sigsetjmp_symbol.
19424 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
19425 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
19426 which setjmp to generate.
19427 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
19428 "longjmp_target" static probes.
19429
d136c6dc
SP
194302013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19431
9298ecba
SP
19432 * benchtests/README: Add note about output arguments.
19433 * benchtests/bench-sincos.c: Remove file.
19434 * benchtests/sincos-inputs: New file.
19435 * scripts/bench.pl: Identify output arguments and define
19436 static variables for them.
19437
232983e9
SP
19438 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
19439
d136c6dc
SP
19440 [BZ #15941]
19441 * Makefile (INSTALL): Add install-plain.texi as the primary
19442 dependency.
19443 * manual/install-plain.texi: New file.
19444 * manual/install.texi: Include node directive only for
19445 non-plaintext output.
19446
699ff837
JM
194472013-12-04 Joseph Myers <joseph@codesourcery.com>
19448
ab07cea8
JM
19449 * stdlib/longlong.h: Update from GCC.
19450
699ff837
JM
19451 [BZ #6807]
19452 [BZ #15901]
19453 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
19454 * math/w_j0f.c (y0f): Likewise.
19455 * math/w_j0l.c (__y0l): Likewise.
19456 * math/w_j1.c (y1): Likewise.
19457 * math/w_j1f.c (y1f): Likewise.
19458 * math/w_j1l.c (__y1l): Likewise
19459 * math/w_jn.c (yn): Likewise.
19460 * math/w_jnf.c (ynf): Likewise.
19461 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
19462 Bessel function pole errors in _POSIX_ mode. Use NAN as return
19463 value for Bessel function domain errors outside _SVID_ mode.
19464 Adjust sign of return value for yn (negative integer, 0).
19465 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
19466 by zero in return for negative x and set sign appropriately for
19467 negative n.
19468 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
19469 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
19470 * math/libm-test.inc (y0_test_data): Add more tests and adjust
19471 expectations in error cases.
19472 (y1_test_data): Likewise.
19473 (yn_test_data): Likewise.
19474 * sysdeps/i386/fpu/libm-test-ulps: Update.
19475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19476
5b118558
UW
194772013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19478
19479 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
19480 "64" to "64-v1". Add "64-v2".
19481 (abi-64-options): Rename to ...
19482 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
19483 (abi-64-condition): Rename to ...
19484 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
19485 (abi-64-ld-soname): Rename to ...
19486 (abi-64-v1-ld-soname): ... this.
19487 (abi-64-v2-options): Define.
19488 (abi-64-v2-condition): Likewise.
19489 (abi-64-v2-ld-soname): Likewise.
19490 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
19491 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
19492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
19493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
19494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
19495
61cd8fe4
UW
194962013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19497 Alan Modra <amodra@gmail.com>
19498
19499 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
19500 New versions for use with the ELFv2 ABI.
19501 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
19502 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
19503 declaration.
19504 (struct La_ppc64v2_retval): Likewise.
19505 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
19506 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
19507 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
19508 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
19509 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
19510 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19511 Do not save or restore CR.
19512 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
19513 (_dl_profile_resolve): Do no save or restore CR. Support extended
19514 return values for ELFv2 ABI. Fix location of FPR return registers.
19515 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
19516 updated values for _CALL_ELF == 2.
19517 (La_regs, La_retval, int_retval): Likewise.
19518
8b8a692c
UW
195192013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19520
19521 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
19522 (FRAME_MIN_SIZE_PARM): Likewise.
19523 (FRAME_BACKCHAIN): Likewise.
19524 (FRAME_CR_SAVE): Likewise.
19525 (FRAME_LR_SAVE): Likewise.
19526 (FRAME_TOC_SAVE): Likewise.
19527 (FRAME_PARM_SAVE): Likewise.
19528 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
19529 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
19530 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
19531 (call_mcount_parm_offset): New macro.
19532 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
19533 (PROF): Use symbolic stack frame offsets.
19534 (TAIL_CALL_SYSCALL_ERROR): Likewise.
19535 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
19536 Redefine in terms of FRAME_MIN_SIZE.
19537 (_dl_runtime_resolve): Use symbolic stack frame offsets.
19538 (_dl_profile_resolve): Likewise. Update comment.
19539 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
19540 symbols stack frame offsets.
19541 (__sigsetjmp): Likewise.
19542 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
19543 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
19544 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
19545 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
19546
19547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
19548 (FRAME_BACKCHAIN): Remove.
19549 (FRAME_CR_SAVE): Likewise.
19550 (FRAME_LR_SAVE): Likewise.
19551 (FRAME_COMPILER_DW): Likewise.
19552 (FRAME_LINKER_DW): Likewise.
19553 (FRAME_TOC_SAVE): Likewise.
19554 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
19555 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
19556 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
19557 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
19558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
19559 (CHECK_SP): Use symbolic stack frame offsets.
19560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
19561 zone" instead of caller's parameter save area for temp storage.
19562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19563 Likewise. Also, use symbolic stack frame offsets.
19564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
19565 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
19566 our own stack frame instead of the caller's.
19567 (__socket): Use symbolic stack frame offsets.
19568
122b66de
UW
195692013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19570 Alan Modra <amodra@gmail.com>
19571
19572 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
19573 Define.
57f41c40
AS
19574 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
19575 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
19576 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
19577 New function.
19578 (elf_machine_fixup_plt): Call it.
19579 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
19580 reloc arguments.
19581 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
19582 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
19583 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
19584 r2 before calling target.
19585
696caf1d
UW
195862013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19587 Alan Modra <amodra@gmail.com>
19588
19589 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
19590 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
19591 versions of macros to support ELFv2 ABI.
19592 (LOCALENTRY): New macro.
19593 (ENTRY, EALIGN): Use it.
19594 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
19595 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
19596 fall through into ENTRY entry point.
19597 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
19598 Only define if _CALL_ELF != 2.
19599
19600 (elf_machine_matches_host): Verify ABI version matches.
19601 (RTLD_START): Use LOCALENTRY.
19602 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
19603 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
19604 (PLT_ENTRY_WORDS): New macro.
19605 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
19606 (elf_machine_runtime_setup): Support ELFv2 ABI.
19607 (elf_machine_fixup_plt): Likewise.
19608 (elf_machine_plt_conflict): Likewise.
19609 (resolve_ifunc): Likewise.
19610 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
19611 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
19612 Likewise.
19613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
19614 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
19615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19616 (makecontext): Support ELFv2 ABI.
19617 * elf/elf.h (EF_PPC64_ABI): Define.
19618
d31beafa
UW
196192013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19620
57f41c40
AS
19621 * sysdeps/powerpc/powerpc64/sysdep.h
19622 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
19623 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
19624 (ENTRY) [ASSEMBLER]: ... but instead here ...
19625 (EALIGN) [ASSEMBLER]: ... and here.
19626 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
19627 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
19628 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
19629 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
19630 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
19631 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
19632 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
19633 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
19634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
19635 Use PPC64_LOAD_FUNCPTR.
19636
b525166b
UW
19637 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
19638
7ec07d9a
AM
196392013-12-04 Alan Modra <amodra@gmail.com>
19640
19641 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
19642 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
19643 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
19644 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
19645
19646 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
19647 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
19648 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
19649 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
19650 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
19651 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
19652
5162e7dd
UW
196532013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19654
19655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19656 (__makecontext): Fix incorrect CFI when backtracing out of
19657 context created via makecontext.
19658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
19659 (__setcontext): Fix incorrect CFI during switch to new context.
19660 (__novec_setcontext): Likewise.
19661
19e3372b
OB
196622013-12-04 Ondřej Bílka <neleai@seznam.cz>
19663
19664 [BZ #4772]
19665 * time/strptime_l.c (__strptime_internal): Allow modifiers
19666 in strptime.
19667 * time/tst-strptime.c (day_tests): Add testcase.
19668
ecaf142d
SP
196692013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19670
19671 * scripts/bench.pl: Skip over blank lines.
19672
fbf964ae
PE
196732013-12-04 Paul Eggert <eggert@cs.ucla.edu>
19674
19675 [BZ #926]
19676 * manual/time.texi (Calendar Time): Clarify what timezone functions
19677 use.
19678
fa60a674
AZ
196792013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19680
19681 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19682
d674f0ef
OB
196832013-12-04 Ondřej Bílka <neleai@seznam.cz>
19684
19685 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
19686 implementation.
19687 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
19688 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
19689 * debug/memset_chk.c (__memset_chk): Likewise.
19690 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
19691 * debug/strncpy_chk.c: Likewise.
19692
17dea188
JM
196932013-12-03 Joseph Myers <joseph@codesourcery.com>
19694
749008ff
JM
19695 [BZ #15268]
19696 [BZ #15425]
19697 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
19698 (__ieee754_exp): For possibly underflowing results, check size of
19699 result and force underflow exception if required.
19700 * math/auto-libm-test-in: Add more tests of exp.
19701 * math/auto-libm-test-out: Regenerated.
19702 * sysdeps/i386/fpu/libm-test-ulps: Update.
19703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19704
17dea188
JM
19705 [BZ #16283]
19706 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
19707 * math/w_exp2f.c (__exp2f): Likewise.
19708 * math/w_exp2l.c (__exp2l): Likewise.
19709 * math/auto-libm-test-in: Do not allow missing errno on exp2
19710 underflow.
19711 * math/auto-libm-test-out: Regenerated.
19712
b20de2c3
OB
197132013-12-03 Ondřej Bílka <neleai@seznam.cz>
19714
19715 [BZ #16274]
19716 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
19717 handle filename validation.
19718 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
19719 (do_open): Delete.
19720
d8e2dbe3
JM
197212013-12-03 Joseph Myers <joseph@codesourcery.com>
19722
34e16df5
JM
19723 [BZ #6786]
19724 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
19725 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
19726 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
19727 <float.h>.
19728 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
19729 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
19730 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19731 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
19732 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19733 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
19734 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19735 * math/auto-libm-test-in: Don't allow missing errno from erfc.
19736 Add more erfc tests.
19737 * math/auto-libm-test-out: Regenerated.
19738 * sysdeps/i386/fpu/libm-test-ulps: Update.
19739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19740
d8e2dbe3
JM
19741 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
19742 exp2, expm1, j0 and j1.
19743 * math/auto-libm-test-out: Regenerated.
19744 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
19745 (erfc_test_data): Likewise.
19746 (exp_test_data): Likewise.
19747 (exp_tonearest_test_data): Likewise.
19748 (exp_towardzero_test_data): Likewise.
19749 (exp_downward_test_data): Likewise.
19750 (exp_upward_test_data): Likewise.
19751 (exp10_test_data): Likewise.
19752 (exp2_test_data): Likewise.
19753 (expm1_test_data): Likewise.
19754 (j0_test_data): Likewise.
19755 (j1_test_data): Likewise.
19756 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
19757 (input_flag_type): Add flag_xfail_rounding.
19758 (input_flags): Add xfail-rounding.
19759 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
19760 (output_for_one_input_case): Handle flag_xfail_rounding.
19761 * sysdeps/i386/fpu/libm-test-ulps: Update.
19762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19763
18d14251
AJ
197642013-12-03 Aurelien Jarno <aurelien@aurel32.net>
19765
3d2e6075 19766 [BZ #16289]
18d14251
AJ
19767 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
19768 division by 0.
19769
520d437b
SP
197702013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19771
19772 [BZ #16195]
19773 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
19774 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
19775 (STAP_PROBE0): New macro.
19776 (STAP_PROBE1): Likewise.
19777 (STAP_PROBE2): Likewise.
19778 (STAP_PROBE3): Likewise.
19779 (STAP_PROBE4): Likewise.
19780
416e0145
OB
197812013-12-02 Ondřej Bílka <neleai@seznam.cz>
19782
19783 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
19784
9d17796a
SE
197852013-12-02 Steve Ellcey <sellcey@mips.com>
19786
19787 * benchtests/Makefile (bench): Add sqrt.
19788 (LDLIBS-bench-sqrt): New.
19789 * benchtests/sqrt-input: New.
19790
f524d6a8
PS
197912013-12-02 Pavel Simerda <psimerda@redhat.com>
19792
639a0ef8
PS
19793 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
19794 (GAIH_EAI): Likewise.
19795 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
19796 (gaih_inet): Likewise.
19797 (getaddrinfo): Don't use GAIH_EAI.
19798
f524d6a8
PS
19799 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
19800 (struct gaih): Remove definition.
19801
df3aedaf
SP
198022013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19803
19804 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
19805 Use HERRNOP directly.
19806
1ab19dec
AZ
198072013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19808
b42ad38d 19809 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 19810
176b0c79
JM
198112013-11-30 Joseph Myers <joseph@codesourcery.com>
19812
19813 * math/gen-auto-libm-tests.c (test_functions): Add more
19814 single-argument functions.
19815 (special_fill_pi_2): New function.
19816 (special_fill_minus_pi_2): Likewise.
19817 (special_fill_pi_6): Likewise.
19818 (special_fill_minus_pi_6): Likewise.
19819 (special_fill_pi_3): Likewise.
19820 (special_fill_2pi_3): Likewise.
19821 (special_fill_e): Likewise.
19822 (special_fill_1_e): Likewise.
19823 (special_fill_e_minus_1): Likewise.
19824 (special_real_inputs): Add more special inputs.
19825 (output_for_one_input_case): Do not require ERANGE on underflow to
19826 zero if round-to-nearest result does not underflow to zero, unless
19827 exact results required.
19828 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
19829 atan, atanh, cbrt, cos and cosh.
19830 * math/auto-libm-test-out: Regenerated.
19831 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
19832 (acos_tonearest_test_data): Likewise.
19833 (acos_towardzero_test_data): Likewise.
19834 (acos_downward_test_data): Likewise.
19835 (acos_upward_test_data): Likewise.
19836 (acosh_test_data): Likewise.
19837 (asin_test_data): Likewise.
19838 (asin_tonearest_test_data): Likewise.
19839 (asin_towardzero_test_data): Likewise.
19840 (asin_upward_test_data): Likewise.
19841 (asinh_test_data): Likewise.
19842 (atan_test_data): Likewise.
19843 (atanh_test_data): Likewise.
19844 (cbrt_test_data): Likewise.
19845 (cos_test_data): Likewise.
19846 (cos_tonearest_test_data): Likewise.
19847 (cos_towardzero_test_data): Likewise.
19848 (cos_downward_test_data): Likewise.
19849 (cos_upward_test_data): Likewise.
19850 (cosh_test_data): Likewise.
19851 (cosh_tonearest_test_data): Likewise.
19852 (cosh_towardzero_test_data): Likewise.
19853 (cosh_downward_test_data): Likewise.
19854 (cosh_upward_test_data): Likewise.
19855 * sysdeps/i386/fpu/libm-test-ulps: Update.
19856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19857
ffb536d0
JM
198582013-11-29 Joseph Myers <joseph@codesourcery.com>
19859
2a77a467
JM
19860 [BZ #6787]
19861 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
19862 * math/w_exp10f.c (__exp10f): Likewise.
19863 * math/w_exp10l.c (__exp10l): Likewise.
19864 * math/libm-test.inc (exp10_test_data): Add more tests and expect
19865 errno settings in existing tests.
19866
ea3bc4e8
JM
19867 [BZ #14032]
19868 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
19869 precision control set to double precision.
19870 * sysdeps/i386/fpu/w_sqrt.c: New file.
19871 * math/auto-libm-test-in: Add more tests.
19872 * math/auto-libm-test-out: Update.
19873
0712c9d8
JM
19874 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
19875 (sqrt_test_tonearest): New function.
19876 (sqrt_towardzero_test_data): New variable.
19877 (sqrt_test_towardzero): New function.
19878 (sqrt_downward_test_data): New variable.
19879 (sqrt_test_downward): New function.
19880 (sqrt_upward_test_data): New variable.
19881 (sqrt_test_upward): New function.
19882 (main): Call the new functions.
19883
ffb536d0
JM
19884 * math/gen-auto-libm-tests.c: New file.
19885 * math/auto-libm-test-in: Likewise.
19886 * math/auto-libm-test-out: New generated file.
19887 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
19888 variables.
19889 (%beautify): Add generated representations of zero.
19890 (top level): Set $auto_input and call parse_auto_input.
19891 (beautify): Remove trailing "f" from hex float constants.
19892 (parse_args): Handle XFAIL_TEST.
19893 (convert_condition): New function.
19894 (or_value): Likewise.
19895 (or_cond_value): Likewise.
19896 (generate_testfile): Handle AUTO_TESTS_* lines.
19897 (parse_auto_input): New function.
19898 * math/libm-test.inc (XFAIL_TEST): New macro.
19899 (ERRNO_UNCHANGED): Update value.
19900 (ERRNO_EDOM): Likewise.
19901 (ERRNO_ERANGE): Likewise.
19902 (IGNORE_RESULT): Likewise.
19903 (TEST_COND_flt_32): New macro.
19904 (TEST_COND_dbl_64): Likewise.
19905 (TEST_COND_ldbl_96_intel): Likewise.
19906 (TEST_COND_ldbl_96_m68k): Likewise.
19907 (TEST_COND_ldbl_128): Likewise.
19908 (TEST_COND_ldbl_128ibm): Likewise.
19909 (TEST_COND_long32): Likewise.
19910 (TEST_COND_long64): Likewise.
19911 (TEST_COND_before_rounding): Likewise.
19912 (TEST_COND_after_rounding): Likewise.
19913 (enable_test): Handle XFAIL_TEST flag.
19914 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
19915 with finite results.
19916 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
19917 auto-libm-test-out.
19918
acd98a8e
AK
199192013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19920 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19921
19922 [BZ #16214]
19923 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
19924 __tls_get_addr_internal instead of __tls_get_offset in order to
19925 avoid GOT pointer dependency. Make rtld export
19926 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
19927 __tls_get_addr since we are a __tls_get_offset platform.
19928 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
19929 GOT pointer being set up before.
19930 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
19931
3c1c46a6
JM
199322013-11-28 Joseph Myers <joseph@codesourcery.com>
19933
7475aef5
JM
19934 * manual/math.texi (Errors in Math Functions): Document accuracy
19935 goals.
19936
8bca7cd8
JM
19937 [BZ #15004]
19938 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
19939 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
19940 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19941 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19942 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19943 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19944 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19945 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19946 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19947 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19948 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19949 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19950 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19951 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19952 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19953 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19954
91a1f3fe
JM
19955 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
19956 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
19957 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
19958 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
19959 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
19960 Likewise.
19961 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
19962 Likewise.
19963 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
19964 Likewise.
19965 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
19966 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
19967 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
19968 atomic-feupdateenv and flt-rounds.
19969 * sysdeps/powerpc/nofpu/Versions (libc): Add
19970 __atomic_feholdexcept, __atomic_feclearexcept,
19971 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
19972 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
19973 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
19974 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
19975 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
19976 here.
19977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
19978 Update.
19979
c5df7609
JM
19980 * manual/arith.texi (FP Exceptions): Document that exceptions may
19981 not be raised when matherr is used.
19982 (Math Error Reporting): Document overflow in directed rounding
19983 modes. Document that errno may not be set when finite values are
19984 returned on overflow. Document intent to set errno on underflow
19985 only for underflow to zero.
19986
3c1c46a6
JM
19987 [BZ #16271]
19988 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
19989 round-to-nearest then adjust result for other rounding modes.
19990 * include/fenv.h (fegetround): Use libm_hidden_proto.
19991 * math/fegetround.c (fegetround): Use libm_hidden_def.
19992 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
19993 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
19994 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
19995 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
19996 Likewise.
19997 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
19998 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19999 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
20000 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
20001
5a4c6d53
SP
200022013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20003
20004 [BZ #16077]
20005 * nss/Versions (libnss_files): Add
20006 _nss_files_gethostbyname3_r.
20007 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
20008 New function.
20009 (HOST_DB_LOOKUP): Remove macro.
20010 (_nss_files_gethostbyname_r): Implement function without the
20011 HOST_DB_LOOKUP macro.
20012 (_nss_files_gethostbyname2_r): Likewise.
20013
897b98ba
OB
200142013-11-28 Ondřej Bílka <neleai@seznam.cz>
20015
20016 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
20017
6f476861
UB
200182013-11-26 Uros Bizjak <ubizjak@gmail.com>
20019
20020 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
20021 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
20022 warning.
20023
bd12ab55
AZ
200242013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20025
20026 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
20027 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
20028 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
20029 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
20030 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
20031 __fe_nomask_env_priv and attribute_hidden.
20032 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
20033 (libc_feupdateenv_test_ppc): Likewise.
20034 (libc_feresetround_ppc): Likewise.
20035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20036 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
20037 compat_symbol macro.
20038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20039 (__fe_nomask_env): Likewise.
20040 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
20041
52bb6543
OB
200422013-11-26 Ondřej Bílka <neleai@seznam.cz>
20043
20044 * string/Makefile: Remove ifunc tests.
20045 * string/test-string.h: Define TEST_IFUNC.
20046 * string/test-bcopy-ifunc.c: Remove.
20047 * string/test-bzero-ifunc.c: Likewise.
20048 * string/test-memccpy-ifunc.c: Likewise.
20049 * string/test-memchr-ifunc.c: Likewise.
20050 * string/test-memcmp-ifunc.c: Likewise.
20051 * string/test-memcpy-ifunc.c: Likewise.
20052 * string/test-memmem-ifunc.c: Likewise.
20053 * string/test-memmove-ifunc.c: Likewise.
20054 * string/test-mempcpy-ifunc.c: Likewise.
20055 * string/test-memrchr-ifunc.c: Likewise.
20056 * string/test-memset-ifunc.c: Likewise.
20057 * string/test-rawmemchr-ifunc.c: Likewise.
20058 * string/test-stpcpy-ifunc.c: Likewise.
20059 * string/test-stpncpy-ifunc.c: Likewise.
20060 * string/test-strcasecmp-ifunc.c: Likewise.
20061 * string/test-strcasestr-ifunc.c: Likewise.
20062 * string/test-strcat-ifunc.c: Likewise.
20063 * string/test-strchr-ifunc.c: Likewise.
20064 * string/test-strchrnul-ifunc.c: Likewise.
20065 * string/test-strcmp-ifunc.c: Likewise.
20066 * string/test-strcpy-ifunc.c: Likewise.
20067 * string/test-strcspn-ifunc.c: Likewise.
20068 * string/test-strlen-ifunc.c: Likewise.
20069 * string/test-strncasecmp-ifunc.c: Likewise.
20070 * string/test-strncat-ifunc.c: Likewise.
20071 * string/test-strncmp-ifunc.c: Likewise.
20072 * string/test-strncpy-ifunc.c: Likewise.
20073 * string/test-strnlen-ifunc.c: Likewise.
20074 * string/test-strpbrk-ifunc.c: Likewise.
20075 * string/test-strrchr-ifunc.c: Likewise.
20076 * string/test-strspn-ifunc.c: Likewise.
20077 * string/test-strstr-ifunc.c: Likewise.
20078
ab260039 200792013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
20080
20081 * benchtests/Makefile: Remove ifunc tests.
20082 * benchtests/bench-string.h: Define TEST_IFUNC.
20083 * benchtests/bench-bcopy-ifunc.c: Remove.
20084 * benchtests/bench-bzero-ifunc.c: Likewise.
20085 * benchtests/bench-memccpy-ifunc.c: Likewise.
20086 * benchtests/bench-memchr-ifunc.c: Likewise.
20087 * benchtests/bench-memcmp-ifunc.c: Likewise.
20088 * benchtests/bench-memcpy-ifunc.c: Likewise.
20089 * benchtests/bench-memmem-ifunc.c: Likewise.
20090 * benchtests/bench-memmove-ifunc.c: Likewise.
20091 * benchtests/bench-mempcpy-ifunc.c: Likewise.
20092 * benchtests/bench-memrchr-ifunc.c: Likewise.
20093 * benchtests/bench-memset-ifunc.c: Likewise.
20094 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
20095 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
20096 * benchtests/bench-stpcpy-ifunc.c: Likewise.
20097 * benchtests/bench-stpncpy-ifunc.c: Likewise.
20098 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
20099 * benchtests/bench-strcasestr-ifunc.c: Likewise.
20100 * benchtests/bench-strcat-ifunc.c: Likewise.
20101 * benchtests/bench-strchr-ifunc.c: Likewise.
20102 * benchtests/bench-strchrnul-ifunc.c: Likewise.
20103 * benchtests/bench-strcmp-ifunc.c: Likewise.
20104 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
20105 * benchtests/bench-strcpy-ifunc.c: Likewise.
20106 * benchtests/bench-strcspn-ifunc.c: Likewise.
20107 * benchtests/bench-strlen-ifunc.c: Likewise.
20108 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
20109 * benchtests/bench-strncat-ifunc.c: Likewise.
20110 * benchtests/bench-strncmp-ifunc.c: Likewise.
20111 * benchtests/bench-strncpy-ifunc.c: Likewise.
20112 * benchtests/bench-strnlen-ifunc.c: Likewise.
20113 * benchtests/bench-strpbrk-ifunc.c: Likewise.
20114 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 20115 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
20116 * benchtests/bench-strspn-ifunc.c: Likewise.
20117 * benchtests/bench-strstr-ifunc.c: Likewise.
20118
201192013-11-26 Ondřej Bílka <neleai@seznam.cz>
20120
ab260039
OB
20121 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
20122
d1d9eaf4 201232013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 20124
d1d9eaf4
OB
20125 * resolv/netdb.h: Use __glibc_reserved instead __unused.
20126 * rt/aio.h: Likewise.
20127 * sysdeps/gnu/bits/utmp.h: Likewise.
20128 * sysdeps/gnu/bits/utmpx.h: Likewise.
20129 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
20130 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
20131 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
20132 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
20133 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
20134 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
20135 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
20136 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
20137 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
20138 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
20139 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
20140 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
20141 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
20142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
20143 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
20144 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
20145 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
20146 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
20147 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
20148 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
20149 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
20150 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
20151 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
20152 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20153 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
20154 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20155 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
20156 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
20157 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
20158 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
20159 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
20160 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
20161 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
20162 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
20163 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
20164 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
20165 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
20166 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
20167 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
20168 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
20169 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
20170 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
20171
a7624ed9
CD
201722013-11-25 Carlos O'Donell <carlos@redhat.com>
20173
20174 [BZ #16245]
20175 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
20176 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
20177
63cfe52b
JM
201782013-11-25 Joseph Myers <joseph@codesourcery.com>
20179
20180 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
20181 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
20182 Likewise.
20183
41e8926a
AZ
201842013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20185
20186 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
20187 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
20188 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
20189 (__fesetround): Remove define.
20190 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
20191 rounding and exceptions handling.
20192 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
20193 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
20194 (__fe_nomask_env): Likewise.
20195 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
20196 __fegetround instead of fegetround.
20197 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
20198 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
20199
6851bd4d
RM
202002013-11-21 Roland McGrath <roland@hack.frob.com>
20201
070906ff
RM
20202 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
20203 it's there.
20204
6851bd4d
RM
20205 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
20206
84ae135d
MI
202072013-11-21 Meador Inge <meadori@codesourcery.com>
20208
20209 [BZ #11157]
20210 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
20211 (encrypt_r): Likewise.
20212 * malloc/obstack.h (obstack_free): Likewise.
20213 * posix/unistd.h (encrypt): Likewise.
20214
daf75146
GM
202152013-11-21 Guy Martin <gmsoft@tuxicoman.be>
20216
20217 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
20218 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
20219 DL_CALL_DT_FINI() that call the functions directly.
20220 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
20221 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
20222 * elf/dl-fini.c: Likewise.
20223
10ad46bc
OB
202242013-11-20 Ondřej Bílka <neleai@seznam.cz>
20225
20226 * malloc/hooks.c (memalign_check): Add alignment rounding.
20227 * malloc/malloc.c (_mid_memalign): New function.
20228 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
20229 Implement by calling _mid_memalign.
20230 * manual/probes.texi (Memory Allocation Probes): Remove
20231 memory_valloc_retry and memory_pvalloc_retry.
20232
f3fd2628
SP
202332013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20234
4712799f
SP
20235 * locale/programs/locarchive.c (open_archive): Add const
20236 qualifier to ARCHIVEFNAME and copy default fname to
20237 DEFAULT_FNAME.
20238
0417b20f
SP
20239 [BZ #15601]
20240 * libio/tst-widetext.input: Rename Oriya to Odia.
20241 * locale/iso-639.def: Likewise.
20242
f3fd2628
SP
20243 * manual/probes.texi (Mathematical Function Probes): Add
20244 documentation for sin, cos, asin and acos probes.
20245 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
20246 (__sin32): Add slowasin probe.
20247 (__cos32): Add slowacos probe.
20248 (__mpsin): Add slowsin probe.
20249 (__mpcos): Add slowcos probe.
20250
73c1ce4f
JM
202512013-11-19 Joseph Myers <joseph@codesourcery.com>
20252
20253 [BZ #15483]
20254 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
20255 thread-local __sim_exceptions_thread and global
20256 __sim_exceptions_global.
20257 (__sim_disabled_exceptions): Change to thread-local
20258 __sim_disabled_exceptions_thread and global
20259 __sim_disabled_exceptions_global.
20260 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
20261 and global __sim_round_mode_global.
20262 (__simulate_exceptions): Use thread-local floating-point state and
20263 set global state from it as needed.
20264 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
20265 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
20266 __sim_round_mode_thread.
20267 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
20268 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
20269 and global __sim_exceptions_global.
20270 (__sim_disabled_exceptions): Change to thread-local
20271 __sim_disabled_exceptions_thread and global
20272 __sim_disabled_exceptions_global.
20273 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
20274 and global __sim_round_mode_global.
20275 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
20276 (SIM_SET_GLOBAL): Likewise.
20277 * sysdeps/powerpc/soft-fp/sfp-machine.h
20278 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
20279 __sim_round_mode_thread.
20280 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
20281 __sim_disabled_exceptions_thread.
20282 (__sim_exceptions): Change to __sim_exceptions_thread.
20283 (__sim_disabled_exceptions): Change to
20284 __sim_disabled_exceptions_thread.
20285 (__sim_round_mode): Change to __sim_round_mode_thread.
20286 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
20287 thread-local floating-point state and set global state from it as
20288 needed.
20289 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
20290 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
20291 (__sim_disabled_exceptions): Remove extern declaration.
20292 (feenableexcept): Use thread-local floating-point state and set
20293 global state from it as needed.
20294 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
20295 extern declaration.
20296 (__sim_disabled_exceptions): Likewise.
20297 (__sim_round_mode): Likewise.
20298 (__fegetenv): Use thread-local floating-point state.
20299 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
20300 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
20301 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
20302 floating-point state and set global state from it as needed.
20303 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
20304 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
20305 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
20306 Likewise.
20307 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
20308 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
20309 Likewise.
20310 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
20311 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
20312 Use __sim_round_mode_thread.
20313 * math/test-fenv-tls.c: New file.
20314 * math/Makefile (tests): Add test-fenv-tls.
20315 ($(objpfx)test-fenv-tls): Depend on
20316 $(common-objpfx)nptl/libpthread.so.
20317
b5449b12
AS
203182013-11-19 Andreas Schwab <schwab@suse.de>
20319
20320 * locale/programs/locale.c (show_info): Decode wordarray elements.
20321 * locale/categories.def (LC_MONETARY): Add element for
20322 _NL_MONETARY_CRNCYSTR.
20323 * locale/C-monetary.c (conversion_rate): New variable.
20324 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
20325 element.
20326
e186536b
CM
203272013-11-18 Chris Metcalf <cmetcalf@tilera.com>
20328
20329 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
20330 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
20331
5c349950
PP
203322013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
20333
20334 * elf/Makefile (tst-auxv): New test.
20335 * elf/tst-auxv.c: New
20336 * elf/rtld.c (dl_main): Adjust AT_EXECFN
20337
699df45b
JM
203382013-11-18 Joseph Myers <joseph@codesourcery.com>
20339
20340 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
20341 (hidden_proto): Caller changed.
20342 (hidden_tls_proto): New macro.
20343 (libc_hidden_tls_proto): Likewise.
20344 (rtld_hidden_tls_proto): Likewise.
20345 (libm_hidden_tls_proto): Likewise.
20346 (libresolv_hidden_tls_proto): Likewise.
20347 (librt_hidden_tls_proto): Likewise.
20348 (libdl_hidden_tls_proto): Likewise.
20349 (libnss_files_hidden_tls_proto): Likewise.
20350 (libnsl_hidden_tls_proto): Likewise.
20351 (libnss_nisplus_hidden_tls_proto): Likewise.
20352 (libutil_hidden_tls_proto): Likewise.
20353
b7589107
OB
203542013-11-18 Ondřej Bílka <neleai@seznam.cz>
20355
20356 [BZ #10253]
20357 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
20358 (decompose_rpath): Defer expansion to fillin_rpath.
20359 (_dl_init_paths): Pass linkmap to fillin_rpath.
20360
250c23bd
RS
203612013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20362
20363 * benchtests/Makefile: Add strsep.
20364 * benchtests/bench-strsep.c: New file: strsep benchtest.
20365 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
20366
a7931fcf
AS
203672013-11-18 Andreas Schwab <schwab@suse.de>
20368
20369 * locale/programs/locale.c (show_info) [case byte]: Check for
20370 '\377' instead of '\177'.
20371 * locale/C-monetary.c (not_available): Always use "\377".
20372 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
20373 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
20374 detect unavailable sign_posn locale elements.
20375 * locale/localeconv.c (__localeconv): For grouping and
20376 mon_grouping handle "\177" and "\377" like no grouping.
20377 (INT_ELEM): New macro. Use it to set all numeric members.
20378 * locale/programs/ld-monetary.c (monetary_read)
20379 <tok_mon_grouping>: Normalize single -1 to the empty string.
20380 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
20381 Likewise.
20382
728dab0e
OB
203832013-11-07 Ondřej Bílka <neleai@seznam.cz>
20384
20385 [BZ #16055]
20386 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
20387 when we match (nil).
20388 * stdio-common/tst-sscanf.c (struct test): Add testcase.
20389
66294491
JM
203902013-11-16 Joseph Myers <joseph@codesourcery.com>
20391
ce665817
JM
20392 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
20393 (NO_TEST_INLINE): Update value.
20394 (ERRNO_UNCHANGED): Likewise.
20395 (ERRNO_EDOM): Likewise.
20396 (ERRNO_ERANGE): Likewise.
20397 (IGNORE_RESULT): Likewise.
20398 (check_float_internal): Check signs of NaN results if
20399 TEST_NAN_SIGN used.
20400 (check_complex): Pass TEST_NAN_SIGN flag through to second
20401 check_float_internal call.
20402 (copysign_test_data): Add tests with quiet NaNs as second
20403 argument. Use TEST_NAN_SIGN.
20404 (fabs_test_data): Add test of negative quiet NaN argument. Use
20405 TEST_NAN_SIGN.
20406 (signbit_test_data): Add tests of quiet NaN argument.
20407 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
20408
ee1466a9
JM
20409 * math/gen-libm-test.pl (show_exceptions): Take extra argument
20410 $ignore_result.
20411 (parse_args): Handle function results specified as IGNORE.
20412 * math/libm-test.inc (IGNORE_RESULT): New macro.
20413 (check_float_internal): Do not check numerical result if flag
20414 IGNORE_RESULT set.
20415 (check_complex): Pass through IGNORE_RESULT to second
20416 check_float_internal call.
20417 (check_int): Do not check numerical result if flag IGNORE_RESULT
20418 set.
20419 (check_long): Likewise.
20420 (check_bool): Likewise.
20421 (check_longlong): Likewise.
20422 (lrint_test_data): Add tests of infinite and NaN arguments.
20423 (lrint_tonearest_test_data): Likewise.
20424 (lrint_towardzero_test_data): Likewise.
20425 (lrint_downward_test_data): Likewise.
20426 (lrint_upward_test_data): Likewise.
20427 (llrint_test_data): Likewise.
20428 (llrint_tonearest_test_data): Likewise.
20429 (llrint_towardzero_test_data): Likewise.
20430 (llrint_downward_test_data): Likewise.
20431 (llrint_upward_test_data): Likewise.
20432 (lround_test_data): Likewise.
20433 (llround_test_data): Likewise.
20434
14407b7e
JM
20435 * math/libm-test.inc (NO_TEST_INLINE): New macro.
20436 (ERRNO_UNCHANGED): Update value.
20437 (ERRNO_EDOM): Likewise.
20438 (ERRNO_ERANGE): Likewise.
20439 (NO_TEST_INLINE_FLOAT): New macro.
20440 (NO_TEST_INLINE_DOUBLE): Likewise.
20441 (enable_test): New function.
20442 (RUN_TEST_f_f): Check enable_test before running test.
20443 (RUN_TEST_2_f): Likewise.
20444 (RUN_TEST_fff_f): Likewise.
20445 (RUN_TEST_c_f): Likewise.
20446 (RUN_TEST_f_f1): Likewise.
20447 (RUN_TEST_fF_f1): Likewise.
20448 (RUN_TEST_fI_f1): Likewise.
20449 (RUN_TEST_ffI_f1): Likewise.
20450 (RUN_TEST_c_c): Likewise.
20451 (RUN_TEST_cc_c): Likewise.
20452 (RUN_TEST_f_i): Likewise.
20453 (RUN_TEST_f_i_tg): Likewise.
20454 (RUN_TEST_ff_i_tg): Likewise.
20455 (RUN_TEST_f_b): Likewise.
20456 (RUN_TEST_f_b_tg): Likewise.
20457 (RUN_TEST_f_l): Likewise.
20458 (RUN_TEST_f_L): Likewise.
20459 (RUN_TEST_fFF_11): Likewise.
20460 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
20461 conditionals.
20462 (cosh_test_data): Likewise.
20463 (exp_test_data): Likewise.
20464 (expm1_test_data): Likewise.
20465 (hypot_test_data): Likewise.
20466 (pow_test_data): Likewise.
20467 (sinh_test_data): Likewise.
20468 (tanh_test_data): Likewise.
20469 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
20470 flags argument.
20471
ca07f197
JM
20472 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
20473 tests with quiet NaN input and output.
20474 (acosh_test_data): Likewise.
20475 (asin_test_data): Likewise.
20476 (asinh_test_data): Likewise.
20477 (atan_test_data): Likewise.
20478 (atanh_test_data): Likewise.
20479 (atan2_test_data): Likewise.
20480 (cbrt_test_data): Likewise.
20481 (cos_test_data): Likewise.
20482 (cosh_test_data): Likewise.
20483 (erf_test_data): Likewise.
20484 (erfc_test_data): Likewise.
20485 (exp_test_data): Likewise.
20486 (exp10_test_data): Likewise.
20487 (exp2_test_data): Likewise.
20488 (expm1_test_data): Likewise.
20489 (hypot_test_data): Likewise.
20490 (j0_test_data): Likewise.
20491 (j1_test_data): Likewise.
20492 (jn_test_data): Likewise.
20493 (lgamma_test_data): Likewise.
20494 (log_test_data): Likewise.
20495 (log10_test_data): Likewise.
20496 (log1p_test_data): Likewise.
20497 (log2_test_data): Likewise.
20498 (pow_test_data): Likewise.
20499 (scalb_test_data): Likewise.
20500 (sin_test_data): Likewise.
20501 (sincos_test_data): Likewise.
20502 (sinh_test_data): Likewise.
20503 (tan_test_data): Likewise.
20504 (tanh_test_data): Likewise.
20505 (tgamma_test_data): Likewise.
20506 (y0_test_data): Likewise.
20507 (y1_test_data): Likewise.
20508 (yn_test_data): Likewise.
20509
66294491
JM
20510 [BZ #16167]
20511 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
20512 argument being NaN and avoid computations with second argument in
20513 that case.
20514 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20515 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
20516 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20517
1820b143
CL
205182013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
20519
20520 * locale/iso-639.def: Add Chitwani Tharu (the).
20521
714bd261
AS
205222013-11-14 Andreas Schwab <schwab@suse.de>
20523
20524 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
20525 word instead of empty string.
20526
7ab44563
AZ
205272013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20528
20529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20530 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
20531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20532 (__fe_nomask_env): Likewise.
20533
e8470ea2
SE
205342013-11-13 Steve Ellcey <sellcey@mips.com>
20535
20536 * benchtests/bench-timing.h: Include time.h.
20537
17c1d9f0
L
205382013-11-13 H.J. Lu <hongjiu.lu@intel.com>
20539
20540 [BZ #15997]
20541 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
20542 to 3.4.0 for x32.
20543 * sysdeps/unix/sysv/linux/configure: Regenerated.
20544
9310c284
JM
205452013-11-13 Joseph Myers <joseph@codesourcery.com>
20546
20547 [BZ #16151]
20548 * stdlib/strtod_l.c (round_and_return): Do not consider
20549 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
20550 exponent one less than half the least subnormal exponent.
20551 * stdlib/test-strtod-round-data: Add more tests.
20552 * stdlib/tst-strtod-round.c (tests): Regenerated.
20553
7a2ad8cf
AZ
205542013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20555
20556 [BZ #14143]
20557 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
20558 (__fe_mask_env): Likewise.
20559 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
20560 libm_hidden_proto and add function prototype.
20561 (__fe_mask_env): Add function prototype.
20562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20563 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
20564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20565 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
20566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20567 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
20568
50727aa7
MS
205692013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20570
b2f386c1 20571 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
20572 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
20573
a615be46
MS
205742013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20575
20576 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
20577 of htab_find_slot().
20578
7ddace62
DM
205792013-11-11 David S. Miller <davem@davemloft.net>
20580
20581 [BZ #16150]
20582 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
20583 symbol in the non-vis3 case in static builds.
20584 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
20585 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
20586 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
20587 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
20588
9182aa67
JK
205892013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
20590
20591 [BZ #387]
20592 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
20593 it is empty.
20594
450a2e2d
AZ
205952013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20596
b2f386c1
SP
20597 * benchtests/Makefile: Add bench-strtod.
20598 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 20599
8ec3f656
AS
206002013-11-11 Andreas Schwab <schwab@suse.de>
20601
20602 [BZ #16153]
20603 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
20604 terminating NUL in key length.
20605
76a9b998
AZ
206062013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20607
20608 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20609 Add artificial ODP entry for vDSO symbol for PPC64.
20610 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
20611 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
20612
e4368156
OB
206132013-11-07 Ondřej Bílka <neleai@seznam.cz>
20614
20615 [BZ #15374]
20616 * nss/getent.c (services_keys): Recognize services starting with digit.
20617
8d6bb57c
DM
206182013-11-06 David S. Miller <davem@davemloft.net>
20619
20620 [BZ #15985]
20621 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
20622 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
20623
e256c421
WN
206242013-11-06 Will Newton <will.newton@linaro.org>
20625
20626 * manual/memory.texi (Malloc Examples): Remove register
20627 keyword from examples.
20628
f6e12daa 206292013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 20630
f6e12daa 20631 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 20632
9d880655
AS
206332013-11-04 Joseph Myers <joseph@codesourcery.com>
20634
fd2f9486 20635 [BZ #6981]
9d880655
AS
20636 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
20637 depending on [__GCC_IEC_559 > 0].
20638 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
20639 depending on [__GCC_IEC_559_COMPLEX > 0].
20640
ae129d3c
CL
206412013-11-03 Chris Leonard <cjl@sugarlabs.org>
20642
20643 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
20644 to iso-639.def.
20645
4a15c2a4 206462013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
20647
20648 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
20649
8b35e35d
OB
206502013-11-01 Ondřej Bílka <neleai@seznam.cz>
20651
20652 [BZ #16112]
20653 * malloc/malloc (malloc_info): Do not handle first bin as
20654 special case.
20655
1d70fd6c
CL
206562013-11-01 Chris Leonard <cjl@sugarlabs.org>
20657
20658 * locale/iso-639.def: Add Central Nahuatl (nhn).
20659
8c5c2600
BH
206602013-11-01 Bruno Haible <bruno@clisp.org>
20661
20662 [BZ #7003]
20663 * manual/math.texi (BSD Random): Specify range upper bound as
20664 in POSIX.
20665
da5579c2
CL
206662013-10-31 Chris Leonard <cjl@sugarlabs.org>
20667
20668 * locale/iso-639.def: Add Meadow Mari (mhr).
20669
5d30d853
OB
206702013-10-31 Ondřej Bílka <neleai@seznam.cz>
20671
20672 [BZ #14752], [BZ #15763]
20673 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
20674 Validate name.
20675 * rt/tst_shm.c: Add test for escaping directory.
20676
a4966c61
AS
206772013-10-31 Andreas Schwab <schwab@suse.de>
20678
8a43e768 20679 [BZ #15917]
a4966c61
AS
20680 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
20681 followed by 'x' as part of digit sequence.
20682 * stdio-common/tst-sscanf.c (double_tests2): New tests.
20683
28d708c4
MAP
206842013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
20685
20686 [BZ #16037]
20687 * configure.ac: allow GNU Make 4.0 and greater.
20688 * configure: Regenerated.
20689
a56ee40b
WN
206902013-10-30 Will Newton <will.newton@linaro.org>
20691
20692 [BZ #16038]
20693 * malloc/hooks.c (memalign_check): Limit alignment to the
20694 maximum representable power of two.
20695 * malloc/malloc.c (__libc_memalign): Likewise.
20696 * malloc/tst-memalign.c (do_test): Add test for very
20697 large alignment values.
20698 * malloc/tst-posix_memalign.c (do_test): Likewise.
20699
c6e4925d
OB
207002013-10-30 Ondřej Bílka <neleai@seznam.cz>
20701
20702 [BZ #11087]
20703 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
20704 (munmap_chunk): Likewise.
20705 (mremap_chunk): Likewise.
20706
207072013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 20708
8a43e768 20709 [BZ #15799]
bbea82f7
OB
20710 * stdlib/div.c (div): Remove obsolete code.
20711 * stdlib/ldiv.c (ldiv): Likewise.
20712 * stdlib/lldiv.c (lldiv): Likewise.
20713
977f4b31
SP
207142013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20715
20716 [BZ #16071]
20717 * nss/nss_files/files-XXX.c (get_contents_ret): New
20718 enumerator.
20719 (get_contents): New function.
20720 (internal_getent): Use it. Expand size of LINEBUFLEN.
20721
cb8a6dbd
MF
207222013-10-30 Mike Frysinger <vapier@gentoo.org>
20723
20724 * configure.in: Moved to ...
20725 * configure.ac: ... here. Change reference to configure.in
20726 to configure.ac.
20727 * sysdeps/arm/preconfigure.ac: ... here.
20728 configure.in to configure.ac.
20729 * sysdeps/gnu/configure.in: Moved to ...
20730 * sysdeps/gnu/configure.ac: ... here.
20731 * sysdeps/i386/configure.in: Moved to ...
20732 * sysdeps/i386/configure.ac: ... here.
20733 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
20734 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
20735 * sysdeps/mach/configure.in: Moved to ...
20736 * sysdeps/mach/configure.ac: ... here.
20737 * sysdeps/mach/hurd/configure.in: Moved to ...
20738 * sysdeps/mach/hurd/configure.ac: ... here.
20739 * sysdeps/powerpc/configure.in: Moved to ...
20740 * sysdeps/powerpc/configure.ac: ... here.
20741 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
20742 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
20743 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
20744 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
20745 * sysdeps/s390/s390-32/configure.in: Moved to ...
20746 * sysdeps/s390/s390-32/configure.ac: ... here.
20747 * sysdeps/s390/s390-64/configure.in: Moved to ...
20748 * sysdeps/s390/s390-64/configure.ac: ... here.
20749 * sysdeps/sh/configure.in: Moved to ...
20750 * sysdeps/sh/configure.ac: ... here.
20751 * sysdeps/sparc/configure.in: Moved to ...
20752 * sysdeps/sparc/configure.ac: ... here.
20753 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
20754 * sysdeps/unix/sysv/linux/configure.ac: ... here.
20755 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
20756 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
20757 * sysdeps/x86_64/configure.in: Moved to ...
20758 * sysdeps/x86_64/configure.ac: ... here.
20759 * sysdeps/x86_64/preconfigure.in: Moved to ...
20760 * sysdeps/x86_64/preconfigure.ac: ... here.
20761 * aclocal.m4: Change reference to configure.in to configure.ac.
20762 * config.h.in: Likewise.
20763 * manual/install.texi: Likewise.
20764 * manual/maint.texi: Likewise.
20765 * Makefile: Likewise.
20766 * malloc/Makefile: Likewise.
20767 * nscd/Makefile: Likewise.
20768 * Makeconfig: Change reference to configure.in and
20769 preconfigure.in to configure.ac and preconfigure.ac
20770 respectively.
20771 * INSTALL: Regenerated.
20772 * configure: Likewise.
20773 * sysdeps/gnu/configure: Likewise.
20774 * sysdeps/i386/configure: Likewise.
20775 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
20776 * sysdeps/mach/configure: Likewise.
20777 * sysdeps/mach/hurd/configure: Likewise.
20778 * sysdeps/powerpc/configure: Likewise.
20779 * sysdeps/powerpc/powerpc32/configure: Likewise.
20780 * sysdeps/powerpc/powerpc64/configure: Likewise.
20781 * sysdeps/s390/s390-32/configure: Likewise.
20782 * sysdeps/s390/s390-64/configure: Likewise.
20783 * sysdeps/sh/configure: Likewise.
20784 * sysdeps/sparc/configure: Likewise.
20785 * sysdeps/unix/sysv/linux/configure: Likewise.
20786 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
20787 * sysdeps/x86_64/configure: Likewise.
20788 * sysdeps/x86_64/preconfigure: Likewise.
20789
36a4953a
AS
207902013-10-29 Andreas Schwab <schwab@suse.de>
20791
20792 * stdio-common/Makefile (tst-swscanf-ENV): Define.
20793
c79a1204
SP
207942013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20795
dfa1b402
SP
20796 * benchtests/pow-inputs: Add new inputs.
20797
54f73d9c
SP
20798 * benchtests/exp-inputs: Add new inputs.
20799
c79a1204
SP
20800 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
20801 conditional check for return value.
20802 (__cos32): Likewise.
20803
67beb545 208042013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
20805
20806 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
20807 to provide a boost for large inputs with word alignment.
20808 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
20809 implementation based on optimized PPC64 strcpy.
20810 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
20811 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
20812 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
20813 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
20814
151659f6
OB
208152013-10-25 Ondřej Bílka <neleai@seznam.cz>
20816
482a077e 20817 [BZ #2801]
151659f6
OB
20818 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
20819
10b0f26b
OB
208202013-10-25 Ondřej Bílka <neleai@seznam.cz>
20821
20822 [BZ #14876]
20823 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
20824 * time/tst-strptime.c (day_tests): Add testcase.
20825
ca42d35e
OB
208262013-10-25 Ondřej Bílka <neleai@seznam.cz>
20827
482a077e 20828 [BZ #14029]
ca42d35e
OB
20829 * manual/pattern.texi: Acknowledge that fnmatch can fail.
20830
52e6d801
FB
208312013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
20832
20833 [BZ #16074]
20834 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
20835 MAP_FAILED on error.
20836
7cbcdb36
SP
208372013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20838
20839 [BZ #16072]
20840 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
20841 heap for large requests.
20842
894f3f10
AM
208432013-10-25 Aurelien Jarno <aurelien@aurel32.net>
20844
20845 [BZ #9954]
20846 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
20847 result if the result has no associated interface.
20848 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
20849 interface for all 127.X.Y.Z addresses.
20850
b85545a6
CL
208512013-10-24 Chris Leonard <cjl@sugarlabs.org>
20852
20853 * locale/iso-639.def: Add Ligurian (lij)
20854
d1f23d46
OB
208552013-10-21 Ondřej Bílka <neleai@seznam.cz>
20856
20857 [BZ #15825]
20858 * sunrpc/rpc_main.c: Document rpcgen -5.
20859
4db5b08f
MS
208602013-10-19 Michael Stahl <mstahl@redhat.com>
20861
20862 * elf/rtld.c (do_preload): Print the reason why preloading failed.
20863
a471e96a
OB
208642013-10-19 Ondřej Bílka <neleai@seznam.cz>
20865
d1f23d46 20866 [BZ #10278]
a471e96a
OB
20867 * posix/glob.c: Match only directories when trailing slash is present.
20868 * posix/tst-gnuglob.c (my_opendir): Do not open files.
20869 (main): Add testcase.
20870
45c30c61
OB
208712013-10-19 Ondřej Bílka <neleai@seznam.cz>
20872
20873 [BZ #15670]
20874 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
20875
484c12fb
CD
208762013-10-18 Carlos O'Donell <carlos@redhat.com>
20877
3d7dc513
CD
20878 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
20879 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
20880 AUTH_DES and cindex for FIPS 140-2.
20881 (DES Encryption): Add cindex FIPS 46-3.
20882
484c12fb
CD
20883 * locale/locarchive.h (struct locarhandle): Add fname.
20884 * locale/programs/localedef.c (main): Pass ARGV[remaining]
20885 if an optional argument was specified to --list-archive,
20886 otherwise NULL.
20887 * locale/programs/locarchive.c (show_archive_content): Take new
20888 argument fname and pass it via ah.fname to open_archive.
20889 * locale/programs/localedef.h: Update decl.
20890 (open_archive): If AH->fname is non-null, open that file
20891 rather than the default file name, and don't ignore ENOENT.
20892 (create_archive): Set AH.fname to NULL.
20893 (delete_locales_from_archive): Likewise.
20894 (add_locales_to_archive): Likewise.
20895 * locale/programs/locfile.c (write_all_categories): Likewise.
20896
3c8325fb
JM
208972013-10-18 Joseph Myers <joseph@codesourcery.com>
20898 Aldy Hernandez <aldyh@redhat.com>
20899
20900 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
20901 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
20902 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
20903 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
20904 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
20905 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
20906 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
20907 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
20908 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
20909 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
20910 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
20911 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
20912 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
20913 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
20914 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
20915 Likewise.
20916 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
20917 Likewise.
20918 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
20919 Likewise.
20920 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
20921 Likewise.
20922 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
20923 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
20924 Likewise.
20925 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
20926 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
20927 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
20928 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
20929 Likewise.
20930 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
20931 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
20932 * sysdeps/powerpc/preconfigure: Likewise.
20933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
20934 Likewise.
20935 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
20936 Replace contents of file by #include of <fenv_libc.h>.
20937 * sysdeps/powerpc/soft-fp/sfp-machine.h
20938 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
20939 and <sys/prctl.h>.
20940 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
20941 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
20942 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
20943 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
20944 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
20945 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
20946 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
20947 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
20948 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
20949 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
20950 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
20951 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
20952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20953 Allow copysignl PLT reference to be missing.
20954
5abe0682
RS
209552013-10-18 Richard Sandiford <richard@codesourcery.com>
20956 Joseph Myers <joseph@codesourcery.com
20957
20958 [BZ #15948]
20959 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
20960 single character.
20961 (add_to_tablewc): Assert sequence of wide characters is nonempty.
20962
c7738d08
SP
209632013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20964
20965 * elf/tst-tls-dlinfo.c: Don't include tls.h.
20966 * elf/tst-tls1.c: Likewise.
20967 * elf/tst-tls10.h: Likewise.
20968 * elf/tst-tls14.c: Likewise.
20969 * elf/tst-tls2.c: Likewise.
20970 * elf/tst-tls3.c: Likewise.
20971 * elf/tst-tls4.c: Likewise.
20972 * elf/tst-tls5.c: Likewise.
20973 * elf/tst-tls6.c: Likewise.
20974 * elf/tst-tls7.c: Likewise.
20975 * elf/tst-tls8.c: Likewise.
20976 * elf/tst-tls9.c: Likewise.
20977 * elf/tst-tlsmod1.c: Likewise.
20978 * elf/tst-tlsmod13.c: Likewise.
20979 * elf/tst-tlsmod13a.c: Likewise.
20980 * elf/tst-tlsmod14a.c: Likewise.
20981 * elf/tst-tlsmod16a.c: Likewise.
20982 * elf/tst-tlsmod16b.c: Likewise.
20983 * elf/tst-tlsmod2.c: Likewise.
20984 * elf/tst-tlsmod3.c: Likewise.
20985 * elf/tst-tlsmod4.c: Likewise.
20986 * elf/tst-tlsmod5.c: Likewise.
20987 * elf/tst-tlsmod6.c: Likewise.
20988
0bfcf2c7
OB
209892013-10-18 Ondřej Bílka <neleai@seznam.cz>
20990
20991 [BZ #12486]
20992 * malloc/malloc.c: remove checks for statistics.
20993
264aad1e
OB
209942013-10-17 Ondřej Bílka <neleai@seznam.cz>
20995
20996 [BZ #15277]
20997 * inet/inet_net.c (inet_network): Detect additional invalid strings.
20998 * inet/tst-network.c: Add testcase.
20999
b957ced8
AS
210002013-10-17 Andreas Schwab <schwab@suse.de>
21001
21002 [BZ #15218]
21003 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
21004 to determine canonical name.
21005
c5d5d574
OB
210062013-10-17 Ondřej Bílka <neleai@seznam.cz>
21007
21008 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
21009 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
21010 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21011 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21012 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21013 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21014 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21015 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21016 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21017 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21018 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21019 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21020 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21021 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21022 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21023 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21024 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21025 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21026 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
21027 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21028 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21029 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21030 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21031 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
21032 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
21033 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21034 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21035 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
21036 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21037 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
21038 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21039 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21040 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
21041 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21042 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21043 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21044 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21045 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21046 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21047 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21048 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21049 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
21050 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
21051 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21052 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
21053 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21054 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21055 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
21056 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
21057 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21058 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
21059 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21060 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
21061 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
21062 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21063 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
21064 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21065 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21066
e5c2c2d0
JM
210672013-10-17 Joseph Myers <joseph@codesourcery.com>
21068
21069 [BZ #16041]
21070 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
21071 make result into a quiet NaN.
21072
51ca9e29
JM
210732013-10-16 Joseph Myers <joseph@codesourcery.com>
21074
21075 * soft-fp/adddf3.c: Fix horizontal whitespace.
21076 * soft-fp/addsf3.c: Likewise.
21077 * soft-fp/addtf3.c: Likewise.
21078 * soft-fp/divdf3.c: Likewise.
21079 * soft-fp/divsf3.c: Likewise.
21080 * soft-fp/divtf3.c: Likewise.
21081 * soft-fp/double.h: Likewise.
21082 * soft-fp/eqdf2.c: Likewise.
21083 * soft-fp/eqsf2.c: Likewise.
21084 * soft-fp/eqtf2.c: Likewise.
21085 * soft-fp/extenddftf2.c: Likewise.
21086 * soft-fp/extended.h: Likewise.
21087 * soft-fp/extendsfdf2.c: Likewise.
21088 * soft-fp/extendsftf2.c: Likewise.
21089 * soft-fp/extendxftf2.c: Likewise.
21090 * soft-fp/fixdfdi.c: Likewise.
21091 * soft-fp/fixdfsi.c: Likewise.
21092 * soft-fp/fixdfti.c: Likewise.
21093 * soft-fp/fixsfdi.c: Likewise.
21094 * soft-fp/fixsfsi.c: Likewise.
21095 * soft-fp/fixsfti.c: Likewise.
21096 * soft-fp/fixtfdi.c: Likewise.
21097 * soft-fp/fixtfsi.c: Likewise.
21098 * soft-fp/fixtfti.c: Likewise.
21099 * soft-fp/fixunsdfdi.c: Likewise.
21100 * soft-fp/fixunsdfsi.c: Likewise.
21101 * soft-fp/fixunsdfti.c: Likewise.
21102 * soft-fp/fixunssfdi.c: Likewise.
21103 * soft-fp/fixunssfsi.c: Likewise.
21104 * soft-fp/fixunssfti.c: Likewise.
21105 * soft-fp/fixunstfdi.c: Likewise.
21106 * soft-fp/fixunstfsi.c: Likewise.
21107 * soft-fp/fixunstfti.c: Likewise.
21108 * soft-fp/floatdidf.c: Likewise.
21109 * soft-fp/floatdisf.c: Likewise.
21110 * soft-fp/floatditf.c: Likewise.
21111 * soft-fp/floatsidf.c: Likewise.
21112 * soft-fp/floatsisf.c: Likewise.
21113 * soft-fp/floatsitf.c: Likewise.
21114 * soft-fp/floattidf.c: Likewise.
21115 * soft-fp/floattisf.c: Likewise.
21116 * soft-fp/floattitf.c: Likewise.
21117 * soft-fp/floatundidf.c: Likewise.
21118 * soft-fp/floatundisf.c: Likewise.
21119 * soft-fp/floatunditf.c: Likewise.
21120 * soft-fp/floatunsidf.c: Likewise.
21121 * soft-fp/floatunsisf.c: Likewise.
21122 * soft-fp/floatunsitf.c: Likewise.
21123 * soft-fp/floatuntidf.c: Likewise.
21124 * soft-fp/floatuntisf.c: Likewise.
21125 * soft-fp/floatuntitf.c: Likewise.
21126 * soft-fp/fmadf4.c: Likewise.
21127 * soft-fp/fmasf4.c: Likewise.
21128 * soft-fp/fmatf4.c: Likewise.
21129 * soft-fp/gedf2.c: Likewise.
21130 * soft-fp/gesf2.c: Likewise.
21131 * soft-fp/getf2.c: Likewise.
21132 * soft-fp/ledf2.c: Likewise.
21133 * soft-fp/lesf2.c: Likewise.
21134 * soft-fp/letf2.c: Likewise.
21135 * soft-fp/muldf3.c: Likewise.
21136 * soft-fp/mulsf3.c: Likewise.
21137 * soft-fp/multf3.c: Likewise.
21138 * soft-fp/negdf2.c: Likewise.
21139 * soft-fp/negsf2.c: Likewise.
21140 * soft-fp/negtf2.c: Likewise.
21141 * soft-fp/op-1.h: Likewise.
21142 * soft-fp/op-2.h: Likewise.
21143 * soft-fp/op-4.h: Likewise.
21144 * soft-fp/op-8.h: Likewise.
21145 * soft-fp/op-common.h: Likewise.
21146 * soft-fp/quad.h: Likewise.
21147 * soft-fp/single.h: Likewise.
21148 * soft-fp/soft-fp.h: Likewise.
21149 * soft-fp/sqrtdf2.c: Likewise.
21150 * soft-fp/sqrtsf2.c: Likewise.
21151 * soft-fp/sqrttf2.c: Likewise.
21152 * soft-fp/subdf3.c: Likewise.
21153 * soft-fp/subsf3.c: Likewise.
21154 * soft-fp/subtf3.c: Likewise.
21155 * soft-fp/truncdfsf2.c: Likewise.
21156 * soft-fp/trunctfdf2.c: Likewise.
21157 * soft-fp/trunctfsf2.c: Likewise.
21158 * soft-fp/trunctfxf2.c: Likewise.
21159 * soft-fp/unorddf2.c: Likewise.
21160 * soft-fp/unordsf2.c: Likewise.
21161 * soft-fp/unordtf2.c: Likewise.
21162
9ebb0332
JM
211632013-10-15 Joseph Myers <joseph@codesourcery.com>
21164
21165 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
21166 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
21167
4b1a6d8b
OB
211682013-10-15 Ondřej Bílka <neleai@seznam.cz>
21169
21170 * elf/dl-libc.c: Clear initfini list after freeing.
21171
1e145589
JM
211722013-10-14 Joseph Myers <joseph@codesourcery.com>
21173
21174 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
21175 * soft-fp/addsf3.c: Likewise.
21176 * soft-fp/addtf3.c: Likewise.
21177 * soft-fp/divdf3.c: Likewise.
21178 * soft-fp/divsf3.c: Likewise.
21179 * soft-fp/divtf3.c: Likewise.
21180 * soft-fp/double.h: Likewise.
21181 * soft-fp/eqdf2.c: Likewise.
21182 * soft-fp/eqsf2.c: Likewise.
21183 * soft-fp/eqtf2.c: Likewise.
21184 * soft-fp/extenddftf2.c: Likewise.
21185 * soft-fp/extended.h: Likewise.
21186 * soft-fp/extendsfdf2.c: Likewise.
21187 * soft-fp/extendsftf2.c: Likewise.
21188 * soft-fp/extendxftf2.c: Likewise.
21189 * soft-fp/fixdfdi.c: Likewise.
21190 * soft-fp/fixdfsi.c: Likewise.
21191 * soft-fp/fixdfti.c: Likewise.
21192 * soft-fp/fixsfdi.c: Likewise.
21193 * soft-fp/fixsfsi.c: Likewise.
21194 * soft-fp/fixsfti.c: Likewise.
21195 * soft-fp/fixtfdi.c: Likewise.
21196 * soft-fp/fixtfsi.c: Likewise.
21197 * soft-fp/fixtfti.c: Likewise.
21198 * soft-fp/fixunsdfdi.c: Likewise.
21199 * soft-fp/fixunsdfsi.c: Likewise.
21200 * soft-fp/fixunsdfti.c: Likewise.
21201 * soft-fp/fixunssfdi.c: Likewise.
21202 * soft-fp/fixunssfsi.c: Likewise.
21203 * soft-fp/fixunssfti.c: Likewise.
21204 * soft-fp/fixunstfdi.c: Likewise.
21205 * soft-fp/fixunstfsi.c: Likewise.
21206 * soft-fp/fixunstfti.c: Likewise.
21207 * soft-fp/floatdidf.c: Likewise.
21208 * soft-fp/floatdisf.c: Likewise.
21209 * soft-fp/floatditf.c: Likewise.
21210 * soft-fp/floatsidf.c: Likewise.
21211 * soft-fp/floatsisf.c: Likewise.
21212 * soft-fp/floatsitf.c: Likewise.
21213 * soft-fp/floattidf.c: Likewise.
21214 * soft-fp/floattisf.c: Likewise.
21215 * soft-fp/floattitf.c: Likewise.
21216 * soft-fp/floatundidf.c: Likewise.
21217 * soft-fp/floatundisf.c: Likewise.
21218 * soft-fp/floatunsidf.c: Likewise.
21219 * soft-fp/floatunsisf.c: Likewise.
21220 * soft-fp/floatuntidf.c: Likewise.
21221 * soft-fp/floatuntisf.c: Likewise.
21222 * soft-fp/floatuntitf.c: Likewise.
21223 * soft-fp/fmadf4.c: Likewise.
21224 * soft-fp/fmasf4.c: Likewise.
21225 * soft-fp/fmatf4.c: Likewise.
21226 * soft-fp/gedf2.c: Likewise.
21227 * soft-fp/gesf2.c: Likewise.
21228 * soft-fp/getf2.c: Likewise.
21229 * soft-fp/ledf2.c: Likewise.
21230 * soft-fp/lesf2.c: Likewise.
21231 * soft-fp/letf2.c: Likewise.
21232 * soft-fp/muldf3.c: Likewise.
21233 * soft-fp/mulsf3.c: Likewise.
21234 * soft-fp/multf3.c: Likewise.
21235 * soft-fp/negdf2.c: Likewise.
21236 * soft-fp/negsf2.c: Likewise.
21237 * soft-fp/negtf2.c: Likewise.
21238 * soft-fp/op-1.h: Likewise.
21239 * soft-fp/op-2.h: Likewise.
21240 * soft-fp/op-4.h: Likewise.
21241 * soft-fp/op-8.h: Likewise.
21242 * soft-fp/op-common.h: Likewise.
21243 * soft-fp/quad.h: Likewise.
21244 * soft-fp/single.h: Likewise.
21245 * soft-fp/soft-fp.h: Likewise.
21246 * soft-fp/sqrtdf2.c: Likewise.
21247 * soft-fp/sqrtsf2.c: Likewise.
21248 * soft-fp/sqrttf2.c: Likewise.
21249 * soft-fp/subdf3.c: Likewise.
21250 * soft-fp/subsf3.c: Likewise.
21251 * soft-fp/subtf3.c: Likewise.
21252 * soft-fp/truncdfsf2.c: Likewise.
21253 * soft-fp/trunctfdf2.c: Likewise.
21254 * soft-fp/trunctfsf2.c: Likewise.
21255 * soft-fp/trunctfxf2.c: Likewise.
21256 * soft-fp/unorddf2.c: Likewise.
21257 * soft-fp/unordsf2.c: Likewise.
21258 * soft-fp/unordtf2.c: Likewise.
21259
17c48a60
OB
212602013-10-14 Ondřej Bílka <neleai@seznam.cz>
21261
21262 [BZ #15672]
21263 * misc/error.c (error_tail): Fix possible buffer overflow.
21264
cabba934
OB
212652013-10-14 Aurelien Jarno <aurelien@aurel32.net>
21266
21267 [BZ #13028]
21268 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
21269 address.
21270
94bf958a
PM
212712013-10-14 P. J. McDermott <pj@pehjota.net>
21272
21273 [BZ #832]
21274 * elf/ldd.bash.in (try_trace): New function. Delete previous code
21275 testing pipefail option.
21276
71b4dea7
JM
212772013-10-12 Joseph Myers <joseph@codesourcery.com>
21278
21279 * soft-fp/double.h: Indent preprocessor directives inside #if.
21280 * soft-fp/extended.h: Likewise.
21281 * soft-fp/op-2.h: Likewise.
21282 * soft-fp/op-4.h: Likewise.
21283 * soft-fp/op-common.h: Likewise.
21284 * soft-fp/quad.h: Likewise.
21285 * soft-fp/single.h: Likewise.
21286 * soft-fp/soft-fp.h: Likewise.
21287
55602758
YC
212882013-10-12 Yuri Chornoivan <yurchor@ukr.net>
21289
21290 * iconv/iconv_prog.c: Fix typos.
21291 * stdio-common/psiginfo-data.h: Likewise.
21292
9cd83302
RT
212932013-10-12 Reuben Thomas <rrt@sc3d.org>
21294
21295 [BZ #15764]
21296 * locale/setlocale.c: Fix typo.
21297
99fd9f47
JM
212982013-10-12 Joseph Myers <joseph@codesourcery.com>
21299
b7ea74f0
JM
21300 [BZ #16036]
21301 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
21302 signaling NaN arguments.
21303 * soft-fp/unordsf2.c (__unordsf2): Likewise.
21304 * soft-fp/unordtf2.c (__unordtf2): Likewise.
21305
8a509447
JM
21306 [BZ #14910]
21307 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
21308 unordered operands.
21309 * soft-fp/gesf2.c (__gesf2): Likewise.
21310 * soft-fp/getf2.c (__getf2): Likewise.
21311 * soft-fp/ledf2.c (__ledf2): Likewise.
21312 * soft-fp/lesf2.c (__lesf2): Likewise.
21313 * soft-fp/letf2.c (__letf2): Likewise.
21314
98998e9f
JM
21315 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
21316 * soft-fp/eqsf2.c (__eqsf2): Likewise.
21317 * soft-fp/eqtf2.c (__eqtf2): Likewise.
21318 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
21319 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
21320 * soft-fp/fixdfti.c (__fixdfti): Likewise.
21321 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
21322 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
21323 * soft-fp/fixsfti.c (__fixsfti): Likewise.
21324 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
21325 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
21326 * soft-fp/fixtfti.c (__fixtfti): Likewise.
21327 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
21328 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
21329 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
21330 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
21331 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
21332 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
21333 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
21334 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
21335 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
21336 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
21337 * soft-fp/floatdisf.c (__floatdisf): Likewise.
21338 * soft-fp/floatsisf.c (__floatsisf): Likewise.
21339 * soft-fp/floattidf.c (__floattidf): Likewise.
21340 * soft-fp/floattisf.c (__floattisf): Likewise.
21341 * soft-fp/floattitf.c (__floattitf): Likewise.
21342 * soft-fp/floatundidf.c (__floatundidf): Likewise.
21343 * soft-fp/floatundisf.c (__floatundisf): Likewise.
21344 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
21345 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
21346 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
21347 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
21348 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
21349 * soft-fp/gesf2.c (__gesf2): Likewise.
21350 * soft-fp/getf2.c (__getf2): Likewise.
21351 * soft-fp/ledf2.c (__ledf2): Likewise.
21352 * soft-fp/lesf2.c (__lesf2): Likewise.
21353 * soft-fp/letf2.c (__letf2): Likewise.
21354
8edc4a11
JM
21355 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
21356 Undefine and redefine.
21357 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
21358 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
21359 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
21360 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
21361 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21362 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
21363 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21364 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
21365 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21366 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
21367 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21368 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
21369 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21370 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
21371 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21372
8399acaf
JM
21373 [BZ #16032]
21374 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
21375 without decrementing exponent if mantissa >= that for the
21376 denominator, not >.
21377 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
21378 denominator, not >. Decrement exponent in < case instead of
21379 incrementing in >= case.
21380 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
21381 without decrementing exponent if mantissa >= that for the
21382 denominator, not >.
21383
99fd9f47
JM
21384 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
21385 computing saturated result for unsigned overflow.
21386
10e1cf6b
SP
213872013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21388 Jeff Law <law@redhat.com>
21389
21390 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
21391 (atan2Mp): Add systemtap probe marker.
21392 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
21393 (__ieee754_log): Add systemtap probe marker.
21394 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
21395 (atanMp): Add systemtap probe marker.
21396 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
21397 (tanMp): Add systemtap probe marker.
21398 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
21399 (__slowexp): Add systemtap probe marker.
21400 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
21401 (__slowpow): Add systemtap probe marker.
21402 * manual/probes.texi: Document probes.
21403
3d110c7c
EB
214042013-10-11 Eric Biggers <ebiggers3@gmail.com>
21405
21406 [BZ #15362]
21407 * libio/fileops.c (_IO_new_file_write): Return count of bytes
21408 written.
21409 (_IO_new_file_xsputn): Don't return EOF if nothing has been
21410 written.
21411 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
21412 written to buffer but not flushed.
21413 * libio/iofwrite_u.c: Likewise.
21414 * libio/iopadn.c: Return bytes returned even if EOF was
21415 encountered.
21416 * libio/iowpadn.c: Likewise.
21417 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
21418 if _IO_padn does not write the whole buffer.
21419 [!COMPILE_WPRINTF] (PAD): Likewise.
21420
75b4202a
DM
214212013-10-10 David S. Miller <davem@davemloft.net>
21422
21423 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
21424 directory block.
21425
6c6352e6
JM
214262013-10-10 Joseph Myers <joseph@codesourcery.com>
21427
33b853c3
JM
21428 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
21429 instead of FSF address.
21430 * soft-fp/fixdfti.c: Likewise.
21431 * soft-fp/fixsfti.c: Likewise.
21432 * soft-fp/fixtfti.c: Likewise.
21433 * soft-fp/fixunsdfti.c: Likewise.
21434 * soft-fp/fixunssfti.c: Likewise.
21435 * soft-fp/fixunstfti.c: Likewise.
21436 * soft-fp/floattidf.c: Likewise.
21437 * soft-fp/floattisf.c: Likewise.
21438 * soft-fp/floattitf.c: Likewise.
21439 * soft-fp/floatuntidf.c: Likewise.
21440 * soft-fp/floatuntisf.c: Likewise.
21441 * soft-fp/floatuntitf.c: Likewise.
21442 * soft-fp/trunctfxf2.c: Likewise.
21443
6c6352e6
JM
21444 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
21445 * soft-fp/fixdfti.c: Likewise.
21446 * soft-fp/fixsfti.c: Likewise.
21447 * soft-fp/fixtfti.c: Likewise.
21448 * soft-fp/fixunsdfti.c: Likewise.
21449 * soft-fp/fixunssfti.c: Likewise.
21450 * soft-fp/fixunstfti.c: Likewise.
21451 * soft-fp/floattidf.c: Likewise.
21452 * soft-fp/floattisf.c: Likewise.
21453 * soft-fp/floattitf.c: Likewise.
21454 * soft-fp/floatuntidf.c: Likewise.
21455 * soft-fp/floatuntisf.c: Likewise.
21456 * soft-fp/floatuntitf.c: Likewise.
21457 * soft-fp/trunctfxf2.c: Likewise.
21458
3bf78b71
DM
214592013-10-10 David S. Miller <davem@davemloft.net>
21460
21461 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21462
6f10289e
JM
214632013-10-10 Joseph Myers <joseph@codsourcery.com>
21464
bd878fc0
JM
21465 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21466 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
21467 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
21468 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
21469 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
21470 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
21471 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
21472
6f10289e
JM
21473 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
21474 for NaNs before doing comparisons on argument.
21475 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
21476 Likewise.
21477
321e2684
WN
214782013-10-10 Will Newton <will.newton@linaro.org>
21479
21480 * malloc/hooks.c (memalign_check): Ensure the value of bytes
21481 passed to _int_memalign does not overflow.
21482
40fefba1
TR
214832013-10-10 Torvald Riegel <triegel@redhat.com>
21484
21485 * scripts/bench.pl: Add include-sources directive.
21486 * benchtests/README: Update documentation.
21487
2ae21ed2
JM
214882013-10-10 Joseph Myers <joseph@codesourcery.com>
21489
dcc2dd3f
JM
21490 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
21491 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
21492 instead of FP_INIT_ROUNDMODE.
21493 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
21494 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
21495
2ae21ed2
JM
21496 [BZ #16034]
21497 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
21498 copy class of input value.
21499 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
21500 not handle exceptions.
21501 * soft-fp/negsf2.c (__negsf2): Likewise.
21502 * soft-fp/negtf2.c (__negtf2): Likewise.
21503 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
21504
cb8f9562
JM
215052013-10-09 Joseph Myers <joseph@codesourcery.com>
21506
21507 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
21508 semicolon. From Linux kernel.
21509
5b60c59d
AB
215102013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
21511
21512 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
21513
b86835ca
YC
215142013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
21515
21516 [BZ #156]
21517 * manual/socket.texi: Added statement about buffer
21518 for gethostbyname2_r.
21519
e7044ea7
OB
215202013-10-08 Ondřej Bílka <neleai@seznam.cz>
21521
21522 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
21523 Use .p2align directive instead, throughout.
21524 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21525 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
21526 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
21527 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21528 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21529 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
21530 * sysdeps/x86_64/strchr.S: Likewise.
21531 * sysdeps/x86_64/strrchr.S: Likewise.
21532
09544cbc
SP
215332013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21534
88576635
SP
21535 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
21536
e7b2d1dd
SP
21537 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
21538
09544cbc
SP
21539 * sysdeps/generic/math_private.h (__mpsin1): Remove
21540 declaration.
21541 (__mpcos1): Likewise.
21542 (__mpsin): New argument __range_reduce.
21543 (__mpcos): Likewise.
21544 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21545 (slow): Use __mpsin and __mpcos.
21546 (slow1): Likewise.
21547 (slow2): Likewise.
21548 (sloww): Likewise.
21549 (sloww1): Likewise.
21550 (sloww2): Likewise.
21551 (bsloww): Likewise.
21552 (bsloww1): Likewise.
21553 (bsloww2): Likewise.
21554 (cslow2): Likewise.
21555 (csloww): Likewise.
21556 (csloww1): Likewise.
21557 (csloww2): Likewise.
21558 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
21559 range_reduce. Merge in __mpsin1.
21560 (__mpcos): Likewise.
21561 (__mpsin1): Remove.
21562 (__mpcos1): Likewise.
21563
7602d070
JM
215642013-10-07 Joseph Myers <joseph@codesourcery.com>
21565
21566 * locale/loadlocale.c (_nl_intern_locale_data): Use
21567 LOCFILE_ALIGNED_P.
21568 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
21569 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
21570 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
21571 obstack data is appropriately aligned.
21572 (obstack_int32_grow_fast): Likewise.
21573 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
21574 * locale/programs/locfile.c (add_locale_uint32): Likewise.
21575 (add_locale_uint32_array): Likewise.
21576
a357259b
SP
215772013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21578
21579 * benchtests/Makefile: Remove ARGLIST and RET variables.
21580 ($(objpfx)bench-%.c): Pass only function name to the script.
21581 * benchtests/README: Update documentation.
21582 * benchtests/acos-inputs: Add new directives.
21583 * benchtests/acosh-inputs: Likewise.
21584 * benchtests/asin-inputs: Likewise.
21585 * benchtests/asinh-inputs: Likewise.
21586 * benchtests/atan-inputs: Likewise.
21587 * benchtests/atanh-inputs: Likewise.
21588 * benchtests/cos-inputs: Likewise.
21589 * benchtests/cosh-inputs: Likewise.
21590 * benchtests/exp-inputs: Likewise.
21591 * benchtests/log-inputs: Likewise.
21592 * benchtests/pow-inputs: Likewise.
21593 * benchtests/rint-inputs: Likewise.
21594 * benchtests/sin-inputs: Likewise.
21595 * benchtests/sinh-inputs: Likewise.
21596 * benchtests/tan-inputs: Likewise.
21597 * benchtests/tanh-inputs: Likewise.
21598 * scripts/bench.pl: Add support for new directives.
21599
9ec1b13d
AM
216002013-10-07 Alan Modra <amodra@gmail.com>
21601
21602 * README: Fix careless merge.
21603
8b7d57cd
AM
216042013-10-05 Alan Modra <amodra@gmail.com>
21605
21606 * NEWS: Mention powerpc64le support and bugs fixed.
21607 * README: Both big-endian and little-endian powerpc64 supported.
21608
7b7bab13
ST
216092013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21610
57f41c40
AS
21611 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
21612 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
21613 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
21614 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
21615
d39baad1
RA
216162013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
21617
21618 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
21619 match prototype.
21620
cd78f7e7
JM
216212013-10-04 Joseph Myers <joseph@codesourcery.com>
21622
29d73d86
JM
21623 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
21624 Move -mhard-float appending from
21625 ports/sysdeps/powerpc/powerpc32/Makefile.
21626 [$(with-fp) = yes] (ASFLAGS): Likewise.
21627 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
21628 * sysdeps/powerpc/nofpu: Move directory from
21629 ports/sysdeps/powerpc/nofpu.
21630 * sysdeps/powerpc/soft-fp: Move directory from
21631 ports/sysdeps/powerpc/soft-fp.
21632 * sysdeps/powerpc/powerpc32/405: Move directory from
21633 ports/sysdeps/powerpc/powerpc32/405.
21634 * sysdeps/powerpc/powerpc32/440: Move directory from
21635 ports/sysdeps/powerpc/powerpc32/440.
21636 * sysdeps/powerpc/powerpc32/464: Move directory from
21637 ports/sysdeps/powerpc/powerpc32/464.
21638 * sysdeps/powerpc/powerpc32/476: Move directory from
21639 ports/sysdeps/powerpc/powerpc32/476.
21640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
21641 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
21642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
21643 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
21644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
21645 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
21646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
21647 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
21648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
21649 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
21650 * README: Update for powerpc-*-linux-gnu software floating point
21651 support in libc.
21652
e246b347
JM
21653 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
21654 case to powerpc/powerpc32*.
21655 * sysdeps/unix/sysv/linux/configure: Regenerated.
21656
89c2003e
JM
21657 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
21658 (_FPU_MASK_OM): Define as 0x04.
21659 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
21660 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
21661 0x00c10080.
21662 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
21663 0x0000003c.
21664 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
21665
cd78f7e7
JM
21666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
21667 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21668 getcontext_e500.
21669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
21670 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21671 setcontext_e500.
21672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
21673 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
21674 and setcontext_e500.
21675
c755294d
CL
216762013-10-04 Chris Leonard <cjl@sugarlabs,.org>
21677
21678 * locale/iso-3166.def: Update iso-1366.def and related occurrences
21679
e16d221c
SP
216802013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21681
21682 * manual/threads.texi (Default Thread Attributes): Fix typo.
21683
215c7d43
WN
216842013-10-04 Will Newton <will.newton@linaro.org>
21685
21686 * malloc/Makefile: Add tst-memalign.
21687 * malloc/tst-memalign.c: New file.
21688
27d0461b
WN
21689 * malloc/tst-posix_memalign.c: Add comments.
21690 (do_test): Add comments and call free on all potentially
21691 allocated pointers. Add space after cast.
21692
1bc92709
WN
21693 * malloc/tst-pvalloc.c: Add comments.
21694 (do_test): Add comments and call free on all potentially
21695 allocated pointers. Remove duplicate check for NULL pointer.
21696 Add space after cast.
21697
66a9be9d
WN
21698 * malloc/tst-valloc.c: Add comments.
21699 (do_test): Add comments and call free on all potentially
21700 allocated pointers. Remove duplicate check for NULL pointer.
21701 Add space after cast.
21702
4cb81307
AM
217032013-10-04 Alan Modra <amodra@gmail.com>
21704
21705 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21706 Use stdint types in rather than __attribute__((mode())).
21707 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21708
f8e3e9f3
AM
217092013-10-04 Alan Modra <amodra@gmail.com>
21710
21711 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21712 Correct handling of unaligned relocs for little-endian.
21713 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21714
8f9ebb08
AM
217152013-10-04 Alan Modra <amodra@gmail.com>
21716
21717 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
21718 * configure: Regenerate.
21719 * nptl/shlib-versions: Powerpc*le starts at 2.18.
21720 * shlib-versions: Likewise.
21721
0edf96c2
AM
217222013-10-04 Alan Modra <amodra@gmail.com>
21723
21724 * string/tester.c (test_memrchr): Increment reported test cycle.
21725
e0f7a380
AM
217262013-10-04 Alan Modra <amodra@gmail.com>
21727
21728 * string/test-memcpy.c (do_one_test): When reporting errors, print
21729 string address and don't overrun end of string.
21730
466b0393
AM
217312013-10-04 Alan Modra <amodra@gmail.com>
21732
21733 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
21734 insrdi. Make better use of reg selection to speed exit slightly.
21735 Schedule entry path a little better. Remove useless "are we done"
21736 checks on entry to main loop. Handle wrapping around zero address.
21737 Correct main loop count. Handle single left-over word from main
21738 loop inline rather than by using loop_small. Remove extra word
21739 case in loop_small caused by wrong loop count. Add little-endian
21740 support.
21741 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21742 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
21743 cache hint.
21744 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21745 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
21746 support. Avoid rlwimi.
21747 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
21748
3be87c77
AM
217492013-10-04 Alan Modra <amodra@gmail.com>
21750
21751 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 21752 insrdi. Formatting.
3be87c77
AM
21753 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
21754 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21755 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
21756 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21757 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21758 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
21759
759cfef3
AM
217602013-10-04 Alan Modra <amodra@gmail.com>
21761
21762 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
21763 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21764 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
21765 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
21766 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21767 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21768 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21769 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
21770 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
21771 use of regs. Use power7 mtocrf. Tidy function tails.
21772
fe6e95d7
AM
217732013-10-04 Alan Modra <amodra@gmail.com>
21774
21775 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
21776 Formatting. Consistently use rXXX register defines or rN defines.
21777 Use early exit labels that avoid restoring unused non-volatile regs.
21778 Make cr field use more consistent with rWORDn compares. Rename
21779 regs used as shift registers for unaligned loop, using rN defines
21780 for short lifetime/multiple use regs.
21781 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21782 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
21783 addi 1,1,64 to pop stack frame. Simplify return value code.
21784 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21785
664318c3
AM
217862013-10-04 Alan Modra <amodra@gmail.com>
21787
21788 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
21789 support. Correct typos, formatting. Optimize tail. Use insrdi
21790 rather than rlwimi.
21791 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
21792 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
21793 little-endian support. Correct typos.
21794 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
21795 rather than rlwimi.
21796 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
21797 in loop and entry code to keep "and." results.
21798 (strchr): Add little-endian support. Comment. Move cntlzd
21799 earlier in tail.
21800 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
21801
43b84013
AM
218022013-10-04 Alan Modra <amodra@gmail.com>
21803
21804 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
21805 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
21806 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
21807 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
21808
8a7413f9
AM
218092013-10-04 Alan Modra <amodra@gmail.com>
21810
21811 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
21812 (rTMP): Define as r11.
21813 (strcmp): Add little-endian support. Optimise tail.
21814 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
21815 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21816 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21817 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21818 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21819 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21820 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21821
33ee81de
AM
218222013-10-04 Alan Modra <amodra@gmail.com>
21823
21824 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
21825 little-endian support. Remove unnecessary "are we done" tests.
21826 Handle "s" wrapping around zero and extremely large "size".
21827 Correct main loop count. Handle single left-over word from main
21828 loop inline rather than by using small_loop. Correct comments.
21829 Delete "zero" tail, use "end_max" instead.
21830 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
21831
db9b4570
AM
218322013-10-04 Alan Modra <amodra@gmail.com>
21833
21834 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
21835 support. Don't branch over align.
21836 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
21837 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
21838 support. Rearrange tmp reg use to suit. Comment.
21839 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
21840
f7c399cf
AM
218412013-10-04 Alan Modra <amodra@gmail.com>
21842
21843 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
21844
0b2c2ace
AM
218452013-10-04 Alan Modra <amodra@gmail.com>
21846
21847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
21848 conditional form of branch and link when obtaining pc.
21849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
21850
02f04a6c
AM
218512013-10-04 Alan Modra <amodra@gmail.com>
21852
21853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
21854 HIWORD/LOWORD.
21855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
21856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
21857
9b874b2f
AM
218582013-10-04 Alan Modra <amodra@gmail.com>
21859
21860 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
21861 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
21862 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
21863 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
21864 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21865 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21866 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
21867 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21868 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
21869 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
21870
be1e5d31
AB
218712013-10-04 Anton Blanchard <anton@au1.ibm.com>
21872 Alistair Popple <alistair@ozlabs.au.ibm.com>
21873 Alan Modra <amodra@gmail.com>
21874
21875 [BZ #15723]
21876 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
21877 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
21878 _dl_hwcap access for little-endian.
21879 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
21880 destroy vmx regs when saving unaligned.
21881 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
21882 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
21883 destroy vmx regs when saving unaligned.
21884
fef13a78
AM
218852013-10-04 Alan Modra <amodra@gmail.com>
21886
21887 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
21888 Don't use a union to pack hi/low value.
21889
76a66d51
AB
218902013-10-04 Anton Blanchard <anton@au1.ibm.com>
21891
21892 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
21893 for little-endian.
21894 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21895 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
21896 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21897 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21898 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21899
6a31fe7f
AM
219002013-10-04 Alan Modra <amodra@gmail.com>
21901
21902 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
21903 constants to usual value for .cst8 section, and remove redundant
21904 high address load.
21905 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
21906 constant for 0x1p52. Load little-endian words of double from
21907 correct stack offsets.
21908
7b88401f
AM
219092013-10-04 Alan Modra <amodra@gmail.com>
21910
21911 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
21912 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
21913 words of double from correct stack offsets.
21914 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
21915 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
21916 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21917 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21918 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21919 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21920 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21921 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
21922 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
21923 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21924 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21925 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21926 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21927 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21928 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21929 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
21930 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
21931
9c008155
AM
219322013-10-04 Alan Modra <amodra@gmail.com>
21933
21934 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
21935 64-bit int/double union.
21936 (_FPU_SETCW): Likewise.
21937 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
21938 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
21939
da13146d
AM
219402013-10-04 Alan Modra <amodra@gmail.com>
21941
21942 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
21943 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
21944
603e8410
AM
219452013-10-04 Alan Modra <amodra@gmail.com>
21946
21947 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
21948 use vector int constants.
21949 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
21950
4a28b3ca
AB
219512013-10-04 Anton Blanchard <anton@au1.ibm.com>
21952
21953 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
21954 array with long long.
21955 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
21956 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
21957 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
21958 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
21959 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
21960 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
21961 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
21962 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
21963 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
21964 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
21965 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
21966 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
21967 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
21968
2ca85d2b
AB
219692013-10-04 Anton Blanchard <anton@au1.ibm.com>
21970
21971 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
21972 (__signbit): Likewise. Correct for little-endian.
21973 (__signbitl): Call __signbit.
21974 (lrint): Correct for little-endian.
21975 (lrintf): Call lrint.
21976
62a728ae
AM
219772013-10-04 Alan Modra <amodra@gmail.com>
21978
21979 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
21980 union 32-bit int array member with 64-bit int array.
21981 (t515, tm256): Double rather than long double.
21982 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
21983
32c301df
AM
219842013-10-04 Alan Modra <amodra@gmail.com>
21985
21986 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
21987 Delete.
21988 (IEEE854_LONG_DOUBLE_BIAS): Delete.
21989 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
21990 version of math_ldbl.h.
21991
650ef4bd
AM
219922013-10-04 Alan Modra <amodra@gmail.com>
21993
21994 [BZ #15734], [BZ #15735]
21995 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
21996 all uses of ieee875 long double macros and unions. Simplify test
21997 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
21998 ldbl_extract_mantissa value for ix,iy exponents. Properly
21999 normalize after ldbl_extract_mantissa, and don't add hidden bit
22000 already handled. Don't treat low word of ieee854 mantissa like
22001 low word of IBM long double and mask off bit when testing for
22002 zero.
22003 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
22004 all uses of ieee875 long double macros and unions. Simplify tests
22005 for 0.0L and inf. Correct double adjustment of k. Delete dead code
22006 adjusting ha,hb. Simplify code setting kld. Delete two600 and
22007 two1022, instead use their values. Recognise that tests for large
22008 "a" and small "b" are mutually exclusive. Rename vars. Comment.
22009 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
22010 Rewrite all uses of ieee875 long double macros and unions. Simplify
22011 test for 0.0L and nan. Correct negation.
22012 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
22013 ieee875 long double macros and unions. Correct output for large
22014 magnitude x. Correct absolute value calculation.
22015 (__erfcl): Likewise.
22016 * math/libm-test.inc: Add tests for errors discovered in IBM long
22017 double versions of fmodl, remainderl, erfl and erfcl.
22018
765714ca
AM
220192013-10-04 Alan Modra <amodra@gmail.com>
22020
22021 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
22022 all uses of ieee854 long double macros and unions. Simplify tests
22023 for long doubles that are fully specified by the high double.
22024 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
22025 Likewise.
22026 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
22027 Remove dead code too.
22028 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
22029 (__ieee754_ynl): Likewise.
22030 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
22031 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
22032 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
22033 Remove dead code too.
22034 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
22035 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
22036 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
22037 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
22038 Simplify.
22039 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
22040 Simplify.
22041 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
22042 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
22043 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
22044 Comment on variable precision.
22045 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
22046 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22047 Likewise.
22048 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22049 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
22050 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
22051 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
22052 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
22053
4ebd120c
AM
220542013-10-04 Alan Modra <amodra@gmail.com>
22055
22056 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
22057 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
22058 all uses of ieee854 long double macros and unions.
22059 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
22060 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22061 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
22062 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
22063 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
22064 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
22065 Likewise.
22066 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
22067 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22068 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
22069 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22070 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
22071 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
22072 Simplify sign and nan test too.
22073 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
22074 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
22075 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
22076 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
22077 Likewise.
22078 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
22079 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
22080 Likewise.
22081 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22082 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
22083 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
22084 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
22085 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
22086 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
22087
1b6adf88
AM
220882013-10-04 Alan Modra <amodra@gmail.com>
22089
22090 * stdio-common/printf_size.c (__printf_size): Don't use
22091 union ieee854_long_double in fpnum union.
22092 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
22093 signbit macro to retrieve sign from long double.
22094 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
22095 retrieve sign from long double.
22096 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
22097 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
22098 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
22099 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22100 * math/test-misc.c (main): Don't use union ieee854_long_double.
22101
4cf69995
AM
221022013-10-04 Alan Modra <amodra@gmail.com>
22103
22104 [BZ #15680]
22105 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
22106 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
22107 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
22108 calculation. Remove unnecessary test for denormal exponent.
22109 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
22110 Correct handling of denormals. Avoid undefined shift behaviour.
22111 Correct normalisation of low mantissa when low double is denormal.
22112 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
22113 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
22114 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
22115 Correct normalisation of low mantissa. Test for overflow of high
22116 mantissa and normalise.
22117 (ldbl_nearbyint): Use more readable constant for two52.
22118 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
22119 (__mpn_construct_long_double): Fix test for overflow of high
22120 mantissa and correct normalisation. Avoid undefined shift.
22121
9605ca6c
AM
221222013-10-04 Alan Modra <amodra@gmail.com>
22123
22124 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
22125 (union ibm_extended_long_double): Define as an array of ieee754_double.
22126 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
22127 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
22128 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
22129 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22130 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22131 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
22132 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22133 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22134 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
22135 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
22136 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
22137
975569d0
JM
221382013-10-03 Joseph Myers <joseph@codesourcery.com>
22139
d3d23756
JM
22140 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
22141 page size instead of calling getpagesize.
22142
975569d0
JM
22143 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
22144 (LOCFILE_ALIGN_MASK): Likewise.
22145 (LOCFILE_ALIGN_UP): Likewise.
22146 (LOCFILE_ALIGNED_P): Likewise.
22147 * locale/programs/ld-collate.c (collate_output): Use the new
22148 macros instead of __alignof__ (int32_t).
22149 * locale/weight.h (findidx): Likewise.
22150
b1fe1f2b
OB
221512013-10-03 Ondřej Bílka <neleai@seznam.cz>
22152
22153 [BZ #431]
22154 * manual/string.texi: Fix strncat and wcsncat.
22155
5f855e35
BM
221562013-10-03 Brooks Moses <bmoses@google.com>
22157
22158 [BZ #15915]
22159 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
22160 * Makerules: ...here, and adjust associated comments.
22161
3cef6009
WN
221622013-10-02 Will Newton <will.newton@linaro.org>
22163
22164 * malloc/Makefile: Add tst-pvalloc.
22165 * malloc/tst-pvalloc.c: New file.
22166
7815420b
WN
221672013-10-02 Will Newton <will.newton@linaro.org>
22168
22169 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
22170 improve test coverage.
22171
4868b204
WN
221722013-10-02 Will Newton <will.newton@linaro.org>
22173
22174 * malloc/Makefile: Add tst-posix_memalign.
22175 * malloc/tst-posix_memalign.c: New file.
22176
29c793b3
EB
221772013-10-01 Eric Blake <eblake@redhat.com>
22178
22179 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
22180 Use __THROWNL rather than __THROW on static functions.
22181
fd967522
PM
221822013-09-30 Petr Machata <pmachata@redhat.com>
22183
22184 * elf/elf.h (R_AARCH64_ABS16): New macro.
22185 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
22186 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
22187 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
22188 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
22189 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
22190 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
22191 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
22192 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
22193 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
22194 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
22195 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
22196 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
22197 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
22198 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
22199 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
22200 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
22201 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
22202 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
22203 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
22204 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
22205 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
22206 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
22207 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
22208 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
22209 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
22210 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
22211 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
22212 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
22213 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
22214 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
22215 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
22216 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
22217 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
22218 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
22219 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
22220 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
22221 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
22222 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
22223 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
22224 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
22225 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
22226 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
22227 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
22228 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
22229 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
22230 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
22231 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
22232 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
22233 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
22234 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
22235 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
22236 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
22237 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
22238 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
22239 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
22240 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
22241 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
22242 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
22243 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
22244 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
22245 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
22246 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
22247 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
22248 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
22249 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
22250 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
22251 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
22252 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
22253 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
22254 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
22255 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
22256 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
22257 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
22258 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
22259 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
22260 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
22261 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
22262 (R_AARCH64_TLSDESC_LDR): Likewise.
22263 (R_AARCH64_TLSDESC_ADD): Likewise.
22264 (R_AARCH64_TLSDESC_CALL): Likewise.
22265
b2179107
AS
222662013-09-30 Andreas Schwab <schwab@suse.de>
22267
22268 [BZ #15048]
22269 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
22270 the nss database lookup.
22271 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22272 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22273
47f28d0a
MF
222742013-09-28 Mike Frysinger <vapier@gentoo.org>
22275
22276 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
22277
222782013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
22279
22280 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
22281 ${Bash-specific parameter/pattern/string} parameter expansion.
22282 * sysdeps/unix/make-syscalls.sh: Likewise.
22283
f4518a17
KK
222842013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22285
22286 * sysdeps/sh/stackguard-macros.h: New file.
22287
dc1a95c7
OB
222882013-09-26 Ondřej Bílka <neleai@seznam.cz>
22289
22290 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
22291 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
22292 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
22293 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
22294 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22295 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
22296
5ebbff8f
AZ
222972013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22298
22299 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
22300 Fix thread ID register.
22301
4fd2cf9f
JM
223022013-09-25 Joseph Myers <joseph@codesourcery.com>
22303
22304 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
22305 [POSIX || UNIX98]: Require rather than permitting all symbols from
22306 <time.h>.
22307 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
22308 element of struct sched_param.
22309 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
22310 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
22311 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
22312 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
22313 constant.
22314
12c22bc4
OL
223152013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
22316
22317 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
22318 argument calculation.
22319
a03d8ea7
JM
223202013-09-24 Joseph Myers <joseph@codesourcery.com>
22321
22322 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
22323 Expect macro.
22324 [POSIX] (pthread_attr_t): Do not require type.
22325 [POSIX] (pthread_cond_t): Likewise.
22326 [POSIX] (pthread_condattr_t): Likewise.
22327 [POSIX] (pthread_key_t): Likewise.
22328 [POSIX] (pthread_mutex_t): Likewise.
22329 [POSIX] (pthread_mutexattr_t): Likewise.
22330 [POSIX] (pthread_once_t): Likewise.
22331 [POSIX] (pthread_t): Likewise.
22332 [POSIX-based standards] (pthread_atfork): Expect function.
22333
6055173a
JM
223342013-09-24 Joseph Myers <joseph@codesourcery.com>
22335 Richard Sandiford <richard@codesourcery.com>
22336
22337 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
22338 (swap_endianness_p): New extern variable.
22339 (set_big_endian): New inline function.
22340 (maybe_swap_uint32): Likewise.
22341 (maybe_swap_uint32_array): Likewise.
22342 (maybe_swap_uint32_obstack): Likewise.
22343 * locale/programs/locfile.c: Include <stdbool.h>.
22344 (swap_endianness_p): New variable.
22345 (add_locale_uint32): Call maybe_swap_uint32.
22346 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
22347 (write_locale_data): Call maybe_swap_uint32_array.
22348 * locale/programs/ld-collate.c (obstack_int32_grow): Call
22349 maybe_swap_uint32.
22350 (obstack_int32_grow_fast): Likewise.
22351 (output_weightwc): Call maybe_swap_uint32_obstack.
22352 (collate_output): Likewise.
22353 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
22354 (OPT_LITTLE_ENDIAN): Likewise.
22355 (options): Add --little-endian and --big-endian options.
22356 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
22357 * locale/programs/locarchive.c: Include "locfile.h".
22358 (GET): New macro.
22359 (SET): Likewise.
22360 (INC): Likewise.
22361 (create_archive): Use the new macros to access fields of
22362 structures directly mapped from or written to locale archives.
22363 (oldlocrecentcmp): Likewise.
22364 (enlarge_archive): Likewise.
22365 (insert_name): Likewise.
22366 (add_alias): Likewise.
22367 (add_locale): Likewise.
22368 (delete_locales_from_archive): Likewise.
22369 (show_archive_content): Likewise.
22370 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
22371 locale data.
22372
39bf0bb4
RM
223732013-09-24 Roland McGrath <roland@hack.frob.com>
22374
22375 * manual/freemanuals.texi: Updated from (newly) canonical copy at
22376 http://www.gnu.org/doc/freemanuals.texi.
22377 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
22378
f02eed10
WN
223792013-09-24 Will Newton <will.newton@linaro.org>
22380
22381 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
22382 macro.
22383
a3a6c312
JM
223842013-09-23 Joseph Myers <joseph@codesourcery.com>
22385
22386 * locale/hashval.h (compute_hashval): Interpret bytes of key as
22387 unsigned char.
22388
107375ac
MR
223892013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
22390
22391 * manual/threads.texi (POSIX Threads): Fix a typo.
22392
141f3a77
SP
223932013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22394
303e567a
SP
22395 [BZ #14547]
22396 * string/tst-strcoll-overflow.c: New test case.
22397 * string/Makefile (xtests): Add tst-strcoll-overflow.
22398 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
22399 cache if string sizes may cause integer overflow.
22400
141f3a77
SP
22401 [BZ #14547]
22402 * string/strcoll_l.c (coll_seq): New members rule, idx,
22403 save_idx and back_us.
22404 (get_next_seq_nocache): New function.
22405 (do_compare_nocache): New function.
22406 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
22407 when malloc fails.
22408
c61b4d41
CD
224092013-09-23 Carlos O'Donell <carlos@redhat.com>
22410
0b1f8e35
CD
22411 [BZ #15754]
22412 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
22413 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
22414 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
22415
c61b4d41
CD
22416 [BZ #15754]
22417 * elf/Makefile (tests): Add tst-ptrguard1.
22418 (tests-static): Add tst-ptrguard1-static.
22419 (tst-ptrguard1-ARGS): Define.
22420 (tst-ptrguard1-static-ARGS): Define.
22421 * elf/tst-ptrguard1.c: New file.
22422 * elf/tst-ptrguard1-static.c: New file.
22423 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
22424 * sysdeps/i386/stackguard-macros.h: Likewise.
22425 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
22426 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
22427 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22428 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22429 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
22430 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
22431
224322013-09-23 Hector Marco <hecmargi@upv.es>
22433 Ismael Ripoll <iripoll@disca.upv.es>
22434 Carlos O'Donell <carlos@redhat.com>
22435
22436 [BZ #15754]
22437 * sysdeps/generic/stackguard-macros.h: Define
22438 __pointer_chk_guard_local and POINTER_CHK_GUARD.
22439 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
22440 Define __pointer_chk_guard_local.
22441 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
22442 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
22443
f5f4e7b4
VV
224442013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
22445
22446 [BZ #15859]
22447 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
22448
5bb43a43
AS
224492013-09-20 Andreas Schwab <schwab@linux-m68k.org>
22450
22451 * include/string.h (__ffs): Declare as hidden.
22452 * string/ffs.c (__ffs): Define as hidden.
22453 * sysdeps/i386/ffs.c (__ffs): Likewise.
22454 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
22455 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
22456 * sysdeps/s390/ffs.c (__ffs): Likewise.
22457 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
22458
3ea5be54
AO
224592013-09-20 Alexandre Oliva <aoliva@redhat.com>
22460
ffb89e53
AO
22461 * NEWS: Mention malloc probes.
22462
322dea08
AO
22463 * malloc/arena.c (new_heap): New memory_heap_new probe.
22464 (grow_heap): New memory_heap_more probe.
22465 (shrink_heap): New memory_heap_less probe.
22466 (heap_trim): New memory_heap_free probe.
22467 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
22468 (systrim): New memory_sbrk_less probe.
22469 * manual/probes.texi: Document them.
22470
655673f3
AO
22471 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
22472 * manual/probes.texi: Document it.
22473
35fed6f1
AO
22474 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
22475 (__libc_realloc): Add memory_realloc_retry probe.
22476 (__libc_memalign): Add memory_memalign_retry probe.
22477 (__libc_valloc): Add memory_valloc_retry probe.
22478 (__libc_pvalloc): Add memory_pvalloc_retry probe.
22479 (__libc_calloc): Add memory_calloc_retry probe.
22480 * manual/probes.texi: Document them.
22481
6999d38c
AO
22482 * malloc/arena.c (get_free_list): Add probe
22483 memory_arena_reuse_free_list.
22484 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
22485 and memory_arena_reuse.
22486 (arena_get2) [!PER_THREAD]: Likewise.
22487 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
22488 memory_arena_reuse_realloc.
22489 * manual/probes.texi: Document them.
22490
0653427f
AO
22491 * malloc/malloc.c (__libc_free): Add
22492 memory_mallopt_free_dyn_thresholds probe.
22493 (__libc_mallopt): Add multiple memory_mallopt probes.
22494 * manual/probes.texi: Document them.
22495
3ea5be54
AO
22496 * malloc/malloc.c: Include stap-probe.h.
22497 (__libc_mallopt): Add memory_mallopt probe.
22498 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
22499 * manual/probes.texi: New.
22500 * manual/Makefile (chapters): Add probes.
22501 * manual/threads.texi: Set next node.
22502
e35696c3 225032013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 22504
e35696c3
CL
22505 [BZ #15963, #13985]
22506 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
22507 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
22508 Add `Chinese' to `nan' entry name.
22509
4aafb73c
SP
225102013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22511
22512 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
22513 (POLYNOMIAL): Likewise.
22514 (TAYLOR_SINCOS): Likewise.
22515 (TAYLOR_SLOW): Likewise.
22516 (__sin): Use TAYLOR_SINCOS.
22517 (__cos): Likewise.
22518 (slow): Use TAYLOR_SLOW.
22519 (sloww): Likewise.
22520 (bsloww): Likewise.
22521 (csloww): Likewise.
22522
d84f25c7
LD
225232013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22524
22525 * stdlib/strtod_l.c: Fix buffer overrun.
22526
5eea0404
SP
225272013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22528
7849ff93
SP
22529 * benchtests/Makefile (bench): Add sincos.
22530 * benchtests/bench-sincos.c: New file.
22531
cfa3c886
SP
22532 * math/libm-test.inc (cos_test_data): New test inputs.
22533 (sin_test_data): Likewise.
22534
b348e1e3
SP
22535 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
22536 macro.
22537 (__sin): Use it.
22538 (__cos): Likewise.
22539 (slow1): Likewise.
22540 (slow2): Likewise.
22541 (sloww1): Likewise.
22542 (sloww2): Likewise.
22543 (bsloww1): Likewise.
22544 (bsloww2): Likewise.
22545 (cslow2): Likewise.
22546 (csloww1): Likewise.
22547 (csloww2): Likewise.
22548
6cce25f8
SP
22549 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
22550 function.
22551 (__sin): Use it.
22552 (__cos): Likewise.
22553
5eea0404
SP
22554 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
22555 gotos.
22556 (__cos): Likewise.
22557
9c21573c
MR
225582013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
22559
22560 * config.h.in (HAVE_MIPS_NAN2008): New macro.
22561 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
22562 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
22563 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
22564 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
22565 * elf/cache.c (print_entry): Handle the new cache flags.
22566
24d22e65
JM
225672013-09-18 Joseph Myers <joseph@codesourcery.com>
22568 Aldy Hernandez <aldyh@redhat.com>
22569
22570 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
22571 Change condition to [_SOFT_FLOAT].
22572 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
22573 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
22574 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
22575 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
22576 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
22577 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
22578 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
22579 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
22580 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
22581 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
22582 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
22583 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
22584 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
22585 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
22586 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
22587 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
22588 declaration.
22589
d13ef066
JM
225902013-09-18 Joseph Myers <joseph@codesourcery.com>
22591
2e071de0
JM
22592 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
22593 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
22594 (__longjmp): Use LOAD_GP to load saved GPRs.
22595 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
22596 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
22597 (__sigsetjmp): Use SAVE_GP to save GPRs.
22598
d13ef066
JM
22599 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
22600 Do not append -msoft-float.
22601 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
22602
97a0650b
SP
226032013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22604
22605 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
22606
11ca09e9
JM
226072013-09-17 Joseph Myers <joseph@codesourcery.com>
22608
22609 [BZ #15966]
22610 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
22611 (_FPU_GETCW): Use initial "__" on variable and field names but not
22612 on macro parameter name.
22613 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
22614 parentheses around reference to macro parameter.
22615
08ffcf34
RS
226162013-09-13 Richard Sandiford <richard@codesourcery.com>
22617
22618 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
22619 prototype.
22620 (ctype_startup): Use uint32_t in cast and sizeof for
22621 ctype->charnames.
22622
ae7080d3
JL
226232013-09-11 Jia Liu <proljc@gmail.com>
22624
22625 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
22626 __daddr_t_defined.
22627 [__FreeBSD__]: Likewise.
22628
5905e7b3
OB
226292013-09-11 Ondřej Bílka <neleai@seznam.cz>
22630
22631 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
22632 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
22633 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
22634 (strchr): Remove __strchr_sse42 ifunc selection.
22635 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
22636 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
22637
b987c776
WN
226382013-09-11 Will Newton <will.newton@linaro.org>
22639
22640 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
22641 parameter to RES. Remove hardcoded 1000 value.
22642 * benchtests/bench-skeleton.c (main): Pass RES parameter
22643 to TIMING_INIT and multiply result by 1000.
22644
ddf985af
AZ
226452013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22646
22647 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22648
ffdd3181
AS
226492013-09-11 Andreas Schwab <schwab@suse.de>
22650
22651 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
22652 if not defined.
22653 (O_TMPFILE) [__USE_GNU]: Define.
22654 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
22655 Define.
22656
b73ed247
WN
226572013-09-11 Will Newton <will.newton@linaro.org>
22658
22659 [BZ #15857]
22660 * malloc/malloc.c (__libc_memalign): Check the value of bytes
22661 does not overflow.
22662
55e17aad
WN
226632013-09-11 Will Newton <will.newton@linaro.org>
22664
22665 [BZ #15856]
22666 * malloc/malloc.c (__libc_valloc): Check the value of bytes
22667 does not overflow.
22668
1159a193
WN
226692013-09-11 Will Newton <will.newton@linaro.org>
22670
22671 [BZ #15855]
22672 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
22673 does not overflow.
22674
5905e7b3 226752013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
22676
22677 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
22678 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22679 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22680 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22681 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22682
cdfc721b
AM
226832013-09-10 Allan McRae <allan@archlinux.org>
22684
aa04af00
AM
22685 [BZ #15748]
22686 * manual/arith.texi (Parsing of Floats): Clarify
22687 cross-reference.
22688
cdfc721b
AM
22689 [BZ #15849]
22690 * manual/install.texi (Running make install): Mention
22691 --enable-pt-chown.
22692 * INSTALL: Regenerated.
22693
95e7cf29
MR
226942013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22695
22696 * csu/init-first.c (_init): Remove the !SHARED condition around
22697 FPU control word initialization.
22698 * elf/dl-support.c (_dl_fpu_control): New variable.
22699 (_dl_aux_init) <AT_FPUCW>: Initialize it.
22700 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
22701 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
22702 * math/test-fpucw-static.c: New file.
22703 * math/test-fpucw-ieee.c: New file.
22704 * math/test-fpucw-ieee-static.c: New file.
22705 * math/Makefile (tests): Add `test-fpucw-ieee' and
22706 `$(tests-static)'.
22707 (tests-static): New variable.
22708 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
22709 dependency to...
22710 [($(build-shared),yes)]
22711 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
22712 ... this.
22713 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
22714 New dependency.
22715
83e43bf0
AM
227162013-09-09 Allan McRae <allan@archlinux.org>
22717
a9f5ce09
AM
22718 [BZ #15939]
22719 * manual/string.texi (Collation Functions): Fix typo in
22720 strcoll example.
22721 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
22722
34829bc2
AM
22723 [BZ #15893]
22724 * stdlib/isomac.c (get_null_defines): Fix memory leak.
22725
3932737d
AM
22726 [BZ #15892]
22727 * libio/memstream.c (open_memstream): Fix memory leak.
22728 * libio/wmemstream.c (open_wmemstream): Likewise.
22729
83e43bf0
AM
22730 [BZ #15895]
22731 * nscd/netgroupcache.c: Fix nesting of ifdefs.
22732
0c66b8e9
WN
227332013-09-09 Will Newton <will.newton@linaro.org>
22734
22735 * malloc/Makefile: Add tst-realloc to tests.
22736 * malloc/tst-realloc.c: New file.
22737
f6b00fd1
AM
227382013-09-09 Allan McRae <allan@archlinux.org>
22739
22740 [BZ #15844]
22741 * COPYING: Update from GNU website to fix FSF address.
22742 * COPYING.LIB: Likewise.
22743
eec55e16
DM
227442013-09-06 David S. Miller <davem@davemloft.net>
22745
22746 * po/zh_TW.po: Update Chinese (traditional) translation from
22747 translation project.
22748
1ecbb381
RS
227492013-09-06 Richard Sandiford <richard@codesourcery.com>
22750 Joseph Myers <joseph@codesourcery.com>
22751
22752 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
22753 "localeinfo.h".
22754 (obstack_chunk_alloc): New macro.
22755 (obstack_chunk_free): Likewise.
22756 (record_offset): New function.
22757 (init_locale_data): Likewise.
22758 (align_locale_data): Likewise.
22759 (add_locale_empty): Likewise.
22760 (add_locale_raw_data): Likewise.
22761 (add_locale_raw_obstack): Likewise.
22762 (add_locale_string): Likewise.
22763 (add_locale_wstring): Likewise.
22764 (add_locale_uint32): Likewise.
22765 (add_locale_uint32_array): Likewise.
22766 (add_locale_char): Likewise.
22767 (start_locale_structure): Likewise.
22768 (end_locale_structure): Likewise.
22769 (start_locale_prelude): Likewise.
22770 (end_locale_prelude): Likewise.
22771 (write_locale_data): Take locale_file structure rather than an
22772 iovec.
22773 * locale/programs/locfile.h: Include "obstack.h".
22774 (struct locale_file): Change to store locale file contents instead
22775 of header.
22776 (init_locale_data): New prototype.
22777 (align_locale_data): Likewise.
22778 (add_locale_empty): Likewise.
22779 (add_locale_raw_data): Likewise.
22780 (add_locale_raw_obstack): Likewise.
22781 (add_locale_string): Likewise.
22782 (add_locale_wstring): Likewise.
22783 (add_locale_uint32): Likewise.
22784 (add_locale_uint32_array): Likewise.
22785 (add_locale_char): Likewise.
22786 (start_locale_structure): Likewise.
22787 (end_locale_structure): Likewise.
22788 (start_locale_prelude): Likewise.
22789 (end_locale_prelude): Likewise.
22790 (write_locale_data): Update prototype.
22791 * locale/programs/3level.h (struct TABLE): Remove result field.
22792 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
22793 Use new locale_file interface.
22794 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
22795 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
22796 * locale/programs/ld-address.c (address_output): Use new
22797 locale_file interface.
22798 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
22799 NO_ADD_LOCALE.
22800 (collate_finish): Don't call collseq_table_finalize.
22801 (collate_output): Use new locale_file interface.
22802 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
22803 in file.
22804 (NO_FINALIZE): Change to NO_ADD_LOCALE.
22805 (TABLE): Move defines earlier in file.
22806 (ELEMENT): Likewise.
22807 (DEFAULT): Likewise.
22808 (wctrans_table_add): Move macro and inline function earlier in
22809 file.
22810 (struct wctype_table): Move type earlier in file.
22811 (add_locale_wctype_table): New static prototype.
22812 (struct locale_ctype_t): Use logical types instead of struct iovec
22813 pointers for members.
22814 (ctype_output): Use new locale_file interface.
22815 (wctype_table_finalize): Change to add_locale_wctype_table. Use
22816 new locale_file interface.
22817 (allocate_arrays): Update for use of new locale_file interface.
22818 * locale/programs/ld-identification.c (identification_output): Use
22819 new locale_file interface.
22820 * locale/programs/ld-measurement.c (measurement_output): Likewise.
22821 * locale/programs/ld-messages.c (messages_output): Likewise.
22822 * locale/programs/ld-monetary.c (monetary_output): Likewise.
22823 * locale/programs/ld-name.c (name_output): Likewise.
22824 * locale/programs/ld-numeric.c (numeric_output): Likewise.
22825 * locale/programs/ld-paper.c (paper_output): Likewise.
22826 * locale/programs/ld-telephone.c (telephone_output): Likewise.
22827 * locale/programs/ld-time.c (time_output): Likewise.
22828
e029e2e5
AZ
228292013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22830
22831 * benchtests/Makefile: Add memrchr benchmark.
22832 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
22833 benchmark as memrchr.
22834 * benchtests/bench-memrchr-ifunc.c: New file.
22835 * benchtests/bench-memrchr.c: New file.
22836
bbf6e8e4
WN
228372013-09-06 Will Newton <will.newton@linaro.org>
22838
22839 * benchtests/Makefile (string-bench): Add memcpy.
22840
6c82a2f8
CD
228412013-09-05 Carlos O'Donell <carlos@redhat.com>
22842 Cong Wang <amwang@redhat.com>
22843
e732c5f0 22844 [BZ #15850]
6c82a2f8
CD
22845 * sysdeps/unix/sysv/linux/bits/in.h
22846 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
22847 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
22848 before __USE_KERNEL_IPV6_DEFS uses.
22849 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
22850 IPPROTO_BEETPH.
22851 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
22852 sockaddr_in6, or ipv6_mreq.
22853
5430fc65
AZ
228542013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22855
22856 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
22857 memory access for final bytes in some large inputs.
22858 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
22859
4660856c
AZ
228602013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22861
22862 * string/test-memrchr.c: New file.
22863 * string/test-memrchr-ifunc.c: New file.
22864 * string/Makefile: Add new memrchr testcase.
22865
bb8ea713
MF
228662013-09-05 Mike Frysinger <vapier@gentoo.org>
22867
22868 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
22869 fanotify_init returns EPERM.
22870
b92a20b5
JM
228712013-09-04 Joseph Myers <joseph@codesourcery.com>
22872
22873 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
22874 errors.
22875 (top level): Treat second token from macro or constant entries for
22876 allowed headers as allowed.
22877 * include/complex.h: Condition internal declarations on
22878 [!_ISOMAC].
22879 * include/fenv.h: Condition include of <stdbool.h> and internal
22880 declarations on [!_ISOMAC].
7447ccd9
CL
22881
228822013-09-04 Chris Leonard <cjl@sugarlabs,.org>
22883
3e181dda 22884 [BZ #15923]
7447ccd9
CL
22885 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
22886
3f2e46a4
JM
228872013-09-04 Joseph Myers <joseph@codesourcery.com>
22888
22889 * configure.in (--enable-versioning): Remove configure option.
22890 (libc_cv_asm_symver_directive): Remove configure test.
22891 (libc_cv_ld_version_script_option): Likewise.
22892 (VERSIONING): Remove variable and AC_SUBST.
22893 (DO_VERSIONING): Remove AC_DEFINE.
22894 * configure: Regenerated.
22895 * config.h.in (DO_VERSIONING): Remove macro.
22896 * Makerules [$(versioning) = yes]: Change conditionals to
22897 [$(build-shared) = yes].
22898 * config.make.in (versioning): Remove variable.
22899 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
22900 [$(build-shared) = yes].
22901 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
22902 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
22903 * elf/Makefile [$(versioning) = yes]: Change conditionals to
22904 [$(build-shared) = yes].
22905 * extra-lib.mk [$(versioning) = yes]: Likewise.
22906 * hurd/Makefile [$(versioning) = yes]: Likewise.
22907 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
22908 [SHARED].
22909 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
22910 [SHARED].
22911 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
22912 [SHARED && !NO_HIDDEN].
22913 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
22914 [SHARED].
22915 [SHARED && DO_VERSIONING]: Likewise..
22916 * libio/Makefile [$(versioning) = yes]: Change conditionals to
22917 [$(build-shared) = yes].
22918 * manual/install.texi (--disable-versioning): Remove
22919 documentation.
22920 * INSTALL: Regenerated.
22921 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
22922 to [SHARED].
22923 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
22924 [$(build-shared) = yes].
22925 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
22926 * sysdeps/i386/i686/multiarch/strstr-c.c
22927 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
22928 [SHARED && !NO_HIDDEN].
22929 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
22930 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
22931 * sysdeps/powerpc/powerpc32/dl-machine.c
22932 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
22933 * sysdeps/powerpc/powerpc32/sysdep.h
22934 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
22935 to [SHARED && PIC && !NO_HIDDEN].
22936 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
22937 conditional to [SHARED].
22938
44558701
WN
229392013-09-04 Will Newton <will.newton@linaro.org>
22940
22941 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
22942 * benchtests/bench-string.h: Include bench-timing.h instead
22943 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
22944 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
22945 call to HP_TIMING_DIFF_INIT.
22946 * benchtests/bench-memccpy.c: Use bench-timing.h macros
22947 instead of hp-timing.h macros.
22948 * benchtests/bench-memchr.c: Likewise.
22949 * benchtests/bench-memcmp.c: Likewise.
22950 * benchtests/bench-memcpy.c: Likewise.
22951 * benchtests/bench-memmem.c: Likewise.
22952 * benchtests/bench-memmove.c: Likewise.
22953 * benchtests/bench-memset.c: Likewise.
22954 * benchtests/bench-rawmemchr.c: Likewise.
22955 * benchtests/bench-strcasecmp.c: Likewise.
22956 * benchtests/bench-strcasestr.c: Likewise.
22957 * benchtests/bench-strcat.c: Likewise.
22958 * benchtests/bench-strchr.c: Likewise.
22959 * benchtests/bench-strcmp.c: Likewise.
22960 * benchtests/bench-strcpy.c: Likewise.
22961 * benchtests/bench-strcpy_chk.c: Likewise.
22962 * benchtests/bench-strlen.c: Likewise.
22963 * benchtests/bench-strncasecmp.c: Likewise.
22964 * benchtests/bench-strncat.c: Likewise.
22965 * benchtests/bench-strncmp.c: Likewise.
22966 * benchtests/bench-strncpy.c: Likewise.
22967 * benchtests/bench-strnlen.c: Likewise.
22968 * benchtests/bench-strpbrk.c: Likewise.
22969 * benchtests/bench-strrchr.c: Likewise.
22970 * benchtests/bench-strspn.c: Likewise.
22971 * benchtests/bench-strstr.c: Likewise.
22972
cae16d66
WN
229732013-09-04 Will Newton <will.newton@linaro.org>
22974
22975 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
22976
ffa3cd7f
JM
229772013-09-03 Joseph Myers <joseph@codesourcery.com>
22978
22979 [BZ #15427]
22980 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
22981 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
22982 * math/libm-test.inc (lgamma_test_data): Add more tests.
22983 * sysdeps/i386/fpu/libm-test-ulps: Update.
22984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22985
8f02859f
OB
229862013-09-03 Ondřej Bílka <neleai@seznam.cz>
22987
22988 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
22989 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22990 Add ifunc.
22991 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22992 Add strcmp-sse2-unaligned
22993 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
22994
18d43716
MF
229952013-09-02 Mike Frysinger <vapier@gentoo.org>
22996
22997 * Versions.def (libc): Add GLIBC_2.19.
22998
ac444012
MF
229992013-09-02 Mike Frysinger <vapier@gentoo.org>
23000
23001 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
23002 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
23003
b7835e32
JM
230042013-09-02 Joseph Myers <joseph@codesourcery.com>
23005
23006 [BZ #14155]
23007 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
23008 intermediate calculations in recurrence.
23009 (__ieee754_ynf): Likewise.
23010 * math/libm-test.inc (jn_test_data): Do not allow spurious
23011 underflow exception. Add more tests.
23012 (yn_test_data): Add more tests.
23013 * sysdeps/i386/fpu/libm-test-ulps: Update.
23014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23015
8220f4f0
OB
230162013-09-02 Ondřej Bílka <neleai@seznam.cz>
23017
23018 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
23019
f24a6d08
OB
230202013-08-30 Ondřej Bílka <neleai@seznam.cz>
23021
23022 * csu/init-first.c: Fix then/than typos.
23023 * locale/programs/ld-collate.c: Likewise.
23024 * locale/programs/linereader.h: Likewise.
23025 * manual/charset.texi: Likewise.
23026 * manual/filesys.texi: Likewise.
23027 * manual/stdio.texi: Likewise.
23028 * manual/string.texi: Likewise.
23029 * stdlib/fmtmsg.c: Likewise.
23030 * sysdeps/i386/stpncpy.S: Likewise.
23031 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23032 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23033 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23034 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23035
382466e0
OB
230362013-08-30 Ondřej Bílka <neleai@seznam.cz>
23037
23038 * elf/dl-open.c: Fix typos.
23039 * iconvdata/gbbig5.c: Likewise.
23040 * iconvdata/iso-2022-jp.c: Likewise.
23041 * iconv/gconv_int.h: Likewise.
23042 * iconv/loop.c: Likewise.
23043 * nis/rpcsvc/nis.h: Likewise.
23044 * resolv/ns_name.c: Likewise.
23045 * stdio-common/vfscanf.c: Likewise.
23046 * streams/stropts.h: Likewise.
23047 * sunrpc/rpc_thread.c: Likewise.
23048 * sysdeps/i386/strpbrk.S: Likewise.
23049 * sysdeps/ieee754/k_standard.c: Likewise.
23050 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23051 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23052 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
23053 * sysdeps/mach/hurd/profil.c: Likewise.
23054 * sysdeps/s390/dl-procinfo.h: Likewise.
23055 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
23056 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
23057 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
23058 * sysdeps/x86_64/dl-trampoline.S: Likewise.
23059 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
23060
0186c6e9
OB
230612013-08-30 Ondřej Bílka <neleai@seznam.cz>
23062
23063 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
23064 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
23065
d4e16af1
OB
230662013-08-29 Ondřej Bílka <neleai@seznam.cz>
23067
23068 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
23069 aix specific files.
23070 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
23071 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
23072 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
23073 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
23074 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
23075 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
23076 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
23077 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
23078
88335980
TS
230792013-08-29 Thomas Schwinge <thomas@codesourcery.com>
23080 Roland McGrath <roland@hack.frob.com>
23081
23082 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
23083 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
23084
ed479b02
ST
230852013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
23086
23087 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
23088 __executable_start symbol instead of _start.
23089
f1cc4c86
TS
230902013-08-29 Thomas Schwinge <thomas@codesourcery.com>
23091
d821f07c
TS
23092 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
23093 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
23094 Move macros to...
23095 * sysdeps/gnu/ldsodefs.h: ... this new file.
23096
c54290cf
TS
23097 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
23098 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
23099 instead of ELFOSABI_LINUX.
23100
0007fc9b 23101 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
23102 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
23103 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
23104 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
23105 Likewise.
23106 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
23107 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
23108 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
23109 Likewise.
23110 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23111 (ibm_extended_long_double): Add ieee_nan member.
23112 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
23113 (do_test): New function.
23114
f1cc4c86
TS
23115 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
23116 TEST_TRUNC.
23117 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
23118 functions, renamed from truncdfsf_test, trunctfsf_test,
23119 trunctfdf_test.
23120 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
23121 functions.
23122 (do_test): Run all these.
23123
6f65e668
OB
231242013-08-29 Ondřej Bílka <neleai@seznam.cz>
23125
23126 * argp/argp-help.c: Fix typos.
23127 * argp/argp-parse.c: Likewise.
23128 * debug/backtracesyms.c: Likewise.
23129 * elf/elf.h: Likewise.
23130 * malloc/malloc.c: Likewise.
23131 * nis/nis_print.c: Likewise.
23132 * resolv/res_comp.c: Likewise.
23133 * stdlib/stdlib.h: Likewise.
23134 * sunrpc/clnt_tcp.c: Likewise.
23135 * sunrpc/clnt_udp.c: Likewise.
23136 * sunrpc/clnt_unix.c: Likewise.
23137 * sysdeps/unix/bsd/ptsname.c: Likewise.
23138 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
23139 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
23140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
23141 Likewise.
23142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
23143 Likewise.
23144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
23145 Likewise.
6f65e668
OB
23146 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23147
3a309239
SP
231482013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23149
23150 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
23151 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23152
3b813b29
MF
231532013-08-27 Mike Frysinger <vapier@gentoo.org>
23154
23155 [BZ #15897]
23156 * dlfcn/Makefile (tests): Add bug-dl-leaf.
23157 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
23158 ($(objpfx)bug-dl-leaf): New rule.
23159 ($(objpfx)bug-dl-leaf.so): Likewise.
23160 ($(objpfx)bug-dl-leaf.out): Likewise.
23161 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
23162 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
23163 * dlfcn/bug-dl-leaf.c: New test.
23164 * dlfcn/bug-dl-leaf-lib.c: Likewise.
23165 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
23166 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
23167 (dlclose): Likewise.
23168 (dlmopen): Likewise.
23169
8cc3269f
RM
231702013-08-27 Roland McGrath <roland@hack.frob.com>
23171
7f9d0034
RM
23172 * include/netdb.h [!_ISOMAC]:
23173 Don't include <tls.h>.
23174 (h_errno, __libc_h_errno): Move declaration and macros out of
23175 [_LIBC_REENTRANT].
23176
fb431262
RM
23177 * include/resolv.h [_RESOLV_H_]:
23178 Don't include <tls.h>.
23179 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
23180 * resolv/res_libc.c: Don't include <tls.h>.
23181 (_res): Use __attribute__ ((nocommon)) in place of
23182 __attribute__ ((section (".bss"))).
23183
bd81123a
RM
23184 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
23185 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
23186
c4e42566
RM
23187 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
23188
f890a59b
RM
23189 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
23190 only under [SIOCGIFCONF && SIOCGIFNETMASK].
23191
23192 * resolv/res_mkquery.c: Include <sys/time.h>.
23193
5d1f0a09
RM
23194 * inet/ifreq.c: Moved to ...
23195 * sysdeps/unix/ifreq.c: ... here.
23196 * inet/ifreq.c: New file, true stub version.
23197
6fcf28b3
RM
23198 * socket/sa_len.c: New file.
23199 * socket/Makefile (aux): Add it.
23200 * sysdeps/unix/sysv/linux/Makefile
23201 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
23202 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
23203 and #include <socket/sa_len.c>.
23204 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
23205 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
23206
e041fb8b
RM
23207 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
23208 * bits/socket.h: ... here.
23209
8cc3269f
RM
23210 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
23211 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
23212 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
23213
5d228a43
AS
232142013-08-27 Andreas Schwab <schwab@suse.de>
23215
45b8accc
AS
23216 [BZ #15736]
23217 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
23218 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
23219 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
23220 * string/test-strcasecmp.c (test_main): Run tests in several
23221 locales.
23222 * string/test-strncasecmp.c (test_main): Likewise.
23223
5d228a43
AS
23224 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
23225 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
23226 to __strcasecmp_nonascii and __strncasecmp_nonascii.
23227 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
23228 (__strncasecmp_ssse3) [PIC]: Likewise.
23229
59d112a4
RM
232302013-08-26 Roland McGrath <roland@hack.frob.com>
23231
53234cc3
RM
23232 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
23233
59d112a4
RM
23234 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
23235 instead of explicitly declaring xdecrypt.
23236 * nis/nss_nis/nis-publickey.c: Likewise.
23237
595aba70
SP
232382013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23239
23240 [BZ #15890]
23241 * nscd/aicache.c: Include res_hconf.h.
23242 (addhstaiX): Initialize res_hconf.
23243
ffabd393
AS
232442013-08-26 Andreas Schwab <schwab@suse.de>
23245
23246 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
23247 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
23248
e0a69f5c
SP
232492013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23250
23251 * nscd/aicache.c (addhstaiX): Fix indentation.
23252
8c12f01d
MF
232532013-08-25 Mike Frysinger <vapier@gentoo.org>
23254
23255 * configure.ac: Quote $build_pt_chown test.
23256 * configure: Regenerated.
23257
8fe89494
JM
232582013-08-23 Joseph Myers <joseph@codesourcery.com>
23259
23260 [BZ #15532]
23261 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
23262 * math/s_cexpf.c (__cexpf): Likewise.
23263 * math/s_cexpl.c (__cexpl): Likewise.
23264 * math/libm-test.inc (cexp_test_data): Correct expected return
23265 value for NaN + i0. Add another test.
23266
75b181d6
DM
232672013-08-22 David S. Miller <davem@davemloft.net>
23268
23269 * po/ca.po: Update Catalan translation from translation project.
936241e4 23270 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 23271
acd06bb1
JM
232722013-08-21 Joseph Myers <joseph@codesourcery.com>
23273
23274 [BZ #15797]
23275 * math/s_fdim.c (__fdim): Check for infinite arguments if result
23276 is infinite, not alongside NaN test.
23277 * math/s_fdimf.c (__fdimf): Likewise.
23278 * math/s_fdiml.c (__fdiml): Likewise.
23279 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
23280 errno is unchanged.
23281
c0c3f78a
OB
232822013-08-21 Ondřej Bílka <neleai@seznam.cz>
23283
23284 * argp/argp-help.c: Fix typos.
23285 * crypt/speeds.c: Likewise.
23286 * csu/check_fds.c: Likewise.
23287 * elf/dl-load.c: Likewise.
23288 * elf/dl-open.c: Likewise.
23289 * elf/reldep3.c: Likewise.
23290 * elf/reldep.c: Likewise.
23291 * elf/sprof.c: Likewise.
23292 * iconv/iconv_charmap.c: Likewise.
23293 * iconv/skeleton.c: Likewise.
23294 * iconv/strtab.c: Likewise.
23295 * io/lockf64.c: Likewise.
23296 * libio/libioP.h: Likewise.
23297 * resolv/gai_notify.c: Likewise.
23298 * resolv/ns_name.c: Likewise.
23299 * resolv/ns_samedomain.c: Likewise.
23300 * resolv/res_send.c: Likewise.
23301 * stdlib/random.c: Likewise.
23302 * sunrpc/rpc/xdr.h: Likewise.
23303 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
23304 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23305 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23306 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23307 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23308 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23309 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23310 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23311 * sysdeps/mach/hurd/check_fds.c: Likewise.
23312 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23313 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23314 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23315 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23316 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23317 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23318 * sysdeps/pthread/aio_notify.c: Likewise.
23319 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
23320 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
23321 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
23322 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23323 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
23324
46ed1038
LD
233252013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23326
23327 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
23328 version if bit_Slow_SSE4_2 is set.
23329 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23330 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23331
d400dcac
AZ
233322013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23333
23334 [BZ #15867]
23335 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
23336 trampoline stack frame information.
23337 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
23338 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
23339 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
23340 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
23341 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
23342 * sysdeps/unix/sysv/linux/powerpc/init-first.c
23343 (_libc_vdso_platform_setup): Initialize the signal trampolines.
23344 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
23345 sa_flags value.
23346 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
23347 interrupting a syscall and set with option SA_SIGINFO.
23348
42c8fdd8
JM
233492013-08-20 Joseph Myers <joseph@codesourcery.com>
23350
c980f2f4
JM
23351 [BZ #15531]
23352 * math/s_cproj.c (__cproj): Only return an infinity if one part of
23353 argument is infinite.
23354 * math/s_cprojf.c (__cprojf): Likewise.
23355 * math/s_cprojl.c (__cprojl): Likewise.
23356 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
23357 * math/libm-test.inc (cproj_test_data): Add more tests.
23358
0716c4fc
JM
23359 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
23360
42c8fdd8
JM
23361 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
23362 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
23363 size. Use __ffs to determine corresponding shift.
23364
b31469d0
JM
233652013-08-20 Joseph Myers <joseph@codesourcery.com>
23366 Roland McGrath <roland@hack.frob.com>
23367
23368 * Makefile (INSTALL): Remove trailing blank lines from output of
23369 makeinfo.
23370
4e39af6e
AK
233712013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23372
23373 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
23374 Align 32 bit compat elf_greg to 8 bytes.
23375
f315524e
AA
233762013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
23377
23378 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
23379
1326ba1a
SP
233802013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23381
23382 * string/strcoll_l.c (coll_seq): New structure.
23383 (get_next_seq_cached): New function.
23384 (get_next_seq): New function.
23385 (do_compare): New function.
23386 (STRCOLL): Use GNU style definition. Simplify implementation
23387 by using get_next_seq, get_next_seq_cached and do_compare.
23388
91ce4085
FW
233892013-08-16 Florian Weimer <fweimer@redhat.com>
23390
23391 [BZ #14699]
23392 CVE-2013-4237
23393 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
23394 member.
23395 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
23396 member.
23397 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
23398 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
23399 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
23400 conditional.
23401 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
23402 GETDENTS_64BIT_ALIGNED.
23403 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
23404 * manual/filesys.texi (Reading/Closing Directory): Document
23405 ENAMETOOLONG return value of readdir_r. Recommend readdir more
23406 strongly.
23407 * manual/conf.texi (Limits for Files): Add portability note to
23408 NAME_MAX, PATH_MAX.
23409 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
23410
ca0a6bc4
AS
234112013-08-13 Andreas Schwab <schwab@suse.de>
23412
23413 [BZ #15749]
23414 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
23415 of fabs.
23416 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
23417 LDBL_MAX_EXP >= 16384]: Add tests for it.
23418
6c1fd795
DM
234192013-08-12 David S. Miller <davem@davemloft.net>
23420
23421 * version.h (RELEASE): Set to "development".
23422 (VERSION): Set to "2.18.90".
23423 * NEWS: Add 2.19 section.
23424
31ad488d
DM
234252013-08-03 David S. Miller <davem@davemloft.net>
23426
23427 * po/ko.po: Update Korean translation from translation project.
23428
db24e684
DM
234292013-08-01 David S. Miller <davem@davemloft.net>
23430
23431 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
23432 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
23433 Bilka.
23434
f723285b
DM
234352013-07-30 David S. Miller <davem@davemloft.net>
23436
23437 * po/fr.po: Update French translation from translation project.
23438
3cbc52db
DM
234392013-07-28 David S. Miller <davem@davemloft.net>
23440
30bbc0cc
DM
23441 * po/cs.po: Update Czech translation from translation project.
23442
3cbc52db
DM
23443 * po/sv.po: Update Swedish translation from translation project.
23444
d492e6d0
DM
234452013-07-27 David S. Miller <davem@davemloft.net>
23446
f1a7f492
DM
23447 * po/eo.po: Update Esperanto translation from translation project.
23448
90e62a4a
DM
23449 * po/vi.po: Update Vietnamese translation from translation project.
23450
d492e6d0
DM
23451 * po/de.po: Update German translation from translation project.
23452
d4baa62d
DM
234532013-07-26 David S. Miller <davem@davemloft.net>
23454
641aa7b4
DM
23455 * po/bg.po: Update Bulgarian translation from translation project.
23456
d4baa62d
DM
23457 * po/nl.po: Update Dutch translation from translation project.
23458 * po/pl.po: Update Polish translation from translation project.
23459 * po/ru.po: Update Russian translation from translation project.
23460
61a9dcb9
DM
234612013-07-24 David S. Miller <davem@davemloft.net>
23462
23463 * po/libc.pot: Update.
23464
7b1f8b58
AZ
234652013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23466
23467 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
23468 variable page size.
23469 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
23470 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
23471 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
23472
a8fc7a03
AK
234732013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23474
23475 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
23476
e4608715
CD
234772013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23478 Andreas Schwab <schwab@suse.de>
23479 Roland McGrath <roland@hack.frob.com>
23480 Joseph Myers <joseph@codesourcery.com>
23481 Carlos O'Donell <carlos@redhat.com>
23482
23483 [BZ #15755]
23484 * config.h.in: Define HAVE_PT_CHOWN.
23485 * config.make.in (build-pt-chown): New variable.
23486 * configure.in (--enable-pt_chown): New configure option.
23487 * configure: Regenerate.
23488 * login/Makefile: Include Makeconfig. Build pt_chown only if
23489 build-pt-chown is enabled.
23490 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
23491 pt_chown to fix pty ownership.
23492 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
23493 CLOSE_ALL_FDS.
23494 * manual/install.texi (Configuring and compiling): Mention
23495 --enable-pt_chown. Add @findex for grantpt.
23496 * INSTALL: Regenerate.
23497
da2d62df
DM
234982013-07-20 David S. Miller <davem@davemloft.net>
23499
23500 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
23501 difference between 32-bit and 64-bit.
23502
d7e06450
CD
235032013-07-15 Carlos O'Donell <carlos@redhat.com>
23504
23505 [BZ #15711]
23506 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
23507 Avoid system header dependency with -ffreestanding.
23508 ($(objpfx)bits/syscall%d): Likewise.
23509
f959cfd7
DM
235102013-07-13 David S. Miller <davem@davemloft.net>
23511
23512 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
23513 underflows from atanl/atan2l due to bug 15319.
23514 (casinh_test_data): Likewise.
23515
c61f8513
DM
235162013-07-07 David S. Miller <davem@davemloft.net>
23517
23518 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
23519
72c90ed0
JA
235202013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
23521
23522 * sysdeps/i386/fpu/libm-test-ulps: Update.
23523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23524
52dfbe13
SP
235252013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23526
23527 * configure.in (--enable-lock-elision): Fix message text.
23528 * INSTALL: Regenerate.
23529 * configure: Regenerate.
23530
3f169543
AZ
235312013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23532
23533 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23534
521c6785
AJ
235352013-07-03 Andreas Jaeger <aj@suse.de>
23536
23537 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
23538 define.
23539 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
23540 (ptrace_peeksiginfo_args): Add.
23541 (__ptrace_peeksiginfo_flags): Add.
23542 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23543 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23544 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23545
d2cc15cb
AM
235462013-07-03 Allan McRae <allan@archlinux.org>
23547
23548 * sysdeps/i386/fpu/libm-test-ulps: Update.
23549
3aaeeca7
DM
235502013-07-02 David S. Miller <davem@davemloft.net>
23551
23552 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23553
5314ed1a
MT
235542013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
23555
23556 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23557
67338156
JM
235582013-07-02 Joseph Myers <joseph@codesourcery.com>
23559
23560 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23562
1717da59
AK
235632013-07-02 Andi Kleen <ak@linux.intel.com>
23564
23565 * config.h.in (ENABLE_LOCK_ELISION): Add.
23566 * configure.in (--enable-lock-elision): Add option.
23567 * manual/install.texi: Document --enable lock elision.
23568 * configure: Regenerate
23569 * INSTALL: Regenerate.
23570
1c81621c
L
235712013-07-02 H.J. Lu <hongjiu.lu@intel.com>
23572
23573 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
23574 SSE4.2 strcasecmp for libc.a.
23575 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
23576
77f01ab5
JM
235772013-07-02 Joseph Myers <joseph@codesourcery.com>
23578
23579 [BZ #13304]
23580 * soft-fp/op-common.h (_FP_FMA): New macro.
23581 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
23582 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
23583 (_FP_MUL_MEAT_1_imm): ... here.
23584 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
23585 (_FP_MUL_MEAT_1_wide): ... here.
23586 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
23587 (_FP_MUL_MEAT_1_hard): ... here.
23588 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
23589 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
23590 (_FP_MUL_MEAT_2_wide): ... here.
23591 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
23592 (_FP_MUL_MEAT_2_wide_3mul): ... here.
23593 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
23594 (_FP_MUL_MEAT_2_gmp): ... here.
23595 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
23596 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
23597 (_FP_MUL_MEAT_4_wide): ... here.
23598 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
23599 (_FP_MUL_MEAT_4_gmp): ... here.
23600 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
23601 (_FP_WFRACBITS_DW_S): Likewise.
23602 (_FP_WFRACXBITS_DW_S): Likewise.
23603 (_FP_HIGHBIT_DW_S): Likewise.
23604 (FP_FMA_S): Likewise.
23605 (_FP_FRAC_HIGH_DW_S): Likewise.
23606 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
23607 (_FP_WFRACBITS_DW_D): Likewise.
23608 (_FP_WFRACXBITS_DW_D): Likewise.
23609 (_FP_HIGHBIT_DW_D): Likewise.
23610 (FP_FMA_D): Likewise.
23611 (_FP_FRAC_HIGH_DW_D): Likewise.
23612 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
23613 (_FP_WFRACBITS_DW_E): Likewise.
23614 (_FP_WFRACXBITS_DW_E): Likewise.
23615 (_FP_HIGHBIT_DW_E): Likewise.
23616 (FP_FMA_E): Likewise.
23617 (_FP_FRAC_HIGH_DW_E): Likewise.
23618 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
23619 (_FP_WFRACBITS_DW_Q): Likewise.
23620 (_FP_WFRACXBITS_DW_Q): Likewise.
23621 (_FP_HIGHBIT_DW_Q): Likewise.
23622 (FP_FMA_Q): Likewise.
23623 (_FP_FRAC_HIGH_DW_Q): Likewise.
23624 * soft-fp/fmasf4.c: New file.
23625 * soft-fp/fmadf4.c: Likewise.
23626 * soft-fp/fmatf4.c: Likewise.
23627
6308fd9a
LD
236282013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23629
23630 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23631 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
23632 Silvermont.
23633 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
23634 macro.
23635 (index_Slow_SSE4_2): Likewise.
23636 (index_Prefer_PMINUB_for_stringop): Likewise.
23637 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
23638 bit_Slow_SSE4_2 is set.
23639 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23640 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23641
89cd9569
RA
236422013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23643
23644 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
23645 rtld_global._dl_hwcap2.
23646 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
23647 POWER8.
23648 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
23649 POWER8 feature descriptions defined in _dl_hwcap2.
23650 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
23651 string handling for POWER8 feature bits.
23652 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
23653 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
23654 _dl_powerpc_cap_flags.
23655 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
23656 * sysdeps/powerpc/rtld-global-offsets.sym
23657 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
23658 _dl_hwcap2 in the rtld_global_ro structure.
23659
1ae8bfe0
RA
236602013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23661
23662 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
23663 hardware capabilities in support of AT_HWCAP2.
23664 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
23665 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
23666 GLRO(dl_hwcap2).
23667 (_dl_show_auxv): Add support for calling _dl_procinfo to display
23668 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
23669 explicitly the unknown a_type display mechanism is used.
23670 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
23671 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
23672 struct member.
23673 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
23674 to macro prototype for AT_HWCAP2 support.
23675 * sysdeps/i386/dl-procinfo.h: Likewise.
23676 * sysdeps/s390/dl-procinfo.h: Likewise.
23677 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
23678 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
23679 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
23680 return -1 for unknown a_type display fallback.
23681 * sysdeps/sparc/dl-procinfo.h: Likewise.
23682 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
23683 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
23684
8fbec010
JM
236852013-06-28 Joseph Myers <joseph@codesourcery.com>
23686
23687 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
23688 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
23689
0432680e
PY
236902013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
23691
23692 [BZ #12492]
23693 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
23694 mprotect making __stack_prot writable.
23695
ce61a2ad
NF
236962013-06-28 Nathan Froyd <froydnj@codesourcery.com>
23697 Joseph Myers <joseph@codesourcery.com>
23698
23699 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
23700 as being properly aligned.
23701
f91f1c0f
MR
237022013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
23703
3d0f5d0c
MR
23704 * dlfcn/modstatic5.c: New file.
23705 * dlfcn/tststatic5.c: New file.
23706 * dlfcn/Makefile (tests): Add tststatic5.
23707 (tests-static): Likewise.
23708 (modules-names): Add modstatic5.
23709 (tststatic5-ENV): New variable.
23710 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
23711
f91f1c0f
MR
23712 [BZ #15022]
23713 * elf/dl-support.c (_dl_main_map): New variable.
23714 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
23715 (_dl_nns, _dl_load_adds): Set to 1.
23716 (_dl_initial_searchlist): Refer to _dl_main_map.
23717 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
23718 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
23719 call to _dl_get_origin.
23720 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
23721 around call_map.
23722 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
23723 * dlfcn/modstatic3.c: New file.
23724 * dlfcn/tststatic3.c: New file.
23725 * dlfcn/tststatic4.c: New file.
23726 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
23727 (tests-static): Likewise.
23728 (modules-names): Add modstatic3.
23729 (tststatic3-ENV, tststatic4-ENV): New variables.
23730 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
23731 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
23732
cbe7d24b
JM
237332013-06-26 Joseph Myers <joseph@codesourcery.com>
23734
23735 * configure.in (CC): Require GCC version 4.4 or later.
23736 * configure: Regenerated.
23737 * manual/install.texi (Tools for Compilation): Update GCC version
23738 requirement.
23739 * INSTALL: Regenerated.
23740
11b8a0e1
LD
237412013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23742
23743 [BZ #15674]
bb5bb87c
L
23744 * string/test-memcmp.c (check2): New.
23745 (main): Call check2.
23746
11b8a0e1
LD
23747 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
23748
b0037103
MR
237492013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
23750
23751 [BZ #15022]
23752 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
23753 over to...
23754 (dl_open_worker) [!SHARED]: ... here.
23755
c18c701d
RA
237562013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23757
23758 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
23759
1d17fa5f
RH
237602013-06-25 Richard Henderson <rth@redhat.com>
23761
23762 * locale/programs/locarchive.c: Include <libc-internal.h>
23763
8fcb833a
JM
237642013-06-25 Joseph Myers <joseph@codesourcery.com>
23765
23766 * manual/texinfo.tex: Update to version 2013-06-21.17, with
23767 trailing whitespace removed.
23768
17db6e8d
MF
237692013-06-24 Mike Frysinger <vapier@gentoo.org>
23770
23771 [BZ #10283]
17db6e8d
MF
23772 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
23773 * locale/programs/locarchive.c: Include libc-mmap.h.
23774 (prepare_address_space): Take two new outputs (the mmap base and len).
23775 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
23776 values.
23777 (create_archive): Declare new mmap base and len values for
23778 prepare_address_space, and store the result in ah.
23779 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
23780 (enlarge_archive): If ah->mmap_base is not NULL, use that and
23781 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23782 Declare new mmap base and len values for
23783 prepare_address_space, and store the result in new_ah.
23784 (open_archive): Declare new mmap base and len values for
23785 prepare_address_space, and store the result in ah.
23786 (close_archive): If ah->mmap_base is not NULL, use that and
23787 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23788 * sysdeps/generic/libc-mmap.h: New file.
23789
d605071e
MF
237902013-06-24 Mike Frysinger <vapier@gentoo.org>
23791
23792 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
23793 (ALIGN_UP): Likewise.
23794 (PTR_ALIGN_DOWN): Likewise.
23795 (PTR_ALIGN_UP): Likewise.
23796
2f063a6e
RA
237972013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23798
23799 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
23800 entry mapped to PPC_PLATFORM_POWER8.
23801 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
23802 POWER8.
23803 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
23804 (_dl_string_platform): Add case for exporting platform position for
23805 POWER8.
23806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
23807 search path to sysdeps/powerpc/powerpc32/power8 directory.
23808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
23809 search path to sysdeps/powerpc/powerpc64/power8 directory.
23810 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
23811 power7 directories.
23812 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
23813 power7 directories.
23814
a31ee4b3
SP
238152013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23816
a74ca98f
SP
23817 * INSTALL: Regenerate.
23818
a31ee4b3
SP
23819 * nscd/connections.c (nscd_init): Fix comment.
23820
695c378f
JM
238212013-06-22 Joseph Myers <joseph@codesourcery.com>
23822
d8412221
JM
23823 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
23824
695c378f
JM
23825 [BZ #15667]
23826 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
23827 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
23828
d1d54715
MR
238292013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
23830
23831 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
23832 DL_DST_REQ_STATIC.
23833 (DL_DST_REQ_STATIC): Remove macro.
23834
8fdda7af
JM
238352013-06-21 Joseph Myers <joseph@codesourcery.com>
23836
23837 [BZ #7006]
23838 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
23839 with a shift of 0 bits.
23840
f3bc5e5a
MR
238412013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
23842
23843 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
23844 $(tststatic-ENV).
23845
be09e8c9
KK
238462013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23847
23848 [BZ #15655]
23849 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
23850
85c2e611
AZ
238512013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23852
23853 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
23854 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
23855 accepts -fno-tree-loop-distribute-patterns.
23856 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
23857 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
23858 recursive call.
23859 * string/memset.c (memset): Likewise.
23860 * string/test-memmove.c (simple_memmove): Disable loop transformation
23861 to library calls.
23862 * string/test-memset.c (simple_memset): Likewise.
23863 * benchtests/bench-memmove.c (simple_memmove): Likewise.
23864 * benchtests/bench-memset.c (simple_memset): Likewise.
23865 * configure: Regenerated.
23866
c91e0825
JM
238672013-06-20 Joseph Myers <joseph@codesourcery.com>
23868
b8c792af
JM
23869 * math/test-misc.c (main): Ignore fesetround failure when failures
23870 of subsequent rounding tests would be ignored.
23871
c91e0825
JM
23872 [BZ #15654]
23873 * math/fedisblxcpt.c (fedisableexcept): Return 0.
23874 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
23875 * math/fegetenv.c (__fegetenv): Return 0.
23876 * math/fegetexcept.c (fegetexcept): Return 0.
23877 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
23878 FE_TONEAREST.
23879 * math/feholdexcpt.c (feholdexcept): Return 0.
23880 * math/fesetenv.c (__fesetenv): Return 0.
23881 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
23882 argument FE_TONEAREST.
23883 * math/feupdateenv.c (__feupdateenv): Return 0.
23884 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
23885
bfcacbde
RM
238862013-06-18 Roland McGrath <roland@hack.frob.com>
23887
23888 * elf/rtld-Rules (rtld-compile-command.S): New variable.
23889 (rtld-compile-command.s, rtld-compile-command.c): New variables.
23890 ($(objpfx)rtld-%.os rules): Use them.
23891
e55a9b25
AZ
238922013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23893
23894 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
23895 fields.
23896
346d65b3
RM
238972013-06-17 Roland McGrath <roland@hack.frob.com>
23898
12086fb4
RM
23899 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
23900 length of target pattern, then descending length of dependency pattern.
23901 * configure.in (AWK): Require gawk 3.1.2 or newer.
23902 * manual/install.texi (Tools for Compilation): Say that we do.
23903 * configure: Regenerated.
23904
346d65b3
RM
23905 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
23906 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
23907 * scripts/sysd-rules.awk: ... this new script.
23908 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
23909 than a glob-style pattern.
23910
1a846317
JM
239112013-06-17 Joseph Myers <joseph@codesourcery.com>
23912
23913 * math/test-misc.c (main): Do not treat incorrectly rounded
23914 conversions as failure unless ROUNDING_TESTS passes.
23915
8fc75e6f
JM
239162013-06-15 Joseph Myers <joseph@codesourcery.com>
23917
3711a167
JM
23918 [BZ #15631]
23919 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
23920 restore exception state around main square root computation, then
23921 check for inexactness explicitly.
23922
8fc75e6f
JM
23923 * math/libm-test.inc (fma_test_data): Add another test.
23924
61dd6208
SP
239252013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23926
adf23d2c
SP
23927 * manual/threads.texi (Non-POSIX Extensions): New document
23928 node. Document pthread_getattr_default_np and
23929 pthread_setattr_default_np.
23930
61dd6208
SP
23931 * Versions.def (libpthread): Add GLIBC_2.18.
23932 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
23933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23934 Likewise.
23935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23936 Likewise.
23937 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23938 Likewise.
23939 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23940 Likewise.
23941 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
23942 Likewise.
23943 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23944 Likewise.
23945 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23946 Likewise.
23947 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
23948 Likewise.
23949 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23950 Likewise.
23951
d086fc7b
LD
239522013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23953
23954 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23955 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
23956
747ef469
SP
239572013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23958 H.J. Lu <hjl.tools@gmail.com>
23959
23960 [BZ #15627]
23961 * sysdeps/x86_64/rtld-memset.c: Remove file.
23962 * sysdeps/x86_64/rtld-memset.S: New file.
23963
1b2feed2
JM
239642013-06-14 Joseph Myers <joseph@codesourcery.com>
23965
23966 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
23967 (test_in_one_mode): Take arguments for whether the rounding mode
23968 is supported for each floating-point type.
23969 (do_test): Pass new arguments to test_in_one_mode using
23970 ROUNDING_TESTS.
23971
a58ad3f8
RM
239722013-06-13 Roland McGrath <roland@hack.frob.com>
23973
23974 * posix/tst-waitid.c (do_test): Distinguish different instances of
23975 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
23976 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
23977 before entering the kernel for waitpid.
23978
c204ab28
SP
239792013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23980
23981 * NEWS: Fix note on clock function precision. Text by Roland
23982 McGrath.
23983
f4a29fba
RM
239842013-06-13 Roland McGrath <roland@hack.frob.com>
23985
23986 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
23987 it into place only when and if the sanity check passes.
23988
1f24b9ad
JM
239892013-06-13 Joseph Myers <joseph@codesourcery.com>
23990
23991 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
23992 output for whether conversion result is exact. Take argument
23993 indicating whether type is IBM long double.
23994 (round_for_all): Change need_exact field to ibm_ld.
23995 * stdlib/tst-strtod-round.c (struct exactness): New type.
23996 (struct test): Change bool ld_ok field to struct exactness exact.
23997 (TEST): Update all definitions for change to field.
23998 (tests): Regenerate array contents.
23999 (test_in_one_mode): Take pointer to new field instead of old ld_ok
24000 field value. Check for IBM long double here.
24001 (do_test): Update calls to test_in_one_mode.
24002
58206c68
SP
240032013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24004
24005 [BZ #12515]
24006 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
24007 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
24008
2d6f4c5b 240092013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
24010
24011 [BZ #15605]
24012 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
24013 generated by the compiler on loop optimizations.
24014 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
24015 general definitions.
24016
94f2c076
JM
240172013-06-12 Joseph Myers <joseph@codesourcery.com>
24018
24019 * math/bug-nextafter.c: Include <math-tests.h>.
24020 (main): Only test for exceptions if EXCEPTION_TESTS is true for
24021 the relevant type.
24022 * math/bug-nexttoward.c: Include <math-tests.h>.
24023 (main): Only test for exceptions if EXCEPTION_TESTS is true for
24024 the relevant type.
24025 * math/test-misc.c: Include <math-tests.h>.
24026 (main): Only test for exceptions if EXCEPTION_TESTS is true for
24027 the relevant type.
24028
e0e50a0a
AJ
240292013-06-12 Andreas Jaeger <aj@suse.de>
24030
24031 * po/ia.po: Update Interlingua translation from translation
24032 project.
24033
25061094
SP
240342013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24035
24036 * include/fenv.h: Include stdbool.h.
24037 (struct rm_ctx): New structure.
24038 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
24039 Define macro.
24040 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
24041 (SET_RESTORE_ROUNDF): Likewise.
24042 (SET_RESTORE_ROUNDL): Likewise.
24043 (SET_RESTORE_ROUND_NOEX): Likewise.
24044 (SET_RESTORE_ROUND_NOEXF): Likewise.
24045 (SET_RESTORE_ROUND_NOEXL): Likewise.
24046 (SET_RESTORE_ROUND_53BIT): Likewise.
24047 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
24048 (libc_feresetround_noexf_ctx): Likewise.
24049 (libc_feresetround_noexl_ctx): Likewise.
24050 (libc_feholdsetround_53bit_ctx): Likewise.
24051 (libc_feresetround_53bit_ctx): Likewise.
24052 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
24053 (libc_feholdexcept_setround_sse_ctx): New function.
24054 (libc_fesetenv_sse_ctx): Likewise.
24055 (libc_feupdateenv_sse_ctx): Likewise.
24056 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
24057 (libc_feholdexcept_setround_387_ctx): Likewise.
24058 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
24059 (libc_feholdsetround_387_prec_ctx): Likewise.
24060 (libc_feholdsetround_387_ctx): Likewise.
24061 (libc_feholdsetround_387_53bit_ctx): Likewise.
24062 (libc_feholdsetround_sse_ctx): Likewise.
24063 (libc_feresetround_sse_ctx): Likewise.
24064 (libc_feresetround_387_ctx): Likewise.
24065 (libc_feupdateenv_387_ctx): Likewise.
24066 (libc_feholdexcept_setroundf_ctx): Define macro.
24067 (libc_fesetenvf_ctx): Likewise.
24068 (libc_feupdateenvf_ctx): Likewise.
24069 (libc_feholdsetroundf_ctx): Likewise.
24070 (libc_feresetroundf_ctx): Likewise.
24071 (libc_feholdexcept_setround_ctx): Likewise.
24072 (libc_fesetenv_ctx): Likewise.
24073 (libc_feupdateenv_ctx): Likewise.
24074 (libc_feholdsetround_ctx): Likewise.
24075 (libc_feresetround_ctx): Likewise.
24076 (libc_feholdexcept_setroundl_ctx): Likewise.
24077 (libc_feupdateenvl_ctx): Likewise.
24078 (libc_feholdsetroundl_ctx): Likewise.
24079 (libc_feresetroundl_ctx): Likewise.
24080 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
24081 (libc_feresetround_53bit_ctx): Likewise.
24082
59b30555
SP
240832013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24084
24085 * locale/iso-639.def: Convert to UTF-8.
24086
f1d73d30
JM
240872013-06-11 Joseph Myers <joseph@codesourcery.com>
24088
24089 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
24090 (EXCEPTION_TESTS_double): Likewise.
24091 (EXCEPTION_TESTS_long_double): Likewise.
24092 (EXCEPTION_TESTS): Likewise.
24093 * math/libm-test.inc (test_exceptions): Only test exceptions if
24094 EXCEPTION_TESTS (FLOAT).
24095
94aca5e7
SP
240962013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24097
24098 * benchtests/Makefile (string-bench): Add strcpy_chk and
24099 stpcpy_chk.
24100 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
24101 * benchtests/bench-stpcpy_chk.c: New file.
24102 * benchtests/bench-strcpy_chk-ifunc.c: New file.
24103 * benchtests/bench-strcpy_chk.c: New file.
24104 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
24105 code.
24106 (do_test): Likewise.
24107
fac0c5f2
RA
241082013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24109
24110 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
24111 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
24112 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
24113 with tabs where appropriate.
24114 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
24115 dl-procinfo.h.
24116 [PPC_PLATFORM_PPC440]: Likewise.
24117 [PPC_PLATFORM_PPC464]: Likewise.
24118 [PPC_PLATFORM_PPC476]: Likewise.
24119 (_dl_string_platform): Add support for detecting ppc405, ppc440,
24120 ppc464, and ppc476 platform strings merging from ports/
24121 dl-procinfo.h.
24122
f22bc486
AS
241232013-06-11 Andreas Schwab <schwab@suse.de>
24124
24125 [BZ #14991]
24126 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
24127 (from_ucs4_idx): Regenerate.
24128 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
24129 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
24130 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
24131 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
24132 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
24133 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
24134 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
24135 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
24136 from FROM_LOOP and TO_LOOP specific macros.
24137 (BODY): Handle combining characters.
24138 * iconvdata/BIG5HKSCS.irreversible: Update.
24139 * iconvdata/BIG5HKSCS.precomposed: New file.
24140 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
24141 characters.
24142 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
24143
c1f75dc3
SP
241442013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24145
4eacded2
SP
24146 * include/sys/time.h: Fix indentation and add copyright header.
24147
fec799f8
SP
24148 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
24149 (do_test): Likewise.
24150 * string/test-memchr.c (do_one_test): Likewise.
24151 (do_test): Likewise.
24152 * string/test-memcmp.c (do_one_test): Likewise.
24153 (do_test): Likewise.
24154 * string/test-memcpy.c (do_one_test): Likewise.
24155 (do_test): Likewise.
24156 * string/test-memmem.c (do_one_test): Likewise.
24157 (do_test): Likewise.
24158 (do_random_tests): Likewise.
24159 * string/test-memmove.c (do_one_test): Likewise.
24160 (do_test): Likewise.
24161 * string/test-memset.c (do_one_test): Likewise.
24162 (do_test): Likewise.
24163 * string/test-rawmemchr.c (do_one_test): Likewise.
24164 (do_test): Likewise.
24165 * string/test-strcasecmp.c (do_one_test): Likewise.
24166 (do_test): Likewise.
24167 * string/test-strcasestr.c (do_one_test): Likewise.
24168 (do_test): Likewise.
24169 * string/test-strcat.c (do_one_test): Likewise.
24170 (do_test): Likewise.
24171 * string/test-strchr.c (do_one_test): Likewise.
24172 (do_test): Likewise.
24173 * string/test-strcmp.c (do_one_test): Likewise.
24174 (do_test): Likewise.
24175 * string/test-strcpy.c (do_one_test): Likewise.
24176 (do_test): Likewise.
24177 * string/test-string.h: Likewise.
24178 (test_init): Likewise.
24179 * string/test-strlen.c (do_one_test): Likewise.
24180 (do_test): Likewise.
24181 * string/test-strncasecmp.c (do_one_test): Likewise.
24182 (do_test): Likewise.
24183 * string/test-strncat.c (do_one_test): Likewise.
24184 (do_test): Likewise.
24185 * string/test-strncmp.c (do_one_test): Likewise.
24186 (do_test_limit): Likewise.
24187 (do_test): Likewise.
24188 * string/test-strncpy.c (do_one_test): Likewise.
24189 (do_test): Likewise.
24190 * string/test-strnlen.c (do_one_test): Likewise.
24191 (do_test): Likewise.
24192 * string/test-strpbrk.c (do_one_test): Likewise.
24193 (do_test): Likewise.
24194 * string/test-strrchr.c (do_one_test): Likewise.
24195 (do_test): Likewise.
24196 * string/test-strspn.c (do_one_test): Likewise.
24197 (do_test): Likewise.
24198 * string/test-strstr.c (do_one_test): Likewise.
24199 (do_test): Likewise.
24200
97020474
SP
24201 * benchtests/Makefile (string-bench): Add string benchmarks.
24202 * benchtests/bench-bcopy-ifunc.c: New file.
24203 * benchtests/bench-bcopy.c: New file.
24204 * benchtests/bench-bzero-ifunc.c: New file.
24205 * benchtests/bench-bzero.c: New file.
24206 * benchtests/bench-memccpy-ifunc.c: New file.
24207 * benchtests/bench-memccpy.c: New file.
24208 * benchtests/bench-memchr-ifunc.c: New file.
24209 * benchtests/bench-memchr.c: New file.
24210 * benchtests/bench-memcmp-ifunc.c: New file.
24211 * benchtests/bench-memcmp.c: New file.
24212 * benchtests/bench-memmem-ifunc.c: New file.
24213 * benchtests/bench-memmem.c: New file.
24214 * benchtests/bench-memmove-ifunc.c: New file.
24215 * benchtests/bench-memmove.c: New file.
24216 * benchtests/bench-mempcpy-ifunc.c: New file.
24217 * benchtests/bench-mempcpy.c: New file.
24218 * benchtests/bench-memset-ifunc.c: New file.
24219 * benchtests/bench-memset.c: New file.
24220 * benchtests/bench-rawmemchr-ifunc.c: New file.
24221 * benchtests/bench-rawmemchr.c: New file.
24222 * benchtests/bench-stpcpy-ifunc.c: New file.
24223 * benchtests/bench-stpcpy.c: New file.
24224 * benchtests/bench-stpncpy-ifunc.c: New file.
24225 * benchtests/bench-stpncpy.c: New file.
24226 * benchtests/bench-strcasecmp-ifunc.c: New file.
24227 * benchtests/bench-strcasecmp.c: New file.
24228 * benchtests/bench-strcasestr-ifunc.c: New file.
24229 * benchtests/bench-strcasestr.c: New file.
24230 * benchtests/bench-strcat-ifunc.c: New file.
24231 * benchtests/bench-strcat.c: New file.
24232 * benchtests/bench-strchr-ifunc.c: New file.
24233 * benchtests/bench-strchr.c: New file.
24234 * benchtests/bench-strchrnul-ifunc.c: New file.
24235 * benchtests/bench-strchrnul.c: New file.
24236 * benchtests/bench-strcmp-ifunc.c: New file.
24237 * benchtests/bench-strcmp.c: New file.
24238 * benchtests/bench-strcpy-ifunc.c: New file.
24239 * benchtests/bench-strcpy.c: New file.
24240 * benchtests/bench-strcspn-ifunc.c: New file.
24241 * benchtests/bench-strcspn.c: New file.
24242 * benchtests/bench-strlen-ifunc.c: New file.
24243 * benchtests/bench-strlen.c: New file.
24244 * benchtests/bench-strncasecmp-ifunc.c: New file.
24245 * benchtests/bench-strncasecmp.c: New file.
24246 * benchtests/bench-strncat-ifunc.c: New file.
24247 * benchtests/bench-strncat.c: New file.
24248 * benchtests/bench-strncmp-ifunc.c: New file.
24249 * benchtests/bench-strncmp.c: New file.
24250 * benchtests/bench-strncpy-ifunc.c: New file.
24251 * benchtests/bench-strncpy.c: New file.
24252 * benchtests/bench-strnlen-ifunc.c: New file.
24253 * benchtests/bench-strnlen.c: New file.
24254 * benchtests/bench-strpbrk-ifunc.c: New file.
24255 * benchtests/bench-strpbrk.c: New file.
24256 * benchtests/bench-strrchr-ifunc.c: New file.
24257 * benchtests/bench-strrchr.c: New file.
24258 * benchtests/bench-strspn-ifunc.c: New file.
24259 * benchtests/bench-strspn.c: New file.
24260 * benchtests/bench-strstr-ifunc.c: New file.
24261 * benchtests/bench-strstr.c: New file.
24262
c1f75dc3
SP
24263 * benchtests/Makefile: Disable parallel execution of targets.
24264 (string-bench): Add memcpy.
24265 (benchset): New variable to store a list of benchmark sets.
24266 (bench-func): Renamed from bench.
24267 (bench-set): New target.
24268 (bench): Depend on bench-func and bench-set.
24269 * benchtests/README: Add section on benchmark sets.
24270 * benchtests/bench-memcpy-ifunc.c: New file.
24271 * benchtests/bench-memcpy.c: New file.
24272 * benchtests/bench-string.h: New file.
24273
50fd745b
AS
242742013-06-11 Andreas Schwab <schwab@suse.de>
24275
24276 [BZ #15577]
24277 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
24278 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
24279 values in the triple.
24280 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
24281 terminator in the group key.
24282
3ee7e9fe
AJ
242832013-06-11 Andreas Jaeger <aj@suse.de>
24284
24285 * po/zh_TW.po: Update Chinese (traditional) translation from
24286 translation project.
24287
89fb6835
SP
242882013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24289
24290 * include/time.h (__clock_gettime): Add libc_hidden_proto.
24291 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
24292 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
24293 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24294 (clock_getcpuclockid): Likewise.
24295 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
24296 Add weak_alias and libc_hidden_def.
24297 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
24298 * rt/clock_gettime.c (clock_gettime): Rename to
24299 __clock_gettime. Add weak_alias and libc_hidden_def.
24300 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
24301 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
24302 __clock_nanosleep. Add weak_alias and libc_hidden_def.
24303 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
24304 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
24305 Likewise.
24306 * rt/clock_settime.c (clock_settime): Rename to
24307 __clock_settime. Add weak_alias and libc_hidden_def.
24308 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
24309
0efa6f8b
JM
243102013-06-10 Joseph Myers <joseph@codesourcery.com>
24311
b8c61b4b
JM
24312 * mach/err_boot.sub: Remove trailing whitespace.
24313 * mach/err_ipc.sub: Likewise.
24314 * mach/err_mach.sub: Likewise.
24315
0efa6f8b
JM
24316 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
24317 (ROUNDING_TESTS_double): Likewise.
24318 (ROUNDING_TESTS_long_double): Likewise.
24319 (ROUNDING_TESTS): Likewise.
24320 * math/libm-test.inc: Include <math-tests.h>.
24321 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
24322 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
24323 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
24324 (IF_ROUND_INIT_FE_UPWARD): Likewise.
24325
50b818bf
SP
243262013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24327
24328 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
24329 of assigning.
24330
60d2f8f3
JM
243312013-06-08 Joseph Myers <joseph@codesourcery.com>
24332
4902d2c3
JM
24333 * sysdeps/gnu/errlist.awk: Do not generate space at end of
24334 otherwise empty TRANS lines.
24335 * sysdeps/gnu/errlist.c: Regenerated.
24336
60d2f8f3
JM
24337 * catgets/gencat.c (error_print): Use (void) in function
24338 definition.
24339 * crypt/crypt_util.c (__init_des): Likewise.
24340 * crypt/speeds.c (Stop): Likewise.
24341 (main): Likewise.
24342 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
24343 * inet/ruserpass.c (token): Likewise.
24344 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
24345 * intl/localealias.c (extend_alias_table): Likewise.
24346 * intl/plural-exp.c (init_germanic_plural): Likewise.
24347 * libio/fcloseall.c (__fcloseall): Likewise.
24348 * libio/genops.c (_IO_flush_all): Likewise.
24349 (_IO_flush_all_linebuffered): Likewise.
24350 (_IO_cleanup): Likewise.
24351 (_IO_iter_begin): Likewise.
24352 (_IO_iter_end): Likewise.
24353 (_IO_list_lock): Likewise.
24354 (_IO_list_unlock): Likewise.
24355 (_IO_list_resetlock): Likewise.
24356 * libio/getchar.c (getchar): Likewise.
24357 * libio/getchar_u.c (getchar_unlocked): Likewise.
24358 * libio/getwchar.c (getwchar): Likewise.
24359 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
24360 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
24361 * login/getpt.c (__getpt): Likewise.
24362 * login/tst-utmp.c (main): Likewise.
24363 * malloc/hooks.c (__malloc_check_init): Likewise.
24364 * malloc/malloc.c (__malloc_stats): Likewise.
24365 * malloc/mtrace.c (tr_break): Likewise.
24366 (mtrace): Likewise.
24367 (muntrace): Likewise.
24368 * misc/fstab.c (endfsent): Likewise.
24369 * misc/getclktck.c (__getclktck): Likewise.
24370 * misc/getdtsz.c (__getdtablesize): Likewise.
24371 * misc/gethostid.c (gethostid): Likewise.
24372 * misc/getpagesize.c (__getpagesize): Likewise.
24373 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
24374 (__get_nprocs): Likewise.
24375 (__get_phys_pages): Likewise.
24376 (__get_avphys_pages): Likewise.
24377 * misc/getttyent.c (getttyent): Likewise.
24378 (setttyent): Likewise.
24379 (endttyent): Likewise.
24380 * misc/getusershell.c (getusershell): Likewise.
24381 (endusershell): Likewise.
24382 (setusershell): Likewise.
24383 (initshells): Likewise.
24384 * misc/hsearch.c (__hdestroy): Likewise.
24385 * misc/sync.c (sync): Likewise.
24386 * misc/syslog.c (closelog_internal): Likewise.
24387 (closelog): Likewise.
24388 * misc/ttyslot.c (ttyslot): Likewise.
24389 * misc/vhangup.c (vhangup): Likewise.
24390 * posix/fork.c (__fork): Likewise.
24391 * posix/getegid.c (__getegid): Likewise.
24392 * posix/geteuid.c (__geteuid): Likewise.
24393 * posix/getgid.c (__getgid): Likewise.
24394 * posix/getpid.c (__getpid): Likewise.
24395 * posix/getppid.c (__getppid): Likewise.
24396 * posix/getuid.c (__getuid): Likewise.
24397 * posix/pause.c (pause): Likewise.
24398 * posix/setpgrp.c (setpgrp): Likewise.
24399 * posix/setsid.c (__setsid): Likewise.
24400 * posix/test-vfork.c (noop): Likewise.
24401 * resolv/gethnamaddr.c (_endhtent): Likewise.
24402 (_gethtent): Likewise.
24403 (ht_endhostent): Likewise.
24404 (gethostent): Likewise.
24405 (dns_service): Likewise.
24406 * stdlib/drand48.c (drand48): Likewise.
24407 * stdlib/lrand48.c (lrand48): Likewise.
24408 * stdlib/mrand48.c (mrand48): Likewise.
24409 * stdlib/rand.c (rand): Likewise.
24410 * stdlib/random.c (__random): Likewise.
24411 * stdlib/setenv.c (clearenv): Likewise.
24412 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
24413 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
24414 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
24415 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
24416 (__get_nprocs): Likewise.
24417 (__get_phys_pages): Likewise.
24418 (__get_avphys_pages): Likewise.
24419 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
24420 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
24421 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
24422 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
24423 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
24424 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
24425 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
24426 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
24427 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
24428 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
24429 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
24430 * sysdeps/mach/hurd/sync.c (sync): Likewise.
24431 * sysdeps/posix/clock.c (clock): Likewise.
24432 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
24433 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
24434 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
24435 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
24436 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
24437 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
24438 (__get_nprocs_conf): Likewise.
24439 (__get_phys_pages): Likewise.
24440 (__get_avphys_pages): Likewise.
24441 * time/clock.c (clock): Likewise.
24442 * time/tzset.c (__tzname_max): Likewise.
24443
2e09a79a
JM
244442013-06-07 Joseph Myers <joseph@codesourcery.com>
24445
24446 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
24447 (__bswap_32): Do not use "register".
24448 * crypt/crypt.c (_ufc_doit_r): Likewise.
24449 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
24450 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
24451 * gmon/gmon.c (__monstartup): Likewise.
24452 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
24453 * hurd/hurdmalloc.c (more_memory): Likewise.
24454 (malloc): Likewise.
24455 (free): Likewise.
24456 (realloc): Likewise.
24457 (malloc_fork_prepare): Likewise.
24458 (malloc_fork_parent): Likewise.
24459 (malloc_fork_child): Likewise.
24460 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
24461 (_svcauth_des): Likewise.
24462 * inet/inet_lnaof.c (inet_lnaof): Likewise.
24463 * inet/inet_net.c (inet_network): Likewise.
24464 * inet/inet_netof.c (inet_netof): Likewise.
24465 * inet/rcmd.c (__validuser2_sa): Likewise.
24466 * io/fts.c (fts_open): Likewise.
24467 (fts_load): Likewise.
24468 (fts_close): Likewise.
24469 (fts_read): Likewise.
24470 (fts_children): Likewise.
24471 (fts_build): Likewise.
24472 (fts_stat): Likewise.
24473 (fts_sort): Likewise.
24474 (fts_alloc): Likewise.
24475 (fts_lfree): Likewise.
24476 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
24477 (_IO_file_xsgetn): Likewise.
24478 (_IO_file_xsgetn_mmap): Likewise.
24479 * libio/iofopncook.c (_IO_cookie_read): Likewise.
24480 (_IO_cookie_write): Likewise.
24481 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
24482 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
24483 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
24484 * malloc/obstack.c (_obstack_begin): Likewise.
24485 (_obstack_begin_1): Likewise.
24486 (_obstack_newchunk): Likewise.
24487 (_obstack_allocated_p): Likewise.
24488 (obstack_free): Likewise.
24489 (_obstack_memory_used): Likewise.
24490 * misc/getttyent.c (getttynam): Likewise.
24491 (getttyent): Likewise.
24492 (skip): Likewise.
24493 (value): Likewise.
24494 * misc/getusershell.c (initshells): Likewise.
24495 * misc/syslog.c (__vsyslog_chk): Likewise.
24496 * misc/ttyslot.c (ttyslot): Likewise.
24497 * nis/nis_hash.c (__nis_hash): Likewise.
24498 * posix/fnmatch_loop.c (FCT): Likewise.
24499 * posix/getconf.c (print_all): Likewise.
24500 (main): Likewise.
24501 * posix/getopt.c (exchange): Likewise.
24502 * posix/glob.c (globfree): Likewise.
24503 (prefix_array): Likewise.
24504 (__glob_pattern_type): Likewise.
24505 * resolv/arpa/nameser.h (NS_GET16): Likewise.
24506 (NS_GET32): Likewise.
24507 (NS_PUT16): Likewise.
24508 (NS_PUT32): Likewise.
24509 * resolv/gethnamaddr.c (getanswer): Likewise.
24510 (gethostbyname2): Likewise.
24511 (gethostbyaddr): Likewise.
24512 (_gethtent): Likewise.
24513 (_gethtbyname2): Likewise.
24514 (_gethtbyaddr): Likewise.
24515 * resolv/ns_print.c (dst_s_get_int16): Likewise.
24516 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
24517 * resolv/res_init.c (__res_vinit): Likewise.
24518 (net_mask): Likewise.
24519 * resolv/res_mkquery.c (outchar): Likewise.
24520 (PRINT): Likewise.
24521 * stdio-common/printf_fp.c (outchar): Likewise.
24522 (PRINT): Likewise.
24523 * stdio-common/printf_fphex.c (outchar): Likewise.
24524 (PRINT): Likewise.
24525 * stdio-common/printf_size.c (outchar): Likewise.
24526 (PRINT): Likewise.
24527 * stdio-common/test_rdwr.c (main): Likewise.
24528 * stdio-common/tfformat.c (matches): Likewise.
24529 * stdio-common/vfprintf.c (outchar): Likewise.
24530 (printf_unknown): Likewise.
24531 (buffered_vfprintf): Likewise.
24532 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
24533 * stdio-common/xbug.c (AppendToBuffer): Likewise.
24534 (ReadFile): Likewise.
24535 * stdlib/qsort.c (SWAP): Likewise.
24536 (_quicksort): Likewise.
24537 * stdlib/setenv.c (__add_to_environ): Likewise.
24538 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
24539 * stdlib/strtol_l.c (__strtol_l): Likewise.
24540 * stdlib/tst-strtod.c (main): Likewise.
24541 * stdlib/tst-strtol.c (main): Likewise.
24542 * stdlib/tst-strtoll.c (main): Likewise.
24543 * string/bits/string2.h (__strcmp_cc): Likewise.
24544 (__strcmp_cg): Likewise.
24545 (__strcspn_c1): Likewise.
24546 (__strcspn_c2): Likewise.
24547 (__strcspn_c3): Likewise.
24548 (__strspn_c1): Likewise.
24549 (__strspn_c2): Likewise.
24550 (__strspn_c3): Likewise.
24551 (__strsep_1c): Likewise.
24552 (__strsep_2c): Likewise.
24553 (__strsep_3c): Likewise.
24554 * string/memccpy.c (__memccpy): Likewise.
24555 * string/stpcpy.c (__stpcpy): Likewise.
24556 * string/strcmp.c (strcmp): Likewise.
24557 * string/strrchr.c (strrchr): Likewise.
24558 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
24559 Likewise.
24560 * sysdeps/mach/hurd/getcwd.c
24561 (_hurd_canonicalize_directory_name_internal): Likewise.
24562 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
24563 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
24564 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
24565 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
24566 Likewise, in both definitions.
24567 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
24568 definitions.
24569 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
24570 64] (__bswap_64): Likewise.
24571 * time/test_time.c (main): Likewise.
24572 * time/tzfile.c (__tzfile_read): Likewise.
24573 (__tzfile_compute): Likewise.
24574 * time/tzset.c (__tzset_parse_tz): Likewise.
24575 (tzset_internal): Likewise.
24576 (compute_change): Likewise.
24577 * wcsmbs/wcscat.c (__wcscat): Likewise.
24578 * wcsmbs/wcschr.c (wcschr): Likewise.
24579 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
24580 * wcsmbs/wcscspn.c (wcscspn): Likewise.
24581 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
24582 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
24583 * wcsmbs/wcsspn.c (wcsspn): Likewise.
24584 * wcsmbs/wcsstr.c (wcsstr): Likewise.
24585 * wcsmbs/wmemchr.c (wmemchr): Likewise.
24586 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
24587 * wcsmbs/wmemset.c (wmemset): Likewise.
24588
9e54314b
JM
245892013-06-06 Joseph Myers <joseph@codesourcery.com>
24590
24591 * scripts/config.guess: Update to version 2013-05-16.
24592 * scripts/config.sub: Update to version 2013-04-24.
24593 * scripts/install-sh: Update to version 2011-11-20.07.
24594 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
24595 * scripts/move-if-change: Update to version 2012-01-06 07:23.
24596
350635a5
OB
245972013-06-06 Ondřej Bílka <neleai@seznam.cz>
24598
24599 * debug/fgetws_u_chk.c: Fix leading whitespaces.
24600 * elf/sln.c: Likewise.
24601 * hurd/hurd/ioctl.h: Likewise.
24602 * hurd/hurdmalloc.c: Likewise.
24603 * hurd/xattr.c: Likewise.
24604 * include/shlib-compat.h: Likewise.
24605 * inet/ruserpass.c: Likewise.
24606 * libio/iofgets_u.c: Likewise.
24607 * libio/iofgetws_u.c: Likewise.
24608 * locale/programs/ld-identification.c: Likewise.
24609 * locale/programs/ld-time.c: Likewise.
24610 * mach/msg-destroy.c: Likewise.
24611 * nss/nss_files/files-netgrp.c: Likewise.
24612 * resolv/res_data.c: Likewise.
24613 * soft-fp/op-1.h: Likewise.
24614 * soft-fp/op-2.h: Likewise.
24615 * soft-fp/op-4.h: Likewise.
24616 * soft-fp/op-common.h: Likewise.
24617 * stdio-common/printf_fphex.c: Likewise.
24618 * stdlib/strtod_l.c: Likewise.
24619 * sunrpc/rpc/clnt.h: Likewise.
24620 * sysdeps/generic/framestate.c: Likewise.
24621 * sysdeps/i386/bsd-_setjmp.S: Likewise.
24622 * sysdeps/i386/bsd-setjmp.S: Likewise.
24623 * sysdeps/i386/__longjmp.S: Likewise.
24624 * sysdeps/i386/setjmp.S: Likewise.
24625 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24626 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24627 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24628 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24629 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24630 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24631 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24632 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24633 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24634 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24635 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24636 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24637 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24638 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24639 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24640 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24641 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24642 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
24643 * sysdeps/ieee754/support.c: Likewise.
24644 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24645 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
24646 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
24647 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
24648 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
24649 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
24650 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
24651 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
24652 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
24653 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
24654 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
24655 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
24656 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
24657 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
24658 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
24659 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
24660 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
24662
44a988af
OB
246632013-06-05 Ondřej Bílka <neleai@seznam.cz>
24664
25506f09 24665 * posix/transbug.c: Remove executable mode.
44a988af 24666
9c84384c
JM
246672013-06-05 Joseph Myers <joseph@codesourcery.com>
24668
24669 * crypt/speeds.c: Remove trailing whitespace.
24670 * dlfcn/default.c: Likewise.
24671 * elf/ifuncdep2.c: Likewise.
24672 * elf/ifuncmain1.c: Likewise.
24673 * elf/ifuncmain1vis.c: Likewise.
24674 * elf/testobj.h: Likewise.
24675 * elf/tst-stackguard1.c: Likewise.
24676 * gmon/sys/gmon.h: Likewise.
24677 * hurd/hurdmsg.c: Likewise.
24678 * hurd/new-fd.c: Likewise.
24679 * hurd/ports-get.c: Likewise.
24680 * iconvdata/ibm1008_420.c: Likewise.
24681 * inet/tst-getni1.c: Likewise.
24682 * inet/tst-getni2.c: Likewise.
24683 * libio/ioungetc.c: Likewise.
24684 * libio/wfiledoalloc.c: Likewise.
24685 * manual/libm-err-tab.pl: Likewise.
24686 * math/w_dremf.c: Likewise.
24687 * misc/ftruncate.c: Likewise.
24688 * posix/bug-glob2.c: Likewise.
24689 * posix/tst-pcre.c: Likewise.
24690 * posix/wait4.c: Likewise.
24691 * resolv/README: Likewise.
24692 * resolv/res_debug.h: Likewise.
24693 * resolv/tst-inet_ntop.c: Likewise.
24694 * setjmp/bug269-setjmp.c: Likewise.
24695 * soft-fp/extended.h: Likewise.
24696 * soft-fp/op-1.h: Likewise.
24697 * soft-fp/op-2.h: Likewise.
24698 * soft-fp/op-4.h: Likewise.
24699 * soft-fp/op-8.h: Likewise.
24700 * soft-fp/testit.c: Likewise.
24701 * stdio-common/bug16.c: Likewise.
24702 * stdlib/random.c: Likewise.
24703 * sunrpc/rpcsvc/rquota.x: Likewise.
24704 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
24705 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24706 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24707 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24708 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24709 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24710 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24711 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24712 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24713 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24714 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24715 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24716 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24717 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24718 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24719 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24720 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24721 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24722 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24723 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24724 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24725 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24726 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
24727 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24728 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24729 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24730 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24731 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24732 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24733 * sysdeps/ieee754/s_lib_version.c: Likewise.
24734 * sysdeps/mach/hurd/check_fds.c: Likewise.
24735 * sysdeps/mach/hurd/getsockname.c: Likewise.
24736 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
24737 * sysdeps/mach/hurd/recvfrom.c: Likewise.
24738 * sysdeps/powerpc/bits/link.h: Likewise.
24739 * sysdeps/powerpc/dl-procinfo.c: Likewise.
24740 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
24741 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
24742 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
24743 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24744 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24745 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
24746 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24747 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
24748 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
24749 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
24750 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24751 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
24752 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
24753 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
24754 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
24755 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24756 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24757 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
24758 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24759 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24760 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
24761 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24762 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24763 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
24764 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24765 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24766 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24767 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24768 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24769 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24770 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24771 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24772 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24773 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
24774 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24775 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
24776 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24777 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
24778 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
24779 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
24780 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
24781 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
24782 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
24783 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24784 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
24785 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
24786 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24787 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
24788 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
24789 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24790 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24791 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24792 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24793 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
24794 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
24795 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
24796 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24797 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
24798 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
24799 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
24800 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
24801 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
24802 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24803 * sysdeps/powerpc/sysdep.h: Likewise.
24804 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24805 * sysdeps/s390/s390-64/sub_n.S: Likewise.
24806 * sysdeps/sh/dl-trampoline.S: Likewise.
24807 * sysdeps/sh/memset.S: Likewise.
24808 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
24809 * sysdeps/sh/strlen.S: Likewise.
24810 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
24811 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
24812 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
24813 * sysdeps/sparc/sparc32/rem.S: Likewise.
24814 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
24815 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
24816 * sysdeps/sparc/sparc32/strchr.S: Likewise.
24817 * sysdeps/sparc/sparc32/udiv.S: Likewise.
24818 * sysdeps/sparc/sparc32/urem.S: Likewise.
24819 * sysdeps/sparc/sparc64/add_n.S: Likewise.
24820 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24821 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
24822 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
24823 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
24824 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
24825 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
24826 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
24827 * sysdeps/unix/bsd/times.c: Likewise.
24828 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
24829 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
24830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
24831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
24832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
24833 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
24834 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
24835 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
24836 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
24837 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
24838 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
24839 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
24840 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
24841 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24842 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
24843 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
24844 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
24845 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
24846 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
24847 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
24848 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
24849 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
24850 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24851 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
24852 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
24853 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
24854 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
24855 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24856 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
24857 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
24858 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
24859 * sysdeps/x86_64/strcspn.S: Likewise.
24860
869378a5
RA
248612013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24862
24863 * locale/C-translit.h: Revert #include <stdint.h> because this is a
24864 generated file. Regenerate properly from gen-translit.pl.
24865 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
24866 locale/C-translit.h.
24867
840e2943
AS
248682013-06-05 Andreas Schwab <schwab@suse.de>
24869
24870 [BZ #15100]
24871 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
24872 week as 6 instead of -1.
24873 * time/tst-strptime.c (day_tests): Add test case.
24874
4c60cb0c
SP
248752013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24876
24877 * sysdeps/generic/math_private.h
24878 (libc_feholdexcept_setround_53bit): Replace with
24879 libc_feholdsetround_53bit.
24880 (libc_feupdateenv_53bit): Replace with
24881 libc_feresetround_53bit.
24882 (SET_RESTORE_ROUND_53BIT): Adjust.
24883
d180203e
SP
248842013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24885
96df079a
SP
24886 * string/test-strchrnul.c: Add copyright header.
24887
d180203e
SP
24888 * posix/tst-getaddrinfo4.c: Increase test timeout.
24889
8b0ccb2d
CD
248902013-06-03 Carlos O'Donell <carlos@redhat.com>
24891
24892 [BZ #15536]
24893 * math/libm-test.inc (MAX_EXP): Remove
24894 (MIN_EXP): Define.
24895 (ulp): Use MIN_EXP - MANT_DIG.
24896 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
24897
3b3c4d40
CD
248982013-05-31 Carlos O'Donell <carlos@redhat.com>
24899
24900 * po/be.po: Revert last change.
24901 * po/zh_CN.po: Likewise.
24902 * po/header.pot: Likewise.
24903
fab7ce3f
JM
249042013-05-31 Joseph Myers <joseph@codesourcery.com>
24905
24906 * Makefile ($(common-objpfx)linkobj/libc.so): Define
24907 link-libc-deps to empty as target-specific variable.
24908 * Makerules (link-libc-args): New variable.
24909 (libc-for-link): Likewise.
24910 (link-libc-deps): Likewise.
24911 (lib%.so): Depend on $(link-libc-deps). Link with
24912 $(link-libc-args).
24913 (build-module): Link with $(link-libc-args).
24914 (build-module-asneeded): Likewise.
24915 (build-module-helper-objlist): Filter out $(link-libc-deps) from
24916 list of objects.
24917 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
24918 target-specific variable.
24919 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
24920 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
24921 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
24922 libc.
24923 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
24924 libc and ld.so.
24925 ($(objpfx)libpcprofile.so): Likewise.
24926 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
24927 libc_nonshared.a.
24928 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
24929 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
24930 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
24931 $(link-libc-deps).
24932 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
24933 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
24934 * login/Makefile ($(objpfx)libutil.so): Likewise.
24935 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
24936 * math/Makefile ($(objpfx)libm.so): Likewise.
24937 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
24938 $(objpfx)libnsl.so): Define libc-for-link as target-specific
24939 variable instead of depending directly on libc.
24940 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
24941 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
24942 $(link-libc-deps).
24943 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
24944 libc.
24945 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
24946 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
24947 ($(objpfx)libanl.so): Likewise.
24948 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
24949 ld.so.
24950 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
24951 $(link-libc-deps).
24952 * sysdeps/i386/fpu/Makefile: Remove file.
24953 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
24954 ($(objpfx)libm.so): Remove dependency on ld.so.
24955
eca5920c
PF
249562013-05-30 Patsy Franklin <pfrankli@redhat.com>
24957
24958 [BZ # 15553]
24959 * nis/yp_xdr.c (XDRMAXNAME): Define.
24960 (XDRMAXRECORD): Define.
24961 (xdr_domainname): Use XDRMAXNAME.
24962 (xdr_mapname): Likewise.
24963 (xdr_peername): Likewise.
24964 (xdr_keydat): Use XDRMAXRECORD.
24965 (xdr_valdat): Likewise.
24966
249672013-05-30 Jeff Law <law@redhat.com>
96945714
JL
24968
24969 [BZ #14256]
24970 * manual/errno.texi (ESTALE): Update to account for more than
24971 just NFS file systems.
24972 * sysdeps/gnu/errlist.c: Regenerated.
24973
b9375348
SP
249742013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24975
24976 [BZ #15465]
24977 * elf/Makefile (tests): Add tst-null-argv.
24978 (modules-names): Add tst-null-argv-lib.
24979 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
24980 (tst-null-argv-ENV): Set environment for tst-null-argv.
24981 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
24982 (RTLD_PROGNAME): New macro.
24983 * elf/tst-null-argv.c: New test case.
24984 * elf/tst-null-argv-lib.c: Library for test case.
24985 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
24986 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
24987 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
24988 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
24989 * elf/dl-init.c (call_init): Likewise.
24990 (_dl_init): Likewise.
24991 * elf/dl-load.c (print_search_path): Likewise.
24992 (_dl_map_object): Likewise.
24993 * elf/dl-lookup.c (do_lookup_x): Likewise.
24994 (add_dependency): Likewise.
24995 (_dl_lookup_symbol_x): Likewise.
24996 (_dl_debug_bindings): Likewise.
24997 * elf/dl-open.c (_dl_show_scope): Likewise.
24998 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
24999 * elf/dl-version.c (match_symbol): Likewise.
25000 (_dl_check_map_versions): Likewise.
25001 * elf/rtld.c (dl_main): Likewise.
25002 (print_unresolved): Use RTLD_PROGNAME.
25003 (print_missing_version): Likewise.
25004 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
25005 (elf_machine_rela): Likewise.
25006 * sysdeps/powerpc/powerpc32/dl-machine.c
25007 (__process_machine_rela): Likewise.
25008 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25009 Likewise.
25010 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
25011 Likewise.
25012 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
25013 Likewise.
25014 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25015 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
25016 Likewise.
25017 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
25018 Likewise.
25019 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
25020
8a9f20c8
CD
250212013-05-28 Carlos O'Donell <carlos@redhat.com>
25022
25023 * po/be.po: Add descriptive title.
25024 * po/zh_CN.po: Likewise.
25025 * po/header.pot: Likewise.
25026
0e60d68e
MF
250272013-05-28 Mike Frysinger <vapier@gentoo.org>
25028
25029 * locale/programs/locarchive.c (create_archive): Inlucde fname in
25030 error message.
25031 (enlarge_archive): Likewise.
25032
56b672e9
BN
250332013-05-28 Ben North <ben@redfrontdoor.org>
25034
25035 * manual/arith.texi (frexp): It is the magnitude of the return
25036 value which lies in [0.5, 1), not the return value itself.
25037
5e056687
AZ
250382013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25039
25040 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25041
2b66ef5d
TS
250422013-05-26 Thomas Schwinge <thomas@codesourcery.com>
25043
528c2405
TS
25044 * stdio-common/bug26.c (main): Correct fscanf template.
25045
07b4c13d
TS
25046 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
25047 declare _dl_skip_args.
25048
ec9dd97c
TS
25049 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
25050 Don't declare.
25051
2b66ef5d
TS
25052 * manual/platform.texi: Add missing @end deftypefun.
25053
4f8dfe27
JM
250542013-05-24 Joseph Myers <joseph@codesourcery.com>
25055
0323d086
JM
25056 [BZ #15529]
25057 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
25058 bit of mantissa of 2^16382.
25059 * math/libm-test.inc (hypot_test_data): Add more tests.
25060
dd4259b9
JM
25061 * math/libm-test.inc: Add drem and pow10 to list of tested
25062 functions.
25063 (pow10_test): New function.
25064 (drem_test): Likewise.
25065 (drem_test_tonearest): Likewise.
25066 (drem_test_towardzero): Likewise.
25067 (drem_test_downward): Likewise.
25068 (drem_test_upward): Likewise.
25069 (main): Call the new functions.
25070
4f8dfe27
JM
25071 * math/libm-test.inc (finite_test_data): Remove.
25072 (finite_test): Run tests from isfinite_test_data.
25073 (gamma_test_data): Remove.
25074 (gamma_test): Run tests from lgamma_test_data.
25075 * sysdeps/i386/fpu/libm-test-ulps: Update.
25076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25077
d116b7c4
AZ
250782013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25079
25080 * manual/platform.texi: Add PowerPC PPR function set documentation.
25081 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
25082 implementation.
25083
e96e3767
CD
250842013-05-24 Carlos O'Donell <carlos@redhat.com>
25085
25086 * math/libm-test.inc (MAX_EXP): Define.
25087 (ULPDIFF): Define.
25088 (ulp): New function.
25089 (check_float_internal): Use ULPDIFF.
25090 (cpow_test): Disable failing test.
25091 (check_ulp): Test ulp() implemetnation.
25092 (main): Call check_ulp before starting tests.
25093
b679a606
JM
250942013-05-24 Joseph Myers <joseph@codesourcery.com>
25095
e8bdba36
JM
25096 * math/gen-libm-test.pl (generate_testfile): Do not handle
25097 START_DATA and END_DATA.
25098 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
25099 END_DATA.
25100 (acos_tonearest_test_data): Likewise.
25101 (acos_towardzero_test_data): Likewise.
25102 (acos_downward_test_data): Likewise.
25103 (acos_upward_test_data): Likewise.
25104 (acosh_test_data): Likewise.
25105 (asin_test_data): Likewise.
25106 (asin_tonearest_test_data): Likewise.
25107 (asin_towardzero_test_data): Likewise.
25108 (asin_downward_test_data): Likewise.
25109 (asin_upward_test_data): Likewise.
25110 (asinh_test_data): Likewise.
25111 (atan_test_data): Likewise.
25112 (atanh_test_data): Likewise.
25113 (atan2_test_data): Likewise.
25114 (cabs_test_data): Likewise.
25115 (cacos_test_data): Likewise.
25116 (cacosh_test_data): Likewise.
25117 (carg_test_data): Likewise.
25118 (casin_test_data): Likewise.
25119 (casinh_test_data): Likewise.
25120 (catan_test_data): Likewise.
25121 (catanh_test_data): Likewise.
25122 (cbrt_test_data): Likewise.
25123 (ccos_test_data): Likewise.
25124 (ccosh_test_data): Likewise.
25125 (ceil_test_data): Likewise.
25126 (cexp_test_data): Likewise.
25127 (cimag_test_data): Likewise.
25128 (clog_test_data): Likewise.
25129 (clog10_test_data): Likewise.
25130 (conj_test_data): Likewise.
25131 (copysign_test_data): Likewise.
25132 (cos_test_data): Likewise.
25133 (cos_tonearest_test_data): Likewise.
25134 (cos_towardzero_test_data): Likewise.
25135 (cos_downward_test_data): Likewise.
25136 (cos_upward_test_data): Likewise.
25137 (cosh_test_data): Likewise.
25138 (cosh_tonearest_test_data): Likewise.
25139 (cosh_towardzero_test_data): Likewise.
25140 (cosh_downward_test_data): Likewise.
25141 (cosh_upward_test_data): Likewise.
25142 (cpow_test_data): Likewise.
25143 (cproj_test_data): Likewise.
25144 (creal_test_data): Likewise.
25145 (csin_test_data): Likewise.
25146 (csinh_test_data): Likewise.
25147 (csqrt_test_data): Likewise.
25148 (ctan_test_data): Likewise.
25149 (ctan_tonearest_test_data): Likewise.
25150 (ctan_towardzero_test_data): Likewise.
25151 (ctan_downward_test_data): Likewise.
25152 (ctan_upward_test_data): Likewise.
25153 (ctanh_test_data): Likewise.
25154 (ctanh_tonearest_test_data): Likewise.
25155 (ctanh_towardzero_test_data): Likewise.
25156 (ctanh_downward_test_data): Likewise.
25157 (ctanh_upward_test_data): Likewise.
25158 (erf_test_data): Likewise.
25159 (erfc_test_data): Likewise.
25160 (exp_test_data): Likewise.
25161 (exp_tonearest_test_data): Likewise.
25162 (exp_towardzero_test_data): Likewise.
25163 (exp_downward_test_data): Likewise.
25164 (exp_upward_test_data): Likewise.
25165 (exp10_test_data): Likewise.
25166 (exp2_test_data): Likewise.
25167 (expm1_test_data): Likewise.
25168 (fabs_test_data): Likewise.
25169 (fdim_test_data): Likewise.
25170 (finite_test_data): Likewise.
25171 (floor_test_data): Likewise.
25172 (fma_test_data): Likewise.
25173 (fma_towardzero_test_data): Likewise.
25174 (fma_downward_test_data): Likewise.
25175 (fma_upward_test_data): Likewise.
25176 (fmax_test_data): Likewise.
25177 (fmin_test_data): Likewise.
25178 (fmod_test_data): Likewise.
25179 (fpclassify_test_data): Likewise.
25180 (frexp_test_data): Likewise.
25181 (gamma_test_data): Likewise.
25182 (hypot_test_data): Likewise.
25183 (ilogb_test_data): Likewise.
25184 (isfinite_test_data): Likewise.
25185 (isgreater_test_data): Likewise.
25186 (isgreaterequal_test_data): Likewise.
25187 (isinf_test_data): Likewise.
25188 (isless_test_data): Likewise.
25189 (islessequal_test_data): Likewise.
25190 (islessgreater_test_data): Likewise.
25191 (isnan_test_data): Likewise.
25192 (isnormal_test_data): Likewise.
25193 (issignaling_test_data): Likewise.
25194 (isunordered_test_data): Likewise.
25195 (j0_test_data): Likewise.
25196 (j1_test_data): Likewise.
25197 (jn_test_data): Likewise.
25198 (ldexp_test_data): Likewise.
25199 (lgamma_test_data): Likewise.
25200 (lrint_test_data): Likewise.
25201 (lrint_tonearest_test_data): Likewise.
25202 (lrint_towardzero_test_data): Likewise.
25203 (lrint_downward_test_data): Likewise.
25204 (lrint_upward_test_data): Likewise.
25205 (llrint_test_data): Likewise.
25206 (llrint_tonearest_test_data): Likewise.
25207 (llrint_towardzero_test_data): Likewise.
25208 (llrint_downward_test_data): Likewise.
25209 (llrint_upward_test_data): Likewise.
25210 (log_test_data): Likewise.
25211 (log10_test_data): Likewise.
25212 (log1p_test_data): Likewise.
25213 (log2_test_data): Likewise.
25214 (logb_test_data): Likewise.
25215 (logb_downward_test_data): Likewise.
25216 (lround_test_data): Likewise.
25217 (llround_test_data): Likewise.
25218 (modf_test_data): Likewise.
25219 (nearbyint_test_data): Likewise.
25220 (nextafter_test_data): Likewise.
25221 (nexttoward_test_data): Likewise.
25222 (pow_test_data): Likewise.
25223 (pow_tonearest_test_data): Likewise.
25224 (pow_towardzero_test_data): Likewise.
25225 (pow_downward_test_data): Likewise.
25226 (pow_upward_test_data): Likewise.
25227 (remainder_test_data): Likewise.
25228 (remainder_tonearest_test_data): Likewise.
25229 (remainder_towardzero_test_data): Likewise.
25230 (remainder_downward_test_data): Likewise.
25231 (remainder_upward_test_data): Likewise.
25232 (remquo_test_data): Likewise.
25233 (rint_test_data): Likewise.
25234 (rint_tonearest_test_data): Likewise.
25235 (rint_towardzero_test_data): Likewise.
25236 (rint_downward_test_data): Likewise.
25237 (rint_upward_test_data): Likewise.
25238 (round_test_data): Likewise.
25239 (scalb_test_data): Likewise.
25240 (scalbn_test_data): Likewise.
25241 (scalbln_test_data): Likewise.
25242 (signbit_test_data): Likewise.
25243 (sin_test_data): Likewise.
25244 (sin_tonearest_test_data): Likewise.
25245 (sin_towardzero_test_data): Likewise.
25246 (sin_downward_test_data): Likewise.
25247 (sin_upward_test_data): Likewise.
25248 (sincos_test_data): Likewise.
25249 (sinh_test_data): Likewise.
25250 (sinh_tonearest_test_data): Likewise.
25251 (sinh_towardzero_test_data): Likewise.
25252 (sinh_downward_test_data): Likewise.
25253 (sinh_upward_test_data): Likewise.
25254 (sqrt_test_data): Likewise.
25255 (tan_test_data): Likewise.
25256 (tan_tonearest_test_data): Likewise.
25257 (tan_towardzero_test_data): Likewise.
25258 (tan_downward_test_data): Likewise.
25259 (tan_upward_test_data): Likewise.
25260 (tanh_test_data): Likewise.
25261 (tgamma_test_data): Likewise.
25262 (trunc_test_data): Likewise.
25263 (y0_test_data): Likewise.
25264 (y1_test_data): Likewise.
25265 (yn_test_data): Likewise.
25266 (significand_test_data): Likewise.
25267
b679a606
JM
25268 * math/gen-libm-test.pl (@functions): Remove variable.
25269 (generate_testfile): Don't handle START and END lines.
25270 * math/libm-test.inc (START): New macro.
25271 (END): Likewise.
25272 (END_COMPLEX): Likewise.
25273 (acos_test): Use END macro without arguments.
25274 (acos_test_tonearest): Likewise.
25275 (acos_test_towardzero): Likewise.
25276 (acos_test_downward): Likewise.
25277 (acos_test_upward): Likewise.
25278 (acosh_test): Likewise.
25279 (asin_test): Likewise.
25280 (asin_test_tonearest): Likewise.
25281 (asin_test_towardzero): Likewise.
25282 (asin_test_downward): Likewise.
25283 (asin_test_upward): Likewise.
25284 (asinh_test): Likewise.
25285 (atan_test): Likewise.
25286 (atanh_test): Likewise.
25287 (atan2_test): Likewise.
25288 (cabs_test): Likewise.
25289 (cacos_test): Use END_COMPLEX macro without arguments.
25290 (cacosh_test): Likewise.
25291 (carg_test): Use END macro without arguments.
25292 (casin_test): Use END_COMPLEX macro without arguments.
25293 (casinh_test): Likewise.
25294 (catan_test): Likewise.
25295 (catanh_test): Likewise.
25296 (cbrt_test): Use END macro without arguments.
25297 (ccos_test): Use END_COMPLEX macro without arguments.
25298 (ccosh_test): Likewise.
25299 (ceil_test): Use END macro without arguments.
25300 (cexp_test): Use END_COMPLEX macro without arguments.
25301 (cimag_test): Use END macro without arguments.
25302 (clog_test): Use END_COMPLEX macro without arguments.
25303 (clog10_test): Likewise.
25304 (conj_test): Likewise.
25305 (copysign_test): Use END macro without arguments.
25306 (cos_test): Likewise.
25307 (cos_test_tonearest): Likewise.
25308 (cos_test_towardzero): Likewise.
25309 (cos_test_downward): Likewise.
25310 (cos_test_upward): Likewise.
25311 (cosh_test): Likewise.
25312 (cosh_test_tonearest): Likewise.
25313 (cosh_test_towardzero): Likewise.
25314 (cosh_test_downward): Likewise.
25315 (cosh_test_upward): Likewise.
25316 (cpow_test): Use END_COMPLEX macro without arguments.
25317 (cproj_test): Likewise.
25318 (creal_test): Use END macro without arguments.
25319 (csin_test): Use END_COMPLEX macro without arguments.
25320 (csinh_test): Likewise.
25321 (csqrt_test): Likewise.
25322 (ctan_test): Likewise.
25323 (ctan_test_tonearest): Likewise.
25324 (ctan_test_towardzero): Likewise.
25325 (ctan_test_downward): Likewise.
25326 (ctan_test_upward): Likewise.
25327 (ctanh_test): Likewise.
25328 (ctanh_test_tonearest): Likewise.
25329 (ctanh_test_towardzero): Likewise.
25330 (ctanh_test_downward): Likewise.
25331 (ctanh_test_upward): Likewise.
25332 (erf_test): Use END macro without arguments.
25333 (erfc_test): Likewise.
25334 (exp_test): Likewise.
25335 (exp_test_tonearest): Likewise.
25336 (exp_test_towardzero): Likewise.
25337 (exp_test_downward): Likewise.
25338 (exp_test_upward): Likewise.
25339 (exp10_test): Likewise.
25340 (exp2_test): Likewise.
25341 (expm1_test): Likewise.
25342 (fabs_test): Likewise.
25343 (fdim_test): Likewise.
25344 (finite_test): Likewise.
25345 (floor_test): Likewise.
25346 (fma_test): Likewise.
25347 (fma_test_towardzero): Likewise.
25348 (fma_test_downward): Likewise.
25349 (fma_test_upward): Likewise.
25350 (fmax_test): Likewise.
25351 (fmin_test): Likewise.
25352 (fmod_test): Likewise.
25353 (fpclassify_test): Likewise.
25354 (frexp_test): Likewise.
25355 (gamma_test): Likewise.
25356 (hypot_test): Likewise.
25357 (ilogb_test): Likewise.
25358 (isfinite_test): Likewise.
25359 (isgreater_test): Likewise.
25360 (isgreaterequal_test): Likewise.
25361 (isinf_test): Likewise.
25362 (isless_test): Likewise.
25363 (islessequal_test): Likewise.
25364 (islessgreater_test): Likewise.
25365 (isnan_test): Likewise.
25366 (isnormal_test): Likewise.
25367 (issignaling_test): Likewise.
25368 (isunordered_test): Likewise.
25369 (j0_test): Likewise.
25370 (j1_test): Likewise.
25371 (jn_test): Likewise.
25372 (ldexp_test): Likewise.
25373 (lgamma_test): Likewise.
25374 (lrint_test): Likewise.
25375 (lrint_test_tonearest): Likewise.
25376 (lrint_test_towardzero): Likewise.
25377 (lrint_test_downward): Likewise.
25378 (lrint_test_upward): Likewise.
25379 (llrint_test): Likewise.
25380 (llrint_test_tonearest): Likewise.
25381 (llrint_test_towardzero): Likewise.
25382 (llrint_test_downward): Likewise.
25383 (llrint_test_upward): Likewise.
25384 (log_test): Likewise.
25385 (log10_test): Likewise.
25386 (log1p_test): Likewise.
25387 (log2_test): Likewise.
25388 (logb_test): Likewise.
25389 (logb_test_downward): Likewise.
25390 (lround_test): Likewise.
25391 (llround_test): Likewise.
25392 (modf_test): Likewise.
25393 (nearbyint_test): Likewise.
25394 (nextafter_test): Likewise.
25395 (nexttoward_test): Likewise.
25396 (pow_test): Likewise.
25397 (pow_test_tonearest): Likewise.
25398 (pow_test_towardzero): Likewise.
25399 (pow_test_downward): Likewise.
25400 (pow_test_upward): Likewise.
25401 (remainder_test): Likewise.
25402 (remainder_test_tonearest): Likewise.
25403 (remainder_test_towardzero): Likewise.
25404 (remainder_test_downward): Likewise.
25405 (remainder_test_upward): Likewise.
25406 (remquo_test): Likewise.
25407 (rint_test): Likewise.
25408 (rint_test_tonearest): Likewise.
25409 (rint_test_towardzero): Likewise.
25410 (rint_test_downward): Likewise.
25411 (rint_test_upward): Likewise.
25412 (round_test): Likewise.
25413 (scalb_test): Likewise.
25414 (scalbn_test): Likewise.
25415 (scalbln_test): Likewise.
25416 (signbit_test): Likewise.
25417 (sin_test): Likewise.
25418 (sin_test_tonearest): Likewise.
25419 (sin_test_towardzero): Likewise.
25420 (sin_test_downward): Likewise.
25421 (sin_test_upward): Likewise.
25422 (sincos_test): Likewise.
25423 (sinh_test): Likewise.
25424 (sinh_test_tonearest): Likewise.
25425 (sinh_test_towardzero): Likewise.
25426 (sinh_test_downward): Likewise.
25427 (sinh_test_upward): Likewise.
25428 (sqrt_test): Likewise.
25429 (tan_test): Likewise.
25430 (tan_test_tonearest): Likewise.
25431 (tan_test_towardzero): Likewise.
25432 (tan_test_downward): Likewise.
25433 (tan_test_upward): Likewise.
25434 (tanh_test): Likewise.
25435 (tgamma_test): Likewise.
25436 (trunc_test): Likewise.
25437 (y0_test): Likewise.
25438 (y1_test): Likewise.
25439 (yn_test): Likewise.
25440 (significand_test): Likewise.
25441
bae143d2
OB
254422013-05-24 Ondřej Bílka <neleai@seznam.cz>
25443
25444 [BZ #15381]
25445 * libio/genops.c (_IO_no_init): Initialize wide struct info.
25446
9323d39b
EM
254472013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
25448
d4ea44a0 25449 [BZ #14894]
9323d39b
EM
25450 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
25451 __ppc_mdoio and __ppc_mdoom.
25452 * manual/platform.texi: Document new functions __ppc_yield,
25453 __ppc_mdoio and __ppc_mdoom.
25454
13e23af7
CD
254552013-05-22 Carlos O'Donell <carlos@redhat.com>
25456
25457 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
25458 (main): Mention "tls" pseudo-hwcap is legacy.
25459 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
25460
351fe550
JM
254612013-05-22 Joseph Myers <joseph@codesourcery.com>
25462
25463 * math/gen-libm-test.pl (parse_args): Output only string of
25464 arguments as text for test name, not full call or descriptions of
25465 tests for extra outputs.
25466 (generate_testfile): Do not pass function name to parse_args.
25467 Generate this_func variable from START.
25468 * math/libm-test.inc (struct test_f_f_data): Rename test_name
25469 field to arg_str.
25470 (struct test_ff_f_data): Likewise.
25471 (test_ff_f_data_nexttoward): Likewise.
25472 (struct test_fi_f_data): Likewise.
25473 (struct test_fl_f_data): Likewise.
25474 (struct test_if_f_data): Likewise.
25475 (struct test_fff_f_data): Likewise.
25476 (struct test_c_f_data): Likewise.
25477 (struct test_f_f1_data): Likewise. Remove field extra_name.
25478 (struct test_fF_f1_data): Likewise.
25479 (struct test_ffI_f1_data): Likewise.
25480 (struct test_c_c_data): Rename test_name field to arg_str.
25481 (struct test_cc_c_data): Likewise.
25482 (struct test_f_i_data): Likewise.
25483 (struct test_ff_i_data): Likewise.
25484 (struct test_f_l_data): Likewise.
25485 (struct test_f_L_data): Likewise.
25486 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
25487 and extra2_name.
25488 (COMMON_TEST_SETUP): New macro.
25489 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
25490 (COMMON_TEST_CLEANUP): Likewise.
25491 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
25492 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
25493 macros.
25494 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
25495 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
25496 macros.
25497 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
25498 (RUN_TEST_fff_f): Take argument string. Call new setup and
25499 cleanup macros.
25500 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
25501 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
25502 macros.
25503 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
25504 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
25505 macros.
25506 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
25507 (RUN_TEST_fF_f1): Take argument string. Call new setup and
25508 cleanup macros.
25509 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
25510 (RUN_TEST_fI_f1): Take argument string. Call new setup and
25511 cleanup macros.
25512 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
25513 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
25514 cleanup macros.
25515 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
25516 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
25517 macros.
25518 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
25519 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
25520 macros.
25521 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
25522 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
25523 macros.
25524 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
25525 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
25526 cleanup macros.
25527 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
25528 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
25529 cleanup macros.
25530 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
25531 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
25532 macros.
25533 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
25534 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
25535 cleanup macros.
25536 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
25537 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
25538 macros.
25539 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
25540 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
25541 macros.
25542 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
25543 (RUN_TEST_fFF_11): Take argument string. Call new setup and
25544 cleanup macros.
25545 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
25546
85118d4d
EBM
255472013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
25548
25549 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
25550 to _sifields.sigfault.
25551 (si_addr_lsb): Define new macro.
25552 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
25553 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25554 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
25555
7a44c18f
CD
255562013-05-03 Carlos O'Donell <carlos at redhat.com>
25557
25558 [BZ #15441]
25559 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
25560 returns -1.
25561 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
25562 null return -1.
25563 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
25564 loading the domain.
25565
b50a7181
JM
255662013-05-22 Joseph Myers <joseph@codesourcery.com>
25567
25568 * math/gen-libm-test.pl (parse_args): Do not include expected
25569 result in test name.
25570 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
25571 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25572 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25573 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25574 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25576
051063c8
SP
255772013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
25578
3ce9e010
SP
25579 * benchtests/Makefile: Sort function entries.
25580
051063c8
SP
25581 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
25582 tanh, asinh, acosh, atanh.
25583 * benchtests/acos-inputs: New file.
25584 * benchtests/acosh-inputs: New file.
25585 * benchtests/asin-inputs: New file.
25586 * benchtests/asinh-inputs: New file.
25587 * benchtests/atanh-inputs: New file.
25588 * benchtests/cosh-inputs: New file.
25589 * benchtests/log-inputs: New file.
25590 * benchtests/sinh-inputs: New file.
25591 * benchtests/tanh-inputs: New file.
25592
47c22455
DL
255932013-05-21 Dmitry V. Levin <ldv@altlinux.org>
25594
25595 [BZ #15339]
25596 * posix/tst-getaddrinfo4.c: New test.
25597 * posix/Makefile (tests): Add it.
25598
3d04f5db
SP
255992013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25600
25601 [BZ #15339]
25602 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
25603 when no services were used.
25604 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
25605 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
25606
d5dd6189
AS
256072013-05-21 Andreas Schwab <schwab@suse.de>
25608
25609 [BZ #15014]
25610 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
25611 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
25612 successful.
25613 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
25614 redundant variable declarations and reallocation of buffer when
25615 parsing as IPv6 address. Always set NSS status when called from
25616 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
25617 buffer too small. Correct computation of needed size.
25618 * nss/Makefile (tests): Add test-digits-dots.
25619 * nss/test-digits-dots.c: New test.
25620
fef94eab
SP
256212013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25622
25623 * benchtests/Makefile: Remove instructions for adding
25624 benchmark tests.
25625 * benchtests/README: New file to explain how to execute and
25626 enhance the benchmark tests.
25627
e39adf43
AS
256282013-05-21 Andreas Schwab <schwab@suse.de>
25629
25630 [BZ #15493]
25631 * setjmp/Makefile (tests): Add tst-sigsetjmp.
25632 * setjmp/tst-sigsetjmp.c: New test.
25633
b2b671b6
OB
256342013-05-20 Ondřej Bílka <neleai@seznam.cz>
25635
25636 * sysdeps/x86_64/memset.S (memset): New implementation.
25637 (__bzero): Likewise.
25638 (__memset_tail): New function.
25639
2d48b41c
OB
256402013-05-20 Ondřej Bílka <neleai@seznam.cz>
25641
25642 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
25643 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
25644 __memcpy_sse2_unaligned ifunc selection.
25645 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25646 Add memcpy-sse2-unaligned.S.
25647 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25648 Add: __memcpy_sse2_unaligned.
25649
f16cc3eb
JM
256502013-05-19 Joseph Myers <joseph@codesourcery.com>
25651
3e694268
JM
25652 [BZ #15490]
25653 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25654 math_force_eval before restoring floating-point envrionment.
25655 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
25656 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
25657 Likewise.
25658 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
25659 <math_private.h>.
25660 (__nearbyintl): Use math_force_eval before restoring
25661 floating-point environment.
25662 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
25663
db62a907
JM
25664 * math/gen-libm-test.pl (special_functions): Remove.
25665 (parse_args): Don't handle TEST_extra. Handle functions with no
25666 return value.
25667 * math/libm-test.inc (struct test_sincos_data): Replace with
25668 struct test_fFF_11_data.
25669 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
25670 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
25671 (sincos_test_data): Change element type to struct
25672 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
25673 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
25674 RUN_TEST_LOOP_sincos.
25675 * math/README.libm-test: Don't mention special handling of
25676 individual functions.
25677 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
25678 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25679 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25680 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25681 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25683
f16cc3eb
JM
25684 * math/gen-libm-test.pl (get_variable): Remove function.
25685 (parse_args): Don't show pointer parameters to call in test
25686 names. Use "extra output N" in test names for extra outputs
25687 rather than naming variables.
25688
3779b5b6
JM
256892013-05-18 Joseph Myers <joseph@codesourcery.com>
25690
2ee094ff
JM
25691 [BZ #15488]
25692 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
25693 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
25694 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
25695 double tests.
25696 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
25697 disable.
25698 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
25699 check_long_double.
25700
3779b5b6
JM
25701 * math/gen-libm-test.pl (@tests): Remove variable.
25702 ($count): Likewise.
25703 (new_test): Remove function.
25704 (show_exceptions): New function.
25705 (special_functions): Use show_exceptions instead of new_test.
25706 (parse_args): Likewise.
25707 (generate_testfile): Pass only function name in generated call to
25708 print_max_error or print_complex_max_error.
25709 (get_ulps): Do not handle complex tests specially.
25710 (output_test): Rename to ...
25711 (get_all_ulps_for_test): ... this. Return a string rather than
25712 printing to a file. Require ulps to be present.
25713 (output_ulps): Generate arrays rather than #defines.
25714 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
25715 (struct ulp_data): New type.
25716 (BUILD_COMPLEX_ULP): Remove macro.
25717 (compare_ulp_data): New function.
25718 (find_ulps): Likewise.
25719 (find_test_ulps): Likewise.
25720 (find_function_ulps): Likewise.
25721 (find_complex_function_ulps): Likewise.
25722 (print_max_error): Determine allowed ulps using
25723 find_function_ulps.
25724 (print_complex_max_error): Determine allowed ulps using
25725 find_complex_function_ulps.
25726 (check_float_internal): Determine max ulps using find_test_ulps.
25727 (check_float): Do not take max_ulp parameter. Update call to
25728 check_float_internal.
25729 (check_complex): Likewise.
25730 (check_int): Do not take max_ulp parameter.
25731 (check_long): Likewise.
25732 (check_bool): Likewise.
25733 (check_longlong): Likewise.
25734 (struct test_f_f_data): Remove max_ulp field.
25735 (struct test_ff_f_data): Likewise.
25736 (struct test_ff_f_data_nexttoward): Likewise.
25737 (struct test_fi_f_data): Likewise.
25738 (struct test_fl_f_data): Likewise.
25739 (struct test_if_f_data): Likewise.
25740 (struct test_fff_f_data): Likewise.
25741 (struct test_c_f_data): Likewise.
25742 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
25743 (struct test_fF_f1_data): Likewise.
25744 (struct test_ffI_f1_data): Likewise.
25745 (struct test_c_c_data): Remove max_ulp field.
25746 (struct test_cc_c_data): Likewise.
25747 (struct test_f_i_data): Likewise.
25748 (struct test_ff_i_data): Likewise.
25749 (struct test_f_l_data): Likewise.
25750 (struct test_f_L_data): Likewise.
25751 (struct test_sincos_data): Likewise.
25752 (RUN_TEST_f_f): Do not handle ulps.
25753 (RUN_TEST_LOOP_f_f): Likewise.
25754 (RUN_TEST_2_f): Likewise.
25755 (RUN_TEST_LOOP_2_f): Likewise.
25756 (RUN_TEST_fff_f): Likewise.
25757 (RUN_TEST_LOOP_fff_f): Likewise.
25758 (RUN_TEST_c_f): Likewise.
25759 (RUN_TEST_LOOP_c_f): Likewise.
25760 (RUN_TEST_f_f1): Likewise.
25761 (RUN_TEST_LOOP_f_f1): Likewise.
25762 (RUN_TEST_fF_f1): Likewise.
25763 (RUN_TEST_LOOP_fF_f1): Likewise.
25764 (RUN_TEST_fI_f1): Likewise.
25765 (RUN_TEST_LOOP_fI_f1): Likewise.
25766 (RUN_TEST_ffI_f1): Likewise.
25767 (RUN_TEST_LOOP_ffI_f1): Likewise.
25768 (RUN_TEST_c_c): Likewise.
25769 (RUN_TEST_LOOP_c_c): Likewise.
25770 (RUN_TEST_cc_c): Likewise.
25771 (RUN_TEST_LOOP_cc_c): Likewise.
25772 (RUN_TEST_f_i): Likewise.
25773 (RUN_TEST_LOOP_f_i): Likewise.
25774 (RUN_TEST_f_i_tg): Likewise.
25775 (RUN_TEST_LOOP_f_i_tg): Likewise.
25776 (RUN_TEST_ff_i_tg): Likewise.
25777 (RUN_TEST_LOOP_ff_i_tg): Likewise.
25778 (RUN_TEST_f_b): Likewise.
25779 (RUN_TEST_LOOP_f_b): Likewise.
25780 (RUN_TEST_f_b_tg): Likewise.
25781 (RUN_TEST_LOOP_f_b_tg): Likewise.
25782 (RUN_TEST_f_l): Likewise.
25783 (RUN_TEST_LOOP_f_l): Likewise.
25784 (RUN_TEST_f_L): Likewise.
25785 (RUN_TEST_LOOP_f_L): Likewise.
25786 (RUN_TEST_sincos): Likewise.
25787 (RUN_TEST_LOOP_sincos): Likewise.
25788
8269107f
JM
257892013-05-17 Joseph Myers <joseph@codesourcery.com>
25790
bb38759d
JM
25791 [BZ #15480]
25792 [BZ #15485]
25793 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
25794 main case of finite arguments, set rounding mode to FE_TONEAREST
25795 and discard exceptions.
25796 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
25797 exceptions.
25798 (remainder_tonearest_test_data): New variable.
25799 (remainder_test_tonearest): New function.
25800 (remainder_towardzero_test_data): New variable.
25801 (remainder_test_towardzero): New function.
25802 (remainder_downward_test_data): New variable.
25803 (remainder_test_downward): New function.
25804 (remainder_upward_test_data): New variable.
25805 (remainder_test_upward): New function.
25806 (main): Call the new test functions.
25807
a00bdcf0
JM
25808 * math/libm-test.inc (struct test_f_f1_data): Remove field
25809 extra_init.
25810 (struct test_fF_f1_data): Likewise.
25811 (struct test_ffI_f1_data): Likewise.
25812 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
25813 based on value of EXTRA_EXPECTED.
25814 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
25815 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
25816 EXTRA_VAR based on value of EXTRA_EXPECTED.
25817 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
25818 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
25819 EXTRA_VAR based on value of EXTRA_EXPECTED.
25820 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
25821 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
25822 EXTRA_VAR based on value of EXTRA_EXPECTED.
25823 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
25824 * math/gen-libm-test.pl (parse_args): Don't output initializers
25825 for extra output values.
25826
de407f79
JM
25827 * math/libm-test.inc (check_int): Expect result to be exactly
25828 equal to expected value and do not handle ulps.
25829 (check_long): Likewise.
25830 (check_longlong): Likewise.
25831
8269107f
JM
25832 * math/libm-test.inc (ceil_test_data): Test for "inexact"
25833 exceptions.
25834 (cimag_test_data): Likewise.
25835 (conj_test_data): Likewise.
25836 (copysign_test_data): Likewise.
25837 (cproj_test_data): Likewise.
25838 (creal_test_data): Likewise.
25839 (fabs_test_data): Likewise.
25840 (fdim_test_data): Likewise.
25841 (finite_test_data): Likewise.
25842 (floor_test_data): Likewise.
25843 (fmax_test_data): Likewise.
25844 (fmin_test_data): Likewise.
25845 (fmod_test_data): Likewise.
25846 (fpclassify_test_data): Likewise.
25847 (frexp_test_data): Likewise.
25848 (ilogb_test_data): Likewise.
25849 (isfinite_test_data): Likewise.
25850 (isgreater_test_data): Likewise.
25851 (isgreaterequal_test_data): Likewise.
25852 (isinf_test_data): Likewise.
25853 (isless_test_data): Likewise.
25854 (islessequal_test_data): Likewise.
25855 (islessgreater_test_data): Likewise.
25856 (isnan_test_data): Likewise.
25857 (isnormal_test_data): Likewise.
25858 (issignaling_test_data): Likewise.
25859 (isunordered_test_data): Likewise.
25860 (ldexp_test_data): Likewise.
25861 (lrint_test_data): Likewise.
25862 (lrint_test_data) [TEST_FLOAT]: Disable one test.
25863 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
25864 (lrint_tonearest_test_data): Test for "inexact" exceptions.
25865 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25866 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
25867 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25868 test input.
25869 (lrint_towardzero_test_data): Test for "inexact" exceptions.
25870 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25871 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
25872 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
25873 that test input.
25874 (lrint_downward_test_data): Test for "inexact" exceptions.
25875 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25876 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
25877 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25878 test input.
25879 (lrint_upward_test_data): Test for "inexact" exceptions.
25880 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
25881 test input.
25882 (llrint_test_data): Test for "inexact" exceptions.
25883 (llrint_test_data) [TEST_FLOAT]: Disable one test.
25884 (llrint_tonearest_test_data): Test for "inexact" exceptions.
25885 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25886 (llrint_towardzero_test_data): Test for "inexact" exceptions.
25887 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25888 (llrint_downward_test_data): Test for "inexact" exceptions.
25889 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25890 (llrint_upward_test_data): Test for "inexact" exceptions.
25891 (logb_test_data): Likewise.
25892 (logb_downward_test_data): Likewise.
25893 (nextafter_test_data): Likewise.
25894 (nexttoward_test_data): Likewise.
25895 (remainder_test_data): Likewise.
25896 (remquo_test_data): Likewise.
25897 (scalbn_test_data): Likewise.
25898 (scalbln_test_data): Likewise.
25899 (signbit_test_data): Likewise.
25900 (sqrt_test_data): Likewise.
25901 (significand_test_data): Likewise.
25902
48a18de1
SP
259032013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25904
25905 [BZ #15424]
25906 * benchtests/bench-modf.c (struct args): Mark arg0 as
25907 volatile.
25908 * scripts/bench.pl: Mark members of struct args as volatile.
25909
13d3b41a
AZ
259102013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25911
68191c1d 25912 [BZ # 15497]
13d3b41a
AZ
25913 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
25914 negative infinity on POWER6 or lower.
25915 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
25916
2848b105
MR
259172013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
25918
25919 [BZ #15442]
25920 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
25921 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
25922 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
25923 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
25924 (_FP_SETQNAN): New macro.
25925 (_FP_SETQNAN_SEMIRAW): Likewise.
25926 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
25927 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
25928 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
25929 (FP_EXTEND): Use _FP_FRAC_SNANP.
25930 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
25931 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
25932 into account.
25933 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
25934 New macro.
25935 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
25936 Likewise.
25937
323e5cb7
JM
259382013-05-16 Joseph Myers <joseph@codesourcery.com>
25939
c58b274f
JM
25940 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
25941 with DIVIDE_BY_ZERO_EXCEPTION.
25942 (gamma_test_data): Likewise.
25943 (lgamma_test_data): Likewise.
25944 (log_test_data): Likewise.
25945 (log10_test_data): Likewise.
25946 (log2_test_data): Likewise.
25947 (tgamma_test_data): Likewise.
25948
0ab34904
JM
25949 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
25950 (acos_test_tonearest): Likewise.
25951 (acos_test_towardzero): Likewise.
25952 (acos_test_downward): Likewise.
25953 (acos_test_upward): Likewise.
25954 (acosh_test): Likewise.
25955 (asin_test): Likewise.
25956 (asin_test_tonearest): Likewise.
25957 (asin_test_towardzero): Likewise.
25958 (asin_test_downward): Likewise.
25959 (asin_test_upward): Likewise.
25960 (asinh_test): Likewise.
25961 (atan_test): Likewise.
25962 (atanh_test): Likewise.
25963 (atan2_test): Likewise.
25964 (cabs_test): Likewise.
25965 (cacos_test): Likewise.
25966 (cacosh_test): Likewise.
25967 (casin_test): Likewise.
25968 (casinh_test): Likewise.
25969 (catan_test): Likewise.
25970 (catanh_test): Likewise.
25971 (cbrt_test): Likewise.
25972 (ccos_test): Likewise.
25973 (ccosh_test): Likewise.
25974 (cexp_test): Likewise.
25975 (clog_test): Likewise.
25976 (clog10_test): Likewise.
25977 (cos_test): Likewise.
25978 (cos_test_tonearest): Likewise.
25979 (cos_test_towardzero): Likewise.
25980 (cos_test_downward): Likewise.
25981 (cos_test_upward): Likewise.
25982 (cosh_test): Likewise.
25983 (cosh_test_tonearest): Likewise.
25984 (cosh_test_towardzero): Likewise.
25985 (cosh_test_downward): Likewise.
25986 (cosh_test_upward): Likewise.
25987 (cpow_test): Likewise.
25988 (csin_test): Likewise.
25989 (csinh_test): Likewise.
25990 (csqrt_test): Likewise.
25991 (ctan_test): Likewise.
25992 (ctan_test_tonearest): Likewise.
25993 (ctan_test_towardzero): Likewise.
25994 (ctan_test_downward): Likewise.
25995 (ctan_test_upward): Likewise.
25996 (ctanh_test): Likewise.
25997 (ctanh_test_tonearest): Likewise.
25998 (ctanh_test_towardzero): Likewise.
25999 (ctanh_test_downward): Likewise.
26000 (ctanh_test_upward): Likewise.
26001 (erf_test): Likewise.
26002 (erfc_test): Likewise.
26003 (exp_test): Likewise.
26004 (exp_test_tonearest): Likewise.
26005 (exp_test_towardzero): Likewise.
26006 (exp_test_downward): Likewise.
26007 (exp_test_upward): Likewise.
26008 (exp10_test): Likewise.
26009 (exp2_test): Likewise.
26010 (expm1_test): Likewise.
26011 (fmod_test): Likewise.
26012 (gamma_test): Likewise.
26013 (hypot_test): Likewise.
26014 (j0_test): Likewise.
26015 (j1_test): Likewise.
26016 (jn_test): Likewise.
26017 (lgamma_test): Likewise.
26018 (log_test): Likewise.
26019 (log10_test): Likewise.
26020 (log1p_test): Likewise.
26021 (log2_test): Likewise.
26022 (logb_test_downward): Likewise.
26023 (pow_test): Likewise.
26024 (pow_test_tonearest): Likewise.
26025 (pow_test_towardzero): Likewise.
26026 (pow_test_downward): Likewise.
26027 (pow_test_upward): Likewise.
26028 (remainder_test): Likewise.
26029 (remquo_test): Likewise.
26030 (sin_test): Likewise.
26031 (sin_test_tonearest): Likewise.
26032 (sin_test_towardzero): Likewise.
26033 (sin_test_downward): Likewise.
26034 (sin_test_upward): Likewise.
26035 (sincos_test): Likewise.
26036 (sinh_test): Likewise.
26037 (sinh_test_tonearest): Likewise.
26038 (sinh_test_towardzero): Likewise.
26039 (sinh_test_downward): Likewise.
26040 (sinh_test_upward): Likewise.
26041 (sqrt_test): Likewise.
26042 (tan_test): Likewise.
26043 (tan_test_tonearest): Likewise.
26044 (tan_test_towardzero): Likewise.
26045 (tan_test_downward): Likewise.
26046 (tan_test_upward): Likewise.
26047 (tanh_test): Likewise.
26048 (tgamma_test): Likewise.
26049 (y0_test): Likewise.
26050 (y1_test): Likewise.
26051 (yn_test): Likewise.
26052
323e5cb7
JM
26053 * math/gen-libm-test.pl (adjust_arg): Remove function.
26054 (special_function): Remove argument $in_func. Only handle
26055 generating output for tables of tests, not inside functions.
26056 (parse_args): Likewise.
26057 (generate_testfile): Remove variable $in_func. Update call to
26058 parse_args.
26059 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
26060 (MINUS_ZERO_INIT): Rename macro to minus_zero.
26061 (PLUS_INFTY_INIT): Rename macro to plus_infty.
26062 (MINUS_INFTY_INIT): Rename macro to minus_infty.
26063 (QNAN_VALUE_INIT): Rename macro to qnan_value.
26064 (MAX_VALUE_INIT): Rename macro to max_value.
26065 (MIN_VALUE_INIT): Rename macro to min_value.
26066 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
26067 (plus_zero): Remove variable.
26068 (minus_zero): Likewise.
26069 (plus_infty): Likewise.
26070 (minus_infty): Likewise.
26071 (qnan_value): Likewise.
26072 (max_value): Likewise.
26073 (min_value): Likewise.
26074 (min_subnorm_value): Likewise.
26075
e054f494
RA
260762013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26077
26078 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
26079 uint64_t or uint32_t usage.
26080 * crypt/sha256-block.c: Likewise.
26081 * crypt/sha256-crypt.c: Likewise.
26082 * crypt/sha256.c: Likewise.
26083 * crypt/sha512-block.c: Likewise.
26084 * crypt/sha512-crypt.c: Likewise.
26085 * crypt/sha512.c: Likewise.
26086 * debug/backtrace-tst.c: Likewise.
26087 * debug/pcprofiledump.c: Likewise.
26088 * elf/cache.c: Likewise.
26089 * elf/dl-cache.c: Likewise.
26090 * elf/dl-misc.c: Likewise.
26091 * elf/dl-profile.c: Likewise.
26092 * elf/dl-support.c: Likewise.
26093 * elf/ldconfig.c: Likewise.
26094 * elf/sprof.c: Likewise.
26095 * iconv/dummy-repertoire.c: Likewise.
26096 * iconv/iconv_charmap.c: Likewise.
26097 * iconv/skeleton.c: Likewise.
26098 * iconvdata/8bit-generic.c: Likewise.
26099 * iconvdata/cp737.h: Likewise.
26100 * iconvdata/cp775.h: Likewise.
26101 * iconvdata/ibm1008.h: Likewise.
26102 * iconvdata/ibm1025.h: Likewise.
26103 * iconvdata/ibm1046.h: Likewise.
26104 * iconvdata/ibm1097.h: Likewise.
26105 * iconvdata/ibm1112.h: Likewise.
26106 * iconvdata/ibm1122.h: Likewise.
26107 * iconvdata/ibm1123.h: Likewise.
26108 * iconvdata/ibm1124.h: Likewise.
26109 * iconvdata/ibm1129.h: Likewise.
26110 * iconvdata/ibm1130.h: Likewise.
26111 * iconvdata/ibm1132.h: Likewise.
26112 * iconvdata/ibm1133.h: Likewise.
26113 * iconvdata/ibm1137.h: Likewise.
26114 * iconvdata/ibm1140.h: Likewise.
26115 * iconvdata/ibm1141.h: Likewise.
26116 * iconvdata/ibm1142.h: Likewise.
26117 * iconvdata/ibm1143.h: Likewise.
26118 * iconvdata/ibm1144.h: Likewise.
26119 * iconvdata/ibm1145.h: Likewise.
26120 * iconvdata/ibm1146.h: Likewise.
26121 * iconvdata/ibm1147.h: Likewise.
26122 * iconvdata/ibm1148.h: Likewise.
26123 * iconvdata/ibm1149.h: Likewise.
26124 * iconvdata/ibm1153.h: Likewise.
26125 * iconvdata/ibm1154.h: Likewise.
26126 * iconvdata/ibm1155.h: Likewise.
26127 * iconvdata/ibm1156.h: Likewise.
26128 * iconvdata/ibm1157.h: Likewise.
26129 * iconvdata/ibm1158.h: Likewise.
26130 * iconvdata/ibm1160.h: Likewise.
26131 * iconvdata/ibm1161.h: Likewise.
26132 * iconvdata/ibm1162.h: Likewise.
26133 * iconvdata/ibm1163.h: Likewise.
26134 * iconvdata/ibm1164.h: Likewise.
26135 * iconvdata/ibm1166.h: Likewise.
26136 * iconvdata/ibm1167.h: Likewise.
26137 * iconvdata/ibm12712.h: Likewise.
26138 * iconvdata/ibm1390.h: Likewise.
26139 * iconvdata/ibm1399.h: Likewise.
26140 * iconvdata/ibm16804.h: Likewise.
26141 * iconvdata/ibm4517.h: Likewise.
26142 * iconvdata/ibm4899.h: Likewise.
26143 * iconvdata/ibm4909.h: Likewise.
26144 * iconvdata/ibm4971.h: Likewise.
26145 * iconvdata/ibm5347.h: Likewise.
26146 * iconvdata/ibm803.h: Likewise.
26147 * iconvdata/ibm856.h: Likewise.
26148 * iconvdata/ibm901.h: Likewise.
26149 * iconvdata/ibm902.h: Likewise.
26150 * iconvdata/ibm9030.h: Likewise.
26151 * iconvdata/ibm9066.h: Likewise.
26152 * iconvdata/ibm921.h: Likewise.
26153 * iconvdata/ibm922.h: Likewise.
26154 * iconvdata/ibm9448.h: Likewise.
26155 * iconvdata/isiri-3342.h: Likewise.
26156 * iconvdata/jis0201.h: Likewise.
26157 * include/link.h: Likewise.
26158 * include/netdb.h: Likewise.
26159 * inet/check_native.c: Likewise.
26160 * inet/check_pf.c: Likewise.
26161 * inet/getipv4sourcefilter.c: Likewise.
26162 * inet/getnameinfo.c: Likewise.
26163 * inet/getsourcefilter.c: Likewise.
26164 * inet/htonl.c: Likewise.
26165 * inet/setipv4sourcefilter.c: Likewise.
26166 * inet/setsourcefilter.c: Likewise.
26167 * inet/test-inet6_opt.c: Likewise.
26168 * inet/tst-network.c: Likewise.
26169 * locale/C-collate.c: Likewise.
26170 * locale/C-ctype.c: Likewise.
26171 * locale/C-time.c: Likewise.
26172 * locale/C-translit.h: Likewise.
26173 * locale/loadarchive.c: Likewise.
26174 * locale/programs/3level.h: Likewise.
26175 * locale/programs/charmap.c: Likewise.
26176 * locale/programs/charmap.h: Likewise.
26177 * locale/programs/ld-address.c: Likewise.
26178 * locale/programs/ld-collate.c: Likewise.
26179 * locale/programs/ld-ctype.c: Likewise.
26180 * locale/programs/ld-identification.c: Likewise.
26181 * locale/programs/ld-measurement.c: Likewise.
26182 * locale/programs/ld-messages.c: Likewise.
26183 * locale/programs/ld-monetary.c: Likewise.
26184 * locale/programs/ld-name.c: Likewise.
26185 * locale/programs/ld-numeric.c: Likewise.
26186 * locale/programs/ld-paper.c: Likewise.
26187 * locale/programs/ld-telephone.c: Likewise.
26188 * locale/programs/ld-time.c: Likewise.
26189 * locale/programs/linereader.c: Likewise.
26190 * locale/programs/locale.c: Likewise.
26191 * locale/programs/locarchive.c: Likewise.
26192 * locale/programs/locfile.h: Likewise.
26193 * locale/programs/repertoire.c: Likewise.
26194 * locale/programs/simple-hash.c: Likewise.
26195 * locale/programs/simple-hash.h: Likewise.
26196 * malloc/memusage.c: Likewise.
26197 * malloc/memusagestat.c: Likewise.
26198 * nis/nis_defaults.c: Likewise.
26199 * nis/nis_hash.c: Likewise.
26200 * nis/nis_print.c: Likewise.
26201 * nis/nis_xdr.c: Likewise.
26202 * nscd/connections.c: Likewise.
26203 * nscd/hstcache.c: Likewise.
26204 * nscd/nscd_gethst_r.c: Likewise.
26205 * nscd/nscd_getserv_r.c: Likewise.
26206 * nscd/nscd_helper.c: Likewise.
26207 * nscd/servicescache.c: Likewise.
26208 * nss/makedb.c: Likewise.
26209 * nss/nss_db/db-XXX.c: Likewise.
26210 * nss/nss_db/db-initgroups.c: Likewise.
26211 * nss/nss_db/db-netgrp.c: Likewise.
26212 * nss/nss_files/files-network.c: Likewise.
26213 * nss/nss_files/files-parse.c: Likewise.
26214 * posix/bug-regex5.c: Likewise.
26215 * posix/fnmatch_loop.c: Likewise.
26216 * posix/regcomp.c: Likewise.
26217 * posix/regexec.c: Likewise.
26218 * posix/tst-rfc3484-2.c: Likewise.
26219 * posix/tst-rfc3484-3.c: Likewise.
26220 * posix/tst-rfc3484.c: Likewise.
26221 * resolv/nss_dns/dns-canon.c: Likewise.
26222 * resolv/nss_dns/dns-network.c: Likewise.
26223 * resolv/res_init.c: Likewise.
26224 * resolv/res_mkquery.c: Likewise.
26225 * resolv/tst-aton.c: Likewise.
26226 * stdlib/cxa_atexit.c: Likewise.
26227 * stdlib/cxa_finalize.c: Likewise.
26228 * stdlib/gen-fpioconst.c: Likewise.
26229 * stdlib/strtol_l.c: Likewise.
26230 * string/tst-endian.c: Likewise.
26231 * sunrpc/auth_des.c: Likewise.
26232 * sunrpc/clnt_udp.c: Likewise.
26233 * sunrpc/rtime.c: Likewise.
26234 * sunrpc/svcauth_des.c: Likewise.
26235 * sunrpc/xdr.c: Likewise.
26236 * sunrpc/xdr_intXX_t.c: Likewise.
26237 * sunrpc/xdr_rec.c: Likewise.
26238 * sysdeps/generic/ldconfig.h: Likewise.
26239 * sysdeps/generic/ldsodefs.h: Likewise.
26240 * sysdeps/generic/memusage.h: Likewise.
26241 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
26242 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
26243 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
26244 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26245 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26246 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26247 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
26248 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
26249 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26250 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26251 * sysdeps/posix/getaddrinfo.c: Likewise.
26252 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26253 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26254 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26255 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26256 * sysdeps/powerpc/test-gettimebase.c: Likewise.
26257 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
26258 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
26259 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
26260 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
26261 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
26262 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26263 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26264 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
26265 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
26266 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
26267 * sysdeps/x86_64/dl-tls.h: Likewise.
26268 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
26269 * time/alt_digit.c: Likewise.
26270 * time/era.c: Likewise.
26271 * wcsmbs/tst-c16c32-1.c: Likewise.
26272
8c75f674
JM
262732013-05-16 Joseph Myers <joseph@codesourcery.com>
26274
26275 * math/libm-test.inc (struct test_sincos_data): New type.
26276 (RUN_TEST_LOOP_sincos): New macro.
26277 (sincos_test_data): New variable.
26278 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
26279
e6e49e59
RH
262802013-05-16 Richard Henderson <rth@redhat.com>
26281
26282 * math/atest-exp2.c (LIMB64): New macro.
26283 (CONSTSZ): New macro.
26284 (mp_exp1, mp_exp_m1, mp_log2): New variables.
26285 (hexdig): Move ...
26286 (print_mpn_fp): ... to function scope.
26287 (read_mpn_hex): Remove.
26288 (get_log2): Remove.
26289 (exp2_mpn): Use mp_log2.
26290 (main): Use mp_exp1.
26291
15c7c18d
JM
262922013-05-16 Joseph Myers <joseph@codesourcery.com>
26293
105a07df
JM
26294 * math/libm-test.inc: Remove comment about not testing "inexact"
26295 exceptions.
26296 (INEXACT_EXCEPTION): New macro.
26297 (NO_INEXACT_EXCEPTION): Likewise.
26298 (INVALID_EXCEPTION_OK): Update value.
26299 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26300 (OVERFLOW_EXCEPTION_OK): Likewise.
26301 (UNDERFLOW_EXCEPTION_OK): Likewise.
26302 (IGNORE_ZERO_INF_SIGN): Likewise.
26303 (ERRNO_UNCHANGED): Likewise.
26304 (ERRNO_EDOM): Likewise.
26305 (ERRNO_ERANGE): Likewise.
26306 (test_exceptions): Handle testing "inexact" exceptions.
26307 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
26308 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
26309 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
26310 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
26311 INEXACT_EXCEPTION.
26312 (rint_towardzero_test_data): Likewise.
26313 (rint_downward_test_data): Likewise.
26314 (rint_upward_test_data): Likewise.
26315
e9eee333
JM
26316 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
26317 with OVERFLOW_EXCEPTION.
26318 (exp10_test_data): Likewise.
26319 (exp2_test_data): Likewise.
26320 (expm1_test_data): Likewise.
26321 (lgamma_test_data): Likewise.
26322 (pow_test_data): Likewise.
26323 (tgamma_test_data): Likewise.
26324 (yn_test_data): Remove duplicate test of overflow.
26325
1c38ff73
JM
26326 * math/libm-test.inc (struct test_cc_c_data): New type.
26327 (RUN_TEST_LOOP_cc_c): New macro.
26328 (cpow_test_data): New variable.
26329 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
26330
15c7c18d
JM
26331 * math/libm-test.inc (struct test_f_L_data): New type.
26332 (RUN_TEST_LOOP_f_L): New macro.
26333 (llrint_test_data): New variable.
26334 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
26335 (llrint_tonearest_test_data): New variable.
26336 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
26337 (llrint_towardzero_test_data): New variable.
26338 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
26339 (llrint_downward_test_data): New variable.
26340 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
26341 (llrint_upward_test_data): New variable.
26342 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
26343 (llround_test_data): New variable.
26344 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
26345
f137ff13
PC
263462013-05-13 Peter Collingbourne <pcc@google.com>
26347
26348 * math/atest-exp2.c (get_log2): Remove const attribute.
26349
3608cb24
JM
263502013-05-15 Joseph Myers <joseph@codesourcery.com>
26351
26352 * math/libm-test.inc (struct test_f_l_data): New type.
26353 (RUN_TEST_LOOP_f_l): New macro.
26354 (lrint_test_data): New variable.
26355 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
26356 (lrint_tonearest_test_data): New variable.
26357 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
26358 (lrint_towardzero_test_data): New variable.
26359 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
26360 (lrint_downward_test_data): New variable.
26361 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
26362 (lrint_upward_test_data): New variable.
26363 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
26364 (lround_test_data): New variable.
26365 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
26366
39b1f617
PC
263672013-05-15 Peter Collingbourne <pcc@google.com>
26368
1deff3dc
PC
26369 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
26370 (EXTRACT_WORDS64) Use where appropriate.
26371 (INSERT_WORDS64) Likewise.
26372
791f3ba0
PC
26373 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
26374 constraints with x constraints.
26375 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
26376
39b1f617
PC
26377 * malloc/obstack.c (_obstack_compat): Add initializer.
26378
12fba011
EM
263792013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
26380
26381 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
26382 si_trapno and add si_addr_lsb to _sifields.sigfault.
26383 (si_trapno): Remove macro.
26384 (si_addr_lsb): Define new macro.
26385 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26386
d369f531
JM
263872013-05-15 Joseph Myers <joseph@codesourcery.com>
26388
b861c6c4
JM
26389 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
26390 instead of TEST_f_l.
26391 (llrint_test_tonearest): Likewise.
26392 (llrint_test_towardzero): Likewise.
26393 (llrint_test_downward): Likewise.
26394 (llrint_test_upward): Likewise.
26395 (llround_test): Likewise.
26396
7abeee12
JM
26397 * math/libm-test.inc (struct test_f_i_data): Add comment.
26398 (RUN_TEST_LOOP_f_b): New macro.
26399 (RUN_TEST_LOOP_f_b_tg): Likewise.
26400 (finite_test_data): New variable.
26401 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
26402 (isfinite_test_data): New variable.
26403 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26404 (isinf_test_data): New variable.
26405 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26406 (isnan_test_data): New variable.
26407 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26408 (isnormal_test_data): New variable.
26409 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26410 (issignaling_test_data): New variable.
26411 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26412 (signbit_test_data): New variable.
26413 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26414
cbe8c4d3
JM
26415 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
26416 with INVALID_EXCEPTION.
26417 (acosh_test_data): Likewise.
26418 (asin_test_data): Likewise.
26419 (atanh_test_data): Likewise.
26420 (fmod_test_data): Likewise.
26421 (log_test_data): Likewise.
26422 (log10_test_data): Likewise.
26423 (log2_test_data): Likewise.
26424 (pow_test_data): Likewise.
26425 (sqrt_test_data): Likewise.
26426 (y0_test_data): Likewise.
26427 (y1_test_data): Likewise.
26428 (yn_test_data): Likewise.
26429
5575c0e5
JM
26430 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
26431 function contents.
26432
d369f531
JM
26433 * math/libm-test.inc (struct test_ff_i_data): New type.
26434 (RUN_TEST_LOOP_ff_i_tg): New macro.
26435 (isgreater_test_data): New variable.
26436 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26437 (isgreaterequal_test_data): New variable.
26438 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26439 (isless_test_data): New variable.
26440 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26441 (islessequal_test_data): New variable.
26442 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26443 (islessgreater_test_data): New variable.
26444 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26445 (isunordered_test_data): New variable.
26446 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26447
781fd748
DM
264482013-05-14 David S. Miller <davem@davemloft.net>
26449
26450 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26451
87aa21df
JM
264522013-05-14 Joseph Myers <joseph@codesourcery.com>
26453
5e908270
JM
26454 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
26455
f71172e5
JM
26456 * math/libm-test.inc (struct test_fF_f1_data): Change type of
26457 extra_test to int.
26458 (struct test_f_i_data): Change type of max_ulp to int.
26459
8cfa635a
JM
26460 * math/libm-test.inc (test_ffI_f1_data): New type.
26461 (RUN_TEST_LOOP_ffI_f1): New macro.
26462 (remquo_test_data): New variable.
26463 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
26464
2bcb36b2
JM
26465 * setjmp/tst-setjmp-fp.c: New file.
26466 * setjmp/Makefile (tests): Add tst-setjmp-fp.
26467 (link-libm): New variable.
26468 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
26469
acbd839a
JM
26470 * math/libm-test.inc (struct test_f_i_data): New type.
26471 (RUN_TEST_LOOP_f_i): New macro.
26472 (RUN_TEST_LOOP_f_i_tg): Likewise.
26473 (fpclassify_test_data): New variable.
26474 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
26475 (ilogb_test_data): New variable.
26476 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
26477
e414d745
JM
26478 * math/libm-test.inc (scalbln_test): Correct function name in END
26479 call.
26480
d9c2a0fd
JM
26481 * math/libm-test.inc (struct test_f_f1_data): Add comment.
26482 (RUN_TEST_LOOP_fI_f1): New macro.
26483 (frexp_test_data): New variable.
26484 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
26485
9dc9095d
JM
26486 * math/libm-test.inc (struct test_fF_f1_data): New type.
26487 (RUN_TEST_LOOP_fF_f1): New macro.
26488 (modf_test_data): New variable.
26489 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
26490
87aa21df
JM
26491 * math/libm-test.inc (struct test_f_f1_data): New type.
26492 (RUN_TEST_LOOP_f_f1): New macro.
26493 (gamma_test_data): New variable.
26494 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
26495 (lgamma_test_data): New variable.
26496 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
26497
141af660
CD
264982013-05-13 Carlos O'Donell <carlos@redhat.com>
26499
26500 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
26501 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
26502 (main): Comment "tls" pseudo-hwcap.
26503
6d33265c
JM
265042013-05-13 Joseph Myers <joseph@codesourcery.com>
26505
68fc074c
JM
26506 * math/libm-test.inc (struct test_fl_f_data): New type.
26507 (RUN_TEST_LOOP_fl_f): New variable.
26508 (scalbln_test_data): New variable.
26509 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
26510
243216e1
JM
26511 * math/libm-test.inc (struct test_fi_f_data): New type.
26512 (RUN_TEST_LOOP_fi_f): New macro.
26513 (ldexp_test_data): New variable.
26514 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
26515 (scalbn_test_data): New variable.
26516 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
26517
6a1992e2
JM
26518 * math/libm-test.inc (struct test_c_f_data): New type.
26519 (RUN_TEST_LOOP_c_f): New macro.
26520 (cabs_test_data): New variable.
26521 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
26522 (carg_test_data): New variable.
26523 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
26524 (cimag_test_data): New variable.
26525 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
26526 (creal_test_data): New variable.
26527 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
26528
0e400df5
JM
26529 * math/libm-test.inc (struct test_if_f_data): New type.
26530 (RUN_TEST_LOOP_if_f): New macro.
26531 (jn_test_data): New variable.
26532 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
26533 (yn_test_data): New variable.
26534 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
26535
6d33265c
JM
26536 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
26537
f98ece5f
AZ
265382013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26539
26540 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
26541 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
26542
0f7d347b
SP
265432013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26544
43fe811b
SP
26545 * benchtests/Makefile (CPPFLAGS-nonlib): Add
26546 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
26547 (bench-deps): Add bench-timing.h.
26548 * benchtests-bench-skeleton.c: Include bench-timing.h.
26549 (main): Use TIMING_* macros instead of clock_gettime.
26550 * benchtests/bench-timing.h: New file.
26551
0f7d347b
SP
26552 [BZ #14582]
26553 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
26554 Renamed from _LIB_VERSION.
26555 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
26556
601a3a5f
JM
265572013-05-12 Joseph Myers <joseph@codesourcery.com>
26558
4f184d30
JM
26559 * math/libm-test.inc (struct test_fff_f_data): New type.
26560 (RUN_TEST_LOOP_fff_f): New macro.
26561 (fma_test_data): New variable.
26562 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
26563 (fma_towardzero_test_data): New variable.
26564 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
26565 (fma_downward_test_data): New variable.
26566 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
26567 (fma_upward_test_data): New variable.
26568 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
26569
08198877
JM
26570 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
26571 (struct test_c_c_data): New type.
26572 (RUN_TEST_LOOP_c_c): New macro.
26573 (cacos_test_data): New variable.
26574 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
26575 (cacosh_test_data): New variable.
26576 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
26577 (casin_test_data): New variable.
26578 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
26579 (casinh_test_data): New variable.
26580 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
26581 (catan_test_data): New variable.
26582 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
26583 (catanh_test_data): New variable.
26584 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
26585 (ccos_test_data): New variable.
26586 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
26587 (ccosh_test_data): New variable.
26588 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
26589 (cexp_test_data): New variable.
26590 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
26591 (clog_test_data): New variable.
26592 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
26593 (clog10_test_data): New variable.
26594 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
26595 (conj_test_data): New variable.
26596 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
26597 (cproj_test_data): New variable.
26598 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
26599 (csin_test_data): New variable.
26600 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
26601 (csinh_test_data): New variable.
26602 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
26603 (csqrt_test_data): New variable.
26604 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
26605 (ctan_test_data): New variable.
26606 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
26607 (ctan_tonearest_test_data): New variable.
26608 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26609 (ctan_towardzero_test_data): New variable.
26610 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26611 (ctan_downward_test_data): New variable.
26612 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26613 (ctan_upward_test_data): New variable.
26614 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26615 (ctanh_test_data): New variable.
26616 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
26617 (ctanh_tonearest_test_data): New variable.
26618 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26619 (ctanh_towardzero_test_data): New variable.
26620 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26621 (ctanh_downward_test_data): New variable.
26622 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26623 (ctanh_upward_test_data): New variable.
26624 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26625 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
26626 of BUILD_COMPLEX.
26627
601a3a5f
JM
26628 * math/libm-test.inc (struct test_ff_f_data): New type.
26629 (struct test_ff_f_data_nexttoward): Likewise.
26630 (RUN_TEST_LOOP_2_f): New macro.
26631 (RUN_TEST_LOOP_ff_f): Likewise.
26632 (atan2_test_data): New variable.
26633 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
26634 (copysign_test_data): New variable.
26635 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
26636 (fdim_test_data): New variable.
26637 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
26638 (fmax_test_data): New variable.
26639 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
26640 (fmin_test_data): New variable.
26641 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
26642 (fmod_test_data): New variable.
26643 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
26644 (hypot_test_data): New variable.
26645 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
26646 (nextafter_test_data): New variable.
26647 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
26648 (nexttoward_test_data): New variable.
26649 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
26650 (pow_test_data): New variable.
26651 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
26652 (pow_tonearest_test_data): New variable.
26653 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
26654 (pow_towardzero_test_data): New variable.
26655 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
26656 (pow_downward_test_data): New variable.
26657 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
26658 (pow_upward_test_data): New variable.
26659 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
26660 (remainder_test_data): New variable.
26661 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
26662 (scalb_test_data): New variable.
26663 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
26664 * sysdeps/i386/fpu/libm-test-ulps: Update.
26665
74c57478
JM
266662013-05-11 Joseph Myers <joseph@codesourcery.com>
26667
8329e4da
JM
26668 * math/libm-test.inc (fma_test): Use max_value instead of local
26669 variable fltmax.
26670 (nextafter_test): Likewise.
26671
74c57478
JM
26672 * math/libm-test.inc (acos_towardzero_test_data): New variable.
26673 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26674 (acos_downward_test_data): New variable.
26675 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26676 (acos_upward_test_data): New variable.
26677 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26678 (acosh_test_data): New variable.
26679 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
26680 (asin_test_data): New variable.
26681 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
26682 (asin_tonearest_test_data): New variable.
26683 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26684 (asin_towardzero_test_data): New variable.
26685 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26686 (asin_downward_test_data): New variable.
26687 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26688 (asin_upward_test_data): New variable.
26689 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26690 (asinh_test_data): New variable.
26691 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
26692 (atan_test_data): New variable.
26693 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
26694 (atanh_test_data): New variable.
26695 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
26696 (cbrt_test_data): New variable.
26697 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
26698 (ceil_test_data): New variable.
26699 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
26700 (cos_test_data): New variable.
26701 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
26702 (cos_tonearest_test_data): New variable.
26703 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26704 (cos_towardzero_test_data): New variable.
26705 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26706 (cos_downward_test_data): New variable.
26707 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26708 (cos_upward_test_data): New variable.
26709 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26710 (cosh_test_data): New variable.
26711 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
26712 (cosh_tonearest_test_data): New variable.
26713 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26714 (cosh_towardzero_test_data): New variable.
26715 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26716 (cosh_downward_test_data): New variable.
26717 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26718 (cosh_upward_test_data): New variable.
26719 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26720 (erf_test_data): New variable.
26721 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
26722 (erfc_test_data): New variable.
26723 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
26724 (exp_test_data): New variable.
26725 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
26726 (exp_tonearest_test_data): New variable.
26727 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26728 (exp_towardzero_test_data): New variable.
26729 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26730 (exp_downward_test_data): New variable.
26731 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26732 (exp_upward_test_data): New variable.
26733 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26734 (exp10_test_data): New variable.
26735 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
26736 (exp2_test_data): New variable.
26737 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
26738 (expm1_test_data): New variable.
26739 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
26740 (fabs_test_data): New variable.
26741 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
26742 (floor_test_data): New variable.
26743 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
26744 (j0_test_data): New variable.
26745 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
26746 (j1_test_data): New variable.
26747 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
26748 (log_test_data): New variable.
26749 (log_test): Run tests with RUN_TEST_LOOP_f_f.
26750 (log10_test_data): New variable.
26751 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
26752 (log1p_test_data): New variable.
26753 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
26754 (log2_test_data): New variable.
26755 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
26756 (logb_test_data): New variable.
26757 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
26758 (logb_downward_test_data): New variable.
26759 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26760 (nearbyint_test_data): New variable.
26761 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
26762 (rint_test_data): New variable.
26763 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
26764 (rint_tonearest_test_data): New variable.
26765 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26766 (rint_towardzero_test_data): New variable.
26767 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26768 (rint_downward_test_data): New variable.
26769 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26770 (rint_upward_test_data): New variable.
26771 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26772 (round_test_data): New variable.
26773 (round_test): Run tests with RUN_TEST_LOOP_f_f.
26774 (sin_test_data): New variable.
26775 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
26776 (sin_tonearest_test_data): New variable.
26777 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26778 (sin_towardzero_test_data): New variable.
26779 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26780 (sin_downward_test_data): New variable.
26781 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26782 (sin_upward_test_data): New variable.
26783 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26784 (sinh_test_data): New variable.
26785 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
26786 (sinh_tonearest_test_data): New variable.
26787 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26788 (sinh_towardzero_test_data): New variable.
26789 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26790 (sinh_downward_test_data): New variable.
26791 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26792 (sinh_upward_test_data): New variable.
26793 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26794 (sqrt_test_data): New variable.
26795 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
26796 (tan_test_data): New variable.
26797 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
26798 (tan_tonearest_test_data): New variable.
26799 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26800 (tan_towardzero_test_data): New variable.
26801 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26802 (tan_downward_test_data): New variable.
26803 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26804 (tan_upward_test_data): New variable.
26805 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26806 (tanh_test_data): New variable.
26807 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
26808 (tgamma_test_data): New variable.
26809 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
26810 (trunc_test_data): New variable.
26811 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
26812 (y0_test_data): New variable.
26813 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
26814 (y1_test_data): New variable.
26815 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
26816 (significand_test_data): New variable.
26817 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
26818
7187d844
CG
268192013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
26820
26821 [BZ #12387]
26822 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
26823
f63fae73
PT
268242013-05-10 Pino Toscano <toscano.pino@tiscali.it>
26825
26826 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
26827
8a67a4b3
AJ
268282013-05-10 Andreas Jaeger <aj@suse.de>
26829
26830 [BZ #15448]
26831 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
26832 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
26833
51df539d
JM
268342013-05-10 Joseph Myers <joseph@codesourcery.com>
26835
26836 * math/gen-libm-test.pl (adjust_arg): New function.
26837 (special_functions): Handle generating output in both functions
26838 and arrays.
26839 (parse_args): Likewise.
26840 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
26841 $in_func argument to parse_args.
26842 * math/libm-test.inc (struct test_f_f_data): New type.
26843 (IF_ROUND_INIT_): New macro.
26844 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
26845 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26846 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26847 (IF_ROUND_INIT_FE_UPWARD): Likewise.
26848 (ROUND_RESTORE_): Likewise.
26849 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
26850 (ROUND_RESTORE_FE_TONEAREST): Likewise.
26851 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
26852 (ROUND_RESTORE_FE_UPWARD): Likewise.
26853 (RUN_TEST_LOOP_f_f): New macro.
26854 (acos_test_data): New variable.
26855 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
26856 (acos_tonearest_test_data): New variable.
26857 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26858
5c637fe5
SP
268592013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26860
26861 * benchtests/bench-skeleton.c (startup): Fix coding style.
26862
ab2b9461
JM
268632013-05-10 Joseph Myers <joseph@codesourcery.com>
26864
26865 [BZ #6809]
26866 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
26867 negative infinity argument.
26868 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
26869 negative infinity argument.
26870 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
26871 negative infinity argument.
26872 * math/libm-test.inc (tgamma_test): Expect errno to be set for
26873 domain errors.
26874
4c0fe6fe
FW
268752013-05-10 Florian Weimer <fweimer@redhat.com>
26876
26877 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
26878 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
26879 * iconv/iconv_prog.c (main): Likewise.
26880 * locale/programs/charmap-dir.c (charmap_readdir)
26881 (fopen_uncompressed): Likewise.
26882 * locale/programs/locfile.c (siblings_uncached)
26883 (write_locale_data): Use lstat64 instead of lstat.
26884 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
26885 stat.
26886
a3375d29
AJ
268872013-05-10 Andreas Jaeger <aj@suse.de>
26888
26889 [BZ #15395]
26890 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
26891 localization.
26892 Include <locale.h>.
26893
36129722
CD
268942013-05-09 Carlos O'Donell <carlos@redhat.com>
26895
26896 * elf/dl-close.c (_dl_close_worker): Add comments.
26897
faa7f811
JM
268982013-05-09 Joseph Myers <joseph@codesourcery.com>
26899
ed41ffef
JM
26900 [BZ #15359]
26901 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
26902 high part of pi/2.
26903 (__ieee754_rem_pio2l): Update comments.
26904
d0213cd0
JM
26905 [BZ #15429]
26906 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
26907 high part of pi/2.
26908 (__ieee754_rem_pio2l): Update comments.
26909
0d3e777a
JM
26910 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
26911 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
26912
24f56066
JM
26913 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
26914 M_PI_4l.
26915
faa7f811
JM
26916 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
26917 (M_PI_34_LOG10El): Likewise.
26918 (M_PI2_LOG10El): Likewise.
26919 (M_PI4_LOG10El): Likewise.
26920 (M_PI_LOG10El): Likewise.
26921
e9a5e0fd
AZ
269222013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26923
26924 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26925
d8cd06db
JM
269262013-05-08 Joseph Myers <joseph@codesourcery.com>
26927
a0d9f9d7
JM
26928 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
26929 (MINUS_ZERO_INIT): Likewise.
26930 (PLUS_INFTY_INIT): Likewise.
26931 (MINUS_INFTY_INIT): Likewise.
26932 (QNAN_VALUE_INIT): Likewise.
26933 (MAX_VALUE_INIT): Likewise.
26934 (MIN_VALUE_INIT): Likewise.
26935 (MIN_SUBNORM_VALUE_INIT): Likewise.
26936 (plus_zero): Initialize with PLUS_ZERO_INIT.
26937 (minus_zero): Initialize with MINUS_ZERO_INIT.
26938 (plus_infty): Initialize with PLUS_INFTY_INIT.
26939 (minus_infty): Initialize with MINUS_INFTY_INIT.
26940 (qnan_value): Initialize with QNAN_VALUE_INIT.
26941 (max_value): Initialize with MAX_VALUE_INIT.
26942 (min_value): Initialize with MIN_VALUE_INIT.
26943 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
26944
ae08db3b
JM
26945 * math/libm-test.inc (RUN_TEST_if_f): New macro.
26946 (jn_test): Use TEST_if_f instead of TEST_ff_f.
26947 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
26948 (yn_test): Use TEST_if_f instead of TEST_ff_f.
26949
f44bf14a
JM
26950 * math/libm-test.inc (RUN_TEST_f_f): New macro.
26951 (RUN_TEST_2_f): Likewise.
26952 (RUN_TEST_ff_f): Likewise.
26953 (RUN_TEST_fi_f): Likewise.
26954 (RUN_TEST_fl_f): Likewise.
26955 (RUN_TEST_fff_f): Likewise.
26956 (RUN_TEST_c_f): Likewise.
26957 (RUN_TEST_f_f1): Likewise.
26958 (RUN_TEST_fF_f1): Likewise.
26959 (RUN_TEST_fI_f1): Likewise.
26960 (RUN_TEST_ffI_f1): Likewise.
26961 (RUN_TEST_c_c): Likewise.
26962 (RUN_TEST_cc_c): Likewise.
26963 (RUN_TEST_f_i): Likewise.
26964 (RUN_TEST_f_i_tg): Likewise.
26965 (RUN_TEST_ff_i_tg): Likewise.
26966 (RUN_TEST_f_b): Likewise.
26967 (RUN_TEST_f_b_tg): Likewise.
26968 (RUN_TEST_f_l): Likewise.
26969 (RUN_TEST_f_L): Likewise.
26970 (RUN_TEST_sincos): Likewise.
26971 * math/gen-libm-test.pl (new_test): Take new argument to indicate
26972 whether to show exceptions. Do not include ");\n" in return
26973 value.
26974 (special_functions): Output call to RUN_TEST_sincos instead of
26975 check_float calls. Update calls to new_test.
26976 (parse_args): Output call to single RUN_TEST_* macro instead of
26977 check_* calls and other assignments. Update calls to new_test.
26978
d8cd06db
JM
26979 [BZ #2546]
26980 [BZ #2560]
26981 [BZ #5159]
26982 [BZ #15426]
26983 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
26984 input to result for tgamma overflow.
26985 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
26986 (gamma_coeff): New variable.
26987 (NCOEFF): New macro.
26988 (gamma_positive): New function.
26989 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
26990 underflow here. Use gamma_positive instead of exp (lgamma) for
26991 other arguments.
26992 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
26993 (gamma_coeff): New variable.
26994 (NCOEFF): New macro.
26995 (gammaf_positive): New function.
26996 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
26997 underflow here. Use gamma_positive instead of exp (lgamma) for
26998 other arguments.
26999 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
27000 (gamma_coeff): New variable.
27001 (NCOEFF): New macro.
27002 (gammal_positive): New function.
27003 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
27004 underflow here. Use gamma_positive instead of exp (lgamma) for
27005 other arguments.
27006 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
27007 (gamma_coeff): New variable.
27008 (NCOEFF): New macro.
27009 (gammal_positive): New function.
27010 (__ieee754_gammal_r): Handle positive infinity, overflow and
27011 underflow here. Handle NaN the same as positive infinity. Remove
27012 check x < 0xffffffff for negative integers. Use gamma_positive
27013 instead of exp (lgamma) for other arguments.
27014 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
27015 (gamma_coeff): New variable.
27016 (NCOEFF): New macro.
27017 (gammal_positive): New function.
27018 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
27019 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
27020 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
27021 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
27022 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
27023 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
27024 * sysdeps/generic/math_private.h (__gamma_productf): New
27025 prototype.
27026 (__gamma_product): Likewise.
27027 (__gamma_productl): Likewise.
27028 * math/Makefile (libm-calls): Add gamma_product.
27029 * math/libm-test.inc (tgamma_test): Add more tests.
27030 * sysdeps/i386/fpu/libm-test-ulps: Update.
27031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27032
bb7cf681
OB
270332013-05-08 Ondřej Bílka <neleai@seznam.cz>
27034
27035 * benchtests/bench-skeleton.c (main): Preheat CPU.
27036
ba853947
AJ
270372013-05-07 Aurelien Jarno <aurelien@aurel32.net>
27038
27039 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
27040
8347c74c
RM
270412013-05-07 Roland McGrath <roland@hack.frob.com>
27042
27043 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
27044 and _dl_skip_args_internal.
27045
e8dd4791
CD
270462013-05-07 Carlos O'Donell <carlos@redhat.com>
27047
27048 * manual/message.texi (Message Translation): Talk about users.
27049 Message to key mapping impacts design.
27050
c7405830
RM
270512013-05-06 Roland McGrath <roland@hack.frob.com>
27052
a9173057
RM
27053 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
27054
976e2f03
RM
27055 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
27056
9723ffc5
RM
27057 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
27058 * sysdeps/wordsize-64/glob64.c: ... here.
27059
962e6658
RM
27060 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
27061 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
27062 New macros.
27063
ee586a6d
RM
27064 * debug/getlogin_r_chk.c: Moved to ...
27065 * login/getlogin_r_chk.c: ... here.
27066 * debug/Makefile (routines): Move getlogin_r_chk to ...
27067 * login/Makefile (routines): ... here.
27068 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
27069 * login/Versions (libc: GLIBC_2.4): ... here.
27070
355f9165
RM
27071 * io/poll.c (__poll): Renamed from poll.
27072 Add libc_hidden_def.
27073 (poll): Define as weak alias.
27074
bd9ffde6
RM
27075 * debug/ptsname_r_chk.c: Moved to ...
27076 * login/ptsname_r_chk.c: ... here.
27077 * debug/Makefile (routines): Move ptsname_r_chk to ...
27078 * login/Makefile (routines): ... here.
27079 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
27080 * login/Versions (libc: GLIBC_2.4): ... here.
27081
8fb16a04
RM
27082 * posix/getlogin.c: Moved to ...
27083 * login/getlogin.c: ... here.
27084 * posix/getlogin_r.c: Moved to ...
27085 * login/getlogin_r.c: ... here.
27086 * posix/getlogin_r.c: Moved to ...
27087 * login/getlogin_r.c: ... here.
27088 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
27089 * login/Makefile (routines): ... here.
27090 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
27091 * login/Versions (libc: GLIBC_2.0): ... here.
27092
b99b892f
RM
27093 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
27094 (setrlimit): Define as weak alias.
27095
c7405830
RM
27096 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
27097 Call __ names for open, ftruncate, and close.
27098 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
27099 (truncate): Define as weak alias.
27100
5bf96de5
JM
271012013-05-06 Joseph Myers <joseph@codesourcery.com>
27102
9ea3513c
JM
27103 * math/gen-libm-test.pl (parse_args): Initialize x before each
27104 test of frexp, modf and remquo.
27105
5bf96de5
JM
27106 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
27107 test signgam value.
27108
16e616a7
AZ
271092013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27110
27111 [BZ #15418]
27112 [BZ #15419]
27113 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
27114 internal tests.
27115 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27116
d5e82754
RM
271172013-05-06 Roland McGrath <roland@hack.frob.com>
27118
27119 * elf/dl-writev.h: New file.
27120 * elf/dl-misc.c: Include it.
27121 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
27122 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
27123
a7548d41
JM
271242013-05-04 Joseph Myers <joseph@codesourcery.com>
27125
b7dab1e4
JM
27126 * math/libm-test.inc (noXFails): Remove variable.
27127 (noXPasses): Likewise.
27128 (BUILD_COMPLEX_INT): Remove macro.
27129 (print_screen): Remove xfail argument.
27130 (print_screen_max_error): Likewise.
27131 (update_stats): Likewise.
27132 (print_max_error): Likewise. Update calls to other affected
27133 functions.
27134 (print_complex_max_error): Likewise.
27135 (test_single_exception): Update calls to print_screen.
27136 (test_single_errno): Likewise.
27137 (check_float_internal): Remove xfail argument. Update calls to
27138 other affected functions.
27139 (check_float): Likewise.
27140 (check_complex): Likewise.
27141 (check_int): Likewise.
27142 (check_long): Likewise.
27143 (check_bool): Likewise.
27144 (check_longlong): Likewise.
27145 (main): Don't print noXFails and noXPasses.
27146 * math/gen-libm-test.pl (top level): Don't mention expected
27147 failure handling in comment.
27148 (new_test): Don't handle expected failures.
27149 (parse_args): Don't mention expected failure handling in comment.
27150 (generate_testfile): Don't handle expected failures.
27151 (parse_ulps): Likewise.
27152 (print_ulps_file): Likewise.
27153 (get_failure): Remove function.
27154 (output_test): Don't handle expected failures.
27155 * make/README.libm-test: Don't mention expected failure handling.
27156
a7548d41
JM
27157 * math/libm-test.inc (plus_zero): Make const. Add initializer.
27158 (minus_zero): Likewise.
27159 (plus_infty): Likewise.
27160 (minus_infty): Likewise.
27161 (qnan_value): Likewise.
27162 (max_value): Likewise.
27163 (min_value): Likewise.
27164 (min_subnorm_value): Likewise.
27165 (initialize): Do not initialize those variables dynamically.
27166
60bfd54c
RM
271672013-05-03 Roland McGrath <roland@hack.frob.com>
27168
cc0e6ed8
RM
27169 * io/open.c (__open_2): Moved to ...
27170 * io/open_2.c: ... this new file.
27171 * io/open64.c (__open64_2): Moved to ...
27172 * io/open64_2.c: ... this new file.
27173 * io/openat.c (__openat_2): Moved to ...
27174 * io/openat_2.c: ... this new file.
27175 * io/openat64.c (__openat64_2): Moved to ...
27176 * io/openat64_2.c: ... this new file.
27177 * io/Makefile (routines): Add them.
27178 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
27179 * sysdeps/unix/sysv/linux/open_2.c: File removed.
27180 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
27181 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
27182 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
27183 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
27184 (__openat64): Add hidden_ver.
27185 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
27186 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
27187
60bfd54c
RM
27188 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
27189 Separately conditionalize setting of GLRO(dl_sysinfo) so
27190 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
27191 as well, but the actual setting is only under [NEED_DL_SYSINFO].
27192
83e7640f
AZ
271932013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27194
27195 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
27196 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
27197 definition.
27198 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
27199 * sysdeps/unix/sysv/linux/powerpc/init-first.c
27200 (_libc_vdso_platform_setup): Add __vdso_time initialization.
27201 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
27202 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
27203
d5dc2af3
JM
272042013-05-03 Joseph Myers <joseph@codesourcery.com>
27205
c31a5b1e
JM
27206 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
27207 test signgam value.
27208
d5dc2af3
JM
27209 * math/libm-test.inc (hypot_test): Do not use
27210 IGNORE_ZERO_INF_SIGN.
27211
164fd39d
AJ
272122013-05-03 Andreas Jaeger <aj@suse.de>
27213
27214 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
27215 Linux 3.9.
27216 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
27217 (PF_MAX): Adjust for VSOCK change.
27218
8237f48c
AZ
272192013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27220
27221 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27222
9df02941
CD
272232013-05-02 Carlos O'Donell <carlos@redhat.com>
27224
27225 [BZ #15264]
27226 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
27227 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
27228 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
27229
d422395e
DM
272302013-05-02 David S. Miller <davem@davemloft.net>
27231
27232 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27233
a07c5731
OB
272342013-05-01 Ondřej Bílka <neleai@seznam.cz>
27235
27236 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
27237
1324e37f
RM
272382013-05-01 Roland McGrath <roland@hack.frob.com>
27239
27240 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
27241
0695940b
RS
272422013-05-01 Richard Smith <richard@metafoo.co.uk>
27243
bb5f27ad 27244 [BZ #14952]
0695940b
RS
27245 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
27246 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27247 Use __attribute__ ((__gnu_inline__)).
27248 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27249 Don't use __attribute__ ((__gnu_inline__)).
27250
10de07f5
JM
272512013-05-01 Joseph Myers <joseph@codesourcery.com>
27252
27253 [BZ #15423]
27254 * math/s_catan.c (__catan): Handle small real or imaginary part of
27255 input specially to avoid spurious underflow.
27256 * math/s_catanf.c (__catanf): Likewise.
27257 * math/s_catanh.c (__catanh): Likewise.
27258 * math/s_catanhf.c (__catanhf): Likewise.
27259 * math/s_catanhl.c (__catanhl): Likewise.
27260 * math/s_catanl.c (__catanl): Likewise.
27261 * math/libm-test.inc (catan_test): Add more tests.
27262 (catanh_test): Likewise.
27263 * sysdeps/i386/fpu/libm-test-ulps: Update.
27264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27265
cb4d5414
AZ
272662013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27267
27268 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27269
caf84319
JM
272702013-04-30 Joseph Myers <joseph@codesourcery.com>
27271
27272 [BZ #15416]
27273 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
27274 accurately for denominator in atan2.
27275 * math/s_catanf.c (__catanf): Likewise.
27276 * math/s_catanh.c (__catanh): Likewise.
27277 * math/s_catanhf.c (__catanhf): Likewise.
27278 * math/s_catanhl.c (__catanhl): Likewise.
27279 * math/s_catanl.c (__catanl): Likewise.
27280 * math/libm-test.inc (catan_test): Add more tests.
27281 (catanh_test): Likewise.
27282 * sysdeps/i386/fpu/libm-test-ulps: Update.
27283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27284
d569c6ee
SP
272852013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27286
6dbe713d
SP
27287 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
27288
f0ee064b
SP
27289 * benchtests/Makefile (bench): Remove slow benchmarks.
27290 * benchtests/atan-inputs: Add slow benchmark inputs.
27291 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
27292 (BENCH_FUNC): Accept variant offset.
27293 (VARIANT): Define.
27294 * benchtests/bench-skeleton.c (main): Run benchmark for each
27295 variant.
27296 * benchtests/cos-inputs: Add slow benchmark inputs.
27297 * benchtests/exp-inputs: Likewise.
27298 * benchtests/pow-inputs: Likewise.
27299 * benchtests/sin-inputs: Likewise.
27300 * benchtests/slowatan-inputs: Remove.
27301 * benchtests/slowatan.c: Remove.
27302 * benchtests/slowcos-inputs: Remove.
27303 * benchtests/slowcos.c: Remove.
27304 * benchtests/slowexp-inputs: Remove.
27305 * benchtests/slowexp.c: Remove.
27306 * benchtests/slowpow-inputs: Remove.
27307 * benchtests/slowpow.c: Remove.
27308 * benchtests/slowsin-inputs: Remove.
27309 * benchtests/slowsin.c: Remove.
27310 * benchtests/slowtan-inputs: Remove.
27311 * benchtests/slowtan.c: Remove.
27312 * benchtests/tan-inputs: Add slow benchmark inputs.
27313 * scripts/bench.pl: Parse comments and directives.
27314
d569c6ee
SP
27315 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
27316 in CPPFLAGS.
27317 ($(objpfx)bench-%.c): Remove *-ITER.
27318 * benchtests/bench-modf.c: Remove definition of ITER.
27319 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
27320 (main): Loop for DURATION seconds instead of fixed number of
27321 iterations.
27322 * scripts/bench.pl: Don't expect iterations in parameters.
27323
a6a242fe
RM
273242013-04-29 Roland McGrath <roland@hack.frob.com>
27325
27326 * io/fchdir.c (__fchdir): Renamed from fchdir.
27327 (fchdir): Define as weak alias.
27328
f2da7793
JM
273292013-04-29 Joseph Myers <joseph@codesourcery.com>
27330
27331 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
27332 (ERRNO_EDOM): Likewise.
27333 (ERRNO_ERANGE): Likewise.
27334 (noErrnoTests): New variable.
27335 (init_max_error): Set errno to 0.
27336 (test_single_errno): New function.
27337 (test_errno): Likewise.
27338 (check_float_internal): Call test_errno. Set errno to 0.
27339 (check_complex): Refer to errno tests in comment.
27340 (check_int): Call test_errno. Set errno to 0.
27341 (check_long): Likewise.
27342 (check_bool): Likewise.
27343 (check_longlong): Likewise.
27344 (cos_test): Use ERRNO_* flags for errno tests instead of
27345 check_int.
27346 (expm1_test): Likewise.
27347 (fmod_test): Likewise.
27348 (ilogb_test): Likewise.
27349 (lgamma_test): Likewise.
27350 (pow_test): Likewise.
27351 (remainder_test): Likewise.
27352 (sin_test): Likewise.
27353 (tan_test): Likewise.
27354 (yn_test): Likewise.
27355 (initialize): Set errno to 0.
27356 (main): Print number of errno tests.
27357 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
27358
b1a36ceb
AJ
273592013-04-29 Andreas Jaeger <aj@suse.de>
27360
c3ed8088
AJ
27361 [BZ #15084]
27362 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
27363 and RES_USEVC.
27364
f1a24198
AJ
27365 [BZ #15085]
27366 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
27367 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
27368 unimplemented.
27369
9ce3b2cb
AJ
27370 [BZ #15380]
27371 * stdlib/random.c (__initstate): Return NULL if
27372 __initstate fails.
27373
f1a24198 27374 [BZ #15086]
b1a36ceb
AJ
27375 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
27376 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
27377 RES_SNGLKUPREOP.
27378
7e7b6f36
AZ
273792013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27380
27381 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27382
4d14f449
JM
273832013-04-29 Joseph Myers <joseph@codesourcery.com>
27384
27385 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
27386 of individual tests.
27387 (casin_test): Likewise.
27388 (casinh_test): Likewise.
27389
5b4217d7
JM
273902013-04-27 Joseph Myers <joseph@codesourcery.com>
27391
27392 [BZ #15409]
27393 * math/s_catan.c (__catan): Handle arguments with large real or
27394 imaginary part separately without squaring.
27395 * math/s_catanf.c (__catanf): Likewise.
27396 * math/s_catanh.c (__catanh): Likewise.
27397 * math/s_catanhf.c (__catanhf): Likewise.
27398 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27399 and redefine.
27400 (__catanhl): Handle arguments with large real or imaginary part
27401 separately without squaring.
27402 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27403 and redefine.
27404 (__catanl): Handle arguments with large real or imaginary part
27405 separately without squaring.
27406 * math/libm-test.inc (catan_test): Add more tests.
27407 (catanh_test): Likewise.
27408 * sysdeps/i386/fpu/libm-test-ulps: Update.
27409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27410
4220c3ef
AJ
274112013-04-27 Andreas Jaeger <aj@suse.de>
27412
27413 [BZ #15007]
27414 * stdlib/stdlib.h: Update guards for qecvt.
27415 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
27416 <stdlib.h>.
27417
4721b2d1
AM
274182013-04-27 Allan McRae <allan@archlinux.org>
27419
27420 * sysdeps/i386/fpu/libm-test-ulps: Update.
27421
f0302940
JM
274222013-04-26 Joseph Myers <joseph@codesourcery.com>
27423
9457fd95
JM
27424 [BZ #15406]
27425 * math/s_catan.c: Include <float.h>.
27426 (__catan): Ensure underflow exception occurs for underflowed
27427 result.
27428 * math/s_catanf.c: Include <float.h>.
27429 (__catanf): Ensure underflow exception occurs for underflowed
27430 result.
27431 * math/s_catanh.c: Include <float.h>.
27432 (__catanh): Ensure underflow exception occurs for underflowed
27433 result.
27434 * math/s_catanhf.c: Include <float.h>.
27435 (__catanhf): Ensure underflow exception occurs for underflowed
27436 result.
27437 * math/s_catanhl.c: Include <float.h>.
27438 (__catanhl): Ensure underflow exception occurs for underflowed
27439 result.
27440 * math/s_catanl.c: Include <float.h>.
27441 (__catanl): Ensure underflow exception occurs for underflowed
27442 result.
27443 * math/libm-test.inc (catan_test): Add more tests.
27444 (catanh_test): Likewise.
27445
f0302940
JM
27446 [BZ #15405]
27447 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
27448 underflowed result.
27449 * math/s_ccoshf.c (__ccoshf): Likewise.
27450 * math/s_ccoshl.c (__ccoshl): Likewise.
27451 * math/s_csin.c (__csin): Likewise.
27452 * math/s_csinf.c (__csinf): Likewise.
27453 * math/s_csinh.c (__csinh): Likewise.
27454 * math/s_csinhf.c (__csinhf): Likewise.
27455 * math/s_csinhl.c (__csinhl): Likewise.
27456 * math/s_csinl.c (__csinl): Likewise.
27457 * math/libm-test.inc (ccos_test): Add more tests.
27458 (ccosh_test): Likewise.
27459 (csin_test): Likewise.
27460 (csinh_test): Likewise.
27461
aa630f59
AZ
274622013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27463
27464 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
27465 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
27466 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
27467 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
27468 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
27469 powerpc/power5+/fpu folders.
27470 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
27471
27472
1b835983
MT
274732013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
27474
27475 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27476
73709b26
JM
274772013-04-25 Joseph Myers <joseph@codesourcery.com>
27478
27479 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
27480 additions to variable.
27481 [$(config-machine) = x86_64] (modules-names): Likewise.
27482 ($(objpfx)tst-audit3): Remove dependency.
27483 ($(objpfx)tst-audit3.out): Likewise.
27484 ($(objpfx)tst-audit4): Likewise.
27485 ($(objpfx)tst-audit4.out): Likewise.
27486 ($(objpfx)tst-audit5): Likewise.
27487 ($(objpfx)tst-audit5.out): Likewise.
27488 ($(objpfx)tst-audit6): Likewise.
27489 ($(objpfx)tst-audit6.out): Likewise.
27490 ($(objpfx)tst-audit7): Likewise.
27491 ($(objpfx)tst-audit7.out): Likewise.
27492 (tst-audit3-ENV): Remove variable.
27493 (tst-audit4-ENV): Likewise.
27494 (tst-audit5-ENV): Likewise.
27495 (tst-audit6-ENV): Likewise.
27496 (tst-audit7-ENV): Likewise.
27497 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
27498 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
27499 addition to variable.
27500 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
27501 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
27502 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
27503 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
27504 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
27505 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
27506 tst-audit3, tst-audit4 and tst-audit5.
27507 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
27508 tst-audit6 and tst-audit7.
27509 [$(subdir) = elf] (modules-names): Add audit modules for those
27510 tests.
27511 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
27512 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
27513 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
27514 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
27515 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
27516 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
27517 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
27518 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
27519 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
27520 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
27521 [$(subdir) = elf] (tst-audit3-ENV): New variable.
27522 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
27523 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
27524 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
27525 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
27526 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
27527 Likewise.
27528 [$(subdir) = elf && $(config-cflags-avx) = yes]
27529 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
27530 [$(subdir) = elf && $(config-cflags-avx) = yes]
27531 (CFLAGS-tst-auditmod4a.c): Likewise.
27532 [$(subdir) = elf && $(config-cflags-avx) = yes]
27533 (CFLAGS-tst-auditmod4b.c): Likewise.
27534 [$(subdir) = elf && $(config-cflags-avx) = yes]
27535 (CFLAGS-tst-auditmod6b.c): Likewise.
27536 [$(subdir) = elf && $(config-cflags-avx) = yes]
27537 (CFLAGS-tst-auditmod6c.c): Likewise.
27538 [$(subdir) = elf && $(config-cflags-avx) = yes]
27539 (CFLAGS-tst-auditmod7b.c): Likewise.
27540 * elf/tst-audit3.c: Move to ...
27541 * sysdeps/x86_64/tst-audit3.c: ... here.
27542 * elf/tst-audit4.c: Move to ...
27543 * sysdeps/x86_64/tst-audit4.c: ... here.
27544 * elf/tst-audit5.c: Move to ...
27545 * sysdeps/x86_64/tst-audit5.c: ... here.
27546 * elf/tst-audit6.c: Move to ...
27547 * sysdeps/x86_64/tst-audit6.c: ... here.
27548 * elf/tst-audit7.c: Move to ...
27549 * sysdeps/x86_64/tst-audit7.c: ... here.
27550 * elf/tst-auditmod3a.c: Move to ...
27551 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
27552 * elf/tst-auditmod3b.c: Move to ...
27553 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
27554 * elf/tst-auditmod4a.c: Move to ...
27555 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
27556 * elf/tst-auditmod4b.c: Move to ...
27557 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
27558 * elf/tst-auditmod5a.c: Move to ...
27559 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
27560 * elf/tst-auditmod5b.c: Move to ...
27561 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
27562 * elf/tst-auditmod6a.c: Move to ...
27563 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
27564 * elf/tst-auditmod6b.c: Move to ...
27565 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
27566 * elf/tst-auditmod6c.c: Move to ...
27567 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
27568 * elf/tst-auditmod7a.c: Move to ...
27569 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
27570 * elf/tst-auditmod7b.c: Move to ...
27571 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
27572
1ef74943
PP
275732013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
27574
27575 [BZ #15366]
27576 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
27577 define unconditionally.
27578 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
27579 define unconditionally.
27580 (INT8_C, INT16_C, etc.): Likewise.
27581
93fd48c5
MR
275822013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
27583
ae9552cf
MR
27584 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
27585 __ehdr_start with hidden visibility.
27586
93fd48c5
MR
27587 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
27588
418601aa
CD
275892013-04-24 Carlos O'Donell <carlos@redhat.com>
27590
27591 * math/libm-test.inc (cos_test): Use accurate hex constants.
27592 (sincost_test): Likewise.
27593
2f38fbfe
JM
275942013-04-24 Joseph Myers <joseph@codesourcery.com>
27595
5e221800
JM
27596 * math/libm-test.inc (catan_test): Add more tests.
27597 (catanh_test): Likewise.
27598
77f143fd
JM
27599 * math/s_catanf.c (__catanf): Use suffixed floating-point
27600 constants.
27601 * math/s_catanhf.c (__catanhf): Likewise.
27602 * math/s_catanhl.c (__catanhl): Likewise.
27603 * math/s_catanl.c (__catanl): Likewise.
27604
2f38fbfe
JM
27605 [BZ #15394]
27606 * math/s_catan.c (__catan): Calculate imaginary part of result
27607 with log1p not log unless computing log of number close to 0.
27608 * math/s_catanf.c (__catanf): Likewise.
27609 * math/s_catanl.c (__catanl): Likewise.
27610 * math/s_catanh.c (__catanh): Calculate real part of result with
27611 log1p not log unless computing log of number close to 0.
27612 * math/s_catanhf.c (__catanhf): Likewise.
27613 * math/s_catanhl.c (__catanhl): Likewise.
27614 * math/libm-test.inc (catan_test): Add more tests.
27615 (catanh_test): Likewise.
27616 * sysdeps/i386/fpu/libm-test-ulps: Update.
27617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27618
45d69176
SP
276192013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
27620
27621 * benchtests/Makefile: Mention files in which fast and slow
27622 paths of math functions are implemented.
27623
87f51853
RM
276242013-04-23 Roland McGrath <roland@hack.frob.com>
27625
27626 * sysdeps/posix/timespec_get.c: New file.
27627
3c026539
AZ
276282013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27629
27630 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
27631 POWER.
27632 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
27633 for POWER.
27634 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
27635 powerpc/power5/fpu folders.
27636 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
27637 * benchtests/Makefile: Add modf testcase.
27638 * benchtests/bench-modf.c: New file: Benchmark test for mo
27639
ff491d14
SP
276402013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
27641
27642 [BZ #14888]
27643 * time/Makefile (tests): Add tst-strptime-whitespace.
27644 * time/strptime_l.c (get_number): Use ISSPACE.
27645 (__strptime_internal): Likewise.
27646 * time/tst-strptime-whitespace.c: New test case.
27647
7ed3f4e8
AS
276482013-04-23 Andreas Schwab <schwab@linux-m68k.org>
27649
27650 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
27651 member.
27652 (_nss_files_init): Set it here.
27653
5c95f7b6
HC
276542013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
27655
27656 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
27657 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
27658 unsigned.
27659
d34c9158
JBG
276602013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
27661
27662 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
27663
2169712d
SP
276642013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27665
27666 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
27667 size just once.
27668
29c5de99
DM
276692013-04-21 David S. Miller <davem@davemloft.net>
27670
27671 * po/ru.po: Update Russion translation from translation project.
27672
ccdad15d
AC
276732013-04-17 Adam Conrad <adconrad@0c3.net>
27674
27675 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
27676 and setfsgid.
27677
0f122b8d
CD
276782013-04-17 Carlos O'Donell <carlos@redhat.com>
27679
5c5b07da 27680 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 27681 * configure: Regenerate.
5c5b07da 27682 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
27683 Add example to error message.
27684 * sysdeps/i386/configure: Regenerate.
27685
037714dd
SP
276862013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27687
27688 * benchtests/Makefile (bench): Add cos, tan, slowcos and
27689 slowtan.
27690 * benchtests/cos-inputs: New file.
27691 * benchtests/slowcos-inputs: New file.
27692 * benchtests/slowcos.c: New file.
27693 * benchtests/slowtan-inputs: New file.
27694 * benchtests/slowtan.c: New file.
27695 * benchtests/tan-inputs: New file.
27696
e913141d
RM
276972013-04-16 Roland McGrath <roland@hack.frob.com>
27698
27699 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
27700 considered kosher.
27701
a2964074
SP
277022013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27703
4856bcd2
SP
27704 * benchtests/Makefile: Include cppflags-iterator.mk to add
27705 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
27706
a2964074
SP
27707 * Makefile.in (bench-clean): New target.
27708 * benchtests/Makefile (bench-clean): Likewise.
27709
9fbf9aca
DH
277102013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
27711
27712 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
27713
207d1e2a
TS
277142013-04-15 Thomas Schwinge <thomas@codesourcery.com>
27715
27716 * stdio-common/tstdiomisc.c: Fix coding-style violation.
27717
306dfba9
AS
277182013-04-15 Andreas Schwab <schwab@suse.de>
27719
27720 * nscd/grpcache.c (cache_addgr): Properly check for short write.
27721 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27722 * nscd/pwdcache.c (cache_addpw): Likewise.
27723 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
27724 more than recsize.
27725
206a6699
SP
277262013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27727
27728 * benchtests/Makefile (bench): Write all output to
27729 bench-out.tmp together.
27730
0582f6b3
AS
277312013-04-15 Andreas Schwab <schwab@suse.de>
27732
27733 * nscd/nscd.c (main): Don't fork again after closing files.
27734
acb4325f
SP
277352013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27736
5cb26d0a
SP
27737 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
27738
acb4325f
SP
27739 * benchtests/Rules (bench-deps): Collect dependencies into a
27740 single variable. Add Makefile to dependencies.
27741 ($(objpfx)bench-%.c): Depend on bench-deps.
27742
47792506
RM
277432013-04-12 Roland McGrath <roland@hack.frob.com>
27744 Xavier Roche <roche+kml2@exalead.com>
27745
27746 [BZ #15361]
27747 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
27748 just that it's a file descriptor.
27749 * manual/llio.texi (Synchronizing AIO Operations): Update description
27750 for EBADF error from aio_fsync.
27751
8fc1bee5
SP
277522013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
27753
27754 * Rules (bench): Move target definition...
27755 * benchtests/Makefile: ... here.
27756
aba5e333
CD
277572013-04-11 Carlos O'Donell <carlos@redhat.com>
27758
27759 * math/libm-test.inc (cos_test): Fix PI/2 test.
27760 (sincos_test): Likewise.
27761 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
27762 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
27763
273cdee8
AS
277642013-04-11 Andreas Schwab <schwab@suse.de>
27765
6ecec3b6
AS
27766 [BZ #13988]
27767 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
27768 accept exponent character only when digits were seen.
27769 * stdio-common/Makefile (tests): Add bug26.
27770 * stdio-common/bug26.c: New file.
27771
273cdee8
AS
27772 [BZ #14293]
27773 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
27774 non-freeable.
27775
8da491f5
SP
277762013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27777
01dc6df9
SP
27778 * Makeconfig (rtld-prefix): Define built linker prefix.
27779 * Rules (run-bench): Use it.
27780 * math/Makefile (run-regen-ulps): Likewise.
27781
8da491f5
SP
27782 * Rules (bench): Remove eval.
27783
abe7f530
SP
277842013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27785 Roland McGrath <roland@hack.frob.com>
27786 Ondrej Bilka <neleai@seznam.cz>
27787
27788 [BZ #15346]
27789 * time/getdate.c: Include ctype.h and alloca.h.
27790 (__getdate_r): Trim leading and trailing spaces of input.
27791 * time/tst-getdate.c (tests): Add tests with leading and
27792 trailing spaces.
27793
61c23e62
RM
277942013-04-08 Roland McGrath <roland@hack.frob.com>
27795
27796 [BZ #14280]
27797 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
27798 when computing value.
27799
7208a313
CD
278002013-04-06 Carlos O'Donell <carlos@redhat.com>
27801
085b2d41
CD
27802 * math/README.libm-test (How can I generate "libm-test-ulps"?):
27803 Use testrun.sh to run libm tests.
27804
7208a313
CD
27805 [BZ #15309]
27806 * elf/dl-open.c (dl_open_worker): memset all of seen array.
27807
872c0acd
MM
278082013-04-06 Marko Myllynen <myllynen@redhat.com>
27809
27810 [BZ #15264]
27811 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
27812
26510bdd
CD
278132013-04-06 Carlos O'Donell <carlos@redhat.com>
27814
27815 * Makefile.in (regen-ulps): New target.
27816 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
27817 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
27818 [ifneq (no,$(PERL)] (regen-ulps): New target.
27819 [ifeq (no,$(PERL)] (regen-ulps): New target.
27820 * math/libm-test.inc (ulps_file_name): Define.
27821 (output_dir): New variable.
27822 (options): Add "output-dir" option.
27823 (parse_opt): Handle 'o' case.
27824 (main): If output_dir is non-NULL use it as a prefix
27825 otherwise use "".
27826 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
27827
a01f19c8
CD
278282013-04-06 Carlos O'Donell <carlos@redhat.com>
27829
27830 [BZ #10060, #10062]
27831 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
27832 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
27833 fail configure if __sync_val_compare_and_swap is not inlined.
27834 * sysdeps/i386/configure: Regenerate.
27835 * configure.in: Build for i686 when configured for i386.
27836 * configure: Regenerate.
27837 * README: Remove i386 reference.
27838
b7a329a5
CD
278392013-04-06 Carlos O'Donell <carlos@redhat.com>
27840
27841 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
27842 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27843
bf0f50df
TS
278442013-04-05 Thomas Schwinge <thomas@codesourcery.com>
27845
ee091edf
TS
27846 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
27847 (lmsnanval): New variables.
27848 (F): Add conversion tests.
27849 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
27850 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
27851
a8b792d6
TS
27852 * stdio-common/tstdiomisc.c (F): Properly collect individual
27853 tests' results.
27854
a1cbf437
TS
27855 [BZ #14686, #15336]
27856 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
27857 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
27858 Instead, use input NaN values or generate a qNaN by arithmetic
27859 operation. Also fix bugs to comply with the standard.
27860 * math/libm-test.inc (remainder_test): Add more tests.
27861
8b43a0c9
TS
27862 [BZ #15335, #15342]
27863 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
27864 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
27865 input NaN values or generate a qNaN by arithmetic operation.
27866
d91da4ce
TS
27867 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
27868 unreachable code.
27869
bf0f50df
TS
27870 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
27871 definitions.
27872
05e166c8
JM
278732013-04-03 Joseph Myers <joseph@codesourcery.com>
27874
27875 [BZ #14478]
27876 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
27877 underflowed result.
27878 * math/s_cexpf.c (__cexpf): Likewise.
27879 * math/s_cexpl.c (__cexpl): Likewise.
27880 * math/libm-test.inc (cexp_test): Add more tests.
27881
1cef1b19
AS
278822013-04-03 Andreas Schwab <schwab@suse.de>
27883
27884 [BZ #15330]
27885 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
27886 order arrays from heap if bigger than alloca cutoff.
27887
74d87055
TS
278882013-04-03 Thomas Schwinge <thomas@codesourcery.com>
27889
27890 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
27891 (SNAN_TESTS_double): Refer to GCC PR56831.
27892 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
27893 GCC PR56828.
27894
d755bba4
SP
278952013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
27896
90d5d5bb
SP
27897 * Rules (bench): Move bench.out after the run is complete.
27898
73e0cd5d
SP
27899 * Rules (bench): Echo currently running benchmark.
27900
64aabd4b
SP
27901 * benchtests/Makefile (bench): Add atan and slowatan.
27902 * benchtests/atan-inputs: New file.
27903 * benchtests/slowatan-inputs: New file.
27904 * benchtests/slowatan.c: New file.
27905
c871eccd
SP
27906 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
27907 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
27908 its value.
27909
d755bba4
SP
27910 [BZ #15305]
27911 * sysdeps/unix/sysv/linux/kernel-features.h
27912 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
27913 __ASSUME_XFS_RESTRICTED_CHOWN.
27914 * sysdeps/unix/sysv/linux/pathconf.c
27915 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
27916 Save and restore errno.
27917
52ce4860
JM
279182013-04-02 Joseph Myers <joseph@codesourcery.com>
27919
27920 [BZ #15327]
27921 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
27922 arguments using __kernel_casinh.
27923 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
27924 arguments using __kernel_casinhf.
27925 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
27926 arguments using __kernel_casinhl.
27927 * math/libm-test.inc (cacosh_test): Add more tests.
27928 * sysdeps/i386/fpu/libm-test-ulps: Update.
27929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27930
81f311c2
SP
279312013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
27932
e7906a47
SP
27933 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
27934 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
27935
92e3664b
SP
27936 * bench/Makefile (bench): Add sin and slowsin.
27937 * benchtests/sin-inputs: New file.
27938 * benchtests/slowsin-inputs: New file.
27939 * benchtests/slowsin.c: New file.
27940
81f311c2
SP
27941 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
27942 (bench): Add slowexp and slowpow.
27943 (exp-ITER): Increase iterations.
27944 (pow-ITER): Likewise.
27945 * benchtests/exp-inputs: Change input.
27946 * benchtests/pow-inputs: Likewise.
27947 * benchtests/slowexp-inputs: New file.
27948 * benchtests/slowexp.c: New file.
27949 * benchtests/slowpow-inputs: New file.
27950 * benchtests/slowpow.c: New file.
27951
ab0f1aa9
AZ
279522013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27953
27954 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
27955 instructions.
27956 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27957 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
27958 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
27959 * benchtests/Makefile: Add rint benchtest.
27960 * benchtests/rint-inputs: Input for rint benchtest.
27961
57267616
TS
279622013-04-02 Thomas Schwinge <thomas@codesourcery.com>
27963
27964 * Versions.def (libm): Add GLIBC_2.18.
27965 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
27966 hidden libm prototypes.
27967 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
27968 * math/Makefile (libm-calls): Add s_issignaling.
27969 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
27970 __issignalingf, __issignalingl. Adjust all libm.abilist files.
27971 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
27972 declaration.
27973 * math/math.h [__USE_GNU] (issignaling): New macro.
27974 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
27975 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
27976 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
27977 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
27978 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
27979 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
27980 * manual/arith.texi (issignaling): New section.
27981 * manual/libm-err-tab.pl (@all_functions): Update comment.
27982 * math/gen-libm-test.pl (parse_args): Apply special handling for
27983 issignaling.
27984 * math/libm-test.inc (print_float, issignaling_test): New
27985 functions.
27986 (check_float_internal): Add issignaling checks.
27987 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
27988 default definition.
27989 * sysdeps/powerpc/math-tests.h: New file.
27990 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
27991 tests.
27992 * math/test-snan.c (TEST_FUNC): Likewise.
27993
6142896d
DM
279942013-03-30 David S. Miller <davem@davemloft.net>
27995
27996 * po/de.po: Update from translation team.
27997
ccc8cadf
JM
279982013-03-30 Joseph Myers <joseph@codesourcery.com>
27999
28000 [BZ #10357]
28001 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28002 imaginary part less than 1.0 and real part less than 0.5
28003 specially.
28004 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28005 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28006 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
28007 (cacos_test): Add more tests.
28008 (casin_test): Likewise.
28009 (casinh_test): Likewise.
28010 * sysdeps/i386/fpu/libm-test-ulps: Update.
28011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28012
0f6a8d4b
SP
280132013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28014
0d1029de
SP
28015 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
28016 ONE with its value.
28017
c2d94018
SP
28018 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
28019 (__pow_mp): Replace ONE and MONE with their values.
28020 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28021 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
28022 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28023 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
28024 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28025 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28026
27ec37f1
SP
28027 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
28028
a64d7e0e
SP
28029 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
28030 (__pow_mp): Replace ZERO and MZERO with their values.
28031 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
28032 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28033 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28034 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28035 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28036 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
28037 (__sqr): Likewise.
28038
d26dd3eb
SP
28039 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
28040
0f6a8d4b
SP
28041 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
28042
e57b0c61
RM
280432013-03-28 Roland McGrath <roland@hack.frob.com>
28044
28045 * include/stdlib.h [!SHARED] (__call_tls_dtors):
28046 Declare with __attribute__ ((weak)).
28047 * stdlib/exit.c (__libc_atexit) [!SHARED]:
28048 Call __call_tls_dtors only if it's not NULL.
28049
356b3480
RM
280502013-03-28 Roland McGrath <roland@hack.frob.com>
28051
288f7d79
RM
28052 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
28053 didn't do it already, then set _dl_phdr and _dl_phnum based on the
28054 magic __ehdr_start linker symbol if it's defined.
28055 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
28056 them up here if it was already done.
28057
dc0a0263
RM
28058 * elf/dl-support.c (_dl_phdr): Make pointer to const.
28059 (_dl_aux_init): Use const in cast when setting it.
28060 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
28061 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
28062 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
28063
3d3436ae
RM
28064 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
28065 Declare them here.
28066 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
28067 * csu/libc-tls.c: Nor here.
28068 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
28069
356b3480
RM
28070 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
28071 (__libc_message): Never call vsyslog.
28072
b0f1246a
AM
280732013-03-28 Alan Modra <amodra@gmail.com>
28074
28075 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
28076 Define as empty.
28077 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
28078 Likewise.
28079
fbbe2b9a
AZ
280802013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28081
28082 [BZ #15214]
28083 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
28084 underflow.
28085 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28086
1728ab37
SP
280872013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28088
7a86be6e
SP
28089 [BZ #15304]
28090 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
28091 Don't add gid passed as argument.
28092
1728ab37
SP
28093 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
28094
3a7182a1
JM
280952013-03-27 Joseph Myers <joseph@codesourcery.com>
28096
28097 [BZ #15307]
28098 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28099 imaginary part between 1.0 and 1.5 and real part less than 0.5
28100 specially.
28101 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28102 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28103 * math/libm-test.inc (cacos_test): Add more tests.
28104 (casin_test): Likewise.
28105 (casinh_test): Likewise.
28106 * sysdeps/i386/fpu/libm-test-ulps: Update.
28107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28108
6f2e90e7
SP
281092013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28110
5739f705
SP
28111 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
28112 constants.
28113 (norm): Likewise.
28114 (denorm): Likewise.
28115 (__dbl_mp): Likewise.
28116 (add_magnitudes): Likewise.
28117 (sub_magnitudes): Likewise.
28118 (__add): Likewise.
28119 (__sub): Likewise.
28120 (__mul): Likewise.
28121 (__sqr): Likewise.
28122 (__inv): Likewise.
28123 (__dvd): Likewise.
28124
e375e83d
SP
28125 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
28126 commented code.
28127 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
28128 (__dubcos): Likewise.
28129 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
28130 (__ieee754_acos): Likewise.
28131 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
28132 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
28133 (__exp1): Likewise.
28134 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28135 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28136 (log1): Likewise.
28137 (my_log2): Likewise.
28138 (checkint): Likewise.
28139 * sysdeps/ieee754/dbl-64/e_remainder.c
28140 (__ieee754_remainder): Likewise.
28141 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28142 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
28143 (bsloww): Likewise.
28144 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28145
6f2e90e7
SP
28146 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
28147 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
28148 MANTISSA_STORE_T to store computations on mantissa. Use
28149 macros for rounding and division.
28150 (denorm): Likewise.
28151 (__dbl_mp): Likewise.
28152 (add_magnitudes): Likewise.
28153 (sub_magnitudes): Likewise.
28154 (__mul): Likewise.
28155 (__sqr): Likewise.
28156 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
28157 powers of two in terms of TWOPOW macro.
28158 (mp_no): Make type of mantissa as MANTISSA_T.
28159 [!RADIXI]: Define RADIXI.
28160 [!TWO52]: Define TWO52.
28161 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
28162
fce14d4e
AZ
281632013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28164
28165 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
28166 llroundl symbol when building for PPC32.
28167
9ad027fb
MW
281682013-03-24 Mark H Weaver <mhw@netris.org>
28169
28170 * manual/arith.texi (Normalization Functions): Fix prototypes for
28171 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
28172
e42a38dd
AZ
281732013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28174
28175 [BZ #13889]
28176 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
28177 high value to check if expl overflow.
28178 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
28179 to check for underflow and overflow.
28180 * math/libm-test.inc: Add exp test.
28181
2e0fb521
DL
281822013-03-21 Dmitry V. Levin <ldv@altlinux.org>
28183
28184 [BZ #11120]
28185 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
28186 with NOT_IN_libc.
28187
b5784d95
AZ
281882013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28189
28190 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
28191 symbol.
28192
5aa4a1a1
TS
281932013-03-21 Thomas Schwinge <thomas@codesourcery.com>
28194
bdef0be7
TS
28195 * math/gen-libm-test.pl (parse_args, special_functions): Properly
28196 wrap blocks consisting of several statements.
28197
5aa4a1a1
TS
28198 * sysdeps/generic/math-tests.h: New file.
28199 * sysdeps/i386/fpu/math-tests.h: Likewise.
28200 * math/test-snan.c: Include it.
28201 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
28202
98c48fe5
JM
282032013-03-21 Joseph Myers <joseph@codesourcery.com>
28204
28205 [BZ #15285]
28206 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
28207 (__ieee754_j0l): Do not improve calculations using cos of twice
28208 input for inputs above LDBL_MAX / 2.0L.
28209 (__ieee754_y0l): Likewise.
28210 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
28211 (__ieee754_j1l): Do not improve calculations using cos of twice
28212 input for inputs above LDBL_MAX / 2.0L.
28213 (__ieee754_y1l): Likewise.
28214 * math/libm-test.inc (j0_test): Add another test.
28215 (j1_test): Likewise.
28216 (y0_test): Likewise.
28217 (y1_test): Likewise.
28218 * sysdeps/i386/fpu/libm-test-ulps: Update.
28219
3775a8bc
SP
282202013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28221
28222 * Rules ($(objpfx)bench-%.c): Include code from a C source
28223 file.
28224
0a1b2ae6
JM
282252013-03-21 Joseph Myers <joseph@codesourcery.com>
28226
28227 [BZ #15287]
28228 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28229 imaginary part 1.0 and real part less than 0.5 specially.
28230 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28231 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28232 * math/libm-test.inc (cacos_test): Add more tests.
28233 (casin_test): Likewise.
28234 (casinh_test): Likewise.
28235 * sysdeps/i386/fpu/libm-test-ulps: Update.
28236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28237
b33d4ce4
SP
282382013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28239
28240 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
28241 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
28242
bef0b507
JM
282432013-03-20 Joseph Myers <joseph@codesourcery.com>
28244
28245 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
28246 * config.make.in (config-cflags-sse4): Remove variable.
28247 (config-cflags-avx): Likewise.
28248 (config-cflags-sse2avx): Likewise.
28249 (config-cflags-novzeroupper): Likewise.
28250 (config-asflags-i686): Likewise.
28251 (have-mfma4): Likewise.
28252 (have-as-vis3): Likewise.
28253 (MIG): Likewise.
28254 * configure.in (MIG): Do not AC_SUBST.
28255 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
28256 (libc_cv_cc_sse4): Do not AC_SUBST.
28257 (libc_cv_cc_avx): Likewise.
28258 (libc_cv_cc_sse2avx): Likewise.
28259 (libc_cv_cc_novzeroupper): Likewise.
28260 (libc_cv_cc_fma4): Likewise.
28261 (libc_cv_as_i686): Likewise.
28262 (libc_cv_sparc_as_vis3): Likewise.
28263 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
28264 LIBC_CONFIG_VAR.
28265 (config-asflags-i686): Likewise.
28266 (config-cflags-avx): Likewise.
28267 (config-cflags-sse2avx): Likewise.
28268 (have-mfma4): Likewise.
28269 (config-cflags-novzeroupper): Likewise.
28270 * sysdeps/mach/configure.in (MIG): Likewise.
28271 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
28272 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
28273 LIBC_CONFIG_VAR.
28274 (config-cflags-avx): Likewise.
28275 (config-cflags-sse2avx): Likewise.
28276 (have-mfma4): Likewise.
28277 (config-cflags-novzeroupper): Likewise.
28278 * configure: Regenerated.
28279 * sysdeps/i386/configure: Likewise.
28280 * sysdeps/mach/configure: Likewise.
28281 * sysdeps/sparc/configure: Likewise.
28282 * sysdeps/x86_64/configure: Likewise.
28283
912cc4b3
RM
282842013-03-20 Roland McGrath <roland@hack.frob.com>
28285
28286 [BZ #14812]
28287 * locale/programs/localedef.c (options): Put N_ translation marker
28288 on argument names, not just descriptions.
28289
04eed2b0
MS
282902013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28291
28292 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
28293
a065ceff
OB
282942013-03-20 Ondřej Bílka <neleai@seznam.cz>
28295
9bb2a810 28296 [BZ #14176]
a065ceff
OB
28297 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
28298
a600e5ce
RM
282992013-03-19 Roland McGrath <roland@hack.frob.com>
28300
28301 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
28302 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
28303 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
28304 [!BEFORE_ABORT] (before_abort): New function.
28305 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
28306 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
28307 (writev_for_fatal): New function.
28308 (WRITEV_FOR_FATAL): New macro; call that.
28309 (backtrace_and_maps): New function.
28310 (BEFORE_ABORT): New macro; call that.
28311 (struct str_list): Type removed.
28312 (__libc_message, __libc_fatal): Functions removed.
28313 Include <sysdeps/posix/libc_fatal.c> instead.
28314
6b18bea6
JM
283152013-03-19 Joseph Myers <joseph@codesourcery.com>
28316
28317 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
28318 constants.
28319 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
28320 double constants.
28321
aaa8cb4b
AS
283222013-03-19 Andreas Schwab <schwab@suse.de>
28323
44673770
AS
28324 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
28325 * sysdeps/gnu/configure: Regenerate.
28326
aaa8cb4b
AS
28327 * configure.in: Substitute libc_cv_rtlddir.
28328 * configure: Regenerate.
28329 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
28330 * Makeconfig (rtlddir, inst_rtlddir): New variables.
28331 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
28332 * elf/Makefile (install-others, CFLAGS-interp.c)
28333 (ldso_install, common-ldd-rewrite): Likewise.
28334 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
28335 $(inst_slibdir)/$(rtld-installed-name).
28336 * scripts/rellns-sh: Add -p option.
28337 * Makerules (make-shlib-link): Use rellns-sh to get relative name
28338 for source.
28339
d3cfc668
SP
283402013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28341
28342 * manual/nptl.texi: Renamed to ...
28343 * manual/threads.texi: ... this.
28344 * manual/Makefile (chapters): Update.
28345
0e2b9cdd
RM
283462013-03-18 Roland McGrath <roland@hack.frob.com>
28347
28348 [BZ #14812]
28349 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
28350 on argument names, not just descriptions.
0e2b9cdd
RM
28351 * malloc/memusagestat.c (options): Likewise.
28352 * nss/getent.c (options): Likewise.
63270c24
RM
28353
283542013-03-18 Benno Schulenberg <bensberg@justemail.net>
28355
28356 [BZ #14812]
28357 * iconv/iconv_prog.c (options): Put N_ translation marker
28358 on argument names, not just descriptions.
28359 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 28360
b2e1393c
OB
283612013-03-18 Ondrej Bilka <neleai@seznam.cz>
28362
28363 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
28364 implementation which is faster on all x86_64 architectures.
28365 Tested on AMD, Intel Nehalem, SNB, IVB.
28366 * sysdeps/x86_64/strnlen.S: Likewise.
28367
28368 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28369 Remove all multiarch strlen and strnlen versions.
28370 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
28371 Remove strlen and strnlen related parts.
28372
28373 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
28374 Inline strlen part.
28375 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
28376
28377 * sysdeps/x86_64/multiarch/strlen.S: Remove.
28378 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
28379 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
28380 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
28381 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28382 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
28383
ec4ff04d
CD
283842013-03-17 Carlos O'Donell <carlos@redhat.com>
28385
28386 * manual/memory.texi (Malloc Tunable Parameters):
28387 Sort parameters alphabetically. Add comments for missing entries.
28388
cd18e90a
DM
283892013-03-17 David S. Miller <davem@davemloft.net>
28390
28391 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28392
2a185d32
JM
283932013-03-16 Joseph Myers <joseph@codesourcery.com>
28394
d2f9799e
JM
28395 [BZ #15283]
28396 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
28397 for arguments at most half maximum finite value.
28398 * math/libm-test.inc (j0_test): Add more tests.
28399 (j1_test): Likewise.
28400 (y0_test): Likewise.
28401 (y1_test): Likewise.
28402 * sysdeps/i386/fpu/libm-test-ulps: Update.
28403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28404
2a185d32
JM
28405 [BZ #14155]
28406 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
28407 1 / x and functions P and Q for arguments above 0x1p256L.
28408 (__ieee754_y0l): Likewise.
28409 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
28410 (__ieee754_y1l): Likewise.
28411 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
28412 (j1_test): Likewise.
28413 (y0_test): Likewise.
28414 (y1_test): Likewise.
28415
6cbec759
TS
284162013-03-16 Thomas Schwinge <thomas@codesourcery.com>
28417
28418 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
28419 variable.
28420
bc16e260
RM
284212013-03-15 Roland McGrath <roland@hack.frob.com>
28422
aefc9b8c
RM
28423 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
28424 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
28425 zero since it's initialized to EXEC_PAGESIZE.
28426
bc16e260
RM
28427 * sysdeps/unix/sysv/linux/ldsodefs.h
28428 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
28429 * sysdeps/generic/ldsodefs.h: ... here.
28430
a57da955
TS
284312013-03-15 Thomas Schwinge <thomas@codesourcery.com>
28432
af00a34d
TS
28433 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
28434
495ded2c
TS
28435 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
28436 math/test-snan.c.
28437 * math/test-snan.c: Renamed from
28438 sysdeps/powerpc/fpu/test-powerpc-snan.c.
28439 * math/Makefile (tests): Add test-snan.
28440 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
28441 test-powerpc-snan.
28442
777b0332
TS
28443 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
28444 SUFFIX. Initialize qNaN_var with __builtin_nan family of
28445 functions.
28446 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
28447 __builtin_nan family of functions.
28448 * math/libm-test.inc (initialize): Initialize qnan_value with
28449 __builtin_nan family of functions.
28450 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
28451 Remove variables.
28452 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
28453 Remove functions.
28454 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
28455 storage class. Initialize qNaN_var and sNaN_var with
28456 __builtin_nan and __builtin_nans families of functions,
28457 respectively.
28458
64d063b8
TS
28459 * math/libm-test.inc (acosh_test): Also test with qNaN input.
28460 (sqrt_test): Remove duplicate test with qNaN input.
28461 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
28462 (round_test, signbit_test, significand_test): Note missing +/-Inf
28463 as well as qNaN tests.
28464
67e971f1
TS
28465 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
28466 qNaN_var. Fix a few strings, too.
28467 * math/libm-test.inc (nan_value): Rename to qnan_value.
28468 * math/gen-libm-test.pl (%beautify): Adjust to that.
28469 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
28470 * math/test-misc.c (main): Likewise.
28471 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
28472 to __qnan_bytes, and __qnan_union, respectively.
28473 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
28474 Likewise.
28475 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
28476 and lqnanval, respectively.
28477 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
28478 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
28479 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
28480 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
28481
64487e12
TS
28482 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
28483 * math/test-misc.c (main) [__x86_64__]: Enable test for long
28484 doubles.
28485
e015e27b
TS
28486 * math/test-misc.c (main): Fix copy'n'pastos.
28487 * misc/tst-efgcvt.c (special): Likewise.
28488
a57da955
TS
28489 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
28490 Remove declarations.
28491
1e380345
SP
284922013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28493
28494 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
28495 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
28496 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
28497 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
28498
ef26eece
AZ
284992013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28500
28501 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
28502 macro to return vdso values correctly in IFUNC implementations.
28503 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
28504 Optimization by using IFUNC.
28505
8cfdb7e0
SP
285062013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28507 Richard Henderson <rth@redhat.com>
28508 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28509
28510 * Makefile.in (bench): New target.
28511 * NEWS: Mention the benchmark framework.
28512 * Rules (bench): Likewise.
28513 (binaries-bench): Generate binaries for functions to
28514 benchmark.
28515 * benchtests/Makefile: New makefile for benchmark tests.
28516 * benchtests/bench-skeleton.c: New skeleton file for benchmark
28517 programs.
28518 * benchtests/exp-inputs: New input file for EXP function.
28519 * benchtests/pow-inputs: New input file for POW function.
28520 * scripts/bench.pl: New script to generate source files for
28521 benchmark programs.
28522
bcda9880
SP
285232013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28524
d22ca8cd
SP
28525 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
28526 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
28527 computations on mantissa. Use macros for rounding and
28528 division.
28529 (denorm): Likewise.
28530 (__dbl_mp): Likewise.
28531 (add_magnitudes): Likewise.
28532 (sub_magnitudes): Likewise.
28533 (__mul): Likewise.
28534 (__sqr): Likewise.
28535 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
28536 powers of two in terms of TWOPOW macro.
28537 (mp_no): Make type of mantissa as MANTISSA_T.
28538 [!RADIXI]: Define RADIXI.
28539 [!TWO52]: Define TWO52.
28540 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
28541
bcda9880
SP
28542 * manual/nptl.texi (cindex): Modify threads to pthreads.
28543
06d5adfb
JM
285442013-03-15 Joseph Myers <joseph@codesourcery.com>
28545
28546 * sysdeps/x86_64/preconfigure: Regenerated.
28547
41c7328e
JM
285482013-03-14 Joseph Myers <joseph@codesourcery.com>
28549
28550 [BZ #14155]
28551 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
28552 0x1p28 and above.
28553 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
28554 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
28555 0x1p28 and above.
28556 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
28557 * math/libm-test.inc (j0_test): Do not allow one spurious
28558 underflow exception.
28559 (y1_test): Likewise.
28560
e25cfa60
SP
285612013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28562
0409959c
SP
28563 * manual/Makefile (chapters): Add nptl.
28564 * manual/debug.texi (Debugging Support): Add link to Threads
28565 chapter.
28566 * manual/nptl.texi: New file.
28567
e25cfa60
SP
28568 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
28569
58a1335e
PB
285702013-03-14 Petr Baudis <pasky@ucw.cz>
28571
28572 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
28573 for non-NULL pointer before the memory validity test. Pointed
28574 out by Holger Brunck <holger.brunck@keymile.com>.
28575
9dc7c64f
AS
285762013-03-13 Andreas Schwab <schwab@suse.de>
28577
28578 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
28579 instead of .os.
28580
54206aa6
JM
285812013-03-13 Joseph Myers <joseph@codesourcery.com>
28582
28583 * timezone/zic.c: Update from tzcode 2013b.
28584
e98cdb38
CD
285852013-03-12 Carlos O'Donell <carlos@redhat.com>
28586
28587 * manual/install.texi (Configuring and compiling):
28588 Mention i686 and i586.
28589 * INSTALL: Regenerate.
28590
9967e003
RM
285912013-03-12 Roland McGrath <roland@hack.frob.com>
28592
28593 * sysdeps/init_array/elf-init.c: New file.
28594 * csu/elf-init.c
28595 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
28596 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
28597
28598 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
28599 __gmon_start__ as global, but as static with a .preinit_array pointer.
28600 * sysdeps/init_array/gmon-start.c: New file. Use that.
28601 * sysdeps/init_array/crti.S: New file, empty except for comments.
28602 * sysdeps/init_array/crtn.S: Likewise.
28603
e6b5a293 286042013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
28605
28606 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
28607 definining bcopy.
80f844c9
OB
28608 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28609 Remove Prefer_SSE_for_memop.
28610 * sysdeps/x86_64/multiarch/init-arch.h: Remove
28611 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
28612 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
28613 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
28614 memset-x86-64.
80f844c9 28615 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 28616 Remove bzero, memset ifunc support.
80f844c9
OB
28617 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
28618 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
28619 * sysdeps/x86_64/multiarch/memset.S: Likewise.
28620 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28621
fb6b0fcb
AS
286222013-03-11 Andreas Schwab <schwab@suse.de>
28623
28624 [BZ #15234]
28625 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
28626 by SHLIB_COMPAT.
28627 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
28628 (GLIBC_2.16): Remove pthread_atfork.
28629
3e6bd4b1
PP
286302013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
28631
28632 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
28633 (ptestcases.h): Likewise.
28634
222d7f00
RM
286352013-03-08 Roland McGrath <roland@hack.frob.com>
28636
28637 * Makeconfig ($(common-objpfx)config.status): Depend on
28638 sysdeps/*/preconfigure{,.in} too.
28639
1ba4f030
JM
286402013-03-08 Joseph Myers <joseph@codesourcery.com>
28641
a222d91a
JM
28642 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
28643 (__free_hook): Use void * instead of __malloc_ptr_t.
28644 (__malloc_hook): Likewise.
28645 (__realloc_hook): Likewise.
28646 (__memalign_hook): Likewise.
28647 (__after_morecore_hook): Likewise.
28648 * malloc/arena.c (save_malloc_hook): Likewise.
28649 (save_free_hook): Likewise.
28650 * malloc/hooks.c (malloc_hook_ini): Likewise.
28651 (realloc_hook_ini): Likewise.
28652 (memalign_hook_ini): Likewise.
28653 * malloc/malloc.c (malloc_hook_ini): Likewise.
28654 (realloc_hook_ini): Likewise.
28655 (memalign_hook_ini): Likewise.
28656 (__free_hook): Likewise.
28657 (__malloc_hook): Likewise.
28658 (__realloc_hook): Likewise.
28659 (__memalign_hook): Likewise.
28660 (__libc_malloc): Likewise.
28661 (__libc_free): Likewise.
28662 (__libc_realloc): Likewise.
28663 (__libc_memalign): Likewise.
28664 (__libc_valloc): Likewise.
28665 (__libc_pvalloc): Likewise.
28666 (__libc_calloc): Likewise.
28667 (__posix_memalign): Likewise.
28668 * malloc/morecore.c (__sbrk): Likewise.
28669 (__default_morecore): Likewise.
28670
5cc45e10
JM
28671 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
28672
dd54b864
JM
28673 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
28674 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
28675 __malloc_ptrdiff_t.
28676
1ba4f030
JM
28677 * malloc/malloc.h (__malloc_size_t): Remove macro.
28678 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
28679 __malloc_size_t.
28680 (old_memalign_hook): Likewise.
28681 (old_realloc_hook): Likewise.
28682 (struct hdr): Likewise.
28683 (flood): Likewise.
28684 (mallochook): Likewise.
28685 (memalignhook): Likewise.
28686 (reallochook): Likewise.
28687 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
28688 (tr_old_realloc_hook): Likewise.
28689 (tr_old_memalign_hook): Likewise.
28690 (tr_mallochook): Likewise.
28691 (tr_reallochook): Likewise.
28692 (tr_memalignhook): Likewise.
28693
edf66e57
AZ
286942013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28695
28696 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
28697 default_ldbl_pack and using as default implementation.
28698 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
28699 implementation.
28700 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
28701 redundant definition.
28702 (ldbl_insert_mantissa): Likewise.
28703 (ldbl_canonicalize): Likewise.
28704 (ldbl_nearbyint): Likewise.
28705 (ldbl_pack): Rename to ldbl_pack_ppc.
28706 (ldbl_unpack): Rename to ldbl_unpack_ppc.
28707 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
28708 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
28709
6d9145d8
SP
287102013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
28711
28712 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
28713 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
28714 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
28715 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
28716 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
28717 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
28718 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
28719 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
28720
4dd4e157
AJ
287212013-03-07 Andreas Jaeger <aj@suse.de>
28722
28723 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28724 bits/mman-linux.h.
28725
adbb8027
SP
287262013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
28727
ce544b5b
SP
28728 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
28729 Include mpa.h and declare __MPEXP.
28730 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
28731 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28732 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28733 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
28734 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28735 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28736 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
28737
4cc149fd
SP
28738 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
28739 (__slowpow): Use long double EXPL and LOGL functions to
28740 compute POW.
28741 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28742 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28743 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
28744 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28745 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28746 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
28747
e6ebd4a7
SP
28748 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
28749 intermediate variable to calculate exponent.
28750 (__sqr): Likewise.
28751 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
28752 Likewise.
28753 (__sqr): Likewise.
28754
82a9811d
SP
28755 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
28756 [!NO__SQR]: Define __sqr.
28757 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
28758 and NO__SQR. Remove all code except __mul and __sqr. Include
28759 sysdeps/ieee754/dbl-64/mpa.c.
28760 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28761
adbb8027
SP
28762 [BZ #12723]
28763 * posix/Makefile (tests): Add tst-pathconf.
28764 * posix/tst-pathconf.c: New test case.
28765 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
28766 _PC_PIPE_BUF.
28767 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
28768
39120df9
PF
287692013-03-06 Patsy Franklin <pfrankli@redhat.com>
28770
28771 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
28772
67525cb8
AJ
287732013-03-06 Andreas Jaeger <aj@suse.de>
28774
664a9ce4
AJ
28775 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
28776 definition via __MAP_ANONYMOUS.
28777
8e39047d
AJ
28778 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
28779 it's not part of Linux headers.
28780
67525cb8
AJ
28781 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
28782 (MAP_HUGE_MASK): Define.
28783
28784 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28785 Define.
28786 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28787 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28788 Define.
28789 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28790 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28791 Define.
28792 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28793 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
28794 Define.
28795 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28796
28797 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
28798 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
28799 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
28800 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
28801 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
28802 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
28803
28804 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
28805 Handle f2fs.
28806
28807 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28808 Handle f2fs and efivarfs.
28809
28810 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
28811 f2fs.
28812
28813 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
28814 (EFIVARFS_MAGIC): Add.
28815 (F2FS_LINK_MAX): Add.
28816
e1b42695
PP
288172013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28818
28819 * stdio-common/vfprintf.c: Replace __builtin_expect with
28820 __glibc_unlikely.
28821
2d67d91a
JM
288222013-03-06 Joseph Myers <joseph@codesourcery.com>
28823
28824 [BZ #13550]
28825 * sysdeps/generic/bp-sym.h: Remove file.
28826 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
28827 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
28828 <bp-sym.h> and <bp-asm.h>.
28829 (__longjmp): Don't use BP_SYM.
28830 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
28831 and <bp-asm.h>.
28832 (memcpy): Don't use BP_SYM.
28833 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
28834 <bp-sym.h> and <bp-asm.h>.
28835 (memcpy): Don't use BP_SYM.
28836 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
28837 <bp-asm.h>.
28838 (memcpy): Don't use BP_SYM.
28839 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
28840 <bp-asm.h>.
28841 (memset): Don't use BP_SYM.
28842 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28843 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28844 (__bzero): Don't use BP_SYM.
28845 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28846 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28847 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
28848 <bp-sym.h> and <bp-asm.h>.
28849 (memcmp): Don't use BP_SYM. Remove comment about bounded
28850 pointers.
28851 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
28852 <bp-sym.h> and <bp-asm.h>.
28853 (memcpy): Don't use BP_SYM.
28854 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
28855 <bp-sym.h> and <bp-asm.h>.
28856 (memset): Don't use BP_SYM.
28857 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28858 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28859 (__bzero): Don't use BP_SYM.
28860 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28861 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28862 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
28863 <bp-sym.h> and <bp-asm.h>.
28864 (strncmp): Don't use BP_SYM. Remove comment about bounded
28865 pointers.
28866 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
28867 <bp-sym.h> and <bp-asm.h>.
28868 (memcpy): Don't use BP_SYM.
28869 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
28870 <bp-sym.h> and <bp-asm.h>.
28871 (memset): Don't use BP_SYM.
28872 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28873 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28874 (__bzero): Don't use BP_SYM.
28875 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28876 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28877 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
28878 <bp-sym.h> and <bp-asm.h>.
28879 (__memchr): Don't use BP_SYM.
28880 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
28881 <bp-sym.h> and <bp-asm.h>.
28882 (memcmp): Don't use BP_SYM. Remove comment about bounded
28883 pointers.
28884 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
28885 <bp-sym.h> and <bp-asm.h>.
28886 (memcpy): Don't use BP_SYM.
28887 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
28888 <bp-sym.h> and <bp-asm.h>.
28889 (__mempcpy): Don't use BP_SYM.
28890 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
28891 <bp-sym.h> and <bp-asm.h>.
28892 (__memrchr): Don't use BP_SYM.
28893 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
28894 <bp-sym.h> and <bp-asm.h>.
28895 (memset): Don't use BP_SYM.
28896 (__bzero): Likewise.
28897 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
28898 <bp-sym.h> and <bp-asm.h>.
28899 (__rawmemchr): Don't use BP_SYM.
28900 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
28901 <bp-sym.h> and <bp-asm.h>.
28902 (__STRCMP): Don't use BP_SYM.
28903 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
28904 <bp-sym.h> and <bp-asm.h>.
28905 (strchr): Don't use BP_SYM.
28906 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
28907 <bp-sym.h> and <bp-asm.h>.
28908 (__strchrnul): Don't use BP_SYM.
28909 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
28910 <bp-sym.h> and <bp-asm.h>.
28911 (strlen): Don't use BP_SYM.
28912 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
28913 <bp-sym.h> and <bp-asm.h>.
28914 (strncmp): Don't use BP_SYM. Remove comment about bounded
28915 pointers.
28916 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
28917 <bp-sym.h> and <bp-asm.h>.
28918 (__strnlen): Don't use BP_SYM.
28919 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
28920 <bp-sym.h> and <bp-asm.h>.
28921 (__GI__setjmp): Don't use BP_SYM.
28922 (_setjmp): Likewise.
28923 (__sigsetjmp): Likewise.
28924 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
28925 (L(start_addresses)): Don't use BP_SYM.
28926 (_start): Likewise.
28927 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
28928 <bp-asm.h>.
28929 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
28930 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
28931 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28932 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28933 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
28934 <bp-asm.h>.
28935 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
28936 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
28937 about bounded pointers.
28938 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28939 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28940 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
28941 <bp-asm.h>.
28942 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
28943 about bounded pointers. Remove GKM FIXME comments.
28944 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28945 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
28946 <bp-asm.h>.
28947 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
28948 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
28949 Remove GKM FIXME comments.
28950 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28951 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28952 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
28953 <bp-asm.h>.
28954 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
28955 about bounded pointers. Remove GKM FIXME comment.
28956 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
28957 and <bp-asm.h>.
28958 (strncmp): Don't use BP_SYM. Remove comment about bounded
28959 pointers.
28960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
28961 <bp-sym.h> and <bp-asm.h>.
28962 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
28963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
28964 <bp-sym.h> and <bp-asm.h>.
28965 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
28966 comment.
28967
cdcf361f
PP
289682013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28969
28970 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
28971 call free(NULL).
28972
3c4a2b15
DM
289732013-03-05 David S. Miller <davem@davemloft.net>
28974
28975 * po/es.po: Update from translation team.
28976
cdcf361f 289772013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
28978
28979 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
28980 <bits/mman-linux.h>.
28981 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28982 is fine.
28983 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
28984 <bits/mman-linux.h> to end of file.
28985 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28986 is fine.
28987 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
28988 <bits/mman-linux.h> to end of file.
28989 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28990 is fine.
28991 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
28992 <bits/mman-linux.h> to end of file.
28993
28994 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
28995 (MCL_CURRENT, MCL_FUTURE): Define here.
28996
5f67c04f
AK
289972013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28998
8a4473cc 28999 [BZ #15232]
5f67c04f
AK
29000 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
29001 attribute_hidden.
29002 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29003
c3e94a95
AK
290042013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29005
29006 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
29007 fourth parameter needed for rt_sigprocmask syscall.
29008 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
29009 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
29010 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
29011 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
29012 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
29013 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
29014
cfb6382a
JM
290152013-03-04 Joseph Myers <joseph@codesourcery.com>
29016
29017 [BZ #13550]
29018 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
29019 comment about bounded pointers.
29020 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
29021 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
29022
539d8e01
AJ
290232013-03-04 Andreas Jaeger <aj@suse.de>
29024
29025 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
29026 common definitions.
29027
29028 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
29029 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
29030 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
29031 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29032 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
29033 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29034
2e167a70 290352013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
29036
29037 [BZ #15055]
29038 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
29039 __ieee754_sqrl instead of __sqrl.
29040
68508633
JM
290412013-03-01 Joseph Myers <joseph@codesourcery.com>
29042
29043 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
29044 * sysdeps/powerpc/fpu_control.h: ... here.
29045 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
29046 * sysdeps/powerpc/bits/fenvinline.h: ... here.
29047 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
29048 * sysdeps/powerpc/bits/mathinline.h: ... here.
29049
7775448e
RM
290502013-03-01 Roland McGrath <roland@hack.frob.com>
29051
29052 * elf/dl-hwcaps.c (_dl_important_hwcaps):
29053 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
29054 to just [NEED_DL_SYSINFO_DSO].
29055 * elf/dl-support.c: Likewise.
29056 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
29057 * elf/rtld.c (dl_main): Likewise.
29058 * elf/setup-vdso.h (setup_vdso): Likewise.
29059 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
29060 * sysdeps/unix/sysv/linux/dl-sysdep.c
29061 (_dl_discover_osversion): Likewise.
29062
4e9b5995
CD
290632013-03-01 Carlos O'Donell <carlos@redhat.com>
29064
29065 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
29066 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
29067
e23872c8
SP
290682013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
29069
e5c74c63
SP
29070 * NEWS: Mention libm performance improvements and non-x86 PI
29071 futex support.
29072
e23872c8
SP
29073 * csu/libc-start.c (__pthread_initialize_minimal): Change
29074 function arguments.
29075 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
29076
b5510883
JM
290772013-02-28 Joseph Myers <joseph@codesourcery.com>
29078
29079 [BZ #13550]
29080 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
29081 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
29082 <bp-sym.h> and <bp-asm.h>.
29083 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29084 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
29085 and <bp-asm.h>.
29086 (memcpy): Don't use BP_SYM.
29087 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
29088 <bp-asm.h>.
29089 (__mpn_add_n): Don't use BP_SYM.
29090 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
29091 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
29092 and <bp-asm.h>.
29093 (__mpn_addmul_1): Don't use BP_SYM.
29094 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29095 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
29096 <bp-sym.h>.
29097 (_setjmp): Don't use BP_SYM.
29098 (__novmx_setjmp): Likewise.
29099 (__GI__setjmp): Likewise.
29100 (__vmx_setjmp): Likewise.
29101 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
29102 <bp-sym.h>.
29103 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
29104 (__bzero): Don't use BP_SYM.
29105 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29106 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29107 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
29108 <bp-sym.h> and <bp-asm.h>.
29109 (memcpy): Don't use BP_SYM.
29110 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
29111 <bp-sym.h> and <bp-asm.h>.
29112 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29113 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
29114 <bp-sym.h> and <bp-asm.h>.
29115 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29116 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
29117 <bp-asm.h>.
29118 (__mpn_lshift): Don't use BP_SYM.
29119 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29120 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
29121 <bp-asm.h>.
29122 (memset): Don't use BP_SYM.
29123 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29124 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29125 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
29126 <bp-asm.h>.
29127 (__mpn_mul_1): Don't use BP_SYM.
29128 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29129 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
29130 <bp-sym.h> and <bp-asm.h>.
29131 (memcmp): Don't use BP_SYM.
29132 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
29133 <bp-sym.h> and <bp-asm.h>.
29134 (memcpy): Don't use BP_SYM.
29135 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
29136 <bp-sym.h> and <bp-asm.h>.
29137 (memset): Don't use BP_SYM.
29138 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
29139 <bp-sym.h> and <bp-asm.h>.
29140 (strncmp): Don't use BP_SYM.
29141 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
29142 <bp-sym.h> and <bp-asm.h>.
29143 (memcpy): Don't use BP_SYM.
29144 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
29145 <bp-sym.h> and <bp-asm.h>.
29146 (memset): Don't use BP_SYM.
29147 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
29148 <bp-sym.h> and <bp-asm.h>.
29149 (__memchr): Don't use BP_SYM.
29150 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
29151 <bp-sym.h> and <bp-asm.h>.
29152 (memcmp): Don't use BP_SYM.
29153 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
29154 <bp-sym.h> and <bp-asm.h>.
29155 (memcpy): Don't use BP_SYM.
29156 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
29157 <bp-sym.h> and <bp-asm.h>.
29158 (__mempcpy): Don't use BP_SYM.
29159 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
29160 <bp-sym.h> and <bp-asm.h>.
29161 (__memrchr): Don't use BP_SYM.
29162 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
29163 <bp-sym.h> and <bp-asm.h>.
29164 (memset): Don't use BP_SYM.
29165 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
29166 <bp-sym.h> and <bp-asm.h>.
29167 (__rawmemchr): Don't use BP_SYM.
29168 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
29169 <bp-sym.h> and <bp-asm.h>.
29170 (__STRCMP): Don't use BP_SYM.
29171 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
29172 <bp-sym.h> and <bp-asm.h>.
29173 (strchr): Don't use BP_SYM.
29174 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
29175 <bp-sym.h> and <bp-asm.h>.
29176 (__strchrnul): Don't use BP_SYM.
29177 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
29178 <bp-sym.h> and <bp-asm.h>.
29179 (strlen): Don't use BP_SYM.
29180 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
29181 <bp-sym.h> and <bp-asm.h>.
29182 (strncmp): Don't use BP_SYM.
29183 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
29184 <bp-sym.h> and <bp-asm.h>.
29185 (__strnlen): Don't use BP_SYM.
29186 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
29187 <bp-asm.h>.
29188 (__mpn_rshift): Don't use BP_SYM.
29189 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29190 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
29191 <bp-sym.h> and <bp-asm.h>.
29192 (__sigsetjmp): Don't use BP_SYM.
29193 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
29194 (L(start_addresses)): Don't use BP_SYM.
29195 (_start): Likewise.
29196 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
29197 <bp-asm.h>.
29198 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
29199 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29200 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29201 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
29202 <bp-asm.h>.
29203 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
29204 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29205 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29206 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
29207 <bp-asm.h>.
29208 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
29209 comments.
29210 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29211 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
29212 <bp-asm.h>.
29213 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
29214 FIXME comments.
29215 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29216 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29217 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
29218 <bp-asm.h>.
29219 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
29220 comment.
29221 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
29222 and <bp-asm.h>.
29223 (strncmp): Don't use BP_SYM,
29224 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
29225 <bp-asm.h>.
29226 (__mpn_sub_n): Don't use BP_SYM.
29227 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29228 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
29229 and <bp-asm.h>.
29230 (__mpn_submul_1): Don't use BP_SYM.
29231 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
29233 <bp-sym.h> and <bp-asm.h>.
29234 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
29235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
29236 <bp-sym.h> and <bp-asm.h>.
29237 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
29238 comment.
29239
8d19fe64
SP
292402013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29241
29242 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
29243 Use ZK to minimize writes to Z.
29244 (sub_magnitudes): Simplify code a bit.
29245 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
29246 Use ZK to minimize writes to Z.
29247 (sub_magnitudes): Simplify code a bit.
29248
85bd816a
RM
292492013-02-27 Roland McGrath <roland@hack.frob.com>
29250
29251 * csu/gmon-start.c: Add special exception to license text.
29252
b5977bf2
RH
292532013-02-27 Richard Henderson <rth@redhat.com>
29254
29255 * scripts/config.guess: Update from config.git.
29256 * scripts/config.sub: Likewise.
29257
11d6e2f2
SP
292582013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29259
09c14ed2
SP
29260 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
29261
a688864e
SP
29262 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
29263
6295157a
SP
29264 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
29265
b8de2202
SP
29266 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
29267
11d6e2f2
SP
29268 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
29269
7e80ddb8
RM
292702013-02-26 Roland McGrath <roland@hack.frob.com>
29271
29272 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
29273 [$(build-shared = yes].
7e80ddb8 29274
7da6d9ed
SP
292752013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29276
45f05884
SP
29277 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
29278 (__mul): Reduce iterations for calculating mantissa.
29279
2236d359
SP
29280 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
29281 MPTWO.
29282 (__mpranred): Likewise.
29283
7da6d9ed
SP
29284 [BZ #15160]
29285 * malloc/memusagestat.c (main): Draw graphs for heap and stack
29286 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
29287
b7688c42
PE
292882013-02-26 Paul Eggert <eggert@cs.ucla.edu>
29289
29290 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
29291 Define __attribute__.
29292
53a5c423
SP
292932013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29294
29295 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
29296 unused.
29297 * posix/regex_internal.h (__attribute): Remove.
29298 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
29299 (re_string_context_at): Likewise.
29300 (bitset_not): Use __attribute__ and mark function as possibly
29301 unused.
29302 (bitset_merge): Likewise.
29303 (bitset_mask): Likewise.
29304 (re_string_char_size_at): Likewise.
29305 (re_string_wchar_at): Likewise.
29306 (re_string_elem_size_at): Likewise.
29307
60f5a8b5
SP
293082013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29309
2a983a2e
SP
29310 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
29311 code.
29312 (cc32): Likewise.
29313
e69804d1
SP
29314 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
29315 (__acr): Likewise.
29316 (__cpy): Likewise.
29317 (norm): Likewise.
29318 (denorm): Likewise.
29319 (__dbl_mp): Likewise.
29320 (add_magnitudes): Likewise.
29321 (sub_magnitudes): Likewise.
29322 (__mul): Likewise.
29323 (__inv): Likewise.
29324
2f22a1e8
SP
29325 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
29326 style.
29327
8930ddc7
SP
29328 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
29329 style.
29330
dc60cb11
SP
29331 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
29332 code.
29333
60f5a8b5
SP
29334 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
29335 up changes with default code.
29336 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
29337 Likewise.
29338
b4d1fd33
AM
293392013-02-24 Allan McRae <allan@archlinux.org>
29340
faf6f8bc
AM
29341 * manual/socket.texi (The Internet Namespace): Order menu items
29342 to match that in the file.
29343
b4d1fd33
AM
29344 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
29345 node listing of the info page menu.
29346
2366713d
JM
293472013-02-21 Joseph Myers <joseph@codesourcery.com>
29348
29349 [BZ #13550]
29350 * sysdeps/i386/bp-asm.h: Remove file.
29351 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
29352 (PARMS): Do not use macros from bp-asm.h.
29353 (S1): Likewise.
29354 (S2): Likewise.
29355 (SIZE): Likewise.
29356 (__mpn_add_n): Do not use BP_SYM
29357 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
29358 "bp-asm.h".
29359 (PARMS): Do not use macros from bp-asm.h.
29360 (S1): Likewise.
29361 (SIZE): Likewise.
29362 (__mpn_addmul_1): Do not use BP_SYM
29363 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
29364 "bp-asm.h".
29365 (PARMS): Do not use macros from bp-asm.h.
29366 (SIGMSK): Likewise.
29367 (_setjmp): Likewise. Do not use BP_SYM.
29368 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
29369 "bp-asm.h".
29370 (PARMS): Do not use macros from bp-asm.h.
29371 (SIGMSK): Likewise.
29372 (setjmp): Likewise. Do not use BP_SYM.
29373 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
29374 "bp-asm.h".
29375 (PARMS): Do not use macros from bp-asm.h.
29376 (__frexp): Do not use BP_SYM.
29377 (frexp): Likewise.
29378 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
29379 "bp-asm.h".
29380 (PARMS): Do not use macros from bp-asm.h.
29381 (__frexpf): Do not use BP_SYM.
29382 (frexpf): Likewise.
29383 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
29384 "bp-asm.h".
29385 (PARMS): Do not use macros from bp-asm.h.
29386 (__frexpl): Do not use BP_SYM.
29387 (frexpl): Likewise.
29388 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
29389 "bp-asm.h".
29390 (PARMS): Do not use macros from bp-asm.h.
29391 (__remquo): Do not use BP_SYM.
29392 (remquo): Likewise.
29393 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
29394 "bp-asm.h".
29395 (PARMS): Do not use macros from bp-asm.h.
29396 (__remquof): Do not use BP_SYM.
29397 (remquof): Likewise.
29398 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
29399 "bp-asm.h".
29400 (PARMS): Do not use macros from bp-asm.h.
29401 (__remquol): Do not use BP_SYM.
29402 (remquol): Likewise.
29403 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
29404 "bp-asm.h".
29405 (PARMS): Do not use macros from bp-asm.h.
29406 (DEST): Likewise.
29407 (SRC): Likewise.
29408 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
29409 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
29410 "bp-asm.h".
29411 (PARMS): Do not use macros from bp-asm.h.
29412 (strlen): Do not use BP_SYM.
29413 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
29414 "bp-asm.h".
29415 (PARMS): Do not use macros from bp-asm.h.
29416 (S1): Likewise.
29417 (S2): Likewise.
29418 (SIZE): Likewise.
29419 (__mpn_add_n): Do not use BP_SYM.
29420 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
29421 "bp-asm.h".
29422 (PARMS): Do not use macros from bp-asm.h.
29423 (S1): Likewise.
29424 (SIZE): Likewise.
29425 (__mpn_addmul_1): Do not use BP_SYM.
29426 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
29427 weak_alias.
29428 (bzero): Likewise.
29429 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
29430 "bp-asm.h".
29431 (PARMS): Do not use macros from bp-asm.h.
29432 (S): Likewise.
29433 (SIZE): Likewise.
29434 (__mpn_lshift): Do not use BP_SYM.
29435 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
29436 "bp-asm.h".
29437 (PARMS): Do not use macros from bp-asm.h.
29438 (DEST): Likewise.
29439 (SRC): Likewise.
29440 (LEN): Likewise.
29441 (memcpy): Likewise. Do not use BP_SYM.
29442 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
29443 libc_hidden_def and weak_alias.
29444 (mempcpy): Do not use BP_SYM in weak_alias.
29445 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
29446 "bp-asm.h".
29447 (PARMS): Do not use macros from bp-asm.h.
29448 (DEST): Likewise.
29449 (LEN): Likewise.
29450 [!BZERO_P] (CHR): Likewise.
29451 (memset): Likewise. Do not use BP_SYM.
29452 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
29453 "bp-asm.h".
29454 (PARMS): Do not use macros from bp-asm.h.
29455 (S1): Likewise.
29456 (SIZE): Likewise.
29457 (__mpn_mul_1): Do not use BP_SYM.
29458 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
29459 "bp-asm.h".
29460 (PARMS): Do not use macros from bp-asm.h.
29461 (S): Likewise.
29462 (SIZE): Likewise.
29463 (__mpn_rshift): Do not use BP_SYM.
29464 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
29465 "bp-asm.h".
29466 (PARMS): Do not use macros from bp-asm.h.
29467 (STR): Likewise.
29468 (CHR): Likewise.
29469 (strchr): Likewise. Do not use BP_SYM.
29470 (index): Do not use BP_SYM in weak_alias.
29471 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
29472 "bp-asm.h".
29473 (PARMS): Do not use macros from bp-asm.h.
29474 (DEST): Likewise.
29475 (SRC): Likewise.
29476 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
29477 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
29478 "bp-asm.h".
29479 (PARMS): Do not use macros from bp-asm.h.
29480 (strlen): Do not use BP_SYM.
29481 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
29482 "bp-asm.h".
29483 (PARMS): Do not use macros from bp-asm.h.
29484 (S1): Likewise.
29485 (S2): Likewise.
29486 (SIZE): Likewise.
29487 (__mpn_sub_n): Do not use BP_SYM.
29488 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
29489 "bp-asm.h".
29490 (PARMS): Do not use macros from bp-asm.h.
29491 (S1): Likewise.
29492 (SIZE): Likewise.
29493 (__mpn_submul_1): Do not use BP_SYM.
29494 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
29495 "bp-asm.h".
29496 (PARMS): Do not use macros from bp-asm.h.
29497 (S1): Likewise.
29498 (S2): Likewise.
29499 (SIZE): Likewise.
29500 (__mpn_add_n): Do not use BP_SYM.
29501 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
29502 weak_alias.
29503 (bzero): Likewise.
29504 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
29505 "bp-asm.h".
29506 (PARMS): Do not use macros from bp-asm.h.
29507 (BLK2): Likewise.
29508 (LEN): Likewise.
29509 (memcmp): Do not use BP_SYM.
29510 (bcmp): Do not use BP_SYM in weak_alias.
29511 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
29512 "bp-asm.h".
29513 (PARMS): Do not use macros from bp-asm.h.
29514 (DEST): Likewise.
29515 (SRC): Likewise.
29516 (LEN): Likewise.
29517 (memcpy): Likewise. Do not use BP_SYM.
29518 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
29519 "bp-asm.h".
29520 (PARMS): Do not use macros from bp-asm.h.
29521 (DEST): Likewise.
29522 (SRC): Likewise.
29523 (LEN): Likewise.
29524 (memmove): Likewise. Do not use BP_SYM.
29525 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
29526 "bp-asm.h".
29527 (PARMS): Do not use macros from bp-asm.h.
29528 (DEST): Likewise.
29529 (SRC): Likewise.
29530 (LEN): Likewise.
29531 (__mempcpy): Likewise. Do not use BP_SYM.
29532 (mempcpy): Do not use BP_SYM in weak_alias.
29533 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
29534 "bp-asm.h".
29535 (PARMS): Do not use macros from bp-asm.h.
29536 (DEST): Likewise.
29537 (LEN): Likewise.
29538 [!BZERO_P] (CHR): Likewise.
29539 (memset): Likewise. Do not use BP_SYM.
29540 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
29541 "bp-asm.h".
29542 (PARMS): Do not use macros from bp-asm.h.
29543 (STR2): Likewise.
29544 (strcmp): Do not use BP_SYM.
29545 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
29546 "bp-asm.h".
29547 (PARMS): Do not use macros from bp-asm.h.
29548 (STR): Likewise.
29549 (DELIM): Likewise.
29550 [USE_AS_STRTOK_R] (SAVE): Likewise.
29551 (FUNCTION): Likewise. Do not use BP_SYM.
29552 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
29553 aliases.
29554 (strtok_r): Likewise.
29555 (__GI___strtok_r): Likewise.
29556 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
29557 (PARMS): Do not use macros from bp-asm.h.
29558 (S): Likewise.
29559 (SIZE): Likewise.
29560 (__mpn_lshift): Do not use BP_SYM.
29561 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
29562 (PARMS): Do not use macros from bp-asm.h.
29563 (STR): Likewise.
29564 (CHR): Likewise.
29565 (__memchr): Do not use BP_SYM.
29566 (memchr): Do not use BP_SYM in weak_alias.
29567 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
29568 (PARMS): Do not use macros from bp-asm.h.
29569 (BLK2): Likewise.
29570 (LEN): Likewise.
29571 (memcmp): Do not use BP_SYM.
29572 (bcmp): Do not use BP_SYM in weak_alias.
29573 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
29574 (PARMS): Do not use macros from bp-asm.h.
29575 (S1): Likewise.
29576 (SIZE): Likewise.
29577 (__mpn_mul_1): Do not use BP_SYM.
29578 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
29579 "bp-asm.h".
29580 (PARMS): Do not use macros from bp-asm.h.
29581 (STR): Likewise.
29582 (CHR): Likewise.
29583 (__rawmemchr): Do not use BP_SYM.
29584 (rawmemchr): Do not use BP_SYM in weak_alias.
29585 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
29586 (PARMS): Do not use macros from bp-asm.h.
29587 (S): Likewise.
29588 (SIZE): Likewise.
29589 (__mpn_rshift): Do not use BP_SYM.
29590 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
29591 (PARMS): Do not use macros from bp-asm.h.
29592 (SIGMSK): Likewise.
29593 (__sigsetjmp): Likewise. Do not use BP_SYM.
29594 * sysdeps/i386/start.S: Do not include "bp-sym.h".
29595 (_start): Do not use BP_SYM.
29596 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
29597 (PARMS): Do not use macros from bp-asm.h.
29598 (DEST): Likewise.
29599 (SRC): Likewise.
29600 (__stpcpy): Likewise. Do not use BP_SYM.
29601 (stpcpy): Do not use BP_SYM in weak_alias.
29602 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
29603 "bp-asm.h".
29604 (PARMS): Do not use macros from bp-asm.h.
29605 (DEST): Likewise.
29606 (SRC): Likewise.
29607 (LEN): Likewise.
29608 (__stpncpy): Likewise. Do not use BP_SYM.
29609 (stpncpy): Do not use BP_SYM in weak_alias.
29610 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
29611 (PARMS): Do not use macros from bp-asm.h.
29612 (STR): Likewise.
29613 (CHR): Likewise.
29614 (strchr): Likewise. Do not use BP_SYM.
29615 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
29616 "bp-asm.h".
29617 (PARMS): Do not use macros from bp-asm.h.
29618 (STR): Likewise.
29619 (CHR): Likewise.
29620 (__strchrnul): Likewise. Do not use BP_SYM.
29621 (strchrnul): Do not use BP_SYM in weak_alias.
29622 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
29623 "bp-asm.h".
29624 (PARMS): Do not use macros from bp-asm.h.
29625 (STOP): Likewise.
29626 (strcspn): Do not use BP_SYM.
29627 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
29628 "bp-asm.h".
29629 (PARMS): Do not use macros from bp-asm.h.
29630 (STR): Likewise.
29631 (STOP): Likewise.
29632 (strpbrk): Likewise. Do not use BP_SYM.
29633 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
29634 "bp-asm.h".
29635 (PARMS): Do not use macros from bp-asm.h.
29636 (STR): Likewise.
29637 (CHR): Likewise.
29638 (strrchr): Likewise. Do not use BP_SYM.
29639 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
29640 (PARMS): Do not use macros from bp-asm.h.
29641 (SKIP): Likewise.
29642 (strspn): Do not use BP_SYM.
29643 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
29644 (PARMS): Do not use macros from bp-asm.h.
29645 (STR): Likewise.
29646 (DELIM): Likewise.
29647 (SAVE): Likewise.
29648 (FUNCTION): Likewise. Do not use BP_SYM.
29649 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
29650 aliases.
29651 (strtok_r): Likewise.
29652 (__GI___strtok_r): Likewise.
29653 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
29654 (PARMS): Do not use macros from bp-asm.h.
29655 (S1): Likewise.
29656 (S2): Likewise.
29657 (SIZE): Likewise.
29658 (__mpn_sub_n): Do not use BP_SYM.
29659 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
29660 "bp-asm.h".
29661 (PARMS): Do not use macros from bp-asm.h.
29662 (S1): Likewise.
29663 (SIZE): Likewise.
29664 (__mpn_submul_1): Do not use BP_SYM.
29665 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
29666 <bp-sym.h>.
29667 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
29668 and <bp-asm.h>.
29669 (PARMS): Do not use macros from bp-asm.h.
29670 (FLAGS): Likewise.
29671 (PTID): Likewise.
29672 (TLS): Likewise.
29673 (CTID): Likewise.
29674 (__clone): Do not use BP_SYM.
29675 (clone): Do not use BP_SYM in weak_alias.
29676 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
29677 and <bp-asm.h>.
29678 (PARMS): Do not use macros from bp-asm.h.
29679 (LEN): Likewise.
29680 (__mmap64): Do not use BP_SYM.
29681 (mmap64): Do not use BP_SYM in weak_alias.
29682 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29683 <bp-sym.h> and <bp-asm.h>.
29684 (PARMS): Do not use macros from bp-asm.h.
29685 (__posix_fadvise64_l64): Do not use BP_SYM.
29686 * sysdeps/unix/sysv/linux/i386/semtimedop.S
29687 (PARMS): Do not use macros from bp-asm.h.
29688 (NSOPS): Likewise.
29689 (semtimedop): Do not use BP_SYM.
29690 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
29691 and <bp-asm.h>.
29692
582a3cff
AM
296932013-02-21 Allan McRae <allan@archlinux.org>
29694
29695 * manual/message.texi (Charset conversion in gettext):
29696 Move @end statement to beginning of line.
29697
bab8a695
SP
296982013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29699
80945231
SP
29700 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
29701 static.
29702 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
29703 Likewise.
29704
bab8a695
SP
29705 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
29706 (denorm): Likewise.
29707 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
29708 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
29709
e21d7aa7
AK
297102013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29711
29712 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
29713 tail-call to the resolved function if pltexit isn't needed.
29714
4c7a4263
SP
297152013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29716
29717 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
29718 or Y being zero as being unlikely.
29719 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29720 Likewise.
29721
41f49342
CD
297222013-02-20 Carlos O'Donell <carlos@redhat.com>
29723
29724 * manual/nss.texi (System Databases and Name Service Switch):
29725 Remove frobnicate @pxref.
29726
50022a93
TS
297272013-02-20 Thomas Schwinge <thomas@codesourcery.com>
29728
29729 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29730 __attribute__ ((unused)) to __attribute__ ((__unused__)).
29731
08cbd996
PM
297322013-02-20 Petr Machata <pmachata@redhat.com>
29733
29734 * elf/elf.h (R_ARM_TARGET1): New macro.
29735 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
29736 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
29737 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
29738 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
29739 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
29740 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
29741 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
29742 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
29743 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
29744 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
29745 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
29746 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
29747 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
29748 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
29749 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
29750 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
29751 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
29752 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
29753 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
29754 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
29755 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
29756 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
29757 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
29758 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
29759 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
29760 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
29761 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
29762 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
29763 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
29764 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
29765 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
29766 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
29767 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
29768 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
29769 (R_ARM_THM_GOT_BREL12): Likewise.
29770 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
29771 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
29772 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
29773 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
29774 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
29775 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
29776 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
29777 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
29778 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
29779
c7b275d6
TS
297802013-02-20 Thomas Schwinge <thomas@codesourcery.com>
29781
29782 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29783 __attribute_used__ to __attribute__ ((unused)).
29784
20cd7fb3
SP
297852013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29786
29787 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
29788 powerpc mpa.c.
29789 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
29790 comment formatting.
29791 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
29792
92945b52
JM
297932013-02-19 Joseph Myers <joseph@codesourcery.com>
29794
29795 [BZ #13550]
29796 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
29797 Remove macro.
29798 (ENTER): Remove both macro definitions.
29799 (LEAVE): Likewise.
29800 (CHECK_BOUNDS_LOW): Likewise.
29801 (CHECK_BOUNDS_HIGH): Likewise.
29802 (CHECK_BOUNDS_BOTH): Likewise.
29803 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
29804 (RETURN_BOUNDED_POINTER): Likewise.
29805 (RETURN_NULL_BOUNDED_POINTER): Likewise.
29806 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
29807 (POP_ERRNO_LOCATION_RETURN): Likewise.
29808 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
29809 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29810 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
29811 macros.
29812 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29813 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
29814 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
29815 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
29816 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
29817 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
29818 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
29819 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
29820 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
29821 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
29822 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
29823 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
29824 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29825 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
29826 removed macros.
29827 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29828 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
29829 macros.
29830 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29831 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
29832 * sysdeps/i386/i586/memset.S (memset): Likewise.
29833 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
29834 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29835 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
29836 macros.
29837 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29838 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
29839 Change uses of L(2) to L(out).
29840 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
29841 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
29842 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
29843 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29844 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
29845 removed macros.
29846 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29847 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
29848 macros.
29849 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29850 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
29851 (RETURN): Do not use macro LEAVE.
29852 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
29853 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
29854 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
29855 * sysdeps/i386/i686/memset.S (memset): Likewise.
29856 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
29857 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
29858 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29859 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
29860 Likewise.
29861 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29862 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
29863 L(1_2) and L(1_3) into L(1).
29864 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29865 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
29866 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29867 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
29868 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29869 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
29870 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
29871 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29872 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
29873 macros.
29874 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
29875 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29876 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
29877 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
29878 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
29879 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29880 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
29881 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
29882 * sysdeps/i386/strcspn.S (strcspn): Likewise.
29883 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
29884 * sysdeps/i386/strrchr.S (strrchr): Likewise.
29885 * sysdeps/i386/strspn.S (strspn): Likewise.
29886 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
29887 conditional code.
29888 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29889 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
29890 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29891 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
29892 L(1_3) into L(1_1).
29893 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
29894 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29895 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
29896 macros.
29897 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29898
2389741a
JJ
298992013-02-19 Jakub Jelinek <jakub@redhat.com>
29900
29901 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
29902 macro.
29903
2016b3cd
SP
299042013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29905
e4f22324
SP
29906 * math/atest-exp.c (exp_mpn): Remove ROUND.
29907 * math/atest-exp2.c (exp_mpn): Likewise.
29908 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
29909
2016b3cd
SP
29910 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
29911 * stdlib/tst-tls-atexit-lib.c: Likewise.
29912 * stdlib/tst-tls-atexit.c: Likewise.
29913
4be9b544
MF
299142013-02-18 Mike Frysinger <vapier@gentoo.org>
29915
29916 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
29917 and __attribute_alloc_size__.
29918
2f62b9ee
MF
299192013-02-18 Mike Frysinger <vapier@gentoo.org>
29920
29921 * include/programs/xmalloc.h: Change __attribute_alloc_size to
29922 __attribute_alloc_size__.
29923 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
29924 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
29925
6ff444c4
MF
299262013-02-18 Mike Frysinger <vapier@gentoo.org>
29927
29928 * include/programs/xmalloc.h: New file.
29929 * catgets/gencat.c: Include it.
29930 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
29931 * elf/pldd.c: Likewise.
29932 * iconv/iconv_charmap.c: Likewise.
29933 * iconv/iconvconfig.c: Likewise.
29934 * iconv/strtab.c: Likewise.
29935 * locale/programs/locale.c: Likewise.
29936 * locale/programs/localedef.h: Likewise.
29937 * locale/programs/simple-hash.c: Likewise.
29938 * nscd/nscd.h: Likewise.
29939 * nss/makedb.c: Likewise.
29940 * sysdeps/generic/ldconfig.h: Likewise.
29941
be179c8a
SP
299422013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29943
ba384f6e
SP
29944 * Versions.def: Add GLIBC_2.18.
29945 * include/link.h (struct link_map): New member l_tls_dtor_count.
29946 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
29947 (__call_tls_dtors): Likewise.
29948 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
29949 __cxa_thread_atexit_impl.
29950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29951 Likewise.
29952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29953 Likewise.
29954 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
29955 Likewise.
29956 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
29957 Likewise.
29958 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29959 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
29960 Likewise.
29961 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
29962 Likewise.
29963 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29964 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29965 Likewise.
29966 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
29967 (tests): Add test case tst-tls-atexit.
29968 (modules-names): Add shared library for tst-tls-atexit.
85891aca 29969 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
29970 (GLIBC_PRIVATE): Add __call_tls_dtors.
29971 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
29972 for libstdc++.
29973 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
29974 * stdlib/tst-tls-atexit.c: New test case.
29975 * stdlib/tst-tls-atexit-lib.c: New test case.
29976
ffaa74cf 29977 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 29978
be179c8a
SP
29979 * elf/Versions (ld): Add _dl_find_dso_for_object.
29980 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
29981 * elf/dl-open.c (_dl_find_dso_for_object): New function.
29982 (dl_open_worker): Use _dl_find_dso_for_object.
29983 * elf/dl-sym.c (do_sym): Likewise.
29984 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
29985
f78b5caa
AK
299862013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29987
29988 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
29989 Syntactic changes only.
29990 (_dl_runtime_profile): Do a tail-call to the resolved function.
29991
29691210
JM
299922013-02-17 Joseph Myers <joseph@codesourcery.com>
29993
29994 [BZ #13550]
29995 * sysdeps/x86_64/bp-asm.h: Remove file.
29996 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
29997 <bp-sym.h> and <bp-asm.h>.
29998 (__clone): Do not use BP_SYM.
29999 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
30000 <bp-sym.h> and <bp-asm.h>.
30001 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30002 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
30003 "bp-asm.h".
30004 (_setjmp): Do not use BP_SYM.
30005 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
30006 "bp-asm.h".
30007 (setjmp): Do not use BP_SYM.
30008 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
30009 libc_hidden_def.
30010 (mempcpy): Do not use BP_SYM in weak_alias.
30011 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
30012 "bp-asm.h".
30013 (strchr): Do not use BP_SYM.
30014 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
30015 "bp-asm.h".
30016 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
30017 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
30018 (_start): Do not use BP_SYM.
30019 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
30020 "bp-asm.h".
30021 (strcat): Do not use BP_SYM.
30022 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
30023 "bp-asm.h".
30024 (STRCMP): Do not use BP_SYM.
30025 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
30026 "bp-asm.h".
30027 (STRCPY): Do not use BP_SYM.
30028 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
30029 "bp-asm.h".
30030 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
30031 "bp-asm.h".
30032 (FUNCTION): Do not use BP_SYM.
30033 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
30034 weak_alias.
30035 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
30036
f238fd19
AJ
300372013-02-17 Andreas Jaeger <aj@suse.de>
30038
30039 * time/Versions: Sort entries.
30040 * string/Versions: Likewise.
30041 * resolv/Versions: Likewise.
30042 * posix/Versions: Likewise.
30043 * iconv/Versions: Likewise.
30044 * elf/Versions: Likewise.
30045 * wcsmbs/Versions: Likewise.
30046
bd07f23c 300472013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 30048
22af19f9
SP
30049 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
30050 loop termination condition.
30051
4709fe76
SP
30052 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
30053 variable to calculate EZ.
30054 (__sqr): Likewise.
2d0e0f29
SP
30055
30056 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
30057 the lower precision input.
30058
daaa7713
JM
300592013-02-15 Joseph Myers <joseph@codesourcery.com>
30060
30061 [BZ #13550]
30062 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
30063 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
30064 (run-via-rtld-prefix): Do not handle %-bp tests.
30065 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
30066 (all-object-suffixes): Remove .ob.
30067 (bppfx): Remove variable.
30068 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
30069 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
30070 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
30071 [$(build-bounded) = yes] (libtype.ob): Likewise.
30072 * Makerules (elide-routines.ob): Remove variable.
30073 (do-tests-clean): Do not handle *-bp.out.
30074 (common-mostlyclean): Do not handle *-bp and *-bp.out.
30075 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
30076 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
30077 (tests): Do not include $(tests-bp.out).
30078 (xtests): Do not include $(xtests-bp.out).
30079 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
30080 [$(build-bounded) = yes] ($(addprefix
30081 $(objpfx),$(binaries-bounded))): Remove rule.
30082 ($(objpfx)%-bp.out): Remove rule.
30083 * config.make.in (build-bounded): Remove variable.
30084 * crypt/Makefile [$(build-bounded) = yes]
30085 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
30086 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
30087 append to variable.
30088 [$(build-bounded) = yes] (install-lib): Likewise.
30089 [$(build-bounded) = yes] (generated): Likewise.
30090 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
30091 Remove rule.
30092 * intl/Makefile [$(build-bounded) = yes]
30093 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
30094 * math/Makefile [$(build-bounded) = yes]
30095 ($(tests:%=$(objpfx)%-bp): Likewise.
30096 * misc/Makefile [$(build-bounded) = yes]
30097 ($(objpfx)tst-tsearch-bp): Likewise.
30098 * nptl/Makeconfig (bounded-thread-library): Remove variable.
30099 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
30100 Remove dependency.
30101 * string/Makefile (o-objects.ob): Remove variable.
30102 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
30103 (CFLAGS-.ob): Remove variable.
30104 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
30105 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
30106 both definitions of variable.
30107 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
30108 (ASFLAGS-.ob): Remove variable.
30109
e97ed6dd
JM
301102013-02-14 Joseph Myers <joseph@codesourcery.com>
30111
2bdd4ca6
JM
30112 [BZ #13550]
30113 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
30114 Remove __BOUNDED_POINTERS__ from condition.
30115 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
30116 * string/bits/string2.h [!__NO_STRING_INLINES &&
30117 !__BOUNDED_POINTERS__]: Likewise.
30118 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
30119 Likewise.
30120 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
30121 Remove conditional code.
30122 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
30123 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
30124 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
30125 condition.
30126
e97ed6dd
JM
30127 [BZ #13550]
30128 * csu/libc-start.c: Do not include <bp-sym.h>.
30129 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
30130 * elf/dl-open.c: Do not include <bp-sym.h>.
30131 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
30132 * math/fegetenv.c: Do not include <bp-sym.h>.
30133 (fegetenv): Do not use BP_SYM in versioned symbols.
30134 * nptl/sysdeps/pthread/bits/libc-lockP.h
30135 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
30136 <bp-sym.h>.
30137 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30138 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
30139 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30140 (__pthread_mutex_destroy): Likewise.
30141 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30142 (__pthread_mutex_lock): Likewise.
30143 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30144 (__pthread_mutex_trylock): Likewise.
30145 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30146 (__pthread_mutex_unlock): Likewise.
30147 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30148 (__pthread_mutexattr_init): Likewise.
30149 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30150 (__pthread_mutexattr_destroy): Likewise.
30151 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30152 (__pthread_mutexattr_settype): Likewise.
30153 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30154 (__pthread_rwlock_init): Likewise.
30155 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30156 (__pthread_rwlock_destroy): Likewise.
30157 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30158 (__pthread_rwlock_rdlock): Likewise.
30159 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30160 (__pthread_rwlock_tryrdlock): Likewise.
30161 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30162 (__pthread_rwlock_wrlock): Likewise.
30163 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30164 (__pthread_rwlock_trywrlock): Likewise.
30165 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30166 (__pthread_rwlock_unlock): Likewise.
30167 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30168 (__pthread_key_create): Likewise.
30169 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30170 (__pthread_setspecific): Likewise.
30171 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30172 (__pthread_getspecific): Likewise.
30173 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
30174 Likewise.
30175 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30176 (_pthread_cleanup_push_defer): Likewise.
30177 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30178 (_pthread_cleanup_pop_restore): Likewise.
30179 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30180 (pthread_setcancelstate): Likewise.
30181 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
30182 <bp-sym.h>.
30183 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
30184 (memchr): Do not use BP_SYM in weak_alias.
30185 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
30186 (fegetenv): Do not use BP_SYM in versioned symbols.
30187 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
30188 (fesetenv): Do not use BP_SYM in versioned symbols.
30189 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30190 (feupdateenv): Do not use BP_SYM in versioned symbols.
30191 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30192 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30193 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
30194 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
30195 (open64): Do not use BP_SYM in weak_alias.
30196 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
30197 (fegetenv): Do not use BP_SYM in versioned symbols.
30198 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
30199 (fesetenv): Do not use BP_SYM in versioned symbols.
30200 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30201 (feupdateenv): Do not use BP_SYM in versioned symbols.
30202 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
30203 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
30204 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
30205 (feraiseexcept): Do not use BP_SYM in versioned symbols.
30206 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30207 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30208 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
30209 <bp-sym.h>.
30210 (__libc_start_main): Do not use BP_SYM.
30211
d6752ccd
SP
302122013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30213
cb57ce60
SP
30214 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
30215 redundant return line.
30216 (norm): Likewise.
30217 (denorm): Likewise.
30218 (dbl_mp): Likewise.
30219 (sub_magnitudes): Likewise.
30220 (__add): Likewise.
30221 (__sub): Likewise.
30222 (__mul): Likewise.
30223 (__inv): Likewise.
30224 (__dvd): Likewise.
30225 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
30226 (norm): Likewise.
30227 (denorm): Likewise.
30228 (dbl_mp): Likewise.
30229 (sub_magnitudes): Likewise.
30230 (__add): Likewise.
30231 (__sub): Likewise.
30232 (__mul): Likewise.
30233 (__inv): Likewise.
30234 (__dvd): Likewise.
30235
f414520d
SP
30236 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
30237 instead of __mul.
30238 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
30239 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
30240 (cc32): Likewise.
30241
d6752ccd
SP
30242 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
30243 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
30244 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
30245 of __mul for squares.
30246 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
30247 function
30248 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
30249 Likewise.
30250 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
30251 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30252
70d9946a
JM
302532013-02-13 Joseph Myers <joseph@codesourcery.com>
30254
30255 [BZ #13550]
30256 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
30257 code.
30258 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
30259 prototype or function definition. Rename ubp_* variables and
30260 parameters. Remove argv definitions conditional on
30261 [__BOUNDED_POINTERS__].
30262 * debug/backtrace.c (__backtrace): Do not use __unbounded.
30263 * elf/dl-runtime.c (_dl_fixup): Likewise.
30264 * include/set-hooks.h (RUN_HOOK): Likewise.
30265 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
30266 definition.
30267 * string/strcpy.c (strcpy): Do not use __unbounded.
30268 * sysdeps/generic/frame.h (struct layout): Likewise.
30269 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
30270 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
30271 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
30272 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
30273 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
30274 (__backtrace): Likewise.
30275 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
30276 use __ptrvalue.
30277 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
30278 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
30279 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
30280 Likewise.
30281 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
30282 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
30283 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
30284 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30285 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
30286 Do not use __unbounded.
30287 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
30288 Rename __unboundedrlimits parameter to rlimits in prototype.
30289 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
30290 Do not use __unbounded.
30291 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
30292 not use __ptrvalue.
30293 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30294 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
30295 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30296 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
30297 __ptrvalue or __unbounded.
30298 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
30299 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
30300 use __unbounded.
30301 (__new_msgctl): Do not use __ptrvalue.
30302 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
30303 __unbounded.
30304 (__libc_msgrcv): Do not use __ptrvalue.
30305 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
30306 startup_info): Do not use __unbounded.
30307 (__libc_start_main): Likewise. Rename ubp_* variables and
30308 parameters. Remove argv definitions conditional on
30309 [__BOUNDED_POINTERS__].
30310 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
30311 __ptrvalue.
30312 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
30313 use __unbounded.
30314 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
30315 or __ptrvalue.
30316 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
30317 use __unbounded.
30318 (__new_shmctl): Do not use __ptrvalue.
30319 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
30320 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
30321 Likewise.
30322 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
30323 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
30324 (__libc_sigaction): Likewise.
30325 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
30326 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
30327 Likewise.
30328 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30329
cc7834d6
OB
303302013-02-13 Ondřej Bílka <neleai@seznam.cz>
30331
ffb1ec7b 30332 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
30333
30334 * string/mempcpy.c: Implement by calling memcpy.
30335
bdf02814
SP
303362013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
30337
c2af38aa
SP
30338 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
30339
4e92d59e
SP
30340 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
30341 evaluation.
30342
909279a5
SP
30343 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
30344 values in the mantissa.
30345
bdf02814
SP
30346 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
30347 minimize writes to Z.
30348 (sub_magnitudes): Simplify code a bit.
30349
cd525923
RM
303502013-02-12 Roland McGrath <roland@hack.frob.com>
30351
30352 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
30353 from the message. The linker prefixes all warnings with that already.
30354
7e2f0d2d
AS
303552013-02-12 Andreas Schwab <schwab@suse.de>
30356
a445af0b
AS
30357 [BZ #15078]
30358 * posix/regexec.c (extend_buffers): Add parameter min_len.
30359 (check_matching): Pass minimum needed length.
30360 (clean_state_log_if_needed): Likewise.
30361 (get_subexp): Likewise.
30362 * posix/Makefile (tests): Add bug-regex34.
30363 (bug-regex34-ENV): Define.
30364 * posix/bug-regex34.c: New file.
30365
7e2f0d2d
AS
30366 [BZ #11561]
30367 * posix/regcomp.c (parse_bracket_exp): When looking up collating
30368 elements compare against the byte sequence of it, not its name.
30369 * posix/Makefile (tests): Add bug-regex35.
30370 (bug-regex35-ENV): Define.
30371 * posix/bug-regex35.c: New file.
30372
a175b684
TV
303732013-02-11 Tom de Vries <tom@codesourcery.com>
30374
30375 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
30376 comment.
30377 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
30378 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
30379 (CHECK_EOL): Add undef.
30380
310998fe 303812013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
30382
30383 * bits/stdlib-bsearch.h: New file.
30384 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 30385 * stdlib/stdlib.h: Likewise.
41eda41d 30386
8ded91fb
RM
303872013-02-11 Roland McGrath <roland@hack.frob.com>
30388
30389 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
30390 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
30391 declaration.
30392 * manual/search.texi (Array Search Function): Add missing const in
30393 lfind prototype.
30394 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
30395 declaration to use rlim_t.
30396 (Basic Scheduling Functions): Remove erroneous const from
30397 sched_getparam prototype. Remove erroneous * from
30398 sched_get_priority_max and sched_get_priority_min prototypes.
30399 (Resource Usage): Fix summary @comment on vtimes to refer to
30400 sys/vtimes.h rather than vtimes.h.
30401 Add missing *s in vtimes prototype.
30402 (Limits on Resources): Fix ulimit prototype to return long int.
30403 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
30404 prototypes to use long int rather than double.
30405 (BSD Random): Fix initstate and setstate to use char *, not void *.
30406 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
30407 prototype to make second argument 'struct aiocb64 *const[]'.
30408 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
30409 (Status of AIO Operations): Remove erroneous const in aio_return and
30410 aio_return64 prototypes.
30411 (Synchronizing I/O): Fix sync prototype to return void.
30412 * manual/startup.texi (Suboptions): Remove an erroneous const in
30413 getsubopt prototype.
30414 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
30415 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
30416 use size_t rather than int.
30417 (Scanning All Users): Likewise for getpwent_r.
30418 (Setting Groups): Add missing const to setgroups prototype.
30419 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
30420 * manual/socket.texi (Host Names): Fix gethostbyaddr and
30421 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
30422 'const void *' rather than 'const char *'.
30423 (Host Address Functions): Likewise for inet_ntop.
30424 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
30425 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
30426 ssize_t for return value.
30427 (Sending Data): Likewise for send, sendto, sendmsg.
30428 (Socket Option Functions): Add a missing const in setsockopt prototype.
30429 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
30430 use wchar_t for the argument.
30431 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
30432 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
30433 take no arguments.
30434 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
30435 double/float/long double for second argument.
30436 Fix return types of significand, significandf, significandl.
30437 * manual/filesys.texi (Setting Permissions): Use mode_t for second
30438 argument in fchmod prototype.
30439 (File Owner): Use uid_t and gid_t in fchown prototype.
30440 (File Times): Add const to utimes, futimes, and lutimes prototypes.
30441 (Making Special Files): Use mode_t and dev_t in mknod prototype.
30442 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
30443 use 'const struct dirent **' as argument types to CMP function pointer
30444 argument.
30445 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
30446 (File Times): Fix summary magic @comment for struct utimbuf and utime
30447 to refer to utime.h, not time.h.
30448 * manual/string.texi (Argz Functions): Add missing const in
30449 argz_extract and argz_next prototypes.
30450 (Finding Tokens in a String): Likewise for basename.
30451 (String/Array Comparison): Fix typo in wcscasecmp prototype.
30452 (Copying and Concatenation): Fix typo in wmemmove prototype.
30453 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
30454 (Signal Stack): Remove erroneous const in sigstack prototype.
30455 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
30456 prototype.
30457 (Simple Calendar Time): Likewise for stime.
30458 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
30459 prototype.
30460 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
30461 say sys/sysctl.h instead.
30462 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
30463 and vsyslog prototypes.
30464
fe77fe6d
TV
304652013-02-11 Tom de Vries <tom@codesourcery.com>
30466
30467 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
30468 Remove.
30469
3a09b620
RM
304702013-02-11 Roland McGrath <roland@hack.frob.com>
30471
30472 * misc/sys/mman.h: Fix typo in mremap comment.
30473
550a0b89
RM
304742013-02-08 Roland McGrath <roland@hack.frob.com>
30475
30476 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
30477 the '\0' terminator.
30478
a2da1673
JM
304792013-02-08 Joseph Myers <joseph@codesourcery.com>
30480
30481 [BZ #13550]
30482 * debug/segfault.c: Don't include <bp-checks.h>.
30483 * sysdeps/generic/bp-checks.h: Remove file.
30484 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
30485 (__GETDENTS): Don't use CHECK_N.
30486 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
30487 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
30488 (__getgroups): Don't use CHECK_N.
30489 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
30490 (setgroups): Don't use CHECK_N.
30491 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
30492 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
30493 (__libc_msgrcv): Don't use CHECK_N.
30494 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
30495 (__libc_msgsnd): Don't use CHECK_N.
30496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
30497 <bp-checks.h>.
30498 (__libc_pread): Don't use CHECK_N.
30499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
30500 include <bp-checks.h>.
30501 (__libc_pread64): Don't use CHECK_N.
30502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
30503 include <bp-checks.h>.
30504 (__libc_pwrite): Don't use CHECK_N.
30505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
30506 include <bp-checks.h>.
30507 (__libc_pwrite64): Don't use CHECK_N.
30508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
30509 <bp-checks.h>.
30510 (__libc_pread): Don't use CHECK_N.
30511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
30512 include <bp-checks.h>.
30513 (__libc_pread64): Don't use CHECK_N.
30514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
30515 include <bp-checks.h>.
30516 (__libc_pwrite): Don't use CHECK_N.
30517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
30518 include <bp-checks.h>.
30519 (__libc_pwrite64): Don't use CHECK_N.
30520 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
30521 (do_pread): Don't use CHECK_N.
30522 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
30523 (do_pread64): Don't use CHECK_N.
30524 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
30525 (do_pwrite): Don't use CHECK_N.
30526 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
30527 (do_pwrite64): Don't use CHECK_N.
30528 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
30529 (__libc_readv): Don't use CHECK_N.
30530 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
30531 (semop): Don't use CHECK_N.
30532 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
30533 <bp-checks.h>.
30534 (semtimedop): Don't use CHECK_N.
30535 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
30536 (__libc_pread): Don't use CHECK_N.
30537 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
30538 <bp-checks.h>.
30539 (__libc_pread64): Don't use CHECK_N.
30540 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
30541 <bp-checks.h>.
30542 (__libc_pwrite): Don't use CHECK_N.
30543 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
30544 <bp-checks.h>.
30545 (__libc_pwrite64): Don't use CHECK_N.
30546 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
30547 <bp-checks.h>.
30548 (__libc_msgrcv): Don't use CHECK_N.
30549 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
30550 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
30551 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
30552 (__libc_writev): Don't use CHECK_N.
30553
b84660a8
RM
305542013-02-08 Roland McGrath <roland@hack.frob.com>
30555
7f3e75f8
RM
30556 * string/strcpy.c: Removed unused variable.
30557
b84660a8
RM
30558 * Makeconfig (+sysdep-includes): Define with := rather than =.
30559 Use an existing include/ subdir of each sysdeps dir before it.
30560
471514d3
CD
305612013-02-08 Carlos O'Donell <carlos@redhat.com>
30562
30563 * nscd/connection.c (register_traced_file): Comment function.
30564 [HAVE_INOTIFY] (union __inev): Define.
30565 [HAVE_INOTIFY] (inotify_check_files): New function.
30566 [HAVE_INOTIFY] (clear_db_cache): Likewise.
30567 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
30568 clear_db_cache.
30569 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
30570
b2d3c3be
CD
305712013-02-08 Carlos O'Donell <carlos@redhat.com>
30572
30573 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
30574 loaded if not already and that a failure is permanent.
30575
b39949d2
CD
305762013-02-08 Carlos O'Donell <carlos@redhat.com>
30577
ddacd1db 30578 [BZ #15006]
b39949d2
CD
30579 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
30580 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
30581
b2c9eff4
JM
305822013-02-08 Joseph Myers <joseph@codesourcery.com>
30583
f3aae3f3
JM
30584 [BZ #13550]
30585 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
30586 (CHECK_1_NULL_OK): Likewise.
30587 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
30588 (__fxstat): Do not use CHECK_1.
30589 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
30590 <bp-checks.h>.
30591 (___fxstat64): Do not use CHECK_1.
30592 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
30593 <bp-checks.h>.
30594 (__fxstatat): Do not use CHECK_1.
30595 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
30596 <bp-checks.h>.
30597 (__fxstatat64): Do not use CHECK_1.
30598 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
30599 <bp-checks.h>.
30600 (__fxstat): Do not use CHECK_1.
30601 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
30602 <bp-checks.h>.
30603 (__fxstatat): Do not use CHECK_1.
30604 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
30605 <bp-checks.h>.
30606 (__getresgid): Do not use CHECK_1.
30607 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
30608 <bp-checks.h>.
30609 (__getresuid): Do not use CHECK_1.
30610 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
30611 <bp-checks.h>.
30612 (__lxstat): Do not use CHECK_1.
30613 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
30614 <bp-checks.h>.
30615 (__old_msgctl): Do not use CHECK_1.
30616 (__new_msgctl): Likewise.
30617 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
30618 <bp-checks.h>.
30619 (__new_setrlimit): Do not use CHECK_1.
30620 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
30621 <bp-checks.h>.
30622 (__old_shmctl): Do not use CHECK_1.
30623 (__new_shmctl): Likewise.
30624 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
30625 <bp-checks.h>.
30626 (__xstat): Do not use CHECK_1.
30627 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
30628 (__lxstat): Do not use CHECK_1.
30629 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
30630 <bp-checks.h>.
30631 (___lxstat64): Do not use CHECK_1.
30632 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
30633 (__old_msgctl): Do not use CHECK_1.
30634 (__new_msgctl): Likewise.
30635 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
30636 <bp-checks.h>.
30637 (__gettimeofday): Do not use CHECK_1.
30638 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
30639 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
30640 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
30641 <bp-checks.h>.
30642 (__gettimeofday): Do not use CHECK_1.
30643 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
30644 (__old_shmctl): Do not use CHECK_1_NULL_OK.
30645 (__new_shmctl): Do not use CHECK_1.
30646 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
30647 <bp-checks.h>.
30648 (do_sigtimedwait): Do not use CHECK_1.
30649 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
30650 <bp-checks.h>.
30651 (do_sigwaitinfo): Do not use CHECK_1.
30652 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
30653 <bp-checks.h>.
30654 (msgctl): Do not use CHECK_1.
30655 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
30656 <bp-checks.h>.
30657 (shmctl): Do not use CHECK_1.
30658 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
30659 (ustat): Do not use CHECK_1.
30660 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
30661 <bp-checks.h>.
30662 (__fxstat): Do not use CHECK_1.
30663 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
30664 <bp-checks.h>.
30665 (__fxstatat): Do not use CHECK_1.
30666 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
30667 <bp-checks.h>.
30668 (__lxstat): Do not use CHECK_1.
30669 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
30670 <bp-checks.h>.
30671 (__xstat): Do not use CHECK_1.
30672 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
30673 (__xstat): Do not use CHECK_1.
30674 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
30675 (___xstat64): Do not use CHECK_1.
30676
b2c9eff4
JM
30677 [BZ #13550]
30678 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
30679 definitions.
30680 (CHECK_BOUNDS_HIGH): Likewise.
30681 * string/strcpy.c: Do not include <bp-checks.h>.
30682 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
30683
f1d70dad
RM
306842013-02-07 Roland McGrath <roland@hack.frob.com>
30685
30686 * nscd/nscd-client.h (__nscd_drop_map_ref):
30687 Add __attribute__ ((unused)).
30688 * nis/nss-nisplus.h (niserr2nss): Likewise.
30689
30690 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
30691 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
30692
30693 * csu/libc-tls.c (init_static_tls, init_slotinfo):
30694 Remove inline keyword.
30695 * include/rounding-mode.h (round_away): Likewise.
30696 * libio/wfileops.c (adjust_wide_data): Likewise.
30697 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
30698 (__m128i_strloadu_tolower): Likewise.
30699 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
30700 (__m128i_strloadu_tolower): Likewise.
30701 * time/mktime.c (ydhms_diff): Likewise.
30702 * locale/elem-hash.h (elem_hash): Likewise.
30703 * locale/setlocale.c (setdata): Likewise.
30704 * posix/regex_internal.h (re_string_char_size_at): Likewise.
30705 (re_string_wchar_at): Likewise.
30706 (bitset_not, bitset_merge, bitset_mask): Likewise.
30707 [!(__GNUC__ > 3)] (inline): Remove macro.
30708 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
30709 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
30710 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
30711 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
30712 * string/memcmp.c (memcmp_bytes): Likewise.
30713 * locale/programs/locarchive.c (compute_hashval): Likewise.
30714 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
30715 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
30716 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
30717 * nss/getent.c (print_rpc, print_protocols): Likewise.
30718 (print_passwd, print_group, print_aliases): Likewise.
30719 * nis/nss-nisplus.h (niserr2nss): Likewise.
30720 * nscd/connections.c (restart_p): Likewise.
30721 Change return type to bool.
30722
eab55bfb
RM
307232013-02-05 Roland McGrath <roland@hack.frob.com>
30724
7bd642f5
RM
30725 * Makeconfig (all-Depend-files): Add existing
30726 $(sorted-subdirs:=/Depend) files.
30727 (all-subdirs): Remove nss.
30728 * sysdeps/unix/inet/Subdirs: Add it here instead.
30729 * hesiod/Depend: New file.
30730
573c29b2
RM
30731 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
30732 instead of calling alloca.
30733
b2e25af0
RM
30734 * io/lseek.c (__lseek): Rename to __libc_lseek.
30735 Define __lseek as an alias.
30736
eab55bfb
RM
30737 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
30738
9a0d1941
CD
307392013-02-04 Carlos O'Donell <carlos@redhat.com>
30740
30741 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
30742 else clause and remove check for non-standard endianness.
30743
b83bbec4
DM
307442013-02-04 David S. Miller <davem@davemloft.net>
30745
30746 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30747
6277fdab
JM
307482013-02-04 Joseph Myers <joseph@codesourcery.com>
30749
30750 [BZ #13550]
30751 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
30752 (__ubp_memchr): Remove prototype.
30753 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
30754 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30755 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
30756 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30757 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
30758 Remove alias.
30759 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
30760 (__ubp_memchr): Likewise.
30761 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
30762 (__ubp_memchr): Likewise.
30763 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
30764 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
30765 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
30766 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
30767 CHECK_STRING.
30768 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
30769 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
30770 (__getcwd): Do not use CHECK_STRING.
30771 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30772 <bp-checks.h>.
30773 (__real_chown): Do not use CHECK_STRING.
30774 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
30775 <bp-checks.h>.
30776 (fchownat): Do not use CHECK_STRING.
30777 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
30778 CHECK_STRING.
30779 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
30780 <bp-checks.h>.
30781 (__lchown): Do not use CHECK_STRING.
30782 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30783 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30784 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30785 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
30786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30787 include <bp-checks.h>.
30788 (truncate64): Do not use CHECK_STRING.
30789 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
30790 <bp-checks.h>.
30791 (__real_chown): Do not use CHECK_STRING.
30792 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
30793 <bp-checks.h>.
30794 (__lchown): Do not use CHECK_STRING.
30795 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30796 <bp-checks.h>.
30797 (__chown): Do not use CHECK_STRING.
30798 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
30799 <bp-checks.h>.
30800 (truncate64): Do not use CHECK_STRING.
30801 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
30802 Likewise.
30803 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
30804 (__xmknod): Do not use CHECK_STRING.
30805 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
30806 <bp-checks.h>.
30807 (__xmknodat): Do not use CHECK_STRING.
30808 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30809 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
30810
903ae060
AS
308112013-02-04 Andreas Schwab <schwab@suse.de>
30812
30813 [BZ #14142]
30814 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
30815 * include/netdb.h: Likewise for h_errno.
30816 * elf/tst-stackguard1.c: Include <tls.h>.
30817
542f9466
JK
308182013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
30819
30820 * elf/link.h (struct link_map): Extend the l_addr comment.
30821 * include/link.h (struct link_map): Likewise.
30822
e782a927
JM
308232013-02-01 Joseph Myers <joseph@codesourcery.com>
30824
30825 [BZ #13550]
30826 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
30827 (BOUNDED_1): Remove macro.
30828 * debug/backtrace.c: Don't include <bp-checks.h>.
30829 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
30830 (__backtrace): Likewise.
30831 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
30832 <bp-checks.h>.
30833 (__backtrace): Don't use BOUNDED_1.
30834 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
30835 <bp-checks.h>.
30836 (__backtrace): Don't use BOUNDED_1.
30837 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
30838 (__backtrace): Don't use BOUNDED_1.
30839 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
30840 (shmat): Don't use BOUNDED_N.
30841
8cf28c5e
JM
308422013-01-31 Joseph Myers <joseph@codesourcery.com>
30843
3a7ac8a0
JM
30844 [BZ #13550]
30845 * sysdeps/generic/bp-start.h: Remove file.
30846 * csu/libc-start.c: Don't include <bp-start.h>.
30847 (LIBC_START_MAIN): Set up __environ directly instead of using
30848 INIT_ARGV_and_ENVIRON.
30849 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
30850 <bp-start.h>.
30851
f3499f95
JM
30852 [BZ #13550]
30853 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
30854 definitions.
30855 (CHECK_FCNTL): Likewise.
30856 (CHECK_N_PAGES): Likewise.
30857
32a45bea
JM
30858 [BZ #13550]
30859 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
30860 definitions.
30861 (CHECK_SIGSET_NULL_OK): Likewise.
30862 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
30863 <bp-checks.h>.
30864 (sigpending): Don't use CHECK_SIGSET.
30865 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
30866 <bp-checks.h>.
30867 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30868 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
30869 <bp-checks.h>.
30870 (do_sigsuspend): Don't use CHECK_SIGSET.
30871 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
30872 use CHECK_SIGSET.
30873 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
30874 (do_sigwait): Don't use CHECK_SIGSET.
30875 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
30876 use CHECK_SIGSET.
30877 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
30878 include <bp-checks.h>.
30879 (sigpending): Don't use CHECK_SIGSET.
30880 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
30881 include <bp-checks.h>.
30882 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30883 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
30884 <bp-checks.h>.
30885 (sigpending): Don't use CHECK_SIGSET.
30886 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
30887 <bp-checks.h>.
30888 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30889
2e8a5c8c
JM
30890 [BZ #13550]
30891 * sysdeps/generic/bp-semctl.h: Remove file.
30892 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
30893 <bp-checks.h> and <bp-semctl.h>.
30894 (__old_semctl): Don't use CHECK_SEMCTL.
30895 (__new_semctl): Likewise.
30896 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
30897 and <bp-semctl.h>.
30898 (__old_semctl): Don't use CHECK_SEMCTL.
30899 (__new_semctl): Likewise.
30900 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
30901 <bp-checks.h> and <bp-semctl.h>.
30902 (__old_semctl): Don't use CHECK_SEMCTL.
30903 (__new_semctl): Likewise.
30904 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
30905 <bp-checks.h> and <bp-semctl.h>.
30906 (semctl): Don't use CHECK_SEMCTL.
30907
c2d54929
JM
30908 [BZ #13550]
30909 * Makerules (elide-bp-thunks): Remove variable.
30910 (elide-routines.oS): Don't use $(elide-bp-thunks).
30911 (elide-routines.os): Likewise.
30912 (elide-routines.o): Likewise.
30913 (elide-routines.op): Likewise.
30914 (elide-routines.og): Likewise.
30915 (objects): Don't use $(bp-thunks).
30916 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
30917 include.
30918 (common-generated): Do not add s-proto-bp.d.
30919 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
30920 (int): Likewise.
30921 (typ): Likewise.
30922 Do not generate makefile rules for bounded-pointer thunks.
30923 * sysdeps/generic/bp-thunks.h: Remove file.
30924 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
30925 * sysdeps/unix/s-proto-bp.S: Likewise.
30926
8cf28c5e
JM
30927 [BZ #15062]
30928 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
30929 parts of result separately when argument is not close to line from
30930 -i to i and one part of argument is small.
30931 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30932 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30933 * math/libm-test.inc (cacos_test): Add more tests.
30934 (casin_test): Likewise.
30935 (casinh_test): Likewise.
30936 * sysdeps/i386/fpu/libm-test-ulps: Update.
30937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30938
c4e33b8d
DM
309392013-01-31 David S. Miller <davem@davemloft.net>
30940
30941 * po/de.po: Update from translation team.
30942
3b60b421
MK
309432013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
30944
30945 * time/tzfile.c: Include stdint.h for SIZE_MAX.
30946
bb931195
TS
309472013-01-25 Thomas Schwinge <thomas@codesourcery.com>
30948
b5a5da23
TS
30949 * configure.in (_AC_PROG_CC_C89): New definition.
30950 * configure: Regenerate.
30951
bb931195
TS
30952 * configure.in (AC_PROG_CPP): New definition.
30953 * configure: Regenerate.
30954
8c53a12c
JM
309552013-01-23 Joseph Myers <joseph@codesourcery.com>
30956
30957 * debug/tst-backtrace.h: New file.
30958 * debug/tst-backtrace2.c: Include tst-backtrace.h.
30959 (ret): Remove variable.
30960 (x): Likewise.
30961 (FAIL): Remove macro.
30962 (NO_INLINE): Likewise.
30963 (fn1): Use match function instead of strstr.
30964 * debug/tst-backtrace3.c: Include tst-backtrace.h.
30965 (ret): Remove variable.
30966 (x): Likewise.
30967 (FAIL): Remove macro.
30968 (NO_INLINE): Likewise.
30969 (fn): Use match function instead of strstr.
30970 * debug/tst-backtrace4.c: Include tst-backtrace.h.
30971 (ret): Remove variable.
30972 (x): Likewise.
30973 (FAIL): Remove macro.
30974 (NO_INLINE): Likewise.
30975 (handle_signal): Use match function instead of strstr.
30976 * debug/tst-backtrace5.c: Include tst-backtrace.h.
30977 (ret): Remove variable.
30978 (x): Likewise.
30979 (FAIL): Remove macro.
30980 (NO_INLINE): Likewise.
30981 (handle_signal): Use match function instead of strstr.
30982
4858fa2a
RM
309832013-01-23 Roland McGrath <roland@hack.frob.com>
30984
30985 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
30986
bae8e7f5
DM
309872013-01-23 David S. Miller <davem@davemloft.net>
30988
30989 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
30990 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
30991 argument of CAS if possible.
30992 * sysdeps/sparc/sparc64/bits/atomic.h
30993 (__arch_compare_and_exchange_val_32_acq): Likewise.
30994 (__arch_compare_and_exchange_val_64_acq): Likewise.
30995
9cbbc4ae
PT
309962013-01-23 Pino Toscano <toscano.pino@tiscali.it>
30997
30998 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
30999 * sysdeps/posix/ulimit.c: ... this.
92a601b8 31000 Include <limits.h>.
67b3f58c 31001 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 31002
5655a0b5
AC
310032013-01-23 Adam Conrad <adconrad@0c3.net>
31004
31005 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
31006 (LDFLAGS-tst-array5): Likewise.
31007
052aff95
JM
310082013-01-23 Joseph Myers <joseph@codesourcery.com>
31009
31010 [BZ #15036]
31011 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
31012 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
31013 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
31014 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
31015
7c1e01aa
DM
310162013-01-21 David S. Miller <davem@davemloft.net>
31017
31018 * sysdeps/sparc/backtrace.c: New file.
31019 * sysdeps/sparc/sparc32/backtrace.h: New file.
31020 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
31021 * sysdeps/sparc/sparc64/backtrace.h: New file.
31022 * sysdeps/sparc/sparc64/backtrace.c: Delete.
31023 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
31024 -funwind-tables.
31025
ab087e0a
AS
310262013-01-21 Andreas Schwab <schwab@suse.de>
31027
31028 [BZ #15020]
31029 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
31030 closed its stdout.
31031
ed689c2f
AS
310322013-01-20 Andreas Schwab <schwab@linux-m68k.org>
31033
31034 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
31035 "mpa2.h".
31036 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31037
31d470ac
JM
310382013-01-18 Joseph Myers <joseph@codesourcery.com>
31039 Mark Mitchell <mark@codesourcery.com>
31040 Tom de Vries <tom@codesourcery.com>
31041 Paul Pluzhnikov <ppluzhnikov@google.com>
31042
31043 * debug/tst-backtrace2.c: New file.
31044 * debug/tst-backtrace3.c: Likewise.
31045 * debug/tst-backtrace4.c: Likewise.
31046 * debug/tst-backtrace5.c: Likewise.
31047 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
31048 (CFLAGS-tst-backtrace3.c): Likewise.
31049 (CFLAGS-tst-backtrace4.c): Likewise.
31050 (CFLAGS-tst-backtrace5.c): Likewise.
31051 (LDFLAGS-tst-backtrace2): Likewise.
31052 (LDFLAGS-tst-backtrace3): Likewise.
31053 (LDFLAGS-tst-backtrace4): Likewise.
31054 (LDFLAGS-tst-backtrace5): Likewise.
31055 (tests): Add new tests tst-backtrace2, tst-backtrace3,
31056 tst-backtrace4 and tst-backtrace5.
31057
90567f30 310582013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
31059 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31060
31061 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
31062 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
31063 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
31064 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
31065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31066 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
31067 "+r" and remove output regs list as redundant. Add explicit inline
31068 asm to specify register of return val to work around compiler codegen
31069 bug. Remove (int) cast on return value. Add return type parameter to
31070 use in macro so that this macro does not truncate return value for
31071 64-bit values.
31072 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
31073 pass to INTERNAL_VSYSCALL_NCS.
31074 (INLINE_VSYSCALL): Add 'long int' as return type to
31075 INTERNAL_VSYSCALL_NCS macro invocation.
31076 (INTERNAL_VSYSCALL): Add 'long int' as return type to
31077 INTERNAL_VSYSCALL_NCS macro invocation.
31078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31079
d3b9ea61
SP
310802013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31081
0b57daeb
SP
31082 [BZ #14496]
31083 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
31084 Fix application of SIMD FP exception mask.
31085
caa99d06
SP
31086 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
31087 mp_no from a power of two.
31088 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
31089 __mpexp_twomm1. Use __pow_mp.
31090
d3b9ea61
SP
31091 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
31092 multiplication.
31093
1dbaee3c
DM
310942013-01-17 David S. Miller <davem@davemloft.net>
31095
31096 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31097
728d7b43
JM
310982013-01-17 Joseph Myers <joseph@codesourcery.com>
31099
31100 [BZ #15023]
31101 * include/complex.h: Condition contents on [!_COMPLEX_H].
31102 (__kernel_casinhf): New prototype.
31103 (__kernel_casinh): Likewise.
31104 (__kernel_casinhl): Likewise.
31105 * math/Makefile (libm_calls): Add k_casinh.
31106 * math/k_casinh.c: New file.
31107 * math/k_casinhf.c: Likewise.
31108 * math/k_casinhl.c: Likewise.
31109 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
31110 finite nonzero arguments.
31111 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
31112 finite nonzero arguments.
31113 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
31114 finite nonzero arguments.
31115 * math/s_casinh.c: Do not include <float.h>.
31116 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
31117 * math/s_casinhf.c: Do not include <float.h>.
31118 (__casinhf): Move code for finite nonzero arguments to
31119 k_casinhf.c.
31120 * math/s_casinhl.c: Do not include <float.h>.
31121 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
31122 redefine.
31123 (__casinhl): Move code for finite nonzero arguments to
31124 k_casinhl.c.
31125 * math/libm-test.inc (cacos_test): Add more tests.
31126 * sysdeps/i386/fpu/libm-test-ulps: Update.
31127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31128
2a26ef3a
PT
311292013-01-17 Pino Toscano <toscano.pino@tiscali.it>
31130
31131 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
31132 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
31133 [!HAVE_MREMAP]: Remove [defined linux] case.
31134 * malloc/arena.c: Do not include <malloc-sysdep.h>.
31135
a897655d
SP
311362013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
31137
31138 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
31139
881ebe89 311402013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
31141
31142 * elf/elf.h (R_386_SIZE32): New relocation.
31143 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
31144 R_386_SIZE32.
31145 (elf_machine_rela): Likewise.
31146 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31147 R_X86_64_SIZE64 and R_X86_64_SIZE32.
31148
59981e9b
JM
311492013-01-17 Joseph Myers <joseph@codesourcery.com>
31150
31151 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
31152 (FP_FAST_FMA): Do not define.
31153 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
31154 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
31155 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
31156 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
31157 !_SOFT_FLOAT]: Likewise.
31158 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
31159 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
31160 value.
31161 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
31162 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
31163 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
31164 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
31165 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
31166 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
31167 file.
31168
cfa8054f
AS
311692013-01-16 Andreas Schwab <schwab@suse.de>
31170
31171 [BZ #14327]
31172 * include/stdlib.h (__mktemp): Add declaration.
31173 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
31174 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
31175
dd930cc5
SP
311762013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31177
881ebe89
SP
31178 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
31179 definitions.
31180 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
31181 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
31182 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
31183 definitions here.
31184 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
31185 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
31186 definitions.
31187 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
31188 and ONE.
31189 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
31190 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
31191 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
31192 definitions.
31193 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
31194 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
31195 definitions.
31196 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 31197
dd930cc5
SP
31198 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
31199
c19a9f89
DM
312002013-01-15 David S. Miller <davem@davemloft.net>
31201
1aa61767
DM
31202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31203 trunc{,f} to libm-sysdep_routes.
31204 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
31206 file.
31207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
31208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
31209 file.
31210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
31211 file.
31212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
31213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
31214 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
31215 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
31216 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
31217 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
31218 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
31219 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
31220
c42d5e98
DM
31221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31222 nearbyint{,f} to libm-sysdep_routes.
31223 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
31225 New file.
31226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
31227 file.
31228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
31229 New file.
31230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
31231 file.
31232 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
31233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
31234 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
31235 file.
31236 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
31237 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
31238 file.
31239 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
31240 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
31241 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
31242
c19a9f89
DM
31243 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
31244 libc_feholdexcept and libc_fesetenv.
31245
357679d2
MF
312462013-01-15 Mike Frysinger <vapier@gentoo.org>
31247
31248 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
31249
65a82e3d
DM
312502013-01-14 David S. Miller <davem@davemloft.net>
31251
8b954ab9
DM
31252 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
31253 (SPARC_ASM_VIS2_IFUNC): Likewise.
31254 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
31255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
31256 use of 'siam' instruction.
31257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
31258 Likewise.
31259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
31260 Likewise.
31261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
31262 Likewise.
31263 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
31264 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
31265 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
31266 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
31267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
31268 file.
31269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
31270 file.
31271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
31272 file.
31273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
31274 file.
31275 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
31276 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
31277 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
31278 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
31279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
31280 new VIS2 routines.
31281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
31282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
31284 Likewise.
31285 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
31286 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
31287 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
31288 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
31289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
31290 routines to libm-sysdep_routines.
31291 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31292
65a82e3d
DM
31293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31294 fdim/fdimf to libm-sysdep_routines.
31295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
31296 file.
31297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
31298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
31299 file.
31300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
31301 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
31302 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
31303 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
31304 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
31305 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
31306 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
31307
e34ab705
SP
313082013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31309
2a91b573
SP
31310 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
31311 to optimize copies.
31312
1066a534
SP
31313 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
31314 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31315 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31316
e34ab705
SP
31317 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
31318 local variable MPTWO.
31319 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
31320 Likewise.
31321
aba5e596
MF
313222013-01-13 Mike Frysinger <vapier@gentoo.org>
31323
31324 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
31325 GLOB_NOESCAPE.
31326
e557e9e5
MF
313272013-01-13 Mike Frysinger <vapier@gentoo.org>
31328
31329 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
31330
0428cec9
MF
313312013-01-13 Mike Frysinger <vapier@gentoo.org>
31332
31333 * manual/pattern.texi (glob_t): Document gl_flags.
31334 (glob64_t): Likewise.
31335
8794a964
DM
313362013-01-11 David S. Miller <davem@davemloft.net>
31337
66438c3f
RM
31338 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
31339 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
31340 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
31341 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
31342 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
31343 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
31344 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
31345 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
31346 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
31347 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
31348 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
31349 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
31350 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
31351
4ae4244d
DM
31352 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
31353 sparc V9 rather than using V8 code.
31354 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31355 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31356
8794a964
DM
31357 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
31358 Move to...
31359 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
31360 Here.
31361
6270516e
RM
313622013-01-11 Roland McGrath <roland@hack.frob.com>
31363
31364 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
31365 not in the main loop.
31366 * configure: Regenerated.
31367
6a57d931
JM
313682013-01-11 Joseph Myers <joseph@codesourcery.com>
31369
31370 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
31371 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
31372 to just #else.
31373 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
31374 [!__GLIBC_HAVE_LONG_LONG] case.
31375 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
31376 condition to just #else.
31377 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
31378 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
31379 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
31380 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
31381 unconditional.
31382 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
31383 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31384 #elif condition to just #else.
31385 * sysdeps/unix/sysv/linux/sys/sysmacros.h
31386 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
31387 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31388 #elif condition to just #else.
31389
0e8529e9
SE
313902013-01-11 Steve Ellcey <sellcey@mips.com>
31391
31392 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
31393 (EF_MIPS_ARCH_64): Fix value.
31394 (EF_MIPS_ARCH_32R2): New.
31395 (EF_MIPS_ARCH_64R2): New.
31396
740b3dbe
L
313972013-01-11 H.J. Lu <hongjiu.lu@intel.com>
31398
31399 * Makeconfig (+link-pie-before-libc): New.
31400 (+link-pie-after-libc): Likewise.
31401 (+link-pie-tests): Likewise.
31402 (+link-pie): Rewritten.
31403 (link-before-libc): Remove $(config-LDFLAGS).
31404 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
31405 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
31406 (config-LDFLAGS): Renamed to ...
31407 (rtld-LDFLAGS): This.
31408 (rtld-tests-LDFLAGS): New macro.
31409 (link-libc-rpath-link): Likewise.
31410 (link-libc-tests-rpath-link): Likewise.
31411 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
31412 (link-libc): Prepand $(link-libc-rpath-link).
31413 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
31414 (test-program-prefix): New macro.
31415 (test-via-rtld-prefix): Likewise.
31416 (test-program-cmd): Likewise.
31417 (host-test-program-cmd): Likewise.
31418 * Makefile ($(common-objpfx)testrun.sh): Replace
31419 $(run-program-prefix) with $(test-program-prefix).
31420 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
31421 $(rtld-LDFLAGS).
31422 ($(common-objpfx)shlib.lds): Likewise.
31423 (build-module-helper): Likewise.
31424 ($(common-objpfx)format.lds): Likewise.
31425 * Rules (binaries-pie-tests): New.
31426 (binaries-pie-notests): Likewise.
31427 (binaries-pie): Rewritten.
31428 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
31429 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
31430 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
31431 (make-test-out): Replace $(host-built-program-cmd) with
31432 $(host-test-program-cmd).
31433 * config.make.in (build-hardcoded-path-in-tests): New variable.
31434 * configure.in (--enable-hardcoded-path-in-tests): New configure
31435 option.
31436 (hardcoded_path_in_tests): New AC_SUBST.
31437 * configure: Regenerated.
31438 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
31439 $(built-program-cmd) with $(test-program-cmd).
31440 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
31441 (test_program_cmd): This.
31442 * elf/Makefile ($(objpfx)order.out): Run test with
31443 $(test-program-prefix).
31444 ($(objpfx)order2.out): Likewise.
31445 ($(objpfx)tst-initorder.out): Likewise.
31446 ($(objpfx)tst-initorder2.out): Likewise.
31447 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
31448 $(test-program-cmd).
31449 ($(objpfx)tst-array1-static.out): Likewise.
31450 ($(objpfx)tst-array2.out): Likewise.
31451 ($(objpfx)tst-array3.out): Likewise.
31452 ($(objpfx)tst-array4.out): Likewise.
31453 ($(objpfx)tst-array5.out): Likewise.
31454 ($(objpfx)tst-array5-static.out): Likewise.
31455 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
31456 $(test-program-cmd).
31457 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
31458 $(run-program-prefix) with $(test-program-prefix).
31459 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
31460 (test_program_prefix): This.
31461 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
31462 $(run-program-prefix) with $(test-program-prefix).
31463 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
31464 (test_program_prefix): This.
31465 * iconvdata/tst-tables.sh: Likewise.
31466 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
31467 $(run-program-prefix) with $(test-program-prefix).
31468 ($(objpfx)tst-translit.out): Likewise.
31469 ($(objpfx)tst-gettext2.out): Likewise.
31470 ($(objpfx)tst-gettext4.out): Likewise.
31471 ($(objpfx)tst-gettext6.out): Likewise.
31472 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
31473 (test_program_prefix): This.
31474 * intl/tst-gettext2.sh: Likewise.
31475 * intl/tst-gettext4.sh Likewise.
31476 * intl/tst-gettext6.sh: Likewise.
31477 * intl/tst-translit.sh: Likewise.
31478 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
31479 with $(test-program-cmd).
31480 * libio/Makefile ($(objpfx)test-freopen.out): Replace
31481 $(run-program-prefix) with $(test-program-prefix).
31482 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
31483 (test_program_prefix): This.
31484 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
31485 $(run-program-prefix) with $(test-program-prefix).
31486 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
31487 (test_program_prefix): This.
31488 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
31489 * posix/Makefile ($(objpfx)globtest.out): Replace
31490 $(run-via-rtld-prefix) and $(test-wrapper) with
31491 $(test-program-prefix) and $(test-via-rtld-prefix).
31492 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
31493 $(test-program-prefix).
31494 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
31495 $(host-test-program-cmd).
31496 (tst-spawn-ARGS): Likewise.
31497 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
31498 $(test-program-prefix).
31499 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
31500 (test_via_rtld_prefix): This.
31501 (test_wrapper): Renamed to ...
31502 (test_program_prefix): This.
31503 (run_program_prefix): Replaced by test_program_prefix.
31504 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
31505 (test_program_prefix): This.
31506 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
31507 with $(host-test-program-cmd).
31508 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
31509 $(run-program-prefix) with $(test-program-prefix).
31510 ($(objpfx)tst-printf.out): Likewise.
31511 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
31512 $(test-program-cmd).
31513 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
31514 (test_program_prefix): This.
31515 * stdio-common/tst-unbputc.sh: Likewise.
31516 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
31517 $(run-program-prefix) with $(test-program-prefix).
31518 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
31519 (test_program_prefix): This.
31520 * string/Makefile ($(objpfx)tst-svc.out): Replace
31521 $(built-program-cmd) with $(test-program-cmd).
31522
c6fe55cf
AJ
315232013-01-11 Andreas Jaeger <aj@suse.de>
31524
31525 [BZ #15003]
31526 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
31527 value. Sync with Linux 3.7.
31528
9e6919c8
DM
315292013-01-10 David S. Miller <davem@davemloft.net>
31530
31531 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
31532 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31533 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31534
1c9f1a02
RM
315352013-01-10 Roland McGrath <roland@hack.frob.com>
31536
31537 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
31538 never set.
31539 * configure: Regenerated.
31540
b9de2dde
DM
315412013-01-10 David S. Miller <davem@davemloft.net>
31542
31543 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
31544 sparc V9 rather than using V8 code.
31545 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31546 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31547
e7f68ef4
RM
315482013-01-10 Roland McGrath <roland@hack.frob.com>
31549
31550 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
31551 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
31552 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
31553 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
31554 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
31555 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
31556 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
31557 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
31558 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
31559 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
31560 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
31561 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
31562 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
31563 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
31564 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
31565 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
31566 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
31567 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
31568 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
31569 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
31570 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
31571 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
31572 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
31573 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
31574 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
31575 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
31576 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
31577
5a47cc9c
DM
315782013-01-10 David S. Miller <davem@davemloft.net>
31579
31580 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31581
4cf8f209
L
315822013-01-10 H.J. Lu <hongjiu.lu@intel.com>
31583
31584 * posix/Makefile (tests-static): New variable.
31585 (tests): Add $(tests-static).
31586 (tst-exec-static-ARGS): New variable.
31587 (tst-spawn-static-ARGS): Likewise.
31588 * posix/tst-exec-static.c: New file.
31589 * posix/tst-spawn-static.c: Likewise.
31590 * posix/tst-exec.c: Support run directly.
31591 * posix/tst-spawn.c: Likewise.
31592
fed0faa1
JM
315932013-01-10 Joseph Myers <joseph@codesourcery.com>
31594
828beb13
JM
31595 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
31596 long.
31597 * math/bits/mathcalls.h (llrint): Likewise.
31598 (llround): Likewise.
31599 * stdlib/stdlib.h (struct drand48_data): Likewise.
31600 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
31601 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
31602 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
31603 Likewise.
31604 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
31605 Likewise.
31606 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
31607 (elf_greg_t): Likewise.
31608 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
31609 (__jmp_buf): Likewise.
31610 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
31611 definitions.
31612 (llrint): Likewise, for all definitions.
31613 (llrintl): Likewise.
31614
fed0faa1
JM
31615 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
31616 Remove [__GNUC__] condition.
31617 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
31618 condition to just [__USE_ISOC99].
31619 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
31620
1a20cb20
L
316212013-01-10 H.J. Lu <hongjiu.lu@intel.com>
31622
31623 [BZ #14200]
31624 * sysdeps/unix/sysv/linux/x86/bits/environments.h
31625 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
31626 defined.
31627 (_POSIX_V6_ILP32_OFF32): Likewise.
31628 (_XBS5_ILP32_OFF32): Likewise.
31629 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
31630 (__ILP32_OFFBIG_LDFLAGS): Likewise.
31631
751b85f7
SP
316322013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31633
7490eb81
SP
31634 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
31635
751b85f7
SP
31636 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
31637 doubles __mpexp_twomm1. Adjust usage.
31638 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
31639 Remove.
31640
988197f0
AS
316412013-01-10 Andreas Schwab <schwab@suse.de>
31642
31643 [BZ #14964]
31644 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
31645 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
31646
e83d7298
DM
316472013-01-09 David S. Miller <davem@davemloft.net>
31648
034ed64b 31649 [BZ #15003]
57f41c40
AS
31650 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
31651 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
31652 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
31653 (TCP_FASTOPEN): Define.
e83d7298
DM
31654 (tcp_repair_opt): New structure.
31655 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
31656 enum values.
57f41c40
AS
31657 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
31658 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
31659 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
31660 (tcp_cookie_transactions): New structure.
31661
d5e0b9bd
AB
316622013-01-09 Anton Blanchard <anton@samba.org>
31663
31664 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
31665 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
31666 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
31667 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
31668
0c07e3ea
JM
316692013-01-09 Joseph Myers <joseph@codesourcery.com>
31670
31671 * include/features.h (__USE_ANSI): Remove.
31672
232f7002
RM
316732013-01-09 Roland McGrath <roland@hack.frob.com>
31674
ad98e30c
RM
31675 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
31676
232f7002
RM
31677 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
31678
950c99ca
SP
316792013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
31680
b5792741
SP
31681 * sysdeps/s390/fpu/libm-test-ulps: Update.
31682
47cf2278
SP
31683 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31684
950c99ca
SP
31685 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
31686 (__acr): Likewise.
31687 (__cpy): Likewise.
31688 (norm): Likewise.
31689 (denorm): Likewise.
31690 (__mp_dbl): Likewise.
31691 (__dbl_mp): Likewise.
31692 (add_magnitudes): Likewise.
31693 (sub_magnitudes): Likewise.
31694 (__add): Likewise.
31695 (__sub): Likewise.
31696 (__mul): Likewise.
31697 (__inv): Likewise.
31698 (__dvd): Likewise.
31699 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
31700 (__acr): Likewise.
31701 (__cpy): Likewise.
31702 (norm): Likewise.
31703 (denorm): Likewise.
31704 (__mp_dbl): Likewise.
31705 (__dbl_mp): Likewise.
31706 (add_magnitudes): Likewise.
31707 (sub_magnitudes): Likewise.
31708 (__add): Likewise.
31709 (__sub): Likewise.
31710 (__mul): Likewise.
31711 (__inv): Likewise.
31712 (__dvd): Likewise.
31713 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
31714 (__acr): Likewise.
31715 (__cpy): Likewise.
31716 (norm): Likewise.
31717 (denorm): Likewise.
31718 (__mp_dbl): Likewise.
31719 (__dbl_mp): Likewise.
31720 (add_magnitudes): Likewise.
31721 (sub_magnitudes): Likewise.
31722 (__add): Likewise.
31723 (__sub): Likewise.
31724 (__mul): Likewise.
31725 (__inv): Likewise.
31726 (__dvd): Likewise.
31727
eede9df9
JM
317282013-01-08 Joseph Myers <joseph@codesourcery.com>
31729
31730 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
31731 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
31732 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
31733 2 && __USE_EXTERN_INLINES]: Likewise.
31734
c40ea3d9
AJ
317352013-01-08 Andreas Jaeger <aj@suse.de>
31736
31737 [BZ# 14985]
31738 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
31739 Remove.
31740 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31741 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31742
2ccdea26
AB
317432013-01-07 Anton Blanchard <anton@samba.org>
31744
31745 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
31746 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
31747 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
31748 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
31749 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
31750 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31751 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
31752 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
31753 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31754 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31755 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31756 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31757 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31758 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31759 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
31760 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31761 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31762 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31763 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
31764 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
31765 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
31766 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
31767 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31768 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
31769 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
31770 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
31771 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31772 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31773 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
31774 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31775 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
31776 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31777 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31778 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31779 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31780 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31781 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31782 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31783 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
31784 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
31785 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
31786 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31787 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31788
a9708fed
JM
317892013-01-07 Joseph Myers <joseph@codesourcery.com>
31790
375607b9
JM
31791 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
31792 (__MALLOC_PMT): Likewise.
31793 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
31794 [__GNUC__], only on [_LIBC].
31795 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31796 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
31797 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31798 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
31799 forward declaration.
31800 (realloc_hook_ini): Likewise.
31801 (memalign_hook_ini): Likewise.
31802 (__libc_memalign): Do not use __MALLOC_PMT in variable
31803 declaration.
31804 (__libc_valloc): Likewise.
31805 (__libc_pvalloc): Likewise.
31806 (__libc_calloc): Likewise.
31807 (__posix_memalign): Likewise.
31808
a9708fed
JM
31809 [BZ #14996]
31810 * math/s_casinh.c: Include <float.h>.
31811 (__casinh): Do not do computation with squaring and square root
31812 for large arguments.
31813 * math/s_casinhf.c: Include <float.h>.
31814 (__casinhf): Do not do computation with squaring and square root
31815 for large arguments.
31816 * math/s_casinhl.c: Include <float.h>.
31817 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
31818 (__casinhl): Do not do computation with squaring and square root
31819 for large arguments.
31820 * math/libm-test.inc (casin_test): Add more tests.
31821 (casinh_test): Likewise.
31822 * sysdeps/i386/fpu/libm-test-ulps: Update.
31823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31824
afec409a
L
318252013-01-04 H.J. Lu <hongjiu.lu@intel.com>
31826
31827 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
31828 (__x86_64_raw_data_cache_size): Likewise.
31829 (__x86_64_data_cache_size_half): Likewise.
31830 (__x86_64_raw_data_cache_size_half): Likewise.
31831 (__x86_64_shared_cache_size): Likewise.
31832 (__x86_64_raw_shared_cache_size): Likewise.
31833 (__x86_64_shared_cache_size_half): Likewise.
31834 (__x86_64_raw_shared_cache_size_half): Likewise.
31835 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
31836 to ...
31837 (__x86_data_cache_size): This.
31838 (__x86_64_raw_data_cache_size): Renamed to ...
31839 (__x86_raw_data_cache_size): This.
31840 (__x86_64_data_cache_size_half): Renamed to ...
31841 (__x86_data_cache_size_half): This.
31842 (__x86_64_raw_data_cache_size_half): Renamed to ...
31843 (__x86_raw_data_cache_size_half): This.
31844 (__x86_64_shared_cache_size): Renamed to ...
31845 (__x86_shared_cache_size): This.
31846 (__x86_64_raw_shared_cache_size): Renamed to ...
31847 (__x86_raw_shared_cache_size): This.
31848 (__x86_64_shared_cache_size_half): Renamed to ...
31849 (__x86_shared_cache_size_half): This.
31850 (__x86_64_raw_shared_cache_size_half): Renamed to ...
31851 (__x86_raw_shared_cache_size_half): This.
31852 * sysdeps/x86_64/memcpy.S: Updated.
31853 * sysdeps/x86_64/memset.S: Likewise.
31854 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
31855 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31856 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31857
0b3986d0
DM
318582013-01-04 David S. Miller <davem@davemloft.net>
31859
31860 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31861
e47686e9
AS
318622013-01-04 Andreas Schwab <schwab@linux-m68k.org>
31863
d643bac1
AS
31864 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
31865 1 to avoid redefinition warning.
31866 (__USE_GNU): Don't define.
31867 (init_signaling_nan): Protoize.
31868
e47686e9
AS
31869 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31870
b18decba
SP
318712013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31872
fffb407f
SP
31873 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
31874 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
31875 (__cpymn): Likewise.
31876 (norm): Remove commented code.
31877 (denorm): Likewise.
31878 (__mp_dbl): Likewise.
31879 (__inv): Likewise.
31880 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
31881 (__cpymn): Likewise.
31882 (norm): Remove commented code.
31883 (denorm): Likewise.
31884 (__mp_dbl): Likewise.
31885 (__inv): Likewise.
31886
b18decba
SP
31887 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
31888 mp_no value for 1.0 and 2.0.
31889 (norm): Use RADIXI instead of radixi.d.
31890 (denorm): Likewise.
31891 (__mul): Use 0.0 instead of zero.d.
31892 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
31893 mp_no value for 1.0 and 2.0.
31894 (norm): Use RADIXI instead of radixi.d.
31895 (denorm): Likewise.
31896 (__mul): Use 0.0 instead of zero.d.
31897
cdc1c96f
JM
318982013-01-04 Joseph Myers <joseph@codesourcery.com>
31899
31900 [BZ #14994]
31901 * math/s_casinh.c (__casinh): Reduce finite argument to first
31902 quadrant then set signs of results at the end.
31903 * math/s_casinhf.c (__casinhf): Likewise.
31904 * math/s_casinhl.c (__casinhl): Likewise.
31905 * math/libm-test.inc (casin_test): Add more tests.
31906 (casinh_test): Likewise.
31907 * sysdeps/i386/fpu/libm-test-ulps: Update.
31908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31909
302913e1
SP
319102013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31911
6420d207
SP
31912 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
31913
a9e48ab4
SP
31914 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
31915
b7837264
SP
31916 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
31917 declarations.
31918 (denorm): Likewise.
31919 (__mp_dbl): Likewise.
31920 (__inv): Likewise.
31921
f8af25d2
SP
31922 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
31923 and adjust the header comment.
31924
302913e1
SP
31925 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
31926 variable name from declaration.
31927
5d7dd1ca
L
319282013-01-03 H.J. Lu <hongjiu.lu@intel.com>
31929
31930 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31931 Initialize COMMON_CPUID_INDEX_7 element.
31932 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
31933 (CPUID_RTM): Likewise.
31934 (HAS_RTM): Likewise.
31935 (COMMON_CPUID_INDEX_7): New enum.
31936
2f5f40f4
AS
319372013-01-03 Andreas Schwab <schwab@linux-m68k.org>
31938
31939 [BZ #14981]
31940 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
31941 size is zero, record memory as freed.
31942
4056f4a0
AJ
319432013-01-03 Andreas Jaeger <aj@suse.de>
31944
31945 * po/ia.po: Add new Interlingua translation.
31946
ab15736f 319472012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
31948
31949 * locale/programs/localedef.c: Fix description of '--posix' flag.
31950
568035b7
JM
319512013-01-02 Joseph Myers <joseph@codesourcery.com>
31952
e6898b8d
JM
31953 * NEWS: Update dates in second copyright notice.
31954 * README: Update copyright dates in example.
31955 * manual/libc.texinfo: Update copyright dates.
31956 * scripts/test-installation.pl: Update copyright date in --version
31957 output.
31958
0e2f9562
JM
31959 * hurd/ctty-input.c: Fix copyright notice formatting.
31960 * hurd/ctty-output.c: Likewise.
31961 * hurd/dtable.c: Likewise.
31962 * hurd/hurd-raise.c: Likewise.
31963 * hurd/hurdprio.c: Likewise.
31964 * hurd/msgportdemux.c: Likewise.
31965 * misc/sys/file.h: Likewise.
31966 * misc/sys/ioctl.h: Likewise.
31967 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
31968 * sysdeps/mach/hurd/chdir.c: Likewise.
31969 * sysdeps/mach/hurd/fchdir.c: Likewise.
31970 * sysdeps/mach/hurd/rename.c: Likewise.
31971 * sysdeps/mach/hurd/rmdir.c: Likewise.
31972 * sysdeps/mach/hurd/seekdir.c: Likewise.
31973 * sysdeps/mach/hurd/setsid.c: Likewise.
31974 * sysdeps/posix/wait3.c: Likewise.
31975
568035b7
JM
31976 * All files with FSF copyright notices: Update copyright dates
31977 using scripts/update-copyrights.
31978 * intl/plural.c: Regenerated.
31979 * locale/programs/charmap-kw.h: Likewise.
31980 * locale/programs/locfile-kw.h: Likewise.
31981
da08f647
SP
319822013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
31983
0f5477af
SP
31984 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
31985 four values.
31986
44e0d4c2
SP
31987 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
31988 calculation loop and add branch prediction.
31989
4d55b4e5
SP
31990 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
31991 check access beyond bounds of m1np.
31992
da08f647
SP
31993 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
31994 MPTWO.
31995 (__inv): Remove local variable MPTWO to use the global
31996 constant.
31997 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
31998 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
31999 variable MPTWO.
32000 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
32001 MP3HALFS static const.
32002
8e051029
DM
320032013-01-01 David S. Miller <davem@davemloft.net>
32004
32005 * po/ca.po: Update from translation team.
32006
f4cf5f2d
JM
320072013-01-01 Joseph Myers <joseph@codesourcery.com>
32008
32009 * scripts/update-copyrights: New file.
32010 * Makeconfig: Reformat copyright notice.
32011 * ctype/ctype.h: Likewise.
32012 * debug/swprintf_chk.c: Likewise.
32013 * elf/dl-cache.c: Likewise.
32014 * elf/dl-debug.c: Likewise.
32015 * elf/dl-object.c: Likewise.
32016 * grp/initgroups.c: Likewise.
32017 * hurd/Makefile: Likewise.
32018 * hurd/hurd/signal.h: Likewise.
32019 * hurd/hurdfault.c: Likewise.
32020 * hurd/hurdioctl.c: Likewise.
32021 * hurd/hurdlookup.c: Likewise.
32022 * hurd/intr-msg.c: Likewise.
32023 * iconv/gconv_open.c: Likewise.
32024 * libio/swprintf.c: Likewise.
32025 * locale/lc-ctype.c: Likewise.
32026 * locale/nl_langinfo.c: Likewise.
32027 * mach/Machrules: Likewise.
32028 * mach/Makefile: Likewise.
32029 * malloc/obstack.h: Likewise.
32030 * manual/Makefile: Likewise.
32031 * manual/tsort.awk: Likewise.
32032 * misc/bits/stab.def: Likewise.
32033 * nis/nis_print_group_entry.c: Likewise.
32034 * nis/nis_table.c: Likewise.
32035 * nis/nss_compat/compat-pwd.c: Likewise.
32036 * nis/nss_compat/compat-spwd.c: Likewise.
32037 * po/Makefile: Likewise.
32038 * posix/fnmatch.c: Likewise.
32039 * posix/regex.h: Likewise.
32040 * resolv/Makefile: Likewise.
32041 * resolv/nss_dns/dns-network.c: Likewise.
32042 * resolv/res_hconf.c: Likewise.
32043 * scripts/gen-sorted.awk: Likewise.
32044 * soft-fp/soft-fp.h: Likewise.
32045 * stdio-common/printf.h: Likewise.
32046 * stdlib/monetary.h: Likewise.
32047 * stdlib/random.c: Likewise.
32048 * stdlib/random_r.c: Likewise.
32049 * sysdeps/generic/Makefile: Likewise.
32050 * sysdeps/gnu/Makefile: Likewise.
32051 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32052 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32053 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32054 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32055 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32056 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32057 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32058 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32059 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32060 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32061 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32062 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32063 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32064 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32065 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
32066 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32067 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32068 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32069 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32070 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32071 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32072 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32073 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32074 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
32075 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
32076 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
32077 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
32078 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
32079 * sysdeps/mach/hurd/errnos.awk: Likewise.
32080 * sysdeps/mach/hurd/fork.c: Likewise.
32081 * sysdeps/mach/hurd/getcwd.c: Likewise.
32082 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
32083 * sysdeps/mach/hurd/mmap.c: Likewise.
32084 * sysdeps/mach/hurd/utimes.c: Likewise.
32085 * sysdeps/mach/hurd/xmknod.c: Likewise.
32086 * sysdeps/posix/profil.c: Likewise.
32087 * sysdeps/posix/readdir_r.c: Likewise.
32088 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32089 * sysdeps/powerpc/bits/setjmp.h: Likewise.
32090 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
32091 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32092 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32093 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
32094 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32095 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32096 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32097 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
32098 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32099 * sysdeps/pthread/lio_listio.c: Likewise.
32100 * sysdeps/sparc/dl-procinfo.h: Likewise.
32101 * sysdeps/unix/i386/sysdep.S: Likewise.
32102 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
32103 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
32104 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
32105 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
32106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32107 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
32108 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
32109 * sysdeps/unix/sysv/linux/speed.c: Likewise.
32110 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
32111 * sysdeps/wordsize-32/divdi3.c: Likewise.
32112 * time/sys/time.h: Likewise.
32113 * wcsmbs/Makefile: Likewise.
32114
0549fbba
DM
321152013-01-01 David S. Miller <davem@davemloft.net>
32116
a141f1a7
DM
32117 * po/fr.po: Update from translation team.
32118
0549fbba
DM
32119 * catgets/gencat.c: Update copyright year.
32120 * csu/version.c: Likewise.
32121 * debug/catchsegv.sh: Likewise.
32122 * debug/pcprofiledump.c: Likewise.
32123 * debug/xtrace.sh: Likewise.
32124 * elf/ldconfig.c: Likewise.
32125 * elf/ldd.bash.in: Likewise.
32126 * elf/pldd.c: Likewise.
32127 * elf/sotruss.ksh: Likewise.
32128 * elf/sprof.c: Likewise.
32129 * iconv/iconv_prog.c: Likewise.
32130 * iconv/iconvconfig.c: Likewise.
32131 * locale/programs/locale.c: Likewise.
32132 * locale/programs/localedef.c: Likewise.
32133 * login/programs/pt_chown.c: Likewise.
32134 * malloc/memusage.sh: Likewise.
32135 * malloc/memusagestat.c: Likewise.
32136 * malloc/mtrace.pl: Likewise.
32137 * nscd/nscd.c: Likewise.
32138 * nss/getent.c: Likewise.
32139 * nss/makedb.c: Likewise.
32140 * posix/getconf.c: Likewise.
32141
18ea052c
SP
321422012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32143
32144 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
32145 numbers.
32146
9c89fca6
MF
321472012-12-30 Mike Frysinger <vapier@gentoo.org>
32148
32149 * math/bits/mathcalls.h (modf): Use __nonnull.
32150
085ec079
SP
321512012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
32152
32153 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
32154 (split): Use macro CN instead of the bare value.
32155 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
32156 could be used.
32157 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
32158 instead of the bare value.
32159 (power1): Likewise.
32160
6d9f97e1
SP
321612012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32162
d63f73be
SP
32163 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
32164 __ATAN_TWOM.
32165 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32166
6d9f97e1
SP
32167 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
32168 their values.
32169 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32170 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32171 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
32172 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
32173
4c4febf5
AJ
321742012-12-28 Andreas Jaeger <aj@suse.de>
32175
af5843ef
AJ
32176 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
32177 values are from Linux 3.7.
32178
4c4febf5
AJ
32179 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
32180 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
32181
99136f82
SP
321822012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32183
2f216c3c 32184 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
32185 TRUE case.
32186
99136f82
SP
32187 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
32188 (norm): Likewise.
32189 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
32190 variables with preprocessor constants.
32191 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32192 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32193 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32194
7fffbdff
BH
321952012-12-27 Bruno Haible <bruno@clisp.org>
32196
32197 [BZ #14317]
32198 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
32199 only if needed.
32200
b76eb5f0
SP
322012012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32202
31a7fe5c
SP
32203 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
32204 and use variable directly.
32205 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
32206
b76eb5f0
SP
32207 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
32208 MPONE.
32209 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
32210 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
32211 variable MPONE.
32212 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32213 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32214 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
32215 include directive. Remove local variable MPONE.
32216 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
32217 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
32218 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32219
2c8bfe7d
DM
322202012-12-25 David S. Miller <davem@davemloft.net>
32221
32222 * version.h (RELEASE): Set to "development".
32223 (VERSION): Set to "2.17.90".
32224 * NEWS: Add 2.18 section.
32225
147d03b0
DM
322262012-12-21 David S. Miller <davem@davemloft.net>
32227
32228 * po/hr.po: Update from translation team.
32229
a8ebb2b9
AK
322302012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32231
32232 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
32233
95b4f1b6
SE
322342012-12-19 Steve Ellcey <sellcey@mips.com>
32235
b2d94007 32236 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 32237
cedb2a90
MS
322382012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32239
32240 * manual/contrib.texi (Contributors): Spelling correction.
32241
bbf527d6
DM
322422012-12-15 David S. Miller <davem@davemloft.net>
32243
32244 * po/ru.po: Update from translation team.
32245
bc38c906
DM
322462012-12-13 David S. Miller <davem@davemloft.net>
32247
85429b1a
DM
32248 * NEWS: Mention IFUNC testsuite enhancements.
32249
d283e353
DM
32250 * po/pl.po: Update from translation team.
32251 * po/bg.po: Likewise.
32252
bc38c906
DM
32253 * manual/contrib.texi (Contributors): Update entries for Hongjiu
32254 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
32255
a181b0d7
DM
322562012-12-11 David S. Miller <davem@davemloft.net>
32257
4641d57e
DM
32258 * po/sv.po: Update from translation team.
32259
f7bc6495
DM
32260 * po/vi.po: Update from translation team.
32261
6fc9048f
DM
32262 * po/cs.po: Update from translation team.
32263
a181b0d7
DM
32264 * po/de.po: Update from translation team.
32265 * po/eo.po: Likewise.
32266 * po/nl.po: Likewise.
32267
f70bfe80
SP
322682012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
32269
3c8b4190
SP
32270 [BZ #14246]
32271 * manual/argp.texi (Argp Helper Functions): Move node to follow
32272 Argp Parsing State.
32273
f70bfe80
SP
32274 [BZ #14872]
32275 * manual/conf.texi (Limits on File System Capacity): Mention if
32276 terminating null is included in the max size.
32277
188f0adf
AJ
322782012-12-10 Andreas Jaeger <aj@suse.de>
32279
32280 * po/cs.po: Update from translation team.
32281
56e7d3ad
SP
322822012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
32283
32284 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
32285 void pointer and cast to uintptr_t.
32286 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
32287 path.
32288 * sysdeps/s390/s390-64/memcpy.S: Likewise.
32289 * sysdeps/s390/s390-64/memset.S: Likewise.
32290
76f2d2ea 322912012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
32292
32293 [BZ #14833]
32294 * menual/message.texi (Message Translation): Fix typos.
32295 (Helper programs for gettext): Likewise.
32296
67cbf9a2
AS
322972012-12-07 Andreas Schwab <schwab@linux-m68k.org>
32298
32299 [BZ #14898]
32300 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
32301 Change to -1.
32302
682d0e9a
DM
323032012-12-07 David S. Miller <davem@davemloft.net>
32304
32305 * po/libc.pot: Update.
32306
573cd484
RH
323072012-12-07 Richard Henderson <rth@redhat.com>
32308
7e9da188 32309 [BZ #10114]
573cd484
RH
32310 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
32311 normal/normal case to before the switch.
32312 (_FP_DIV): Likewise.
32313
e933a943
MF
323142012-12-06 Carlos O'Donell <carlos@systemhalted.org>
32315 Mike Frysinger <vapier@gentoo.org>
32316
32317 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
32318 check for __NR_fadvise64_64.
32319
82123268
CM
323202012-12-06 Chris Metcalf <cmetcalf@tilera.com>
32321
32322 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
32323 0, not just to plain "0" as a statement.
32324 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
32325 with cw.
32326
d9814526
JM
323272012-12-06 Joseph Myers <joseph@codesourcery.com>
32328
32329 * NEWS: Use sourceware.org in Bugzilla URL.
32330
7728c574
SP
323312012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
32332
f16946dd
SP
32333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
32334 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
32335
5704bbcb
SP
32336 * stdio-common/tst-put-error.c (do_test): Add newline to the
32337 padded test to ensure flush.
32338
17aa0516
JL
323392012-12-05 Jeff Law <law@redhat.com>
32340
32341 * sunrpc/etc.rpc (fedfs_admin): Add entry.
32342
363313b5
JM
323432012-12-05 Joseph Myers <joseph@codesourcery.com>
32344
effbd42a
JM
32345 * README: Don't refer to ports add-on as distributed separately.
32346 Mention AArch64 in list of systems supported in the ports add-on.
32347
87600365
JM
32348 * LICENSES: Add more non-FSF copyright and license notices.
32349
a0d7066a
JM
32350 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
32351 ((unused)).
32352
66ca5a5b
JM
32353 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
32354
363313b5
JM
32355 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
32356 10000 as width of padded output.
32357
b37984ad
JM
323582012-12-04 Joseph Myers <joseph@codesourcery.com>
32359
9003570a
JM
32360 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
32361
b37984ad
JM
32362 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
32363 variable LX with __attribute__ ((unused)).
32364 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
32365 Likewise.
32366 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
32367 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32368 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
32369 with __attribute__ ((unused)).
32370
c8df52ec
DM
323712012-12-04 David S. Miller <davem@abraco.davemloft.net>
32372
32373 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
32374
b3b099af
JM
323752012-12-04 Joseph Myers <joseph@codesourcery.com>
32376
c33aa6e3
JM
32377 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
32378 (CFLAGS-nldbl-acos.c): New variable.
32379 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
32380 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
32381 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
32382 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
32383 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
32384 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
32385 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
32386 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
32387 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
32388 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
32389 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
32390 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
32391 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
32392 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
32393 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
32394 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
32395 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
32396 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
32397 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
32398 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
32399 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
32400 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
32401 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
32402 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
32403 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
32404 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
32405 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
32406 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
32407 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
32408 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
32409 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
32410 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
32411 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
32412 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
32413 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
32414 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
32415 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
32416 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
32417 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
32418 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
32419 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
32420 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
32421 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
32422 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
32423 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
32424 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
32425 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
32426 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
32427 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
32428 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
32429 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
32430 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
32431 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
32432 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
32433 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
32434 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
32435 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
32436 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
32437 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
32438 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
32439 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
32440 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
32441 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
32442 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
32443 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
32444 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
32445 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
32446 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
32447 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
32448 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
32449 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
32450 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
32451 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
32452 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
32453 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
32454 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
32455 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
32456 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
32457 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
32458 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
32459 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
32460 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
32461 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
32462 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
32463 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
32464 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
32465 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
32466 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
32467 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
32468 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
32469 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
32470 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
32471 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
32472 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
32473 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
32474 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
32475 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
32476
20f0018d
JM
32477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32478 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
32479
b3b099af
JM
32480 [BZ #14914]
32481 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
32482 whole low double instead of just low 47 bits when splitting values
32483 into two parts.
32484
029264d1
AM
324852012-12-03 Allan McRae <allan@archlinux.org>
32486
32487 * manual/stdio.texi (Predefined Printf Handlers): Remove
32488 @hsep and @vsep usage.
32489
c9d6789e
MF
324902012-12-03 Mike Frysinger <vapier@gentoo.org>
32491
32492 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
32493 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
32494
4b7634a5
JL
324952012-12-03 Jeff Law <law@redhat.com>
32496
32497 * time/sys/time.h (settimeofday): Do not mark TV argument
32498 as __nonnull.
32499
eb6cbd24
MF
325002012-12-01 Mike Frysinger <vapier@gentoo.org>
32501
32502 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
32503 when currently writing and seek to current position when not.
32504 * libio/Makefile (tests): Remove bug-fclose1.
32505 * libio/bug-fclose1.c: Delete.
32506
f638872a
JM
325072012-12-01 Joseph Myers <joseph@codesourcery.com>
32508
32509 * manual/arith.texi (feenableexcept): Fix typo.
32510 (fedisableexcept): Likewise.
32511
48085d14
RM
325122012-11-30 Roland McGrath <roland@hack.frob.com>
32513
32514 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
32515 second, differently-typed declaration, rather than a cast.
32516
1a538b9f
SP
325172012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32518
32519 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
32520 * include/rpc/svc.h: ... here.
32521
d07f2ff1 325222012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
32523
32524 [BZ #13013]
32525 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
32526 depending n and resplen2 to catch cases where answer
32527 equals answerp2.
32528
c93ec1f0
CD
325292012-11-29 Carlos O'Donell <carlos@systemhalted.org>
32530
32531 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
32532 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
32533
37db69de
MF
325342012-11-29 Mike Frysinger <vapier@gentoo.org>
32535
32536 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
32537
e10c4e4f
RM
325382012-11-29 Roland McGrath <roland@hack.frob.com>
32539
32540 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
32541
2af1b328
JL
325422012-11-28 Jeff Law <law@redhat.com>
32543
32544 [BZ #13761]
32545 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
32546 dataset_temporary. Track alloca usage into alloca_used.
32547 If dataset is large allocate and release it via malloc/free.
32548
111db5b1
FW
325492012-06-04 Florian Weimer <fweimer@redhat.com>
32550
f06cc227 32551 [BZ #14197]
111db5b1
FW
32552 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
32553
dd694abd
DM
325542012-11-28 David S. Miller <davem@davemloft.net>
32555
32556 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32557
9984dd01
JM
325582012-11-28 Joseph Myers <joseph@codesourcery.com>
32559
32560 [BZ #14803]
32561 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
32562 of pi/2 rounded to nearest to 64 bits.
32563 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
32564 nearest to 64 bits.
32565 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
32566 bits.
32567
14bc93a9
JL
325682012-11-28 Jeff Law <law@redhat.com>
32569 Martin Osvald <mosvald@redhat.com>
32570
32571 [BZ #14889]
32572 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
32573 * sunrpc/svc.c: Include time.h.
32574 (__svc_accept_failed): New function.
32575 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
32576 any reason other than EINTR, call __svc_accept_failed.
32577 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
32578 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
32579
e3c6aa3a
AS
325802012-11-28 Andreas Schwab <schwab@suse.de>
32581
32582 * scripts/abilist.awk: Also handle indirect functions in .opd
32583 section.
32584
1bead169
JM
325852012-11-28 Joseph Myers <joseph@codesourcery.com>
32586
32587 [BZ #13881]
32588 * sysdeps/x86/fpu/powl_helper.c: New file.
32589 * sysdeps/x86/fpu/Makefile: Likewise.
32590 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
32591 (p3): New object.
32592 (__ieee754_powl): Use __powl_helper for finite arguments except
32593 integer exponents below 8.
32594 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
32595 (p3): New object.
32596 (__ieee754_powl): Use __powl_helper for finite arguments except
32597 integer exponents below 8.
32598 * math/libm-test.inc (pow_test): Add more tests and enable some
32599 previously disabled tests.
32600 * sysdeps/i386/fpu/libm-test-ulps: Update.
32601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32602
0817d63d
SP
326032012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32604 Carlos O'Donell <carlos_odonell@mentor.com>
32605
32606 * nss/makedb.c (is_prime): Assert that input is odd and greater
32607 than 4. Note that fact in a comment too.
32608 (next_prime): Add 4 to input.
32609
de2fd463
SP
326102012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32611
32612 [BZ #11741]
32613 * libio/Makefile (tests): Add test case tst-fwrite-error.
32614 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
32615 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
32616 * libio/tst-fwrite-error.c: New test case.
32617
c515fb51
L
326182012-11-26 H.J. Lu <hongjiu.lu@intel.com>
32619
32620 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
32621 before casting to void *.
32622 * include/libc-internal.h (__pointer_type): New macro.
32623 (__integer_if_pointer_type_sub): Likewise.
32624 (__integer_if_pointer_type): Likewise.
32625 (cast_to_integer): Likewise.
32626 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
32627 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
32628 before casting to atomic64_t.
32629 (atomic_exchange_acq): Likewise.
32630 (__arch_exchange_and_add_body): Likewise.
32631 (__arch_add_body): Likewise.
32632 (atomic_add_negative): Likewise.
32633 (atomic_add_zero): Likewise.
32634
4cf77aa9
JM
326352012-11-26 Joseph Myers <joseph@codesourcery.com>
32636
32637 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
32638 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
32639 (add_fdes): Likewise.
32640 (linear_search_fdes): Likewise.
32641 (binary_search_unencoded_fdes): Likewise.
32642
d260b3b4
AS
326432012-11-26 Andreas Schwab <schwab@linux-m68k.org>
32644
32645 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
32646
67060746
AC
326472012-11-24 Adam Conrad <adconrad@0c3.net>
32648
32649 * configure.in: Autodetect C++ header directories.
32650 * configure: Regenerated.
32651
800938a1
MF
326522012-11-23 Mike Frysinger <vapier@gentoo.org>
32653
32654 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
32655
4e6e34e6
AS
326562012-11-23 Andreas Schwab <schwab@linux-m68k.org>
32657
32658 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32659
7c7feb47
JM
326602012-11-22 Joseph Myers <joseph@codesourcery.com>
32661
7184dcdf
JM
32662 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
32663 LDBL_MANT_DIG == 106]: Disable some tests.
32664 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32665 Likewise.
32666 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32667 Likewise.
32668
0a42601f
JM
32669 [BZ #14871]
32670 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
32671 input for small inputs. Return +/- pi/2 for large inputs.
32672 * math/libm-test.inc (atan_test): Add more tests.
32673
79c9b9fe
JM
32674 * sysdeps/generic/unwind-dw2-fde-glibc.c
32675 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
32676 __attribute__ ((unused)).
32677
c60d3bf2
JM
32678 [BZ #14645]
32679 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
32680 x * y if x and y are nonzero and z is zero.
32681
ef1e0867
JM
32682 [BZ #14811]
32683 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
32684 nonzero exponents with absolute value below 0x1p-117 to +/-
32685 0x1p-117.
32686
1468ded3
JM
32687 [BZ #14869]
32688 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
32689 up arguments below 2**-450, not just those below 2**-500.
32690 * math/libm-test.inc (hypot_test): Add another test.
32691
8e27e3cc
JM
32692 [BZ #14868]
32693 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
32694 Return a+b for ratio over 2**120, not 2**60.
32695 * math/libm-test.inc (hypot_test): Add another test.
32696
c9c0279b
JM
32697 * math/libm-test.inc (clog_test): Use
32698 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
32699 (clog10_test): Likewise.
32700
7c7feb47
JM
32701 [BZ #6778]
32702 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
32703
fff1530e
AS
327042012-11-22 Andreas Schwab <schwab@suse.de>
32705
32706 * sysdeps/i386/fpu/libm-test-ulps: Update.
32707
94558d30
PT
327082012-11-22 Pino Toscano <toscano.pino@tiscali.it>
32709
32710 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
32711 printf output with newline.
32712
7e1be741
L
327132012-11-21 H.J. Lu <hongjiu.lu@intel.com>
32714
6bfea974
L
32715 [BZ #14865]
32716 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
32717 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
32718 -z nodlopen, -z initfirst and -z execstack support.
32719 * configure: Regenerated.
32720
7e1be741
L
32721 * elf/elf.h (DF_1_NODIRECT): New macro.
32722 (DF_1_IGNMULDEF): Likewise.
32723 (DF_1_NOKSYMS): Likewise.
32724 (DF_1_NOHDR): Likewise.
32725 (DF_1_EDITED): Likewise.
32726 (DF_1_NORELOC): Likewise.
32727 (DF_1_SYMINTPOSE): Likewise.
32728 (DF_1_GLOBAUDIT): Likewise.
32729 (DF_1_SINGLETON): Likewise.
32730 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
32731 DT_1_SUPPORTED_MASK bits.
32732 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
32733
105ce2ce
CD
327342012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
32735
32736 * sysdeps/unix/make-syscalls.sh: Document prefixes.
32737
123be9de
TS
327382012-11-20 Thomas Schwinge <thomas@codesourcery.com>
32739
d072f3f7
TS
32740 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
32741 macro.
32742
123be9de
TS
32743 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
32744 (sendmmsg): Move declarations...
32745 * socket/sys/socket.h: ... here.
32746 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
32747 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
32748 include it from...
32749 * socket/recvmmsg.c: ... this new file.
32750 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
32751 (sendmmsg): Rename to __sendmmsg, create weak alias and make
32752 definition of __sendmmsg hidden.
32753 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
32754 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
32755 Move ENOSYS stub into and include it from...
32756 * socket/sendmmsg.c: ... this new file.
32757 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
32758 (sysdep_routines): Move recvmmsg and sendmmsg...
32759 * socket/Makefile (routines): ... here.
32760 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
32761 (GLIBC_PRIVATE): Add __sendmmsg.
32762 * include/sys/socket.h (__sendmmsg): Add declarations.
32763 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
32764 sendmmsg.
32765
cf9a5d18
JM
327662012-11-20 Joseph Myers <joseph@codesourcery.com>
32767
32768 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
32769 variable I1 with __attribute__ ((unused)).
32770 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
32771
ecd4caf9
JM
327722012-11-19 Joseph Myers <joseph@codesourcery.com>
32773
be14d48f
JM
32774 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
32775 DUMMY variables with __attribute__ ((unused)).
32776
ecd4caf9
JM
32777 * bits/byteswap.h: Include <bits/types.h>.
32778 (__bswap_64): Use __uint64_t instead of unsigned long long int.
32779
986cab95
PT
327802012-11-19 Pino Toscano <toscano.pino@tiscali.it>
32781
32782 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
32783 string_t. Do not manually set errno.
32784 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
32785 length with __strnlen. Make sure to both set errno and return it on
32786 failure.
32787
6d33cc9d
DM
327882012-11-19 David S. Miller <davem@davemloft.net>
32789
32790 With help from Joseph Myers.
32791 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
32792 very large arguments properly.
32793 * math/libm-test.inc (atan_test): New tests.
32794 (atan2_test): New tests.
32795 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32796 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32797
ee663277
JM
327982012-11-19 Joseph Myers <joseph@codesourcery.com>
32799
877f2d8e
JM
32800 [BZ #14856]
32801 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
32802 Define to 3.
32803
116fc08a
JM
32804 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
32805 [POSIX] (EADDRNOTAVAIL): Likewise.
32806 [POSIX] (EAFNOSUPPORT): Likewise.
32807 [POSIX] (EALREADY): Likewise.
32808 [POSIX] (ECONNABORTED): Likewise.
32809 [POSIX] (ECONNREFUSED): Likewise.
32810 [POSIX] (ECONNRESET): Likewise.
32811 [POSIX] (EDESTADDRREQ): Likewise.
32812 [POSIX] (EDQUOT): Likewise.
32813 [POSIX] (EHOSTUNREACH): Likewise.
32814 [POSIX] (EIDRM): Likewise.
32815 [POSIX] (EISCONN): Likewise.
32816 [POSIX] (ELOOP): Likewise.
32817 [POSIX] (EMULTIHOP): Likewise.
32818 [POSIX] (ENETDOWN): Likewise.
32819 [POSIX] (ENETUNREACH): Likewise.
32820 [POSIX] (ENOBUFS): Likewise.
32821 [POSIX] (ENODATA): Likewise.
32822 [POSIX] (ENOLINK): Likewise.
32823 [POSIX] (ENOMSG): Likewise.
32824 [POSIX] (ENOPROTOOPT): Likewise.
32825 [POSIX] (ENOSR): Likewise.
32826 [POSIX] (ENOSTR): Likewise.
32827 [POSIX] (ENOTCONN): Likewise.
32828 [POSIX] (ENOTSOCK): Likewise.
32829 [POSIX] (EOPNOTSUPP): Likewise.
32830 [POSIX] (EOVERFLOW): Likewise.
32831 [POSIX] (EPROTO): Likewise.
32832 [POSIX] (EPROTONOSUPPORT): Likewise.
32833 [POSIX] (EPROTOTYPE): Likewise.
32834 [POSIX] (ESTALE): Likewise.
32835 [POSIX] (ETIME): Likewise.
32836 [POSIX] (ETXTBSY): Likewise.
32837 [POSIX] (EWOULDBLOCK): Likewise.
32838 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
32839 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
32840 [POSIX] (SEEK_CUR): Likewise.
32841 [POSIX] (SEEK_END): Likewise.
32842 [POSIX || UNIX98] (mode_t): Do not require.
32843 [POSIX] (off_t): Likewise.
32844 [POSIX] (pid_t): Likewise.
32845 [POSIX] (sys/stat.h): Do not allow header.
32846 [POSIX] (unistd.h): Likewise.
32847 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
32848 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
32849 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
32850 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
32851 require.
32852 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
32853 sigevent): Specify elements.
32854 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
32855 entry.
32856 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
32857 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
32858
a483863f
JM
32859 * conform/data/cpio.h-data [POSIX]: Disable whole file.
32860 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
32861 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
32862 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
32863 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
32864 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
32865 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
32866 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
32867 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
32868 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
32869 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
32870 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
32871 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
32872 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
32873 Likewise.
32874 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
32875 Likewise.
32876 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
32877 Likewise.
32878 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
32879 Likewise.
32880 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
32881 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
32882 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
32883 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
32884 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
32885 Specify lower bound on value.
32886 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
32887 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
32888 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
32889 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
32890 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
32891 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
32892 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
32893 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
32894 value.
32895 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
32896 as optional.
32897 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
32898 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
32899 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
32900 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
32901 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
32902 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
32903 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
32904 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
32905 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
32906 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
32907 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
32908 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
32909 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
32910 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
32911 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
32912 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
32913 entry.
32914 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
32915 optional.
32916 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
32917 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
32918 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
32919 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
32920 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
32921 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
32922 Likewise.
32923 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
32924 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
32925 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
32926 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
32927 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
32928 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
32929 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
32930 as optional.
32931 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
32932 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
32933 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
32934 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
32935 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
32936 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
32937 specify as optional.
32938 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
32939 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
32940 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
32941 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
32942 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
32943 [XPG3] (NL_LANGMAX): Likewise.
32944 [POSIX || XPG3] (NL_MSGMAX): Likewise.
32945 [POSIX || XPG3] (NL_NMAX): Likewise.
32946 [POSIX || XPG3] (NL_SETMAX): Likewise.
32947 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
32948 [XPG3] (NZERO): Likewise.
32949 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
32950 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
32951 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
32952 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
32953 (REG_ERANGE): Expect.
32954 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
32955 optional-constant.
32956 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
32957 Use (void) in prototype.
32958 [POSIX] (*_t): Allow.
32959 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
32960 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
32961 (WRDE_BADVAL): Expect.
32962
5ba924e3
JM
32963 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
32964 expect.
32965 [XPG3 || XPG4] (O_RSYNC): Likewise.
32966 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
32967 Likewise.
32968 [XPG3 || XPG4] (pthread_sigmask): Likewise.
32969 [XPG3 || XPG4] (sigqueue): Likewise.
32970 [XPG3 || XPG4] (sigtimedwait): Likewise.
32971 [XPG3 || XPG4] (sigwaitinfo): Likewise.
32972 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
32973 [XPG3 || XPG4] (vsnprintf): Likewise.
32974 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
32975 Likewise.
32976 [XPG3 || XPG4] (blksize_t): Likewise.
32977 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
32978 Likewise.
32979 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
32980 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
32981 [XPG3 || XPG4] (struct itimerspec): Likewise.
32982 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
32983 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
32984 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
32985 [XPG3 || XPG4] (clockid_t): Likewise.
32986 [XPG3 || XPG4] (timer_t): Likewise.
32987 [XPG3 || XPG4] (clock_getres): Likewise.
32988 [XPG3 || XPG4] (clock_gettime): Likewise.
32989 [XPG3 || XPG4] (clock_settime): Likewise.
32990 [XPG3 || XPG4] (nanosleep): Likewise.
32991 [XPG3 || XPG4] (timer_create): Likewise.
32992 [XPG3 || XPG4] (timer_delete): Likewise.
32993 [XPG3 || XPG4] (timer_gettime): Likewise.
32994 [XPG3 || XPG4] (timer_getoverrun): Likewise.
32995 [XPG3 || XPG4] (timer_settime): Likewise.
32996 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
32997 [XPG3 || XPG4] (getlogin_r): Likewise.
32998 [XPG3 || XPG4] (pread): Likewise.
32999 [XPG3 || XPG4] (pthread_atfork): Likewise.
33000 [XPG3 || XPG4] (pwrite): Likewise.
33001
ee663277
JM
33002 [BZ #14835]
33003 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
33004 <bits/siginfo.h>.
33005
942caa16
PT
330062012-11-19 Pino Toscano <toscano.pino@tiscali.it>
33007
e19af380
PT
33008 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
33009 finalizing MALLSTREAM.
33010
942caa16
PT
33011 * sysdeps/mach/hurd/syncfs.c: New file.
33012
cfde9b46
SP
330132012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
33014
33015 [BZ #14719]
33016 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
33017 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
33018 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
33019 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
33020 (_nss_dns_gethostbyname4_r): Likewise.
33021 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
33022 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
33023
f6da27e5
PH
330242012-11-19 Peng Haitao <penght@cn.fujitsu.com>
33025
33026 [BZ #13763]
33027 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
33028
6665d4a2
SM
330292012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
33030
1f51ee92
SM
33031 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
33032 * elf/cache.c (print_entry): Print ",AArch64" for
33033 FLAG_AARCH64_LIB64
33034
6665d4a2
SM
33035 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
33036 * elf/cache.c (print_entry): Print ",hard-float" for
33037 FLAG_ARM_LIBHF.
33038
05b227bd
DM
330392012-11-18 David S. Miller <davem@davemloft.net>
33040
33041 With help from Joseph Myers.
33042 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
33043 cutoff to 2**-13.
33044 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
33045 cutoff to 2**-25.
33046 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
33047 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
33048 small.
33049 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
33050 * math/libm-test.inc (y0_test): New tests.
33051 (y1_test): New tests.
33052 * sysdeps/i386/fpu/libm-test-ulps: Update.
33053 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33054 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33055
786b0b67
AS
330562012-11-18 Andreas Schwab <schwab@linux-m68k.org>
33057
33058 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
33059 64-bit targets.
33060 * configure: Regenerated.
33061
8e18b86d
DM
330622012-11-17 David S. Miller <davem@davemloft.net>
33063
33064 [BZ #14811]
33065 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
33066 nonzero exponents with absolute value below 0x1p-128 to +/-
33067 0x1p-128.
33068
531f1ae0
JM
330692012-11-17 Joseph Myers <joseph@codesourcery.com>
33070
12df29e2
JM
33071 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
33072
150dc1a0
JM
33073 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
33074
531f1ae0
JM
33075 * posix/getconf-speclist.c: New file.
33076 * posix/posix-envs.def: Likewise.
33077 * posix/confstr.c (START_ENV_GROUP): New macro.
33078 (END_ENV_GROUP): Likewise.
33079 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
33080 (KNOWN_PRESENT_ENV_STRING): Likewise.
33081 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
33082 (UNKNOWN_ENVIRONMENT): Likewise.
33083 (confstr): Include posix-envs.def instead of handling
33084 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
33085 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
33086 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
33087 (END_ENV_GROUP): Likewise.
33088 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
33089 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
33090 (UNKNOWN_ENVIRONMENT): Likewise.
33091 (__sysconf): Include posix-envs.def instead of handling associated
33092 cases directly here.
33093 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
33094 preprocessing getconf-speclist.c rather than running getconf or
33095 generating empty file.
33096
a93f9cbc
PT
330972012-11-16 Pino Toscano <toscano.pino@tiscali.it>
33098
33099 * scripts/check-local-headers.sh: Ignore 'mach' headers.
33100
d64d9f87
AL
331012012-11-16 Andrej Lajovic <natrij@gmail.com>
33102
33103 [BZ #14672]
33104 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
33105
447885eb
DM
331062012-11-16 David S. Miller <davem@davemloft.net>
33107
33108 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
33109 smaller than LDBL_EPSILON/2.0L, just return xm1.
33110
bcbf9830
L
331112012-11-16 H.J. Lu <hongjiu.lu@intel.com>
33112
33113 * elf/tst-array1.c (init): Set constructor priority to 1000.
33114 (fini): Set destructor priority to 1000.
33115 * elf/tst-array2dep.c: Likewise.
33116
2b766585
SP
331172012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33118
33119 [BZ #11741]
33120 * libio/fileops.c (_IO_new_file_write): Correctly return error.
33121 (_IO_new_file_xsputn): Also return EOF if none of the input
33122 data was written when overflow failed.
33123 * libio/iopadn.c (_IO_padn): Likewise.
33124 * libio/iowpadn.c (_IO_wpadn): Likewise.
33125 * stdio-common/tst-put-error.c: Add copyright notice.
33126 (do_test): Add case for printing padded string.
33127 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
33128 _IO_padn returned error.
33129 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
33130 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
33131 return EOF.
33132
b1848fde
SP
331332012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33134
33135 * libio/libioP.h: Add comment note that the references to C++
33136 bits are now obsolete.
33137
2fd89785
MS
331382012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33139
33140 * math/libm-test.inc (check_complex): Use asprintf.
33141
e3ea5409
JM
331422012-11-14 Joseph Myers <joseph@codesourcery.com>
33143
33144 * debug/pcprofiledump.c (print_version): Update copyright year.
33145 * malloc/memusagestat.c (print_version): Likewise.
33146
2e64d265
L
331472012-11-14 H.J. Lu <hongjiu.lu@intel.com>
33148
33149 [BZ #14831]
33150 * elf/Makefile (tests): Add tst-audit8.
33151 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
33152 ($(objpfx)tst-audit8.out): New target.
33153 (tst-audit8-ENV): New variable.
33154 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
33155 audit if l_reloc_result is NULL.
33156 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
33157 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
33158 * elf/tst-audit8.c: New file.
33159
c485e4d2
MS
331602012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33161
33162 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
33163 * misc/Makefile (CFLAGS-select.c): Define.
33164 * posix/Makefile (CFLAGS-pause.c): Define.
33165
3a0d900a
DM
331662012-11-13 David S. Miller <davem@davemloft.net>
33167
33168 * crypt/Makefile: Move test targets after toplevel Rules
33169 inclusion. Grab any necessary sysdep routines when linking.
33170 * crypt/md5.c (md5_process_block): Remove define, we will always
33171 name it __md5_process_block.
33172 (md5_finish_ctx): Update md5_process_block call.
33173 (md5_stream): Likewise.
33174 (md5_process_bytes): Likewise.
33175 (md5_process_block): Rename to __md5_process_block and move to ...
33176 * crypt/md5-block.c: ... here.
33177 * crypt/sha256.c (sha256_process_block): Move to ...
33178 * crypt/sha256-block.c: ... here.
33179 * crypt/sha512.c (sha512_process_block): Move to ...
33180 * crypt/sha512-block.c: ... here.
33181 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
33182 path.
33183 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
33184 * sysdeps/sparc/sparc64/multiarch/Makefile
33185 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
33186 crypt subdir.
33187 (localedef-aux): Add md5 crypto assembler when in locale subdir.
33188 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
33189 multiarch changes.
33190 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
33191 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
33192 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
33193 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
33194 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
33195 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
33196 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
33197 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
33198 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
33199 file.
33200 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
33201 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
33202 file.
33203 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
33204
8ca89318
JM
332052012-11-13 Joseph Myers <joseph@codesourcery.com>
33206
e27d476a
JM
33207 * timezone/tzselect.ksh: Update from tzcode git revision
33208 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
33209 * timezone/zdump.c: Likewise.
33210 * timezone/zic.c: Likewise.
33211 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
33212 in TZVERSION setting, not $(PKGVERSION).
33213 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
33214 REPORT_BUGS_TO settings.
33215
8ca89318
JM
33216 [BZ #14838]
33217 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
33218 macro.
33219
47594329
MS
332202012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33221
33222 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
33223 detection to immediately after _FP_ROUND().
33224 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
33225 bits are 0.
33226
640ac3f1
DM
332272012-11-11 David S. Miller <davem@davemloft.net>
33228
33229 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
33230 inttypes.h
33231 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
33232 __close rather than their public counterparts.
33233
3d2577bb
JM
332342012-11-10 Joseph Myers <joseph@codesourcery.com>
33235
33236 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
33237 file.
33238 [UNIX98] (sem_timedwait): Do not expect.
33239 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
33240 [XPG4 || UNIX98] (sockatmark): Do not expect.
33241 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
33242 (clock_getcpuclockid): Do not expect.
33243 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
33244 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
33245 Do not expect.
33246 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
33247 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
33248 [UNIX98] (vwscanf): Likewise.
33249 [UNIX98] (vswscanf): Likewise.
33250
fb1ae1ee
JM
332512012-11-09 Joseph Myers <joseph@codesourcery.com>
33252
9ec6f8bd
JM
33253 * timezone/version.h: Remove file.
33254 * timezone/README: Do not refer to version.h.
33255 * timezone/Makefile ($(objpfx)zic.o): New dependency on
33256 $(objpfx)version.h.
33257 ($(objpfx)zdump.o): Likewise.
c3f81911 33258 ($(objpfx)version.h): New target.
9ec6f8bd 33259
0aa8f8a1
JM
33260 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
33261 2012i.
33262 * timezone/README: Don't mention modification to tzselect.ksh.
33263 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
33264 work on unmodified tzselect.ksh. Substitute version numbers in
33265 tzselect.ksh.
33266
4e87147f
JM
33267 * Makefile (format-me): Remove.
33268 (INSTALL): Adjust indentation. Use commands directly instead of
33269 using $(format-me).
33270
8b748aed
JM
33271 * aclocal.m4 (ACX_PKGVERSION): New macro.
33272 (ACX_BUGURL): Likewise.
33273 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
33274 (PKGVERSION): New AC_DEFINE_UNQUOTED.
33275 (REPORT_BUGS_TO): Likewise.
33276 * configure: Regenerated.
33277 * config.h.in (PKGVERSION): New macro.
33278 (REPORT_BUGS_TO): Likewise.
33279 * config.make.in (PKGVERSION): New variable.
33280 (PKGVERSION_TEXI): Likewise.
33281 (REPORT_BUGS_TO): Likewise.
33282 (REPORT_BUGS_TEXI): Likewise.
33283 * Makefile (format-me): Use -I$(common-objpfx)manual.
33284 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
33285 ($(common-objpfx)manual/%): New target.
33286 (manual/%): Remove target.
33287 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
33288 (print_version): Use PKGVERSION.
33289 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
33290 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
33291 and REPORT_BUGS_TO.
33292 ($(objpfx)xtrace): Likewise.
33293 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
33294 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
33295 (print_version): Use PKGVERSION.
33296 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
33297 (do_version): Use PKGVERSION.
33298 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
33299 REPORT_BUGS_TO.
33300 (common-ldd-rewrite): Likewise.
33301 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
33302 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
33303 (print_version): Use PKGVERSION.
33304 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
33305 * elf/pldd.c (argp_program_bug_address): Remove variable.
33306 (more_help): New function.
33307 (argp): Use more_help.
33308 (print_version): Use PKGVERSION.
33309 * elf/sln.c (main): Use PKGVERSION.
33310 (usage): Use REPORT_BUGS_TO.
33311 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
33312 (top level): Use PKGVERSION.
33313 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
33314 (print_version): Use PKGVERSION.
33315 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
33316 (print_version): Use PKGVERSION.
33317 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
33318 (print_version): Use PKGVERSION.
33319 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
33320 (print_version): Use PKGVERSION.
33321 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
33322 (print_version): Use PKGVERSION.
33323 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
33324 (print_version): Use PKGVERSION.
33325 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
33326 and BUGURL.
33327 ($(objpfx)memusage): Likewise.
33328 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
33329 (do_version): Use PKGVERSION.
33330 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
33331 (print_version): Use PKGVERSION.
33332 * malloc/mtrace.pl ($PACKAGE): Remove variable.
33333 ($PKGVERSION): New variable.
33334 ($REPORT_BUGS_TO): Likewise.
33335 (usage): Use $REPORT_BUGS_TO.
33336 (top level): Use $PKGVERSION.
33337 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
33338 ($(objpfx)pkgvers.texi): New rule.
33339 ($(objpfx)stamp-pkgvers): Likewise.
33340 * manual/install.texi: Include pkgvers.texi.
33341 (--with-pkgversion): Document new configure option.
33342 (--with-bugurl): Likewise.
33343 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
33344 than necessarily for this particular distribution. Use
33345 REPORT_BUGS_TO for where to report bugs.
33346 * INSTALL: Regenerated.
33347 * manual/libc.texinfo: Include pkgvers.texi.
33348 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
33349 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
33350 (print_version): Use PKGVERSION.
33351 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
33352 (print_version): Use PKGVERSION.
33353 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
33354 (print_version): Use PKGVERSION.
33355 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
33356 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
33357 macro.
33358 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
33359 (print_version): Use PKGVERSION.
33360 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
33361 (print_version): Use PKGVERSION.
33362 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
33363 and PKGVERSION.
33364
92e4b6a9
JM
33365 * timezone/checktab.awk: Update from tzcode 2012i.
33366 * timezone/ialloc.c: Likewise.
33367 * timezone/private.h: Likewise.
33368 * timezone/scheck.c: Likewise.
33369 * timezone/tzfile.h: Likewise.
33370 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
33371 (TZVERSION): Hardcode tzcode version number.
33372 * timezone/zdump.c: Update from tzcode 2012i.
33373 * timezone/zic.c: Likewise.
33374 * timezone/version.h: New file.
33375 * timezone/README: Describe version.h. Update upstream location.
33376
9bde902c
JM
33377 [BZ #14824]
33378 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
33379 (mktemp): Enable declaration.
33380 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
33381 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
33382 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
33383 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
33384 Likewise.
33385 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
33386 Likewise.
33387 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
33388 Likewise.
33389 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
33390 Likewise.
33391 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
33392 Likewise.
33393 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
33394 Likewise.
33395
fb1ae1ee
JM
33396 [BZ #14821]
33397 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
33398 offset in buffer as u_int32_t not u_long. Consistently use memcpy
33399 for copies of such integer values.
33400 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33401 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33402
2c1adbcb
AJ
334032012-11-09 Andreas Jaeger <aj@suse.de>
33404
33405 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
33406 definitions and declarations that are provided by
33407 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
33408
d0f8457e
AK
334092012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33410
3a235abb 33411 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
33412 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
33413 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
33414 definition.
33415
57241e26
MS
334162012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33417
33418 * elf/elf.h: Update comment before AArch64 relocations.
33419
60e8270d
DM
334202012-11-07 David S. Miller <davem@davemloft.net>
33421
33422 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
33423 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33424 (__start_context): Declare.
33425 (__makecontext_ret): Delete.
33426 (__makecontext): Hook up __start_context instead of
33427 __makecontext_ret.
33428 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
33429 (sysdep_routines): Add __start_context when in stdlib.
33430
0fbb0fbc
JM
334312012-11-07 Joseph Myers <joseph@codesourcery.com>
33432
33433 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
33434 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
33435 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
33436 hardcoded "nm".
33437 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
33438 (READELF): New variable. Use it instead of hardcoded "readelf".
33439
eb48db7e
L
334402012-11-07 H.J. Lu <hongjiu.lu@intel.com>
33441
33442 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
33443 * sysdeps/x86/Makefile: Here.
33444 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
33445 * sysdeps/x86/tst-xmmymm.sh: This.
33446
05bcf62a
JM
334472012-11-07 Joseph Myers <joseph@codesourcery.com>
33448
c4b6cf53
JM
33449 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
33450 expectations.
33451 [UNIX98] (pthread_barrier_t): Do not expect.
33452 [UNIX98] (pthread_barrierattr_t): Likewise.
33453 [UNIX98] (pthread_spinlock_t): Likewise.
33454 [UNIX98] (pthread_barrier_destroy): Likewise.
33455 [UNIX98] (pthread_barrier_init): Likewise.
33456 [UNIX98] (pthread_barrier_wait): Likewise.
33457 [UNIX98] (pthread_barrierattr_destroy): Likewise.
33458 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
33459 [UNIX98] (pthread_barrierattr_init): Likewise.
33460 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
33461 [UNIX98] (pthread_getcpuclockid): Likewise.
33462 [UNIX98] (pthread_mutex_timedlock): Likewise.
33463 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
33464 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
33465 [UNIX98] (pthread_sigmask): Likewise.
33466 [UNIX98] (pthread_spin_destroy): Likewise.
33467 [UNIX98] (pthread_spin_init): Likewise.
33468 [UNIX98] (pthread_spin_lock): Likewise.
33469 [UNIX98] (pthread_spin_trylock): Likewise.
33470 [UNIX98] (pthread_spin_unlock): Likewise.
33471 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
33472 Do not expect.
33473 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
33474 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
33475 [XPG3 || XPG4] (pthread_cond_t): Likewise.
33476 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
33477 [XPG3 || XPG4] (pthread_key_t): Likewise.
33478 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
33479 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
33480 [XPG3 || XPG4] (pthread_once_t): Likewise.
33481 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
33482 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
33483 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
33484 [XPG3 || XPG4] (pthread_t): Likewise.
33485
cbe6e120
JM
33486 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
33487 not expect.
33488 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
33489
1b126443
JM
33490 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
33491 Change function return type to int.
33492
b961a573
JM
33493 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
33494 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
33495 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
33496 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
33497 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
33498 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
33499 [!POSIX] (posix_madvise): Likewise.
33500 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
33501 && !UNIX98].
33502 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
33503 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
33504 (mode_t): Likewise.
33505 (posix_mem_offset): Likewise.
33506 (posix_typed_mem_get_info): Likewise.
33507 (posix_typed_mem_open): Likewise.
33508
9e188909
JM
33509 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
33510 Change condition to [XOPEN2K8].
33511
05bcf62a
JM
33512 * conform/conformtest.pl: Preprocess allow-header data with -x c
33513 instead of from stdin.
33514 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
33515 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
33516 [C99-based standards] (cerfc): Likewise.
33517 [C99-based standards] (cexp2): Likewise.
33518 [C99-based standards] (cexpm1): Likewise.
33519 [C99-based standards] (clog10): Likewise.
33520 [C99-based standards] (clog1p): Likewise.
33521 [C99-based standards] (clog2): Likewise.
33522 [C99-based standards] (clgamma): Likewise.
33523 [C99-based standards] (ctgamma): Likewise.
33524 [C99-based standards] (cerff): Likewise.
33525 [C99-based standards] (cerfcf): Likewise.
33526 [C99-based standards] (cexp2f): Likewise.
33527 [C99-based standards] (cexpm1f): Likewise.
33528 [C99-based standards] (clog10f): Likewise.
33529 [C99-based standards] (clog1pf): Likewise.
33530 [C99-based standards] (clog2f): Likewise.
33531 [C99-based standards] (clgammaf): Likewise.
33532 [C99-based standards] (ctgammaf): Likewise.
33533 [C99-based standards] (cerfl): Likewise.
33534 [C99-based standards] (cerfcl): Likewise.
33535 [C99-based standards] (cexp2l): Likewise.
33536 [C99-based standards] (cexpm1l): Likewise.
33537 [C99-based standards] (clog10l): Likewise.
33538 [C99-based standards] (clog1pl): Likewise.
33539 [C99-based standards] (clog2l): Likewise.
33540 [C99-based standards] (clgammal): Likewise.
33541 [C99-based standards] (ctgammal): Likewise.
33542 * conform/data/inttypes.h-data [C99-based standards]: Include
33543 stdint.h-data. Remove all expectations for stdint.h contents.
33544 [C99-based standards] (PRI*): Do not allow.
33545 [C99-based standards] (SCN*): Likewise.
33546 [C99-based standards] (*_t): Likewise.
33547 [C99-based-standards] (PRId8): Expect macro.
33548 [C99-based-standards] (PRIi8): Likewise.
33549 [C99-based-standards] (PRIo8): Likewise.
33550 [C99-based-standards] (PRIu8): Likewise.
33551 [C99-based-standards] (PRIx8): Likewise.
33552 [C99-based-standards] (PRIX8): Likewise.
33553 [C99-based-standards] (SCNd8): Likewise.
33554 [C99-based-standards] (SCNi8): Likewise.
33555 [C99-based-standards] (SCNo8): Likewise.
33556 [C99-based-standards] (SCNu8): Likewise.
33557 [C99-based-standards] (SCNx8): Likewise.
33558 [C99-based-standards] (PRIdLEAST8): Likewise.
33559 [C99-based-standards] (PRIiLEAST8): Likewise.
33560 [C99-based-standards] (PRIoLEAST8): Likewise.
33561 [C99-based-standards] (PRIuLEAST8): Likewise.
33562 [C99-based-standards] (PRIxLEAST8): Likewise.
33563 [C99-based-standards] (PRIXLEAST8): Likewise.
33564 [C99-based-standards] (SCNdLEAST8): Likewise.
33565 [C99-based-standards] (SCNiLEAST8): Likewise.
33566 [C99-based-standards] (SCNoLEAST8): Likewise.
33567 [C99-based-standards] (SCNuLEAST8): Likewise.
33568 [C99-based-standards] (SCNxLEAST8): Likewise.
33569 [C99-based-standards] (PRIdFAST8): Likewise.
33570 [C99-based-standards] (PRIiFAST8): Likewise.
33571 [C99-based-standards] (PRIoFAST8): Likewise.
33572 [C99-based-standards] (PRIuFAST8): Likewise.
33573 [C99-based-standards] (PRIxFAST8): Likewise.
33574 [C99-based-standards] (PRIXFAST8): Likewise.
33575 [C99-based-standards] (SCNdFAST8): Likewise.
33576 [C99-based-standards] (SCNiFAST8): Likewise.
33577 [C99-based-standards] (SCNoFAST8): Likewise.
33578 [C99-based-standards] (SCNuFAST8): Likewise.
33579 [C99-based-standards] (SCNxFAST8): Likewise.
33580 [C99-based-standards] (PRId16): Likewise.
33581 [C99-based-standards] (PRIi16): Likewise.
33582 [C99-based-standards] (PRIo16): Likewise.
33583 [C99-based-standards] (PRIu16): Likewise.
33584 [C99-based-standards] (PRIx16): Likewise.
33585 [C99-based-standards] (PRIX16): Likewise.
33586 [C99-based-standards] (SCNd16): Likewise.
33587 [C99-based-standards] (SCNi16): Likewise.
33588 [C99-based-standards] (SCNo16): Likewise.
33589 [C99-based-standards] (SCNu16): Likewise.
33590 [C99-based-standards] (SCNx16): Likewise.
33591 [C99-based-standards] (PRIdLEAST16): Likewise.
33592 [C99-based-standards] (PRIiLEAST16): Likewise.
33593 [C99-based-standards] (PRIoLEAST16): Likewise.
33594 [C99-based-standards] (PRIuLEAST16): Likewise.
33595 [C99-based-standards] (PRIxLEAST16): Likewise.
33596 [C99-based-standards] (PRIXLEAST16): Likewise.
33597 [C99-based-standards] (SCNdLEAST16): Likewise.
33598 [C99-based-standards] (SCNiLEAST16): Likewise.
33599 [C99-based-standards] (SCNoLEAST16): Likewise.
33600 [C99-based-standards] (SCNuLEAST16): Likewise.
33601 [C99-based-standards] (SCNxLEAST16): Likewise.
33602 [C99-based-standards] (PRIdFAST16): Likewise.
33603 [C99-based-standards] (PRIiFAST16): Likewise.
33604 [C99-based-standards] (PRIoFAST16): Likewise.
33605 [C99-based-standards] (PRIuFAST16): Likewise.
33606 [C99-based-standards] (PRIxFAST16): Likewise.
33607 [C99-based-standards] (PRIXFAST16): Likewise.
33608 [C99-based-standards] (SCNdFAST16): Likewise.
33609 [C99-based-standards] (SCNiFAST16): Likewise.
33610 [C99-based-standards] (SCNoFAST16): Likewise.
33611 [C99-based-standards] (SCNuFAST16): Likewise.
33612 [C99-based-standards] (SCNxFAST16): Likewise.
33613 [C99-based-standards] (PRId32): Likewise.
33614 [C99-based-standards] (PRIi32): Likewise.
33615 [C99-based-standards] (PRIo32): Likewise.
33616 [C99-based-standards] (PRIu32): Likewise.
33617 [C99-based-standards] (PRIx32): Likewise.
33618 [C99-based-standards] (PRIX32): Likewise.
33619 [C99-based-standards] (SCNd32): Likewise.
33620 [C99-based-standards] (SCNi32): Likewise.
33621 [C99-based-standards] (SCNo32): Likewise.
33622 [C99-based-standards] (SCNu32): Likewise.
33623 [C99-based-standards] (SCNx32): Likewise.
33624 [C99-based-standards] (PRIdLEAST32): Likewise.
33625 [C99-based-standards] (PRIiLEAST32): Likewise.
33626 [C99-based-standards] (PRIoLEAST32): Likewise.
33627 [C99-based-standards] (PRIuLEAST32): Likewise.
33628 [C99-based-standards] (PRIxLEAST32): Likewise.
33629 [C99-based-standards] (PRIXLEAST32): Likewise.
33630 [C99-based-standards] (SCNdLEAST32): Likewise.
33631 [C99-based-standards] (SCNiLEAST32): Likewise.
33632 [C99-based-standards] (SCNoLEAST32): Likewise.
33633 [C99-based-standards] (SCNuLEAST32): Likewise.
33634 [C99-based-standards] (SCNxLEAST32): Likewise.
33635 [C99-based-standards] (PRIdFAST32): Likewise.
33636 [C99-based-standards] (PRIiFAST32): Likewise.
33637 [C99-based-standards] (PRIoFAST32): Likewise.
33638 [C99-based-standards] (PRIuFAST32): Likewise.
33639 [C99-based-standards] (PRIxFAST32): Likewise.
33640 [C99-based-standards] (PRIXFAST32): Likewise.
33641 [C99-based-standards] (SCNdFAST32): Likewise.
33642 [C99-based-standards] (SCNiFAST32): Likewise.
33643 [C99-based-standards] (SCNoFAST32): Likewise.
33644 [C99-based-standards] (SCNuFAST32): Likewise.
33645 [C99-based-standards] (SCNxFAST32): Likewise.
33646 [C99-based-standards] (PRId64): Likewise.
33647 [C99-based-standards] (PRIi64): Likewise.
33648 [C99-based-standards] (PRIo64): Likewise.
33649 [C99-based-standards] (PRIu64): Likewise.
33650 [C99-based-standards] (PRIx64): Likewise.
33651 [C99-based-standards] (PRIX64): Likewise.
33652 [C99-based-standards] (SCNd64): Likewise.
33653 [C99-based-standards] (SCNi64): Likewise.
33654 [C99-based-standards] (SCNo64): Likewise.
33655 [C99-based-standards] (SCNu64): Likewise.
33656 [C99-based-standards] (SCNx64): Likewise.
33657 [C99-based-standards] (PRIdLEAST64): Likewise.
33658 [C99-based-standards] (PRIiLEAST64): Likewise.
33659 [C99-based-standards] (PRIoLEAST64): Likewise.
33660 [C99-based-standards] (PRIuLEAST64): Likewise.
33661 [C99-based-standards] (PRIxLEAST64): Likewise.
33662 [C99-based-standards] (PRIXLEAST64): Likewise.
33663 [C99-based-standards] (SCNdLEAST64): Likewise.
33664 [C99-based-standards] (SCNiLEAST64): Likewise.
33665 [C99-based-standards] (SCNoLEAST64): Likewise.
33666 [C99-based-standards] (SCNuLEAST64): Likewise.
33667 [C99-based-standards] (SCNxLEAST64): Likewise.
33668 [C99-based-standards] (PRIdFAST64): Likewise.
33669 [C99-based-standards] (PRIiFAST64): Likewise.
33670 [C99-based-standards] (PRIoFAST64): Likewise.
33671 [C99-based-standards] (PRIuFAST64): Likewise.
33672 [C99-based-standards] (PRIxFAST64): Likewise.
33673 [C99-based-standards] (PRIXFAST64): Likewise.
33674 [C99-based-standards] (SCNdFAST64): Likewise.
33675 [C99-based-standards] (SCNiFAST64): Likewise.
33676 [C99-based-standards] (SCNoFAST64): Likewise.
33677 [C99-based-standards] (SCNuFAST64): Likewise.
33678 [C99-based-standards] (SCNxFAST64): Likewise.
33679 [C99-based-standards] (PRIdMAX): Likewise.
33680 [C99-based-standards] (PRIiMAX): Likewise.
33681 [C99-based-standards] (PRIoMAX): Likewise.
33682 [C99-based-standards] (PRIuMAX): Likewise.
33683 [C99-based-standards] (PRIxMAX): Likewise.
33684 [C99-based-standards] (PRIXMAX): Likewise.
33685 [C99-based-standards] (SCNdMAX): Likewise.
33686 [C99-based-standards] (SCNiMAX): Likewise.
33687 [C99-based-standards] (SCNoMAX): Likewise.
33688 [C99-based-standards] (SCNuMAX): Likewise.
33689 [C99-based-standards] (SCNxMAX): Likewise.
33690 [C99-based-standards] (PRIdPTR): Likewise.
33691 [C99-based-standards] (PRIiPTR): Likewise.
33692 [C99-based-standards] (PRIoPTR): Likewise.
33693 [C99-based-standards] (PRIuPTR): Likewise.
33694 [C99-based-standards] (PRIxPTR): Likewise.
33695 [C99-based-standards] (PRIXPTR): Likewise.
33696 [C99-based-standards] (SCNdPTR): Likewise.
33697 [C99-based-standards] (SCNiPTR): Likewise.
33698 [C99-based-standards] (SCNoPTR): Likewise.
33699 [C99-based-standards] (SCNuPTR): Likewise.
33700 [C99-based-standards] (SCNxPTR): Likewise.
33701 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
33702 allow.
33703 * conform/data/stdint.h-data: Update comments to clarify
33704 requirements.
33705 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
33706 type.
33707 [C99-based standards] (INT8_MAX): Likewise.
33708 [C99-based standards] (INT16_MIN): Likewise.
33709 [C99-based standards] (INT16_MAX): Likewise.
33710 [C99-based standards] (INT32_MIN): Likewise.
33711 [C99-based standards] (INT32_MAX): Likewise.
33712 [C99-based standards] (INT64_MIN): Likewise.
33713 [C99-based standards] (INT64_MAX): Likewise.
33714 [C99-based standards] (UINT8_MAX): Likewise.
33715 [C99-based standards] (UINT16_MAX): Likewise.
33716 [C99-based standards] (UINT32_MAX): Likewise.
33717 [C99-based standards] (UINT64_MAX): Likewise.
33718 [C99-based standards] (INT_LEAST8_MIN): Likewise.
33719 [C99-based standards] (INT_LEAST8_MAX): Likewise.
33720 [C99-based standards] (INT_LEAST16_MIN): Likewise.
33721 [C99-based standards] (INT_LEAST16_MAX): Likewise.
33722 [C99-based standards] (INT_LEAST32_MIN): Likewise.
33723 [C99-based standards] (INT_LEAST32_MAX): Likewise.
33724 [C99-based standards] (INT_LEAST64_MIN): Likewise.
33725 [C99-based standards] (INT_LEAST64_MAX): Likewise.
33726 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
33727 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
33728 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
33729 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
33730 [C99-based standards] (INT_FAST8_MIN): Likewise.
33731 [C99-based standards] (INT_FAST8_MAX): Likewise.
33732 [C99-based standards] (INT_FAST16_MIN): Likewise.
33733 [C99-based standards] (INT_FAST16_MAX): Likewise.
33734 [C99-based standards] (INT_FAST32_MIN): Likewise.
33735 [C99-based standards] (INT_FAST32_MAX): Likewise.
33736 [C99-based standards] (INT_FAST64_MIN): Likewise.
33737 [C99-based standards] (INT_FAST64_MAX): Likewise.
33738 [C99-based standards] (UINT_FAST8_MAX): Likewise.
33739 [C99-based standards] (UINT_FAST16_MAX): Likewise.
33740 [C99-based standards] (UINT_FAST32_MAX): Likewise.
33741 [C99-based standards] (UINT_FAST64_MAX): Likewise.
33742 [C99-based standards] (INTPTR_MIN): Likewise.
33743 [C99-based standards] (INTPTR_MAX): Likewise.
33744 [C99-based standards] (UINTPTR_MAX): Likewise.
33745 [C99-based standards] (INTMAX_MIN): Likewise.
33746 [C99-based standards] (INTMAX_MAX): Likewise.
33747 [C99-based standards] (UINTMAX_MAX): Likewise.
33748 [C99-based standards] (PTRDIFF_MIN): Likewise.
33749 [C99-based standards] (PTRDIFF_MAX): Likewise.
33750 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
33751 [C99-based standards] (SIZE_MAX): Likewise.
33752 [C99-based standards] (WCHAR_MAX): Likewise.
33753 [C99-based standards] (WINT_MAX): Likewise.
33754 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
33755 constraint on value.
33756 [C99-based standards] (WCHAR_MIN): Likewise.
33757 [C99-based standards] (WINT_MIN): Likewise.
33758 [C99-based standards] (*_t): Allow.
33759 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
33760 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
33761 Include math.h-data and complex.h-data. Remove all expectations
33762 of math.h and complex.h contents.
33763 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
33764 at end of line.
33765 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
33766 (struct tm): Expect tag.
33767 [C99-based-standards] (wcstof): Expect function.
33768 [C99-based-standards] (wcstold): Likewise.
33769 [C99-based-standards] (wcstoll): Likewise.
33770 [C99-based-standards] (wcstoull): Likewise.
33771 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
33772 macro-int-constant. Specify type.
33773 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
33774 constraint on value.
33775 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33776 Specify type.
33777 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
33778 Specify value.
33779 [ISO C standards]: Do not allow headers.
33780 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
33781 wcs[abcdefghijklmnopqrstuvwxyz]*.
33782 [ISO C standards] (*_t): Do not allow.
33783 * conform/data/wctype.h-data [C99-based standards] (iswblank):
33784 Expect function.
33785 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
33786 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33787 Specify type.
33788 [ISO C standards]: Do not allow headers.
33789 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
33790 is[abcdefghijklmnopqrstuvwxyz]*.
33791 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
33792 to[abcdefghijklmnopqrstuvwxyz]*.
33793 [ISO C standards] (*_t): Do not allow.
33794 * conform/data/stdalign.h-data: New file.
33795 * conform/data/stdbool.h-data: Likewise.
33796 * conform/data/stdnoreturn.h-data: Likewise.
33797
7514feb8
RM
337982012-11-07 Roland McGrath <roland@hack.frob.com>
33799
33800 [BZ #14815]
33801 * manual/filesys.texi (Directory Entries): Typo fix.
33802 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
33803
19b2ecfc
MS
338042012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33805
33806 * elf/elf.h (EM_AARCH64): New macro.
33807 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
33808 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
33809 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
33810 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
33811 (R_AARCH64_TLSDESC): Likewise.
33812 (NT_ARM_TLS): Likewise.
33813 (NT_ARM_HW_BREAK): Likewise.
33814 (NT_ARM_HW_WATCH): Likewise.
33815
60e235ee
JM
338162012-11-07 Joseph Myers <joseph@codesourcery.com>
33817
33818 [BZ #14811]
33819 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
33820 (__ieee754_powl): Saturate nonzero exponents with absolute value
33821 below 0x1p-79 to +/- 0x1p-79.
33822 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
33823 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
33824 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
33825 nonzero exponents with absolute value below 0x1p-32 to +/-
33826 0x1p-32.
33827 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
33828 (__ieee754_powl): Saturate nonzero exponents with absolute value
33829 below 0x1p-79 to +/- 0x1p-79.
33830 * math/libm-test.inc (pow_test): Add more tests.
33831
0ab234b7
AK
338322012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33833
33834 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
33835 _dl_s390_cap_flags with kernel. Increase string length.
33836 (_dl_s390_platforms): Add z196 and zEC12.
33837
45832f74
JM
338382012-11-07 Joseph Myers <joseph@codesourcery.com>
33839
33840 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
33841 Change XOPEN21K to XOPEN2K.
33842
19218757
MK
338432012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
33844
33845 * string/memmove.c: Use memcpy when possible.
33846
c5f45721
AJ
338472012-11-06 Andreas Jaeger <aj@suse.de>
33848
33849 * po/eo.po: Update from translation team.
33850
82477c28
JM
338512012-11-06 Joseph Myers <joseph@codesourcery.com>
33852
33853 [BZ #14793]
33854 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
33855 exponent and small x and y exponents, scale x or y up. Increase
33856 by 2 the exponent used in scaling up.
33857 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33858 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33859 * math/libm-test.inc (fma_test): Add more tests.
33860 (fma_test_towardzero): Likewise.
33861 (fma_test_downward): Likewise.
33862 (fma_test_upward): Likewise.
33863
99252c8c
JM
338642012-11-05 Joseph Myers <joseph@codesourcery.com>
33865
acfa885f
JM
33866 [BZ #14805]
33867 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
33868 fenv_t *.
33869
99252c8c
JM
33870 [BZ #14801]
33871 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
33872 namespace for names of struct fields.
33873 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
33874 fenv_t fields.
33875 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
33876 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
33877
d6d98dea
ST
338782012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
33879
33880 [BZ #3665]
33881 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
33882
e10bb107
TS
338832012-11-04 Thomas Schwinge <thomas@codesourcery.com>
33884
33885 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
33886 PTR_DEMANGLE.
33887
33888 [BZ #5246]
33889 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
33890 PTR_DEMANGLE.
33891
a0c2940d
JM
338922012-11-04 Joseph Myers <joseph@codesourcery.com>
33893
33894 [BZ #14797]
33895 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
33896 definitely overflow as x * y not x * y + z.
33897 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33898 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33899 * math/libm-test.inc (fma_test): Add more tests.
33900 (fma_test_towardzero): Likewise.
33901 (fma_test_downward): Likewise.
33902 (fma_test_upward): Likewise.
33903
b830319d
TS
339042012-11-04 Thomas Schwinge <thomas@codesourcery.com>
33905
33906 [BZ #157]
33907
33908 * include/stub-tag.h: Remove file.
33909 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
33910 '#include' of it.
33911 * manual/maint.texi (Porting): Don't reference it.
33912 * Makerules ($(objpfx)stubs): Likewise.
33913 * dirent/closedir.c: Don't include <stub-tag.h>.
33914 * dirent/dirfd.c: Likewise.
33915 * dirent/fdopendir.c: Likewise.
33916 * dirent/getdents.c: Likewise.
33917 * dirent/getdents64.c: Likewise.
33918 * dirent/opendir.c: Likewise.
33919 * dirent/readdir.c: Likewise.
33920 * dirent/readdir64.c: Likewise.
33921 * dirent/readdir64_r.c: Likewise.
33922 * dirent/readdir_r.c: Likewise.
33923 * dirent/rewinddir.c: Likewise.
33924 * dirent/seekdir.c: Likewise.
33925 * dirent/telldir.c: Likewise.
33926 * gmon/profil.c: Likewise.
33927 * grp/setgroups.c: Likewise.
33928 * inet/if_index.c: Likewise.
33929 * io/access.c: Likewise.
33930 * io/chdir.c: Likewise.
33931 * io/chmod.c: Likewise.
33932 * io/chown.c: Likewise.
33933 * io/close.c: Likewise.
33934 * io/dup.c: Likewise.
33935 * io/dup2.c: Likewise.
33936 * io/dup3.c: Likewise.
33937 * io/euidaccess.c: Likewise.
33938 * io/faccessat.c: Likewise.
33939 * io/fchdir.c: Likewise.
33940 * io/fchmod.c: Likewise.
33941 * io/fchmodat.c: Likewise.
33942 * io/fchown.c: Likewise.
33943 * io/fchownat.c: Likewise.
33944 * io/fcntl.c: Likewise.
33945 * io/flock.c: Likewise.
33946 * io/fstatfs.c: Likewise.
33947 * io/fstatfs64.c: Likewise.
33948 * io/fstatvfs.c: Likewise.
33949 * io/fstatvfs64.c: Likewise.
33950 * io/futimens.c: Likewise.
33951 * io/fxstat.c: Likewise.
33952 * io/fxstat64.c: Likewise.
33953 * io/fxstatat.c: Likewise.
33954 * io/fxstatat64.c: Likewise.
33955 * io/getcwd.c: Likewise.
33956 * io/isatty.c: Likewise.
33957 * io/lchmod.c: Likewise.
33958 * io/lchown.c: Likewise.
33959 * io/link.c: Likewise.
33960 * io/linkat.c: Likewise.
33961 * io/lseek.c: Likewise.
33962 * io/lseek64.c: Likewise.
33963 * io/lxstat64.c: Likewise.
33964 * io/mkdir.c: Likewise.
33965 * io/mkdirat.c: Likewise.
33966 * io/mkfifo.c: Likewise.
33967 * io/mkfifoat.c: Likewise.
33968 * io/open.c: Likewise.
33969 * io/open64.c: Likewise.
33970 * io/openat.c: Likewise.
33971 * io/openat64.c: Likewise.
33972 * io/pipe.c: Likewise.
33973 * io/pipe2.c: Likewise.
33974 * io/poll.c: Likewise.
33975 * io/posix_fadvise.c: Likewise.
33976 * io/posix_fadvise64.c: Likewise.
33977 * io/posix_fallocate.c: Likewise.
33978 * io/posix_fallocate64.c: Likewise.
33979 * io/read.c: Likewise.
33980 * io/readlink.c: Likewise.
33981 * io/readlinkat.c: Likewise.
33982 * io/rmdir.c: Likewise.
33983 * io/sendfile.c: Likewise.
33984 * io/sendfile64.c: Likewise.
33985 * io/statfs.c: Likewise.
33986 * io/statfs64.c: Likewise.
33987 * io/statvfs.c: Likewise.
33988 * io/statvfs64.c: Likewise.
33989 * io/symlink.c: Likewise.
33990 * io/symlinkat.c: Likewise.
33991 * io/ttyname.c: Likewise.
33992 * io/ttyname_r.c: Likewise.
33993 * io/umask.c: Likewise.
33994 * io/unlink.c: Likewise.
33995 * io/unlinkat.c: Likewise.
33996 * io/utime.c: Likewise.
33997 * io/utimensat.c: Likewise.
33998 * io/write.c: Likewise.
33999 * io/xmknod.c: Likewise.
34000 * io/xmknodat.c: Likewise.
34001 * io/xstat.c: Likewise.
34002 * io/xstat64.c: Likewise.
34003 * login/getpt.c: Likewise.
34004 * login/grantpt.c: Likewise.
34005 * login/unlockpt.c: Likewise.
34006 * math/e_acoshl.c: Likewise.
34007 * math/e_acosl.c: Likewise.
34008 * math/e_asinl.c: Likewise.
34009 * math/e_atan2l.c: Likewise.
34010 * math/e_atanhl.c: Likewise.
34011 * math/e_coshl.c: Likewise.
34012 * math/e_expl.c: Likewise.
34013 * math/e_fmodl.c: Likewise.
34014 * math/e_gammal_r.c: Likewise.
34015 * math/e_hypotl.c: Likewise.
34016 * math/e_j0l.c: Likewise.
34017 * math/e_j1l.c: Likewise.
34018 * math/e_jnl.c: Likewise.
34019 * math/e_lgammal_r.c: Likewise.
34020 * math/e_log10l.c: Likewise.
34021 * math/e_log2l.c: Likewise.
34022 * math/e_logl.c: Likewise.
34023 * math/e_powl.c: Likewise.
34024 * math/e_rem_pio2l.c: Likewise.
34025 * math/e_sinhl.c: Likewise.
34026 * math/e_sqrtl.c: Likewise.
34027 * math/fclrexcpt.c: Likewise.
34028 * math/fedisblxcpt.c: Likewise.
34029 * math/feenablxcpt.c: Likewise.
34030 * math/fegetenv.c: Likewise.
34031 * math/fegetexcept.c: Likewise.
34032 * math/fegetround.c: Likewise.
34033 * math/feholdexcpt.c: Likewise.
34034 * math/fesetenv.c: Likewise.
34035 * math/fesetround.c: Likewise.
34036 * math/feupdateenv.c: Likewise.
34037 * math/fgetexcptflg.c: Likewise.
34038 * math/fraiseexcpt.c: Likewise.
34039 * math/fsetexcptflg.c: Likewise.
34040 * math/ftestexcept.c: Likewise.
34041 * math/k_cosl.c: Likewise.
34042 * math/k_rem_pio2l.c: Likewise.
34043 * math/k_sinl.c: Likewise.
34044 * math/k_tanl.c: Likewise.
34045 * math/s_asinhl.c: Likewise.
34046 * math/s_atanl.c: Likewise.
34047 * math/s_cbrtl.c: Likewise.
34048 * math/s_erfl.c: Likewise.
34049 * math/s_expm1l.c: Likewise.
34050 * math/s_log1pl.c: Likewise.
34051 * math/s_tanhl.c: Likewise.
34052 * misc/acct.c: Likewise.
34053 * misc/brk.c: Likewise.
34054 * misc/chflags.c: Likewise.
34055 * misc/chroot.c: Likewise.
34056 * misc/fchflags.c: Likewise.
34057 * misc/fgetxattr.c: Likewise.
34058 * misc/flistxattr.c: Likewise.
34059 * misc/fremovexattr.c: Likewise.
34060 * misc/fsetxattr.c: Likewise.
34061 * misc/fsync.c: Likewise.
34062 * misc/ftruncate.c: Likewise.
34063 * misc/futimes.c: Likewise.
34064 * misc/futimesat.c: Likewise.
34065 * misc/getdomain.c: Likewise.
34066 * misc/getdtsz.c: Likewise.
34067 * misc/gethostid.c: Likewise.
34068 * misc/gethostname.c: Likewise.
34069 * misc/getloadavg.c: Likewise.
34070 * misc/getpagesize.c: Likewise.
34071 * misc/getsysstats.c: Likewise.
34072 * misc/getxattr.c: Likewise.
34073 * misc/gtty.c: Likewise.
34074 * misc/ioctl.c: Likewise.
34075 * misc/lgetxattr.c: Likewise.
34076 * misc/listxattr.c: Likewise.
34077 * misc/llistxattr.c: Likewise.
34078 * misc/lremovexattr.c: Likewise.
34079 * misc/lsetxattr.c: Likewise.
34080 * misc/lutimes.c: Likewise.
34081 * misc/madvise.c: Likewise.
34082 * misc/mincore.c: Likewise.
34083 * misc/mlock.c: Likewise.
34084 * misc/mlockall.c: Likewise.
34085 * misc/mmap.c: Likewise.
34086 * misc/mprotect.c: Likewise.
34087 * misc/msync.c: Likewise.
34088 * misc/munlock.c: Likewise.
34089 * misc/munlockall.c: Likewise.
34090 * misc/munmap.c: Likewise.
34091 * misc/preadv.c: Likewise.
34092 * misc/preadv64.c: Likewise.
34093 * misc/ptrace.c: Likewise.
34094 * misc/pwritev.c: Likewise.
34095 * misc/pwritev64.c: Likewise.
34096 * misc/readv.c: Likewise.
34097 * misc/reboot.c: Likewise.
34098 * misc/remap_file_pages.c: Likewise.
34099 * misc/removexattr.c: Likewise.
34100 * misc/revoke.c: Likewise.
34101 * misc/select.c: Likewise.
34102 * misc/setdomain.c: Likewise.
34103 * misc/setegid.c: Likewise.
34104 * misc/seteuid.c: Likewise.
34105 * misc/sethostid.c: Likewise.
34106 * misc/sethostname.c: Likewise.
34107 * misc/setregid.c: Likewise.
34108 * misc/setreuid.c: Likewise.
34109 * misc/setxattr.c: Likewise.
34110 * misc/sstk.c: Likewise.
34111 * misc/stty.c: Likewise.
34112 * misc/swapoff.c: Likewise.
34113 * misc/swapon.c: Likewise.
34114 * misc/sync.c: Likewise.
34115 * misc/syncfs.c: Likewise.
34116 * misc/syscall.c: Likewise.
34117 * misc/truncate.c: Likewise.
34118 * misc/ualarm.c: Likewise.
34119 * misc/usleep.c: Likewise.
34120 * misc/ustat.c: Likewise.
34121 * misc/utimes.c: Likewise.
34122 * misc/vhangup.c: Likewise.
34123 * misc/writev.c: Likewise.
34124 * posix/_exit.c: Likewise.
34125 * posix/alarm.c: Likewise.
34126 * posix/execve.c: Likewise.
34127 * posix/fexecve.c: Likewise.
34128 * posix/fork.c: Likewise.
34129 * posix/fpathconf.c: Likewise.
34130 * posix/getaddrinfo.c: Likewise.
34131 * posix/getegid.c: Likewise.
34132 * posix/geteuid.c: Likewise.
34133 * posix/getgid.c: Likewise.
34134 * posix/getgroups.c: Likewise.
34135 * posix/getlogin.c: Likewise.
34136 * posix/getlogin_r.c: Likewise.
34137 * posix/getpgid.c: Likewise.
34138 * posix/getpid.c: Likewise.
34139 * posix/getppid.c: Likewise.
34140 * posix/getresgid.c: Likewise.
34141 * posix/getresuid.c: Likewise.
34142 * posix/getsid.c: Likewise.
34143 * posix/getuid.c: Likewise.
34144 * posix/glob64.c: Likewise.
34145 * posix/nanosleep.c: Likewise.
34146 * posix/pathconf.c: Likewise.
34147 * posix/pause.c: Likewise.
34148 * posix/posix_madvise.c: Likewise.
34149 * posix/pread.c: Likewise.
34150 * posix/pread64.c: Likewise.
34151 * posix/pwrite.c: Likewise.
34152 * posix/pwrite64.c: Likewise.
34153 * posix/sched_getaffinity.c: Likewise.
34154 * posix/sched_getp.c: Likewise.
34155 * posix/sched_gets.c: Likewise.
34156 * posix/sched_primax.c: Likewise.
34157 * posix/sched_primin.c: Likewise.
34158 * posix/sched_rr_gi.c: Likewise.
34159 * posix/sched_setaffinity.c: Likewise.
34160 * posix/sched_setp.c: Likewise.
34161 * posix/sched_sets.c: Likewise.
34162 * posix/sched_yield.c: Likewise.
34163 * posix/setgid.c: Likewise.
34164 * posix/setlogin.c: Likewise.
34165 * posix/setpgid.c: Likewise.
34166 * posix/setresgid.c: Likewise.
34167 * posix/setresuid.c: Likewise.
34168 * posix/setsid.c: Likewise.
34169 * posix/setuid.c: Likewise.
34170 * posix/sleep.c: Likewise.
34171 * posix/spawni.c: Likewise.
34172 * posix/sysconf.c: Likewise.
34173 * posix/times.c: Likewise.
34174 * posix/wait.c: Likewise.
34175 * posix/wait3.c: Likewise.
34176 * posix/wait4.c: Likewise.
34177 * posix/waitpid.c: Likewise.
34178 * resolv/gai_sigqueue.c: Likewise.
34179 * resource/getpriority.c: Likewise.
34180 * resource/getrlimit.c: Likewise.
34181 * resource/getrusage.c: Likewise.
34182 * resource/nice.c: Likewise.
34183 * resource/setpriority.c: Likewise.
34184 * resource/setrlimit.c: Likewise.
34185 * resource/ulimit.c: Likewise.
34186 * rt/aio_cancel.c: Likewise.
34187 * rt/aio_fsync.c: Likewise.
34188 * rt/aio_read.c: Likewise.
34189 * rt/aio_sigqueue.c: Likewise.
34190 * rt/aio_suspend.c: Likewise.
34191 * rt/aio_write.c: Likewise.
34192 * rt/clock_getres.c: Likewise.
34193 * rt/clock_gettime.c: Likewise.
34194 * rt/clock_nanosleep.c: Likewise.
34195 * rt/clock_settime.c: Likewise.
34196 * rt/lio_listio.c: Likewise.
34197 * rt/mq_close.c: Likewise.
34198 * rt/mq_getattr.c: Likewise.
34199 * rt/mq_notify.c: Likewise.
34200 * rt/mq_open.c: Likewise.
34201 * rt/mq_receive.c: Likewise.
34202 * rt/mq_send.c: Likewise.
34203 * rt/mq_setattr.c: Likewise.
34204 * rt/mq_timedreceive.c: Likewise.
34205 * rt/mq_timedsend.c: Likewise.
34206 * rt/mq_unlink.c: Likewise.
34207 * rt/shm_open.c: Likewise.
34208 * rt/shm_unlink.c: Likewise.
34209 * rt/timer_create.c: Likewise.
34210 * rt/timer_delete.c: Likewise.
34211 * rt/timer_getoverr.c: Likewise.
34212 * rt/timer_gettime.c: Likewise.
34213 * rt/timer_settime.c: Likewise.
34214 * setjmp/__longjmp.c: Likewise.
34215 * setjmp/setjmp.c: Likewise.
34216 * signal/kill.c: Likewise.
34217 * signal/killpg.c: Likewise.
34218 * signal/raise.c: Likewise.
34219 * signal/sigaction.c: Likewise.
34220 * signal/sigaltstack.c: Likewise.
34221 * signal/sigblock.c: Likewise.
34222 * signal/sigignore.c: Likewise.
34223 * signal/sigintr.c: Likewise.
34224 * signal/signal.c: Likewise.
34225 * signal/sigpause.c: Likewise.
34226 * signal/sigpending.c: Likewise.
34227 * signal/sigqueue.c: Likewise.
34228 * signal/sigreturn.c: Likewise.
34229 * signal/sigset.c: Likewise.
34230 * signal/sigsetmask.c: Likewise.
34231 * signal/sigstack.c: Likewise.
34232 * signal/sigsuspend.c: Likewise.
34233 * signal/sigtimedwait.c: Likewise.
34234 * signal/sigvec.c: Likewise.
34235 * signal/sigwait.c: Likewise.
34236 * signal/sigwaitinfo.c: Likewise.
34237 * signal/sysv_signal.c: Likewise.
34238 * socket/accept.c: Likewise.
34239 * socket/accept4.c: Likewise.
34240 * socket/bind.c: Likewise.
34241 * socket/connect.c: Likewise.
34242 * socket/getpeername.c: Likewise.
34243 * socket/getsockname.c: Likewise.
34244 * socket/getsockopt.c: Likewise.
34245 * socket/isfdtype.c: Likewise.
34246 * socket/listen.c: Likewise.
34247 * socket/recv.c: Likewise.
34248 * socket/recvfrom.c: Likewise.
34249 * socket/recvmsg.c: Likewise.
34250 * socket/send.c: Likewise.
34251 * socket/sendmsg.c: Likewise.
34252 * socket/sendto.c: Likewise.
34253 * socket/setsockopt.c: Likewise.
34254 * socket/shutdown.c: Likewise.
34255 * socket/sockatmark.c: Likewise.
34256 * socket/socket.c: Likewise.
34257 * socket/socketpair.c: Likewise.
34258 * stdio-common/ctermid.c: Likewise.
34259 * stdio-common/cuserid.c: Likewise.
34260 * stdio-common/remove.c: Likewise.
34261 * stdio-common/rename.c: Likewise.
34262 * stdio-common/renameat.c: Likewise.
34263 * stdio-common/tempname.c: Likewise.
34264 * stdlib/getcontext.c: Likewise.
34265 * stdlib/makecontext.c: Likewise.
34266 * stdlib/setcontext.c: Likewise.
34267 * stdlib/swapcontext.c: Likewise.
34268 * stdlib/system.c: Likewise.
34269 * streams/fattach.c: Likewise.
34270 * streams/fdetach.c: Likewise.
34271 * streams/getmsg.c: Likewise.
34272 * streams/getpmsg.c: Likewise.
34273 * streams/putmsg.c: Likewise.
34274 * streams/putpmsg.c: Likewise.
34275 * sysdeps/unix/bsd/getpt.c: Likewise.
34276 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
34277 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
34278 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
34279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
34280 Likewise.
34281 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
34282 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
34283 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
34284 * sysvipc/msgctl.c: Likewise.
34285 * sysvipc/msgget.c: Likewise.
34286 * sysvipc/msgrcv.c: Likewise.
34287 * sysvipc/msgsnd.c: Likewise.
34288 * sysvipc/semctl.c: Likewise.
34289 * sysvipc/semget.c: Likewise.
34290 * sysvipc/semop.c: Likewise.
34291 * sysvipc/semtimedop.c: Likewise.
34292 * sysvipc/shmat.c: Likewise.
34293 * sysvipc/shmctl.c: Likewise.
34294 * sysvipc/shmdt.c: Likewise.
34295 * sysvipc/shmget.c: Likewise.
34296 * termios/tcdrain.c: Likewise.
34297 * termios/tcflow.c: Likewise.
34298 * termios/tcflush.c: Likewise.
34299 * termios/tcgetattr.c: Likewise.
34300 * termios/tcgetpgrp.c: Likewise.
34301 * termios/tcsendbrk.c: Likewise.
34302 * termios/tcsetattr.c: Likewise.
34303 * termios/tcsetpgrp.c: Likewise.
34304 * time/adjtime.c: Likewise.
34305 * time/clock.c: Likewise.
34306 * time/getitimer.c: Likewise.
34307 * time/gettimeofday.c: Likewise.
34308 * time/setitimer.c: Likewise.
34309 * time/settimeofday.c: Likewise.
34310 * time/stime.c: Likewise.
34311 * time/time.c: Likewise.
34312
343132012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 34314
a20492cf
PT
34315 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
34316 /usr/old/bin.
34317
72e182e3
PT
34318 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
34319 instead of spaces.
34320 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
34321
fbeafede
JM
343222012-11-03 Joseph Myers <joseph@codesourcery.com>
34323
5b5b04d6
JM
34324 [BZ #14796]
34325 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
34326 FE_TONEAREST before applying Dekker multiplication and Knuth
34327 addition. Clear inexact exceptions and check for exact zero
34328 results afterwards.
34329 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34330 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34331 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34332 * math/libm-test.inc (fma_test): Add more tests.
34333 (fma_test_towardzero): Likewise.
34334 (fma_test_downward): Likewise.
34335 (fma_test_upward): Likewise.
34336 * sysdeps/generic/math_private.h (default_libc_fesetround): New
34337 function.
34338 (libc_fesetround): New macro.
34339 (libc_fesetroundf): Likewise.
34340 (libc_fesetroundl): Likewise.
34341 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
34342 function.
34343 (libc_fesetround_387): Likewise.
34344 (libc_fesetroundf): New macro.
34345 (libc_fesetround): Likewise.
34346 (libc_fesetroundl): Likewise.
34347 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
34348 function.
34349 (libc_fesetroundf): New macro.
34350 (libc_fesetround): Likewise.
34351 (libc_fesetroundl): Likewise.
34352 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
34353 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
34354 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
34355 libm_hidden_ver.
34356 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
34357 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
34358 libm_hidden_def.
34359 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
34360 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
34361 libm_hidden_ver.
34362 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
34363 libm_hidden_def.
34364
fbeafede
JM
34365 [BZ #3439]
34366 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
34367 integer constant usable in #if and use that to give value to enum
34368 constant.
34369 (FE_DIVBYZERO): Likewise.
34370 (FE_UNDERFLOW): Likewise.
34371 (FE_OVERFLOW): Likewise.
34372 (FE_INVALID): Likewise.
34373 (FE_INVALID_SNAN): Likewise.
34374 (FE_INVALID_ISI): Likewise.
34375 (FE_INVALID_IDI): Likewise.
34376 (FE_INVALID_ZDZ): Likewise.
34377 (FE_INVALID_IMZ): Likewise.
34378 (FE_INVALID_COMPARE): Likewise.
34379 (FE_INVALID_SOFTWARE): Likewise.
34380 (FE_INVALID_SQRT): Likewise.
34381 (FE_INVALID_INTEGER_CONVERSION): Likewise.
34382 (FE_TONEAREST): Likewise.
34383 (FE_TOWARDZERO): Likewise.
34384 (FE_UPWARD): Likewise.
34385 (FE_DOWNWARD): Likewise.
34386 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
34387 (FE_DIVBYZERO): Likewise.
34388 (FE_OVERFLOW): Likewise.
34389 (FE_UNDERFLOW): Likewise.
34390 (FE_INEXACT): Likewise.
34391 (FE_TONEAREST): Likewise.
34392 (FE_DOWNWARD): Likewise.
34393 (FE_UPWARD): Likewise.
34394 (FE_TOWARDZERO): Likewise.
34395 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
34396 (FE_UNDERFLOW): Likewise.
34397 (FE_OVERFLOW): Likewise.
34398 (FE_DIVBYZERO): Likewise.
34399 (FE_INVALID): Likewise.
34400 (FE_TONEAREST): Likewise.
34401 (FE_TOWARDZERO): Likewise.
34402 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
34403 (FE_OVERFLOW): Likewise.
34404 (FE_UNDERFLOW): Likewise.
34405 (FE_DIVBYZERO): Likewise.
34406 (FE_INEXACT): Likewise.
34407 (FE_TONEAREST): Likewise.
34408 (FE_TOWARDZERO): Likewise.
34409 (FE_UPWARD): Likewise.
34410 (FE_DOWNWARD): Likewise.
34411 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
34412 (FE_DIVBYZERO): Likewise.
34413 (FE_OVERFLOW): Likewise.
34414 (FE_UNDERFLOW): Likewise.
34415 (FE_INEXACT): Likewise.
34416 (FE_TONEAREST): Likewise.
34417 (FE_DOWNWARD): Likewise.
34418 (FE_UPWARD): Likewise.
34419 (FE_TOWARDZERO): Likewise.
34420
105ca950
CM
344212012-11-02 Chris Metcalf <cmetcalf@tilera.com>
34422
34423 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
34424
a542b389
AS
344252012-11-03 Andreas Schwab <schwab@linux-m68k.org>
34426
34427 * scripts/cross-test-ssh.sh (command): Use newlines to separate
34428 commands. Quote $PWD.
34429 (blacklist_exports): Don't use remove_newlines. Replace "declare
34430 -x" by "export".
34431 (remove_newlines): Remove.
34432
f62c8abc
L
344332012-11-02 H.J. Lu <hongjiu.lu@intel.com>
34434
34435 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
34436 * stdlib/stdlib.h (atof): Moved to ...
34437 * include/bits/stdlib-float.h: Here. New file.
34438 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
34439 * stdlib/bits/stdlib-float.h: New file.
34440 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
34441 -mno-sse -mno-mmx.
34442 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
34443 <xmmintrin.h>.
34444
0155d5b2
JM
344452012-11-02 Joseph Myers <joseph@codesourcery.com>
34446
a68d0680
JM
34447 * conform/conformtest.pl (@headers): Add fenv.h.
34448 * conform/data/fenv.h-data: New file.
34449 * include/fenv.h [_ISOMAC]: Disable all contents of file except
34450 include of <math/fenv.h>.
34451
caf7f573
JM
34452 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
34453 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
34454 && !UNIX98]. Enables tests for XOPEN2K8.
34455 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
34456 POSIX2008]: Likewise.
34457
6c073ad6
JM
34458 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
34459 (struct rusage): Do not expect type or its members.
34460
0155d5b2
JM
34461 [BZ #3439]
34462 * math/math.h (FP_NAN): Define macro to integer constant usable in
34463 #if and use that to give value to enum constant.
34464 (FP_INFINITE): Likewise.
34465 (FP_ZERO): Likewise.
34466 (FP_SUBNORMAL): Likewise.
34467 (FP_NORMAL): Likewise.
34468
b5dcacb4
AS
344692012-11-02 Andreas Schwab <schwab@linux-m68k.org>
34470
34471 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
34472 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
34473 arguments.
34474
f7934be8
RM
344752012-11-02 Roland McGrath <roland@hack.frob.com>
34476
34477 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
34478 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
34479 autoconf-time if not.
34480 * configure.in: Remove AC_PREREQ.
34481
d7d08bde
TMQMF
344822012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34483
34484 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
34485 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
34486 of the internal implementation.
34487
dcdae19a
JM
344882012-11-02 Joseph Myers <joseph@codesourcery.com>
34489
34490 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
34491 except include of <misc/sys/syslog.h>.
34492
d6cffd3e
AS
344932012-11-01 Andreas Schwab <schwab@linux-m68k.org>
34494
34495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
34496 function returns with a NULL context exit with zero.
34497
b3563932
TMQMF
344982012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34499
34500 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
34501
b288a93d
L
345022012-11-01 H.J. Lu <hongjiu.lu@intel.com>
34503
34504 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
34505 (run_program_cmd): This.
34506 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
34507 (tst_langinfo): New variable. Use it.
34508
a2421a68
SAS
345092012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
34510
34511 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
34512 floating point opcodes.
34513
6f796e1b
TS
345142012-11-01 Thomas Schwinge <thomas@codesourcery.com>
34515
7402596b
TS
34516 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
34517 variable.
34518
d0d4f868
TS
34519 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
34520
6f796e1b
TS
34521 * sysdeps/mach/hurd/powerpc: Remove directory.
34522 * sysdeps/mach/powerpc: Likewise.
34523
4da224a2
AS
345242012-11-01 Andreas Schwab <schwab@linux-m68k.org>
34525
34526 * scripts/check-local-headers.sh: Ignore c++ headers.
34527
341dd673
TS
345282012-11-01 Thomas Schwinge <thomas@codesourcery.com>
34529
34530 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
34531 __libc_cleanup_region_start argument.
34532
473611b2
JM
345332012-11-01 Joseph Myers <joseph@codesourcery.com>
34534
34535 [BZ #14784]
34536 [BZ #14785]
34537 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
34538 x * y using scaling, not as x * y + z.
34539 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34540 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34541 * math/libm-test.inc (fma_test): Add more tests.
34542 (fma_test_towardzero): Likewise.
34543 (fma_test_downward): Likewise.
34544 (fma_test_upward): Likewise.
34545
4078da3d
TS
345462012-11-01 Thomas Schwinge <thomas@codesourcery.com>
34547
34548 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
34549
903252aa
JM
345502012-10-31 Joseph Myers <joseph@codesourcery.com>
34551
34552 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
34553 New variable.
34554
cbc818d0
TS
345552012-10-31 Thomas Schwinge <thomas@codesourcery.com>
34556
34557 * rt/tst-shm.c (worker): Correct checking for mmap failure.
34558
5a03cb1e
AS
345592012-10-31 Andreas Schwab <schwab@linux-m68k.org>
34560
34561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34562 Fix sort order.
34563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34564 Likewise.
34565
90aff2ff
TMQMF
345662012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34567
34568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34569 Fix the order of the list for glibc 2.17.
34570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34571 Likewise.
34572
1818fcb7
AS
345732012-10-31 Andreas Schwab <schwab@linux-m68k.org>
34574
34575 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34576
ef82f4da
JM
345772012-10-31 Joseph Myers <joseph@codesourcery.com>
34578
16a0e2ec
JM
34579 [BZ #14610]
34580 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
34581 for low part of x being zero before using __atanl (y).
34582 * math/libm-test.inc (atan2_test): Add another test.
34583
0eb69512
JM
34584 * manual/install.texi (Configuring and compiling): Document
34585 general use of test-wrapper and test-wrapper-env.
34586 * INSTALL: Regenerated.
34587
ef82f4da
JM
34588 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
34589 (__fma): Do not extract and scale down low bits on after-rounding
34590 systems when result rounded to normal precision would have normal
34591 exponent.
34592 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
34593 (__fmal): Do not extract and scale down low bits on after-rounding
34594 systems when result rounded to normal precision would have normal
34595 exponent.
34596 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
34597 (__fmal): Do not extract and scale down low bits on after-rounding
34598 systems when result rounded to normal precision would have normal
34599 exponent.
34600 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
34601 macro.
34602 (fma_test): Add more tests.
34603 (fma_test_towardzero): Likewise.
34604 (fma_test_downward): Likewise.
34605 (fma_test_upward): Likewise.
34606
954ef0d9
L
346072012-10-30 H.J. Lu <hongjiu.lu@intel.com>
34608
34609 * sysdeps/i386/tininess.h: Renamed to ...
34610 * sysdeps/x86/tininess.h: This.
34611 * sysdeps/x86_64/tininess.h: Removed.
34612
df61ffb2
JM
346132012-10-30 Joseph Myers <joseph@codesourcery.com>
34614
34615 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
34616 input. Use $(build-program-cmd).
34617 ($(objpfx)tst-array1-static.out): Likewise.
34618 ($(objpfx)tst-array2.out): Likewise.
34619 ($(objpfx)tst-array3.out): Likewise.
34620 ($(objpfx)tst-array4.out): Likewise.
34621 ($(objpfx)tst-array5.out): Likewise.
34622 ($(objpfx)tst-array5-static.out): Likewise.
34623
01767843
CM
346242012-10-30 Chris Metcalf <cmetcalf@tilera.com>
34625
47cc1490
CM
34626 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
34627 if defined.
34628
01767843
CM
34629 * nss/nsswitch.h (nss_interface_function): Provide new
34630 macro for use with NSS functions.
34631 * grp/initgroups.c: Use new macro.
34632 * nss/getXXbyYY.c: Likewise.
34633 * nss/getXXbyYY_r.c: Likewise.
34634 * nss/getXXent.c: Likewise.
34635 * nss/getXXent_r.c: Likewise.
34636 * sysdeps/posix/getaddrinfo.c: Likewise.
34637
8321aa97
AJ
346382012-10-30 Andreas Jaeger <aj@suse.de>
34639
34640 * po/ru.po: Update Russion translation from translation project.
34641
2a27fd6d
JM
346422012-10-30 Joseph Myers <joseph@codesourcery.com>
34643
8627a232
JM
34644 [BZ #14152]
34645 [BZ #14783]
34646 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
34647 result and shift together with sticky bit instead of replicating
34648 round-to-nearest rounding.
34649 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34650 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34651 * math/libm-test.inc (fma_test): Add more tests. Do not permit
34652 missing underflow exceptions.
34653 (fma_test_towardzero): Add more tests.
34654 (fma_test_downward): Likewise.
34655 (fma_test_upward): Likewise.
34656
2a27fd6d
JM
34657 [BZ #14047]
34658 * sysdeps/generic/tininess.h: New file.
34659 * sysdeps/i386/tininess.h: Likewise.
34660 * sysdeps/sh/tininess.h: Likewise.
34661 * sysdeps/x86_64/tininess.h: Likewise.
34662 * stdlib/tst-strtod-underflow.c: Likewise.
34663 * stdlib/tst-tininess.c: Likewise.
34664 * stdlib/strtod_l.c: Include <tininess.h>.
34665 (round_and_return): Do not set errno for exact underflow cases.
34666 Force an underflow exception when setting errno for underflow.
34667 Determine underflow based on rounding to normal precision if
34668 TININESS_AFTER_ROUNDING.
34669 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
34670 ERANGE for exact underflow cases.
34671 * stdlib/Makefile (tests): Add tst-tininess and
34672 tst-strtod-underflow.
34673 ($(objpfx)tst-tininess): Use $(link-libm).
34674 ($(objpfx)tst-strtod-underflow): Likewise.
34675
e7170363
AJ
346762012-10-30 Andreas Jaeger <aj@suse.de>
34677
e5088dc6
AJ
34678 [BZ#14767]
34679 * elf/Makefile (tests): Remove conditional for have-initfini-array
34680 since this is now always required and the variable does not exist
34681 anymore.
34682 (tests-static): Likewise.
34683 (modules-names): Likewise.
34684
e7170363 34685 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
34686
34687 * elf/tst-array1.c (fini_array): Make writeable so that it can be
34688 merged with constructor/destructor.
34689 (init_array): Likewise.
34690 * elf/tst-array2dep.c (fini_array): Likewise.
34691 (init_array): Likewise.
34692
60457d8a
MF
346932012-10-29 Mike Frysinger <vapier@gentoo.org>
34694
34695 * manual/message.texi: Delete @cartouche tags.
34696
8bece752
PT
346972012-10-29 Pino Toscano <toscano.pino@tiscali.it>
34698
94ce799f
PT
34699 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
34700 EOPNOTSUPP.
34701 * sysdeps/mach/hurd/fsync.c: Likewise.
34702
8bece752
PT
34703 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
34704 [_POSIX_REALTIME_SIGNALS]: Change condition to
34705 [_POSIX_REALTIME_SIGNALS > 0].
34706
86ebe6b1
AJ
347072012-10-27 Andreas Jaeger <aj@suse.de>
34708
34709 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
34710 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
34711 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
34712 [__WORDSIZE != 64]: Likewise.
34713
54399c08
L
347142012-10-26 H.J. Lu <hongjiu.lu@intel.com>
34715
34716 * iconvdata/tst-table.sh: Remove ${SHELL}.
34717 * iconvdata/tst-tables.sh: Likewise.
34718
e2211bed
DM
347192012-10-25 David S. Miller <davem@davemloft.net>
34720
34721 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34722 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
34723 of strtoull.
34724
f303f97c
DM
34725 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
34726 ifunc-impl-list.c
34727 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34728 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
34729 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
34730 file.
34731
1e9d84cd
RM
347322012-10-25 Roland McGrath <roland@hack.frob.com>
34733
34734 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34735 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
34736 __getdirentries.
34737
df381762
JM
347382012-10-25 Joseph Myers <joseph@codesourcery.com>
34739 Jim Blandy <jimb@codesourcery.com>
34740
34741 * scripts/cross-test-ssh.sh: New file.
34742 * manual/install.texi (Configuring and compiling): Document use of
34743 cross-test-ssh.sh.
34744 * INSTALL: Regenerated.
34745
bff64913
PT
347462012-10-25 Pino Toscano <toscano.pino@tiscali.it>
34747
34748 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
34749 EOPNOTSUPP.
34750
25fe8932
JM
347512012-10-25 Joseph Myers <joseph@codesourcery.com>
34752
34753 * Makeconfig (run-program-prefix): Fix comment.
34754
cc1290d0
JM
347552012-10-24 Joseph Myers <joseph@codesourcery.com>
34756 Jim Blandy <jimb@codesourcery.com>
34757
34758 * Makeconfig (test-wrapper): New variable,
34759 (test-wrapper-env): Likewise.
34760 [$(cross-compiling) = yes && $(test-wrapper) != ""]
34761 (run-built-tests): Define to yes.
34762 (run-program-prefix): Use $(test-wrapper).
34763 (built-program-cmd): Likewise.
34764 * Rules (make-test-out): Use $(test-wrapper-env) and
34765 $(host-built-program-cmd).
34766 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
34767 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
34768 tst-pathopt.sh.
34769 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
34770 $(test-wrapper-env) to tst-rtld-load-self.sh.
34771 ($(objpfx)order2.out): Use $(test-wrapper).
34772 ($(objpfx)tst-initorder.out): Likewise.
34773 ($(objpfx)tst-initorder2.out): Likewise.
34774 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
34775 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
34776 (test_wrapper_env): New variable. Use it to run ld.so.
34777 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
34778 Use it to run ld.so.
34779 (test_wrapper_env): Likewise.
34780 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
34781 $(test-wrapper) to run-iconv-test.sh.
34782 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
34783 (ICONV): Use $test_wrapper.
34784 * posix/Makefile ($(objpfx)globtest.out): Pass
34785 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
34786 globtest.sh, not $(run-program-prefix).
34787 * posix/globtest.sh (run_via_rtld_prefix): New variable.
34788 (test_wrapper): Likewise.
34789 (test_wrapper_env): Likewise. Use it to run globtest with HOME
34790 set together with run_via_rtld_prefix.
34791 (run_program_prefix): Define in terms of test_wrapper and
34792 run_via_rtld_prefix.
34793
6e6249d0
RM
347942012-10-24 Roland McGrath <roland@hack.frob.com>
34795
34796 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
34797 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
34798 Targets removed.
34799
34800 [BZ #14743]
34801 * include/time.h: Remove librt_hidden_proto (clock_gettime).
34802 Declare __clock_getres, __clock_gettime, __clock_settime,
34803 __clock_nanosleep, and __clock_getcpuclockid.
34804 * rt/clock_gettime.c: Define __clock_gettime as an alias.
34805 Remove librt_hidden_def (clock_gettime).
34806 * sysdeps/unix/clock_gettime.c: Likewise.
34807 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
34808 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
34809 * rt/clock_getres.c: Define __clock_getres as an alias.
34810 * sysdeps/posix/clock_getres.c: Likewise.
34811 * rt/clock_settime.c: Define __clock_settime as an alias.
34812 * sysdeps/unix/clock_settime.c: Likewise.
34813 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
34814 * sysdeps/unix/clock_nanosleep.c: Likewise.
34815 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
34816 * rt/clock-compat.c: New file.
34817 * rt/Makefile (librt-routines): Add clock-compat and move
34818 $(clock-routines) to ...
34819 (routines): ... here, new variable.
34820 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
34821 Don't add get_clockfreq here.
34822 * rt/Versions (libc: GLIBC_2.17): New version set.
34823 Add clock_* symbols here.
34824 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
34825 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
34826 (GLIBC_2.17): Add clock_* symbols.
34827 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
34828 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
34829 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34831 Likewise.
34832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34833 Likewise.
34834 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34835 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
34836 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
34837 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
34838 * NEWS: Mention the move.
34839
34840 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
34841 Use __open, __read, __close rather than their public counterparts.
34842 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34843 (__get_clockfreq_via_cpuinfo): Likewise.
34844 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
34845 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
34846
34847 * config.h.in (HAVE_IFUNC): New #undef.
34848 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
34849 was successful.
34850 * configure: Regenerated.
34851
0cae3f4b
MF
348522012-10-24 Mike Frysinger <vapier@gentoo.org>
34853
34854 * configure.in: Move READELF check to start of file.
34855 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
34856 libc_cv_asm_gnu_indirect_function in the process.
34857 * configure: Regenerated.
34858
8175a253
MF
348592012-10-24 Mike Frysinger <vapier@gentoo.org>
34860
34861 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
34862 send the output to /dev/null.
34863 (libc_cv_cc_with_libunwind): Likewise.
34864 (libc_cv_as_noexecstack): Likewise.
34865 * configure: Regenerate.
34866
0708a7d1
JM
348672012-10-24 Joseph Myers <joseph@codesourcery.com>
34868
10b40d85
JM
34869 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
34870
0708a7d1
JM
34871 * posix/globtest.sh (TMPDIR): Do not set.
34872 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
34873 (testout): Likewise.
34874
9fddec1a
AJ
348752012-10-24 Andreas Jaeger <aj@suse.de>
34876
3a8db22f
AJ
34877 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
34878 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
34879 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
34880 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
34881 posix_fadvise64, posix_fallocate64.
34882
9fddec1a
AJ
34883 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
34884 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
34885 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
34886 Likewise.
34887 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
34888 Likewise.
34889 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
34890
34891 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
34892 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
34893 <bits/fcntl-linux.h>.
34894 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
34895
34896 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
34897 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
34898 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
34899 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
34900 [__WORDSIZE != 64]: Likewise.
34901
ebfd1bbd
JM
349022012-10-23 Joseph Myers <joseph@codesourcery.com>
34903
03ac099f
JM
34904 * Makeconfig (run-built-tests): New variable.
34905 * Rules [$(cross-compiling) = yes]: Change condition to
34906 [$(run-built-tests) = no].
34907 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
34908 to [$(run-built-tests) = yes].
34909 * elf/Makefile [$(cross-compiling) = no]: Likewise
34910 * grp/Makefile [$(cross-compiling) = no]: Likewise.
34911 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
34912 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
34913 * intl/Makefile [$(cross-compiling) = no]: Likewise.
34914 * io/Makefile [$(cross-compiling) = no]: Likewise.
34915 * libio/Makefile [$(cross-compiling) = no]: Likewise.
34916 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
34917 * misc/Makefile [$(cross-compiling) = no]: Likewise.
34918 * posix/Makefile [$(cross-compiling) = no]: Likewise.
34919 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
34920 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
34921 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
34922 * string/Makefile [$(cross-compiling) = no]: Likewise.
34923
ebfd1bbd
JM
34924 * posix/Makefile ($(objpfx)globtest.out): Pass
34925 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
34926 $(rtld-installed-name).
34927 * posix/globtest.sh (elf_objpfx): Remove variable.
34928 (rtld_installed_name): Likewise.
34929 (library_path): Likewise.
34930 (run_program_prefix): New variable. Use for running globtest
34931 binary.
34932
166bca24
JB
349332012-10-23 Jim Blandy <jimb@codesourcery.com>
34934 Joseph Myers <joseph@codesourcery.com>
34935
34936 * Makeconfig (host-built-program-cmd): New variable.
34937 * elf/Makefile (tst-stackguard1-ARGS): Use
34938 $(host-built-program-cmd).
34939 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
34940 (tst-spawn-ARGS): Likewise.
34941 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
34942
88866099
JM
349432012-10-23 Joseph Myers <joseph@codesourcery.com>
34944 Jim Blandy <jimb@codesourcery.com>
34945
34946 * Makeconfig (run-via-rtld-prefix): New variable.
34947 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
34948 (built-program-cmd): Likewise.
34949
b4b4c296
AJ
349502012-10-22 Andreas Jaeger <aj@suse.de>
34951
34952 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
34953 __O_RSYNC if it exists, otherwise to O_SYNC.
34954
6fb54a22
JB
349552012-10-22 Jim Blandy <jimb@codesourcery.com>
34956 Joseph Myers <joseph@codesourcery.com>
34957
34958 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
34959 /dev/null.
34960 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
34961 from /dev/null
34962 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
34963 /dev/null.
34964
481b90b9
AJ
349652012-10-22 Andreas Jaeger <aj@suse.de>
34966
2a0e2669
AJ
34967 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
34968 Define always.
34969 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
34970
76e38f9a
AJ
34971 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34972 bits/fcntl-linux.h.
34973
7cd37b43
AJ
34974 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
34975 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
34976
481b90b9
AJ
34977 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
34978 to __O_LARGEFILE.
34979 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
34980 to __O_LARGEFILE.
34981
aba75984
JB
349822012-10-21 Jim Blandy <jimb@codesourcery.com>
34983 Joseph Myers <joseph@codesourcery.com>
34984
34985 * config.make.in (NM): New variable.
34986
88d4247f
AJ
349872012-10-21 Andreas Jaeger <aj@suse.de>
34988
34989 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
34990 definitions and declarations that are provided by
34991 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34992
f2eed205
L
349932012-10-20 H.J. Lu <hongjiu.lu@intel.com>
34994
34995 [BZ #14683]
34996 * elf/Makefile (tests-static): Add tst-leaks1-static.
34997 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
34998 ($(objpfx)tst-leaks1-static): New rule.
34999 ($(objpfx)tst-leaks1-static-mem): Likewise.
35000 (tst-leaks1-static-ENV): New macro.
35001 * elf/dl-open.c (dl_open_worker): Check the main application
35002 only if SHARED is defined.
35003 * elf/tst-leaks1-static.c: New file.
35004
335e6931
AJ
350052012-10-20 Andreas Jaeger <aj@suse.de>
35006
35007 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
35008 generic values for Linux.
35009 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
35010 and declarations that are provided by <bits/fcntl-linux.h> and
35011 include <bits/fcntl-linux.h>.
35012 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35013 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35014
ac5c94d3
RM
350152012-10-20 Roland McGrath <roland@hack.frob.com>
35016
35017 * io/fcntl.h: Move include of <bits/types.h> to the top and
35018 include it unconditionally.
35019
de54b33a
L
350202012-10-20 H.J. Lu <hongjiu.lu@intel.com>
35021
228cfb01
L
35022 * wcsmbs/Makefile (tests-ifunc): New variable.
35023 (tests): Add $(tests-ifunc).
35024 * wcsmbs/test-wcschr-ifunc.c: New file.
35025 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
35026 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
35027 * wcsmbs/test-wcslen-ifunc.c: Likewise.
35028 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
35029 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
35030
69f07e5f
L
35031 * string/Makefile (tests-ifunc): New variable.
35032 (tests): Add $(tests-ifunc).
35033 * string/test-memccpy.c (TEST_NAME): New macro.
35034 * string/test-memchr.c (TEST_NAME): Likewise.
35035 * string/test-memcmp.c (TEST_NAME): Likewise.
35036 * string/test-memcpy.c (TEST_NAME): Likewise.
35037 * string/test-memmem.c (TEST_NAME): Likewise.
35038 * string/test-memmove.c (TEST_NAME): Likewise.
35039 * string/test-memset.c (TEST_NAME): Likewise.
35040 * string/test-rawmemchr.c (TEST_NAME): Likewise.
35041 * string/test-stpcpy.c (TEST_NAME): Likewise.
35042 * string/test-stpncpy.c (TEST_NAME): Likewise.
35043 * string/test-strcasecmp.c (TEST_NAME): Likewise.
35044 * string/test-strcasestr.c (TEST_NAME): Likewise.
35045 * string/test-strcat.c (TEST_NAME): Likewise.
35046 * string/test-strchr.c (TEST_NAME): Likewise.
35047 * string/test-strcmp.c(TEST_NAME): Likewise.
35048 * string/test-strcpy.c (TEST_NAME): Likewise.
35049 * string/test-strcspn.c (TEST_NAME): Likewise.
35050 * string/test-strlen.c (TEST_NAME): Likewise.
35051 * string/test-strncasecmp.c (TEST_NAME): Likewise.
35052 * string/test-strncmp.c (TEST_NAME): Likewise.
35053 * string/test-strncpy.c (TEST_NAME): Likewise.
35054 * string/test-strnlen.c (TEST_NAME): Likewise.
35055 * string/test-strpbrk.c (TEST_NAME): Likewise.
35056 * string/test-strrchr.c (TEST_NAME): Likewise.
35057 * string/test-strspn.c (TEST_NAME): Likewise.
35058 * string/test-strstr.c (TEST_NAME): Likewise.
35059 * string/test-bcopy-ifunc.c: New file.
35060 * string/test-bzero-ifunc.c: Likewise.
35061 * string/test-memccpy-ifunc.c: Likewise.
35062 * string/test-memchr-ifunc.c: Likewise.
35063 * string/test-memcmp-ifunc.c: Likewise.
35064 * string/test-memcpy-ifunc.c: Likewise.
35065 * string/test-memmem-ifunc.c: Likewise.
35066 * string/test-memmove-ifunc.c: Likewise.
35067 * string/test-mempcpy-ifunc.c: Likewise.
35068 * string/test-memset-ifunc.c: Likewise.
35069 * string/test-rawmemchr-ifunc.c: Likewise.
35070 * string/test-stpcpy-ifunc.c: Likewise.
35071 * string/test-stpncpy-ifunc.c: Likewise.
35072 * string/test-strcasecmp-ifunc.c: Likewise.
35073 * string/test-strcasestr-ifunc.c: Likewise.
35074 * string/test-strcat-ifunc.c: Likewise.
35075 * string/test-strchr-ifunc.c: Likewise.
35076 * string/test-strchrnul-ifunc.c: Likewise.
35077 * string/test-strcmp-ifunc.c: Likewise.
35078 * string/test-strcpy-ifunc.c: Likewise.
35079 * string/test-strcspn-ifunc.c: Likewise.
35080 * string/test-strlen-ifunc.c: Likewise.
35081 * string/test-strncasecmp-ifunc.c: Likewise.
35082 * string/test-strncat-ifunc.c: Likewise.
35083 * string/test-strncmp-ifunc.c: Likewise.
35084 * string/test-strncpy-ifunc.c: Likewise.
35085 * string/test-strnlen-ifunc.c: Likewise.
35086 * string/test-strpbrk-ifunc.c: Likewise.
35087 * string/test-strrchr-ifunc.c: Likewise.
35088 * string/test-strspn-ifunc.c: Likewise.
35089 * string/test-strstr-ifunc.c: Likewise.
35090
de54b33a
L
35091 * debug/Makefile (tests-ifunc): New variable.
35092 (tests): Add $(tests-ifunc).
35093 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
35094 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
35095 * debug/test-stpcpy_chk-ifunc.c: New file.
35096 * debug/test-strcpy_chk-ifunc.c: Likewise.
35097
88481c16
SP
350982012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
35099
35100 [BZ #13601]
35101 * elf/dl-load.c (open_verify): Retry read if the entire ELF
35102 header is not read in.
35103
135948bd
JM
351042012-10-19 Joseph Myers <joseph@codesourcery.com>
35105
89f1c388
JM
35106 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
35107 script to $(SHELL) as $<. Pass $(common-objpfx) to script
35108 directly. Pass built executable to script as
35109 $(built-program-cmd).
35110 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
35111 $testprogram without using LD_LIBRARY_PATH and $ldso.
35112
e40a0d21
JM
35113 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
35114 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
35115 $(rtld-installed-name).
35116 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
35117 (rtld_installed_name): Likewise.
35118 (library_path): Likewise.
35119 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
35120 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
35121 $(run-program-prefix) to tst-tables.sh.
35122 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
35123 it to run tst-table-from and tst-table-to.
35124 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
35125 Pass it to tst-table.sh.
35126 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
35127 $(run-program-prefix) to tst-gettext.sh.
35128 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
35129 tst-translit.sh.
35130 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
35131 tst-gettext2.sh.
35132 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
35133 to run tst-gettext.
35134 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
35135 to run tst-gettext2.
35136 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
35137 to run tst-translit.
35138 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
35139 $(run-program-prefix) to tst-mtrace.sh.
35140 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
35141 to run tst-mtrace.
35142 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
35143 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
35144 $(rtld-installed-name).
35145 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
35146 (rtld_installed_name): Likewise.
35147 (run_program_prefix): New variable. Use it to run wordexp-test.
35148
728e272a
JM
35149 * Makeconfig (ARCH): Remove all definitions.
35150 (machine): Likewise.
35151 [ARCH]: Remove conditional code.
35152 [!objdir]: Give error.
35153 [!objdir] (objpfx): Remove.
35154 [!objdir] (common-objpfx): Likewise.
35155 [!objdir] (common-objdir): Likewise.
35156 * configure.in (config_makefile): Remove. Hardcode Makefile in
35157 AC_CONFIG_FILES call.
35158 * configure: Regenerated.
35159
d528cdcf
JM
35160 [BZ #13888]
35161 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
35162 or TMPDIR.
35163 (testout): Likewise.
35164
135948bd
JM
35165 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
35166 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
35167 $(rtld-installed-name).
35168 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
35169 (rtld_installed_name): Likwise.
35170 (runit): Remove function.
35171 (run_getconf): New variable, Use it for running getconf binary.
35172
38c78296
L
351732012-10-18 H.J. Lu <hongjiu.lu@intel.com>
35174
35175 [BZ #14716]
35176 * string/test-memmem.c (check_result): New function.
35177 (do_one_test): Use it.
35178 (check1): New function.
35179 (test_main): Use it.
35180
d077f65f
MT
351812012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
35182
35183 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
35184
ced52c71
JM
351852012-10-18 Joseph Myers <joseph@codesourcery.com>
35186
35187 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
35188 (_G_LSEEK64): Likewise.
35189 (_G_MMAP64): Likewise.
35190 (_G_FSTAT64): Likewise.
35191 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
35192 (_G_LSEEK64): Likewise.
35193 (_G_MMAP64): Likewise.
35194 (_G_FSTAT64): Likewise.
35195 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
35196 unconditional. Call __mmap64 directly.
35197 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
35198 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
35199 __lseek64 directly.
35200 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
35201 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
35202 __mmap64 directly.
35203 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
35204 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
35205 __lseek64 directly.
35206 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
35207 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
35208 __lseek64 directly.
35209 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
35210 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
35211 __lseek64 directly.
35212 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
35213 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
35214 __fxstat64 directly.
35215 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
35216 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
35217 unconditional.
35218 (freopen64) [!_G_OPEN64]: Remove conditional code.
35219 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
35220 unconditional.
35221 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
35222 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
35223 unconditional.
35224 (ftello64) [!_G_LSEEK64]: Remove conditional code.
35225 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
35226 unconditional.
35227 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35228 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
35229 unconditional.
35230 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
35231 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
35232 unconditional.
35233 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35234 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
35235 unconditional.
35236 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35237 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
35238 unconditional.
35239 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35240
b741de23
SP
352412012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
35242
35243 [BZ #12140]
35244 * manual/memory.texi (Malloc Tunable Parameters): Add note
35245 about free list pointers overwriting some perturb bytes.
35246 Wording suggested by Roland McGrath.
35247
f9b9d9c9
JM
352482012-10-17 Joseph Myers <joseph@codesourcery.com>
35249
35250 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
35251 (lgamma_test): Likewise.
35252 (tgamma_test): Likewise.
35253
172a631a
FW
352542012-10-16 Florian Weimer <fweimer@redhat.com>
35255
35256 [BZ #14700]
35257 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
35258 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
35259
e9f37252
MK
352602012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
35261
35262 * NEWS: Mention BZ #14716.
35263 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
35264 when removing AVAILABLE1_USES_J macro.
35265
d394eb74
L
352662012-10-12 H.J. Lu <hongjiu.lu@intel.com>
35267
35268 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
35269 (__bswap_64): __uint64_t for unsigned 64-bit int.
35270
ca38dc17
AS
352712012-10-12 Andreas Schwab <schwab@linux-m68k.org>
35272
35273 * include/string.h (memmem): Declare libc hidden alias.
35274 * string/memmem.c (memmem): Define libc hidden alias.
35275 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
35276 __read, __close instead of open, read, close.
35277
9a387d1f
L
352782012-10-11 H.J. Lu <hongjiu.lu@intel.com>
35279
ac49ecaf
L
35280 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
35281 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
35282 global and hidden.
35283 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
35284 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
35285 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
35286 Likewise.
35287 (__rawmemchr_sse2): Likewise.
35288 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
35289 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
35290 (__strchr_sse2): Likewise.
35291 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
35292 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
35293 (__strcasecmp_sse2): Likewise.
35294 (__strncasecmp_sse2): Likewise.
35295 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
35296 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
35297 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
35298 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
35299 (__strrchr_sse2): Likewise.
35300 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
35301 ifunc-impl-list.c.
35302 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
35303 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
35304 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
35305 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
35306 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
35307 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
35308 * sysdeps/x86_64/multiarch/memset.S: Likewise.
35309 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35310 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
35311 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
35312 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
35313 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
35314 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
35315 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
35316 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
35317 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
35318 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
35319 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
35320 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
35321 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
35322 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
35323 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
35324 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
35325 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
35326 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
35327 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35328 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
35329 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
35330 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
35331 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
35332
b090e8ea
L
35333 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
35334 global and hidden.
35335 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
35336 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
35337 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
35338 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
35339 Likewise.
35340 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
35341 Likewise.
35342 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
35343 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
35344 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
35345 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
35346 ifunc-impl-list.c.
35347 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35348 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35349 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35350 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35351 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35352 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35353 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35354 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35355 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35356 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35357 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35358 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35359 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35360 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
35361 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
35362 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35363 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
35364 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
35365 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35366 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35367 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35368 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35369 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35370 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35371 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35372 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
35373 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
35374 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
35375 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
35376 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35377 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
35378 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35379 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35380 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
35381 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35382 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35383 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35384 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35385 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35386 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35387 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
35388
11dd4af6
L
35389 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
35390 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
35391 * include/ifunc-impl-list.h: New file.
35392 * misc/ifunc-impl-list.c: Likewise.
35393 * misc/Makefile (routines): Add ifunc-impl-list.
35394 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
35395 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
35396 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
35397 TEST_NAME]: New variables.
11dd4af6
L
35398 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
35399 are defined.
35400 (test_init): Call __libc_ifunc_impl_list to initialize
35401 func_list if TEST_IFUNC and TEST_NAME are defined.
35402
9a387d1f
L
35403 * string/Makefile (strop-tests): Add bcopy and bzero.
35404 * string/test-bcopy.c: New file.
35405 * string/test-bzero.c: Likewise.
35406 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
35407 defined.
35408 * string/test-memset.c: Support bzero test if TEST_BZERO is
35409 defined.
35410 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
35411 __libc_memmove.
35412 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
35413 __libc_memset.
35414 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
35415 of memset.
35416
472371b9
JM
354172012-10-10 Joseph Myers <joseph@codesourcery.com>
35418
1e4a9536
JM
35419 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
35420 * configure: Regenerated.
35421
d173d12e
JM
35422 * Makeconfig (+link-static-before-libc): Don't include
35423 $(link-static-libc).
35424
472371b9
JM
35425 * libio/libio.h (_IO_pos_t): Remove.
35426
89a3ad0b
AO
354272012-10-10 Alexandre Oliva <aoliva@redhat.com>
35428
35429 * NEWS: Add note about FIPS mode. Wording suggested by Roland
35430 McGrath.
35431
e7451425
AO
354322012-10-10 Alexandre Oliva <aoliva@redhat.com>
35433
35434 * crypt/crypt-entry.c: Include fips-private.h.
35435 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
35436 * crypt/md5c-test.c (main): Tolerate disabled MD5.
35437 * sysdeps/unix/sysv/linux/fips-private.h: New file.
35438 * sysdeps/generic/fips-private.h: New file, dummy fallback.
35439
4ba74a35
AO
354402012-10-10 Alexandre Oliva <aoliva@redhat.com>
35441
35442 * crypt/crypt-private.h: Include stdbool.h.
35443 (_ufc_setup_salt_r): Return bool.
35444 * crypt/crypt-entry.c: Include errno.h.
35445 (__crypt_r): Return NULL with EINVAL for bad salt.
35446 * crypt/crypt_util.c (bad_for_salt): New.
35447 (_ufc_setup_salt_r): Check that salt is long enough and within
35448 the specified alphabet.
35449 * crypt/badsalttest.c: New file.
35450 * crypt/Makefile (tests): Add it.
35451 ($(objpfx)badsalttest): New.
35452
f96f1242
MK
354532012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
35454
35455 * NEWS: Add entry for BZ #14602.
35456
0e8e0c1c
JM
354572012-10-09 Joseph Myers <joseph@codesourcery.com>
35458
35459 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
35460 type-generic.
35461 * math/libm-test.inc: Update comment listing what functions and
35462 macros are tested.
35463 (isgreater_test): New function.
35464 (isgreaterequal_test): Likewise.
35465 (isless_test): Likewise.
35466 (islessequal_test): Likewise.
35467 (islessgreater_test): Likewise.
35468 (isunordered_test): Likewise.
35469 (main): Call the new functions.
35470
273edc5e
RM
354712012-10-09 Roland McGrath <roland@hack.frob.com>
35472
b8493de0
RM
35473 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
35474 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
35475 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
35476 * sysdeps/i386/configure: Regenerated.
35477 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
35478 * sysdeps/mach/configure: Regenerated.
35479 * sysdeps/mach/hurd/configure: Regenerated.
35480 * sysdeps/powerpc/configure: Regenerated.
35481 * sysdeps/powerpc/powerpc32/configure: Regenerated.
35482 * sysdeps/powerpc/powerpc64/configure: Regenerated.
35483 * sysdeps/s390/s390-32/configure: Regenerated.
35484 * sysdeps/s390/s390-64/configure: Regenerated.
35485 * sysdeps/sh/configure: Regenerated.
35486 * sysdeps/sparc/configure: Regenerated.
35487 * sysdeps/unix/sysv/linux/configure: Regenerated.
35488 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
35489 * sysdeps/x86_64/configure: Regenerated.
35490
273edc5e
RM
35491 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
35492 defined. Don't check if MAP is NULL.
35493
c8450f70
JM
354942012-10-09 Joseph Myers <joseph@codesourcery.com>
35495
35496 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
35497 (_G_stat64): Likewise.
35498 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
35499 (_G_stat64): Likewise.
35500 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
35501 instead of struct _G_stat64.
35502 * libio/fileops.c (mmap_remap_check): Likewise.
35503 (decide_maybe_mmap): Likewise.
35504 (_IO_new_file_seekoff): Likewise.
35505 (_IO_file_stat): Likewise.
35506 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
35507 _G_off64_t.
35508 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
35509 instead of struct _G_stat64.
35510 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
35511
57e605ba
MK
355122012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
35513
35514 [BZ #14602]
35515 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35516 Replace with ...
35517 (CHECK_EOL): New macro.
35518 (two_way_short_needle): Check beginning of haystack for EOL. Use
35519 CHECK_EOL.
35520 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35521 Replace with CHECK_EOL.
35522 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35523 Replace with CHECK_EOL.
35524
ef1bb361
JM
355252012-10-08 Joseph Myers <joseph@codesourcery.com>
35526
35527 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
35528 type-generic.
35529 * math/libm-test.inc: Update comment listing what functions and
35530 macros are tested.
35531 (finite_test): New function.
35532 (isinf_test): Likewise.
35533 (isnan_test): Likewise.
35534 (fpclassify_test): Test subnormal input.
35535 (isfinite_test): Likewise.
35536 (isnormal_test): Likewise.
35537 (main): Call the new functions.
35538
55f11534
JN
355392012-10-08 Jonathan Nieder <jrnieder@gmail.com>
35540
35541 [BZ #14660]
35542 * Makerules (%.dynsym): Force C locale when running
35543 $(OBJDUMP) --dynamic-syms.
35544
1ab29350
AS
355452012-10-08 Andreas Schwab <schwab@linux-m68k.org>
35546
35547 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
35548 <stdint.h>.
35549
f1ecb7ef
DM
355502012-10-06 David S. Miller <davem@davemloft.net>
35551
35552 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
35553 upper 32-bits of the length value in %o2 since we use branch-on-register
35554 tests which consider the entire 64-bit register.
35555
5d41d91a
L
355562012-10-06 H.J. Lu <hongjiu.lu@intel.com>
35557
35558 * string/test-strstr.c (check2): Add a test for page boundary.
35559
3baddb72
DM
355602012-10-05 David S. Miller <davem@davemloft.net>
35561
35562 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
35563 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
35564 file.
35565 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
35566 sysdep_routines.
35567 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
35568 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
35569 and bzero when HWCAP_SPARC_CRYPTO is present.
35570
9cee5585
L
355712012-10-05 H.J. Lu <hongjiu.lu@intel.com>
35572
d7e0dab9
L
35573 [BZ #14602]
35574 * string/test-strstr.c (check2): New function.
35575 (test_main): Call check2.
35576
03759f47
L
35577 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
35578 and bug-strchr1.
35579 * string/bug-strcasestr1.c (do_test): Moved to ...
35580 * string/test-strcasestr.c (check1): Here. New function.
35581 (do_one_test): Break out result checking code into ...
35582 (check_result): This. New function.
35583 (do_one_test): Call check_result.
35584 (test_main): Call check1.
35585 * string/bug-strchr1.c (do_test): Moved to ...
35586 * string/test-strchr.c (check1): Here. New function.
35587 (do_one_test): Break out result checking code into ...
35588 (check_result): This. New function.
35589 (do_one_test): Call check_result.
35590 (test_main): Call check1.
35591 * string/bug-strstr1.c (main): Moved to ...
046f153e 35592 * string/test-strstr.c (check1): Here. New function.
03759f47
L
35593 (do_one_test): Break out result checking code into ...
35594 (check_result): This. New function.
35595 (do_one_test): Call check_result.
35596 (test_main): Call check1.
35597 * string/bug-strcasestr1.c: Removed.
35598 * string/bug-strchr1.c: Likewise.
35599 * string/bug-strstr1.c: Likewise.
35600
53cea63e
L
35601 * elf/Makefile (dl-routines): Add hwcaps.
35602 * elf/dl-support.c (_dl_important_hwcaps): Removed.
35603 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
35604 (_dl_important_hwcaps): Moved to ...
35605 * elf/dl-hwcaps.c: Here. New file.
35606 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
35607
9cee5585 35608 [BZ #14557]
bb859b06
L
35609 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
35610 if IS_IN_rtld isn't defined.
35611
9cee5585
L
35612 * elf/dl-support.c (_dl_sysinfo_map): New.
35613 Include "get-dynamic-info.h" and "setup-vdso.h".
35614 (_dl_non_dynamic_init): Call setup_vdso.
35615 * elf/dynamic-link.h: Don't include <assert.h>.
35616 (elf_get_dynamic_info): Moved to ...
35617 * elf/get-dynamic-info.h: Here. New file.
35618 * elf/dynamic-link.h: Include "get-dynamic-info.h".
35619 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
35620 * elf/setup-vdso.h: Here. New file.
35621 * elf/rtld.c: Include "setup-vdso.h".
35622 (dl_main): Call setup_vdso.
35623
23c31b76
JM
356242012-10-05 Joseph Myers <joseph@codesourcery.com>
35625
28234b07
JM
35626 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
35627 creal in comment listing functions tested. List finite, isinf,
35628 isnan, isless, islessequal, isgreater, isgreaterequal,
35629 islessgreater, isunordered, lgamma_r and pow10 as functions and
35630 macros not tested. Mention which functions not tested are aliases
35631 for other functions. Fix typo. Note that signs of NaNs are not
35632 tested.
35633
23c31b76
JM
35634 * scripts/config.guess: Update from config.git.
35635 * scripts/config.sub: Likewise.
35636
9043e228
RM
356372012-10-04 Roland McGrath <roland@hack.frob.com>
35638
35639 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
35640 * misc/madvise.c (madvise): Renamed to __madvise.
35641 Make madvise a weak alias.
35642 * include/sys/mman.h: Declare __madvise.
35643 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
35644 * sysdeps/unix/syscalls.list
35645 (madvise): Make __madvise the strong name, and madvise a weak alias.
35646 * sysdeps/unix/sysv/linux/syscalls.list
35647 (madvise, mmap): Remove redundant entries.
35648 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
35649 * malloc/malloc.c (mtrim): Likewise.
35650 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
35651
f57f8055
RM
356522012-10-03 Roland McGrath <roland@hack.frob.com>
35653
35654 * sysdeps/mach/hurd/dl-cache.c: File removed.
35655 * config.h.in (USE_LDCONFIG): New #undef.
35656 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
35657 * configure: Regenerated.
35658 * elf/Makefile (dl-routines): Add dl-cache only under
35659 [$(use-ldconfig) = yes].
35660 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
35661 cache on [USE_LDCONFIG].
35662 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
35663 [USE_LDCONFIG].
35664 * elf/rtld.c (dl_main): Likewise.
35665
5bb0c10a
PT
356662012-10-03 Pino Toscano <toscano.pino@tiscali.it>
35667
35668 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
35669 _SC_LEVEL4_CACHE_LINESIZE.
35670
010188c6
RM
356712012-10-03 Roland McGrath <roland@hack.frob.com>
35672
35673 * sysdeps/unix/bsd/confstr.h: File removed.
35674
b6c5ec07
AO
356752012-10-02 Alexandre Oliva <aoliva@redhat.com>
35676
35677 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
35678 sys/sdt-config.h.
35679
408223d4
RM
356802012-10-02 Roland McGrath <roland@hack.frob.com>
35681
35682 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
35683 Make 'mapoff' field ElfW(Off) rather than off_t.
35684
bb9510dc
DL
356852012-10-02 Dmitry V. Levin <ldv@altlinux.org>
35686
fc997c6e
DL
35687 * nscd/Makefile: Remove nscd-cflags and all its users.
35688 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
35689 (CFLAGS-nonlib): Add compiler flags for nscd modules.
35690
bb9510dc
DL
35691 [BZ #10631]
35692 * malloc.c (malloc_printerr): Clarify error message.
35693
05699367
L
356942012-10-02 H.J. Lu <hongjiu.lu@intel.com>
35695
35696 [BZ #14648]
35697 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35698 Set bit_FMA_Usable if FMA is supported.
35699 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
35700 macro.
35701 (bit_FMA4_Usable): Updated.
35702 (index_FMA_Usable): New macro.
35703 (CPUID_FMA): Likewise
35704 (HAS_FMA): Defined with bit_FMA_Usable.
35705
51367701
RM
357062012-10-01 Roland McGrath <roland@hack.frob.com>
35707
35708 * bits/types.h (__swblk_t): Type removed.
35709 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
35710 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
35711 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35712 (__SWBLK_T_TYPE): Likewise.
35713 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35714 (__SWBLK_T_TYPE): Likewise.
35715 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35716 (__SWBLK_T_TYPE): Likewise.
35717 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35718 (__SWBLK_T_TYPE): Likewise.
35719
4d57bf63 357202012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 35721 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
35722
35723 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
35724 (xdr_mapname): Use YPMAXMAP as maxsize.
35725 (xdr_peername): Use YPMAXPEER as maxsize.
35726 (xdr_keydat): Use YPAXRECORD as maxsize.
35727 (xdr_valdat): Use YPMAXRECORD as maxsize.
35728
93c65d43
RM
357292012-10-01 Roland McGrath <roland@hack.frob.com>
35730
497a03d6
RM
35731 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
35732
93c65d43
RM
35733 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
35734 * csu/init-first.c: ... here.
35735 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
35736 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
35737 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
35738 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
35739 * sysdeps/i386/init-first.c: File removed.
35740 * sysdeps/sh/init-first.c: File removed.
35741
bec749fd
JM
357422012-10-01 Joseph Myers <joseph@codesourcery.com>
35743
35744 [BZ #14645]
35745 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
35746 if x * y might underflow to zero and z is zero.
35747 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35748 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35749 * math/libm-test.inc (min_subnorm_value): New variable.
35750 (fma_test): Add more tests.
35751 (fma_test_towardzero): Likewise.
35752 (fma_test_downward): Likewise
35753 (fma_test_upward): Likewise.
35754 (initialize): Set min_subnorm_value.
35755
8ec5b013
JM
357562012-09-29 Joseph Myers <joseph@codesourcery.com>
35757
35758 [BZ #14638]
35759 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
35760 0 + 0.
35761 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
35762 mode for addition resulting in exact zero.
35763 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
35764 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
35765 exact 0 + 0.
35766 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35767 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35768 * math/libm-test.inc (fma_test): Add more tests.
35769 (fma_test_towardzero): New function.
35770 (fma_test_downward): Likewise.
35771 (fma_test_upward): Likewise.
35772 (main): Call the new functions.
35773
b1fa802e
DM
357742012-09-28 David S. Miller <davem@davemloft.net>
35775
35776 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
35777
d3b9fd9e
RM
357782012-09-28 Roland McGrath <roland@hack.frob.com>
35779
ea4d37b3
RM
35780 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
35781 instead of SIGALRM.
35782
ac51c949
RM
35783 * sysdeps/gnu/_G_config.h: Moved to ...
35784 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
35785 * sysdeps/mach/hurd/_G_config.h: Moved to ...
35786 * sysdeps/generic/_G_config.h: ... here.
35787
28c195f7
RM
35788 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
35789
848917f9
RM
35790 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
35791
6bacf05b
RM
35792 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
35793 Conditionalize target on [libnss_test1.so-version].
35794
91363dbb
RM
35795 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
35796
cc87f7d8
RM
35797 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
35798 (elfobjdir): Move out of conditionals.
35799
b1c608fe
RM
35800 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
35801 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
35802 (__nss_lookup_function): Conditionalize label remove_from_tree on
35803 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 35804
1d9a6d96
DM
358052012-09-28 David S. Miller <davem@davemloft.net>
35806
35807 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
35808 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
35809 file.
35810 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
35811 sysdep_routines.
35812 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
35813 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
35814 when HWCAP_SPARC_CRYPTO is present.
35815
72581615
PT
358162012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35817
35818 * io/tst-mknodat.c: Create a FIFO instead of a socket.
35819
715a900c
JL
358202012-09-28 Andreas Schwab <schwab@linux-m68k.org>
35821
35822 [BZ #6530]
35823 * stdio-common/vfprintf.c (process_string_arg): Revert
35824 2000-07-22 change.
35825
358262011-09-28 Jonathan Nieder <jrnieder@gmail.com>
35827
35828 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
35829 for testcase.
35830 * stdio-common/tst-sprintf.c: Include <locale.h>
35831 (main): Test sprintf's handling of incomplete multibyte
35832 characters.
35833
9bac1d86
L
358342012-09-28 H.J. Lu <hongjiu.lu@intel.com>
35835
35836 * elf/dl-runtime.c (VERSYMIDX): Removed.
35837 * elf/dl-version.c (VERSYMIDX): Likewise.
35838 * elf/do-rel.h (VERSYMIDX): Likewise.
35839 (VALIDX): Likewise.
35840 * elf/dynamic-link.h (VERSYMIDX): Likewise.
35841 * elf/rtld.c (VALIDX): Likewise.
35842 (ADDRIDX): Likewise.
9bac1d86
L
35843 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
35844 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
35845 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
35846 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
35847 (VALIDX): Likewise.
35848 (ADDRIDX): Likewise.
9bac1d86 35849
b31606c0
PT
358502012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35851
35852 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
35853
11541177
JL
358542012-09-28 Dmitry V. Levin <ldv@altlinux.org>
35855
35856 [BZ #11438]
35857 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
35858 to global scope.
35859 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
35860 addresses are in the same scope as 192.0.2/24.
35861 * posix/gai.conf: Document new scope table defaults.
35862
adb26fae
SP
358632012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35864
35865 [BZ #5298]
35866 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
35867 for ftell. Compute offsets from write pointers instead.
35868 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
35869
4573c6b0
SP
358702012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35871
35872 [BZ #14543]
35873 * libio/Makefile (tests): New test case tst-fseek.
35874 * libio/tst-fseek.c: New test case to verify that fseek/ftell
35875 combination works in wide mode.
35876 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
35877 state when the external buffer state changes.
35878
aa9bbfe6
DM
358792012-09-27 David S. Miller <davem@davemloft.net>
35880
35881 [BZ #14376]
35882 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
35883 pass reloc->r_addend in as the 'high' argument to
35884 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
35885
784421e7
DM
35886 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35887
c39bc8b8
PT
358882012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35889
35890 * rt/tst-aio2.c: Include <pthread.h>.
35891 * rt/tst-aio3.c: Likewise.
35892
1ccc2399
SE
358932012-09-27 Steve Ellcey <sellcey@mips.com>
35894
35895 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
35896
31ed4153
L
358972012-09-27 H.J. Lu <hongjiu.lu@intel.com>
35898
25f5f885
L
35899 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
35900 contents on [SHARED].
31ed4153 35901
b7bfe116
MP
359022012-09-26 Marek Polacek <polacek@redhat.com>
35903
35904 [BZ #14530]
35905 [BZ #13741]
35906 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
35907 for C++ and GCC <4.3 as well as for non GCC compilers.
35908
43c4edba
MT
359092012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
35910
35911 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35912
6a1bf82f
RM
359132012-09-25 Roland McGrath <roland@hack.frob.com>
35914
35915 * Makefile.in (all, install): Declare with .PHONY.
35916 Reported by Michael Hope <michael.hope@linaro.org>.
35917
8ad11b9a
TMQMF
359182012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35919
35920 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
35921 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
35922 system header.
35923 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
35924 Likewise.
35925 (sydep_routines): Add the new and the internal functions.
35926 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
35927 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
35928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
35929 (GLIBC_2.17): Add the new function.
35930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
35931 (GLIBC_2.17): Likewise.
35932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
35933 (GLIBC_2.17): Likewise.
35934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
35935 (GLIBC_2.17): Likewise.
35936 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
35937
7e2fca8d
AM
359382012-09-25 Alan Modra <amodra@gmail.com>
35939
35940 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
35941 Add release barrier before setting once_control to say
35942 initialisation is done. Add hints on lwarx. Use macro in
35943 place of isync.
35944 (clear_once_control): Add release barrier.
35945
b87c4b24
JM
359462012-09-25 Joseph Myers <joseph@codesourcery.com>
35947
d032e0d2
JM
35948 [BZ #13629]
35949 * math/s_clog.c (__clog): Handle more values close to |z| = 1
35950 specially.
35951 * math/s_clog10.c (__clog10): Likewise.
35952 * math/s_clog10f.c (__clog10f): Likewise.
35953 * math/s_clog10l.c (__clog10l): Likewise.
35954 * math/s_clogf.c (__clogf): Likewise.
35955 * math/s_clogl.c (__clogl): Likewise.
35956 * math/Makefile (libm-calls): Add x2y2m1.
35957 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
35958 (__x2y2m1): Likewise.
35959 (__x2y2m1l): Likewise.
35960 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
35961 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
35962 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
35963 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
35964 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
35965 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
35966 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
35967 * sysdeps/i386/fpu/libm-test-ulps: Update.
35968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35969
b87c4b24
JM
35970 [BZ #14621]
35971 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
35972 int as type of variable DEPTH.
35973 (glob): Use size_t instead of int as type of variables NEWCOUNT
35974 and OLD_PATHC.
35975
6d3bf199
LD
359762012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35977
22bf5c17
LD
35978 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
35979 Add s_sincosf-sse2.
35980 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
35981 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
35982 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
35983 macros for using routine as __sincosf_ia32.
35984 Use macro for function declaration and weak_alias.
35985 * sysdeps/i386/fpu/libm-test-ulps: Update.
35986
35987 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
35988 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35989
35990 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
35991 subnormal argument.
35992 * math/s_cexpf.c (__cexpf): Likewise.
35993 * math/s_csinf.c (__csinf): Likewise.
35994 * math/s_csinhf.c (__csinhf): Likewise.
35995 * math/s_ctanf.c (__ctanf): Likewise.
35996 * math/s_ctanhf.c (__ctanhf): Likewise.
35997 * math/s_ccosh.c (__ccoshf): Likewise.
35998 * math/s_cexp.c (__cexpl): Likewise.
35999 * math/s_csin.c (__csin): Likewise.
36000 * math/s_csinh.c (__csinh): Likewise.
36001 * math/s_ctan.c (__ctan): Likewise.
36002 * math/s_ctanh.c (ctanh): Likewise.
36003 * math/s_ccoshl.c (__ccoshl): Likewise.
36004 * math/s_cexpl.c (__cexpl): Likewise.
36005 * math/s_csinl.c (__csinl): Likewise.
36006 * math/s_csinhl.c (__csinhl): Likewise.
36007 * math/s_ctanl.c (__ctanl): Likewise.
36008 * math/s_ctanhl.c (__ctanhl): Likewise.
36009
203e5603
JM
360102012-09-25 Joseph Myers <joseph@codesourcery.com>
36011
36012 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
36013 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
36014 (_IO_off_t): Define to __off_t, not _G_off_t.
36015 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
36016 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
36017 (_IO_wint_t): Define to wint_t, not _G_wint_t.
36018 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
36019 type of __dummy and __dummy2 fields.
36020 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
36021 (_G_ssize_t): Likewise.
36022 (_G_off_t): Likewise.
36023 (_G_pid_t): Likewise.
36024 (_G_uid_t): Likewise.
36025 (_G_wchar_t): Likewise.
36026 (_G_wint_t): Likewise.
36027 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
36028 (_G_ssize_t): Likewise.
36029 (_G_off_t): Likewise.
36030 (_G_pid_t): Likewise.
36031 (_G_uid_t): Likewise.
36032 (_G_wchar_t): Likewise.
36033 (_G_wint_t): Likewise.
36034 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
36035 (_G_ssize_t): Likewise.
36036 (_G_off_t): Likewise.
36037 (_G_pid_t): Likewise.
36038 (_G_uid_t): Likewise.
36039 (_G_wchar_t): Likewise.
36040 (_G_wint_t): Likewise.
36041
9fab36eb
SP
360422012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36043
36044 * malloc/arena.c: Include malloc-sysdep.h.
36045 (shrink_heap): Use check_may_shrink_heap to decide if madvise
36046 is sufficient to shrink the heap or an unmap is needed.
36047 * sysdeps/generic/malloc-sysdep.h: New file. Define
36048 new function check_may_shrink_heap.
36049 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
36050 new function check_may_shrink_heap.
36051
2b4f00d1
SP
360522012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36053
36054 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
36055 comments.
36056
9a9028b1
DL
360572012-09-24 Dmitry V. Levin <ldv@altlinux.org>
36058
57c69bef
DL
36059 * catgets/test-gencat.sh: Add "set -e".
36060 * elf/tst-pathopt.sh: Likewise.
36061 * grp/tst_fgetgrent.sh: Likewise.
36062 * iconvdata/run-iconv-test.sh: Likewise.
36063 * intl/tst-gettext.sh: Likewise.
36064 * intl/tst-gettext2.sh: Likewise.
36065 * intl/tst-gettext4.sh: Likewise.
36066 * intl/tst-gettext6.sh: Likewise.
36067 * intl/tst-translit.sh: Likewise.
36068 * io/ftwtest-sh: Likewise.
36069 * libio/test-freopen.sh: Likewise.
36070 * malloc/tst-mtrace.sh: Likewise.
36071 * posix/globtest.sh: Likewise.
36072 * posix/tst-getconf.sh: Likewise.
36073 * posix/wordexp-tst.sh: Likewise.
36074 * stdio-common/tst-printf.sh: Likewise.
36075 * stdio-common/tst-unbputc.sh: Likewise.
36076 * stdlib/tst-fmtmsg.sh: Likewise.
36077 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
36078 * catgets/Makefile: Do not specify -e option when running
36079 testsuite shell scripts.
36080 * elf/Makefile: Likewise.
36081 * grp/Makefile: Likewise.
36082 * iconvdata/Makefile: Likewise.
36083 * intl/Makefile: Likewise.
36084 * io/Makefile: Likewise.
36085 * libio/Makefile: Likewise.
36086 * malloc/Makefile: Likewise.
36087 * posix/Makefile: Likewise.
36088 * stdio-common/Makefile: Likewise.
36089 * stdlib/Makefile: Likewise.
36090 * sysdeps/x86_64/Makefile: Likewise.
36091
9a9028b1
DL
36092 * io/ftwtest-sh: Add copyright header.
36093 * posix/globtest.sh: Likewise.
36094 * posix/tst-getconf.sh: Likewise.
36095 * posix/wordexp-tst.sh: Likewise.
36096 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
36097
ced6f16e
L
360982012-09-24 H.J. Lu <hongjiu.lu@intel.com>
36099
94b32c39
L
36100 [BZ #13679]
36101 * Makeconfig (+link): Defined as $(+link-static) if
36102 $(build-shared) isn't yes.
36103 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
36104 isn't yes.
36105 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
36106
189e935b
L
36107 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
36108
ced6f16e
L
36109 [BZ #14562]
36110 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
36111 new chunk size with MALLOC_ALIGN_MASK.
36112
a9f8e53a
JM
361132012-09-24 Joseph Myers <joseph@codesourcery.com>
36114
36115 [BZ #5044]
36116 * stdio-common/printf_fphex.c: Include <stdbool.h> and
36117 <rounding-mode.h>.
36118 (__printf_fphex): Determine rounding using get_rounding_mode and
36119 round_away.
36120 * stdio-common/tst-printf-round.c (struct hex_test): New
36121 structure.
36122 (hex_tests): New variable.
36123 (test_hex_in_one_mode): New function.
36124 (do_test): Also run tests for hex float output.
36125
43153109
JM
361262012-09-21 Joseph Myers <joseph@codesourcery.com>
36127
36128 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36129 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36130 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
36131 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36132 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36133 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
36134 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36135 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36136
8a26625d
JM
361372012-09-20 Joseph Myers <joseph@codesourcery.com>
36138
36139 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
36140 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
36141 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
36142 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
36143
f3fd569c
DL
361442012-09-19 Dmitry V. Levin <ldv@altlinux.org>
36145
36146 [BZ #14579]
36147 * elf/rtld.c (dl_main): Limit the check for self loading to normal
36148 mode only.
36149 * elf/tst-rtld-load-self.sh: New test.
36150 * elf/Makefile: Run it.
36151
63bbedd4
JM
361522012-09-18 Joseph Myers <joseph@codesourcery.com>
36153
36154 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
36155 (tst-writev-ENV): Remove.
36156 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
36157
626f8b6a
CM
361582012-09-17 Chris Metcalf <cmetcalf@tilera.com>
36159
36160 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
36161
b7aaa4d6
JM
361622012-09-17 Joseph Myers <joseph@codesourcery.com>
36163
36164 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
36165 unconditional.
36166 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
36167 Likewise.
36168 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
36169 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
36170 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
36171 Likewise.
36172
65513990
L
361732012-09-14 H.J. Lu <hongjiu.lu@intel.com>
36174
36175 [BZ #14587]
36176 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
36177 * config.make.in (have-cpp-asm-debuginfo): Removed.
36178 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
36179 * configure: Regenerated.
36180
784761be
JM
361812012-09-14 Joseph Myers <joseph@codesourcery.com>
36182
36183 [BZ #5044]
36184 * stdio-common/printf_fp.c: Include <stdbool.h> and
36185 <rounding-mode.h>.
36186 (___printf_fp): Determine rounding using get_rounding_mode and
36187 round_away.
36188 * stdio-common/tst-printf-round.c: New file.
36189 * stdio-common/Makefile (tests): Add tst-printf-round.
36190 (link-libm): New variable.
36191 ($(objpfx)tst-printf-round): Depend in $(link-libm).
36192
9503345f
L
361932012-09-13 H.J. Lu <hongjiu.lu@intel.com>
36194
36195 [BZ #14576]
36196 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
36197 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
36198 Likewise.
36199 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
36200 Likewise.
36201
ad35fc00
JM
362022012-09-13 Joseph Myers <joseph@codesourcery.com>
36203
36204 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
36205 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36206 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36207 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36208
6c9b0f68
JM
362092012-09-12 Joseph Myers <joseph@codesourcery.com>
36210
36211 [BZ #14518]
36212 * include/rounding-mode.h: New file.
36213 * sysdeps/generic/get-rounding-mode.h: Likewise.
36214 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
36215 * stdlib/strtod_l.c: Include <rounding-mode.h>.
36216 (MAX_VALUE): New macro.
36217 (MIN_VALUE): Likewise.
36218 (overflow_value): New function.
36219 (underflow_value): Likewise.
36220 (round_and_return): Use overflow_value and underflow_value to
36221 determine return values in overflow and underflow cases. Use
36222 round_away to determine rounding depending on rounding mode.
36223 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
36224 determine return values in overflow and underflow cases.
36225 * stdlib/tst-strtod-round.c: Include <fenv.h>.
36226 (struct test_results): New structure.
36227 (struct test): Use struct test_results to store expected results
36228 for all rounding modes.
36229 (TEST): Include expected results for all rounding modes.
36230 (test_in_one_mode): New function.
36231 (do_test): Use test_in_one_mode to compute and check results.
36232 Check results for all rounding modes.
36233 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
36234 $(link-libm).
36235
19fcedd5
AM
362362012-12-09 Allan McRae <allan@archlinux.org>
36237
1e9d84cd 36238 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 36239
8bbfd2f1
JM
362402012-09-11 Joseph Myers <joseph@codesourcery.com>
36241
36242 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
36243 (_G_int32_t): Likewise.
36244 (_G_uint16_t): Likewise.
36245 (_G_uint32_t): Likewise.
36246 (_G_HAVE_BOOL): Likewise.
36247 (_G_HAVE_ATEXIT): Likewise.
36248 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36249 (_G_HAVE_IO_FILE_OPEN): Likewise.
36250 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
36251 (_G_int32_t): Likewise.
36252 (_G_uint16_t): Likewise.
36253 (_G_uint32_t): Likewise.
36254 (_G_HAVE_BOOL): Likewise.
36255 (_G_HAVE_ATEXIT): Likewise.
36256 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36257 (_G_HAVE_IO_FILE_OPEN): Likewise.
36258 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
36259 (_G_int32_t): Likewise.
36260 (_G_uint16_t): Likewise.
36261 (_G_uint32_t): Likewise.
36262 (_G_HAVE_BOOL): Likewise.
36263 (_G_HAVE_ATEXIT): Likewise.
36264 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36265 (_G_HAVE_IO_FILE_OPEN): Likewise.
36266
b1dc5912
L
362672012-09-11 H.J. Lu <hongjiu.lu@intel.com>
36268
36269 * csu/libc-tls.c: Update copyright years.
36270
0e886ef9
JM
362712012-09-10 Joseph Myers <joseph@codesourcery.com>
36272
28361c5e
JM
36273 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
36274 [!_G_USING_THUNKS]: Remove conditional code.
36275 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
36276 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
36277
0e886ef9
JM
36278 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
36279 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
36280 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36281 (_G_VTABLE_LABEL_PREFIX): Likewise.
36282 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36283 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36284 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36285 (_G_VTABLE_LABEL_PREFIX): Likewise.
36286 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36287 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36288 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36289 (_G_VTABLE_LABEL_PREFIX): Likewise.
36290 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36291
bcba7aa2
L
362922012-09-10 H.J. Lu <hongjiu.lu@intel.com>
36293
36294 * libio/Makefile: Include ../Makeconfig before tests.
36295 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
36296 only if $(build-shared) is yes.
36297
06585ee8
L
36298 * iconv/gconv_db.c: Update copyright years.
36299
80ccd52c
LD
363002012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36301
36302 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
36303 unwind info if defined PIC. Fix special cases description.
36304 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
36305
36306 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
36307 DP_HI_MASK entry.
36308 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
36309
691bc9c1
L
363102012-09-07 H.J. Lu <hongjiu.lu@intel.com>
36311
3d9b46b3
L
36312 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
36313
de2139a9
L
36314 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
36315 is NULL.
36316
5ca78dd0
L
36317 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
36318 (LDLIBS-tst-chk4): This.
36319 (LDFLAGS-tst-chk5): Renamed to ...
36320 (LDLIBS-tst-chk5): This.
36321 (LDFLAGS-tst-chk6): Renamed to ...
36322 (LDLIBS-tst-chk6): This.
36323 (LDFLAGS-tst-lfschk4): Renamed to ...
36324 (LDLIBS-tst-lfschk4): This.
36325 (LDFLAGS-tst-lfschk5): Renamed to ...
36326 (LDLIBS-tst-lfschk5): This.
36327 (LDFLAGS-tst-lfschk6): Renamed to ...
36328 (LDLIBS-tst-lfschk6): This.
36329
691bc9c1
L
36330 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
36331 on $(common-objpfx)soversions.mk.
36332
65cafb1c
JM
363332012-09-07 Joseph Myers <joseph@codesourcery.com>
36334
36335 [BZ #10014]
36336 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
36337 example host name.
36338
c78ab094
SP
363392012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
36340
36341 * malloc/arena.c (arena_get_retry): New function that gets
36342 another arena for the caller to try its request on.
36343 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
36344 current arena cannot fulfill the request.
36345 (__libc_memalign): Likewise.
36346 (__libc_memalign): Likewise.
36347 (__libc_pvalloc): Likewise.
36348 (__libc_calloc): Likewise.
36349
01f49f59
JT
363502012-09-05 John Tobey <john.tobey@gmail.com>
36351
36352 [BZ #13542]
36353 * manual/arith.texi (Operations on Complex): Fix description
36354 of carg branch cut.
36355
4c23fed5
JM
363562012-09-06 Joseph Myers <joseph@codesourcery.com>
36357
1d3c8572
JM
36358 [BZ #10014]
36359 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
36360 host name.
36361
4c23fed5
JM
36362 [BZ #10038]
36363 * manual/memory.texi (Memory): Make order of menu items match
36364 order of sections.
36365
04570aaa
L
363662012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36367
36368 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
36369 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
36370 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
36371
b80af2f4
L
363722012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36373
36374 * csu/libc-tls.c (static_dtv): Renamed to ...
36375 (_dl_static_dtv): This. Make it global.
36376 (_dl_initial_dtv): Removed.
36377 (__libc_setup_tls): Updated.
36378 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
36379 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
36380 DL_INITIAL_DTV.
36381
2abe9f15
PM
363822012-09-06 Petr Machata <pmachata@redhat.com>
36383
36384 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
36385 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
36386 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
36387 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
36388
0948c3af
L
363892012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36390
36391 [BZ #14545]
36392 * csu/libc-tls.c (_dl_initial_dtv): New variable.
36393 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
36394 freeing dtv[-1].
36395
a5055ad1
L
363962012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36397
36398 [BZ #14544]
36399 * Makeconfig (link-static-before-libc): Replace $(+prector)
36400 with $(+prectorT).
36401 (link-static-after-libc): Replace $(+postctor) with
36402 $(+postctorT).
36403 (link-bounded): Replace $(+prector)/$(+postctor) with
36404 $(+prectorT)/$(+postctorT).
36405 (+prectorT): New macro.
36406 (+postctorT): Likewise.
36407
ed8c2ecd
JM
364082012-09-06 Joseph Myers <joseph@codesourcery.com>
36409
36410 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
36411 (round_str): Handle values above the maximum for IBM long double
36412 as inexact.
36413 * stdlib/tst-strtod-round.c (tests): Regenerated.
36414
14c996c8
AK
364152012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36416
36417 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
36418 assembler flag.
36419 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
36420 zarch_nohighgprs around the zarch optimized routines.
36421 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
36422 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
36423 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
36424 for zarch.
36425
430d6ce6
DM
364262012-09-05 David S. Miller <davem@davemloft.net>
36427
36428 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36429
57f41c40
AS
36430 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
36431 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
36432 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
36433 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
36434 entries.
36435
24d4e01b
AO
364362012-09-05 Alexandre Oliva <aoliva@redhat.com>
36437
36438 * malloc/arena.c: Fold copyright years.
36439 * malloc/mcheck.c, malloc/memusage.c: Likewise.
36440
61d58174
AO
364412012-09-05 Alexandre Oliva <aoliva@redhat.com>
36442
36443 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
36444
20196a5e
AO
364452012-09-05 Alexandre Oliva <aoliva@redhat.com>
36446
36447 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
36448
5c447383
AO
364492012-09-05 Alexandre Oliva <aoliva@redhat.com>
36450
36451 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
36452 change internal state upon failure.
36453
fad64255
AO
364542012-09-05 Alexandre Oliva <aoliva@redhat.com>
36455
36456 * malloc/mcheck.c (mcheck_check_all): Fix typo.
36457 * malloc/memusage.c (mmap): Likewise.
36458 (mmap64, mremap): Likewise. Adjust name in comment.
36459
1ffb8c90
SP
364602012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
36461
36462 * libio/fileops.c: Fix typos in comments.
36463 * libio/oldfileops.c: Likewise.
36464 * libio/wfileops.c: Likewise.
36465
6ef9cc37
SP
364662012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
36467
36468 [BZ #1349]
36469 * malloc/Makefile (tests): Add tst-malloc-usable test case.
36470 (tst-malloc-usable-ENV): Set environment for test case.
36471 * malloc/hooks.c (malloc_check_get_size): New function to get
36472 requested size.
36473 * malloc/malloc.c (musable): Use malloc_check_get_size.
36474 * malloc/tst-malloc-usable.c: New test case.
36475
4d038ae3
AS
364762012-09-05 Andreas Schwab <schwab@linux-m68k.org>
36477
36478 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
36479
c4e85184
AM
364802012-09-05 Allan McRae <allan@archlinux.org>
36481
b9dafc56 36482 [BZ #13966]
c4e85184
AM
36483 * configure.in (CXX_SYSINCLUDES): Use compiler output to
36484 determine header location.
36485 * configure: Regenerated.
36486
e1343020
AS
364872012-09-05 Andreas Schwab <schwab@linux-m68k.org>
36488
36489 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
36490 float format.
36491 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
36492 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
36493 format.
e1343020
AS
36494 (test): Regenerate.
36495
0a9f1987
DM
364962012-09-04 David S. Miller <davem@davemloft.net>
36497
36498 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
36499 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
36500 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
36501
29237804
FW
365022012-09-04 Florian Weimer <fweimer@redhat.com>
36503
36504 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
36505 failures.
36506
edb3cb88
FW
36507 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
36508
60160d83
JM
365092012-09-04 Joseph Myers <joseph@codesourcery.com>
36510
36511 [BZ #9914]
36512 * libio/iogetdelim.c: Include <limits.h>.
36513 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
36514 + len + 1 would overflow.
36515
bcd6c8dc
AJ
365162012-09-03 Andreas Jaeger <aj@suse.de>
36517
36518 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36519 * sysdeps/i386/fpu/libm-test-ulps: Update.
36520
4ffffbd2
LD
365212012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36522
36523 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
36524 Add s_sinf-sse2, s_conf-sse2.
36525
36526 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
36527 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
36528 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
36529 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
36530
36531 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
36532 for using routine as __sinf_ia32.
36533 Use macro for function declaration and weak_alias.
36534 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
36535 for using routine as __cosf_ia32.
36536 Use macro for function declaration and weak_alias.
36537
36538 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
36539 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
36540
36541 * sysdeps/x86_64/fpu/s_sinf.S: New file.
36542 * sysdeps/x86_64/fpu/s_cosf.S: New file.
36543 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36544
36545 * math/libm-test.inc (cos_test): Add more test cases.
36546 (sin_test): Likewise.
36547 (sincos_test): Likewise.
36548
511fa286
AK
365492012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36550
36551 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
36552 (IFUNC_RESOLVE): Make pointers to the specialized implementations
36553 hidden.
36554 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
36555
5f30cfec
L
365562012-09-02 H.J. Lu <hongjiu.lu@intel.com>
36557
36558 [BZ #14538]
36559 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
36560 first element of the GOT.
36561 (elf_machine_load_address): Return the difference between
36562 the runtime address of _DYNAMIC and elf_machine_dynamic ().
36563
0786794f
AM
365642012-09-01 Allan McRae <allan@archlinux.org>
36565
5f30cfec
L
36566 [BZ #13412]
36567 * configure.in (AWK): Require gawk version 3.0 or later.
36568 * configure: Regenerated.
0786794f 36569
26889eac
JM
365702012-09-01 Joseph Myers <joseph@codesourcery.com>
36571
36572 * sysdeps/unix/sysv/linux/kernel-features.h
36573 (__ASSUME_POSIX_CPU_TIMERS): Remove.
36574 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
36575 [__NR_clock_getres]: Make code unconditional.
36576 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
36577 (clock_getcpuclockid): Remove code left unreachable by removal of
36578 conditionals.
36579 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
36580 code unconditional.
36581 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
36582 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36583 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
36584 Make code unconditional.
36585 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
36586 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36587 * sysdeps/unix/sysv/linux/clock_settime.c
36588 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
36589 conditional code.
36590 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
36591 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36592
d22e28b0
L
365932012-08-29 H.J. Lu <hongjiu.lu@intel.com>
36594
36595 [BZ #14476]
36596 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
36597 scripts/test-installation.pl.
36598
36599 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
36600 and $ld_so_version if it is set.
36601
050af9c4
SP
366022012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
36603
36604 [BZ #14516]
36605 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
36606 failure if reading from procfs failed.
36607 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
36608
ad845c0b
JM
366092012-08-27 Joseph Myers <joseph@codesourcery.com>
36610
36611 * sysdeps/unix/sysv/linux/kernel-features.h
36612 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
36613 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36614 Remove conditional code.
36615 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36616 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
36617 Remove conditional code.
36618 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36619 * sysdeps/unix/sysv/linux/i386/fxstat.c
36620 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36621 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36622 * sysdeps/unix/sysv/linux/i386/fxstatat.c
36623 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36624 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36625 * sysdeps/unix/sysv/linux/i386/lxstat.c
36626 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36627 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36628 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
36629 Remove conditional code.
36630 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36631 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36632 Remove conditional code.
36633 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36634 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
36635 <kernel-features.h>.
36636 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
36637 Remove.
36638 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
36639 Remove conditional code.
36640 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36641 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
36642 Remove conditional.
36643
5dbf56af
MF
366442012-08-27 Mike Frysinger <vapier@gentoo.org>
36645
36646 [BZ #5400]
36647 * NEWS: Add fixed bug number.
36648
d6e70f43
JM
366492012-08-27 Joseph Myers <joseph@codesourcery.com>
36650
7efb4737
JM
36651 [BZ #14519]
36652 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
36653 underflowing exponent in case of negative sign.
36654 * stdlib/tst-strtod-round-data: Add more tests.
36655 * stdlib/tst-strtod-round.c (tests): Regenerated.
36656
af92131a
JM
36657 [BZ #3479]
36658 * stdlib/strtod_l.c (NDIG): Remove.
36659 (HEXNDIG): Likewise.
36660 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
36661 smallest representable value.
36662 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
36663 lie within an exact representation of 1/2 ulp of the result.
36664 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
36665 unconditionally.
36666 (TENS_P9_IDX): Define unconditionally.
36667 (TENS_P9_SIZE): Likewise.
36668 (TENS_P10_IDX): Likewise.
36669 (TENS_P10_SIZE): Likewise.
36670 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
36671 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
36672 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
36673 entries for 10^2^13 and 10^2^14.
36674 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
36675 (TENS_P13_IDX): Define.
36676 (TENS_P13_SIZE): Likewise.
36677 (TENS_P14_IDX): Likewise.
36678 (TENS_P14_SIZE): Likewise.
36679 (_fpioconst_pow10): Change array size to
36680 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
36681 unconditional.
36682 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
36683 1024]: Add entries for 10^2^13 and 10^2^14.
36684 [LAST_POW10 > _LAST_POW10]: Remove #error.
36685 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
36686 (_fpioconst_pow10): Change array size to
36687 FPIOCONST_POW10_ARRAY_SIZE.
36688 * stdlib/gen-fpioconst.c: New file.
36689 * stdlib/gen-tst-strtod-round.c: Likewise.
36690 * stdlib/tst-strtod-round-data: Likewise.
36691 * stdlib/tst-strtod-round.c: Likewise.
36692 * stdlib/Makefile (tests): Add tst-strtod-round.
36693
d6e70f43
JM
36694 [BZ #14459]
36695 * stdlib/strtod_l.c: Include <stdint.h>.
36696 (NDEBUG): Do not define.
36697 (round_and_return): Change EXPONENT parameter to type intmax_t.
36698 Rearrange calculations to avoid internal overflow possibilities.
36699 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
36700 Rearrange calculations to avoid internal overflow possibilities.
36701 Assert that number fits inside MPNSIZE limbs.
36702 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
36703 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
36704 calculations and add assertions to avoid internal overflow
36705 possibilities. Add casts to avoid signed/unsigned operations.
36706 * stdlib/tst-strtod-overflow.c: New file.
36707 * stdlib/Makefile (tests): Add tst-strtod-overflow.
36708
1f529f7d
MP
367092012-08-25 Marek Polacek <polacek@redhat.com>
36710
36711 * time/time.h: Fix some typos in comments.
36712
59a629f1
RM
367132012-08-23 Roland McGrath <roland@hack.frob.com>
36714
36715 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
36716 * posix/tst-rfc3484-2.c: Likewise.
36717 * posix/tst-rfc3484-3.c: Likewise.
36718
d3bafbc9
SM
367192012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
36720
36721 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
36722 (EF_ARM_ABI_FLOAT_HARD): Likewise.
36723
4efcc022
JM
367242012-08-23 Joseph Myers <joseph@codesourcery.com>
36725
36726 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
36727 #include of fxstatat64.c.
36728
3cc3ef96
RM
367292012-08-22 Roland McGrath <roland@hack.frob.com>
36730
f04e2132
RM
36731 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
36732 * shadow/getspent_r.c: Likewise.
36733 * shadow/getspnam.c: Likewise.
36734 * shadow/getspnam_r.c: Likewise.
36735 * gshadow/getsgent.c: Likewise.
36736 * gshadow/getsgent_r.c: Likewise.
36737 * gshadow/getsgnam.c: Likewise.
36738 * gshadow/getsgnam_r.c: Likewise.
36739 * inet/getnetbyad.c: Likewise.
36740 * inet/getnetbyad_r.c: Likewise.
36741 * inet/getnetbynm.c: Likewise.
36742 * inet/getnetbynm_r.c: Likewise.
36743 * inet/getnetent.c: Likewise.
36744 * inet/getnetent_r.c: Likewise.
36745 * inet/getproto.c: Likewise.
36746 * inet/getproto_r.c: Likewise.
36747 * inet/getprtent.c: Likewise.
36748 * inet/getprtent_r.c: Likewise.
36749 * inet/getprtname.c: Likewise.
36750 * inet/getprtname_r.c: Likewise.
36751 * inet/getrpcbyname.c: Likewise.
36752 * inet/getrpcbyname_r.c: Likewise.
36753 * inet/getrpcbynumber.c: Likewise.
36754 * inet/getrpcbynumber_r.c: Likewise.
36755 * inet/getrpcent.c: Likewise.
36756 * inet/getrpcent_r.c: Likewise.
36757 * inet/getaliasent.c: Likewise.
36758 * inet/getaliasent_r.c: Likewise.
36759 * inet/getaliasname.c: Likewise.
36760 * inet/getaliasname_r.c: Likewise.
36761 * nscd/getgrgid_r.c: Likewise.
36762 * nscd/getgrnam_r.c: Likewise.
36763 * nscd/gethstbyad_r.c: Likewise.
36764 * nscd/gethstbynm3_r.c: Likewise.
36765 * nscd/getpwnam_r.c: Likewise.
36766 * nscd/getpwuid_r.c: Likewise.
36767 * nscd/getsrvbynm_r.c: Likewise.
36768 * nscd/getsrvbypt_r.c: Likewise.
36769 * nscd/gai.c: Likewise.
36770
c53d909c
RM
36771 * configure.in (build_nscd): New substituted variable, set
36772 by --disable-build-nscd and defaults to $use_nscd.
36773 * configure: Regenerated.
36774 * config.make.in (build-nscd): New substituted variable.
36775 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
36776 Change conditional to require [$(build-nscd) = yes] as well.
36777 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
36778
3cc3ef96
RM
36779 [BZ# 13696]
36780 * configure.in (use_nscd): New substituted variable, set by
36781 --disable-nscd. If enabled, define USE_NSCD.
36782 * configure: Regenerated.
36783 * config.h.in: Add USE_NSCD.
36784 * config.make.in (use-nscd): New substituted variable.
36785 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
36786 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
36787 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
36788 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
36789 (CFLAGS-getgrnam_r.c): Likewise.
36790 (CFLAGS-initgroups.c): Likewise.
36791 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
36792 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
36793 Variables removed.
36794 * inet/getnetgrent_r.c
36795 (nscd_setnetgrent): New function, broken out of ...
36796 (setnetgrent): ... here. Call it.
36797 (innetgr): Conditionalize nscd bits on [USE_NSCD].
36798 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
36799 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
36800 * nscd/Makefile (routines, aux): Move definitions after include of
36801 Makeconfig. Conditionalize on [$(use-nscd) != no].
36802 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
36803 Conditionalize on [USE_NSCD].
36804 (is_nscd, nscd_init_cb): Likewise.
36805 (nss_load_library): Conditionalize init callback on [USE_NSCD].
36806 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
36807 * nss/nss_db/db-init.c: Likewise.
36808 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
36809 [USE_NSCD].
36810 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
36811 (make_request): Use it.
36812 (cache_valid_p): New function.
36813 (__check_pf): Use it.
36814 * NEWS: Add item for --disable-nscd.
36815
07e51550
DL
368162012-08-22 Dmitry V. Levin <ldv@altlinux.org>
36817
36818 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
36819 to support sed >= 4.2.1-20-ga9bf076.
36820 * configure: Regenerated.
36821
35a5b08b
RM
368222012-08-22 Roland McGrath <roland@hack.frob.com>
36823
36824 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
36825 Conditionalize whole body on [IREL].
36826
8479f23a
JL
368272012-08-22 Jeff Law <law@redhat.com>
36828
36829 [BZ #14505]
36830 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
36831 if the family is PF_UNSPEC.
36832
48da0b21
MF
368332012-08-22 Mike Frysinger <vapier@gentoo.org>
36834
36835 * Makerules (lib-version): Rename from V.
36836 (install-lib-nosubdir): Change V to lib-version.
36837
15d0da8c
WS
368382012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
36839
36840 [BZ #14252]
36841 * powerpc32/power6/wcschr.c: New file.
36842 * powerpc32/power6/wcscpy.c: New file.
36843 * powerpc32/power6/wcsrchr.c: New file.
36844 * powerpc64/power6/wcschr.c: New file.
36845 * powerpc64/power6/wcscpy.c: New file.
36846 * powerpc64/power6/wcsrchr.c: New file.
36847
bcca0895
MK
368482012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
36849
36850 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
36851 (two_way_short_needle): Use it.
5a4aaa33
RM
36852 * string/strstr.c (AVAILABLE1_USES_J): Define.
36853 * string/strcasestr.c: Likewise.
99677e57
MK
36854
36855 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
36856 array references.
36857 * string/strcasestr.c (TOLOWER): Make side-effect safe.
36858
400726de
MK
36859 [BZ #11607]
36860 * NEWS: Add an entry.
36861 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
36862 define their defaults.
36863 (two_way_short_needle): Detect end-of-string on-the-fly.
36864 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
36865 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
36866 * string/bug-strcasestr1.c: New test.
36867 * string/Makefile: Run it.
36868
20a71f2c
MK
368692012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
36870
36871 [BZ #11607]
36872 * string/str-two-way.h (two_way_short_needle): Optimize matching of
36873 the first character.
36874
21ad0558
RM
368752012-08-21 Roland McGrath <roland@hack.frob.com>
36876
36877 * csu/elf-init.c (__libc_csu_irel): Function removed.
36878 * csu/libc-start.c (apply_irel): New function.
36879 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
36880
0e1d9911
JM
368812012-08-21 Joseph Myers <joseph@codesourcery.com>
36882
36883 * sysdeps/unix/sysv/linux/kernel-features.h
36884 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
36885 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
36886 <kernel-features.h>.
36887 [__NR_fadvise64_64]: Make code unconditional.
36888 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
36889 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36890 !__NR_fadvise64_64)]: Likewise.
36891 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36892 !__NR_fadvise64_64))]: Likewise.
36893 [__NR_fadvise64]: Make code unconditional.
36894 [!__NR_fadvise64]: Remove conditional code.
36895 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
36896 <kernel-features.h>.
36897 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36898 unconditional.
36899 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36900 conditional code.
36901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
36902 not include <kernel-features.h>.
36903 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36904 unconditional.
36905 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36906 conditional code.
36907 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
36908 include <kernel-features.h>.
36909 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36910 unconditional.
36911 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36912 conditional code.
36913
14a50c9d
WS
369142012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36915
36916 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
36917 slight instruction rearrangements per scrollpipe analysis.
36918 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
36919
c0f4faf0
RM
369202012-08-20 Roland McGrath <roland@hack.frob.com>
36921
696da859
RM
36922 * manual/syslog.texi (syslog; vsyslog, closelog):
36923 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
36924 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
36925
c0f4faf0
RM
36926 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
36927 DSOCAPS to match condition on defining it.
36928
348363b2
JM
369292012-08-20 Joseph Myers <joseph@codesourcery.com>
36930
a35cbf28
JM
36931 * sysdeps/unix/sysv/linux/kernel-features.h
36932 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
36933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
36934 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36935 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
36937 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36938 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
36940 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36941 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36942
445f7ecd
JM
36943 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
36944 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
36945
348363b2
JM
36946 * sysdeps/unix/sysv/linux/kernel-features.h
36947 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
36948 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
36949 unconditional.
36950 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36951 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
36952 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
36953 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36954 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
36955 Make code unconditional.
36956 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36957 (__mmap64) [!__NR_mmap2]: Likewise.
36958 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
36959 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
36960 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36961 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
36962 [__NR_mmap2]: Make code unconditional.
36963 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36964 (__mmap64) [!__NR_mmap2]: Likewise.
36965
bc5bc0e5
AK
369662012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36967
36968 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
36969
88d506de
AJ
369702012-08-18 Andreas Jaeger <aj@suse.de>
36971
36972 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
36973
493387d2
MF
369742012-08-18 Mike Frysinger <vapier@gentoo.org>
36975
36976 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
36977 * include/unistd.h (__have_sock_cloexec): Likewise.
36978 (__have_pipe2): Likewise.
36979 (__have_dup3): Likewise.
36980
a277af22
MF
369812012-08-18 Mike Frysinger <vapier@gentoo.org>
36982
36983 [BZ #9685]
36984 * include/unistd.h (__have_pipe2): Change define into an extern int.
36985 (__have_dup3): Likewise.
36986 * socket/have_sock_cloexec.c: Include fcntl.h.
36987 (__have_pipe2): New variable.
36988 (__have_dup3): Likewise.
36989
fdab8fd3
MF
369902012-08-17 Mike Frysinger <vapier@gentoo.org>
36991
36992 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
36993
31035e80
MP
369942012-08-17 Marek Polacek <polacek@redhat.com>
36995
36996 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
36997 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
36998
3bd9e993
RM
369992012-08-17 Roland McGrath <roland@hack.frob.com>
37000
c91c505f
RM
37001 * configure.in: Add AC_SUBST for sysheaders.
37002 * configure: Regenerated.
37003 * config.make.in (sysheaders): New substituted variable.
37004
7c6f9d53
RM
37005 * sysdeps/unix/mkfifo.c: Moved ...
37006 * sysdeps/posix/mkfifo.c: ... here.
37007 * sysdeps/unix/mkfifoat.c: Moved ...
37008 * sysdeps/posix/mkfifoat.c: ... here.
37009
37010 * sysdeps/unix/utime.c: Moved ...
37011 * sysdeps/posix/utime.c: ... here.
37012
37013 * sysdeps/unix/time.c: Moved ...
37014 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
37015 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
37016 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
37017
37018 * sysdeps/unix/nice.c: Moved ...
37019 * sysdeps/posix/nice.c: ... here.
37020
37021 * sysdeps/unix/alarm.c: Moved ...
37022 * sysdeps/posix/alarm.c: ... here.
37023
3bd9e993
RM
37024 * intl/Makefile ($(codeset_mo)): Depend on the input file.
37025
d1f09384
JL
370262012-08-17 Jeff Law <law@redhat.com>
37027
37028 * intl/Makefile (codeset_mo): New variable.
37029 ($(codeset_mo)): New target.
37030 (tst-codeset.out): Depend on that. Remove explicit rule.
37031 (tst-gettext3.out, tst-gettext5.out): Likewise.
37032 (LOCPATH-ENV, tst-codeset-ENV): New variables.
37033 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
37034 * intl/tst-codeset.sh: Remove.
37035 * intl/tst-gettext3.sh: Likewise.
37036 * intl/tst-gettext5.sh: Likewise.
37037
2ae1ae5c
RM
370382012-08-17 Roland McGrath <roland@hack.frob.com>
37039
c31fdb83
RM
37040 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
37041 * sysdeps/unix/syscalls.list: ... here.
37042
a0844057
RM
37043 * sysdeps/posix/getaddrinfo.c
37044 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
37045 (gaiconf_init, gaiconf_reload): Use them.
37046 [!_STATBUF_ST_NSEC]
37047 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
37048 Define using time_t rather than struct timespec.
37049
750c1f2a
RM
37050 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
37051 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
37052 Macros removed.
37053 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
37054 [!NO_THREADS].
37055 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
37056 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
37057 Likewise.
37058
2ae1ae5c
RM
37059 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
37060 __libc_cleanup_push argument.
37061
e66a42f5
RM
37062 * bits/param.h: New file.
37063 * misc/sys/param.h: New file.
37064 * include/sys/param.h: New file.
37065 * misc/Makefile (headers): Add bits/param.h.
37066 * sysdeps/generic/sys/param.h: File removed.
37067 * sysdeps/unix/sysv/linux/bits/param.h: New file.
37068 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
37069 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 37070 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 37071
b7c08a66
RM
37072 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
37073 last change.
37074
b2e1c562
RM
37075 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
37076 [_IO_MTSAFE_IO].
37077 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
37078 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
37079 New macros.
37080
c75ccd4c
RM
37081 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
37082 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
37083 rather than -D_IO_MTSAFE_IO conditionally.
37084 * stdio-common/Makefile (CPPFLAGS): Likewise.
37085 * wcsmbs/Makefile (CPPFLAGS): Likewise.
37086 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
37087 Use $(libio-mtsafe).
37088 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
37089 of -D_IO_MTSAFE_IO.
37090 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
37091 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
37092 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
37093 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
37094 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
37095 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
37096 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
37097 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
37098 (CFLAGS-fread_u_chk.c): Likewise.
37099 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
37100 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
37101 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
37102 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
37103 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
37104 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
37105 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
37106 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
37107 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
37108
37109 * libio/Makefile: Test [$(libc-reentrant) = yes]
37110 instead of [$(filter %REENTRANT, $(defines)) nonempty].
37111
37112 * Makeconfig
37113 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
37114 * sysdeps/pthread/configure: File removed.
37115 * sysdeps/pthread/Makeconfig: New file.
37116 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
37117 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
37118
d9195db8
GB
371192012-08-16 Gary Benson <gbenson@redhat.com>
37120
37121 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
37122 unmapping the first object in a namespace.
37123
86466cd9
RM
371242012-08-16 Roland McGrath <roland@hack.frob.com>
37125
37126 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
37127 (__internal_setnetgrent): ... this. Add internal_function to
37128 definition. Add libc_hidden_def.
37129 (setnetgrent): Update caller.
37130 (internal_endnetgrent): Renamed to ...
37131 (__internal_endnetgrent): ... this. Add internal_function to
37132 definition. Add libc_hidden_def.
37133 (endnetgrent): Update caller.
37134 (internal_getnetgrent_r): Renamed to ...
37135 (__internal_getnetgrent_r): ... this. Add internal_function to
37136 definition. Add libc_hidden_def.
37137 (__getnetgrent_r): Update caller.
37138 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
37139
c3c8283c
JM
371402012-08-16 Joseph Myers <joseph@codesourcery.com>
37141
37142 * stdlib/longlong.h: Update from GCC.
37143
db1ee0a8
RM
371442012-08-16 Roland McGrath <roland@hack.frob.com>
37145
37146 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
37147 on _QL, which is set by umul_ppmm but never used.
37148 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
37149 variables, which are set by GMP macros but never used.
37150 * stdio-common/_itowa.c (_itowa): Likewise.
37151 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
37152 * stdlib/mod_1.c (mpn_mod_1): Likewise.
37153
30f69637
CD
371542012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
37155
37156 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
37157 struct La_sh_regs is not constant.
37158 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
37159 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
37160 and struct La_sparc64_regs are not constant.
37161
93a78ac4
JM
371622012-08-16 Joseph Myers <joseph@codesourcery.com>
37163
37164 * sysdeps/unix/sysv/linux/kernel-features.h
37165 (__ASSUME_POSIX_TIMERS): Remove.
37166 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37167 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37168 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
37169 Make code unconditional.
37170 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37171 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
37172 Make code unconditional.
37173 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37174 * sysdeps/unix/sysv/linux/clock_nanosleep.c
37175 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
37176 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37177 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
37178 Make code unconditional.
37179 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37180 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
37181 (__libc_missing_posix_timers): Remove.
37182
dd924cd7
RM
371832012-08-15 Roland McGrath <roland@hack.frob.com>
37184
4b4f2771
RM
37185 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
37186 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
37187
601c888b
RM
37188 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
37189
176790a7
RM
37190 * elf/dl-sym.c: Include <stdlib.h>.
37191
329bc018
RM
37192 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
37193 constants, which avoids warnings in 32-bit builds.
37194
e04e272d
RM
37195 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
37196 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
37197
952bf94a
RM
37198 * misc/lseek.c: File moved to ...
37199 * io/lseek.c: ... here.
37200
7c99b50a
RM
37201 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
37202
dd924cd7
RM
37203 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
37204 shifting LEN more than 31 bits at once.
37205
b3f479a8
LD
372062012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37207
37208 [BZ #14195]
8c4ae0d4
RM
37209 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
37210 segmentation fault for a case of two empty input strings.
b3f479a8
LD
37211 * string/test-strncasecmp.c (check1): Renamed to...
37212 (bz12205): ...this.
37213 (bz14195): Add new testcase for two empty input strings and N > 0.
37214 (test_main): Call new testcase, adapt for renamed function.
37215
9c55864e
AJ
372162012-08-15 Andreas Jaeger <aj@suse.de>
37217
37218 [BZ #14090]
37219 * crypt/md5test2.c: New test, based on test supplied by Serge
37220 Belyshev <belyshev@depni.sinp.msu.ru>.
37221 * crypt/Makefile (xtests): Add md5test-giant..
37222 * crypt/Makefile ($(objpfx)md5test-giant): Add.
37223
02dcb6c5
PE
372242012-08-15 Paul Eggert <eggert@cs.ucla.edu>
37225
37226 [BZ #14090]
37227 * crypt/md5.c (md5_process_block): Don't assume the buffer
37228 length is less than 2**32.
37229 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
37230 length is less than 2**64.
37231
a3f95dcc
RM
372322012-08-15 Roland McGrath <roland@hack.frob.com>
37233
be75d758
RM
37234 * string/str-two-way.h: Include <sys/param.h>.
37235 (MAX): Macro removed.
37236
7312ca90
RM
37237 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
37238 Move #define and #undef of memmove to just before and after
37239 including <string.h>.
37240
9a0a5486
RM
37241 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
37242 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
37243 and after including <string.h>. Move declarations of
37244 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
37245 to before #include "string/memmove.c".
37246
67cc348d
RM
37247 * include/dirent.h: Declare __getdirentries.
37248
a3f95dcc
RM
37249 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
37250 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
37251
ca98e171
MF
372522012-08-14 Mike Frysinger <vapier@gentoo.org>
37253
37254 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
37255 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
37256 * sysdeps/i386/configure: Regenerated.
37257 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
37258 STABS_CURRENT_FILE, and STABS_FUN.
37259 (END): Remove call to STABS_FUN_END.
37260 (STABS_CURRENT_FILE1): Delete.
37261 (STABS_CURRENT_FILE): Likewise.
37262 (STABS_FUN): Likewise.
37263 (STABS_FUN_END): Likewise.
37264 (STABS_FUN2): Likewise.
37265 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
37266 * sysdeps/x86_64/configure: Regenerated.
37267
5908bf46
RM
372682012-08-14 Roland McGrath <roland@hack.frob.com>
37269
37270 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 37271 * elf/dl-lookup.c: Likewise.
5908bf46 37272
f2c05b9e
JM
372732012-08-14 Joseph Myers <joseph@codesourcery.com>
37274
37275 * sysdeps/unix/sysv/linux/kernel-features.h
37276 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
37277 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
37278 unconditionally.
37279 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
37280 unconditionally.
37281 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
37282 condition on __ASSUME_CLONE_THREAD_FLAGS.
37283
e11f5155
AJ
372842012-08-14 Andreas Jaeger <aj@suse.de>
37285
37286 * sysdeps/i386/fpu/libm-test-ulps: Update.
37287
51a9ba86
MK
372882012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
37289
2fdd4f78
AJ
37290 * include/atomic.h (atomic_exchange_and_add): Split into ...
37291 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
37292 New atomic macros.
51a9ba86 37293
ba6cba9e
MT
372942012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
37295
37296 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37297
42443a47
JL
372982012-08-13 Jeff Law <law@redhat.com>
37299
37300 * manual/stdio.texi (snprintf): Clarify handling of the trailing
37301 null byte in the output string.
37302
121dce05
JM
373032012-08-10 Joseph Myers <joseph@codesourcery.com>
37304
37305 * sysdeps/unix/sysv/linux/kernel-features.h
37306 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
37307 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
37308 (__ASSUME_ARG_MAX_STACK_BASED): Define.
37309 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
37310 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
37311 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
37312 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
37313
bf51f568
JL
373142012-08-09 Jeff Law <law@redhat.com>
37315
37316 [BZ #13939]
37317 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
37318 When avoid_arena is set, don't retry in the that arena. Pick the
37319 next one, whatever it might be.
37320 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
37321 (arena_lock): Pass in new parameter to arena_get2.
37322 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
37323 arena_get2.
37324 (__libc_malloc): Unify retrying after main arena failure with
37325 __libc_memalign version.
37326 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
37327
f85fa270
L
373282012-08-09 H.J. Lu <hongjiu.lu@intel.com>
37329
37330 [BZ #14166]
37331 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
37332 to __redirect_strstr.
37333 (__strstr_sse42): Use typeof __redirect_strstr.
37334 (__strstr_ia32): Likewise.
37335 (__libc_strstr): New prototype.
37336 (strstr): Renamed to ...
37337 (__libc_strstr): This.
37338 (strstr): New strong alias of __libc_strstr.
37339 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37340 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
37341 __redirect_time.
37342 Include <time.h>.
37343 (__libc_time): New prototype.
37344 (time_ifunc): Replace time with __libc_time.
37345 (time): New strong alias and hidden definition of __libc_time.
37346 (__GI_time): Remove strong alias.
37347 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
37348 Include <stddef.h>.
37349 (memmove): Redefined to __redirect_memmove.
37350 (__memmove_sse2): Use typeof __redirect_memmove.
37351 (__memmove_ssse3): Likewise.
37352 (__memmove_ssse3_back): Likewise.
37353 (__libc_memmove): New prototype.
37354 (memmove): Renamed to ...
37355 (__libc_memmove): This.
37356 (memmove): New strong alias of __libc_memmove.
37357
33b4a91e
MS
373582012-08-08 Mark Salter <msalter@redhat.com>
37359
37360 * elf/elf.h
37361 (R_MN10300_TLS_GD): Define.
37362 (R_MN10300_TLS_LD): Likewise.
37363 (R_MN10300_TLS_LDO): Likewise.
37364 (R_MN10300_TLS_GOTIE): Likewise.
37365 (R_MN10300_TLS_IE): Likewise.
37366 (R_MN10300_TLS_LE): Likewise.
37367 (R_MN10300_TLS_DTPMOD): Likewise.
37368 (R_MN10300_TLS_DTPOFF): Likewise.
37369 (R_MN10300_TLS_TPOFF): Likewise.
37370 (R_MN10300_SYM_DIFF): Likewise.
37371 (R_MN10300_ALIGN): Likewise.
37372 (R_MN10300_NUM): Update.
37373
b36137f1
JM
373742012-08-08 Joseph Myers <joseph@codesourcery.com>
37375
37376 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
37377 Remove.
37378
cdd915fd
RM
373792012-08-08 Roland McGrath <roland@hack.frob.com>
37380
a2433aac
RM
37381 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
37382
cdd915fd
RM
37383 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
37384 sysdeps/unix -> sysdeps/posix move.
37385 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
37386
bf9b740a
AM
373872012-08-07 Allan McRae <allan@archlinux.org>
37388
37389 [BZ #14303]
37390 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
37391 (SUNOS_CPP): Likewise.
37392 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
37393 not found.
37394 (open_input): Call CPP using execvp.
37395
93df14ee
JM
373962012-08-07 Joseph Myers <joseph@codesourcery.com>
37397
37398 * sysdeps/unix/sysv/linux/kernel-features.h
37399 (__ASSUME_PROT_GROWSUPDOWN): Remove.
37400 (__ASSUME_NO_CLONE_DETACHED): Likewise.
37401 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
37402 (__ASSUME_WAITID_SYSCALL): Likewise.
37403 * sysdeps/unix/sysv/linux/dl-execstack.c
37404 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
37405 code unconditional.
37406 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
37407 conditional code.
37408 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
37409 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
37410 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
37411 code.
37412 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
37413 unconditional.
37414 [__ASSUME_WAITID_SYSCALL]: Likewise.
37415 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
37416
d34689de
RM
374172012-08-07 Roland McGrath <roland@hack.frob.com>
37418
a281decc
RM
37419 * sysdeps/unix/closedir.c: Renamed to ...
37420 * sysdeps/posix/closedir.c: ... here.
37421 * sysdeps/unix/dirfd.c: Renamed to ...
37422 * sysdeps/posix/dirfd.c: ... here.
37423 * sysdeps/unix/dirstream.h: Renamed to ...
37424 * sysdeps/posix/dirstream.h: ... here.
37425 * sysdeps/unix/fdopendir.c: Renamed to ...
37426 * sysdeps/posix/fdopendir.c: ... here.
37427 * sysdeps/unix/opendir.c: Renamed to ...
37428 * sysdeps/posix/opendir.c: ... here.
37429 * sysdeps/unix/readdir.c: Renamed to ...
37430 * sysdeps/posix/readdir.c: ... here.
37431 * sysdeps/unix/readdir_r.c: Renamed to ...
37432 * sysdeps/posix/readdir_r.c: ... here.
37433 * sysdeps/unix/rewinddir.c: Renamed to ...
37434 * sysdeps/posix/rewinddir.c: ... here.
37435 * sysdeps/unix/seekdir.c: Renamed to ...
37436 * sysdeps/posix/seekdir.c: ... here.
37437 * sysdeps/unix/telldir.c: Renamed to ...
37438 * sysdeps/posix/telldir.c: ... here.
37439 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
37440 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
37441 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
37442 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
37443
22895b47
RM
37444 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
37445 * bits/fcntl.h: ... here.
37446
707a53b6
RM
37447 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
37448 not 0.
37449 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
37450 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
37451 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
37452 (struct flock): Move l_start, l_len to the beginning.
37453 Use __pid_t for l_pid.
37454 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
37455 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
37456 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
37457 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
37458 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
37459 [__USE_LARGEFILE64] (struct flock64): New type.
37460 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
37461
f0bd3e25
RM
37462 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
37463 * bits/dirent.h: ... here.
37464
d34689de
RM
37465 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
37466 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
37467
6dad2c06
JM
374682012-08-07 Joseph Myers <joseph@codesourcery.com>
37469
37470 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37471 Change from 2.6.0 to 2.6.16.
37472 * sysdeps/unix/sysv/linux/configure: Regenerated.
37473 * sysdeps/unix/sysv/linux/kernel-features.h
37474 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
37475 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
37476 version.
37477 (__ASSUME_UTIMES): Likewise.
37478 (__ASSUME_CLONE_STOPPED): Remove.
37479 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
37480 architectures, not kernel version.
37481 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
37482 (__ASSUME_NO_CLONE_DETACHED): Likewise.
37483 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
37484 (__ASSUME_WAITID_SYSCALL): Likewise.
37485 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
37486 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
37487 * README: State 2.6.16 as minimum Linux kernel version. Do not
37488 refer to older versions.
37489
03af9520
RM
374902012-08-06 Roland McGrath <roland@hack.frob.com>
37491
8e49df1d
RM
37492 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
37493 Define alphasort64 as an alias.
37494 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
37495 Define versionsort64 as an alias.
37496 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
37497 Define scandir64 as an alias.
37498 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
37499 Define scandirat64 as an alias.
37500 * dirent/alphasort64.c (alphasort64):
37501 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
37502 * dirent/versionsort64.c: Likewise.
37503 * dirent/scandir64.c: Likewise.
37504 * dirent/scandirat64.c: Likewise.
37505 * sysdeps/wordsize-64/alphasort.c: File removed.
37506 * sysdeps/wordsize-64/alphasort64.c: File removed.
37507 * sysdeps/wordsize-64/scandir.c: File removed.
37508 * sysdeps/wordsize-64/scandir64.c: File removed.
37509 * sysdeps/wordsize-64/scandirat.c: File removed.
37510 * sysdeps/wordsize-64/scandirat64.c: File removed.
37511 * sysdeps/wordsize-64/versionsort.c: File removed.
37512 * sysdeps/wordsize-64/versionsort64.c: File removed.
37513 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
37514 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
37515 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
37516 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
37517 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
37518 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
37519 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
37520 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
37521
37522 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
37523 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
37524 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
37525 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37526 [defined __arch64__ || defined __sparcv9]
37527 (__INO_T_MATCHES_INO64_T): New macro.
37528 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37529 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
37530 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
37531 * sysdeps/unix/sysv/linux/bits/dirent.h
37532 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
37533 (_DIRENT_MATCHES_DIRENT64): New macro.
37534
03af9520
RM
37535 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
37536 Define lockf64 as an alias.
37537 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
37538 Define fseeko64 as an alias.
37539 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
37540 Define ftello64 as an alias.
37541 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
37542 Define _IO_fgetpos64 and fgetpos64 as aliases.
37543 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
37544 Define _IO_fsetpos64 and fsetpos64 as aliases.
37545 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
37546 Conditionalize body on this.
37547 * libio/fseeko64.c: Likewise.
37548 * libio/ftello64.c: Likewise.
37549 * libio/iofgetpos64.c: Likewise.
37550 * libio/iofsetpos64.c: Likewise.
37551 * sysdeps/wordsize-64/lockf.c: File removed.
37552 * sysdeps/wordsize-64/lockf64.c: File removed.
37553 * sysdeps/wordsize-64/fseeko.c: File removed.
37554 * sysdeps/wordsize-64/fseeko64.c: File removed.
37555 * sysdeps/wordsize-64/ftello.c: File removed.
37556 * sysdeps/wordsize-64/ftello64.c: File removed.
37557 * sysdeps/wordsize-64/iofgetpos.c: File removed.
37558 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
37559 * sysdeps/wordsize-64/iofsetpos.c: File removed.
37560 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
37561 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
37562 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
37563 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
37564 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
37565 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
37566 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
37567 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
37568 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
37569 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
37570 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
37571
37572 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
37573 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
37574 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
37575 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37576 [defined __arch64__ || defined __sparcv9]
37577 (__OFF_T_MATCHES_OFF64_T): New macro.
37578 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37579 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
37580 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37581 (__OFF_T_MATCHES_OFF64_T): New macro.
37582
c5757acd
L
375832012-08-06 H.J. Lu <hongjiu.lu@intel.com>
37584
37585 * stdlib/secure-getenv.c (__secure_getenv): Replace
37586 GLIBC_2_16 with GLIBC_2_17.
37587
3a31811e
L
375882012-08-06 H.J. Lu <hongjiu.lu@intel.com>
37589
37590 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
37591 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
37592
faa2bccb
DM
375932012-08-03 David S. Miller <davem@davemloft.net>
37594
37595 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37596
85fe1997
JM
375972012-08-03 Joseph Myers <joseph@codesourcery.com>
37598
37599 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
37600 Remove.
37601 (__ASSUME_CORRECT_SI_PID): Likewise.
37602 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
37603 (__ASSUME_TMPFS_NAME): Likewise.
37604 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
37605 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
37606 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
37607 (HAVE_AUX_SECURE): Make definition unconditional.
37608 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
37609 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
37610
4f75b7a0
RM
376112012-08-03 Roland McGrath <roland@hack.frob.com>
37612
37613 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
37614 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
37615 * sysdeps/mach/hurd/eloop-threshold.h: New file.
37616 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
37617 __eloop_threshold instead of SYMLOOP_MAX.
37618
37619 * sysdeps/generic/eloop-threshold.h: New file.
37620 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
37621 of MAXSYMLINKS.
37622 * elf/chroot_canon.c (chroot_canon): Likewise.
37623
7aab07e4
JM
376242012-08-03 Joseph Myers <joseph@codesourcery.com>
37625
37626 [BZ #13717]
37627 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37628 Change to 2.6.0 everywhere.
37629 * sysdeps/unix/sysv/linux/configure: Regenerated.
37630 * sysdeps/unix/sysv/linux/kernel-features.h
37631 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
37632 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
37633 kernel versions.
37634 (__ASSUME_POSIX_TIMERS): Define unconditionally.
37635 (__ASSUME_FUTEX_REQUEUE): Remove.
37636 (__ASSUME_STATFS64): Define unconditionally.
37637 (__ASSUME_AT_SECURE): Likewise.
37638 (__ASSUME_CORRECT_SI_PID): Likewise.
37639 (__ASSUME_TGKILL): Define without depending on kernel version for
37640 i386.
37641 (__ASSUME_UTIMES): Likewise.
37642 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
37643 kernel version.
37644 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
37645 (__ASSUME_TMPFS_NAME): Likewise.
37646 * README: Update reference to Linux kernel versions.
37647
b67e9372
MP
376482012-08-02 Marek Polacek <polacek@redhat.com>
37649
1f529f7d 37650 [BZ# 14150]
b67e9372
MP
37651 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
37652 libc_cv_asm_type_prefix with %.
37653 * configure: Regenerated.
d2441631
RM
37654 * include/libc-symbols.h: Remove comment about
37655 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
37656 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
37657 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
37658 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
37659 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
37660 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
37661 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
37662 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
37663 * elf/tst-unique2mod1.c: Likewise.
37664 * elf/tst-unique1mod2.c: Likewise.
37665 * elf/tst-unique1mod1.c: Likewise.
37666 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
37667 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
37668 Replace ASM_TYPE_DIRECTIVE with .type.
37669 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37670 * sysdeps/i386/sysdep.h: Likewise.
37671 * sysdeps/x86_64/sysdep.h: Likewise.
37672 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
37673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37674 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 37675 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
37676 * sysdeps/powerpc/powerpc32/sysdep.h:
37677 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
37678 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
37679 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
37680 * sysdeps/i386/fpu/e_powf.S: Likewise.
37681 * sysdeps/i386/fpu/e_expl.S: Likewise.
37682 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37683 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37684 * sysdeps/i386/fpu/e_pow.S: Likewise.
37685 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37686 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37687 * sysdeps/i386/fpu/s_expm1.S: Likewise.
37688 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37689 * sysdeps/i386/fpu/e_log2.S: Likewise.
37690 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37691 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37692 * sysdeps/i386/fpu/e_powl.S: Likewise.
37693 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37694 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37695 * sysdeps/i386/fpu/e_logl.S: Likewise.
37696 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37697 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37698 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37699 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37700 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37701 * sysdeps/i386/fpu/e_log.S: Likewise.
37702 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37703 * sysdeps/i386/fpu/e_logf.S: Likewise.
37704 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37705 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37706 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37707 * sysdeps/i386/fpu/e_log10.S: Likewise.
37708 * sysdeps/i386/fpu/s_frexp.S: Likewise.
37709 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37710 * sysdeps/i386/fpu/s_asinh.S: Likewise.
37711 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37712 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37713 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
37714 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37715 * sysdeps/i386/i686/strtok.S: Likewise.
37716 * sysdeps/i386/i386-mcount.S: Likewise.
37717 * sysdeps/i386/strtok.S: Likewise.
37718 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
37719 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37720 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37721 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37722 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37723 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37724 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37725 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37726 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37727 * sysdeps/x86_64/_mcount.S: Likewise.
37728 * sysdeps/x86_64/strtok.S: Likewise.
37729 * sysdeps/sh/_mcount.S: Likewise.
37730
2747bf9a
RM
377312012-08-01 Roland McGrath <roland@hack.frob.com>
37732
37733 * libio/iofopen.c: Include <fcntl.h>.
37734 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
37735 (_IO_fopen64, fopen64): Define as aliases.
37736 * libio/iofopen64.c: Include <fcntl.h>.
37737 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
37738 Conditionalize body on this.
37739 * sysdeps/wordsize-64/iofopen.c: File removed.
37740 * sysdeps/wordsize-64/iofopen64.c: File removed.
37741
3fb791b8
MP
377422012-08-01 Marek Polacek <polacek@redhat.com>
37743
37744 * libc/Makeconfig: Use elf in place of binfmt-subdir.
37745 Use dlfcn directly instead of a variable.
37746 (binfmt-subdir): Do not define.
37747 (dlfcn): Likewise.
37748
a9f1039f
JM
377492012-08-01 Joseph Myers <joseph@codesourcery.com>
37750
23bddc06
JM
37751 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
37752 Remove all definitions.
37753 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
37754 <kernel-features.h>.
37755 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37756 (miss_F_GETOWN_EX): Remove all definitions.
37757 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
37758 macro definition.
37759 [!__ASSUME_FCNTL64]: Remove conditional code.
37760 [__ASSUME_FCNTL64]: Make code unconditional.
37761 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
37762 <kernel-features.h>.
37763 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37764 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
37765 (lockf64) [__NR_fcntl64]: Make code unconditional.
37766 (lockf64) [__ASSUME_FCNTL64]: Likewise.
37767
a9f1039f
JM
37768 * sysdeps/unix/sysv/linux/kernel-features.h
37769 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
37770 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
37771 Make code unconditional.
37772 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37773 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
37775 [__NR_vfork]: Make code unconditional.
37776 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37777 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
37779 [__NR_vfork]: Make code unconditional.
37780 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37781 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37782
09c0ee5f
RM
377832012-08-01 Roland McGrath <roland@hack.frob.com>
37784
48aec5b9
RM
37785 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
37786 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
37787
cd97c966
RM
37788 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37789 Define mkstemp64 as an alias.
3f55550c
RM
37790 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37791 Define mkstemps64 as an alias.
cd97c966
RM
37792 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37793 Define mkostemp64 as an alias.
b8625cfc
RM
37794 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37795 Define mkostemps64 as an alias.
cd97c966
RM
37796 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
37797 Conditionalize body on this.
37798 * misc/mkostemp64.c: Likewise.
b8625cfc 37799 * misc/mkostemps64.c: Likewise.
3f55550c 37800 * misc/mkstemps64.c: Likewise.
cd97c966
RM
37801 * sysdeps/wordsize-64/mkstemp64.c: File removed.
37802 * sysdeps/wordsize-64/mkostemp64.c: File removed.
37803 * sysdeps/wordsize-64/mkostemp.c: File removed.
37804 * sysdeps/wordsize-64/mkstemp.c: File removed.
37805 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
37806 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
37807 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
37808 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
37809
09c0ee5f
RM
37810 [BZ #14138]
37811 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
37812 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
37813 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
37814 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
37815
37816 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
37817 compat_symbol macros from <shlib-compat.h> rather than the underlying
37818 default_symbol_version and symbol_version macros, so that DEFAULT
37819 lines in shlib-versions are respected.
37820 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
37821
7e66ee51
FW
378222012-08-01 Florian Weimer <fweimer@redhat.com>
37823
37824 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
37825 Declare with warn_unused_result.
37826 (setgid, setregid, setegid, setresgid): Likewise.
37827 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
37828 Likewise.
37829 * WUR-REPORT: Remove set*id functions.
37830
d2a54255
PT
378312012-07-31 Pino Toscano <toscano.pino@tiscali.it>
37832
37833 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
37834
7ecdb005
RM
378352012-07-31 Roland McGrath <roland@hack.frob.com>
37836
b4180a5e 37837 [BZ #10191]
789bd351
RM
37838 * include/sys/socket.h (__libc_accept, __libc_accept4):
37839 Add attribute_hidden.
37840 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
37841
40ce302d
RM
37842 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
37843 use of PTR_MANGLE.
37844 * inet/getnetgrent_r.c (setup): Likewise.
37845
7ecdb005
RM
37846 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
37847
e2eabb2c
DM
378482012-07-31 David S. Miller <davem@davemloft.net>
37849
37850 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37851
d0419dbf
JM
378522012-07-31 Joseph Myers <joseph@codesourcery.com>
37853
37854 [BZ #13629]
37855 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
37856 value between 1.0 and 2.0 and smaller part has absolute value less
37857 than 1.0.
37858 * math/s_clog10.c (__clog10): Likewise.
37859 * math/s_clog10f.c (__clog10f): Likewise.
37860 * math/s_clog10l.c (__clog10l): Likewise.
37861 * math/s_clogf.c (__clogf): Likewise.
37862 * math/s_clogl.c (__clogl): Likewise.
37863 * math/libm-test.inc (clog_test): Add more tests.
37864 (clog10_test): Likewise.
37865 * sysdeps/i386/fpu/libm-test-ulps: Update.
37866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37867
2bc13872
FW
378682012-07-31 Florian Weimer <fweimer@redhat.com>
37869
37870 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
37871 Exit with zero in case no suitable GID is found, and write a
37872 message to standard error.
37873
bea9b193
RM
378742012-07-30 Roland McGrath <roland@hack.frob.com>
37875
37876 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
37877 rather than to 1.
37878 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
37879 (MAXPATHLEN): Removed.
37880 (NOGROUP, NODEV): New macros.
37881 (setbit, clrbit, isset, isclr): New macros.
37882 (howmany, roundup, powerof2): New macros.
37883 (DEV_BSIZE): New macro.
37884
37885 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
37886 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
37887
37888 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
37889 definition on [!__NO_LONG_DOUBLE_MATH].
37890
37891 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
37892 PTR_MANGLE and PTR_DEMANGLE.
37893
37894 * socket/accept4.c (accept4): Rename to __libc_accept4.
37895 Define accept4 as a weak alias.
37896
37897 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
37898 on [_DIRENT_HAVE_D_TYPE].
37899 * io/ftw.c (ftw_dir): Likewise.
37900
37901 * io/xmknod.c (__xmknod): Don't check PATH for being null.
37902
37903 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
37904
37905 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
37906 Use the BSD numbers rather than the arbitrary ones we had.
37907 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
37908 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
37909 (SIGXCPU, SIGXFSZ): New macros.
37910 (_NSIG): Now 32.
37911
37912 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
37913 initializer on [_LIBC_REENTRANT].
37914
37915 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
37916 definitions inside [_POSIX_MAPPED_FILES].
37917
37918 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
37919
37920 * dirent/opendir.c: Include <fcntl.h>.
37921
37922 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
37923 (__libc_getspecific): Likewise.
37924 (__libc_key_create): Likewise.
37925
37926 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
37927 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
37928 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
37929 (tmpfile64): Define as alias.
37930 * sysdeps/wordsize-64/tmpfile.c: File removed.
37931 * sysdeps/wordsize-64/tmpfile64.c: File removed.
37932 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
37933 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
37934
37935 * stdio-common/vfscanf.c: Include <stdbool.h>.
37936 * nss/makedb.c: Likewise.
37937 * stdio-common/_i18n_number.h: Likewise.
37938 * argp/argp-help.c: Likewise.
37939 * posix/wordexp.c: Likewise.
37940 * sysdeps/posix/spawni.c: Likewise.
37941 * nss/nss_files/files-initgroups.c: Likewise.
37942 * stdio-common/reg-modifier.c: Include <stdlib.h>.
37943 * nss/nss_files/files-initgroups.c: Likewise.
37944 * nss/nss_db/db-netgrp.c: Likewise.
37945 * nss/nss_db/db-initgroups.c: Likewise.
37946 * io/fchmodat.c: Include <sys/stat.h>.
37947
37948 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
37949 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
37950
37951 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
37952 [HAVE_MMAP].
37953
37954 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
37955 Add multiple inclusion protection.
37956
e5abc686
DM
379572012-07-27 David S. Miller <davem@davemloft.net>
37958
37959 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37960
815e6fa3
GB
379612012-07-27 Gary Benson <gbenson@redhat.com>
37962
37963 [BZ #14298]
37964 * elf/rtld.c: Include <stap-probe.h>.
37965 (dl_main): Added static probes "init_start" and "init_complete".
37966 * elf/dl-load.c: Include <stap-probe.h>.
37967 (lose): Take new parameter "nsid".
37968 Added static probe "map_failed".
37969 (_dl_map_object_from_fd): Pass namespace id to lose.
37970 Added static probe "map_start".
37971 (open_verify): Pass namespace id to lose.
37972 * elf/dl-open.c: Include <stap-probe.h>.
37973 (dl_open_worker) Added static probes "map_complete", "reloc_start"
37974 and "reloc_complete".
37975 * elf/dl-close.c: Include <stap-probe.h>.
37976 (_dl_close_worker): Added static probes "unmap_start" and
37977 "unmap_complete".
37978 * elf/rtld-debugger-interface.txt: New file documenting the above.
37979
9f98c16c
RM
379802012-07-26 Roland McGrath <roland@hack.frob.com>
37981
37982 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
37983 rather than a string variable.
37984 * sunrpc/rpc_main.c (h_output): Likewise.
37985 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
37986
f3c22df3
PT
379872012-07-26 Pino Toscano <toscano.pino@tiscali.it>
37988
37989 * inet/check_native.c: New file.
37990
3129cfc6
JM
379912012-07-26 Joseph Myers <joseph@codesourcery.com>
37992
da865e95
JM
37993 [BZ #13629]
37994 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
37995 if larger part has absolute value 1.0.
37996 * math/s_clog10.c (__clog10): Likewise.
37997 * math/s_clog10f.c (__clog10f): Likewise.
37998 * math/s_clog10l.c (__clog10l): Likewise.
37999 * math/s_clogf.c (__clogf): Likewise.
38000 * math/s_clogl.c (__clogl): Likewise.
38001 * math/libm-test.inc (clog_test): Add more tests.
38002 (clog10_test): Likewise.
38003 * sysdeps/i386/fpu/libm-test-ulps: Update.
38004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38005
3129cfc6
JM
38006 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
38007 (pltexit): Likewise.
38008 (La_regs): Likewise.
38009 (La_retval): Likewise.
38010 (int_retval): Likewise.
38011 Update #error for removed macros to refer only to definitions in
38012 tst-audit.h.
38013 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
38014 macro.
38015 (pltexit): Likewise.
38016 (La_regs): Likewise.
38017 (La_retval): Likewise.
38018 (int_retval): Likewise.
38019 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
38020 macro.
38021 (pltexit): Likewise.
38022 (La_regs): Likewise.
38023 (La_retval): Likewise.
38024 (int_retval): Likewise.
38025 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
38026 macro.
38027 (pltexit): Likewise.
38028 (La_regs): Likewise.
38029 (La_retval): Likewise.
38030 (int_retval): Likewise.
38031 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
38032 macro.
38033 (pltexit): Likewise.
38034 (La_regs): Likewise.
38035 (La_retval): Likewise.
38036 (int_retval): Likewise.
38037 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
38038 macro.
38039 (pltexit): Likewise.
38040 (La_regs): Likewise.
38041 (La_retval): Likewise.
38042 (int_retval): Likewise.
38043 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
38044 macro.
38045 (pltexit): Likewise.
38046 (La_regs): Likewise.
38047 (La_retval): Likewise.
38048 (int_retval): Likewise.
38049 * sysdeps/generic/tst-audit.h: Update comment to refer only to
38050 macro definitions in tst-audit.h.
38051 * sysdeps/i386/tst-audit.h: New file.
38052 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
38053 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
38054 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
38055 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
38056 * sysdeps/sh/tst-audit.h: Likewise.
38057 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
38058 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
38059 * sysdeps/x86_64/tst-audit.h: Likewise.
38060
bfc07087
AJ
380612012-07-26 Andreas Jaeger <aj@suse.de>
38062
b1b2aaf8
AJ
38063 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
38064 ptrace.
38065
38066 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
38067 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
38068 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
38069 PTRACE_O_MASK.
38070 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
38071 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
38072 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
38073
bfc07087
AJ
38074 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
38075 value.
38076
38077 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
38078 _sigsys.
38079 (si_call_addr, si_syscall, si_arch): Define new macro.
38080 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
38081 _sigsys.
38082 (si_call_addr, si_syscall, si_arch): Define new marcro.
38083 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
38084 _sigsys.
38085 (si_call_addr, si_syscall, si_arch): Define new macro.
38086 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
38087 _sigsys.
38088 (si_call_addr, si_syscall, si_arch): Define new macro.
38089
89b4b02f
JM
380902012-07-25 Joseph Myers <joseph@codesourcery.com>
38091
38092 [BZ #13717]
38093 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38094 Change to 2.4.21 where previously 2.4.1.
38095 * sysdeps/unix/sysv/linux/configure: Regenerated.
38096 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
38097 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
38098 Linux kernel version.
38099 (__ASSUME_STD_AUXV): Remove.
38100 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
38101 kernel version.
38102 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
38103 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
38104 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
38105 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
38106 (__ASSUME_NETLINK_SUPPORT): Likewise.
38107 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
38108 (__no_netlink_support): Remove conditional definition.
38109 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
38110 Remove.
38111 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38112 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
38113 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
38114 (if_nameindex_ioctl): Remove.
38115 (if_nameindex_netlink): Do not handle __no_netlink_support.
38116 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38117 code.
38118 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
38119 Remove conditional code.
38120 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38121 code.
38122 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
38123 unconditional.
38124 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38125 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
38126 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
38127 Remove.
38128 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
38129 [!__ASSUME_STD_AUXV]: Remove conditional code.
38130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
38131 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
38132 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
38133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
38134 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
38135 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38136 code.
38137 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38139 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
38140 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38141 conditional code.
38142 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
38144 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38145 code.
38146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38147 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38148 conditional code.
38149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
38150 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38151 code unconditional.
38152 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38153 conditional code.
38154 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38155 unconditional.
38156 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38157 conditional code.
38158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38159 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38160 unconditional.
38161 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38162 conditional code.
38163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
38164 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38165 code unconditional.
38166 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38167 conditional code.
38168 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38169 unconditional.
38170 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38171 conditional code.
38172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
38173 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38174 code unconditional.
38175 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38176 conditional code.
38177 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38178 unconditional.
38179 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38180 conditional code.
38181
842a39cd
AS
381822012-07-25 Andreas Schwab <schwab@linux-m68k.org>
38183
38184 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
38185 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
38186 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
38187 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
38188 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
38189 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
38190 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
38191 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
38192 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
38193 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
38194 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
38195 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
38196 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
38197 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
38198 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
38199 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
38200 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
38201 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
38202 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
38203 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
38204 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
38205 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
38206 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
38207
84b3fd84
FW
382082012-07-25 Florian Weimer <fweimer@redhat.com>
38209
38210 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
38211 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
38212 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
38213 Introduce __libc_secure_getenv.
0c7936d5
FW
38214 * stdlib/Versions (2.17): Add secure_getenv
38215 (GLIBC_PRIVATE): Add __libc_secure_getenv.
38216 * stdlib/secure-getenv.c: Rename __secure_getenv to
38217 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
38218 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
38219 * stdlib/tst-secure-getenv.c: New.
38220 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
38221 * manual/startup.texi (Environment Access): Document
38222 secure_getenv.
84b3fd84
FW
38223 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
38224 __libc_secure_getenv.
38225 * inet/ruserpass.c (ruserpass): Likewise.
38226 * malloc/mtrace.c (mtrace): Likewise.
38227 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 38228 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
38229 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
38230 * sysdeps/posix/tempname.c: Likewise. Evaluate
38231 HAVE_SECURE_GETENV.
38232 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 38233 __secure_getenv to __libc_secure_getenv.
84b3fd84 38234 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
38235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38236 Likewise.
38237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38238 Likewise.
38239 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
38240 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
38241 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38242 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
38243 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
38244 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38245 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 38246
56e49b71
JM
382472012-07-25 Joseph Myers <joseph@codesourcery.com>
38248
38249 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
38250 (struct La_i86_retval): Likewise.
38251 (struct La_x86_64_regs): Likewise.
38252 (struct La_x86_64_retval): Likewise.
38253 (struct La_x32_regs): Likewise.
38254 (struct La_x32_retval): Likewise.
38255 (struct La_ppc32_regs): Likewise.
38256 (struct La_ppc32_retval): Likewise.
38257 (struct La_ppc64_regs): Likewise.
38258 (struct La_ppc64_retval): Likewise.
38259 (struct La_sh_regs): Likewise.
38260 (struct La_sh_retval): Likewise.
38261 (struct La_s390_32_regs): Likewise.
38262 (struct La_s390_32_retval): Likewise.
38263 (struct La_s390_64_regs): Likewise.
38264 (struct La_s390_64_retval): Likewise.
38265 (struct La_sparc32_regs): Likewise.
38266 (struct La_sparc32_retval): Likewise.
38267 (struct La_sparc64_regs): Likewise.
38268 (struct La_sparc64_retval): Likewise.
38269 (struct audit_ifaces): Remove architecture-specific pltenter and
38270 pltexit members.
38271 * sysdeps/i386/ldsodefs.h: New file.
38272 * sysdeps/powerpc/ldsodefs.h: Likewise.
38273 * sysdeps/s390/ldsodefs.h: Likewise.
38274 * sysdeps/sh/ldsodefs.h: Likewise.
38275 * sysdeps/sparc/ldsodefs.h: Likewise.
38276 * sysdeps/x86_64/ldsodefs.h: Likewise.
38277
354691b7
MP
382782012-07-25 Marek Polacek <polacek@redhat.com>
38279
38280 [BZ #6808]
38281 * math/libm-test.inc (yn_test): Add another test.
38282 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
38283 to ERANGE when the result is +-Inf.
38284 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
38285 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
38286 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
38287 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
38288
bf9e2071
JM
382892012-07-24 Joseph Myers <joseph@codesourcery.com>
38290
38291 * conform/data/time.h-data (NULL): Use macro-constant. Require
38292 equal to 0.
38293 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
38294 clock_t.
38295 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
38296
57633811
TS
382972012-07-23 Thomas Schwinge <thomas@codesourcery.com>
38298
38299 * configure.in <sysdeps resolving>: Correct printing
38300 Implies_before.
38301 * configure: Regenerate.
38302
c23c33b0
TS
383032012-07-22 Thomas Schwinge <thomas@codesourcery.com>
38304
38305 * math/w_ilogb.c: Include <limits.h>.
38306 * math/w_ilogbl.c: Likewise.
38307
b5982523
JM
383082012-07-20 Joseph Myers <joseph@codesourcery.com>
38309
38310 * manual/lang.texi (__va_copy): Document primarily as ISO C99
38311 va_copy. Document allowing for unavailable va_copy only as
38312 pre-C99 compatibility.
38313 * manual/string.texi (Copying and Concatenation): Use va_copy
38314 instead of __va_copy in concat example.
38315
ac4ea442
PT
383162012-07-20 Pino Toscano <toscano.pino@tiscali.it>
38317
38318 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
38319 (__sendto): Use create_address_port. Initialize APORT and deallocate
38320 it if not null.
38321
f98eafbd
PT
38322 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
38323 with O_NOLINK passed to __file_name_lookup.
38324
898c7aab
PT
38325 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
38326 with O_NOLINK passed to __file_name_lookup.
38327
0ced335a
PT
38328 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
38329 negative N or less than NGIDS.
38330
b3404dbd
PT
38331 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
38332 type to string_t. Set ERANGE as errno and return it if NAME is not big
38333 enough. Use memcpy instead of strncpy.
38334
0f48659e
JM
383352012-07-20 Joseph Myers <joseph@codesourcery.com>
38336
38337 * elf/Makefile (check-data): Remove.
38338 (localplt.data): New vpath directive.
38339 ($(objpfx)check-localplt.out): Use localplt.data from vpath
38340 instead of $(check-data).
38341 * scripts/data/localplt-generic.data: Move to ...
38342 * sysdeps/generic/localplt.data: ... here.
38343 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
38344 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
38345 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
38346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
38347 ... here.
38348 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
38349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
38350 ... here.
38351 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
38352 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
38353 ... here.
38354 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
38355 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
38356 ... here.
38357 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
38358 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
38359 ... here.
38360 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
38361 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
38362 ... here.
38363
d37cbdaa
AZ
383642012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38365
38366 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
38367 PPC32 and PPC64 files.
38368 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
38369 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
38370
46f85fc2
AK
383712012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38372
38373 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
38374 __makecontext_ret to ...
38375 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
38376 ... here and call exit if uc_link is NULL. New file.
38377 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
38378 __makecontext_ret.S.
38379 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
38380 __makecontext_ret to ...
38381 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
38382 ... here and call exit if uc_link is NULL. New file.
38383 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
38384 __makecontext_ret.S.
38385
08f43f9b
AK
383862012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38387
38388 * elf/elf.h (R_390_IRELATIVE): New definition.
38389 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
38390 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
38391 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
38392 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
38393 (elf_machine_lazy_rel): Likewise.
38394 * sysdeps/s390/dl-irel.h: New file.
38395 * sysdeps/s390/s390-64/memcpy.S: New asm code.
38396 * sysdeps/s390/s390-64/memset.S: New asm code.
38397 * sysdeps/s390/s390-64/memcmp.S: New asm code.
38398 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
38399 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
38400 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
38401 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
38402 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
38403 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
38404 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
38405 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
38406 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
38407 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
38408 * sysdeps/s390/s390-32/memcpy.S: New asm code.
38409 * sysdeps/s390/s390-32/memset.S: New asm code.
38410 * sysdeps/s390/s390-32/memcmp.S: New asm code.
38411
3b05db33
MP
384122012-07-17 Marek Polacek <polacek@redhat.com>
38413
38414 [BZ #14349]
38415 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
38416 * sysdeps/s390/s390-64/configure.in: Likewise.
38417 * sysdeps/sparc/configure.in: Likewise.
38418 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
38419 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
38420 * sysdeps/i386/configure.in: Likewise.
38421 * sysdeps/x86_64/configure.in: Likewise.
38422 * sysdeps/sh/configure.in: Likewise.
38423 * sysdeps/s390/s390-32/configure: Regenerated.
38424 * sysdeps/s390/s390-64/configure: Likewise.
38425 * sysdeps/x86_64/configure: Likewise.
38426 * sysdeps/sh/configure: Likewise.
38427 * sysdeps/powerpc/powerpc64/configure: Likewise.
38428 * sysdeps/powerpc/powerpc32/configure: Likewise.
38429 * sysdeps/sparc/configure: Likwise.
38430 * sysdeps/i386/configure: Likewise.
38431
a66877c6
MP
38432 * elf/dl-open.c: Comment fixes.
38433
cfc82fd8
JM
384342012-07-17 Joseph Myers <joseph@codesourcery.com>
38435
bd29910a
JM
38436 * Makefile [CXX] (check-data): Remove.
38437 [CXX] (c++-types.data): New vpath directive.
38438 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
38439 vpath. Do not allow for C++ type data being missing.
38440 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
38441 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
38442 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
38443 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
38444 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
38445 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
38446 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
38447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
38448 ... here.
38449 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
38450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
38451 ... here.
38452 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
38453 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
38454 ... here.
38455 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
38456 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
38457 ... here.
38458 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
38459 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
38460 ... here.
38461 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
38462 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
38463 ... here.
38464 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
38465 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
38466 ... here.
38467 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
38468 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
38469
cfc82fd8
JM
38470 * elf/tls-macros.h (TLS_LE): Move architecture-specific
38471 definitions to architecture-specific files.
38472 (TLS_IE): Likewise.
38473 (TLS_LD): Likewise.
38474 (TLS_GD): Likewise.
38475 * sysdeps/i386/tls-macros.h: New file.
38476 * sysdeps/powerpc/tls-macros.h: Likewise.
38477 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
38478 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
38479 * sysdeps/sh/tls-macros.h: Likewise.
38480 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
38481 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
38482 * sysdeps/x86_64/tls-macros.h: Likewise.
38483
f7db3170
TS
384842012-07-17 Thomas Schwinge <thomas@codesourcery.com>
38485
07cbfc23
TS
38486 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
38487 zero value for regular exit case.
38488
f7db3170
TS
38489 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
38490 (__start_context): Preserve zero value for regular exit case.
38491
dc97c227
TS
384922012-07-17 Thomas Schwinge <thomas@codesourcery.com>
38493 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38494
38495 * manual/setjmp.texi (setcontext): Clarify normal process
38496 termination when uc_link is the null pointer.
38497 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
38498 exit call.
38499
d0cd7d02
AS
385002012-07-16 Andreas Schwab <schwab@linux-m68k.org>
38501
38502 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
38503 preprocessor. Test for each exception mask separately.
38504
dd318934
AJ
385052012-07-16 Andreas Jaeger <aj@suse.de>
38506
38507 * po/ru.po: Update from translation team.
38508
8048311a
JM
385092012-07-15 Joseph Myers <joseph@codesourcery.com>
38510
38511 * conform/data/string.h-data (NULL): Use macro-constant. Require
38512 equal to 0.
38513 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
38514 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
38515 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
38516 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
38517 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38518
b637d46e
AJ
385192012-07-13 Andreas Jaeger <aj@suse.de>
38520
38521 * po/fr.po: Update from translation team.
38522
541428fe
MP
385232012-07-12 Marek Polacek <polacek@redhat.com>
38524
38525 [BZ #14173]
38526 * math/libm-test.inc (yn_test): Add test for BZ #14173.
38527 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
38528 loop condition.
38529
ec332e94
JM
385302012-07-12 Joseph Myers <joseph@codesourcery.com>
38531
38532 [BZ #13717]
38533 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38534 Change to 2.4.1 where previously 2.4.0.
38535 * sysdeps/unix/sysv/linux/configure: Regenerated.
38536 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
38537 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
38538 version.
38539 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
38540 (__ASSUME_AT_CLKTCK): Remove.
38541 (__ASSUME_AT_PAGESIZE): Likewise.
38542 (__ASSUME_AT_XID): Likewise.
38543 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
38544 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
38545 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
38546 unconditionally.
38547 (HAVE_AUX_PAGESIZE): Likewise.
38548 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
38549 [__ASSUME_AT_CLKTCK]: Make code unconditional.
38550 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
38551
7b6e99be
JB
385522012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
38553
38554 [BZ #14307]
38555 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
38556 the temporary buffer used to invoke __gethostbyname2_r,
38557 __gethostbyaddr_r and gethostbyname4_r to make room for struct
38558 host_data / struct gaih_addrtuple.
38559 * resolv/nss_dns/dns-host.c (global scope): Move definition of
38560 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
38561 header file nss/nsswitch.h.
38562 * nss/nsswitch.h (global scope): Add definition of implementation
38563 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
38564 resolv/nss_dns/dns-host.c).
38565
608404eb
AJ
385662012-07-11 Andreas Jaeger <aj@suse.de>
38567
38568 * po/fr.po: Update from translation team.
38569
71220aca
AJ
38570 * po/sv.po: Update from translation team
38571 * po/fr.po: Another update from translation team.
38572
28cfe843
AZ
385732012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38574
38575 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
38576 for subnormals or multiply small sinh result by itself.
38577 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38578 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38579
6b90f981
DM
385802012-07-11 David S. Miller <davem@davemloft.net>
38581
38582 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38583
c6825772
AS
385842012-07-10 Andreas Schwab <schwab@linux-m68k.org>
38585
38586 [BZ #14347]
38587 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
38588 (INTERNAL_MARK): Shift it here.
38589
7b8e0d49
MP
385902012-07-10 Marek Polacek <polacek@redhat.com>
38591
38592 [BZ #14151]
38593 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
38594 libc_cv_asm_global_directive with .globl.
38595 * configure: Regenerated.
38596 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
38597 with .globl.
38598 * sysdeps/i386/configure: Regenerated.
38599 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
38600 with .globl.
38601 * sysdeps/x86_64/configure: Regenerated.
38602 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
38603 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
38604 * elf/tst-unique2mod2.c: Likewise.
38605 * elf/tst-unique2mod1.c: Likewise.
38606 * elf/tst-unique1mod2.c: Likewise.
38607 * elf/tst-unique1mod1.c: Likewise.
38608 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38609 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38610 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38611 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38612 * sysdeps/mach/sysdep.h: Likewise.
38613 * sysdeps/i386/sysdep.h: Likewise.
38614 * sysdeps/i386/i386-mcount.S: Likewise.
38615 * sysdeps/x86_64/_mcount.S: Likewise.
38616 * sysdeps/x86_64/sysdep.h: Likewise.
38617 * sysdeps/sh/_mcount.S: Likewise.
38618 * sysdeps/sh/sysdep.h: Likewise.
38619 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
38620 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
38621 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
38622 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38623 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
38624 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
38625 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
38626 * locale/localeinfo.h: Likewise.
38627 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
38628 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
38629
6c55cda3
RM
386302012-07-09 Roland McGrath <roland@hack.frob.com>
38631
38632 [BZ #14336]
38633 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
38634 system".
38635 * manual/message.texi (The Uniforum approach): Likewise.
38636 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
38637 (glibc iconv Implementation): Likewise.
38638
638a572e
JM
386392012-07-09 Joseph Myers <joseph@codesourcery.com>
38640
38641 [BZ #14337]
38642 * math/s_clog.c (__clog): Avoid scaling a value down where that
38643 could result in underflow.
38644 * math/s_clog10.c (__clog10): Likewise.
38645 * math/s_clog10f.c (__clog10f): Likewise.
38646 * math/s_clog10l.c (__clog10l): Likewise.
38647 * math/s_clogf.c (__clogf): Likewise.
38648 * math/s_clogl.c (__clogl): Likewise.
38649 * math/libm-test.inc (clog_test): Add more tests.
38650 (clog10_test): Likewise.
38651 * sysdeps/i386/fpu/libm-test-ulps: Update.
38652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38653
261f4859
AS
386542012-07-06 Andreas Schwab <schwab@linux-m68k.org>
38655
0abaf3e4
AS
38656 [BZ #14283]
38657 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
38658 by 7 not 8 to examine high bit of fractional part.
38659
261f4859
AS
38660 [BZ #14042]
38661 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
38662 for call to __mcount_internal.
38663 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
38664 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
38665 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
38666
f17ac40d
JM
386672012-07-06 Joseph Myers <joseph@codesourcery.com>
38668
9ad63c23
JM
38669 [BZ #14154]
38670 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
38671 approximation for values within 0x1p-13f of an odd multiple of
38672 pi/4.
38673 * math/libm-test.inc (tan_test): Do not allow spurious underflow
38674 exception. Add more tests.
38675 * sysdeps/i386/fpu/libm-test-ulps: Update.
38676
f17ac40d
JM
38677 [BZ #6778]
38678 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
38679 inputs and return -1 for them. Do not check for +Inf in case not
38680 reachable for +Inf.
38681 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
38682 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
38683 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38684 and return -1 for them. Do not check for +Inf in case not
38685 reachable for +Inf.
38686 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
38687 define.
38688 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38689 and return -1 for them. Do not check for +Inf in case not
38690 reachable for +Inf.
38691 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
38692 spurious underflow.
38693 * sysdeps/i386/fpu/libm-test-ulps: Update.
38694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38695
fb21f89b
MF
386962012-07-06 Mike Frysinger <vapier@gentoo.org>
38697
38698 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
38699
cdfe2c5e
JM
387002012-07-05 Joseph Myers <joseph@codesourcery.com>
38701
38702 [BZ #14157]
38703 [BZ #14331]
38704 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
38705 could result in spurious underflow. Scale down values above
38706 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
38707 * math/s_csqrtf.c (__csqrtf): Likewise.
38708 * math/s_csqrtl.c (__csqrtl): Likewise.
38709 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
38710 spurious underflow.
38711 * sysdeps/i386/fpu/libm-test-ulps: Update.
38712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38713
70d35b67
AS
387142012-07-04 Andreas Schwab <schwab@linux-m68k.org>
38715
704bc459
AS
38716 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
38717 xopen-msg.sed.
38718 * catgets/xopen-msg.awk: New file.
38719 * catgets/xopen-msg.sed: Removed.
38720
70d35b67
AS
38721 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
38722 po2text.sed.
38723 * intl/po2test.awk: New file.
38724 * intl/po2test.sed: Removed.
38725
ca61cf32
JM
387262012-07-04 Joseph Myers <joseph@codesourcery.com>
38727
38728 [BZ #14328]
38729 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
38730 or multiply small sinh result by itself.
38731 * math/s_ctanf.c (__ctanf): Likewise.
38732 * math/s_ctanh.c (__ctanh): Likewise.
38733 * math/s_ctanhf.c (__ctanhf): Likewise.
38734 * math/s_ctanhl.c (__ctanhl): Likewise.
38735 * math/s_ctanl.c (__ctanl): Likewise.
38736 * math/libm-test.inc (ctan_test_tonearest): New function.
38737 (ctan_test_towardzero): Likewise.
38738 (ctan_test_downward): Likewise.
38739 (ctan_test_upward): Likewise.
38740 (ctanh_test_tonearest): Likewise.
38741 (ctanh_test_towardzero): Likewise.
38742 (ctanh_test_downward): Likewise.
38743 (ctanh_test_upward): Likewise.
38744 (main): Call these new functions.
38745 * sysdeps/i386/fpu/libm-test-ulps: Update.
38746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38747
ca48a46a
MF
387482012-07-03 Mike Frysinger <vapier@gentoo.org>
38749
38750 * .gitignore: Delete /ports entry.
38751
9d63d37d
AJ
387522012-07-03 Andreas Jaeger <aj@suse.de>
38753
38754 * po/bg.po: Update from translation team.
38755 * po/cs.po: Likewise.
38756 * po/de.po: Likewise.
38757 * po/hr.po: Likewise.
38758 * po/nl.pl: Likewise.
38759 * po/pl.po: Likewise.
38760 * po/vi.po: Likewise.
38761
370ca3d2
JM
387622012-07-03 Joseph Myers <joseph@codesourcery.com>
38763
95f5a9a8
JM
38764 * Makeconfig [!+link] (+link-before-libc): New variable.
38765 [!+link] (+link-after-libc): Likewise.
38766 [!+link] (+link-tests): Likewise.
38767 [!+link] (+link): Define in terms of $(+link-before-libc) and
38768 $(+link-after-libc).
38769 [!+link-static] (+link-static-before-libc): New variable.
38770 [!+link-static] (+link-static-after-libc): Likewise.
38771 [!+link-static] (+link-static-tests): Likewise.
38772 [!+link-static] (+link-static): Define in terms of
38773 $(+link-static-before-libc) and $(+link-static-after-libc).
38774 [build-shared] (link-libc-before-gnulib): New variable.
38775 [build-shared] (link-libc-tests): Likewise.
38776 [build-shared] (link-libc): Define in terms of
38777 $(link-libc-before-gnulib).
38778 [!build-shared] (link-libc-tests): New variable.
38779 (link-libc-static-tests): New variable.
38780 [!gnulib] (gnulib-arch): New variable.
38781 [!gnulib] (gnulib-tests): Likewise.
38782 [!gnulib] (static-gnulib-arch): Likewise.
38783 [!gnulib] (static-gnulib-tests): Likewise.
38784 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
38785 Define with "=" instead of ":=".
38786 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
38787 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
38788 * Rules (binaries-all-notests): New variable.
38789 (binaries-all-tests): Likewise.
38790 (binaries-static-notests): Likewise.
38791 (binaries-static-tests): Likewise.
38792 (binaries-all): Define using $(binaries-all-notests) and
38793 $(binaries-all-tests).
38794 (binaries-static): Define using $(binaries-static-notests) and
38795 $(binaries-static-tests).
38796 (binaries-shared-tests): New variable.
38797 (binaries-shared-notests): Likewise.
38798 (binaries-shared): Remove variable.
38799 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
38800 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
38801 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
38802 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
38803 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
38804 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
38805 * elf/Makefile (sln-modules): New variable.
38806 (extra-objs): Add $(sln-modules:=.o).
38807 (ldconfig-modules): Add static-stubs.
38808 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
38809 * elf/static-stubs.c: New file.
38810
7a845b2c
JM
38811 [BZ #14283]
38812 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
38813 by 7 not 8 to examine high bit of fractional part. Use volatile
38814 variables when splitting into final array of floats if
38815 __FLT_EVAL_METHOD__ != 0.
38816 * math/libm-test.inc (cos_test): Add another test.
38817 (sin_test): Likewise.
38818 * sysdeps/i386/fpu/libm-test-ulps: Update.
38819
e2283f38
JM
38820 [BZ #14273]
38821 * math/libm-test.inc (cosh_test): Add more tests.
38822
370ca3d2
JM
38823 * version.h (RELEASE): Set to "development".
38824 (VERSION): Set to "2.16.90".
38825
ee9247c3
CD
388262012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
38827
38828 * NEWS: Update copyright. Remove last-updated date.
38829 Mention math library bug fixes and timezone data changes.
38830 * README: Mention GNU/Hurd, x32, and HPPA support status.
38831
4648c381
TS
388322012-06-28 Thomas Schwinge <thomas@codesourcery.com>
38833
38834 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
38835
aac78a43
AJ
388362012-06-27 Andreas Jaeger <aj@suse.de>
38837
38838 * manual/contrib.texi (Contributors): Add Samuel Thibault.
38839
ed3dbfad
AJ
388402012-06-25 Andreas Jaeger <aj@suse.de>
38841
38842 * sysdeps/s390/fpu/libm-test-ulps: Update.
38843
4d0ee855
AS
388442012-06-23 Andreas Schwab <schwab@linux-m68k.org>
38845 Thomas Schwinge <thomas@codesourcery.com>
38846
38847 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
38848 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
38849 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
38850 fanotify_mark.
38851
af1bce34
TS
388522012-06-23 Thomas Schwinge <thomas@codesourcery.com>
38853
a9fa33ba
TS
38854 * sysdeps/mach/start.c: Remove file.
38855 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
38856 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
38857 * sysdeps/sh/init-first.c: Likewise.
38858
58f902b8
TS
38859 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
38860 registers for frame unwinding purposes, add CFI directives.
38861 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38862 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
38863 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
38864 Likewise.
38865
1518f58b
TS
38866 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
38867 __fortify_fail returning.
38868 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38869
db9b5059
TS
38870 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
38871 sysdeps/sh/____longjmp_chk.S.
38872 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
38873 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
38874 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
38875 (gen-as-const-headers): Append sigaltstack-offsets.sym.
38876
967705fe
TS
38877 * sysdeps/sh/abort-instr.h: New file.
38878 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
38879 process in case exit returns.
38880
a9def8c4
TS
38881 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
38882 initialize the GOT register before use.
38883
2a649725
TS
38884 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
38885 calculation of ARGC > 4.
38886
af1bce34
TS
38887 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
38888 meaningful names to some local labels.
38889
d230f50a
KK
388902012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38891 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38892
38893 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
38894 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
38895 (__arch_compare_and_exchange_val_16_acq): Likewise.
38896 (__arch_compare_and_exchange_val_32_acq): Likewise.
38897 (atomic_exchange_and_add): Fix gUSA sequence.
38898 (atomic_add): Likewise.
38899 (atomic_add_negative): Likewise.
38900 (atomic_add_zero): Likewise.
38901 (atomic_bit_test_set): Likewise.
38902
0479b305
AS
389032012-06-22 Andreas Schwab <schwab@redhat.com>
38904
38905 [BZ #13579]
38906 * include/link.h (struct link_map): Add l_free_initfini.
38907 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
38908 l_initfini.
38909 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
38910 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
38911 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
38912 set.
38913
0e3933b9
CD
389142012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
38915
38916 * configure.in: Use AC_LANG_SOURCE.
38917 * configure: Regenerate.
38918
4248b1b1
RM
389192012-06-22 Roland McGrath <roland@hack.frob.com>
38920
38921 * configure.in (libc_cv_localstatedir): New substituted variable.
38922 * configure: Regenerated.
38923 * config.make.in (localstatedir): New variable, substituted from
38924 libc_cv_localstatedir.
38925 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
38926 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
38927 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
38928 * sysdeps/gnu/configure: Regenerated.
38929
006dd861
JL
389302012-06-21 Jeff Law <law@redhat.com>
38931
38932 [BZ #14277]
38933 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
38934 free. Simplify list management for _LIBC case.
38935
79662d42
JM
389362012-06-21 Joseph Myers <joseph@codesourcery.com>
38937
b7abb4bf
JM
38938 [BZ #14273]
38939 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
38940 Clear sign bit of 64-bit integer value before comparing against
38941 overflow value.
38942
79662d42
JM
38943 * sysdeps/mach/configure: Regenerated.
38944
1f150908
L
389452012-06-21 H.J. Lu <hongjiu.lu@intel.com>
38946
38947 [BZ #14278]
38948 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
38949
28363bbf
JL
389502012-06-21 Jeff Law <law@redhat.com>
38951
38952 [BZ #13882]
38953 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
38954 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 38955 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
38956 * elf/dl-open.c (dl_open_worker): Likewise.
38957
09615db4
CD
389582012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
38959
38960 * scripts/list-sources.sh: Scan PORTS for translations.
38961 * po/libc.pot: Regenerated.
38962
2174c6dd
AJ
389632012-06-21 Andreas Jaeger <aj@suse.de>
38964
38965 [BZ #12194]
38966 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
38967 warning.
38968 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
38969 * bits/byteswap-16.h (__bswap_16): Likewise.
38970 * bits/byteswap.h (__bswap_constant_16): Likewise.
38971
3ee947b1
L
389722012-06-18 H.J. Lu <hongjiu.lu@intel.com>
38973
38974 [BZ #14117]
a2f34833
L
38975 * sysdeps/i386/fpu_control.h: Removed.
38976 * sysdeps/x86_64/fpu_control.h: Moved to ...
38977 * sysdeps/x86/fpu_control.h: Here.
38978
3ee947b1
L
38979 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
38980 (_FPU_SETCW): Likewise.
38981
ed1825f8
L
389822012-06-15 H.J. Lu <hongjiu.lu@intel.com>
38983
25f1282a
L
38984 [BZ #14117]
38985 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
38986 * sysdeps/x86/fpu/bits/mathinline.h: This.
38987 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
38988
ed1825f8
L
38989 [BZ #14050]
38990 [BZ #14117]
38991 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
38992 functions if __x86_64__ is defined.
38993
36d54b74
CLT
389942012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
38995
38996 * string/endian.h: Add !__ASSEMBLER__ condition for including
38997 conversion interfaces.
38998
10285c21
JM
389992012-06-15 Joseph Myers <joseph@codesourcery.com>
39000
39001 [BZ #14241]
39002 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
39003 of ABS(x) in calculating zero to negative powers other than odd
39004 integers.
39005 * math/libm-test.inc (pow_test): Add more tests.
39006
06c5abbd
AJ
390072012-06-15 Andreas Jaeger <aj@suse.de>
39008
39009 * manual/contrib.texi (Contributors): Update entry of Liubov
39010 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
39011 Machado Filho.
39012
a3aeac40
CH
390132012-06-15 Cyril Hrubis <metan@ucw.cz>
39014
39015 * string/string.h: Add __wur to GNU version of strerror_r.
39016
49bdf4c1
L
390172012-06-14 H.J. Lu <hongjiu.lu@intel.com>
39018
39019 [BZ #14229]
39020 * string/Makefile (tests): Add tst-strtok_r.
39021 * string/tst-strtok_r.c: New file.
39022 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
39023 RAX_LP/RDX_LP on SAVE_PTR.
39024
834f9b8d
RM
390252012-06-14 Roland McGrath <roland@hack.frob.com>
39026
39027 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
39028
75fa1921
JM
390292012-06-14 Joseph Myers <joseph@codesourcery.com>
39030
39031 * libm_test.inc (csqrt_test): Allow more spurious underflow
39032 exceptions.
39033 (j0_test): Likewise.
39034 (j1_test): Likewise.
39035 (y0_test): Likewise.
39036 (y1_test): Likewise.
39037
771766df
CD
390382012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
39039
39040 * po/Makefile (libc.pot): Use UTF-8 charset.
39041
ceb9e56b
PP
390422012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
39043
39044 [BZ #14210]
39045 Suppress sign-conversion warning from FD_SET.
39046 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
39047 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
39048 not unsigned long int.
39049 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
39050
ddb28975
L
390512012-06-12 H.J. Lu <hongjiu.lu@intel.com>
39052
39053 [BZ #14050]
39054 [BZ #14117]
39055 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
39056 __extern_always_inline instead of __extern_inline.
39057 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
39058 (__signbit): Likewise.
39059 (__signbitl): Support C++ namespace.
39060 (lrintf): New inline function.
39061 (lrint): Likewise.
39062 (llrintf): Likewise.
39063 (llrint): Likewise.
39064 (fmaxf): Likewise.
39065 (fmax): Likewise.
39066 (fminf): Likewise.
39067 (fmin): Likewise.
39068 (rint): Likewise.
39069 (rintf): Likewise.
39070 (ceil): Likewise.
39071 (ceilf): Likewise.
39072 (floor): Likewise.
39073 (floorf): Likewise.
39074 (nearbyint): Likewise.
39075 (nearbyintf): Likewise.
39076
d7b4fb26
TS
390772012-06-12 Thomas Schwinge <thomas@codesourcery.com>
39078
39079 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
39080 non-default versions.
39081
eb55f5c2
RM
390822012-06-11 Roland McGrath <roland@hack.frob.com>
39083
39084 [BZ #14218]
39085 * manual/argp.texi (Argp): Reword argp_parse description slightly.
39086
366af02c
TS
390872012-06-09 Thomas Schwinge <thomas@codesourcery.com>
39088
99ff6e5c
TS
39089 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
39090 (FE_UPWARD, FE_DOWNWARD): Don't define.
39091 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
39092 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39093
366af02c
TS
39094 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
39095 reading it.
39096 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
39097 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39098
793ea851
KK
390992012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39100
39101 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
39102 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
39103 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
39104 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
39105
a728a38f
L
391062012-06-06 H.J. Lu <hongjiu.lu@intel.com>
39107
39108 [BZ #14117]
c08010c7
L
39109 * sysdeps/i386/fpu/bits/fenv.h: Removed.
39110 * sysdeps/i386/fpu/Implies: New file.
39111 * sysdeps/x86_64/fpu/Implies: Likewise.
39112 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
39113 * sysdeps/x86/fpu/bits/fenv.h: This.
39114
a728a38f
L
39115 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
39116 __SSE_MATH__.
39117
6e230d11
SP
391182012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
39119
39120 [BZ #14134]
39121 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
39122 character 0xffff that matches the last element of the
39123 conversion table.
39124
1b671feb
AZ
391252012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39126
39127 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
39128 fmodl commit.
39129
6043738b
AZ
391302012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39131
39132 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
39133 values higher than 25.6283.
39134
34ae0b32
AZ
391352012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39136
39137 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
39138 subnormal exponent extraction and add some __builtin_expect.
39139 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
39140 Fix for subnormal mantissa calculation.
39141
1214ec8f
MF
391422012-06-04 Mike Frysinger <vapier@gentoo.org>
39143
39144 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
39145 cpu2 is -1 and errno is not ENOSYS.
39146
f3d1f93c
L
391472012-06-04 H.J. Lu <hongjiu.lu@intel.com>
39148
39149 [BZ #14117]
0e4a3cd7
L
39150 * sysdeps/i386/i486/bits/string.h: Renamed to ...
39151 * sysdeps/x86/bits/string.h: This.
39152 * sysdeps/x86_64/bits/string.h: Removed.
39153
6704c645
L
39154 * sysdeps/i386/i486/bits/string.h: Define inline functions only
39155 if not compiling for x86-64, but compiling for >= i486.
39156
48495318
L
39157 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
39158 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
39159
14adcbfc
L
39160 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
39161 New macro from Linux kernel 3.4.0.
39162 (FP_XSTATE_MAGIC2): Likewise.
39163 (FP_XSTATE_MAGIC2_SIZE): Likewise.
39164 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
39165 (struct _fpx_sw_bytes): New struct.
39166 (struct _xsave_hdr): Likewise.
39167 (struct _ymmh_state): Likewise.
39168 (struct _xstate): Likewise.
39169
68e408ab
L
39170 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
39171 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
39172 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
39173 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
39174 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
39175 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
39176
f3d1f93c
L
39177 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
39178 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
39179 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
39180 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
39181 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
39182 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
39183
d9dc34cd
TMQMF
391842012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39185
39186 [BZ #13743]
39187 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
39188 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
39189 (sysdep_headers): Include sys/platform/ppc.h.
39190 * sysdeps/powerpc/test-gettimebase.c: Test for
39191 __ppc_get_timebase() to catch future ISA opcode/insn changes.
39192 * manual/Makefile (appendices): Include platform.texi.
39193 * manual/contrib.texi (Contributors): Update @node pointers.
39194 * manual/maint.texi (Maintenance): Likewise.
39195 (Platform): New node.
39196 * manual/platform.texi: New file. Document the new features.
39197
4af3879c
SP
391982012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
39199 Jakub Jelinek <jakub@redhat.com>
39200
39201 [BZ #14188]
39202 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
39203 where __builtin_expect is unavailable.
39204
2fd6ff13
DM
392052012-06-03 David S. Miller <davem@davemloft.net>
39206
39207 * stdlib/longlong.h: Updated from GCC.
39208
173f7220
AS
392092012-06-02 Andreas Schwab <schwab@linux-m68k.org>
39210
39211 [BZ #14042]
39212 * sysdeps/powerpc/powerpc32/mcount.c: New file.
39213 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
39214 __mcount_internal.
39215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
39216 (GLIBC_2.16): Likewise.
39217
f34a1c6f
L
392182012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39219
39220 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
39221
88a4576f
JM
392222012-06-01 Joseph Myers <joseph@codesourcery.com>
39223
ea32bcdd
JM
39224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
39225 (default-abi): New variable.
39226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
39227 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
39228 variable.
39229 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
39230 Likewise.
39231 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
39232 Likewise.
39233 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
39234 Likewise.
39235
88a4576f
JM
39236 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
39237 definition. Document in comment.
39238
402fe938
DM
392392012-06-01 David S. Miller <davem@davemloft.net>
39240
39241 * stdlib/longlong.h: Updated from GCC.
39242
3553723f
L
392432012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39244
39245 [BZ #14117]
3bd872c4
L
39246 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
39247 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
39248 sys/debugreg.h sys/io.h here.
39249 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
39250 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
39251 sys/io.h.
39252 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
39253 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
39254 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
39255 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
39256 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
39257 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
39258
3553723f
L
39259 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
39260 Define only if __x86_64__ is defined.
39261
4842e4fe
JM
392622012-06-01 Joseph Myers <joseph@codesourcery.com>
39263
c5bfe3d5
JM
39264 [BZ #14048]
39265 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
39266 Use int64_t for variable i.
39267 * math/libm-test.inc (fmod_test): Add more tests.
39268
4842e4fe
JM
39269 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
39270 z computation is not scheduled after fetestexcept.
39271 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
39272 Use math_force_eval instead of asm to ensure calculation scheduled
39273 before exception test.
39274 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
39275 Ensure a1 + u.d computation is not scheduled after fetestexcept.
39276
efb73488
AJ
392772012-06-01 Aurelien Jarno <aurelien@aurel32.net>
39278
39279 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
39280 computation is not scheduled after fetestexcept.
39281
29bcce7c
L
392822012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39283
39284 [BZ #14117]
39285 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
39286 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
39287
73a68f94
AZ
392882012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39289
39290 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
39291 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39292
67b6df78
L
392932012-05-31 H.J. Lu <hongjiu.lu@intel.com>
39294
edf2933a 39295 [BZ #14117]
ebc64a18
L
39296 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
39297 <bits/wordsize.h>.
39298 (__WCHAR_MIN): Support __WORDSIZE == 64.
39299 (__WCHAR_MAX): Likewise.
39300
edf2933a
L
39301 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
39302 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
39303
57c6cf40
L
39304 [BZ #14183]
39305 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
39306 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
39307
67b6df78 39308 [BZ #14117]
8eb6281e
L
39309 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
39310 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
39311
aac639f4
L
39312 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
39313 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
39314
67b6df78
L
39315 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
39316 Defined to 1 if __x86_64__ isn't defined.
39317 (_STAT_VER_LINUX_OLD): New.
39318 (st_atime): Remove duplicate.
39319 (st_mtime): Likewise.
39320 (st_ctime): Likewise.
39321
1c2cfe81
DM
393222012-05-31 David S. Miller <davem@davemloft.net>
39323
39324 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
39325 entries.
39326
5be8418c
AS
393272012-06-01 Andreas Schwab <schwab@linux-m68k.org>
39328
e7725326
AS
39329 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
39330 gen-libm-test.pl.
39331
5be8418c
AS
39332 [BZ #14132]
39333 * elf/dl-reloc.c: Include <_itoa.h>.
39334 (_dl_reloc_bad_type): Remove use of INTUSE.
39335 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
39336 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
39337 * stdio-common/psiginfo.c (psiginfo): Likewise.
39338 * stdio-common/psignal.c (psignal): Likewise.
39339 * string/strsignal.c (strsignal): Likewise.
39340 * include/signal.h (_sys_siglist): Declare hidden proto.
39341 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
39342 INTVARDEF with libc_hidden_data_def.
39343 * stdio-common/itoa-udigits.c: Likewise.
39344 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
39345 (_itoa_lower_digits_internal): Remove declaration.
39346 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
39347 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
39348 (_sys_sigabbrev_internal): Remove aliases.
39349 (_sys_siglist): Define hidden alias.
39350
507352f1
MT
393512012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
39352
39353 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39354 bits/sysctl.h.
39355
42bbb1c3
L
393562012-05-31 H.J. Lu <hongjiu.lu@intel.com>
39357
39358 [BZ #14117]
6bd784b6
L
39359 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
39360 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
39361
8bca20f0
L
39362 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
39363 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
39364 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
39365 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
39366 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
39367 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
39368
f9e890a9
L
39369 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
39370 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
39371 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
39372
471101a1
L
39373 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
39374 with __addr.
39375 (insw): Likewise.
39376 (insl): Likewise.
39377 (outsb): Likewise.
39378 (outsw): Likewise.
39379 (outsl): Likewise.
39380
6451c862
L
39381 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
39382 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
39383 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
39384
a254b8c9
L
39385 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
39386 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
39387 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
39388 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
39389 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
39390 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
39391
b8dfdd92
L
39392 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
39393 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
39394
578cd270
L
39395 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
39396 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
39397
de662f5f
L
39398 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
39399 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
39400 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
39401
25653439
L
39402 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
39403 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
39404 to ...
39405 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
39406
6bad24a0
L
39407 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
39408 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
39409 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
39410
42bbb1c3
L
39411 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
39412 for x86-64.
39413 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
39414
2d10d547
JM
394152012-05-31 Joseph Myers <joseph@codesourcery.com>
39416
39417 * math/math.h (M_El): Use two more decimal places.
39418 (M_LOG2El): Likewise.
39419 (M_LOG10El): Likewise.
39420 (M_LN2l): Likewise.
39421 (M_LN10l): Likewise.
39422 (M_PIl): Likewise.
39423 (M_PI_2l): Likewise.
39424 (M_PI_4l): Likewise.
39425 (M_1_PIl): Likewise.
39426 (M_2_PIl): Likewise.
39427 (M_2_SQRTPIl): Likewise.
39428 (M_SQRT2l): Likewise.
39429 (M_SQRT1_2l): Likewise.
39430
f230c29b
DM
394312012-05-31 David S. Miller <davem@davemloft.net>
39432
39433 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
39434 values between float registers.
39435 * sysdeps/sparc/sparc64/memset.S: Likewise.
39436 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39437
fed806c3
MF
394382012-05-31 Mike Frysinger <vapier@gentoo.org>
39439
39440 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
39441 -D_FORTIFY_SOURCE=1.
39442 (CPPFLAGS-tst-longjmp_chk.c): Define.
39443 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
39444 (CPPFLAGS-tst-longjmp_chk2.c): Define.
39445 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
39446 CFLAGS-tst-wchar-h.c.
39447
30917259
MP
394482012-05-31 Marek Polacek <polacek@redhat.com>
39449
39450 [BZ #14132]
39451 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
39452 __endmntent_internal): Remove declaration.
39453 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
39454 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
39455 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
39456
1c58d5dc
DM
394572012-05-30 David S. Miller <davem@davemloft.net>
39458
39459 * sysdeps/sparc/sparc32/soft-fp/q_util.c
39460 (___Q_simulate_exceptions): Use real FP ops rather than writing
39461 into the %fsr.
39462 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
39463 Likewise.
39464
7dc00e0d
L
394652012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39466
39467 [BZ #14117]
0bd53985
L
39468 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
39469 * sysdeps/x86/bits/xtitypes.h: This.
39470
3a257e66
L
39471 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
39472 * sysdeps/x86/bits/wordsize.h: This.
39473
62f62904
L
39474 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
39475 * sysdeps/x86/bits/huge_vall.h: This.
39476
404fe9d9
L
39477 * sysdeps/i386/bits/select.h: Removed.
39478 * sysdeps/x86_64/bits/select.h: Renamed to ...
39479 * sysdeps/x86/bits/select.h: This.
39480
d48d0446
L
39481 * sysdeps/i386/bits/setjmp.h: Removed.
39482 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
39483 * sysdeps/x86/bits/setjmp.h: This.
39484
7dc00e0d
L
39485 * sysdeps/i386/bits/mathdef.h: Removed.
39486 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
39487 * sysdeps/x86/bits/mathdef.h: This.
39488
03277f8f
AS
394892012-05-30 Andreas Schwab <schwab@linux-m68k.org>
39490
39491 [BZ #14132]
39492 * include/sys/socket.h (__connect_internal)
39493 (__libc_sa_len_internal): Remove declaration.
39494 (__connect, __libc_sa_len): Declare hidden_proto.
39495 (SA_LEN): Remove use of INTUSE.
39496 * socket/connect.c: Add libc_hidden_def.
39497 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
39498 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
39499 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
39500 alias.
39501 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
39502 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
39503 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
39504 of adding _internal alias.
39505
13764867
L
395062012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39507
39508 [BZ #14117]
6bd97696
L
39509 * sysdeps/i386/bits/link.h: Removed.
39510 * sysdeps/i386/bits/linkmap.h: Likewise.
39511 * sysdeps/x86_64/bits/link.h: Renamed to ...
39512 * sysdeps/x86/bits/link.h: This.
39513 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
39514 * sysdeps/x86/bits/linkmap.h: This.
39515
f726f0bb
L
39516 * sysdeps/i386/bits/endian.h: Removed.
39517 * sysdeps/x86_64/bits/endian.h: Renamed to ...
39518 * sysdeps/x86/bits/endian.h: This.
39519
13764867
L
39520 * sysdeps/i386/bits/byteswap.h: Removed.
39521 * sysdeps/i386/bits/byteswap-16.h: Likewise.
39522 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
39523 * sysdeps/x86/bits/byteswap.h: This.
39524 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
39525 * sysdeps/x86/bits/byteswap-16.h: This.
39526 * sysdeps/i386/Implies: Add x86.
39527 * sysdeps/x86_64/Implies: Likewise.
39528
ae251b0b
DM
395292012-05-30 David S. Miller <davem@davemloft.net>
39530
39531 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
39532 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
39533 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
39534 (FP_TRAPPING_EXCEPTIONS): Define.
39535 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
39536 (FP_TRAPPING_EXCEPTIONS): Define.
39537 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
39538 subnormals only when inexact has been signalled or underflow
39539 exceptions are enabled.
39540 (_FP_PACK_CANONICAL): Likewise.
39541
d5c90867
L
395422012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39543
39544 [BZ #14183]
39545 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
39546 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
39547
63f1549e
RH
395482012-05-30 Richard Henderson <rth@twiddle.net>
39549
8d8f2279
RH
39550 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
39551 with #ifndef NOT_IN_libc.
39552
63f1549e
RH
39553 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
39554 marked to avoid plt entry.
39555
0ab0291b
L
395562012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39557
39558 [BZ #14112]
39559 * Makeconfig (default-abi): New macro.
39560 (abi-includes): Likewise.
39561 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
39562 $(abi-$(default-abi)-lib-soname) for soname if defined.
39563 ($(common-objpfx)gnu/lib-names.stmp): Generate from
39564 abi-variants.
39565 * Makefile (installed-stubs): Likewise.
39566 * include/stubs-biarch.h: Removed.
39567 * scripts/lib-names.awk: Only handle one library at a time.
39568 * scripts/soversions.awk: Remove WORDSIZE support.
39569 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
39570 entries.
39571 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
39572 Removed.
39573 (syscall-list-default-condition): Likewise.
39574 (syscall-list-default-condition): Likewise.
39575 (syscall-list-includes): Likewise.
39576 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
39577 syscall-list-* with abi-*. Handle undefined abi-variants.
39578 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
39579 * sysdeps/unix/sysv/linux/i386/Implies: New file.
39580 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
39581 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
39582 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
39583 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
39584 Removed.
39585 (syscall-list-32-options): Likewise.
39586 (syscall-list-32-condition): Likewise.
39587 (syscall-list-64-options): Likewise.
39588 (syscall-list-64-condition): Likewise.
39589 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
39590 macro.
39591 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
39592 Renamed to ...
39593 (abi-*): This.
39594 (abi-64-ld-soname): New macro.
39595 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
39596 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
39597 Renamed to ...
39598 (abi-*): This.
39599 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
39600 * sysdeps/x86_64/x32/shlib-versions: Likewise.
39601
4da0431d
JM
396022012-05-30 Joseph Myers <joseph@codesourcery.com>
39603
3a85279c
JM
39604 * sysdeps/unix/sysv/linux/kernel-features.h
39605 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
39606 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
39607 include <kernel-features.h>.
39608 [!__NR_ftruncate64]: Remove conditional code.
39609 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39610 [__NR_ftruncate64]: Make code unconditional.
39611 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39612 * sysdeps/unix/sysv/linux/truncate64.c: Do not
39613 include <kernel-features.h>.
39614 [!__NR_ftruncate64]: Remove conditional code.
39615 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39616 [__NR_ftruncate64]: Make code unconditional.
39617 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
39619 include <kernel-features.h>.
39620 [!__NR_ftruncate64]: Remove conditional code.
39621 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39622 [__NR_ftruncate64]: Make code unconditional.
39623 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
39625 include <kernel-features.h>.
39626 [!__NR_ftruncate64]: Remove conditional code.
39627 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39628 [__NR_ftruncate64]: Make code unconditional.
39629 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39630
4da0431d
JM
39631 * configure.in (libc_cv_fpie): Weaken to a compile test using
39632 LIBC_TRY_CC_OPTION.
39633 * configure: Regenerated.
39634
11ef492c
AK
396352012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39636
39637 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
39638 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
39639 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
39640 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39641 Refreshed.
39642 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
39643 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
39644 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
39645 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
39646 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
39647 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39648 Refreshed.
39649
d66ef399
DM
396502012-05-27 David S. Miller <davem@davemloft.net>
39651
39652 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
39653 (___Q_zero): New.
39654 (__Q_simulate_exceptions): Return void. Change to simulate
39655 exceptions by writing into the %fsr.
39656 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
39657 (__Qp_handle_exceptions): Likewise.
39658 (numbers): Delete.
39659 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
39660 __Qp_handle_exceptions.
39661 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
39662 __Qp_handle_exceptions.
39663 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39664 as unused and give dummy FP_RND_NEAREST initializer.
39665 (FP_INHIBIT_RESULTS): Define.
39666 (___Q_simulate_exceptions): Update declaration.
39667 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
39668 formatting.
39669 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39670 as unused and give dummy FP_RND_NEAREST initializer.
39671 (__Qp_handle_exceptions): Update declaration.
39672 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
39673 formatting.
39674
04fb54b5
TS
396752012-05-27 Thomas Schwinge <thomas@codesourcery.com>
39676
39677 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
39678 the temporary FPU control word.
39679 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
39680 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
39681 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
39682 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
39683 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
39684 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
39685 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
39686 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39687 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
39688 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
39689 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39690
3f99608f
KK
396912012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39692
39693 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
39694 fields.
39695
65a4de4e
CLT
396962012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
39697
39698 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
39699 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
39700 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
39701 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
39702 Likewise.
39703 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
39704 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
39705 Likewise.
39706
15749d40
UD
397072012-05-27 Ulrich Drepper <drepper@gmail.com>
39708
39709 * po/h.po: Update from translation team.
39710
25dbcb27
AS
397112012-05-26 Andreas Schwab <schwab@linux-m68k.org>
39712
3d3f8e55
AS
39713 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
39714
25dbcb27
AS
39715 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
39716 handling of denormals.
39717 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39718 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
39719 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
39720 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
39721 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39722 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
39723 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
39724 Likewise.
39725
7ad47a80 397262012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
39727
39728 [BZ #14152]
39729 * math/libm-test.inc (fma_test): Don't always expect underflow
39730 exception.
39731
9c6ea9fa
SP
397322012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39733
39734 [BZ #12416]
39735 * elf/tst-execstack.c: Include stackinfo.h.
39736 (do_test): Adjust test case to ensure that pthread_getattr_np
39737 behaviour remains the same after marking stack executable.
39738
a8239222
JM
397392012-05-25 Joseph Myers <joseph@codesourcery.com>
39740
39741 * sysdeps/unix/sysv/linux/kernel-features.h
39742 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
39743 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
39744 kernel-features.h.
39745 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39746 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39747 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
39748 kernel-features.h.
39749 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39750 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39751
918b5606
L
397522012-05-25 H.J. Lu <hongjiu.lu@intel.com>
39753
39754 * configure.in: Define the default includes to being none.
39755 * configure: Regenerated.
39756
3a097cc7
RM
397572012-05-25 Roland McGrath <roland@hack.frob.com>
39758
8422c9a5
RM
39759 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
39760 * sysdeps/x86_64/setjmp.S: Likewise.
39761 * sysdeps/i386/bsd-setjmp.S: Likewise.
39762 * sysdeps/i386/bsd-_setjmp.S: Likewise.
39763 * sysdeps/i386/setjmp.S: Likewise.
39764 * sysdeps/i386/__longjmp.S: Likewise.
39765 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39766 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
39767
3a097cc7
RM
39768 * include/stap-probe.h: New file.
39769 * configure.in: Handle --enable-systemtap.
39770 * configure: Regenerated.
39771 * config.h.in (USE_STAP_PROBE): New #undef.
39772 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
39773 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
39774 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
39775
21708942
JM
397762012-05-25 Joseph Myers <joseph@codesourcery.com>
39777
39778 [BZ #13717]
39779 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
39780 to 2.4.0 where earlier.
39781 * sysdeps/unix/sysv/linux/configure: Regenerated.
39782 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
39783 <kernel-features.h>.
39784 [__ASSUME_32BITUIDS]: Make code unconditional.
39785 [!__ASSUME_32BITUIDS]: Remove conditional code.
39786 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
39787 <kernel-features.h>.
39788 [__ASSUME_32BITUIDS]: Make code unconditional.
39789 [!__ASSUME_32BITUIDS]: Remove conditional code.
39790 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
39791 [__ASSUME_32BITUIDS]: Make code unconditional.
39792 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
39793 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
39794 <kernel-features.h>.
39795 [__ASSUME_32BITUIDS]: Make code unconditional.
39796 [!__ASSUME_32BITUIDS]: Remove conditional code.
39797 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
39798 <kernel-features.h>.
39799 [__ASSUME_32BITUIDS]: Make code unconditional.
39800 [!__ASSUME_32BITUIDS]: Remove conditional code.
39801 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
39802 <kernel-features.h>.
39803 [__ASSUME_32BITUIDS]: Make code unconditional.
39804 [!__ASSUME_32BITUIDS]: Remove conditional code.
39805 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
39806 <kernel-features.h>.
39807 [__ASSUME_32BITUIDS]: Make code unconditional.
39808 [!__ASSUME_32BITUIDS]: Remove conditional code.
39809 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
39810 <kernel-features.h>.
39811 [__ASSUME_32BITUIDS]: Make code unconditional.
39812 [!__ASSUME_32BITUIDS]: Remove conditional code.
39813 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
39814 <kernel-features.h>.
39815 [__ASSUME_32BITUIDS]: Make code unconditional.
39816 [!__ASSUME_32BITUIDS]: Remove conditional code.
39817 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
39818 <kernel-features.h>.
39819 [__ASSUME_32BITUIDS]: Make code unconditional.
39820 [!__ASSUME_32BITUIDS]: Remove conditional code.
39821 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
39822 <kernel-features.h>.
39823 [__ASSUME_32BITUIDS]: Make code unconditional.
39824 [!__ASSUME_32BITUIDS]: Remove conditional code.
39825 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
39826 <kernel-features.h>.
39827 [__ASSUME_32BITUIDS]: Make code unconditional.
39828 [!__ASSUME_32BITUIDS]: Remove conditional code.
39829 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
39830 <kernel-features.h>.
39831 [__ASSUME_32BITUIDS]: Make code unconditional.
39832 [!__ASSUME_32BITUIDS]: Remove conditional code.
39833 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
39834 <kernel-features.h>.
39835 [__NR_setresgid] (__setresgid): Do not declare.
39836 [__ASSUME_32BITUIDS]: Make code unconditional.
39837 [!__ASSUME_32BITUIDS]: Remove conditional code.
39838 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
39839 <kernel-features.h>.
39840 [__NR_setresuid] (__setresuid): Do not declare.
39841 [__ASSUME_32BITUIDS]: Make code unconditional.
39842 [!__ASSUME_32BITUIDS]: Remove conditional code.
39843 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
39844 <kernel-features.h>.
39845 [__ASSUME_32BITUIDS]: Make code unconditional.
39846 [!__ASSUME_32BITUIDS]: Remove conditional code.
39847 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
39848 <kernel-features.h>.
39849 [__ASSUME_32BITUIDS]: Make code unconditional.
39850 [!__ASSUME_32BITUIDS]: Remove conditional code.
39851 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
39852 <kernel-features.h>.
39853 [__ASSUME_32BITUIDS]: Make code unconditional.
39854 [!__ASSUME_32BITUIDS]: Remove conditional code.
39855 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
39856 <kernel-features.h>.
39857 [__ASSUME_32BITUIDS]: Make code unconditional.
39858 [!__ASSUME_32BITUIDS]: Remove conditional code.
39859 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
39860 <kernel-features.h>.
39861 [__ASSUME_32BITUIDS]: Make code unconditional.
39862 [!__ASSUME_32BITUIDS]: Remove conditional code.
39863 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
39864 <kernel-features.h>.
39865 [__ASSUME_32BITUIDS]: Make code unconditional.
39866 [!__ASSUME_32BITUIDS]: Remove conditional code.
39867 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
39868 <kernel-features.h>.
39869 [__ASSUME_32BITUIDS]: Make code unconditional.
39870 [!__ASSUME_32BITUIDS]: Remove conditional code.
39871 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
39872 <kernel-features.h>.
39873 [__ASSUME_32BITUIDS]: Make code unconditional.
39874 [!__ASSUME_32BITUIDS]: Remove conditional code.
39875 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
39876 <kernel-features.h>.
39877 [__ASSUME_32BITUIDS]: Make code unconditional.
39878 [!__ASSUME_32BITUIDS]: Remove conditional code.
39879 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
39880 <kernel-features.h>.
39881 [__ASSUME_32BITUIDS]: Make code unconditional.
39882 [!__ASSUME_32BITUIDS]: Remove conditional code.
39883 * sysdeps/unix/sysv/linux/kernel-features.h
39884 (__ASSUME_SETRESUID_SYSCALL): Remove.
39885 (__ASSUME_SETRESGID_SYSCALL): Likewise.
39886 (__ASSUME_32BITUIDS): Likewise.
39887 (__ASSUME_LDT_WORKS): Likewise.
39888 (__ASSUME_O_DIRECTORY): Likewise.
39889 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
39890 architecture but not kernel version.
39891 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
39892 (__ASSUME_MMAP2_SYSCALL): Likewise.
39893 (__ASSUME_STAT64_SYSCALL): Likewise.
39894 (__ASSUME_IPC64): Likewise.
39895 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
39896 <kernel-features.h>.
39897 [__ASSUME_32BITUIDS]: Make code unconditional.
39898 [!__ASSUME_32BITUIDS]: Remove conditional code.
39899 * sysdeps/unix/sysv/linux/opendir.c: Do not include
39900 <kernel-features.h>.
39901 [__ASSUME_O_DIRECTORY]: Make code unconditional.
39902 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
39903 132096]: Remove conditional code.
39904 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
39905 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
39906 <kernel-features.h>.
39907 [__ASSUME_32BITUIDS]: Make code unconditional.
39908 [!__ASSUME_32BITUIDS]: Remove conditional code.
39909 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
39910 <kernel-features.h>.
39911 [__ASSUME_32BITUIDS]: Make code unconditional.
39912 [!__ASSUME_32BITUIDS]: Remove conditional code.
39913 * sysdeps/unix/sysv/linux/setegid.c: Do not include
39914 <kernel-features.h>.
39915 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
39916 unconditional.
39917 (__setresgid): Do not declare.
39918 [__ASSUME_32BITUIDS]: Make code unconditional.
39919 [!__ASSUME_32BITUIDS]: Remove conditional code.
39920 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
39921 <kernel-features.h>.
39922 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
39923 unconditional.
39924 (__setresuid): Do not declare.
39925 [__ASSUME_32BITUIDS]: Make code unconditional.
39926 [!__ASSUME_32BITUIDS]: Remove conditional code.
39927 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
39928 <kernel-features.h>.
39929 [__ASSUME_32BITUIDS]: Make code unconditional.
39930 [!__ASSUME_32BITUIDS]: Remove conditional code.
39931 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
39932 <kernel-features.h>.
39933 [__ASSUME_32BITUIDS]: Make code unconditional.
39934 [!__ASSUME_32BITUIDS]: Remove conditional code.
39935
a386f1cc
RH
399362012-05-25 Richard Henderson <rth@twiddle.net>
39937
39938 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
39939 dl_hwcap to ifunc resolver.
39940 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
39941 elf_ifunc_invoke.
39942 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
39943 dl_hwcap to ifunc resolver.
39944 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
39945
b6550497
JM
399462012-05-24 Joseph Myers <joseph@codesourcery.com>
39947
39948 [BZ #14153]
39949 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
39950 for |x| <= 2**-26, not 2**-57.
39951 * math/libm-test.inc (acos_test): Do not allow spurious underflow
39952 exception.
39953
b0bc23a1
JL
399542012-05-24 Jeff Law <law@redhat.com>
39955
39956 * stdio-common/Makefile (tests): Add bug25.
39957 * stdio-common/bug25.c: New test.
39958
347c92e9
L
399592012-05-24 H.J. Lu <hongjiu.lu@intel.com>
39960
39961 [BZ #13576]
39962 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
39963 multiple of MALLOC_ALIGNMENT in size.
39964 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
39965
6bcc8b3f
JM
399662012-05-24 Joseph Myers <joseph@codesourcery.com>
39967
39968 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
39969 Require >= 256.
39970 (FILENAME_MAX): Use macro-int-constant.
39971 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
39972 (_IOFBF): Use macro-int-constant.
39973 (_IOLBF): Likewise.
39974 (_IONBF): Likewise.
39975 (SEEK_CUR): Likewise.
39976 (SEEK_END): Likewise.
39977 (SEEK_SET): Likewise.
39978 (TMP_MAX): Likewise.
39979 (EOF): Use macro-int-constant. Require < 0.
39980 (NULL): Use macro-constant. Require == 0.
39981 (stdin): Require type to be FILE *.
39982 (stdout): Likewise.
39983 (stderr): Likewise.
39984 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
39985 macro-int-constant.
39986 (EXIT_SUCCESS): Likewise.
39987 (NULL): Use macro-constant. Require == 0.
39988 (RAND_MAX): Use macro-int-constant.
39989 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
39990 [C99-based standards] (strtof): Require function.
39991 [C99-based standards] (strtold): Likewise.
39992 [C99-based standards] (strtoll): Likewise.
39993 [C99-based standards] (strtoull): Likewise.
39994 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39995 [ISO || ISO99 || ISO11] (limits.h): Likewise.
39996 [ISO || ISO99 || ISO11] (math.h): Likewise.
39997 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
39998 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39999 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40000
d18ea0c5
AS
400012012-05-24 Andreas Schwab <schwab@linux-m68k.org>
40002
40003 [BZ #14132]
56d25bb8
AS
40004 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
40005 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
40006 * intl/dgettext.c (DCGETTEXT): Likewise.
40007 * intl/gettext.c (DCGETTEXT): Likewise.
40008 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
40009 * posix/regex_internal.h (gettext): Likewise.
40010 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
40011 Remove declaration.
40012 * include/argz.h (__argz_count_internal)
40013 (__argz_stringify_internal): Remove declaration.
40014 (__argz_count, __argz_stringify): Declare hidden proto.
40015 * intl/dcgettext.c: Remove use of INTDEF.
40016 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
40017 * string/argz-stringify.c: Likewise.
40018 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
40019 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
40020 Declare hidden proto.
d18ea0c5
AS
40021 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
40022 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
40023 Declare hidden proto.
40024 * include/stdio.h (__asprintf_internal): Don't declare.
40025 (__asprintf): Don't define as macro. Declare hidden proto.
40026 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
40027 (__fsetlocking): Declare hidden proto.
40028 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
40029 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
40030 hidden proto.
40031 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
40032 (_IO_setlinebuf): Remove use of INTUSE.
40033 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
40034 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
40035 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
40036 Remove declaration.
40037 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
40038 (_IO_do_flush): Remove use of INTUSE.
40039 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
40040 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
40041 (_IO_adjust_column, _IO_least_wmarker)
40042 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
40043 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
40044 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
40045 (_IO_default_doallocate, _IO_wdefault_doallocate)
40046 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
40047 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
40048 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
40049 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
40050 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
40051 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
40052 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
40053 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
40054 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
40055 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
40056 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
40057 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
40058 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
40059 proto.
40060 (_IO_flush_all_internal, _IO_adjust_column_internal)
40061 (_IO_default_uflow_internal, _IO_default_finish_internal)
40062 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
40063 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
40064 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
40065 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
40066 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
40067 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
40068 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
40069 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
40070 (_IO_file_close_internal, _IO_file_close_it_internal)
40071 (_IO_file_underflow_internal, _IO_file_overflow_internal)
40072 (_IO_file_init_internal, _IO_file_attach_internal)
40073 (_IO_file_fopen_internal, _IO_file_read_internal)
40074 (_IO_file_sync_internal, _IO_file_seek_internal)
40075 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
40076 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
40077 (_IO_str_underflow_internal, _IO_str_overflow_internal)
40078 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
40079 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
40080 (_IO_list_all_internal, _IO_link_in_internal)
40081 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
40082 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
40083 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
40084 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
40085 (_IO_do_write_internal, _IO_padn_internal)
40086 (_IO_getline_info_internal, _IO_getline_internal)
40087 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
40088 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
40089 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
40090 (_IO_vfscanf_internal, _IO_vfprintf_internal)
40091 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
40092 (_IO_init_internal, _IO_un_link_internal): Don't declare.
40093 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
40094 with libc_hidden_ver, remove use of INTUSE.
40095 * libio/genops.c: Likewise.
40096 * libio/freopen.c: Likewise.
40097 * libio/freopen64.c: Likewise.
40098 * libio/iofclose.c: Likewise.
40099 * libio/iofdopen.c: Likewise.
40100 * libio/iofflush.c: Likewise.
40101 * libio/iofflush_u.c: Likewise.
40102 * libio/iofgets.c: Likewise.
40103 * libio/iofgets_u.c: Likewise.
40104 * libio/iofopen.c: Likewise.
40105 * libio/iofopncook.c: Likewise.
40106 * libio/iofread.c: Likewise.
40107 * libio/iofread_u.c: Likewise.
40108 * libio/ioftell.c: Likewise.
40109 * libio/iofwrite.c: Likewise.
40110 * libio/iogetline.c: Likewise.
40111 * libio/iogets.c: Likewise.
40112 * libio/iogetwline.c: Likewise.
40113 * libio/iopadn.c: Likewise.
40114 * libio/iopopen.c: Likewise.
40115 * libio/ioseekoff.c: Likewise.
40116 * libio/ioseekpos.c: Likewise.
40117 * libio/iosetbuffer.c: Likewise.
40118 * libio/iosetvbuf.c: Likewise.
40119 * libio/ioungetc.c: Likewise.
40120 * libio/ioungetwc.c: Likewise.
40121 * libio/iovdprintf.c: Likewise.
40122 * libio/iovsprintf.c: Likewise.
40123 * libio/iovsscanf.c: Likewise.
40124 * libio/memstream.c: Likewise.
40125 * libio/obprintf.c: Likewise.
40126 * libio/oldfileops.c: Likewise.
40127 * libio/oldiofclose.c: Likewise.
40128 * libio/oldiofdopen.c: Likewise.
40129 * libio/oldiofopen.c: Likewise.
40130 * libio/oldiopopen.c: Likewise.
40131 * libio/oldstdfiles.c: Likewise.
40132 * libio/putc.c: Likewise.
40133 * libio/setbuf.c: Likewise.
40134 * libio/setlinebuf.c: Likewise.
40135 * libio/stdfiles.c: Likewise.
40136 * libio/strops.c: Likewise.
40137 * libio/vasprintf.c: Likewise.
40138 * libio/vscanf.c: Likewise.
40139 * libio/vsnprintf.c: Likewise.
40140 * libio/vswprintf.c: Likewise.
40141 * libio/wfiledoalloc.c: Likewise.
40142 * libio/wfileops.c: Likewise.
40143 * libio/wgenops.c: Likewise.
40144 * libio/wmemstream.c: Likewise.
40145 * libio/wstrops.c: Likewise.
40146 * libio/__fpurge.c: Likewise.
40147 * libio/__fsetlocking.c: Likewise.
40148 * assert/assert.c: Likewise.
40149 * debug/fgets_chk.c: Likewise.
40150 * debug/fgets_u_chk.c: Likewise.
40151 * debug/fread_chk.c: Likewise.
40152 * debug/fread_u_chk.c: Likewise.
40153 * debug/gets_chk.c: Likewise.
40154 * debug/obprintf_chk.c: Likewise.
40155 * debug/vasprintf_chk.c: Likewise.
40156 * debug/vdprintf_chk.c: Likewise.
40157 * debug/vsnprintf_chk.c: Likewise.
40158 * debug/vsprintf_chk.c: Likewise.
40159 * malloc/mtrace.c: Likewise.
40160 * misc/error.c: Likewise.
40161 * misc/syslog.c: Likewise.
40162 * stdio-common/asprintf.c: Likewise.
40163 * stdio-common/fxprintf.c: Likewise.
40164 * stdio-common/getw.c: Likewise.
40165 * stdio-common/isoc99_fscanf.c: Likewise.
40166 * stdio-common/isoc99_scanf.c: Likewise.
40167 * stdio-common/isoc99_vfscanf.c: Likewise.
40168 * stdio-common/isoc99_vscanf.c: Likewise.
40169 * stdio-common/isoc99_vsscanf.c: Likewise.
40170 * stdio-common/printf-prs.c: Likewise.
40171 * stdio-common/printf_fp.c: Likewise.
40172 * stdio-common/printf_fphex.c: Likewise.
40173 * stdio-common/printf_size.c: Likewise.
40174 * stdio-common/putw.c: Likewise.
40175 * stdio-common/scanf.c: Likewise.
40176 * stdio-common/sprintf.c: Likewise.
40177 * stdio-common/tmpfile.c: Likewise.
40178 * stdio-common/vfprintf.c: Likewise.
40179 * stdio-common/vfscanf.c: Likewise.
40180 * stdlib/strfmon_l.c: Likewise.
40181 * sunrpc/openchild.c: Likewise.
40182 * sunrpc/xdr_stdio.c: Likewise.
40183 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
40184 * sysdeps/mach/hurd/tmpfile.c: Likewise.
40185
d6c33fda
RM
401862012-05-24 Roland McGrath <roland@hack.frob.com>
40187
c1487492
RM
40188 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40189
40190 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
40191 in the third column, to generate for the shared library an IFUNC
40192 that uses _dl_vdso_vsym.
40193 * Makerules (COMPILE.c, compile-stdin.c): New variables.
40194 * Makeconfig (object-suffixes-noshared): New variable.
40195
40196 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
40197 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
40198 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
40199 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
40200
d6c33fda
RM
40201 [BZ #14132]
40202 * include/sys/time.h (__gettimeofday): Remove macro.
40203 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
40204 * time/gettimeofday.c (__gettimeofday): Remove #undef.
40205 Remove INTDEF.
40206 (__gettimeofday): Add libc_hidden_def.
40207 (gettimeofday): Add libc_hidden_weak.
40208 * sysdeps/mach/gettimeofday.c: Likewise.
40209 * sysdeps/posix/gettimeofday.c: Likewise.
40210 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
40211 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
40212 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
40213 (__gettimeofday_internal): Remove strong_alias.
40214 (__gettimeofday): Add libc_hidden_def.
40215 (gettimeofday): Add libc_hidden_weak.
40216 * sysdeps/unix/syscalls.list (gettimeofday):
40217 Remove __gettimeofday_internal alias.
40218
b5a2bbe6
L
402192012-05-24 Daniel Jacobowitz <drow@false.org>
40220 H.J. Lu <hongjiu.lu@intel.com>
40221
40222 [BZ #12495]
40223 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
40224 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
40225 (largebin_index_32_big): New.
40226 (largebin_index): Use it for 16-byte alignment.
40227 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
40228 correction with front_misalign.
40229
cfba4fda
L
402302012-05-24 H.J. Lu <hongjiu.lu@intel.com>
40231
7f907421
L
40232 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
40233 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
40234 Likewise.
40235 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
40236 Likewise.
40237 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
40238 Likewise.
40239 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
40240 Likewise.
40241 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
40242 Likewise.
40243 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
40244 Likewise.
40245 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
40246 Likewise.
40247 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
40248 Likewise.
40249 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
40250 Likewise.
40251 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
40252 Likewise.
40253 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
40254 Likewise.
40255 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
40256 Likewise.
40257
cfba4fda
L
40258 * scripts/data/c++-types-x32-linux-gnu.data: New file.
40259 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
40260
80bad0cc
JM
402612012-05-24 Joseph Myers <joseph@codesourcery.com>
40262
7a25eb06
JM
40263 [BZ #10846]
40264 [BZ #14036]
40265 * math/libm-test.inc (exp_test): Add test from bug 14036.
40266 (pow_test): Add test from bug 10846.
40267
795405f9
JM
40268 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
40269 and other flags.
40270 (special_function): Do not include flags in test name.
40271 (parse_args): Likewise.
40272 * sysdeps/i386/fpu/libm-test-ulps: Update.
40273 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40274 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40275 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40277
80bad0cc
JM
40278 * math/gen-libm-test.pl (%beautify): Add entries for underflow
40279 exceptions.
40280 * math/libm-test.inc ("Philosophy"): Update comment about
40281 exception testing.
40282 (UNDERFLOW_EXCEPTION): New macro.
40283 (UNDERFLOW_EXCEPTION_OK): Likewise.
40284 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
40285 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
40286 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
40287 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
40288 (INVALID_EXCEPTION_OK): Update value.
40289 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
40290 (OVERFLOW_EXCEPTION_OK): Likewise.
40291 (IGNORE_ZERO_INF_SIGN): Likewise.
40292 (test_exceptions): Handle underflow exceptions.
40293 (acos_test): Update for underflow exception expectations.
40294 (cexp_test): Likewise.
40295 (clog_test): Likewise.
40296 (clog10_test): Likewise.
40297 (csqrt_test): Likewise.
40298 (ctan_test): Likewise.
40299 (ctanh_test): Likewise.
40300 (exp_test): Likewise.
40301 (exp10_test): Likewise.
40302 (exp2_test): Likewise.
40303 (expm1_test): Likewise.
40304 (fma_test): Likewise.
40305 (j0_test): Likewise.
40306 (jn_test): Likewise.
40307 (nexttoward_test): Likewise.
40308 (pow_test): Likewise.
40309 (scalbn_test): Likewise.
40310 (scalbln_test): Likewise.
40311 (tan_test): Likewise.
40312 (y1_test): Likewise.
40313 * sysdeps/i386/fpu/libm-test-ulps: Update.
40314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40315
9e0e3d0b
DM
403162012-05-23 David S. Miller <davem@davemloft.net>
40317
40318 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
40319 (__libc_sigaction): Remove unused local variables.
40320
ccd0a08f
L
403212012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40322
40323 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
40324
62bdf9a6
PE
403252012-05-23 Paul Eggert <eggert@cs.ucla.edu>
40326
f8591f80
PE
40327 mktime: avoid signed integer overflow
40328 * time/mktime.c (__mktime_internal): Do not mishandle the case
40329 where diff == INT_MIN.
40330
94c7d826
PE
40331 mktime: simplify computation of average
40332 * time/mktime.c (ranged_convert): Use new time_t_avg function
40333 instead of rolling our own (probably-slower) code.
40334
ce73d683
PE
40335 mktime: do not assume signed right shift propagates sign bit
40336 * time/mktime.c (isdst_differ): New static function.
40337 (__mktime_internal): No need to normalize tm_isdst now.
40338 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
40339 tm_isdst values.
40340
72a22e59
PE
40341 mktime: merge another wrapv change from gnulib
40342 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
40343 from some compilers.
40344
68605433
PE
40345 mktime: remove incorrect attempt at unusual arithmetics
40346 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
40347 The code didn't really work on such machines anyway.
40348 (TYPE_MINIMUM): Assume two's complement.
40349 (twos_complement_arithmetic): Verify that long_int and time_t
40350 are two's complement (or unsigned, in the latter case).
40351
03cf7fe3
PE
40352 mktime: check signed shifts on long_int and time_t, too
40353 * time/mktime.c (SHR): Check that shifts work as desired
40354 on the types long_int and time_t too, as SHR is used on
40355 such types.
40356
f04dfbc2
PE
40357 mktime: do not assume 'long' is wide enough
40358 * time/mktime.c (verify): Move decl up.
40359 (long_int): New type.
40360 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
40361 to remove assumption in the code that 'long' is wide enough to
40362 store year values. This assumption is not true on x32 and on
40363 some non-glibc platforms.
40364
62bdf9a6
PE
40365 mktime: merge wrapv change from gnulib
40366 * time/mktime.c (WRAPV): New macro.
40367 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
40368 (guess_time_tm, __mktime_internal): Do not assume that signed
40369 integer overflow wraps around; modern compilers generate code
40370 where this assumption is no longer valid.
40371
5e292e4f
L
403722012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40373
40374 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
40375 Replace "jmp L(pseudo_end)" with "ret".
40376 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
40377 Likewise.
40378
8caf8c87
AJ
403792012-05-23 Andreas Jaeger <aj@suse.de>
40380
40381 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
40382 * sysdeps/unix/sysv/linux/poll.c: Remove file.
40383
1a09dc56
AJ
403842012-05-23 Andreas Jaeger <aj@suse.de>
40385 Maximilian Attems <max@stro.at>
40386
40387 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
40388 New macros.
40389
1c87aba0
L
403902012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40391
40392 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
40393 code so that pseudo_end is just ret and the stack pointer is
40394 correct also for static library in error case.
40395
40e45bd5
JM
403962012-05-23 Joseph Myers <joseph@codesourcery.com>
40397
c2670533
JM
40398 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
40399 move to syscalls.list.
40400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
40401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
40402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
40403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
40404
40e45bd5
JM
40405 * manual/install.texi (Running make install): Do not mention Linux
40406 kernel version for which pt_chown is not needed.
40407 (Linux): Do not mention problems with nscd with 2.0 kernels.
40408 * INSTALL: Regenerated.
40409
be08eda5
AJ
404102012-05-23 Andreas Jaeger <aj@suse.de>
40411
40412 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
40413 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
40414 macro.
40415 * sysdeps/unix/sysv/linux/s390/bits/mman.h
40416 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40417 * sysdeps/unix/sysv/linux/sh/bits/mman.h
40418 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40419 * sysdeps/unix/sysv/linux/i386/bits/mman.h
40420 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40421 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
40422 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40423 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
40424 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40425 * sysdeps/unix/sysv/linux/bits/in.h
40426 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
40427
a6a056bb
RM
404282012-05-22 Roland McGrath <roland@hack.frob.com>
40429
40430 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
40431 (PREPARE_VERSION): Just use assert instead, it will be elided
40432 under [NDEBUG] anyway.
40433
c9009328
L
404342012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40435
40436 * sysdeps/unix/sysv/linux/Makefile: Include
40437 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 40438 (sysdep_routines): Remove sysctl.
c9009328
L
40439 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
40440 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
40441 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
40442 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
40443 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
40444
73338355
AJ
404452012-05-22 Andreas Jaeger <aj@suse.de>
40446
40447 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
40448 that pseudo_end is just ret and the stack pointer is correct also
40449 for static library in error case.
40450
d44638b0
PP
404512012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
40452
40453 [BZ #14122]
40454 * nss/nsswitch.c (defconfig_entries): New variable.
40455 (__nss_database_lookup): Don't leak defconfig entries.
40456 (nss_parse_service_list): Don't leak on error paths.
40457 (free_database_entries): New function.
40458 (free_defconfig): New function.
40459 (free_mem): Move common code to free_database_entries.
40460
31a39bd8
L
404612012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40462
da0331a8
L
40463 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
40464 Add arch_prctl.
40465 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
40466
31a39bd8
L
40467 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
40468 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
40469 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
40470 New macro.
40471 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
40472 (INTERNAL_SYSCALL_TYPES): Likewise.
40473 (LOAD_ARGS_TYPES_[1-6]): Likewise.
40474 (LOAD_REGS_TYPES_[1-6]): Likewise.
40475 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
40476 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
40477
45470df3
AZ
404782012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40479
40480 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
40481 copysignl for GLIBC_2_0.
40482 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
40483 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
40484 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
40485 logbl for GLIBC_2_0.
40486 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
40487 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
40488
98a61bcb
L
404892012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40490
a4f6e481
L
40491 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
40492 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
40493
f63d5db6
L
40494 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
40495 Use "neg %eax".
40496
98a61bcb
L
40497 * time/mktime.c: Update copyright years.
40498
95770f14
PE
404992012-05-22 Paul Eggert <eggert@cs.ucla.edu>
40500
6226efbd
PE
40501 mktime: merge comment-quoting-style change from gnulib
40502 * time/mktime.c: Quote 'like this' in comments.
40503 The GNU coding standards suggest that we no longer quote `like this',
40504 as "`" and "'" are typically rendered asymmetrically nowadays.
40505 The typical gnulib style is to quote 'like this' when quoting
40506 code, and "like this" when quoting English.
40507
b99e4f78
PE
40508 * time/mktime.c (compile-command): Add "-I.".
40509
643e01e6
PE
40510 mktime: merge mktime-internal.h change from gnulib
40511 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
40512
2554247d
PE
40513 mktime: merge time_r change from gnulib
40514 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
40515
826dd0ab
PE
40516 mktime: merge DEBUG change from gnulib
40517 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
40518 case system <time.h> has a #define.
40519
bd83aabe
PE
40520 mktime: merge <sys/types.h> change from gnulib
40521 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
40522 since <time.t> is now guaranteed to define time_t.
40523
95770f14
PE
40524 mktime: merge HAVE_CONFIG_H change from gnulib
40525 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
40526
5e1a27a9
L
405272012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40528
0e44a77e
L
40529 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
40530 Use "neg %eax".
40531
5e1a27a9
L
40532 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
40533 __rlim_t cast.
40534 (struct rusage): Use anonymous union to pad each field to
40535 __syscall_slong_t.
40536
46259bec
DM
405372012-05-21 David S. Miller <davem@davemloft.net>
40538
40539 * Makefules (o-iterator): Remove .s cases.
40540 (compile-command.s): Delete.
40541 (COMPILE.s): Delete.
40542 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
40543
59f0c22e
JM
405442012-05-21 Joseph Myers <joseph@codesourcery.com>
40545
40546 * configure.in (libc_cv_predef_stack_protector): Only consider
40547 "foobar" and "__stack_chk_fail" lines in libc_undefs.
40548 * configure: Regenerated.
40549
20c07380
L
405502012-05-21 H.J. Lu <hongjiu.lu@intel.com>
40551
bbb3154b
L
40552 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
40553 New macro. Use R*LP on int and pointer.
40554 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
40555 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
40556 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
40557 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
40558
20c07380
L
40559 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
40560 [__WORDSIZE_TIME64_COMPAT32] instead of
40561 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
40562 (struct utmp): Likewise.
40563 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
40564 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
40565 Renamed to ...
40566 (__WORDSIZE_TIME64_COMPAT32): This.
40567 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
40568 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
40569 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
40570 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
40571 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
40572 (__WORDSIZE_TIME64_COMPAT32): New macro.
40573
d8d1017e
AJ
405742012-05-21 Andreas Jaeger <aj@suse.de>
40575
40576 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
40577 only if [SHARED]. Add prototype for __wcschr_ia32.
40578
6c7fb145
RM
405792012-05-21 Roland McGrath <roland@hack.frob.com>
40580
40581 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
40582 of %rbp unmolested in the jmp_buf while mangling the low bits.
40583 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
40584 unmolested high bits of %rbp while demangling the low bits.
40585 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
40586
66274218
AJ
405872012-05-21 Andreas Jaeger <aj@suse.de>
40588
07c58f8f
AJ
40589 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
40590 * sunrpc/svc_simple.c: Use it for registerrpc.
40591 * sunrpc/xcrypt.c: Use it for passwd2des.
40592
66274218
AJ
40593 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
40594
61f65140
L
405952012-05-21 H.J. Lu <hongjiu.lu@intel.com>
40596
40597 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
40598 Don't define if [__SYSCALL_WORDSIZE != 32].
40599 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
40600 New macro.
40601
5fefb436
AJ
406022012-05-21 Bruno Haible <bruno@clisp.org>
40603 Andreas Jaeger <aj@suse.de>
40604
40605 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
40606 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
40607 inptr and inend for must_buffer_ch.
40608 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
40609 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
40610 * stdio-common/Makefile (tests): Remove bug15.
40611 (bug15-ENV): Remove macro.
40612 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
40613 anymore.
40614
d8e272ab
AJ
406152012-05-19 Andreas Jaeger <aj@suse.de>
40616 Roland McGrath <roland@hack.frob.com>
40617
40618 * manual/contrib.texi: Completely rewritten. It contains now an
40619 alphabetical list of contributors and their contributions.
40620
4a56a162
RH
406212012-05-21 Richard Henderson <rth@twiddle.net>
40622
40623 * misc/getauxval.c (__getauxval): Use unsigned long int.
40624 * misc/sys/auxv.h: Include <sys/cdefs.h>.
40625 (getauxval): Use unsigned long int.
40626
d024d23c
L
406272012-05-21 H.J. Lu <hongjiu.lu@intel.com>
40628
40629 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40630
cbc00a03
RM
406312012-05-21 Roland McGrath <roland@hack.frob.com>
40632
40633 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
40634 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
40635 __alignof__ (long double).
40636
478143fa
AZ
406372012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40638
40639 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40640
c7683a6d
RH
406412012-05-20 Richard Henderson <rth@twiddle.net>
40642
40643 * misc/getauxval.c: New file.
40644 * misc/sys/auxv.h: New file.
40645 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
40646 (routines): Add getauxval.
40647 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
40648 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
40649 * elf/dl-sysdep.c (_dl_auxv): Remove.
40650 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
40651 * elf/dl-support.c (_dl_auxv): New variable.
40652 (_dl_aux_init): Initialize it.
40653 * manual/startup.texi (Auxiliary Vector): New node.
40654 * sysdeps/generic/bits/hwcap.h: New file.
40655 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
40656 * sysdeps/powerpc/sysdep.h: ... here. Include it.
40657 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
40658 * sysdeps/sparc/sysdep.h: ... here. Include it.
40659 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
40660 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
40661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40662 Update.
c7683a6d
RH
40663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
40664 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
40665 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
40666 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
40667 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40668 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40669 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
40670 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
40671
a6f1845d
AZ
406722012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40673
40674 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40675
cbcbe830
DM
406762012-05-19 David S. Miller <davem@davemloft.net>
40677
40678 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40679
e0b16cc2
JM
406802012-05-19 Joseph Myers <joseph@codesourcery.com>
40681
40682 [BZ #14123]
40683 * math/s_ccosh.c: Include <float.h>
40684 (__ccosh): Avoid internal overflow calculating sinh and cosh
40685 values before multiplying by sin and cos values.
40686 * math/s_ccoshf.c: Likewise.
40687 * math/s_ccoshl.c: Likewise.
40688 * math/s_csin.c: Likewise.
40689 * math/s_csinf.c: Likewise.
40690 * math/s_csinl.c: Likewise.
40691 * math/s_csinh.c: Likewise.
40692 * math/s_csinhf.c: Likewise.
40693 * math/s_csinhl.c: Likewise.
40694 * math/libm-test.inc (ccos_test): Add more tests.
40695 (ccosh_test): Likewise.
40696 (csin_test): Likewise.
40697 (csinh_test): Likewise.
40698 * sysdeps/i386/fpu/libm-test-ulps: Update.
40699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40700
6ad13e08
L
407012012-05-19 H.J. Lu <hongjiu.lu@intel.com>
40702
f66f0ce8
L
40703 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
40704 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
40705
6ad13e08
L
40706 * sysdeps/x86_64/x32/_itoa.h: Add comment.
40707
b1d072a7
JM
407082012-05-19 Joseph Myers <joseph@codesourcery.com>
40709
40710 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
40711 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
40712 * sysdeps/powerpc/soft-fp/Versions: Likewise.
40713 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
40714 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
40715 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
40716 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
40717 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
40718 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
40719 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
40720 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
40721 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
40722 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
40723 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
40724 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
40725 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
40726 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
40727 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
40728 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
40729 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
40730 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
40731 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
40732 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
40733 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
40734 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
40735 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
40736 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
40737 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
40738 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
40739 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
40740 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
40741
9eae47cb
AJ
407422012-05-18 Andreas Jaeger <aj@suse.de>
40743
40744 * csu/.gitignore: Delete.
40745
bb07f69f
L
407462012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40747
40748 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
40749 (timex): Use __syscall_slong_t.
40750
e6bdb741
AJ
407512012-05-18 Andreas Jaeger <aj@suse.de>
40752 Carlos O'Donell <carlos_odonell@mentor.com>
40753
40754 * manual/install.texi (Configuring and compiling): Update
40755 description about files modified in the source directory.
d6c33fda 40756 * INSTALL: Regenerated.
e6bdb741 40757
1b74487e
L
407582012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40759
40760 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
40761 value. Use "or" to set return value to -1.
40762 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
40763 negate return value.
40764
a88b64b9
TMQMF
407652012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40766
57f41c40
AS
40767 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
40768 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
40769 failure if the compiler has Graphite support disabled.
40770 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
40771 Likewise.
57f41c40
AS
40772 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
40773 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
40774 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
40775 Likewise.
40776
3707636e
L
407772012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40778
610b8622
L
40779 * sysdeps/x86_64/x32/_itoa.h: New file.
40780
7cd195df
L
40781 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
40782 getdents system call only if kernel and user dirents have the
40783 same d_ino and d_off.
40784
94b07d20
L
40785 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
40786 LLONG_MAX != LONG_MAX.
40787 (_itoa_word): Use _ITOA_WORD_TYPE on value.
40788 (_fitoa_word): Likewise.
40789
18298070
L
40790 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
40791 years.
40792 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
40793 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
40794 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
40795
553c7ea4
L
40796 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
40797 include <bits/wordsize.h>. Check __x86_64__ instead of
40798 __WORDSIZE.
40799 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
40800 if __x86_64__ is defined. Use anonymous union on fpstate.
40801
3707636e
L
40802 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
40803 anonymous union.
40804
b53ef01a
AS
408052012-05-18 Andreas Schwab <schwab@linux-m68k.org>
40806
37fb1dc0
AS
40807 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
40808 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
40809 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
40810 Refer to _rtld_local_ro instead of _rtld_global_ro.
40811 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
40812 Likewise.
40813 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
40814 Likewise.
40815 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
40816 Likewise.
40817 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
40818 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
40819 of _rtld_global, and rtld_progname instead of _dl_argv[0].
40820
b53ef01a
AS
40821 * sysdeps/powerpc/powerpc32/dl-machine.c
40822 (__elf_machine_runtime_setup) [PROF]: Don't reference
40823 _dl_prof_resolve.
40824
7a185db2
AJ
408252012-05-18 Andreas Jaeger <aj@suse.de>
40826
40827 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
40828 function only available for GCCs before 3.4 since GCC 3.4
40829 introduced a builtin.
40830 (lrint): Likewise.
40831 (llrintf): Likewise.
40832 (llrint): Likewise.
40833 (fmaxf): Likewise.
40834 (fmax): Likewise.
40835 (fminf): Likewise.
40836 (fmin): Likewise.
40837 (rint): Likewise.
40838 (rintf): Likewise.
40839 (nearbyint): Likewise.
40840 (nearbyintf): Likewise.
40841 (ceil): Likewise.
40842 (ceilf): Likewise.
40843 (floor): Likewise.
40844 (floorf): Likewise.
40845
3e5aef87
L
408462012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40847
428bd707
L
40848 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
40849 on both fields and cast pointer to __syscall_ulong_t.
40850
3e5aef87
L
40851 * bits/types.h (__fsword_t): New type.
40852 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
40853 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
40854 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40855 (__FSWORD_T_TYPE): Likewise.
40856 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40857 (__FSWORD_T_TYPE): Likewise.
40858 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40859 (__FSWORD_T_TYPE): Likewise.
40860 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
40861 (__FSWORD_T_TYPE): Likewise.
40862 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
40863 __SWORD_TYPE with __fsword_t.
40864 (statfs64): Likewise.
40865
1ba7c3dc
DM
408662012-05-17 David S. Miller <davem@davemloft.net>
40867
40868 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
40869
59910343
AJ
408702012-05-17 Andreas Jaeger <aj@suse.de>
40871
40872 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
40873 warning.
40874
2e4c1e9e
L
408752012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40876
40877 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
40878
de7f5ce7
AJ
408792012-05-17 Andreas Jaeger <aj@suse.de>
40880
40881 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
40882 when it is used.
40883
286abc3d
CM
408842012-05-17 Chris Metcalf <cmetcalf@tilera.com>
40885
40886 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
40887
477cc68e
L
408882012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40889
40890 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
40891 * sysdeps/x86_64/tst-mallocalign1.c: New file.
40892
1a0994f5
CD
408932012-05-17 Andreas Jaeger <aj@suse.de>
40894 Carlos O'Donell <carlos_odonell@mentor.com>
40895
40896 [BZ #14059]
40897 * sysdeps/x86_64/multiarch/init-arch.h
40898 (bit_YMM_Usable): Rename to...
40899 (bit_AVX_Usable): ... this.
40900 (bit_FMA4_Usable): New macro.
40901 (bit_XMM_state): New macro.
40902 (bit_YMM_state): New macro.
40903 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
40904 [__ASSEMBLER__] (index_AVX_Usable): ... this.
40905 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
40906 (CPUID_OSXSAVE): New macro.
40907 (CPUID_AVX): New macro.
40908 (CPUID_FMA4): New macro.
40909 (index_YMM_Usable): Rename to...
40910 (index_AVX_Usable): ... this.
40911 (HAS_AVX): Use HAS_ARCH_FEATURE.
40912 (HAS_FMA4): Likewise.
40913 (HAS_YMM_USABLE): Remove.
40914 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40915 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
40916 are present.
40917 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
40918 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
40919 * sysdeps/x86_64/multiarch/Makefile: Likewise.
40920 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
40921 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
40922
0af797de
CM
409232012-05-17 Chris Metcalf <cmetcalf@tilera.com>
40924
40925 * math/libm-test.c: Support platforms without multiple rounding modes.
40926 * math/bug-nextafter.c: Support platforms without FP exceptions.
40927 * math/bug-nexttoward.c: Likewise.
40928 * math/test-fenv.c: Likewise.
40929 * math/test-misc.c: Likewise.
40930 * stdlib/bug-getcontext.c: Likewise.
40931
e39745ff
AJ
409322012-05-17 Andreas Jaeger <aj@suse.de>
40933
40934 * manual/examples/search.c (critter_cmp): Change signature to
40935 avoid warnings.
40936 * manual/string.texi (Collation Functions): Likewise.
40937
48970aba
L
409382012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40939
40940 * bits/types.h: Fold copyright years.
40941 * bits/typesizes.h: Likewise.
40942 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
40943 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
40944 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
40945 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
40946 * time/time.h: Likewise.
40947
bedee953
PP
409482012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
40949
40950 [BZ #208]
40951 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
40952 in instead of returning them. Return void.
40953 (__libc_mallinfo): Accumulate over all arenas.
40954 (__malloc_stats): Adjust for change in int_mallinfo interface.
40955
61653dfb
RM
409562012-05-16 Roland McGrath <roland@hack.frob.com>
40957
30b99d79
RM
40958 [BZ #10375]
40959 * configure.in (NM): Add AC_CHECK_TOOL for it.
40960 (libc_extra_cflags): New substituted variable.
40961 Check for -fstack-protector being used implicitly.
40962 * configure: Regenerated.
40963 * config.make.in (config-extra-cflags): New variable,
40964 gets @libc_extra_cflags@.
40965 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
40966
61653dfb
RM
40967 [BZ #10375]
40968 * configure.in: Check for _FORTIFY_SOURCE being predefined.
40969 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
40970 * configure: Regenerated.
40971 * config.make.in (CPPUNDEFS): New substituted variable.
40972 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
40973 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
40974 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
40975
661768bb
L
409762012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40977
40978 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
40979 (mq_attr): Use __syscall_slong_t.
40980
d4261567
L
409812012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40982
40983 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
40984 Check __x86_64__ instead of __WORDSIZE.
40985 (_STAT_VER_LINUX): Likewise.
40986 (stat): Check __x86_64__ instead of __WORDSIZE. Use
40987 __syscall_ulong_t and __syscall_slong_t.
40988 (stat64): Likewise.
40989
cf3ff365
L
409902012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40991
40992 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
40993
76cf3e4d
L
409942012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40995
40996 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
40997
a637753a
L
409982012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40999
41000 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
41001 __syscall_ulong_t.
41002
d5e05119
L
41003 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
41004 include <bits/wordsize.h>. Check __x86_64__ instead of
41005 __WORDSIZE.
41006 (greg_t): Use "__extension__ long long int" if __x86_64__ is
41007 defined.
41008 (mcontext_t): Replace "unsigned long" with "unsigned long long".
41009
f62ee380
L
41010 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
41011 include <bits/wordsize.h>. Check __x86_64__ instead of
41012 __WORDSIZE.
41013 (user_regs_struct): Use "__extension__ unsigned long long"
41014 instead of "unsigned long" if __x86_64__ is defined.
41015 (user): Likewise. Pad after pointer field if __ILP32__ is
41016 defined.
41017
4e124ced
JM
410182012-05-16 Joseph Myers <joseph@codesourcery.com>
41019
6a3951a0
JM
41020 * configure.in (makeinfo): Require version 4.5 or later. Allow
41021 versions 5 to 9.
41022 * configure: Regenerated.
41023 * manual/install.texi (texinfo): Increase version requirement to
41024 4.5 or later.
41025 * INSTALL: Regenerated.
41026
4e124ced
JM
41027 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
41028
953ca31a
L
410292012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41030
41031 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
41032
617aca05
L
41033 * sysdeps/x86_64/x32/ffs.c: New file.
41034
5762f7ae
L
41035 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
41036 __syscall_ulong_t.
41037 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
41038 defined. Use __syscall_ulong_t.
41039 (shminfo): Use __syscall_ulong_t.
41040 (shm_info): Likewise.
41041
a26b6856
L
41042 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
41043 __syscall_ulong_t.
41044
cb2b9ef7
L
41045 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
41046 <bits/wordsize.h>.
41047 (msgqnum_t): Use __syscall_ulong_t.
41048 (msglen_t): Likewise.
41049 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
41050 __syscall_ulong_t.
41051
34683bb0
L
41052 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
41053 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41054
84a68786
L
41055 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
41056
48baa5f1
L
41057 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
41058 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
41059
180be88b
L
41060 * sysvipc/sys/msg.h (msgbuf): Replace long int with
41061 __syscall_slong_t.
41062
5e90c8ad
L
41063 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
41064 include <bits/wordsize.h>. Check __x86_64__ instead of
41065 __WORDSIZE.
41066
23dfb58b
L
41067 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
41068 "unsigned long long int" if __x86_64__ is defined.
41069 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
41070
ce5d54b0
L
41071 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
41072 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41073 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
41074
13dc9eac
L
41075 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
41076 <stdint.h>.
41077 (GET_PC): Cast to uintptr_t first.
41078 (GET_FRAME): Likewise.
41079 (GET_STACK): Likewise.
41080
a7895d15
L
41081 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
41082 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
41083 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
41084 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
41085 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
41086 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
41087 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
41088 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
41089 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
41090 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
41091 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
41092 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
41093 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
41094 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
41095 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
41096 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
41097 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
41098 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
41099 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
41100 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
41101 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
41102 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
41103 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
41104 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
41105 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
41106 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
41107 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
41108 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
41109 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
41110
656416c9
AS
411112012-05-16 Andreas Schwab <schwab@linux-m68k.org>
41112
5bd66283
AS
41113 * Makerules (+depfiles): Also collect depfiles from .oS in
41114 $(extra-objs).
41115 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
41116 .oS, $(libnldbl-routines)).
41117
656416c9
AS
41118 * Makerules (native-compile-mkdep-flags): Define.
41119 * sunrpc/Makefile (extra-objs): Add $(addprefix
41120 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
41121 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
41122 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
41123 calling $(make-target-directory).
41124
a46f2169
L
411252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41126
41127 * bits/types.h (__snseconds_t): Removed.
41128 * time/time.h (struct timespec): Replace __snseconds_t with
41129 __syscall_slong_t.
41130 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
41131 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
41132 Likewise.
41133 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41134 (__SNSECONDS_T_TYPE): Likewise.
41135 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41136 (__SNSECONDS_T_TYPE): Likewise.
41137 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41138 (__SNSECONDS_T_TYPE): Likewise.
41139
6af6528b
L
411402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41141
41142 * sysdeps/mach/hurd/bits/typesizes.h
41143 (__SYSCALL_SLONG_TYPE): New macro.
41144 (__SYSCALL_ULONG_TYPE): Likewise.
41145
de986b56
L
411462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41147
41148 * bits/types.h (__syscall_slong_t): New type.
41149 (__syscall_ulong_t): Likewise.
41150
41151 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
41152 (__SYSCALL_ULONG_TYPE): Likewise.
41153 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41154 (__SYSCALL_SLONG_TYPE): Likewise.
41155 (__SYSCALL_ULONG_TYPE): Likewise.
41156 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41157 (__SYSCALL_SLONG_TYPE): Likewise.
41158 (__SYSCALL_ULONG_TYPE): Likewise.
41159 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41160 (__SYSCALL_SLONG_TYPE): Likewise.
41161 (__SYSCALL_ULONG_TYPE): Likewise.
41162
85736dc7
L
411632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41164
41165 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
41166 Add sigaltstack-offsets.sym.
41167 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
41168 <sigaltstack-offsets.h>.
41169 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
41170 longjmp_msg pointer.
41171 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
41172 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
41173 signal stack.
41174 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
41175
cc03b296
JM
411762012-05-15 Joseph Myers <joseph@codesourcery.com>
41177
a9538892
JM
41178 * elf/stackguard-macros.h: Remove file.
41179 * sysdeps/generic/stackguard-macros.h: New file.
41180 * sysdeps/i386/stackguard-macros.h: Likewise.
41181 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
41182 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
41183 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
41184 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
41185 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
41186 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
41187 * sysdeps/x86_64/stackguard-macros.h: Likewise.
41188 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
41189 <elf/stackguard-macros.h>.
41190
cc03b296
JM
41191 [BZ #14109]
41192 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
41193 __aligned__ in attribute.
41194 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
41195 (gregset_t): Likewise.
41196
93171016
L
411972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41198
41199 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
41200 * sysdeps/x86_64/64/Implies-after: Here. New file.
41201 * sysdeps/x86_64/x32/Implies-after: New file.
41202
d86813a0
L
412032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41204
41205 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
41206 and access return value for _dl_profile_fixup. Use R10_LP to
41207 load frame size.
41208
2953ec75
L
412092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41210
41211 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
41212
3b550e9e
L
412132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41214
41215 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
41216 * sysdeps/x86_64/x32/sysdep.h: New file.
41217
eda41706
L
412182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41219
41220 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
41221 * sysdeps/x86_64/setjmp.S: Likewise.
41222
9ea01d93
AZ
412232012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41224
41225 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
41226 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
41227 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
41228 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
41229 remove unused global constant.
41230
02a91938
CM
412312012-05-15 Chris Metcalf <cmetcalf@tilera.com>
41232
41233 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
41234 include of <not-cancel.h>.
41235
6540185f
RM
412362012-05-15 Roland McGrath <roland@hack.frob.com>
41237
41238 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
41239
509072a0
AJ
412402012-05-15 Jeff Law <law@redhat.com>
41241 Andreas Jaeger <aj@suse.de>
41242
41243 [BZ #13594]
41244 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
41245 out from...
41246 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
41247 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
41248 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
41249 code changing __hst_map_handle.map.
41250
ba75122d
RM
412512012-05-15 Roland McGrath <roland@hack.frob.com>
41252
41253 * configure.in (sysnames): Look for Implies-before and Implies-after
41254 files.
41255 * configure: Regenerated.
41256
890d8bd8
L
412572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41258
41259 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
41260 8-byte data alignment with LP_SIZE alignment.
41261
f6ee6623
L
412622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41263
41264 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
41265 into R10_LP.
41266
ea2626f6
L
412672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41268
41269 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
41270
085f715e
L
412712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41272
41273 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
41274 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
41275 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
41276 Likewise.
41277 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
41278
be8498fc
L
412792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41280
41281 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
41282 (stackinfo_sub_sp): Likewise.
41283
70bc83b9
L
412842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41285
41286 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
41287 RAX_LP.
41288
9bc0b730
L
412892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41290
41291 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
41292 into R*_LP.
41293
6d2850e7
L
412942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41295
41296 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
41297 sizes into R*_LP.
41298
3cb84561
L
412992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41300
41301 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
41302
54e2ed81
L
413032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41304
41305 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
41306 into R11_LP and load __x86_64_shared_cache_size_half into
41307 R8_LP.
41308
8a17f349
L
413092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41310
41311 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
41312 R8_LP.
41313
777b1eea
AZ
413142012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41315
41316 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
41317 logb for POWER7.
41318 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
41319 logbf for POWER7.
41320 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
41321 logbl for POWER7.
41322 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
41323 powerpc32/power7/fpu/s_logb.c via #include.
41324 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
41325 powerpc32/power7/fpu/s_logbf.c via #include.
41326 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
41327 powerpc32/power7/fpu/s_logbl.c via #include.
41328
d20d4ac2
JM
413292012-05-15 Joseph Myers <joseph@codesourcery.com>
41330
41331 * README.libm: Remove file.
41332
6cdef1ab
L
413332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41334
41335 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
41336 count for x32. Use R*_LP and omit operand-size suffix.
41337
0b254d8f
L
413382012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41339
41340 * shlib-versions: Move x86_64-.*-linux.* entries to ...
41341 * sysdeps/x86_64/64/shlib-versions: Here. New file.
41342 * sysdeps/x86_64/x32/shlib-versions: New file.
41343
ceb809dc
RM
413442012-05-14 Roland McGrath <roland@hack.frob.com>
41345
41346 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
41347 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
41348 Use _dl_fatal_printf instead.
41349
37f1abd4
JM
413502012-05-14 Joseph Myers <joseph@codesourcery.com>
41351
41352 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
41353 set if not set by the user. Do not allow for being unset.
41354 * sysdeps/unix/sysv/linux/configure: Regenerated.
41355
11de3a33
L
413562012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41357
41358 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
41359 the `q' suffix from lea and replace .quad with ASM_ADDR.
41360
e02f153a
L
413612012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41362
41363 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
41364 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
41365 instead of $17.
41366 (PTR_DEMANGLE): Likewise.
41367
520ae0fd
L
413682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41369
41370 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
41371 (LP_OP): Likewise.
41372 (ASM_ADDR): Likewise.
41373 (RAX_LP): Likewise.
41374 (RBP_LP): Likewise.
41375 (RBX_LP): Likewise.
41376 (RCX_LP): Likewise.
41377 (RDI_LP): Likewise.
41378 (RSI_LP): Likewise.
41379 (RSP_LP): Likewise.
41380 (R8_LP): Likewise.
41381 (R9_LP): Likewise.
41382 (R10_LP): Likewise.
41383 (R10_LP): Likewise.
41384 (R11_LP): Likewise.
41385 (R12_LP): Likewise.
41386 (R13_LP): Likewise.
41387 (R14_LP): Likewise.
41388 (R15_LP): Likewise.
41389
b985be81
L
413902012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41391
41392 * sysdeps/x86_64/x32/dl-machine.h: New file.
41393
6a4888ff
AJ
413942012-05-14 Andreas Jaeger <aj@suse.de>
41395
41396 * manual/Makefile (subdir): Remove export of subdir.
41397 (all): Remove target.
41398 (.PHONY): Remove all from list.
41399 (mkinstalldirs): Remove.
41400 (.PHONY): Remove installdirs from list.
41401 ($(inst_infodir)/libc.info): Use make-target-directory.
41402 (installdirs): Remove.
41403 (subdir_%): Remove.
41404 (glibc-targets): Remove.
41405 (lib): Remove.
41406 (stubs): Remove.
41407 ($(objpfx)stubs ../po/manual.pot): Remove.
41408 ($(objpfx)stamp%): Remove.
41409 (make-target-directory): Remove.
41410 (subdir_install): Remove.
41411 (routines): Remove.
41412 (aux): Remove.
41413 (sources): Remove.
41414 (objects): Remove.
41415 (headers): Remove.
41416
41417 [BZ #13750]
41418 * manual/.gitignore: Remove, it's not needed anymore.
41419 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
41420 all files in it.
41421 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
41422 directory.
41423 (texis): Renamed to $(objpfx)texis.
41424 (texis-path): New, contains path to generated files.
41425 (chapters.%): Use texis-path for complete path, add extra argument
41426 libc-texinfo.sh.
41427 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
41428 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
41429 (summary,texi, stamp-summary): Use complete path of
41430 files. Generate files in build dir.
41431 (dir-add.texi): Build in build dir.
41432 (libm-err.texi,stamp-libm-err): Likewise.
41433 (version.texi, stamp-version): Likewise.
41434 (.%c.texi): Likewise.
41435 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
41436 (mostlyclean): Remove target.
41437 (realclean): Remove target.
41438 (generated): Add new variable with contents from mostlyclean and
41439 realclean, remove entries duplicated in common-mostlyclean, add
41440 stamp-libm-err and stamp-version.
41441 (generated-dirs): Add libc directory.
41442 ($(inst_infodir)/libc.info): Install files from build dir.
41443
41444 * manual/install.texi (Configuring and compiling): Adjust since
41445 the info files are not part of the tar ball anymore.
41446
7ac77294
AJ
414472012-05-14 Andreas Jaeger <aj@suse.de>
41448
41449 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
41450 variable.
41451
ffb7875d
JM
414522012-05-14 Joseph Myers <joseph@codesourcery.com>
41453
41454 [BZ #13717]
41455 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
41456 to 2.2.0 where earlier.
41457 * sysdeps/unix/sysv/linux/configure: Regenerated.
41458 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
41459 Remove conditional code.
41460 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
41461 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
41462 Remove conditional code.
41463 [!__NR_lchown]: Likewise.
41464 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41465 [__NR_lchown]: Likewise.
41466 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
41467 comment referencing __ASSUME_LCHOWN_SYSCALL.
41468 * sysdeps/unix/sysv/linux/i386/sigaction.c
41469 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41470 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41471 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
41472 Remove conditional code.
41473 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
41474 (__protocol_available): Remove #if 0 code.
41475 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
41476 conditional code.
41477 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
41478 * sysdeps/unix/sysv/linux/kernel-features.h
41479 (__ASSUME_GETCWD_SYSCALL): Don't define.
41480 (__ASSUME_REALTIME_SIGNALS): Likewise.
41481 (__ASSUME_PREAD_SYSCALL): Likewise.
41482 (__ASSUME_PWRITE_SYSCALL): Likewise.
41483 (__ASSUME_POLL_SYSCALL): Likewise.
41484 (__ASSUME_LCHOWN_SYSCALL): Likewise.
41485 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
41486 non-SPARC.
41487 (__ASSUME_SIOCGIFNAME): Don't define.
41488 (__ASSUME_MSG_NOSIGNAL): Likewise.
41489 (__ASSUME_SENDFILE): Define unconditionally.
41490 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
41491 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
41492 conditional code.
41493 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
41494 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
41495 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
41496 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41497 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
41498 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
41499 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
41501 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41502 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
41504 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41505 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
41507 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41508 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
41510 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41511 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
41513 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41514 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
41516 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41517 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
41519 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41520 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
41522 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41523 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41524 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
41525 Remove conditional code.
41526 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41527 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
41528 Remove conditional code.
41529 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41530 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
41531 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
41532 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
41533 Remove conditional code.
41534 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41535 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
41536 Remove conditional code.
41537 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41538 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
41539 Remove conditional code.
41540 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41541 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
41542 Remove conditional code.
41543 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41544 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
41545 Remove conditional code.
41546 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41547 * sysdeps/unix/sysv/linux/sh/pwrite64.c
41548 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41549 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41550 * sysdeps/unix/sysv/linux/sigaction.c
41551 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41552 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41553 * sysdeps/unix/sysv/linux/sigpending.c
41554 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41555 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41556 * sysdeps/unix/sysv/linux/sigprocmask.c
41557 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41558 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41559 * sysdeps/unix/sysv/linux/sigsuspend.c
41560 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41561 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41562 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41563 (__libc_missing_rt_sigs): Remove.
41564 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
41565 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
41566 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
41567 Remove conditional code.
41568 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
41569 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
41570 return 1.
41571 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
41572 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
41573 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
41574 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
41575
1bfb7291
AJ
415762012-05-14 Andreas Jaeger <aj@suse.de>
41577
caae5a81
AJ
41578 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
41579 it's not used in glibc.
41580 (__coshm1): Likewise.
41581 (__acosh1p): Likewise.
41582 (__sgn): Likewise.
41583
1bfb7291
AJ
41584 * manual/string.texi (Copying and Concatenation): Add missing
41585 variable in concat example.
41586 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
41587
c044d724
L
415882012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41589
144c5467 41590 [BZ #14103]
c044d724
L
41591 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
41592 __builtin_clzl with __builtin_clzll.
41593
2523c62b
L
415942012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41595
41596 [BZ #14104]
41597 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
41598 libc_freeres_ptr.
41599
d7bb4c42
LD
416002012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41601
41602 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
41603 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
41604 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
41605 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
41606
9dc4e1fb
MF
416072012-05-14 Mike Frysinger <vapier@gentoo.org>
41608
41609 * NEWS: Update ia64 info.
41610
c7df0112
AS
416112012-05-12 Andreas Schwab <schwab@linux-m68k.org>
41612
41613 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
41614 used as bcopy.
41615
dc70356c
TS
416162012-05-12 Thomas Schwinge <thomas@codesourcery.com>
41617
41618 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
41619 * sysdeps/unix/syscalls.list (dup3): Likewise.
41620 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
41621 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
41622
9fb1a21f
L
416232012-05-11 H.J. Lu <hongjiu.lu@intel.com>
41624
41625 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
41626 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
41627
4822a2a5
L
416282012-05-11 H.J. Lu <hongjiu.lu@intel.com>
41629
41630 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
41631 thread pointer.
41632 (TLS_IE): Use mov/add instead of movq/addq to load thread
41633 pointer.
41634 (TLS_GD_PREFIX): New.
41635 (TLS_GD): Use it.
41636
842b81d6
DM
416372012-05-11 David S. Miller <davem@davemloft.net>
41638
41639 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
41640 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
41641 (_FPU_SETCW): Likewise.
41642
1cf463cd
L
416432012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41644
41645 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
41646 is 32-byte aligned.
41647
60cc4a18
AS
416482012-05-11 Andreas Schwab <schwab@linux-m68k.org>
41649
41650 [BZ #11837]
41651 * iconvdata/gb18030.c: Update tables.
41652 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
41653 characters specially.
41654 (BODY for TO_LOOP): Add encoding of missing ranges.
41655
febb44a4
TS
416562012-05-11 Thomas Schwinge <thomas@codesourcery.com>
41657
41658 [BZ #13673]
41659 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
41660 * sysdeps/mach/hurd/dup3.c: Likewise.
41661 * sysdeps/mach/hurd/readlinkat.c: Likewise.
41662 * sysdeps/powerpc/memmove.c:: Likewise.
41663
0a10fb9e
L
416642012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41665
41666 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
41667 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
41668
df8a552f
L
416692012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41670
41671 * elf/elf.h (R_X86_64_RELATIVE64): New.
41672 (R_X86_64_NUM): Updated.
41673 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
41674 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
41675 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
41676 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
41677 tst-quad1pie tst-quad2pie
41678 (modules-names): Add tst-quadmod1 tst-quadmod2.
41679 ($(objpfx)tst-quad1): New dependency.
41680 ($(objpfx)tst-quad2): Likewise.
41681 ($(objpfx)tst-quad1pie): Likewise.
41682 ($(objpfx)tst-quad2pie): Likewise.
41683 * sysdeps/x86_64/tst-quad1.c: New file.
41684 * sysdeps/x86_64/tst-quad1pie.c: New file.
41685 * sysdeps/x86_64/tst-quad2.c: Likewise.
41686 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
41687 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
41688 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
41689 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
41690 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
41691
f34d6f84
ST
416922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41693
f42d41d1
ST
41694 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
41695 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
41696 * streams/stropts.h (t_scalar_t): Define type.
41697
3c3571fc
ST
41698 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
41699 (_PATH_PRESERVE): Set to "/var/lib".
41700 (_PATH_RWHODIR): Set to "/var/spool/rwho".
41701
61f06bd3
ST
41702 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
41703 instead of int.
41704
918d4d71
ST
41705 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
41706 if __dir_mkfile succeeded.
41707
f34d6f84
ST
41708 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
41709 checking for _hurd_dtablesize. Unlock it right after having
41710 finished _hurd_dtable allocation.
41711
10589b4a
TS
417122012-05-10 Thomas Schwinge <thomas@schwinge.name>
41713
674cdbc7
TS
41714 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
41715 * sysdeps/mach/hurd/configure: Regenerated.
41716 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
41717 special-casing to...
41718 * sysdeps/gnu/configure.in: ... this new file.
41719 * sysdeps/unix/sysv/linux/configure: Regenerated.
41720 * sysdeps/gnu/configure: New generated file.
41721
8e41b99f
TS
41722 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
41723 for Linux: use nsec instead of usec, as well as:
41724 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
41725 members of type struct timespec.
41726 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
41727 New macros.
41728 (struct stat64): Likewise.
41729 (_STATBUF_ST_NSEC): New macro.
41730 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
41731
10589b4a
TS
41732 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
41733 __strtoul_internal rather than strtoul.
41734
63643c85
PT
417352012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41736
41737 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
41738 and reject them.
41739
3faebe6a
ST
417402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41741
41742 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
41743 which preserves existing values.
41744 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
41745
c6474b07
PT
417462012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41747
41748 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
41749 TIMEOUT values. Return EINVAL for NFDS values either negative or
41750 greater than FD_SETSIZE.
41751
1043890b
ST
417522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41753
41754 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
41755 allocated, call __vm_protect to finish enabling the existing space, and
41756 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
41757 allocate the remainder.
41758
37ed8b9b
PT
417592012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41760
41761 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
41762 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
41763
db653660
ST
417642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41765
37ed8b9b
PT
41766 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
41767 sysdeps/mach/hurd/readlink.c.
b29d4053 41768
db653660
ST
41769 * posix/tst-sysconf.c (posix_options): Only use
41770 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
41771 _POSIX_SYNCHRONIZED_IO when they are defined
41772 * sysdeps/mach/hurd/bits/posix_opt.h:
41773 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
41774 (_XOPEN_REALTIME): Undefine macro.
41775 (_XOPEN_REALTIME_THREADS): Undefine macro.
41776 (_XOPEN_SHM): Undefine macro.
41777 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
41778 macro to -1.
41779 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
41780 macro to -1.
41781 (_POSIX_ASYNC_IO): Undefine macro.
41782 (_POSIX_PRIORITIZED_IO): Undefine macro.
41783 (_POSIX_SPIN_LOCKS): Define macro to -1.
41784
ee16e894
ST
41785 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
41786 SA_NODEFER, SA_RESETHAND.
41787 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
41788 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
41789 F_DUPFD_CLOEXEC.
41790
6103ae3b
TS
417912012-05-10 Thomas Schwinge <thomas@schwinge.name>
41792
41793 * elf/Makefile (pldd-modules): Define unconditionally.
41794
80b4e5f3
TS
417952012-05-10 Thomas Schwinge <thomas@schwinge.name>
41796
41797 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
41798
edadcbd6
ST
417992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41800
41801 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
41802 Return ENOENT when name is empty.
41803 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
41804
80694780
TS
418052012-05-10 Thomas Schwinge <thomas@schwinge.name>
41806
1792c087
TS
41807 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
41808
80694780
TS
41809 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
41810
6b645f0d
ST
418112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41812
80694780
TS
41813 Fix mlock in all cases except non-readable pages.
41814 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
41815 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 41816
6b645f0d
ST
41817 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
41818 (__mkdir): When path is `/', just fail with EEXIST.
41819 * sysdeps/mach/hurd/mkdirat.c: Likewise.
41820
e468f8a3
TS
418212012-05-10 Thomas Schwinge <thomas@schwinge.name>
41822
41823 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
41824 <sys/uio.h> (for writev).
41825 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
41826 and <sys/param.h> (for MIN).
41827
a4186cff
PT
418282012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41829
41830 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
41831 REQUESTED_TIME. Properly set the remaining time and return EINTR
41832 if interrupted.
41833
510bbf14
TS
418342012-05-10 Thomas Schwinge <thomas@schwinge.name>
41835
41836 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
41837 Depend on against $(link-rpcuserlibs).
41838
5d5722e8
ST
418392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41840
a4186cff
PT
41841 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
41842 (__libc_stack_end): Do not use attribute_relro.
41843 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
41844 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 41845 to libthread-provided value.
a4186cff
PT
41846 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
41847 attribute_relro.
5d5722e8 41848
37233df9
TS
418492012-05-10 Thomas Schwinge <thomas@schwinge.name>
41850
be971a2b
TS
41851 [BZ #3748]
41852 * bits/libc-lock.h (__libc_once_get): New macro.
41853 * sysdeps/mach/bits/libc-lock.h: Likewise.
41854 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
41855 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
41856 instead of using implementation details.
41857
37233df9
TS
41858 * libio/fileops.c: Unconditionally include <kernel-features.h>.
41859 * libio/freopen.c: Likewise.
41860 * libio/freopen64.c: Likewise.
41861 * misc/syslog.c: Likewise.
41862 * nscd/connections.c: Likewise.
41863 * nscd/netgroupcache.c: Likewise.
41864 * sysdeps/posix/getcwd.c: Likewise.
41865
38de94a5
RM
418662012-05-10 Roland McGrath <roland@hack.frob.com>
41867
41868 * math/w_ilogbf.c: Add #include <limits.h>.
41869
67530489
ST
418702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41871
a4186cff 41872 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
41873 path instead of returning without unlocking.
41874
67530489
ST
41875 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
41876 immediate-write ioctls.
41877 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
41878
5aa3a74a
TS
418792012-05-10 Thomas Schwinge <thomas@schwinge.name>
41880
18bad2ae
TS
41881 * sysdeps/mach/hurd/i386/init-first.c (init): Use
41882 __builtin_frame_address instead of making assumptions about the
41883 location of the return address relative to DATA. Force early load of
41884 the return address.
41885 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
41886 __builtin_frame_address.
41887
5aa3a74a
TS
41888 dup3 for GNU Hurd.
41889 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
41890 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
41891 implement dup3 and do some further code clean-ups.
41892 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
41893 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
41894
ecd0de9a
ST
418952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41896
cd9fa985
ST
41897 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
41898
a4186cff
PT
41899 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
41900 HURD_CRITICAL_END around holding _hurd_dtable_lock.
41901 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
41902 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
41903 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
41904 d->port.lock.
802ca5a5 41905
a4186cff
PT
41906 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
41907 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
41908 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 41909
bcf55240
TS
419102012-05-10 Thomas Schwinge <thomas@schwinge.name>
41911
6960eb42
TS
41912 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
41913 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
41914 definitions.
41915
eb43375f
TS
41916 accept4 for GNU Hurd.
41917 * include/sys/socket.h (__libc_accept4): New prototype.
41918 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
41919 to implement __libc_accept4.
41920 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
41921 __libc_accept4.
41922 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
41923
bcf55240
TS
41924 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
41925 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
41926 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
41927 signal-defines.sym.
41928
6178c55b
ST
419292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41930
a4186cff 41931 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 41932
6f080c2f
TS
419332012-05-10 Thomas Schwinge <thomas@schwinge.name>
41934
41935 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
41936 assertion on O_CLOEXEC flag.
41937 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
41938 * hurd/intern-fd.c: Likewise.
41939 * hurd/port2fd.c: Likewise.
41940
bcfe3a54
ST
419412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41942
41943 [BZ #3906]
41944 * bits/in.h (IPV6_PKTINFO): Define new macro.
41945 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
41946
89c9aa49
AZ
419472012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41948
41949 [BZ #13954]
41950 [BZ #13955]
41951 [BZ #13956]
41952 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
41953 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41954 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
41955 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
41956 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41957 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
41958 * math/libm-test.inc (logb_test) : Additional logb tests.
41959
021db4be
AJ
419602012-05-09 Andreas Schwab <schwab@linux-m68k.org>
41961 Andreas Jaeger <aj@suse.de>
41962
41963 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
41964 * configure: Regenerated.
41965 * config.h.in (LINK_OBSOLETE_RPC): New macro.
41966 * config.make.in (link-obsolete-rpc): New substituted variable.
41967 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
41968 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
41969 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
41970 (shared-only-routines): Don't set it under [link-obsolete-rpc],
41971 so that libc.a contains the symbols.
41972 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
41973 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
41974 * sunrpc/auth_none.c: Likewise.
41975 * sunrpc/auth_unix.c: Likewise.
41976 * sunrpc/authdes_prot.c: Likewise.
41977 * sunrpc/authuxprot.c: Likewise.
41978 * sunrpc/clnt_gen.c: Likewise.
41979 * sunrpc/clnt_perr.c: Likewise.
41980 * sunrpc/clnt_raw.c: Likewise.
41981 * sunrpc/clnt_simp.c: Likewise.
41982 * sunrpc/clnt_tcp.c: Likewise.
41983 * sunrpc/clnt_udp.c: Likewise.
41984 * sunrpc/clnt_unix.c: Likewise.
41985 * sunrpc/des_crypt.c: Likewise.
41986 * sunrpc/des_soft.c: Likewise.
41987 * sunrpc/get_myaddr.c: Likewise.
41988 * sunrpc/key_call.c: Likewise.
41989 * sunrpc/key_prot.c: Likewise.
41990 * sunrpc/netname.c: Likewise.
41991 * sunrpc/pm_getmaps.c: Likewise.
41992 * sunrpc/pm_getport.c: Likewise.
41993 * sunrpc/pmap_clnt.c: Likewise.
41994 * sunrpc/pmap_prot.c: Likewise.
41995 * sunrpc/pmap_prot2.c: Likewise.
41996 * sunrpc/pmap_rmt.c: Likewise.
41997 * sunrpc/publickey.c: Likewise.
41998 * sunrpc/rpc_cmsg.c: Likewise.
41999 * sunrpc/rpc_common.c: Likewise.
42000 * sunrpc/rpc_dtable.c: Likewise.
42001 * sunrpc/rpc_prot.c: Likewise.
42002 * sunrpc/rpc_thread.c: Likewise.
42003 * sunrpc/rtime.c: Likewise.
42004 * sunrpc/svc.c: Likewise.
42005 * sunrpc/svc_auth.c: Likewise.
42006 * sunrpc/svc_raw.c: Likewise.
42007 * sunrpc/svc_run.c: Likewise.
42008 * sunrpc/svc_tcp.c: Likewise.
42009 * sunrpc/svc_udp.c: Likewise.
42010 * sunrpc/svc_unix.c: Likewise.
42011 * sunrpc/svcauth_des.c: Likewise.
42012 * sunrpc/xcrypt.c: Likewise.
42013 * sunrpc/xdr.c: Likewise.
42014 * sunrpc/xdr_array.c: Likewise.
42015 * sunrpc/xdr_float.c: Likewise.
42016 * sunrpc/xdr_intXX_t.c: Likewise.
42017 * sunrpc/xdr_mem.c: Likewise.
42018 * sunrpc/xdr_rec.c: Likewise.
42019 * sunrpc/xdr_ref.c: Likewise.
42020 * sunrpc/xdr_sizeof.c: Likewise.
42021 * sunrpc/xdr_stdio.c: Likewise.
42022
b5c086a2
RM
420232012-05-10 Roland McGrath <roland@hack.frob.com>
42024
42025 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
42026 change. Update copyright years.
42027
6d74dd09
JM
420282012-05-10 Joseph Myers <joseph@codesourcery.com>
42029
42030 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
42031
28e72501
MK
420322012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
42033 Joseph Myers <joseph@codesourcery.com>
42034 Paul Pluzhnikov <ppluzhnikov@google.com>
42035
42036 [BZ #14012]
42037 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
42038 requiring rpcgen.
42039 [cross-compiling] (extra-libs): Likewise.
42040 [cross-compiling] (extra-libs-others): Likewise.
42041 [cross-compiling] (librpcsvc-routines): Likewise.
42042 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
42043 [cross-compiling] (omit-deps): Likewise.
42044 (sunrpc-CPPFLAGS): New variable.
42045 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
42046 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
42047 (cross-rpcgen-objs): New variable.
42048 (extra-objs): Append $(cross-rpcgen-objs).
42049 ($(cross-rpcgen-objs)): New rule.
42050 ($(objpfx)cross-rpcgen): Likewise.
42051 (rpcgen-cmd): Define to use $(built-program-file). Expand
42052 comment.
42053 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
42054 ($(objpfx)x%.stmp): Likewise.
42055 * sunrpc/proto.h [IS_IN_build] (_): Define.
42056 [IS_IN_build] (_libc_intl_domainname): Likewise.
42057
c8c59454
L
420582012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42059
42060 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
42061 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
42062 and R_X86_64_TPOFF64.
42063
6f27cd16
JM
420642012-05-10 Joseph Myers <joseph@codesourcery.com>
42065
42066 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
42067 sysdeps/unix/sysv/syscalls.list.
42068 (stime): Likewise.
42069 (utime): Likewise.
42070 * sysdeps/unix/sysv/syscalls.list: Remove file.
42071
02467e1c
PE
420722012-05-10 Paul Eggert <eggert@cs.ucla.edu>
42073
42074 [BZ #3440]
42075 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
42076 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
42077 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
42078 (__LC_IDENTIFICATION): Make these macros useful in #if
42079 expressions, as required by C99.
42080
da392631
AS
420812012-05-10 Andreas Schwab <schwab@linux-m68k.org>
42082
42083 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
42084 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
42085 after this.
42086
8115f29b
L
420872012-05-09 H.J. Lu <hongjiu.lu@intel.com>
42088
42089 * stdlib/longlong.h: Updated from GCC.
42090
bdd74070
AJ
420912012-05-09 Andreas Jaeger <aj@suse.de>
42092
edfe0dbe
AJ
42093 * nscd/nscd.c (run_modes): Make named enum, reorder so that
42094 default is first entry.
42095 (run_mode): Set type.
42096 (main): Remove informal message about syslog.
42097 (options): Fix typo.
42098
bcfe3a54
ST
42099 [BZ #14053]
42100 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 42101 to asm.
bcfe3a54
ST
42102 (lrint): Likewise.
42103 (llrintf): Likewise.
42104 (llrint): Likewise.
42105 (rint): Likewise.
42106 (rintf): Likewise.
42107 (nearbyint): Likewise.
42108 (nearbyintf): Likewise.
bdd74070 42109
91d8d69e
AJ
421102012-05-09 Andreas Jaeger <aj@suse.de>
42111 Pedro Alves <palves@redhat.com>
42112
42113 * nscd/nscd.c (run_mode): Use enum.
42114 (main): Cleanup coding style issue.
42115
bb90b80b
AJ
421162012-05-09 Alexandre Oliva <aoliva@redhat.com>
42117 Andreas Jaeger <aj@suse.de>
42118
bcfe3a54
ST
42119 * nscd/nscd.c (go_background): Replaced with...
42120 (run_mode): ... this.
bb90b80b 42121 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
42122 (options): Add -F --foreground.
42123 (main): Implement it.
42124 (parse_opt): Parse it.
bb90b80b 42125
1a4b75a1
AJ
421262012-05-09 Andreas Jaeger <aj@suse.de>
42127
42128 [BZ #14083]
42129 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
42130 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
42131 -Wconversion warning.
42132 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
42133 Likewise.
42134
b1cc2472
JM
421352012-05-09 Joseph Myers <joseph@codesourcery.com>
42136
42137 * conform/data/locale.h-data (NULL): Use macro-constant. Require
42138 == 0.
42139 (LC_ALL): Use macro-int-constant.
42140 (LC_COLLATE): Likewise.
42141 (LC_CTYPE): Likewise.
42142 (LC_MESSAGES): Likewise.
42143 (LC_MONETARY): Likewise.
42144 (LC_NUMERIC): Likewise.
42145 (LC_TIME): Likewise.
42146 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
42147 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42148 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42149 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
42150 Specify type.
42151 [C99-based standards] (float_t): Expect type.
42152 [C99-based standards] (double_t): Expect type.
42153 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
42154 type.
42155 [C99-based standards] (HUGE_VALL): Likewise.
42156 [C99-based standards] (INFINITY): Likewise.
42157 [C99-based standards] (NAN): Likewise.
42158 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
42159 [C99-based standards] (FP_NAN): Likewise.
42160 [C99-based standards] (FP_NORMAL): Likewise.
42161 [C99-based standards] (FP_SUBNORMAL): Likewise.
42162 [C99-based standards] (FP_ZERO): Likewise.
42163 [C99-based standards] (FP_FAST_FMA): Use
42164 optional-macro-int-constant. Specify type. Require == 1.
42165 [C99-based standards] (FP_FAST_FMAF): Likewise.
42166 [C99-based standards] (FP_FAST_FMAL): Likewise.
42167 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
42168 [C99-based standards] (FP_ILOGBNAN): Likewise.
42169 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
42170 Specify type.
42171 [C99-based standards] (MATH_ERREXCEPT): Likewise.
42172 [C99-based standards] (math_errhandling): Specify type.
42173 [ISO99 || ISO11] (signgam): Do not allow.
42174 [non-C99-based standards] (copysignf): Do not allow.
42175 [non-C99-based standards] (exp2f): Likewise.
42176 [non-C99-based standards] (log2f): Likewise.
42177 [non-C99-based standards] (modff): Allow.
42178 [non-C99-based standards] (erff): Do not allow.
42179 [non-C99-based standards] (erfcf): Likewise.
42180 [non-C99-based standards] (gammaf): Likewise.
42181 [non-C99-based standards] (hypotf): Likewise.
42182 [non-C99-based standards] (j0f): Likewise.
42183 [non-C99-based standards] (j1f): Likewise.
42184 [non-C99-based standards] (jnf): Likewise.
42185 [non-C99-based standards] (lgammaf): Likewise.
42186 [non-C99-based standards] (tgammaf): Likewise.
42187 [non-C99-based standards] (y0f): Likewise.
42188 [non-C99-based standards] (y1f): Likewise.
42189 [non-C99-based standards] (ynf): Likewise.
42190 [non-C99-based standards] (isnanf): Likewise.
42191 [non-C99-based standards] (acoshf): Likewise.
42192 [non-C99-based standards] (asinhf): Likewise.
42193 [non-C99-based standards] (atanhf): Likewise.
42194 [non-C99-based standards] (cbrtf): Likewise.
42195 [non-C99-based standards] (expm1f): Likewise.
42196 [non-C99-based standards] (ilogbf): Likewise.
42197 [non-C99-based standards] (log1pf): Likewise.
42198 [non-C99-based standards] (logbf): Likewise.
42199 [non-C99-based standards] (nextafterf): Likewise.
42200 [non-C99-based standards] (remainderf): Likewise.
42201 [non-C99-based standards] (rintf): Likewise.
42202 [non-C99-based standards] (scalbf): Likewise.
42203 [non-C99-based standards] (copysignl): Likewise.
42204 [non-C99-based standards] (exp2l): Likewise.
42205 [non-C99-based standards] (log2l): Likewise.
42206 [non-C99-based standards] (modfl): Allow.
42207 [non-C99-based standards] (erfl): Do not allow.
42208 [non-C99-based standards] (erfcl): Likewise.
42209 [non-C99-based standards] (gammal): Likewise.
42210 [non-C99-based standards] (hypotl): Likewise.
42211 [non-C99-based standards] (j0l): Likewise.
42212 [non-C99-based standards] (j1l): Likewise.
42213 [non-C99-based standards] (jnl): Likewise.
42214 [non-C99-based standards] (lgammal): Likewise.
42215 [non-C99-based standards] (tgammal): Likewise.
42216 [non-C99-based standards] (y0l): Likewise.
42217 [non-C99-based standards] (y1l): Likewise.
42218 [non-C99-based standards] (ynl): Likewise.
42219 [non-C99-based standards] (isnanl): Likewise.
42220 [non-C99-based standards] (acoshl): Likewise.
42221 [non-C99-based standards] (asinhl): Likewise.
42222 [non-C99-based standards] (atanhl): Likewise.
42223 [non-C99-based standards] (cbrtl): Likewise.
42224 [non-C99-based standards] (expm1l): Likewise.
42225 [non-C99-based standards] (ilogbl): Likewise.
42226 [non-C99-based standards] (log1pl): Likewise.
42227 [non-C99-based standards] (logbl): Likewise.
42228 [non-C99-based standards] (nextafterl): Likewise.
42229 [non-C99-based standards] (remainderl): Likewise.
42230 [non-C99-based standards] (rintl): Likewise.
42231 [non-C99-based standards] (scalbl): Likewise.
42232 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42233 [non-C99-based standards] (FP_*): Do not allow.
42234 [C99-based standards] (FP_*): Change to
42235 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42236 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42237 allow.
42238 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
42239 (SIG_ERR): Likewise.
42240 [X/Open-based standards] (SIG_HOLD): Likewise.
42241 (SIG_IGN): Likewise.
42242 (SIGABRT): Use macro-int-constant. Specify type. Require
42243 positive value.
42244 (SIGFPE): Likewise.
42245 (SIGILL): Likewise.
42246 (SIGINT): Likewise.
42247 (SIGSEGV): Likewise.
42248 (SIGTER): Likewise.
42249 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
42250 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
42251 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
42252 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
42253 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
42254 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
42255 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
42256 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
42257 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
42258 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
42259 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
42260 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
42261 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
42262 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
42263 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
42264 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
42265 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
42266 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
42267 [X/Open-based standards] (SIGTRAP): Likewise.
42268 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
42269 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
42270 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
42271 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
42272 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42273 allow.
42274
b9f1922d
IW
422752012-05-08 Ian Wienand <ianw@vmware.com>
42276
42277 [BZ #14080]
42278 * time/tzset.c (__tzset_parse_tz): Update default rules for
42279 daylight time changes in the Energy Policy Act of 2005.
42280
1db86e88
AJ
422812012-05-09 Andreas Jaeger <aj@suse.de>
42282
42283 [BZ #13983]
42284 * elf/ldconfig.c (parse_conf): Change string to make clear that
42285 ldconfig only issued a warning if ld.so.conf does not exist.
42286
dee4a4e3
DM
422872012-05-08 David S. Miller <davem@davemloft.net>
42288
ee0db190
DM
42289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
42290 movxtod instead of popping the value on the stack.
42291
dee4a4e3
DM
42292 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42293
6a43ec98
CD
422942012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
42295
42296 * config.h.in: Add HAVE_ARM_PCS_VFP.
42297
05c2c961
RMG
422982012-05-08 Roland Mc Grath <roland@hack.frob.com>
42299
bcfe3a54
ST
42300 [BZ #13979]
42301 * include/features.h: Warn if user requests __FORTIFY_SOURCE
42302 checking but the checks are disabled for any reason.
05c2c961 42303
4b30f61a
L
423042012-05-08 H.J. Lu <hongjiu.lu@intel.com>
42305
42306 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
42307 and ELF64_R_TYPE with ELFW(R_TYPE).
42308
eee2bc67
JM
423092012-05-08 Joseph Myers <joseph@codesourcery.com>
42310
7ea5391a
JM
42311 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
42312 (ulimit): Likewise.
42313
eee2bc67
JM
42314 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
42315 (settimeofday): Likewise.
42316
abb66a67
MF
423172012-05-08 Mike Frysinger <vapier@gentoo.org>
42318
42319 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
42320 a struct th_u2 inside the union, and move tu_block/tu_code into
42321 a new th_u3 union of tu_block/tu_code inside of that. Move
42322 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
42323 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
42324 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
42325 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
42326 (th_stuff): Change to th_u1.tu_stuff.
42327 (th_data): Define.
42328 (th_msg): Change to th_u1.th_u2.tu_data.
42329
7f18b530
DM
423302012-05-07 David S. Miller <davem@davemloft.net>
42331
05760585
DM
42332 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42333
7f18b530
DM
42334 [BZ #14074]
42335 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
42336 (SETUP_PIC_REG): Use it.
42337 (SETUP_PIC_REG_LEAF): Use it.
42338
495fd99f
JM
423392012-05-07 Joseph Myers <joseph@codesourcery.com>
42340
42341 [BZ #13885]
42342 [BZ #13923]
42343 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42344 USE_AS_EXPM1L.
42345 (EXPL_FINITE): Likewise.
42346 (FLDLOG): Likewise.
42347 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
42348 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
42349 e_expl.S.
42350 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42351 USE_AS_EXPM1L.
42352 (EXPL_FINITE): Likewise.
42353 (FLDLOG): Likewise.
42354 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
42355 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
42356 e_expl.S.
42357 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
42358 test of -max_value argument for long double.
42359 * sysdeps/i386/fpu/libm-test-ulps: Update.
42360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42361
6693d694
DM
423622012-05-06 David S. Miller <davem@davemloft.net>
42363
42364 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
42365 quad soft-float symbols whose references which are compiler
42366 generated.
42367 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42368
6c23e11c
JM
423692012-05-06 Joseph Myers <joseph@codesourcery.com>
42370
d8b82cad
JM
42371 [BZ #13884]
42372 [BZ #13914]
42373 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42374 USE_AS_EXP10L.
42375 (EXPL_FINITE): Likewise.
42376 (FLDLOG): Likewise.
42377 (c0): Likewise.
42378 (c1): Likewise.
42379 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
42380 Adjust comments for base varying.
42381 (__expl_finite): Change alias to EXPL_FINITE.
42382 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
42383 e_expl.S.
42384 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
42385 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
42386 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
42387 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
42388 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42389 USE_AS_EXP10L.
42390 (EXPL_FINITE): Likewise.
42391 (FLDLOG): Likewise.
42392 (c0): Likewise.
42393 (c1): Likewise.
42394 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
42395 Adjust comments for base varying.
42396 (__expl_finite): Change alias to EXPL_FINITE.
42397 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
42398 tests for bugs.
42399 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42400
6c23e11c
JM
42401 [BZ #14064]
42402 * math/libm-test.inc (check_float_internal): Correct ulp
42403 calculation for subnormal expected results.
42404
29ba805c
AJ
424052012-05-06 Andreas Jaeger <aj@suse.de>
42406
42407 * Makeconfig (+math-flags): New, set to -frounding-math.
42408 (+cflags): Add +math-flags so that all of glibc gets compiled with
42409 it.
42410
42411 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
42412
7b17aeda
JM
424132012-05-05 Joseph Myers <joseph@codesourcery.com>
42414
5779f134
JM
42415 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
42416 Disable one test.
42417
41498f4d
JM
42418 [BZ #13787]
42419 [BZ #13922]
42420 [BZ #14036]
42421 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
42422 (__ieee754_expl): Allow for and saturate large arguments.
42423 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
42424 (u_threshold): Likewise.
42425 (__exp): Call __ieee754_exp before checking for overflow and
42426 underflow.
42427 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
42428 (u_threshold): Likewise.
42429 (__expf): Call __ieee754_expf before checking for overflow and
42430 underflow.
42431 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
42432 (u_threshold): Likewise.
42433 (__expl): Call __ieee754_expl before checking for overflow and
42434 underflow.
42435 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
42436 (__ieee754_expl): Allow for and saturate large arguments.
42437 * math/libm-test.inc (exp_test): Add another test. Do not allow
42438 missing overflow exception on overflow.
42439 (expm1_test): Do not allow missing overflow exception on overflow.
42440
6698b8bf
JM
42441 * sysdeps/i386/fpu/e_expl.c: Move to ...
42442 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
42443 rather than using inline asm.
42444 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
42445 * sysdeps/x86_64/fpu/e_expl.S: Copy from
42446 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
42447
7b17aeda
JM
42448 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
42449 (nice): Likewise.
42450 (poll): Likewise.
42451 (signal): Likewise.
42452 (time): Likewise.
42453 (times): Likewise.
42454
f7c85819
JM
424552012-05-04 Joseph Myers <joseph@codesourcery.com>
42456
42457 * sysdeps/unix/syscalls.list (adjtime): Add entry from
42458 sysdeps/unix/common/syscalls.list.
42459 (fchmod): Likewise.
42460 (fchown): Likewise.
42461 (ftruncate): Likewise.
42462 (getrusage): Likewise.
42463 (gettimeofday): Likewise.
42464 (setpgid): Likewise.
42465 (setregid): Likewise.
42466 (setreuid): Likewise.
42467 (sigaction): Likewise.
42468 (truncate): Likewise.
42469 (vhangup): Likewise.
42470 * sysdeps/unix/common/syscalls.list: Remove file.
42471 * sysdeps/unix/bsd/Implies: Don't include unix/common.
42472 * sysdeps/unix/sysv/linux/Implies: Likewise.
42473
336270d0
L
424742012-05-04 H.J. Lu <hongjiu.lu@intel.com>
42475
42476 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
42477 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
42478 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
42479 Moved to ...
42480 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
42481 Here.
42482 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
42483 to ...
42484 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
42485 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
42486 to ...
42487 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
42488 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
42489 to ...
42490 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
42491 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
42492 to ...
42493 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
42494 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
42495 to ...
42496 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
42497 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
42498 to ...
42499 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
42500 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
42501 to ...
42502 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
42503 Here.
42504 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
42505 to ...
42506 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
42507 Here.
42508 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
42509 to ...
42510 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
42511 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
42512 Moved to ...
42513 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
42514 Here.
42515 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
42516 to ...
42517 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
42518
d128e450
JM
425192012-05-04 Joseph Myers <joseph@codesourcery.com>
42520
fa8ee516
JM
42521 * sysdeps/unix/common/bits/dirent.h: Remove file.
42522 * sysdeps/unix/common/bits/fcntl.h: Likewise.
42523
d128e450
JM
42524 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
42525 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
42526 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
42527 * sysdeps/unix/bsd/isatty.c: Likewise.
42528 * sysdeps/unix/bsd/tcdrain.c: Likewise.
42529 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
42530 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
42531
ff8faaf0 425322012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 42533
62881be4 42534 [BZ #13563]
31dc8730
AZ
42535 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
42536 long double comparison inaccuracies.
42537 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
42538 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42539
6fef930c
AS
425402012-05-04 Andreas Schwab <schwab@linux-m68k.org>
42541
42542 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
42543 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
42544
8f203e6c
JM
425452012-05-04 Joseph Myers <joseph@codesourcery.com>
42546
42547 [BZ #14049]
42548 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
42549 nonzero digits before rounding a hex value.
42550 * stdlib/tst-strtod.c (tests): Add another test.
42551
5197d9c2
AK
425522012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42553
42554 * sysdeps/s390/fpu/libm-test-ulps: Update.
42555
f0c1dedf
AJ
425562012-05-03 Andreas Jaeger <aj@suse.de>
42557
42558 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
42559 does not get optimized out.
42560 (malloc_opt_barrier): New.
42561
a65ef2ae 425622012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 42563 Roland McGrath <roland@hack.frob.com>
a65ef2ae 42564
2b942cb7 42565 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 42566 intermediate file deletion.
2b942cb7 42567 (generated): Add .symlist files.
a65ef2ae 42568
54b71e02
JM
425692012-05-03 Joseph Myers <joseph@codesourcery.com>
42570
42571 [BZ #13775]
42572 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
42573 Redirect under this condition.
42574 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
42575 [__USE_GNU] (__dprintf_chk): Not under this condition.
42576 [__USE_GNU] (__vdprintf_chk): Likewise.
42577 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
42578 under this condition.
42579 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
42580 [__USE_XOPEN2K8] (dprintf): Define under this condition.
42581 [__USE_XOPEN2K8] (vdprintf): Likewise.
42582 [__USE_GNU] (__dprintf_chk): Not under this condition.
42583 [__USE_GNU] (__vdprintf_chk): Likewise.
42584 [__USE_GNU] (dprintf): Likewise.
42585 [__USE_GNU] (vdprintf): Likewise.
42586
d3dfcc41
RM
425872012-05-03 Roland McGrath <roland@hack.frob.com>
42588
42589 * elf/Makefile (common-generated): Set this instead of generated for
42590 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
42591 $(all-built-dso)-derived lists.
42592
7ac30cc5
AJ
425932012-05-03 Andreas Jaeger <aj@suse.de>
42594
0c51e550
AJ
42595 * sysdeps/i386/fpu/libm-test-ulps: Update.
42596
7ac30cc5
AJ
42597 * FAQ: Removed.
42598 * FAQ.in: Likewise.
42599 * scripts/gen-FAQ.pl: Likewise.
42600 * manual/install.texi (Installation): Point to online location of
42601 FAQ.
42602 * Makefile (files-for-dist): Remove FAQ.
42603 (FAQ): Remove.
42604
d4c2917f
AM
426052012-05-02 Allan McRae <allan@archlinux.org>
42606
42607 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
42608 (LDFLAGS-reldepmod5.so): Likewise.
42609 (LDFLAGS-reldep6mod1.so): Likewise.
42610 (LDFLAGS-reldep6mod4.so): Likewise.
42611 (LDFLAGS-reldep8mod3.so): Likewise.
42612 (LDFLAGS-unload4mod1.so): Likewise.
42613 (LDFLAGS-unload4mod2.so): Likewise.
42614 (LDFLAGS-tst-initorder): Likewise.
42615 (LDFLAGS-tst-initordera2.so): Likewise.
42616 (LDFLAGS-tst-initordera3.so): Likewise.
42617 (LDFLAGS-tst-initordera4.so): Likewise.
42618 (LDFLAGS-tst-initorderb2.so): Likewise.
42619 (LDFLAGS-noload): Likewise.
42620 (LDFLAGS-next): Likewise.
42621 (LDFLAGS-order2mod1.so): Likewise.
42622 (LDFLAGS-order2mod2.so): Likewise.
42623 (LDFLAGS-tst-initorder2): Likewise.
42624 (LDFLAGS-tst-initorder2a.so): Likewise.
42625 (LDFLAGS-tst-initorder2b.so): Likewise.
42626 (LDFLAGS-tst-initorder2c.so): Likewise.
42627 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
42628
d77f993f
DM
426292012-05-02 David S. Miller <davem@davemloft.net>
42630
42631 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42632
171a70b4
PP
426332012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
42634
42635 [BZ #14055]
42636 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
42637
0be196ad
AJ
426382012-05-02 Andreas Jaeger <aj@suse.de>
42639
42640 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
42641 since we manipulate rounding mode.
42642 (CPPFLAGS-test-idouble.c): Likewise.
42643 (CPPFLAGS-test-ifloat.c): Likewise.
42644 (CFLAGS-test-ldouble.c): Likewise.
42645 (CFLAGS-test-double.c): Likewise.
42646 (CFLAGS-test-float.c): Likewise.
42647 (CFLAGS-test-misc.c): Likewise.
42648 (CFLAGS-test-test-fenv.c): Likewise.
42649
4f9d04aa
AZ
426502012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42651
2b942cb7
RM
42652 [BZ #2550]
42653 [BZ #2570]
42654 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
42655 comparisons to determine direction to adjust input.
4f9d04aa 42656
82a79e7d
RM
426572012-05-01 Roland McGrath <roland@hack.frob.com>
42658
f5a01ca9
RM
42659 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
42660 output to the target.
42661
90fe4186
RM
42662 * scripts/localplt.awk: New file.
42663 * elf/Makefile ($(objpfx)check-localplt): Target removed.
42664 (check-localplt-CFLAGS): Variable removed.
42665 ($(all-built-dso:=.jmprel)): New static pattern rule.
42666 (generated): Add those targets.
42667 (localplt-built-dso): New variable.
42668 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
42669
42670 * elf/check-localplt.c: File removed.
42671
82397ed6
RM
42672 * scripts/check-execstack.awk: New file.
42673 * elf/Makefile ($(objpfx)check-execstack): Target removed.
42674 (check-execstack-CFLAGS): Variable removed.
42675 ($(objpfx)check-execstack.h): Target removed.
42676 ($(objpfx)execstack-default): New target.
42677 (generated): Add that instead of check-execstack.h.
42678 ($(all-built-dso:=.phdr)): New static pattern rule.
42679 (generated): Add those targets.
42680 * elf/check-execstack.c: File removed.
42681
82a79e7d
RM
42682 * scripts/check-textrel.awk: New file.
42683 * elf/Makefile ($(objpfx)check-textrel): Target removed.
42684 (check-textrel-CFLAGS): Variable removed.
42685 (all-built-dso): Use := to define.o
42686 ($(all-built-dso:=.dyn)): New static pattern rule.
42687 (generated): Add those targets.
42688 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
42689 * config.make.in (READELF): New substituted variable.
42690 * elf/check-textrel.c: File removed.
42691
62fde54f 426922012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 42693
615605c9
JM
42694 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42695 allow.
42696 * conform/data/ctype.h-data [C99-based standards] (isblank):
42697 Expect function.
42698 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
42699 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
42700 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42701 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
42702 Specify type. Require positive value.
42703 (EILSEQ): Likewise.
42704 (ERANGE): Likewise.
42705 [ISO || POSIX] (EILSEQ): Do not expect.
42706 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
42707 Specify type. Require positive value.
42708 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
42709 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
42710 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
42711 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
42712 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
42713 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
42714 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
42715 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
42716 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
42717 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
42718 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
42719 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
42720 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
42721 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
42722 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
42723 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
42724 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
42725 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
42726 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
42727 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
42728 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
42729 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
42730 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
42731 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
42732 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
42733 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
42734 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
42735 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
42736 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
42737 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
42738 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
42739 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
42740 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
42741 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
42742 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
42743 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
42744 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
42745 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
42746 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
42747 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
42748 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
42749 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
42750 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
42751 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
42752 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
42753 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
42754 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
42755 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
42756 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
42757 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
42758 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
42759 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
42760 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
42761 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
42762 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
42763 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
42764 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
42765 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
42766 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
42767 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
42768 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
42769 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
42770 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
42771 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
42772 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
42773 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
42774 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
42775 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
42776 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
42777 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
42778 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
42779 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
42780 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
42781 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
42782 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
42783 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
42784 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
42785 Require >= 2.
42786 (FLT_ROUNDS): Expect as macro, not constant.
42787 (FLT_MANT_DIG): Use macro-int-constant.
42788 (DBL_MANT_DIG): Likewise.
42789 (LDBL_MANT_DIG): Likewise.
42790 (FLT_DIG): Likewise.
42791 (DBL_DIG): Likewise.
42792 (LDBL_DIG): Likewise.
42793 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
42794 (DBL_MIN_EXP): Likewise.
42795 (LDBL_MIN_EXP): Likewise.
42796 (FLT_MAX_EXP): Use macro-int-constant.
42797 (DBL_MAX_EXP): Likewise.
42798 (LDBL_MAX_EXP): Likewise.
42799 (FLT_MAX_10_EXP): Likewise.
42800 (DBL_MAX_10_EXP): Likewise.
42801 (LDBL_MAX_10_EXP): Likewise.
42802 (FLT_MAX): Use macro-constant.
42803 (DBL_MAX): Likewise.
42804 (LDBL_MAX): Likewise.
42805 (FLT_EPSILON): Use macro-constant. Give upper bound.
42806 (DBL_EPSILON): Likewise.
42807 (LDBL_EPSILON): Likewise.
42808 (FLT_MIN): Likewise.
42809 (DBL_MIN): Likewise.
42810 (LDBL_MIN): Likewise.
42811 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
42812 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
42813 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
42814 [ISO11] (FLT_HAS_SUBNORM): Likewise.
42815 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
42816 [ISO11] (DBL_DECIMAL_DIG): Likewise.
42817 [ISO11] (FLT_DECIMAL_DIG): Likewise.
42818 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
42819 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
42820 [ISO11] (FLT_TRUE_MIN): Likewise.
42821 [ISO11] (LDBL_TRUE_MIN): Likewise.
42822 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42823 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
42824 (SCHAR_MIN): Use macro-int-constant. Specify type.
42825 (SCHAR_MAX): Likewise.
42826 (UCHAR_MAX): Likewise.
42827 (CHAR_MIN): Likewise.
42828 (CHAR_MAX): Likewise.
42829 (MB_LEN_MAX): Use macro-int-constant.
42830 (SHRT_MIN): Use macro-int-constant. Specify type.
42831 (SHRT_MAX): Likewise.
42832 (USHRT_MAX): Likewise.
42833 (INT_MAX): Likewise.
42834 (INT_MIN): Use macro-int-constant. Specify type. Make upper
42835 bound negative.
42836 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
42837 bound with "U".
42838 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
42839 bound with "L".
42840 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
42841 bound negative. Suffix upper bound with "L".
42842 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
42843 bound with "UL".
42844 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
42845 Specify type.
42846 [C99-based standards] (LLONG_MAX): Likewise.
42847 [C99-based standards] (ULLONG_MAX): Likewise.
42848 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
42849 == 0.
42850 [ISO11] (max_align_t): Require type.
42851 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42852
c9140a62
JM
42853 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
42854 from $CFLAGS, without defining away __attribute__ calls.
42855 (checknamespace): Use $CFLAGS_namespace.
42856
9af0bf29
JM
42857 * conform/conformtest.pl (@keywords): Only include C99 keywords
42858 for standards based on C99 or C11.
42859
343222a2
JM
42860 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
42861 Disable tests.
42862 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
42863 UNIX98]: Likewise.
42864
661f8cf0
JM
42865 * conform/conformtest.pl: Handle "macro-int-constant" and test for
42866 usability of symbols in #if.
42867
ee74b9cb
JM
42868 * conform/conformtest.pl: If macro or constant types start
42869 "promoted:", expect the symbol to be of the following type
42870 promoted by the integer promotions.
62fde54f 42871
aafc49b3
JM
42872 * conform/conformtest.pl: Parse all "constant" and "macro" lines
42873 in one place. Also handle "macro-constant".
42874
fefdf574
JM
42875 * conform/conformtest.pl: Only accept expected macro values with
42876 "==". Parse all "macro" lines in one place.
42877 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
42878
f2d922fe
JM
42879 * conform/conformtest.pl: Handle braced types on "constant" lines
42880 instead of handling "typed-constant".
42881 * conform/data/signal.h-data: Use "constant" instead of
42882 "typed-constant".
42883
d22956c9
JM
42884 * conform/conformtest.pl: Handle "optional-" at start of lines in
42885 one place rather than duplicating several cases. Handle each
42886 format of "macro" line with initial "optional-".
42887
028e2e38
JM
42888 * conform/conformtest.pl: Only accept expected constant or
42889 optional-constant values with "==". Parse all "constant" lines in
42890 one place. Parse all "optional-constant" lines in one place.
42891 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
42892 * conform/data/fmtmsg.h-data: Likewise.
42893 * conform/data/netinet/in.h-data: Likewise.
42894 * conform/data/tar.h-data: Likewise.
42895 * conform/data/limits.h-data: Use "==" form on "constant" and
42896 "optional-constant" lines.
42897
1b8f2850
JM
42898 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
42899 Use -std=c99 for XOPEN2K.
42900 (@knownproblems): Remove.
42901 (newtoken): Don't check %isknown.
42902
a05a144b
JM
42903 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
42904 Do not expect macro.
42905 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
42906 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
42907 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
42908 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
42909 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
42910 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
42911 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
42912 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
42913 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
42914 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
42915 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
42916 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
42917 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
42918 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
42919 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
42920 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
42921 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
42922 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
42923 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
42924 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
42925 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
42926 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
42927 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
42928 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
42929 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
42930 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
42931 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
42932 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
42933 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
42934 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
42935 [XPG3] (acosh): Likewise.
42936 [XPG3] (asinh): Likewise.
42937 [XPG3] (atanh): Likewise.
42938 [XPG3] (cbrt): Likewise.
42939 [XPG3] (expm1): Likewise.
42940 [XPG3] (ilogb): Likewise.
42941 [XPG3] (log1p): Likewise.
42942 [XPG3] (logb): Likewise.
42943 [XPG3] (nextafter): Likewise.
42944 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
42945 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
42946 [XPG3] (remainder): Likewise.
42947 [XPG3] (rint): Likewise.
42948 [XPG3 || XPG4 || UNIX98] (round): Likewise.
42949 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
42950 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
42951 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
42952 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
42953 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
42954 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
42955 [UNIX98 || XOPEN2K] (scalb): Expect.
42956 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
42957 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
42958 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
42959 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
42960 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
42961 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
42962 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
42963 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
42964 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
42965 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
42966 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
42967 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
42968 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
42969 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
42970 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
42971 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
42972 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
42973 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
42974 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
42975 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
42976 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
42977 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
42978 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
42979 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
42980 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
42981 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
42982 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
42983 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
42984 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
42985 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
42986 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
42987 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
42988 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
42989 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
42990 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
42991 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
42992 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
42993 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
42994 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
42995 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
42996 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
42997 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
42998 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
42999 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
43000 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
43001 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
43002 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
43003 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
43004 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
43005 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
43006 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
43007 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
43008 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
43009 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
43010 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
43011 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
43012 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
43013 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
43014 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
43015 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
43016 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
43017 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
43018 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
43019 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
43020 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
43021 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
43022 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
43023 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
43024 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
43025 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
43026 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
43027 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
43028 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
43029 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
43030 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
43031 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
43032 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
43033 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
43034 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
43035 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
43036 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
43037 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
43038 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
43039 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
43040 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
43041 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
43042 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
43043 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
43044 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
43045 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
43046 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
43047 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
43048 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
43049 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
43050 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
43051 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
43052 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
43053 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
43054 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
43055 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
43056 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
43057 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
43058 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
43059 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
43060 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
43061 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
43062 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
43063 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
43064 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
43065 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
43066 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
43067 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
43068 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
43069 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
43070 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
43071 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
43072 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
43073 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
43074 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
43075 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
43076 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
43077 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
43078 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
43079 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
43080 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
43081 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
43082 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
43083 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
43084 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
43085 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
43086 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
43087 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
43088 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
43089 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
43090 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
43091 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
43092 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
43093
73c5ebe3
JM
43094 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
43095 _XOPEN_SOURCE_EXTENDED for XPG4.
43096
39c33b6c
JM
43097 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
43098
62fde54f
JM
43099 * Makeconfig (localtime): Remove variable.
43100 (inst_localtime-file): Likewise.
43101
0741d64c
AS
431022012-05-01 Andreas Schwab <schwab@linux-m68k.org>
43103
43104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
43105 Update.
43106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43107 Update.
43108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
43109 Update.
43110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
43111 Update.
43112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
43113 Update.
43114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
43115 Update.
43116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43117 Update.
43118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
43119 Update.
43120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43121 Update.
43122
7cb029ee
JM
431232012-05-01 Joseph Myers <joseph@codesourcery.com>
43124
43125 [BZ #2550]
43126 [BZ #2570]
43127 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
43128 comparisons to determine direction to adjust input.
43129 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
43130 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
43131 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
43132 Likewise.
43133 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
43134 Likewise.
43135 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
43136 Likewise.
43137 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
43138 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
43139 Likewise.
43140 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
43141 Likewise.
43142 * math/libm-test.inc (nexttoward_test): Add more tests.
43143
412bd966
AS
431442012-05-01 Andreas Schwab <schwab@linux-m68k.org>
43145
43146 [BZ #14040]
43147 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
43148 in version GLIBC_2.1, not GLIBC_2.0.
43149 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
43150 Likewise.
43151
9568c0c2
JM
431522012-04-30 Joseph Myers <joseph@codesourcery.com>
43153
adfbc8ac
JM
43154 [BZ #13942]
43155 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
43156 (1 - x) * (1 + x).
43157 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43158 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
43159 * math/libm-test.inc (acos_test): Add more tests.
43160 (asin_test): Likewise.
43161 * sysdeps/i386/fpu/libm-test-ulps: Update.
43162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43163
5ba3cc69
JM
43164 [BZ #14034]
43165 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
43166 of square root.
43167 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
43168 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43169 * math/libm-test.inc (acos_test_tonearest): New function.
43170 (acos_test_towardzero): Likewise.
43171 (acos_test_downward): Likewise.
43172 (acos_test_upward): Likewise.
43173 (asin_test_tonearest): Likewise.
43174 (asin_test_towardzero): Likewise.
43175 (asin_test_downward): Likewise.
43176 (asin_test_upward): Likewise.
43177 (main): Call the new functions.
43178 * sysdeps/i386/fpu/libm-test-ulps: Update.
43179 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43180
9568c0c2
JM
43181 [BZ #13884]
43182 [BZ #13924]
43183 * math/e_exp10.c: Include <float.h>.
43184 (__ieee754_exp10): Handle underflow here rather than multiplying
43185 large negative argument by M_LN10.
43186 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
43187 of __ieee754_expf.
43188 * math/e_exp10l.c: Include <float.h>.
43189 (__ieee754_exp10l): Handle underflow here rather than multiplying
43190 large negative argument by M_LN10l.
43191 * math/libm-test.inc (exp10_test): Add another test. Do not allow
43192 spurious overflow exception on underflow.
43193
5ac3ea17
MP
431942012-04-29 Marek Polacek <polacek@redhat.com>
43195
43196 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
43197 (__fortify_function): New macro.
43198 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
43199 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
43200 __extern_always_inline.
43201 * libio/bits/stdio2.h: Likewise.
43202 * libio/bits/stdio.h: Likewise.
43203 * string/string.h: Likewise.
43204 * string/bits/string3.h: Likewise.
43205 * include/stdio.h: Likewise.
43206 * stdlib/bits/stdlib.h: Likewise.
43207 * stdlib/stdlib.h: Likewise.
43208 * rt/bits/mqueue2.h: Likewise.
43209 * rt/mqueue.h: Likewise.
43210 * posix/bits/unistd.h: Likewise.
43211 * posix/unistd.h: Likewise.
43212 * io/bits/poll2.h: Likewise.
43213 * io/bits/fcntl2.h: Likewise.
43214 * io/fcntl.h: Likewise.
43215 * io/sys/poll.h: Likewise.
43216 * misc/bits/syslog.h: Likewise.
43217 * misc/bits/syslog-ldbl.h: Likewise.
43218 * misc/sys/syslog.h: Likewise.
43219 * socket/bits/socket2.h: Likewise.
43220 * socket/sys/socket.h: Likewise.
43221 * debug/tst-chk1.c: Likewise.
43222 * wcsmbs/bits/wchar2.h: Likewise.
43223 * wcsmbs/bits/wchar-ldbl.h: Likewise.
43224 * wcsmbs/wchar.h: Likewise.
43225
ecf0ebfb
AJ
432262012-04-29 Andreas Jaeger <aj@suse.de>
43227
43228 * Makerules (tests): Remove enable-check-abi protection.
43229 (check-abi-warn): Remove.
43230 (check-abi-%): Remove check-abi-warn usage.
43231
43232 * configure.in: Remove check-abi configure option.
43233 * configure: Regenerated.
43234 * config.make.in (enable-check-abi): Remove.
43235
6d5c57fa
AS
432362012-04-28 Andreas Schwab <schwab@linux-m68k.org>
43237
24c5d07e 43238 [BZ #14033]
ded5180a
AS
43239 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
43240 double functions to double *_finite functions.
43241
7e0d315d
AS
43242 [BZ #13941]
43243 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
43244 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
43245 LDBL_MIN_EXP.
43246 * stdio-common/Makefile (tests): Add tst-sprintf3.
43247 * stdio-common/tst-sprintf3.c: New file.
43248
6d5c57fa
AS
43249 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
43250 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
43251
0749ff8b
JM
432522012-04-28 Joseph Myers <joseph@codesourcery.com>
43253
43254 * conform/conformtest.pl: Remove duplicate typed-constant
43255 handling.
43256
8dbd5d7b
DM
432572012-04-28 David S. Miller <davem@davemloft.net>
43258
43259 * Makerules (%.abilist): Add vpath on sysdep_dirs.
43260 (check-abi-%): Remove AWK script prerequisite and explicit
43261 abilist directory.
43262 (check-abi): Rewrite to just diff the symlist with the abilist.
43263 (config-tls, config-abi-config): Delete, no longer used.
43264 (update-abi-%): Remove AWK script and explicit abilist directory.
43265 (update-abi): Rewrite to simply compare and conditionally copy the
43266 symlist and the sysdep abilist file. Remove update-abi-config
43267 checks.
43268 * abilist/ld.abilist: Remove.
43269 * abilist/libBrokenLocale.abilist: Remove.
43270 * abilist/libanl.abilist: Remove.
43271 * abilist/libcrypt.abilist: Remove.
43272 * abilist/libdl.abilist: Remove.
43273 * abilist/librt.abilist: Remove.
43274 * abilist/libthread_db.abilist: Remove.
43275 * abilist/libutil.abilist: Remove.
43276 * scripts/extract-abilist.awk: Remove.
43277 * scripts/merge-abilist.awk: Remove.
43278 * sysdeps/generic/libcidn.abilist: New file.
43279 * sysdeps/generic/libnss_compat.abilist: New file.
43280 * sysdeps/generic/libnss_db.abilist: New file.
43281 * sysdeps/generic/libnss_dns.abilist: New file.
43282 * sysdeps/generic/libnss_files.abilist: New file.
43283 * sysdeps/generic/libnss_hesiod.abilist: New file.
43284 * sysdeps/generic/libnss_nis.abilist: New file.
43285 * sysdeps/generic/libnss_nisplus.abilist: New file.
43286 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
43287 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
43288 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
43289 file.
43290 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
43291 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
43292 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
43293 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
43294 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
43295 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
43296 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
43297 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
43298 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
43299 file.
43300 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
43301 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
43302 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
43303 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
43304 file.
43305 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
43306 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
43307 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
43308 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
43309 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
43310 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
43311 file.
43312 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
43313 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
43314 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
43315 file.
43316 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
43317 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
43318 New file.
43319 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
43320 New file.
43321 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
43322 New file.
43323 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
43324 New file.
43325 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
43326 New file.
43327 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
43328 New file.
43329 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
43330 New file.
43331 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
43332 New file.
43333 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
43334 New file.
43335 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
43336 New file.
43337 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
43338 New file.
43339 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
43340 New file.
43341 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
43342 New file.
43343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
43344 file.
43345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
43346 New file.
43347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
43348 New file.
43349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
43350 file.
43351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
43352 New file.
43353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
43354 New file.
43355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
43356 file.
43357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
43358 New file.
43359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43360 New file.
43361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
43362 New file.
43363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
43364 New file.
43365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
43366 New file.
43367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
43368 New file.
43369 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
43370 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
43371 file.
43372 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
43373 New file.
43374 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
43375 file.
43376 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
43377 file.
43378 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
43379 file.
43380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
43381 file.
43382 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
43383 file.
43384 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43385 New file.
43386 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
43387 file.
43388 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
43389 file.
43390 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
43391 New file.
43392 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
43393 file.
43394 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
43395 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
43396 file.
43397 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
43398 New file.
43399 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
43400 file.
43401 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
43402 file.
43403 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
43404 file.
43405 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
43406 file.
43407 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
43408 file.
43409 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43410 New file.
43411 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
43412 file.
43413 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
43414 file.
43415 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
43416 New file.
43417 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
43418 file.
43419 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
43420 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
43421 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
43422 file.
43423 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
43424 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
43425 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
43426 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
43427 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
43428 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
43429 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
43430 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
43431 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
43432 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
43433 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
43434 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
43435 file.
43436 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
43437 New file.
43438 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
43439 file.
43440 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
43441 file.
43442 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
43443 file.
43444 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
43445 file.
43446 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
43447 file.
43448 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
43449 New file.
43450 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
43451 New file.
43452 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
43453 file.
43454 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
43455 New file.
43456 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
43457 file.
43458 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
43459 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
43460 file.
43461 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
43462 New file.
43463 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
43464 file.
43465 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
43466 file.
43467 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
43468 file.
43469 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
43470 file.
43471 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
43472 file.
43473 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
43474 New file.
43475 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
43476 New file.
43477 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
43478 file.
43479 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
43480 New file.
43481 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
43482 file.
43483
41d73a1b
JM
434842012-04-28 Joseph Myers <joseph@codesourcery.com>
43485
43486 * conform/conformtest.pl: Fix typo in handling typed-constant from
43487 allow-header.
43488
28aeeda4
JM
434892012-04-27 Joseph Myers <joseph@codesourcery.com>
43490
adae8f5e
JM
43491 * README: Cut down references to pre-2.6 Linux kernels and
43492 Linuxthreads. Update lists of configurations in libc and ports
43493 and sort alphabetically. Say "or newer" with Linux kernel version
43494 requirements.
43495
28aeeda4
JM
43496 * config.h.in [IS_IN_build]: Allow compiling without optimization.
43497
a462cb63
RA
434982012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
43499
43500 [BZ #887]
43501 * math/libm-test.inc (logb_test_downward): New test to expose
43502 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
43503 rounding mode.
43504
6ad3493e
JM
435052012-04-27 Joseph Myers <joseph@codesourcery.com>
43506
43507 [BZ #14027]
43508 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
43509 to be done.
43510 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
43511 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
43512
2ce4f015
JM
435132012-04-26 Joseph Myers <joseph@codesourcery.com>
43514
5aeb141a
JM
43515 * sysdeps/unix/i386/brk.S: Remove file.
43516 * sysdeps/unix/i386/dl-brk.S: Likewise.
43517 * sysdeps/unix/i386/pipe.S: Likewise.
43518 * sysdeps/unix/i386/sigreturn.S: Likewise.
43519 * sysdeps/unix/i386/syscall.S: Likewise.
43520 * sysdeps/unix/i386/vfork.S: Likewise.
43521 * sysdeps/unix/i386/wait.S: Likewise.
43522
7143acae
JM
43523 * sysdeps/unix/common/tcsendbrk.c: Move to ...
43524 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
43525
2ce4f015
JM
43526 * configure.in (arm*-none*): Do not allow without
43527 --enable-hacker-mode.
43528 (netbsd*): Remove case setting base_os.
43529 (386bsd*): Likewise.
43530 (freebsd*): Likewise.
43531 (bsdi*): Likewise.
43532 (osf*): Likewise.
43533 (sunos*): Likewise.
43534 (ultrix*): Likewise.
43535 (newsos*): Likewise.
43536 (dynix*): Likewise.
43537 (*bsd*): Likewise.
43538 (sysv*): Likewise.
43539 (isc*): Likewise.
43540 (esix*): Likewise.
43541 (sco*): Likewise.
43542 (minix*): Likewise.
43543 (irix4*): Likewise.
43544 (irix6*): Likewise.
43545 (solaris[2-9]*): Likewise.
43546 (none): Likewise.
43547 * configure: Regenerated.
43548
0ac229c8
AZ
435492012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43550
43551 [BZ #11521]
43552 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
43553 overflow or cancellation in calculating denominator.
43554 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
43555 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
43556 down expression to avoid unexpected rounding in newer GCCs.
43557 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
43558
33f244f4
DM
435592012-04-26 David S. Miller <davem@davemloft.net>
43560
43561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
43562 long-double compat symbols.
43563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
43564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
43565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
43566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
43567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
43568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
43569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
43570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
43571 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
43572 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
43573 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
43574 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
43575 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43576
cfa1f3e8
DM
435772012-04-25 David S. Miller <davem@davemloft.net>
43578
43579 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
43580 HWCAP_* values only after the memory barriers have been defined.
43581 (atomic_full_barrier): Define.
43582 (atomic_read_barrier): Define.
43583 (atomic_write_barrier): Define.
43584
6e236b92
SP
435852012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
43586
43587 * shlib-versions: Add libgcc_s version information.
43588 * sysdeps/generic/libgcc_s.h: Remove.
43589 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
43590 libgcc_s.h.
43591 * sysdeps/gnu/unwind-resume.c: Likewise.
43592 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
43593
aab39a09
DM
435942012-04-25 David S. Miller <davem@davemloft.net>
43595
43596 * sysdeps/unix/sparc/brk.S: Delete.
43597 * sysdeps/unix/sparc/dl-brk.S: Delete.
43598 * sysdeps/unix/sparc/pipe.S: Delete.
43599 * sysdeps/unix/sparc/sysdep.S: Delete.
43600 * sysdeps/unix/sparc/sysdep.h: Delete.
43601 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
43602 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
43603 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
43604 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
43605 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
43606 (JUMPTARGET): Remove.
43607 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
43608 sysdeps/unix/sparc/sysdep.h
43609 (ENTRY, END): Remove.
43610 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43611
a3cc4f48
JM
436122012-04-25 Joseph Myers <joseph@codesourcery.com>
43613
2ed8cda2
JM
43614 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
43615 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
43616 -DIS_IN_build.
43617
35d76d59
JM
43618 * timezone/README: Update upstream location and email address for
43619 tzcode and tzdata.
43620 * timezone/zdump.c: Update from tzcode 2012b.
43621 * timezone/zic.c: Likewise.
43622
a3cc4f48
JM
43623 * configure.in (libc_cv_as_needed): Remove test.
43624 * configure: Regenerated.
43625 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
43626 conditional definition.
43627 [$(have-as-needed) != yes] (no-as-needed): Likewise.
43628 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
43629 * config.make.in (have-as-needed): Remove variable.
43630
ceab42c3
SP
436312012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
43632 Paul Pluzhnikov <ppluzhnikov@google.com>
43633
43634 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
43635 strings correctly.
43636
3ce2865f
CLT
436372012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
43638
43639 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
43640 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
43641 * sysdeps/sh/strlen.S: Likewise.
43642
f37e0d68
JM
436432012-04-24 Joseph Myers <joseph@codesourcery.com>
43644
ae186e9a
JM
43645 * sysdeps/unix/fork.S: Remove file.
43646 * sysdeps/unix/i386/fork.S: Likewise.
43647 * sysdeps/unix/sparc/fork.S: Likewise.
43648
b96914af
JM
43649 * sysdeps/unix/system.c: Remove file.
43650 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
43651
f37e0d68
JM
43652 * sysdeps/unix/getegid.S: Remove file.
43653 * sysdeps/unix/geteuid.S: Likewise.
43654
87ef29ca
RM
436552012-04-24 Roland McGrath <roland@hack.frob.com>
43656
83bcd236
RM
43657 * scripts/check-localplt.awk: New file.
43658 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
43659 of diff.
43660 * scripts/data/localplt-generic.data: Add a comment.
43661
87ef29ca
RM
43662 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
43663 NODE when __dir_mkfile failed.
43664 * sysdeps/mach/hurd/symlinkat.c: Likewise.
43665 Reported by Ludovic Courtès <ludo@gnu.org>.
43666
e5a6e567
AJ
436672012-04-24 Andreas Jaeger <aj@suse.de>
43668
43669 * Makerules (common-clean): Also remove gen-as-const-headers
43670 files.
43671
c1820385
JM
436722012-04-24 Joseph Myers <joseph@codesourcery.com>
43673
43674 * Makerules (native-compile): Do not change working directory for
43675 build. Use $(OUTPUT_OPTION) in command.
43676 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
43677
94e02fc4
AZ
436782012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43679
43680 [BZ #13886]
43681 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
43682 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
43683 * math/libm-test.inc (floor_test): Add more tests.
43684 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
43685
3a533ca3
JM
436862012-04-24 Joseph Myers <joseph@codesourcery.com>
43687
940ab4b3
JM
43688 * sysdeps/unix/getdents.c: Remove file.
43689 * sysdeps/unix/sysv/getdents.c: Likewise.
43690 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
43691
90e037bd
JM
43692 * sysdeps/unix/syscalls.list (madvise): Add syscall from
43693 sysdeps/unix/mman/syscalls.list.
43694 (mmap): Likewise.
43695 (mprotect): Likewise.
43696 (msync): Likewise.
43697 (munmap): Likewise.
43698 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
43699 * sysdeps/unix/mman/syscalls.list: Remove.
43700 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
43701
3a533ca3
JM
43702 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
43703 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
43704 * configure: Regenerated.
43705 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
43706 $(libgcc_s_suffix).
43707 * config.make.in (libgcc_s_suffix): Remove variable.
43708
1ad743de
JM
437092012-04-23 Joseph Myers <joseph@codesourcery.com>
43710
4ad451e2
JM
43711 * sysdeps/unix/sysv/gethostname.c: Move to ...
43712 * sysdeps/posix/gethostname.c: ... here.
43713
5e37ce39
JM
43714 * sysdeps/unix/execve.S: Remove file.
43715
1ad743de
JM
43716 * sysdeps/unix/_exit.S: Remove file.
43717
4e681b5b
AJ
437182012-04-23 Andreas Jaeger <aj@suse.de>
43719
43720 [BZ #13739]
43721 * manual/Makefile: Remove make dist support, there's no
43722 need for a stand-alone documentation tar ball.
43723 (TEXI2DVI): Define always, it's not in Makeconfig.
43724 (dist): Removed.
43725 (tar-it): Removed.
43726 (edition): Removed.
43727 (glibc-doc-$(edition).tar): Removed
43728 (%.Z): Removed.
43729 (%.gz): Removed.
43730 (%.uu): Removed.
43731 (ETAGS): Remove, it's in Makeconfig.
43732 (move-if-change): Remove, it's in Makeconfig.
43733
38686a03 437342012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
43735
43736 [BZ #13970]
43737 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
43738 (strtod, strtof, strtold, strtol, strtoul, strtoq)
43739 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
43740 (strtod_l, strtof_l, strtold_l): Remove __wur.
43741 It is not necessarily an error to ignore strtol's return value.
43742 One can reliably look at the stored endptr to decide whether
43743 the number had valid syntax.
43744
7c0616fa
AJ
437452012-04-21 Andreas Jaeger <aj@suse.de>
43746
803cb6b7 43747 [BZ #13739]
7c0616fa
AJ
43748 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
43749
b0fe253f
JM
437502012-04-21 Joseph Myers <joseph@codesourcery.com>
43751
43752 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
43753 * sysdeps/unix/sysv/Versions: Remove file.
43754
8280f22d
MT
437552012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
43756
43757 [BZ #13927]
43758 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43759
75ce411f 437602012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
43761
43762 [BZ #7064]
43763 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
43764 version from __vm86.
43765
097d59fa
JM
437662012-04-20 Joseph Myers <joseph@codesourcery.com>
43767
a90f3bcb
JM
43768 * sysdeps/unix/common/lxstat.c: Remove file.
43769 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
43770
edc7ea78
JM
43771 * sysdeps/unix/sysv/Makefile: Remove file.
43772
cb78c221
JM
43773 * sysdeps/unix/sysv/direct.h: Remove file.
43774
efa6a45f
JM
43775 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
43776 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
43777 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
43778 * sysdeps/unix/sysv/bits/signum.h: Likewise.
43779 * sysdeps/unix/sysv/bits/stat.h: Likewise.
43780 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
43781 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
43782
9c9f2d0c
JM
43783 * sysdeps/unix/sysv/setrlimit.c: Remove file.
43784
4541c83b
JM
43785 * sysdeps/unix/xmknod.c: Remove file.
43786 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
43787
f5d153a0
JM
43788 * sysdeps/unix/sysv/settimeofday.c: Remove file.
43789
aa746595
JM
43790 * sysdeps/unix/sysv/i386/time.S: Remove file.
43791
cce5905e
JM
43792 * sysdeps/unix/fxstat.c: Remove file.
43793 * sysdeps/unix/xstat.c: Likewise.
43794 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
43795
37fa3841
JM
43796 * sysdeps/unix/sysv/sigaction.c: Remove file.
43797
ff1962a3
JM
43798 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
43799 (sysdep_headers): Remove variable.
43800 [termio.h not in sysdep_headers] (generated): Likewise.
43801 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
43802 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
43803 * sysdeps/unix/sysv/tcdrain.c: Likewise.
43804 * sysdeps/unix/sysv/tcflow.c: Likewise.
43805 * sysdeps/unix/sysv/tcflush.c: Likewise.
43806 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
43807 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
43808 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
43809 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
43810 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
43811
e7740d31
JM
43812 * sysdeps/unix/siglist.c: Remove file.
43813
ee06f18b
JM
43814 * sysdeps/unix/getppid.S: Remove file.
43815
097d59fa
JM
43816 * sysdeps/unix/mkdir.c: Remove file.
43817 * sysdeps/unix/rmdir.c: Likewise.
43818
ff3d51ec
AS
438192012-04-19 Andreas Schwab <schwab@linux-m68k.org>
43820
43821 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
43822 ERR_MAX value.
43823 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
43824 errlist-compat value.
43825
50f81fd7
DM
438262012-04-18 David S. Miller <davem@davemloft.net>
43827
43828 * sysdeps/generic/memcopy.h (reg_char): Delete.
43829 * debug/strcat_chk.c: Use char, not reg_char.
43830 * debug/strcpy_chk.c: Likewise.
43831 * debug/strncat_chk.c: Likewise.
43832 * debug/strncpy_chk.c: Likewise.
43833 * string/memchr.c: Likewise.
43834 * string/memrchr.c: Likewise.
43835 * string/rawmemchr.c: Likewise.
43836 * string/strcat.c: Likewise.
43837 * string/strchr.c: Likewise.
43838 * string/strchrnul.c: Likewise.
43839 * string/strcmp.c: Likewise.
43840 * string/strcpy.c: Likewise.
43841 * string/strncat.c: Likewise.
43842 * string/strncmp.c: Likewise.
43843 * string/strncpy.c: Likewise.
43844
8ff41c46
WS
438452012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43846
43847 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
43848 __builtin_memcopy is called when src and dest ranges are known to not
43849 overlap.
43850
6b652f46
WS
438512012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43852
43853 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
43854 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
43855 fwd_align_merge macro call.
43856 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
43857 bwd_align_merge macro call.
43858 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43859
b282631e
WS
438602012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43861
43862 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
43863 bwd_align_merge macros.
43864 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
43865 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
43866 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43867
95aa737c
DM
438682012-04-18 David S. Miller <davem@davemloft.net>
43869
43870 * sysdeps/sparc/sparc64/memcopy.h: Delete.
43871
7a99a614
AJ
438722012-04-18 Andreas Jaeger <aj@suse.de>
43873
43874 [BZ# 6794]
43875 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
43876 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
43877 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43878
43879 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
43880 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
43881 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43882
43883 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
43884 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
43885 Adjust for changed ldbl-128 files.
43886
43887 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
43888 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
43889 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43890
e5270c23
DM
438912012-04-17 David S. Miller <davem@davemloft.net>
43892
43893 * sysdeps/sparc/sparc32/memcopy.h: Delete.
43894
fb5e92c9
AS
438952012-04-17 Andreas Schwab <schwab@linux-m68k.org>
43896
43897 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
43898 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
43899 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
43900 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
43901 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
43902 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
43903
76da7265
AZ
439042012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43905
43906 [BZ #6794]
43907 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
43908 * math/libm-test.inc: Add ilogb errno and exception tests.
43909 * math/w_ilogb.c: New file: ilogb wrapper.
43910 * math/w_ilogbf.c: New file: ilogbf wrapper.
43911 * math/w_ilogbl.c: New file: ilogbl wrapper.
43912 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
43913 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
43914 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
43915 exception being thrown with 0.0 as argument.
43916 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
43917 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
43918 exception being thrown with 0.0 as argument.
43919 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
43920 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
43921 exception being thrown with 0.0 as argument.
43922 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
43923 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
43924 exception being thrown with 0.0 as argument.
43925 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
43926 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 43927 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
43928 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
43929 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
43930 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
43931 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
43932 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
43933 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
43934
0396e69d
PB
439352012-04-17 Petr Baudis <pasky@ucw.cz>
43936
43937 * include/sys/uio.h: Change __vector to __iovec to avoid clash
43938 with altivec.
43939
750b5926
MP
439402012-04-16 Marek Polacek <polacek@redhat.com>
43941
43942 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
43943
751728a1
MP
439442012-04-16 Marek Polacek <polacek@redhat.com>
43945
43946 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
43947 operands of fdivp instruction.
43948
34a27407
L
439492012-04-13 H.J. Lu <hongjiu.lu@intel.com>
43950
43951 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
43952 * elf/tst-auditmod3b.c: Likewise.
43953 * elf/tst-auditmod4b.c: Likewise.
43954 * elf/tst-auditmod5b.c: Likewise.
43955 * elf/tst-auditmod6b.c: Likewise.
43956 * elf/tst-auditmod6c.c: Likewise.
43957 * elf/tst-auditmod7b.c: Likewise.
43958 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
43959 * sysdeps/x86_64/preconfigure.in: Likewise.
43960 * sysdeps/x86_64/preconfigure: Regenerated.
43961
7e73e17d
L
439622012-04-13 H.J. Lu <hongjiu.lu@intel.com>
43963
43964 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
43965 __ILP32__.
43966
c7a6ab72
AB
439672012-04-13 Antoine Balestrat <merkil33@gmail.com>
43968
43969 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43970 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
43971
a9e8e0e0
CL
439722012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
43973
43974 [BZ #13973]
43975 * locale/iso-639.def: Fix gl language name. Spotted by
43976 Yaron Shahrabani.
43977
ec98af7d
RM
439782012-04-12 Roland McGrath <roland@hack.frob.com>
43979
43980 [BZ #2074]
43981 * libio/libio.h (__io_write_fn): Update comment.
43982
247c3ede
PB
439832012-04-12 Petr Baudis <pasky@ucw.cz>
43984
43985 [BZ #2074]
43986 * stdio.texi (Hook Functions): The user provided writer function
43987 is not allowed to return -1.
43988
55939d6d
DM
439892012-04-11 David S. Miller <davem@davemloft.net>
43990
43991 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43992
90020f5a
MF
439932012-04-11 Mike Frysinger <vapier@gentoo.org>
43994
43995 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
43996 Add a leading slash to rtkaio.
43997
288f9098
JM
439982012-04-11 Jim Meyering <meyering@redhat.com>
43999
90020f5a
MF
44000 [BZ #11959]
44001 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
44002 It is not necessarily an error to ignore fwrite's return
44003 value. One can reliably use ferror to test for errors after
44004 the fact.
288f9098 44005
4be2b570
L
440062012-04-10 H.J. Lu <hongjiu.lu@intel.com>
44007
44008 * bits/types.h (__snseconds_t): New type.
44009 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
44010
44011 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
44012 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44013 (__SNSECONDS_T_TYPE): Likewise.
44014 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44015 (__SNSECONDS_T_TYPE): Likewise.
44016 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44017 (__SNSECONDS_T_TYPE): Likewise.
44018
288f9098 440192012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
44020
44021 [BZ #2636]
44022 * manual/time.texi (Processor Time): Return type of times is
44023 elapsed real time since an arbitrary point in the past.
44024 (CPU Time): Move CLK_TCK from here...
44025 (Processor Time): ...to here. Correct description.
44026 * manual/conf.texi (Constants for Sysconf): Correct description of
44027 _SC_CLK_TCK.
44028
d7dd4413
DM
440292012-04-10 David S. Miller <davem@davemloft.net>
44030
44031 [BZ #13967]
44032 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
44033 where the is a gap between DT_REL(A) and DT_JMPREL.
44034
b46068fc
L
440352012-04-10 H.J. Lu <hongjiu.lu@intel.com>
44036
44037 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
44038 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
44039 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44040
73d65cc3
SP
440412012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
44042
44043 * elf/dl-support.c (_dl_inhibit_cache): New variable.
44044 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
44045 (dl_main): Handle --inhibit-cache.
44046 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
44047 _dl_inhibit_cache.
44048 * elf/dl-load.c (_dl_map_object): Use it.
44049 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
44050
bcc8d661
JM
440512012-04-09 Joseph Myers <joseph@codesourcery.com>
44052
8f9a2fae
JM
44053 [BZ #13872]
44054 * sysdeps/i386/fpu/e_powl.S (p78): New object.
44055 (__ieee754_powl): Saturate large exponents rather than testing for
44056 overflow of y*log2(x).
44057 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44058 * math/libm-test.inc (pow_test): Do not permit spurious overflow
44059 exceptions.
44060
bcc8d661
JM
44061 [BZ #11521]
44062 * math/s_ctan.c: Include <float.h>.
44063 (__ctan): Avoid internal overflow or cancellation in calculating
44064 denominator.
44065 * math/s_ctanf.c: Likewise.
44066 * math/s_ctanl.c: Likewise.
44067 * math/s_ctanh.c: Likewise.
44068 * math/s_ctanhf.c: Likewise.
44069 * math/s_ctanhl.c: Likewise.
44070 * math/libm-test.inc (ctan_test): Add more tests.
44071 (ctanh_test): Likewise.
44072 * sysdeps/i386/fpu/libm-test-ulps: Update.
44073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44074
823fbbb4
AJ
440752012-04-09 Andreas Jaeger <aj@suse.de>
44076
03879793
AJ
44077 [BZ #6894]
44078 * manual/filesys.texi (Directory Entries): Mention that d_namlen
44079 is an optional BSD extension.
44080
823fbbb4
AJ
44081 [BZ #10254]
44082 * manual/stdio.texi (Opening Streams): Document additional fopen
44083 parameters.
44084
8de131cb
RM
440852012-04-09 Roland McGrath <roland@hack.frob.com>
44086
44087 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
44088 %eax without telling the compiler.
44089
c0ed9d7d
CD
440902012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
44091
44092 [BZ # 13963]
44093 * manual/install.texi: Use sourceware.org.
44094
c483f6b4
JM
440952012-04-09 Joseph Myers <joseph@codesourcery.com>
44096
d7dd9453
JM
44097 [BZ #13873]
44098 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
44099 (__ieee754_pow): Generate overflow and underflow using huge*huge
44100 and tiny*tiny rather than just returning constant infinity or zero
44101 for large exponents.
44102 * math/libm-test.inc (pow_test): Require overflow exceptions for
44103 applicable cases of large exponents.
44104
c483f6b4
JM
44105 [BZ #706]
44106 * sysdeps/i386/fpu/e_pow.S (p10): New object.
44107 (__ieee754_pow): Use iterative multiplication algorithm only for
44108 integer exponents with absolute value below 1024. Check for odd
44109 integer exponents when using algorithm for real exponents.
44110 * math/libm-test.inc (pow_test): Add more tests.
44111 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44112
d2de7579
JM
441132012-04-08 Joseph Myers <joseph@codesourcery.com>
44114
44115 [BZ #13705]
44116 * math/libm-test.inc (exp_test): Do not allow overflow exception
44117 on underflow test.
44118
f77f1232
AJ
441192012-04-08 Aurelien Jarno <aurelien@aurel32.net>
44120
44121 [BZ #13705]
44122 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
44123 instead of __kernel_standard_f.
44124
3884932b
MF
441252012-04-08 Mike Frysinger <vapier@gentoo.org>
44126
44127 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
44128 * sysdeps/x86_64/memset_chk.S: Likewise.
44129
54472e9c
AJ
441302012-04-08 Andreas Jaeger <aj@suse.de>
44131
6ab0fbfc
AJ
44132 [BZ #10153]
44133 * manual/startup.texi (Environment Access): Describe return value
44134 for putenv and setenv.
44135
61efba8c
AJ
44136 [BZ #6895]
44137 * manual/filesys.texi (Directory Entries): Add description for
44138 DT_LNK.
44139
95c3f29a
AJ
44140 [BZ #6890]
44141 * manual/filesys.texi (Directory Entries): Clarify that it's file
44142 system not operating system in the description of DT_UNKNOWN.
44143
54472e9c
AJ
44144 [BZ #6578]
44145 * manual/syslog.texi (closelog): Fix reference, it's openlog.
44146
624254b1
SC
441472012-04-08 Stephen Compall <s11@member.fsf.org>
44148
44149 [BZ #6649]
44150 * manual/llio.texi (Opening and Closing Files): Add cross
44151 reference to explain mode argument.
44152
1e4920e0
MF
441532012-04-07 Mike Frysinger <vapier@gentoo.org>
44154
44155 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
44156 * sysdeps/x86_64/memset_chk.S: Likewise.
44157
5ed848f3
DM
441582012-04-07 David S. Miller <davem@davemloft.net>
44159
44160 * elf/elf.h (R_SPARC_WDISP10): Define.
44161 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
44162 R_SPARC_SIZE32.
44163 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
44164 R_SPARC_SIZE64 and R_SPARC_H34.
44165
96154cd8
CD
441662012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
44167
44168 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
44169 conditions and remove no longer applicable assertion.
44170
9904dc47
L
441712012-04-06 H.J. Lu <hongjiu.lu@intel.com>
44172
44173 * bits/byteswap.h: Include <features.h>.
44174 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
44175 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44176
f8887d0a
L
441772012-04-06 H.J. Lu <hongjiu.lu@intel.com>
44178
44179 * bits/byteswap.h (__bswap_16): Removed.
44180 Include <bits/byteswap-16.h> to get __bswap_16.
44181 * sysdeps/i386/bits/byteswap.h: Likewise.
44182 * sysdeps/s390/bits/byteswap.h: Likewise.
44183 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44184 * bits/byteswap-16.h: New file.
44185 * sysdeps/i386/bits/byteswap-16.h: Likewise.
44186 * sysdeps/s390/bits/byteswap-16.h: Likewise.
44187 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
44188 * string/Makefile (headers): Add bits/byteswap-16.h.
44189
62470f60
PP
441902012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
44191
44192 [BZ #13895]
44193 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
44194 extra indirection.
44195 * nss/Makefile (tests-static, tests): Add tst-nss-static.
44196 * nss/tst-nss-static.c: New.
44197
4dad7bab
RM
441982012-04-06 Robert Millan <rmh@gnu.org>
44199
44200 [BZ #6486]
44201 * manual/llio.texi (File Position Primitive): lseek
44202 refers to WHENCE when it really means OFFSET.
44203
e9142a17
AJ
442042012-04-06 Andreas Jaeger <aj@suse.de>
44205
2c040eff
AJ
44206 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
44207 strncmp declarations.
44208
e9142a17
AJ
44209 * abilist/libc.abilist: Add __poll and __ppoll.
44210
ff9f1c5f
DM
442112012-04-05 David S. Miller <davem@davemloft.net>
44212
dcd2ae90
DM
44213 * scripts/check-local-headers.sh: Accept a host triplet in the
44214 path matched by the exclude regexp.
44215
993eb054
DM
44216 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
44217 definition.
44218 * sysdeps/powerpc/powerpc32/dl-machine.h
44219 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
44220 * sysdeps/s390/s390-32/dl-machine.h
44221 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44222 * sysdeps/sparc/sparc32/dl-machine.h
44223 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44224 * sysdeps/sparc/sparc64/dl-machine.h
44225 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44226
ff9f1c5f
DM
44227 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
44228 lazy binding.
48e2e132 44229 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
44230 undefined symbol errors.
44231
48e2e132 44232 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
44233 DT_NEEDED entries.
44234
e80d6f94
MM
442352012-04-05 Michael Matz <matz@suse.de>
44236
44237 [BZ #13592]
44238 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
44239
349fa79f
AJ
442402012-04-05 Andreas Jaeger <aj@suse.de>
44241
44242 [BZ #13908]
44243 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
44244 comment.
44245
f402708f
KK
442462012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44247
44248 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
44249 which ROUND is no valid rounding mode.
44250
2ecccfc9
KK
442512012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44252
44253 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
44254 read again.
44255 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
44256
8a53f50f
KK
442572012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44258
44259 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
44260 an exception using FPU order intentionally.
44261
442622012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44263
44264 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
44265 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
44266 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
44267 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
44268
d653abb7
SJ
442692012-04-05 Simon Josefsson <simon@josefsson.org>
44270
44271 [BZ #12340]
44272 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
44273 EINVAL when BUFLEN is too smal.
44274
c3b1bf7d
TS
442752012-04-05 Thomas Schwinge <thomas@codesourcery.com>
44276
44277 [BZ #13553]
44278 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
44279 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
44280
b1aa60f3
AJ
442812012-04-03 Andreas Jaeger <aj@suse.de>
44282
c3b1bf7d 44283 [BZ #13938]
67f60a26
AJ
44284 * manual/setjmp.texi (System V contexts): Fix sentence.
44285
b1aa60f3
AJ
44286 [BZ #13926]
44287 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
44288 New macro for this case.
44289 [!__GNUC__] (__bswap_64): New inline function for this case.
44290 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44291 * bits/byteswap.h: Likewise.
44292 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
44293 ull, guard with __GLIBC_HAVE_LONG_LONG.
44294
44295 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
44296 __GLIBC_HAVE_LONG_LONG.
44297
44298 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
44299 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
44300
39c59c35
TMQMF
443012012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44302
44303 [BZ #13691]
44304 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
44305 inptr and inend, rather than using last_ch.
44306
135ffda8
DM
443072012-04-02 David S. Miller <davem@davemloft.net>
44308
44309 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
44310 * stdio-common/printf-parse.h (read_int): Change return type to
44311 'int', return -1 on INT_MAX overflow.
44312 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
44313 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
44314 overflows INT_MAX. Check for overflow of in-format-string precision
44315 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
44316 SIZE_MAX not INT_MAX for integer overflow test.
44317 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
44318 skip the construct in the format string but do not record anything.
44319 * stdio-common/bug22.c: Adjust to test both width/prevision
44320 INT_MAX overflow as well as total length INT_MAX overflow. Check
44321 explicitly for proper errno values.
44322
228c019e
TS
443232012-04-02 Thomas Schwinge <thomas@codesourcery.com>
44324
302cadd3
TS
44325 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
44326 CHAR_MAX.
44327 * string/test-strcmp.c [! WIDE]: Likewise.
44328 * time/tst-mktime2.c: Likewise for INT_MAX.
44329 * string/test-string.h: #include <sys/param.h> for MIN.
44330
228c019e
TS
44331 * csu/init-first.c (__libc_init_first): Call __ctype_init.
44332 * sysdeps/i386/init-first.c (init): Likewise.
44333 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
44334 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
44335 * sysdeps/sh/init-first.c (init): Likewise.
44336
cfa633f5
UD
443372012-04-01 Ulrich Drepper <drepper@gmail.com>
44338
44339 * po/ru.po: Update from translation team.
d1635ef8 44340 * po/vi.po: Likewise.
cfa633f5 44341
6cd0a5ea
SP
443422012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
44343
44344 * resolv/nss_dns/dns-host.c: Merge copyright years.
44345
4b43400f
LD
443462012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44347
44348 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44349 Optimize memcpy with prefetch if
44350 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
44351 src, dst pointers have unequal 16 byte alignments.
44352
48c41d04
SP
443532012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
44354
44355 [BZ #13928]
44356 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
44357 from a CNAME entry and return the minimum ttl for the query.
44358 (gaih_getanswer_slice): Likewise.
44359
b8dc394d
JL
443602012-03-30 Jeff Law <law@redhat.com>
44361
44362 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
44363 due to long keys.
44364 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
44365 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
44366
2f5a5ed0
JL
44367 * resolv/nss_dns/dns-host.c: Update copyright year.
44368
1d39e359
UD
443692012-03-30 Ulrich Drepper <drepper@gmail.com>
44370
c030f70c 44371 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 44372 requests to save a system call. Fix check that all bytes are sent.
c030f70c 44373
1d39e359
UD
44374 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
44375 comments for sendmmsg.
44376
443772012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
44378
44379 [BZ #13691]
44380 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
44381 with only 1 character between 0x0041 and 0x01b0.
44382 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
44383 * wcsmbs/tst-mbsnrtowcs.c: New file.
44384
20fde227
DM
443852012-03-29 David S. Miller <davem@davemloft.net>
44386
44387 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
44388 small copies by hand.
44389
984a4237
JL
443902012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
44391
44392 [BZ #13761]
57f41c40
AS
44393 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
44394 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
44395 group memberships.
984a4237 44396
18c9d62b
DM
443972012-03-28 David S. Miller <davem@davemloft.net>
44398
88d85d4f
DM
44399 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
44400 that branches into memcpy.
44401 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
44402 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
44403 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
44404 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
44405 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
44406 bits.
44407 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
44408 implementation too.
44409 * sysdeps/sparc/mempcpy.S: New file.
44410
e5aa83e1
DM
44411 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
44412 the IFUNC routine in the libc case.
44413 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
44414
88570753
DM
44415 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
44416 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
44417 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
44418 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
44419 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
44420 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
44421 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
44422 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
44423
249d7567
DM
44424 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
44425 loop to 256 bytes instead of 64 bytes and fix test signedness.
44426
18c9d62b
DM
44427 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
44428 * sysdeps/sparc/sparc32/Makefile: rather than here...
44429 * sysdeps/sparc/sparc64/Makefile: and here.
44430
05f3d1f6
UD
444312012-03-28 Ulrich Drepper <drepper@gmail.com>
44432
44433 * malloc/mallocbug.c: Avoid warnings about unused variables.
44434
86ae07a8
JL
444352012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
44436
44437 [BZ #13760]
44438 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
44439 in the right place. Discard and retry query if response is
44440 larger than input buffer size.
44441
41bf21a1
JM
444422012-03-28 Joseph Myers <joseph@codesourcery.com>
44443
d6270972
JM
44444 [BZ #369]
44445 [BZ #2678]
44446 [BZ #3866]
44447 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
44448 x for large integer exponent.
44449 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
44450 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
44451 sign of result as needed afterwards.
44452 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
44453 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
44454 result for underflowing pow the same as for overflow.
44455 (__kernel_standard_l): Handle powl overflow and underflow here
44456 rather than calling __kernel_standard.
44457 * math/libm-test.inc (pow_test): Add more tests.
44458
414fca03 44459 [BZ #3868]
41bf21a1
JM
44460 [BZ #13879]
44461 [BZ #13910]
44462 [BZ #13911]
44463 [BZ #13912]
44464 [BZ #13913]
44465 [BZ #13915]
44466 [BZ #13916]
44467 [BZ #13917]
44468 [BZ #13918]
44469 [BZ #13919]
44470 [BZ #13920]
44471 [BZ #13921]
44472 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
44473 * sysdeps/ieee754/k_standard.c: Include <float.h>.
44474 (__kernel_standard_l): New function.
44475 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
44476 __kernel_standard.
44477 * math/w_acosl.c (__acosl): Likewise.
44478 * math/w_asinl.c (__asinl): Likewise.
44479 * math/w_atan2l.c (__atan2l): Likewise.
44480 * math/w_atanhl.c (__atanhl): Likewise.
44481 * math/w_coshl.c (__coshl): Likewise.
44482 * math/w_exp10l.c (__exp10l): Likewise.
44483 * math/w_exp2l.c (__exp2l): Likewise.
44484 * math/w_fmodl.c (__fmodl): Likewise.
44485 * math/w_hypotl.c (__hypotl): Likewise.
44486 * math/w_j0l.c (__j0l, __y0l): Likewise.
44487 * math/w_j1l.c (__j1l, __y1l): Likewise.
44488 * math/w_jnl.c (__jnl, __ynl): Likewise.
44489 * math/w_lgammal.c (__lgammal): Likewise.
44490 * math/w_log10l.c (__log10l): Likewise.
44491 * math/w_log2l.c (__log2l): Likewise.
44492 * math/w_logl.c (__logl): Likewise.
44493 * math/w_powl.c (__powl): Likewise.
44494 * math/w_remainderl.c (__remainderl): Likewise.
44495 * math/w_scalbl.c (sysv_scalbl): Likewise.
44496 * math/w_sinhl.c (__sinhl): Likewise.
44497 * math/w_sqrtl.c (__sqrtl): Likewise.
44498 * math/w_tgammal.c (__tgammal): Likewise.
44499 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
44500 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
44501 * math/libm-test.inc (acos_test): Add more tests.
44502 (acosh_test): Likewise.
44503 (asin_test): Likewise.
44504 (atanh_test): Likewise.
44505 (exp_test): Likewise.
44506 (exp10_test): Likewise.
44507 (exp2_test): Likewise.
44508 (expm1_test): Likewise.
44509 (lgamma_test): Likewise.
44510 (log_test): Likewise.
44511 (log10_test): Likewise.
44512 (log1p_test): Likewise.
44513 (log2_test): Likewise.
44514 (pow_test): Do not allow some spurious overflow exceptions.
44515 (sqrt_test): Add more tests.
44516 (tgamma_test): Likewise.
44517 (y0_test): Likewise.
44518 (y1_test): Likewise.
44519 (yn_test): Likewise.
44520
dd62fda6
AB
445212012-03-27 Anton Blanchard <anton@samba.org>
44522
44523 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
44524 MAP_HUGETLB.
44525 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44526 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
44527 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44528
1e3cdfda
AJ
445292012-03-27 David S. Miller <davem@davemloft.net>
44530
b855ab85
DM
44531 * conform/Makefile: Run run-conformtest.sh using $(BASH).
44532
1e3cdfda
AJ
44533 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
44534 have-as-vis3 check.
44535
445362012-03-27 Andreas Jaeger <aj@suse.de>
44537
44538 * sysdeps/x86_64/elf/configure.in: Moved to ...
44539 * sysdeps/x86_64/configure.in: ... here.
44540 * sysdeps/x86_64/elf/start.S: Moved to ...
44541 * sysdeps/x86_64/start.S: ... here.
44542 * sysdeps/x86_64/elf/configure: Delete.
44543
44544 * sysdeps/x86_64/configure.in: Merge contents from
44545 sysdeps/i386/configure.in (without i686 check).
44546
44547 * sysdeps/i386/elf/Versions: Merge into ...
44548 * sysdeps/i386/Versions: ... this.
44549 * sysdeps/i386/elf/Versions: Delete file.
44550 * sysdeps/i386/elf/start.S: Moved to ...
44551 * sysdeps/i386/start.S: ...here.
44552 * sysdeps/i386/elf/configure.in: Merge into...
44553 * sysdeps/i386/configure.in: ...here.
44554 * sysdeps/i386/elf/configure.in: Delete file.
44555 * sysdeps/i386/elf/configure: Delete file.
44556
44557 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
44558 * debug/backtracesyms.c: ... here.
44559 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
44560 * debug/backtracesymsfd.c: ... here.
44561 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
44562 * sysdeps/generic/ifunc-sel.h: ... here.
44563
44564 * sysdeps/unix/i386/start.c: Delete file.
44565 * sysdeps/unix/sparc/start.c: Delete file.
44566 * sysdeps/unix/start.c: Delete file.
44567
44568 * sysdeps/sh/elf/configure.in: Moved to ...
44569 * sysdeps/sh/configure.in: ... here.
44570 * sysdeps/sh/elf/start.S: Moved to ...
44571 * sysdeps/sh/start.S: ... here.
44572 * sysdeps/sh/elf/configure: Delete file.
44573
44574 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
44575 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
44576 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
44577 * sysdeps/powerpc/powerpc64/entry.h: ... here.
44578 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
44579 * sysdeps/powerpc/powerpc64/start.S: here.
44580 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
44581 * sysdeps/powerpc/powerpc64/Makefile: ... this.
44582 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
44583 * sysdeps/powerpc/powerpc64/configure.in: ... this.
44584 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
44585
44586 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
44587 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
44588 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
44589 * sysdeps/powerpc/powerpc32/start.S: ... here.
44590 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
44591 * sysdeps/powerpc/powerpc32/configure.in: ... this.
44592 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
44593
44594 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
44595 * sysdeps/powerpc/ifunc-sel.h: ... here.
44596 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
44597 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
44598
44599 * sysdeps/sparc/elf/configure.in: Moved to ...
44600 * sysdeps/sparc/configure.in: ... here.
44601 * sysdeps/sparc/elf/configure: Delete file.
44602 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
44603 * sysdeps/sparc/sparc32/start.S: ... here.
44604 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
44605 * sysdeps/sparc/sparc64/start.S: ... here.
44606 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
44607 * sysdeps/sparc/sparc32/Makefile: ... this.
44608 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
44609 * sysdeps/sparc/sparc64/Makefile: ... this.
44610
44611 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
44612 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
44613 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
44614 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
44615 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
44616 * sysdeps/s390/s390-32/setjmp.S: ... here.
44617 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
44618 * sysdeps/s390/s390-32/configure.in: ... here.
44619 * sysdeps/s390/s390-32/elf/configure: Delete file.
44620 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
44621 * sysdeps/s390/s390-32/start.S: ... here.
44622
44623 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
44624 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
44625 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
44626 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
44627 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
44628 * sysdeps/s390/s390-64/setjmp.S: ... here.
44629 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
44630 * sysdeps/s390/s390-64/configure.in: ... here
44631 * sysdeps/s390/s390-64/elf/configure: Delete file.
44632 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
44633 * sysdeps/s390/s390-64/start.S: ... here.
44634 * sysdeps/s390/s390-64/elf/configure: Delete.
44635
44636 * configure.in: Remove support for elf directories in sysdeps.
44637
44638 * configure: Regenerated.
44639 * sysdeps/i386/configure: Regenerated.
44640 * sysdeps/powerpc/powerpc32/configure: Regenerated.
44641 * sysdeps/powerpc/powerpc64/configure: Regenerated.
44642 * sysdeps/s390/s390-32/configure: Regenerated.
44643 * sysdeps/s390/s390-64/configure: Regenerated.
44644 * sysdeps/sh/configure: Regenerated.
44645 * sysdeps/sparc/configure: Regenerated.
44646 * sysdeps/x86_64/configure: Regenerated.
44647
a3f61311
AS
446482012-03-26 Andreas Schwab <schwab@linux-m68k.org>
44649
c876e002
AS
44650 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44651
a3f61311
AS
44652 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
44653 denormal result into account.
44654
ac4c54f0
RM
446552012-03-25 Roland McGrath <roland@hack.frob.com>
44656
44657 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
44658 Reported by Allan McRae <allan@archlinux.org>.
44659
6a9b9c02
JL
446602012-03-23 Jeff Law <law@redhat.com>
44661
44662 * nss/getnssent.c (__nss_getent): Fix typo.
44663
4c42a0c1
DM
446642012-03-23 David S. Miller <davem@davemloft.net>
44665
44666 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44667
1532c7ac
L
446682012-03-23 H.J. Lu <hongjiu.lu@intel.com>
44669
44670 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
44671 to pad to uint64_t for each field.
44672 (dl_tls_index): Replace unsigned long with uint64_t.
44673
3ff42526
PP
446742012-03-23 Daniel Jacobowitz <dmj@google.com>
44675 Paul Pluzhnikov <ppluzhnikov@google.com>
44676
44677 [BZ #6528]
44678 * grp/Makefile (otherlibs): Don't set it.
44679 * inet/Makefile (otherlibs): Likewise.
44680 * login/Makefile (otherlibs): Likewise.
44681 * nscd/Makefile (otherlibs): Likewise.
44682 * posix/Makefile (otherlibs): Likewise.
44683 * pwd/Makefile (otherlibs): Likewise.
44684 * rt/Makefile (otherlibs): Likewise.
44685 * sunrpc/Makefile (otherlibs): Likewise.
44686 * nss/Makefile (otherlibs): Likewise.
44687 Add libnss_files to routines and static-only-routines.
44688 ($(objpfx)getent): Remove rule.
44689 * resolv/Makefile: Add libnss_dns and libresolv to routines and
44690 static-only-routines.
44691
7c69cd14
JM
446922012-03-22 Joseph Myers <joseph@codesourcery.com>
44693
44694 [BZ #13892]
44695 * math/s_cexp.c: Include <float.h>.
44696 (__cexp): Handle exp result overflowing not necessarily
44697 overflowing both real and imaginary parts of result.
44698 * math/s_cexpf.c: Likewise.
44699 * math/s_cexpl.c: Likewise.
44700 * math/libm-test.inc (cexp_test): Add more tests.
44701 * sysdeps/i386/fpu/libm-test-ulps: Update.
44702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44703
81b035fe
L
447042012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44705
44706 * include/link.h (ELFW): New macro.
44707 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
44708 Replace ELF64_R_TYPE with ELFW(R_TYPE).
44709
1da7940c
L
447102012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44711
44712 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
44713 with uint64_t.
44714
b749dbb9
L
447152012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44716
44717 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
44718 declaration.
44719 (struct La_x32_retval): Likewise.
44720
2ff87f3f
L
447212012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44722
44723 * sysdeps/x86_64/preconfigure.in: New file.
44724 * sysdeps/x86_64/preconfigure: New generated file.
44725
c0df8e69
JM
447262012-03-22 Joseph Myers <joseph@codesourcery.com>
44727
48e44791
JM
44728 [BZ #13824]
44729 * math/e_exp2l.c: Include <float.h>.
44730 (__ieee754_exp2l): Handle overflow and underflow cases
44731 separately. Only pass fractional part of argument to
44732 __ieee754_expl.
44733 * math/libm-test.inc (exp2_test): Add more tests.
44734
c0df8e69
JM
44735 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
44736 negating x to take absolute value.
44737 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
44738 Likewise.
44739 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
44740 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
44741 Likewise.
44742 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
44743 computing low part if x was negated.
44744 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
44745
c8e43ba7
L
447462012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44747
44748 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
44749 la_x32_gnu_pltexit.
44750 (pltexit): Cast int_retval to ptrdiff_t.
44751 * elf/tst-auditmod3b.c: Likewise.
44752 * elf/tst-auditmod4b.c: Likewise.
44753 * elf/tst-auditmod5b.c: Likewise.
44754 * elf/tst-auditmod6b.c: Likewise.
44755 * elf/tst-auditmod6c.c: Likewise.
44756 * elf/tst-auditmod7b.c: Likewise.
44757
44758 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
44759 and x32_gnu_pltexit.
44760
44761 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
44762 __ELF_NATIVE_CLASS.
44763 (La_x32_regs): New macro.
44764 (La_x32_retval): Likewise.
44765 (la_x32_gnu_pltenter): New function prototype.
44766 (la_x32_gnu_pltexit): Likewise.
44767
7998fa78
AS
447682012-03-21 Andreas Schwab <schwab@linux-m68k.org>
44769
dcb33988
AS
44770 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
44771 exponent.
44772
233fc563
AS
44773 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44774
7998fa78
AS
44775 * configure.in (libc_cv_cc_nofma): Check for option to disable
44776 generation of FMA instructions.
44777 * configure: Regenerate.
44778 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
44779 * sysdeps/ieee754/dbl-64/Makefile: New file.
44780 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
44781 Remove brandred-fma4.
44782 (CFLAGS-brandred-fma4.c): Remove.
44783 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
44784 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
44785 define.
44786 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
44787 define.
44788
8e95c99a
L
447892012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44790
44791 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
44792 LLONG_MAX != LONG_MAX.
44793 (_itoa_word): Use _ITOA_WORD_TYPE on value.
44794 (_fitoa_word): Likewise.
44795 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
44796 LLONG_MAX != LONG_MAX.
44797 * stdio-common/_itowa.h: Include <_itoa.h>.
44798 (_itowa_word): Use _ITOA_WORD_TYPE on value.
44799 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
44800 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
44801 only if not defined.
44802 (_ITOA_WORD_TYPE): Likewise.
44803 (_itoa_word): Use _ITOA_WORD_TYPE on value.
44804 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
44805
6f4db457
DM
448062012-03-21 David S. Miller <davem@davemloft.net>
44807
44808 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44809
7785fe5a
L
448102012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44811
44812 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
44813 of x86_64 when setting libc_cv_slibdir, libdir and
44814 libc_cv_localedir.
44815 * sysdeps/unix/sysv/linux/configure: Regenerated.
44816
4535cd55
JM
448172012-03-21 Joseph Myers <joseph@codesourcery.com>
44818
44819 * manual/lang.texi (Old Varargs): Remove section.
44820 (How Variadic): Update menu.
44821 (va_start): Do not mention varargs.h.
44822
17228132
TS
448232012-03-21 Thomas Schwinge <thomas@codesourcery.com>
44824 Joseph Myers <joseph@codesourcery.com>
44825
44826 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
44827 link test.
44828 * configure: Regenerated.
44829
8149f976
TS
448302012-03-21 Thomas Schwinge <thomas@codesourcery.com>
44831
05f3d1f6
UD
44832 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
44833 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
44834 conformtest.pl
8149f976 44835
1a4ac776
JM
448362012-03-21 Joseph Myers <joseph@codesourcery.com>
44837
be22ce65
JM
44838 * NOTES: Remove.
44839 * Makefile (files-for-dist): Remove NOTES.
44840 (NOTES): Remove rule.
44841 * README: Don't refer to NOTES.
44842 * manual/creature.texi: Don't include macros.texi.
44843 * manual/intro.texi (creature.texi): Remove comment referring to
44844 NOTES.
44845
40b601fb
JM
44846 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
44847 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
44848 * configure: Regenerated.
44849 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
44850 LIBC_TRY_CC_OPTION.
44851 (libc_cv_as_i686): Likewise.
44852 (libc_cv_cc_avx): Likewise.
44853 (libc_cv_cc_sse2avx): Likewise.
44854 (libc_cv_cc_fma4): Likewise.
44855 (libc_cv_cc_novzeroupper): Likewise.
44856 * sysdeps/i386/configure: Regenerated.
44857
1a4ac776
JM
44858 [BZ #13883]
44859 * sysdeps/i386/fpu/s_cexp.S: Remove.
44860 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44861 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44862 * math/libm-test.inc (cexp_test): Add more tests.
44863 * sysdeps/i386/fpu/libm-test-ulps: Update.
44864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44865
a458e7fe
AM
448662012-03-21 Allan McRae <allan@archlinux.org>
44867
44868 * timezone/Makefile: Do not install iso3166.tab and zone.tab
44869
0cb7efc5
JM
448702012-03-21 Joseph Myers <joseph@codesourcery.com>
44871
44872 [BZ #13871]
44873 * math/w_exp2.c: Do not include <float.h>.
44874 (o_threshold, u_threshold): Remove.
44875 (__exp2): Calculate result before checking finiteness and calling
44876 __kernel_standard.
44877 * math/w_exp2f.c: Likewise.
44878 * math/w_exp2l.c: Likewise.
44879 * math/libm-test.inc (exp2_test): Require overflow exception for
44880 1e6 input.
2460d3aa
JM
44881
44882 [BZ #3866]
44883 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
44884 range of signed 64-bit integers before using fistpll. Remove
44885 checks for whether integers fit in mantissa bits.
44886 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
44887 the range of signed 32-bit integers before using fistpl. Remove
44888 checks for whether integers fit in mantissa bits.
44889 * sysdeps/i386/fpu/e_powl.S (p64): New object.
44890 (__ieee754_powl): Test for y outside the range of signed 64-bit
44891 integers before using fistpll. Reduce 64-bit values to 63-bit
44892 ones as needed.
44893 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
44894 divide-by-zero is raised for zero to large negative powers.
44895 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
44896 (__ieee754_powl): Test for y outside the range of signed 64-bit
44897 integers before using fistpll. Reduce 64-bit values to 63-bit
44898 ones as needed.
44899 * math/libm-test.inc (pow_test): Add more tests.
44900
eb96ffb0
L
449012012-03-20 H.J. Lu <hongjiu.lu@intel.com>
44902
44903 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
44904 <stdio-common/_itoa.h>.
44905 * debug/segfault.c: Likewise.
44906 * elf/dl-cache.c: Likewise.
44907 * elf/dl-minimal.c: Likewise.
44908 * elf/dl-misc.c: Likewise.
44909 * elf/dl-sysdep.c: Likewise.
44910 * elf/dl-version.c: Likewise.
44911 * elf/rtld.c: Likewise.
44912 * hurd/hurdsock.c: Likewise.
44913 * hurd/lookup-retry.c: Likewise.
44914 * malloc/malloc.c: Likewise.
44915 * malloc/mtrace.c: Likewise.
44916 * nscd/nscd_getgr_r.c: Likewise.
44917 * nscd/nscd_getpw_r.c: Likewise.
44918 * nscd/nscd_getserv_r.c: Likewise.
44919 * posix/getopt_init.c: Likewise.
44920 * posix/wordexp.c: Likewise.
44921 * stdio-common/_itoa.c: Likewise.
44922 * stdio-common/printf_fphex.c: Likewise.
44923 * stdio-common/vfprintf.c: Likewise.
44924 * string/_strerror.c: Likewise.
44925 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
44926 * sysdeps/i386/i686/hp-timing.h: Likewise.
44927 * sysdeps/mach/_strerror.c: Likewise.
44928 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
44929 * sysdeps/mach/hurd/sethostid.c: Likewise.
44930 * sysdeps/mach/hurd/xmknodat.c: Likewise.
44931 * sysdeps/mach/xpg-strerror.c: Likewise.
44932 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
44933 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
44934 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
44935 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
44936 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
44937 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
44938 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
44939 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
44940 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
44941 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
44942 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
44943 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
44944 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
44945 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
44946 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
44947 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
44948 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
44949 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
44950 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
44951 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
44952 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
44953
44954 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
44955
44956 * stdio-common/_itoa.h: Moved to ...
44957 * sysdeps/generic/_itoa.h: Here.
44958
44959 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
44960
44961 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
44962 instead of "_itoa.h" and "_itowa.h".
44963 * stdio-common/vfprintf.: Likewise.
44964
d1af992d
L
449652012-03-20 H.J. Lu <hongjiu.lu@intel.com>
44966
44967 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
44968 <bits/wordsize.h>.
44969 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
44970 (__signbit): Likwise.
44971 (llrintf): Likwise.
44972 (llrint): Likwise.
44973
114883e0
L
449742012-03-20 H.J. Lu <hongjiu.lu@intel.com>
44975
44976 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
44977 __WORDSIZE != 64.
44978
c135cc1b
JM
449792012-03-20 Joseph Myers <joseph@codesourcery.com>
44980
44981 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
44982 OVERFLOW_EXCEPTION_OK.
44983 * math/libm-test.inc ("Philosophy"): Update comment about
44984 exception testing.
44985 (OVERFLOW_EXCEPTION): Define.
44986 (OVERFLOW_EXCEPTION_OK): Likewise.
44987 (INVALID_EXCEPTION_OK): Renumber.
44988 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
44989 (IGNORE_ZERO_INF_SIGN): Likewise.
44990 (test_exceptions): Handle FE_OVERFLOW.
44991 (exp10_test): Expect overflow exceptions.
44992 (exp2_test): Likewise.
44993 (expm1_test): Likewise.
44994 (nextafter_test): Likewise.
44995 (pow_test): Likewise.
44996 (scalbn_test): Likewise.
44997 (scalbln_test): Likewise.
44998
95443d88
L
449992012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45000
45001 * sysdeps/x86_64/bits/atomic.h
45002 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
45003 64bit integer.
45004 (atomic_exchange_acq): Likewise.
45005 (__arch_exchange_and_add_body): Likewise.
45006 (__arch_add_body): Likewise.
45007 (atomic_add_negative): Likewise.
45008 (atomic_add_zero): Likewise.
45009
490df6c4
L
450102012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45011
c2722551 45012 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
45013 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
45014
5e52b189
L
450152012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45016
45017 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
45018 Check __x86_64__ instead of __WORDSIZE.
45019
a9879d4c
L
450202012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45021
45022 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
45023
5df98260
DM
450242012-03-19 David S. Miller <davem@davemloft.net>
45025
e1497744
DM
45026 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45027
5df98260
DM
45028 * sysdeps/sparc/fpu/fenv_private.h: New file.
45029 * sysdeps/sparc/fpu/math_private.h: Use it.
45030 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
45031 Remove.
57f41c40 45032 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
45033 (libc_feholdexcept_setroundl): Remove.
45034 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
45035 Remove.
45036 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
45037 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
45038
b4c35121
L
450392012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45040
45041 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
45042 int64_t instead of long int.
45043 (INSERT_WORDS64): Likwise.
45044
56965fd7
L
450452012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45046
45047 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
45048 _Unwind_GetCFA return to _Unwind_Ptr first.
45049
83d1aec8
JM
450502012-03-19 Joseph Myers <joseph@codesourcery.com>
45051
1897ad44
JM
45052 [BZ #13629]
45053 * math/s_clog.c: Include <float.h>.
45054 (__clog): Scale large or subnormal inputs.
45055 * math/s_clogf.c: Likewise.
45056 * math/s_clogl.c: Likewise.
45057 * math/s_clog10.c: Include <float.h>.
45058 (M_LOG10_2): Define.
45059 (__clog10): Scale large or subnormal inputs.
45060 * math/s_clog10f.c: Likewise.
45061 * math/s_clog10l.c: Likewise.
45062 * math/libm-test.inc (clog_test): Add more tests.
45063 (clog10_test): Likewise.
45064 * sysdeps/i386/fpu/libm-test-ulps: Update.
45065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45066
7726d6a9
JM
45067 [BZ #11451]
45068 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
45069 x and y.
45070 * math/libm-test.inc (atan2_test): Add another test.
45071
83d1aec8
JM
45072 * Makerules (common-objdir-compile): Remove.
45073 * sysdeps/unix/Makefile (config-generated): Do not add
45074 $(unix-generated) to variable.
45075 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
45076 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
45077 Remove rule.
45078 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
45079 Likewise.
45080 [generic bits/local_lim.h] (before-compile): Do not append to
45081 variable.
45082 [generic bits/local_lim.h] (common-generated): Likewise.
45083 [generic sys/param.h] (before-compile): Do not append to variable.
45084 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
45085 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
45086 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
45087 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
45088 include.
45089 [generic sys/param.h] (sys/param.h-includes): Remove variable.
45090 [generic sys/param.h] (sys/param.h-includes): Remove rule.
45091 [generic sys/param.h] ($(addprefix
45092 $(common-objpfx),$(sys/param.h-includes))): Likewise.
45093 [generic sys/param.h] (common-generated): Do not append to
45094 variable.
45095 [generic sys/param.h] (sysdep_headers): Likewise.
45096 [generic bits/errno.h] (before-compile): Do not append to
45097 variable.
45098 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
45099 rule.
45100 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
45101 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
45102 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
45103 [generic bits/errno.h] (common-generated): Do not append to
45104 variable.
45105 [generic bits/ioctls.h] (before-compile): Do not append to
45106 variable.
45107 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
45108 rule.
45109 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
45110 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
45111 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
45112 rule.
45113 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
45114 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
45115 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
45116 [generic bits/ioctls.h] (common-generated): Do not append to
45117 variable.
45118 [generic sys/syscall.h] (syscall.h): Remove variable.
45119 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
45120 rule.
45121 [generic sys/syscall.h] (before-compile): Do not append to
45122 variable.
45123 [generic sys/syscall.h] (common-generated): Likewise.
45124 * sysdeps/unix/errnos-tmpl.c: Remove file.
45125 * sysdeps/unix/errnos.awk: Likewise.
45126 * sysdeps/unix/ioctls-tmpl.c: Likewise.
45127 * sysdeps/unix/ioctls.awk: Likewise.
45128 * sysdeps/unix/mk-local_lim.c: Likewise.
45129 * sysdeps/unix/snarf-ioctls: Likewise.
45130
4851a949
RH
451312012-03-19 Richard Henderson <rth@twiddle.net>
45132
bd37f2ee
RH
45133 * sysdeps/i386/fpu/fenv_private.h: New file.
45134 * sysdeps/i386/fpu/math_private.h: Use it.
45135 (math_opt_barrier, math_force_eval): Remove.
45136 (libc_feholdexcept_setround_53bit): Remove.
45137 (libc_feupdateenv_53bit): Remove.
45138 * sysdeps/x86_64/fpu/math_private.h: Likewise.
45139 (math_opt_barrier, math_force_eval): Remove.
45140 (libc_feholdexcept): Remove.
45141 (libc_feholdexcept_setround): Remove.
45142 (libc_fetestexcept, libc_fesetenv): Remove.
45143 (libc_feupdateenv_test): Remove.
45144 (libc_feupdateenv, libc_feholdsetround): Remove.
45145 (libc_feresetround): Remove.
45146
d0adc922
RH
45147 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
45148 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
45149
0fe0f1f8
RH
45150 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
45151 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
45152 (libc_feupdateenv_testl): New.
45153 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
45154 (libc_feupdateenv_testf): New.
45155 (libc_feupdateenv): Use libc_feupdateenv_test.
45156 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
45157 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
45158
eb92c487
RH
45159 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
45160 (libc_feholdsetroundf, libc_feholdsetroundl): New.
45161 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
45162 (libc_feresetround_noex): New.
45163 (libc_feresetround_noexf): New.
45164 (libc_feresetround_noexl): New.
45165 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
45166 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
45167 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
45168 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
45169 SET_RESTORE_ROUND.
45170 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
45171 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
45172 (__cos): Likewise.
45173 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
45174 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
45175 SET_RESTORE_ROUND_NOEX.
45176 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
45177 SET_RESTORE_ROUND_NOEXF.
45178 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
45179 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
45180 (libc_feholdsetroundf): New.
45181 (libc_feresetround, libc_feresetroundf): New.
45182
7d2e8012
RH
45183 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
45184 (libc_feholdexcept_setround_53bit): Convert from macro to function.
45185 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
45186
b4dabbb4
RH
45187 * sysdeps/generic/math_private.h: Include <fenv.h>.
45188 (default_libc_feholdexcept): New.
45189 (default_libc_feholdexcept_setround): New.
45190 (default_libc_fesetenv, default_libc_feupdateenv): New.
45191 (libc_feholdexcept): Only define if undefined.
45192 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
45193 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
45194 (libc_feholdexcept_setroundl): Likewise.
45195 (libc_feholdexcept_setround_53bit): Likewise.
45196 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
45197 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
45198 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
45199 (libc_feupdateenv_53bit): Likewise.
45200 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
45201 (libc_feholdexcept): Convert from macro to inline function.
45202 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
45203 (libc_fesetenv, libc_feupdateenv): Likewise.
45204
4851a949
RH
45205 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
45206 not previously defined.
45207 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
45208 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
45209 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
45210 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
45211 * sysdeps/ieee754/flt-32/math_private.h: New file.
45212 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
45213 math_private.h below SET_FLOAT_WORD.
45214 (__isnan, __isinf_ns, __finite): Remove.
45215 (__isnanf, __isinf_nsf, __finitef): Remove.
45216
e79d442e
AS
452172012-03-18 Andreas Schwab <schwab@linux-m68k.org>
45218
45219 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45220
90b80344
DM
452212012-03-17 David S. Miller <davem@davemloft.net>
45222
45223 [BZ #6471]
45224 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
45225 for 2.16.
45226
edc21804
DM
452272012-03-16 David S. Miller <davem@davemloft.net>
45228
77e927af
DM
45229 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
45230 warnings.
45231
374976dd
DM
45232 [BZ #6471]
45233 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
45234 properly.
45235 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
45236 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
45237 sysdep_routines when subdir is sysvipc.
45238 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
45239 __getshmlba helper.
45240
edc21804
DM
45241 * sysdeps/sparc/fpu/libm-test/ulps: Update.
45242
473c3ef3
L
452432012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45244
45245 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
45246 [__LP64__].
45247
eb0f39b6
L
452482012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45249
45250 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
45251 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
45252 (__lround): Renamed to ...
45253 (__llround): This. Replace long int with long long int.
45254 Define lround functions as aliases of llround functions.
45255 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
45256
6b6cd74b
L
452572012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45258
45259 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
45260 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
45261 adresses to uintptr_t. Replace "long int" and "unsigned long
45262 int" with "greg_t" on va_arg.
45263
f1a77b01
L
452642012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45265
45266 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
45267 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
45268
45269 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
45270 Move e_machine check before EI_CLASS check. Handle x32
45271 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
45272 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
45273 SKIP_EM_IA_64 and include
45274 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
45275
45276 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
45277 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
45278 (add_system_dir): New macro.
45279
45280 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
45281 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
45282
11b90b9f
JM
452832012-03-16 Joseph Myers <joseph@codesourcery.com>
45284
c36e1d23
JM
45285 [BZ #2551]
45286 [BZ #2552]
45287 [BZ #2553]
45288 [BZ #2554]
45289 [BZ #2562]
45290 [BZ #2563]
45291 [BZ #2565]
45292 [BZ #2566]
45293 [BZ #2576]
45294 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
45295 (y0): Likewise.
45296 * math/w_j0f.c (j0f): Likewise.
45297 (y0f): Likewise.
45298 * math/w_j0l.c (__j0l): Likewise.
45299 (__y0l): Likewise.
45300 * math/w_j1.c (j1): Likewise.
45301 (y1): Likewise.
45302 * math/w_j1f.c (j1f): Likewise.
45303 (y1f): Likewise.
45304 * math/w_j1l.c (__j1l): Likewise.
45305 (__y1l): Likewise.
45306 * math/w_jn.c (jn): Likewise.
45307 (yn): Likewise.
45308 * math/w_jnf.c (jnf): Likewise.
45309 (ynf): Likewise.
45310 * math/w_jnl.c (__jnl): Likewise.
45311 (__ynl): Likewise.
45312 * math/libm-test.inc (j0_test): Add more tests.
45313 (j1_test): Likewise.
45314 (jn_test): Likewise. Add trailing semicolon to existing test.
45315 (y0_test): Likewise.
45316 (y1_test): Likewise.
45317 * sysdeps/i386/fpu/libm-test-ulps: Update.
45318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45319
11b90b9f
JM
45320 [BZ #13851]
45321 [BZ #13854]
45322 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
45323 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
45324 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
45325 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
45326 (__tanl): Set errno for infinite argument.
45327 * sysdeps/i386/fpu/mptan.c: Remove.
45328 * sysdeps/i386/fpu/s_tan.S: Likewise.
45329 * sysdeps/i386/fpu/s_tanl.S: Likewise.
45330 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
45331 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
45332 * math/libm-test.inc (tan_test): Add more tests and enable more
45333 tests for double and long double.
45334 * sysdeps/i386/fpu/libm-test-ulps: Update.
45335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45336
6a1bd2a1
JK
453372012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
45338
45339 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
45340 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
45341
10a803e0
RM
453422012-03-16 Roland McGrath <roland@hack.frob.com>
45343
45344 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
45345 * configure.in: Use it for both main tree and add-ons.
45346 * configure: Regenerated.
45347
f196c7f7
L
453482012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45349
45350 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
45351
8848d99d
JM
453522012-03-16 Joseph Myers <joseph@codesourcery.com>
45353
96cbe7f4
JM
45354 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
45355 in comment.
45356
8848d99d
JM
45357 [BZ #13851]
45358 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
45359 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
45360 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
45361 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
45362 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
45363 infinite argument.
45364 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
45365 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
45366 != 0 for prec == 2.
45367 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
45368 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
45369 * sysdeps/i386/fpu/s_cosl.S: Likewise.
45370 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
45371 * sysdeps/i386/fpu/s_sinl.S: Likewise.
45372 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
45373 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
45374 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
45375 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
45376 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
45377 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
45378 * math/libm-test.inc (cos_test): Add more tests and enable more
45379 tests for long double.
45380 (sin_test): Likewise.
45381 (sincos_test): Likewise.
45382 * sysdeps/i386/fpu/libm-test-ulps: Update.
45383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45384
dd7f4703
DM
453852012-03-16 David S. Miller <davem@davemloft.net>
45386
45387 * sysdeps/sparc/fpu/math_private.h: New file.
45388
006f1daa
DM
453892012-03-15 David S. Miller <davem@davemloft.net>
45390
c0c83bc8
DM
45391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
45392 file.
e6a62e18 45393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
45394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
45395 file.
e6a62e18
DM
45396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
45397 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
45398 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
45399 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
45400 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
45401 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
45402 sysdep routines.
45403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
45404
88cb87d9
DM
45405 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
45406 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
45407
006f1daa 45408 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
45409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
45410 sparc-ifunc.h
006f1daa 45411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
45412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
45413 Likewise.
45414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
45415 Likewise.
006f1daa
DM
45416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
45417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
45418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
45419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
45420 Likewise.
006f1daa
DM
45421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
45422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
45423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
45424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
45425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
45426 Likewise.
45427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
45428 Likewise.
006f1daa
DM
45429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
45430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
45431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
45432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
45433 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
45434 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
45435 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
45436 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
45437 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
45438 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
45439 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
45440 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
45441 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
45442 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
45443 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
45444 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
45445 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
45446 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
45447 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
45448 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
45449 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
45450 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
45451 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
45452 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
45453
11e0098e
AS
454542012-03-15 Andreas Schwab <schwab@linux-m68k.org>
45455
45456 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
45457 scaling.
45458 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45459
e85b09d0
AJ
454602012-03-15 Andreas Jaeger <aj@suse.de>
45461
45462 [BZ #13852]
45463 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
45464 ieee754/flt-32 implementation for sin, cos and sincos.
45465 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
45466 * sysdeps/i386/fpu/s_cosf.S: Likewise.
45467 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
45468 * sysdeps/i386/fpu/s_sinf.S: Likewise.
45469 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
45470 ieee754/flt-32 implementation for tan.
45471
45472 * math/libm-test.inc (cos_test): Enable some large input tests for
45473 float as well
45474 (sin_test): Likewise.
45475 (sincos_test): Likewise.
45476 (tan_test): Add tests for large input.
45477
45478 * sysdeps/i386/fpu/libm-test-ulps: Update.
45479
81c64153
AJ
454802012-03-15 Andreas Jaeger <aj@suse.de>
45481
45482 [BZ #13658]
45483 * math/libm-test.inc (cos_test): Add more test cases.
45484 (sin_test): Likewise.
45485 (sincos_test): Likewise.
45486
7bbfa5c6
AJ
454872012-03-15 Andreas Jaeger <aj@suse.de>
45488
45489 [BZ #13837]
45490 * math/libm-test.inc (cos_test): Add a test case for large input
45491 value.
45492 (sin_test): Likewise.
45493 (sincos_test): Likewise.
45494
57f41c40
AS
454952012-03-15 Andreas Jaeger <aj@suse.de>
45496 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
45497
45498 [BZ #13658]
0671f479 45499 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
45500 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
45501 * sysdeps/i386/fpu/branred.c: Likewise.
45502 * sysdeps/i386/fpu/dosincos.c: Likewise.
45503 * sysdeps/i386/fpu/mpa.c: Likewise.
45504 * sysdeps/i386/fpu/s_cos.S: Likewise.
45505 * sysdeps/i386/fpu/s_sin.S: Likewise.
45506 * sysdeps/i386/fpu/s_sincos.S: Likewise.
45507 * sysdeps/i386/fpu/sincos32.c: Likewise.
45508
45509 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
45510 Define.
45511 (libc_feupdateenv_53bit): Define.
45512 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
45513 Define.
45514 (libc_feupdateenv_53bit): Define.
45515
45516 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
45517 53 bit (without extend i386 double precision).
45518
45519 * math/libm-test.inc (sincos_test): Add tests for large input.
45520 (sin): Likewise.
45521 (cos): Likewise.
45522
45523 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
45524
9cad04ea
AS
455252012-03-15 Andreas Schwab <schwab@linux-m68k.org>
45526
45527 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45528
f7062b9a
DM
455292012-03-15 David S. Miller <davem@davemloft.net>
45530
45531 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
45532 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
45533 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
45534 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
45535 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
45536 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
45537 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
45538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
45539 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
45540 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
45541 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
45542 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
45543 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
45544 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
45545 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
45546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
45547 file.
f7062b9a 45548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
45549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
45550 file.
f7062b9a 45551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
45552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
45553 file.
f7062b9a 45554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
45555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
45556 file.
f7062b9a
DM
45557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
45558 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
45559 fmin/fmax sysdep routines.
45560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
45561
7bd951ff
DM
455622012-03-14 David S. Miller <davem@davemloft.net>
45563
559398ab
DM
45564 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
45565 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
45566 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
45567 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
45568 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
45569 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
45570 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
45571 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
45572 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
45573 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
45574 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
45575 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
45576 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
45577 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
45578 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
45579 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
45580 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
45581 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
45582 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
45583 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
45584 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
45585 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
45586 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
45587 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
45588 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
45589 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
45590 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
45591 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
45592 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
45593 routines.
45594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
45595 file.
559398ab 45596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
45597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
45598 file.
559398ab 45599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
45600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
45601 file.
559398ab 45602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
45603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
45604 file.
559398ab 45605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
45606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
45607 file.
559398ab 45608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
45609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
45610 file.
45611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
45612 file.
45613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
45614 file.
45615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
45616 file.
45617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
45618 New file.
45619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
45620 file.
45621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
45622 file.
559398ab 45623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
45624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
45625 file.
559398ab 45626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
45627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
45628 file.
559398ab 45629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
45630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
45631 file.
559398ab 45632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
45633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
45634 VIS3 routines.
559398ab
DM
45635
45636 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
45637 New file.
45638
5a1c1e32
DM
45639 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45640
eae47a36
DM
45641 * sysdeps/sparc/configure.in: New file.
45642 * sysdeps/sparc/configure: Generate.
45643 * configure.in (libc_cv_sparc_as_vis3): Substitute.
45644 * configure: Regenerate.
45645 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
45646 * config.make.in (have-as-vis3): New.
45647 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
45648 available use -Av9d instead of -Av9a.
45649 * sysdeps/sparc/sparc64/Makefile: Likewise.
45650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
45651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
45652 New file.
45653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
45654 file.
45655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
45656 New file.
45657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
45658 file.
eae47a36
DM
45659 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
45660 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
45661 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
45662 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
45663 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
45664
c0c83bc8
DM
45665 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
45666 fzeros/fnegs to load 0x80000000 into a float register instead of
45667 using the stack.
7bd951ff
DM
45668 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
45669
bd951ccb
JM
456702012-03-14 Joseph Myers <joseph@codesourcery.com>
45671
45672 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45673 bits/syscall.h.
45674 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
45675 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
45676 ($(inst_includedir)/bits/syscall.h): Remove rule.
45677 ($(objpfx)bits/syscall.d): Include instead of
45678 $(objpfx)syscall-list.d.
45679 (generated): Change syscall-list.h and syscall-list.d to
45680 bits/syscall.h and bits/syscall.d.
45681
bb4e6db2
RM
456822012-03-14 Roland McGrath <roland@hack.frob.com>
45683
45684 [BZ #13846]
45685 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
45686
aa4a2ae1
JM
456872012-03-14 Joseph Myers <joseph@codesourcery.com>
45688
e456826d
JM
45689 [BZ #13841]
45690 * math/s_csqrt.c: Include <float.h>.
45691 (__csqrt): Scale large or subnormal inputs.
45692 * math/s_csqrtf.c: Likewise.
45693 * math/s_csqrtl.c: Likewise.
45694 * math/libm-test.inc (csqrt_test): Add more tests.
45695 * sysdeps/i386/fpu/libm-test-ulps: Update.
45696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45697
aa4a2ae1
JM
45698 [BZ #13840]
45699 * math/libm-test.inc (hypot_test): Add more tests.
45700
7c10fd35
DM
457012012-03-13 David S. Miller <davem@davemloft.net>
45702
45703 [BZ #13840]
45704 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
45705 double-precision for the calculation instead of scaling.
45706
f453b98b
JM
457072012-03-13 Joseph Myers <joseph@codesourcery.com>
45708
45709 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
45710 manipulate bits before adding and subtracting TWO52[sx].
45711 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
45712 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
45713 Likewise.
45714 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
45715
09a3453f
DM
457162012-03-13 David S. Miller <davem@davemloft.net>
45717
8e59da90
DM
45718 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
45719 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
45720 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
45721 rtld-global-offsets.h
45722 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45723
2a8ab7f2
DM
45724 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
45725 large parameters.
45726
10f62770
DM
45727 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
45728
5f0bdb18
DM
45729 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
45730 'err' in the ifdef scope in which it is actually used.
45731
09a3453f
DM
45732 * nss/nss_db/db-init.c: Include string.h
45733
b4b2eb5e
DM
457342012-03-12 David S. Miller <davem@davemloft.net>
45735
98bb2f1c
DM
45736 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45737 masking out of the most significant byte of random value used.
45738 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45739 Fix coding style in previous change.
45740
b4b2eb5e
DM
45741 * sysdeps/unix/sysv/linux/kernel-features.h
45742 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
45743 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
45744 expression.
45745 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
45746 later.
45747
6e226b09
DM
457482012-03-11 David S. Miller <davem@davemloft.net>
45749
a1bcbd40
DM
45750 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
45751 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
45752 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
45753 for 'resultvar' otherwise things get truncated on 64-bit.
45754
cb9d6174
DM
45755 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45756 Fix masking out of the most significant byte of random value used.
45757
6e226b09
DM
45758 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45759
058c132d
AS
457602012-03-10 Andreas Schwab <schwab@linux-m68k.org>
45761
45762 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45763
2d2cd515
DM
457642012-03-09 David S. Miller <davem@davemloft.net>
45765
45766 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
45767 variables with appropriate CPP guards.
57f41c40
AS
45768 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
45769 from the frame pointer, not the stack pointer. Correct layout
45770 comments. Fix test on resulting framesize and the management of
45771 the outregs buffer for pltexit. Preserve floating point return
45772 values across _dl_call_pltexit call.
2d2cd515
DM
45773 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
45774 framesize and the management of the outregs buffer for pltexit.
45775 Preserve floating point return values across _dl_call_pltexit
45776 call.
57f41c40
AS
45777 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
45778 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
45779 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
45780 (print_exit): Fix format string for return register value.
45781
9a07f9d0
JM
457822012-03-10 Joseph Myers <joseph@codesourcery.com>
45783
45784 * sunrpc/Makefile (others): Add rpcgen.
45785 ($(objpfx)rpcgen): Remove special build rule and dependency on
45786 libc.
45787 * sunrpc/rpcgen.c: New file.
45788
547b5e30
PE
457892012-03-09 Paul Eggert <eggert@cs.ucla.edu>
45790
c524201a
PE
45791 [BZ #13673]
45792 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
45793 * stdio-common/bug-vfprintf-nargs.c: Likewise.
45794 * sysdeps/i386/crti.S: Likewise.
45795 * sysdeps/i386/crtn.S: Likewise.
45796 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
45797 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
45798 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
45799 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
45800 * sysdeps/sh/crti.S: Likewise.
45801 * sysdeps/sh/crtn.S: Likewise.
45802 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
45803
7b6235f2
PE
45804 [BZ #13673]
45805 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
45806 with URL.
45807 * locale/programs/locfile-kw.gperf: Likewise.
45808 * locale/programs/charmap-kw.h: Regenerated.
45809 * locale/programs/locfile-kw.h: Likewise.
45810
547b5e30
PE
45811 [BZ #13673]
45812 * intl/plural.y: Replace FSF snail mail address with URL.
45813 * intl/plural.c: Regenerated.
45814
5f0a5dae
RH
458152012-03-09 Richard Henderson <rth@twiddle.net>
45816
45817 * include/math_private.h: Remove file.
45818 * math/math_private.h: Move file ...
45819 * sysdeps/generic/math_private.h: ... here.
45820
b8c03620
RH
45821 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
45822 * sysdeps/powerpc/fpu/math_private.h: Likewise.
45823 * sysdeps/x86_64/fpu/math_private.h: Likewise.
45824
4e234f5d 45825 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
45826 and <math_private.h>.
45827 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
45828 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
45829 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
45830 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
45831 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
45832 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
45833 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
45834 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45835 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45836 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45837 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45838 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45839 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45840 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45841 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45842 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45843 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45844 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45845 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45846 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45847 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45848 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45849 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45850 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45851 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
45852 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45853 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45854 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45855 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45856 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45857 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45858 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45859 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
45860 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45861 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45862 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45863 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45864 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45865 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45866 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45867 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
45868 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45869 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
45870 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
45871 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
45872 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45873 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
45874 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
45875 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45876 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45877 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
45878 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
45879 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
45880 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45881 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
45882 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45883 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45884 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
45885 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
45886 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
45887 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45888 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
45889 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45890 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45891 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
45892 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
45893 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
45894 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
45895 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
45896 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
45897 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
45898 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45899 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
45900 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45901 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
45902 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
45903 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
45904 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45905 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
45906 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
45907 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
45908 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
45909 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
45910 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45911 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45912 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
45913 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
45914 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
45915 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45916 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45917 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45918 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45919 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45920 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45921 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45922 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45923 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45924 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45925 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45926 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45927 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45928 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45929 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45930 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45931 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45932 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45933 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45934 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45935 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45936 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45937 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45938 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45939 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45940 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45941 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
45942 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45943 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45944 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
45945 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45946 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
45947 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45948 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
45949 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45950 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
45951 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45952 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
45953 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45954 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
45955 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
45956 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
45957 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
45958 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
45959 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45960 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
45961 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
45962 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
45963 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
45964 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
45965 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
45966 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
45967 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45968 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
45969 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
45970 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
45971 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
45972 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
45973 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
45974 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
45975 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
45976 * sysdeps/ieee754/k_standard.c: Likewise.
45977 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45978 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45979 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45980 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45981 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45982 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45983 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45984 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45985 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45986 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45987 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45988 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45989 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45990 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45991 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45992 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45993 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
45994 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45995 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45996 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
45997 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
45998 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
45999 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46000 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
46001 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
46002 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
46003 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
46004 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
46005 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
46006 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46007 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
46008 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
46009 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
46010 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
46011 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
46012 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
46013 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
46014 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
46015 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
46016 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
46017 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
46018 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
46019 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
46020 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
46021 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
46022 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
46023 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
46024 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
46025 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
46026 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46027 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46028 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
46029 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
46030 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
46031 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46032 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46033 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
46034 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
46035 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
46036 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
46037 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46038 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
46039 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
46040 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
46041 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46042 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46043 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
46044 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
46045 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
46046 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
46047 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
46048 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46049 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
46050 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
46051 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
46052 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
46053 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
46054 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
46055 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46056 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
46057 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
46058 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
46059 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
46060 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
46061 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
46062 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
46063 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
46064 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
46065 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
46066 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
46067 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
46068 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
46069 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
46070 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
46071 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
46072 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
46073 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
46074 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
46075 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
46076 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
46077 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
46078 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
46079 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46080 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
46081 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
46082 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46083 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46084 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
46085 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
46086 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
46087 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
46088 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
46089 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
46090 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46091 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
46092 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46093 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
46094 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46095 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46096 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
46097 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46098 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
46099 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46100 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
46101 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46102 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
46103 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46104 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
46105 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
46106 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46107 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46108 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46109 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46110 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
46111 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
46112 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
46113 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
46114 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
46115 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46116 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
46117 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
46118 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46119 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
46120 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
46121 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
46122 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46123 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46124 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
46125 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
46126 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
46127 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46128 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46129 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46130 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
46131 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
46132 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
46133 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
46134 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
46135 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
46136 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
46137 * sysdeps/ieee754/s_lib_version.c: Likewise.
46138 * sysdeps/ieee754/s_matherr.c: Likewise.
46139 * sysdeps/ieee754/s_signgam.c: Likewise.
46140 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46141 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46142 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
46143 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
46144 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
46145 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
46146 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
46147 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
46148 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
46149 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
46150 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
46151 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
46152 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
46153 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46154 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
46155 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
46156 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
46157 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
46158 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
46159 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46160 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 46161
1991fa03
JM
461622012-03-09 Joseph Myers <joseph@codesourcery.com>
46163
46164 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
46165 * sunrpc/rpc_main.c: Likewise.
46166 * sunrpc/rpc_svcout.c: Likewise.
46167
60d6f5a6
DM
461682012-03-09 David S. Miller <davem@davemloft.net>
46169
46170 * include/math_private.h: New file.
46171
4962050e
JM
461722012-03-09 Joseph Myers <joseph@codesourcery.com>
46173
02a6f887
JM
46174 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
46175 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
46176 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
46177 from <bits/socket_type.h>.
46178 (enum __socket_type): Don't define here.
46179 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
46180 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46181 bits/socket_type.h.
46182
c6e013c1
JM
46183 [BZ #13566]
46184 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
46185 checking __USE_GNU.
46186
4962050e
JM
46187 * Makerules ($(inst_includedir)/%.h): New rule.
46188 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
46189 (install-others): Remove variable setting.
46190 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
46191
38842f45
RH
461922012-03-08 Richard Henderson <rth@twiddle.net>
46193
67bb6da6
RH
46194 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
46195 from macro to inline function; merge with the
46196 !__LIBC_INTERNAL_MATH_INLINES version.
46197 (__ieee754_sqrtf): Likewise.
46198
15194b4b
RH
46199 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
46200 to inline function.
46201 (__rintf, __floor, __floorf): Likewise.
46202
64e21ede
RH
46203 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
46204 macro to inline function.
46205 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
46206
38842f45
RH
46207 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
46208 not <math/math_private.h>.
46209
c64bf5fe
DM
462102012-03-08 David S. Miller <davem@davemloft.net>
46211
46212 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
46213 copyright year.
46214 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
46215
82d86f28
TS
462162012-03-08 Thomas Schwinge <thomas@codesourcery.com>
46217
46218 * resolv/gai_misc.c (handle_requests): Fix struct timespec
46219 normalization.
46220 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
46221 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
46222
aea5d727
UD
462232012-03-08 Ulrich Drepper <drepper@gmail.com>
46224
46225 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
46226 be defined individually, they must be defined as a block. Define
46227 S for printing a string instead of hidint the different by using a
46228 macro for adding the 'l'.
46229 * stdio-common/tst-fphex-wide.c: Adjust.
46230
70bca0a3
MP
462312012-03-07 Marek Polacek <polacek@redhat.com>
46232
46233 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
46234
65b81130
MP
462352012-03-08 Marek Polacek <polacek@redhat.com>
46236
46237 [BZ #13806]
46238 * stdio-common/Makefile (tests): Add tst-fphex-wide.
46239 * stdio-common/tst-fphex.c: Define a few macros to make the
46240 test reusable. Use them.
46241 * stdio-common/tst-fphex-wide.c: New file.
46242
07037eeb
JM
462432012-03-08 Joseph Myers <joseph@codesourcery.com>
46244
a7a93d50
JM
46245 [BZ #6911]
46246 * manual/macros.texi (gnusystems): New macro.
46247 (nongnusystems): Likewise.
46248 (gnulinuxhurdsystems): Likewise.
46249 (gnuhurdsystems): Likewise..
46250 (gnulinuxsystems): Likewise.
46251 * manual/charset.texi: Use new macros or @theglibc{} to refer to
46252 variants of the GNU system, not "GNU system".
46253 * manual/conf.texi: Likewise.
46254 * manual/errno.texi: Likewise. Update example of errno macro
46255 expansion.
46256 * manual/filesys.texi: Likewise.
46257 (getumask): Document as specific to GNU/Hurd.
46258 * manual/install.texi: Likewise. Reword some references to
46259 GNU/Linux.
46260 * manual/intro.texi: Likewise.
46261 * manual/io.texi: Likewise.
46262 (File Name Portability): Detail which constraints are inapplicable
46263 to all GNU systems and which are only inapplicable to GNU/Hurd.
46264 * manual/job.texi: Likewise.
46265 * manual/llio.texi: Likewise.
46266 (O_NOCTTY): Document as present on GNU/Linux.
46267 * manual/maint.texi: Likewise.
46268 * manual/memory.texi: Likewise.
46269 * manual/pattern.texi: Likewise.
46270 * manual/pipe.texi: Likewise.
46271 * manual/process.texi: Likewise.
46272 * manual/resource.texi: Likewise.
46273 (RUSAGE_CHILDREN): Remove statement about specifying a particular
46274 child on GNU/Hurd.
46275 * manual/setjmp.texi: Likewise.
46276 * manual/signal.texi: Likewise.
46277 * manual/startup.texi: Likewise.
46278 * manual/stdio.texi: Likewise.
46279 * manual/terminal.texi: Likewise.
46280 (ONLCR): Document as POSIX.
46281 (OXTABS): Document availability on GNU/Linux as XTABS.
46282 (ONOEOT): Document availability separately from other bits.
46283 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
46284 * manual/time.texi: Likewise.
46285 * manual/users.texi: Likewise.
46286 * INSTALL: Regenerated.
46287 * sysdeps/gnu/errlist.c: Regenerated.
46288
07037eeb
JM
46289 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
46290 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
46291 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
46292 puts.
46293 * configure: Regenerated.
46294
d1d3431a
JM
462952012-03-07 Joseph Myers <joseph@codesourcery.com>
46296
af6a1e37
JM
46297 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
46298 default includes instead of AC_HEADER_CHECK.
46299 * sysdeps/i386/configure: Regenerated.
46300
d1d3431a
JM
46301 [BZ #10716]
46302 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
46303 * math/s_cacoshf.c (__cacoshf): Likewise.
46304 * math/s_cacoshl.c (__cacoshl): Likewise.
46305 * math/s_casinh.c (__casinh): Set signs of result from argument.
46306 * math/s_casinhf.c (__casinhf): Likewise.
46307 * math/s_casinhl.c (__casinhl): Likewise.
46308 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
46309 (casinh_test): Add more tests.
46310 * sysdeps/i386/fpu/libm-test-ulps: Update.
46311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46312
482ff4da
UD
463132012-03-07 Ulrich Drepper <drepper@gmail.com>
46314
872fda05
UD
46315 * po/zh_TW.po: Update from translation team.
46316
a4300c7a
UD
46317 * login/Makefile (distribute): Remove variable.
46318 * catgets/Makefile: Likewise.
46319 * mach/Makefile: Likewise.
46320 * malloc/Makefile: Likewise.
46321 * misc/Makefile: Likewise.
46322 * iconv/Makefile: Likewise.
46323 * nscd/Makefile: Likewise.
46324 * hurd/Makefile: Likewise.
46325 * manual/Makefile: Likewise.
46326 * locale/Makefile: Likewise.
46327 * intl/Makefile: Likewise.
46328 * conform/Makefile: Likewise.
46329 * nss/Makefile: Likewise.
46330 * time/Makefile: Likewise.
46331 * soft-fp/Makefile: Likewise.
46332 * dirent/Makefile: Likewise.
46333 * gmon/Makefile: Likewise.
46334 * po/Makefile: Likewise.
46335 * rt/Makefile: Likewise.
46336 * socket/Makefile: Likewise.
46337 * math/Makefile: Likewise.
46338 * signal/Makefile: Likewise.
46339 * debug/Makefile: Likewise.
46340 * elf/Makefile: Likewise.
46341 * timezone/Makefile: Likewise.
46342 * stdlib/Makefile: Likewise.
46343 * iconvdata/Makefile: Likewise.
46344 * sunrpc/Makefile: Likewise.
46345 * io/Makefile: Likewise.
46346 * argp/Makefile: Likewise.
46347 * inet/Makefile: Likewise.
46348 * hesiod/Makefile: Likewise.
46349 * grp/Makefile: Likewise.
46350 * csu/Makefile: Likewise.
46351 * wctype/Makefile: Likewise.
46352 * crypt/Makefile: Likewise.
46353 * libio/Makefile: Likewise.
46354 * string/Makefile: Likewise.
46355 * nis/Makefile: Likewise.
46356 * resolv/Makefile: Likewise.
46357 * stdio-common/Makefile: Likewise.
46358 * wcsmbs/Makefile: Likewise.
46359 * dlfcn/Makefile: Likewise.
46360 * posix/Makefile: Likewise.
46361
3b7c4e74 46362 [BZ #6959]
482ff4da
UD
46363 * timezone/Makefile: Don't install timezone files, just the programs
46364 and scripts.
46365
f72ed77d
UD
463662012-03-06 Ulrich Drepper <drepper@gmail.com>
46367
a000466f
UD
46368 * nss/databases.def: Add missing gshadow entry.
46369
f72ed77d
UD
46370 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
46371
a53b7a4e
MP
463722012-03-06 Marek Polacek <polacek@redhat.com>
46373
46374 [BZ #13726]
46375 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
46376 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
46377 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
46378 * stdio-common/tst-long-dbl-fphex.c: New file.
46379
e9258400
DM
463802012-03-06 David S. Miller <davem@davemloft.net>
46381
46382 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46383 (set_obp_int): New function.
46384 (get_obp_int): New function.
46385 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
46386 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
46387 Avoid unused variable warnings on 'val' and use builtin_expect.
46388 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
46389 __builtin_expect.
e9258400
DM
46390 (INLINE_CLONE_SYSCALL): Likewise.
46391
3bd2c723
DM
463922012-03-05 David S. Miller <davem@davemloft.net>
46393
46394 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46395
bbb78d03
AS
463962012-03-05 Andreas Schwab <schwab@linux-m68k.org>
46397
884c5db4
AS
46398 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46399
bbb78d03
AS
46400 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
46401 only for |x| >= 40.
46402 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46403
1c9f702a 464042012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
46405
46406 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
46407 Replace gettimeofday with __vdso_gettimeofday.
46408
7be16f82
RM
46409 * sysdeps/unix/sysv/linux/x86_64/init-first.c
46410 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
46411 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
46412
46413 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
46414 time with __vdso_time.
46415
ed58a00f
JM
464162012-03-05 Joseph Myers <joseph@codesourcery.com>
46417
46418 * manual/lang.texi (size_t): Note types to which size_t may be
46419 equivalent with the GNU C Library, but do not describe when
46420 differences between them are significant.
46421
30ee4ced
AJ
464222012-03-05 Andreas Jaeger <aj@suse.de>
46423
46424 * sysdeps/i386/fpu/libm-test-ulps: Update.
46425
b7cd39e8
JM
464262012-03-05 Joseph Myers <joseph@codesourcery.com>
46427
46428 [BZ #3976]
46429 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
46430 (__ieee754_pow): Save and restore rounding mode and use
46431 round-to-nearest for main computations.
46432 * math/libm-test.inc (pow_test_tonearest): New function.
46433 (pow_test_towardzero): Likewise.
46434 (pow_test_downward): Likewise.
46435 (pow_test_upward): Likewise.
46436 (main): Call the new functions.
46437 * sysdeps/i386/fpu/libm-test-ulps: Update.
46438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
46439
46440 [BZ #3976]
46441 * math/libm-test.inc (cosh_test_tonearest): New function.
46442 (cosh_test_towardzero): Likewise.
46443 (cosh_test_downward): Likewise.
46444 (cosh_test_upward): Likewise.
46445 (sinh_test_tonearest): Likewise.
46446 (sinh_test_towardzero): Likewise.
46447 (sinh_test_downward): Likewise.
46448 (sinh_test_upward): Likewise.
46449 (main): Call the new functions.
46450 * sysdeps/i386/fpu/libm-test-ulps: Update.
46451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46452
6c6a98c9
TV
464532012-03-05 Tom de Vries <tom@codesourcery.com>
46454
46455 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
46456 default stack guard is set in last bytes.
46457 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
46458
21bb2d2e 464592012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 46460
21bb2d2e 46461 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 46462
21bb2d2e
AJ
46463 [BZ #13656]
46464 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
46465 possibly allocate from heap instead of stack.
46466 * stdio-common/bug-vfprintf-nargs.c: New file.
46467 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 46468
c6922934
AS
464692012-03-03 Andreas Schwab <schwab@linux-m68k.org>
46470
46471 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46472
bc957d53
MP
464732012-03-03 Marek Polacek <polacek@redhat.com>
46474
46475 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
46476 * math/math_private.h: Likewise.
46477 * stdlib/tst-strtod.c: Likewise.
46478 * sysdeps/i386/i486/bits/atomic.h: Likewise.
46479 * sysdeps/x86_64/bits/atomic.h: Likewise.
46480
6358490d
DM
464812012-03-02 David S. Miller <davem@davemloft.net>
46482
46483 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
46484 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
46485 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
46486 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
46487 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
46488 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
46489 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
46490 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
46491
01ae168d
RM
464922012-03-02 Roland McGrath <roland@hack.frob.com>
46493
d9a17c07
RM
46494 [BZ #13792]
46495 * manual/examples/README: New file, says the example source files
46496 can be used under GPL>=2.
46497 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
46498 line containing just "*/".
46499 * manual/examples/add.c: Add copyright header (GPL>=2).
46500 * manual/examples/argp-ex1.c: Likewise.
46501 * manual/examples/argp-ex2.c: Likewise.
46502 * manual/examples/argp-ex3.c: Likewise.
46503 * manual/examples/argp-ex4.c: Likewise.
46504 * manual/examples/atexit.c: Likewise.
46505 * manual/examples/db.c: Likewise.
46506 * manual/examples/dir.c: Likewise.
46507 * manual/examples/dir2.c: Likewise.
46508 * manual/examples/execinfo.c: Likewise.
46509 * manual/examples/filecli.c: Likewise.
46510 * manual/examples/filesrv.c: Likewise.
46511 * manual/examples/fmtmsgexpl.c: Likewise.
46512 * manual/examples/genpass.c: Likewise.
46513 * manual/examples/inetcli.c: Likewise.
46514 * manual/examples/inetsrv.c: Likewise.
46515 * manual/examples/isockad.c: Likewise.
46516 * manual/examples/longopt.c: Likewise.
46517 * manual/examples/memopen.c: Likewise.
46518 * manual/examples/memstrm.c: Likewise.
46519 * manual/examples/mkfsock.c: Likewise.
46520 * manual/examples/mkisock.c: Likewise.
46521 * manual/examples/mygetpass.c: Likewise.
46522 * manual/examples/pipe.c: Likewise.
46523 * manual/examples/popen.c: Likewise.
46524 * manual/examples/rprintf.c: Likewise.
46525 * manual/examples/search.c: Likewise.
46526 * manual/examples/select.c: Likewise.
46527 * manual/examples/setjmp.c: Likewise.
46528 * manual/examples/sigh1.c: Likewise.
46529 * manual/examples/sigusr.c: Likewise.
46530 * manual/examples/stpcpy.c: Likewise.
46531 * manual/examples/strdupa.c: Likewise.
46532 * manual/examples/strftim.c: Likewise.
46533 * manual/examples/strncat.c: Likewise.
46534 * manual/examples/subopt.c: Likewise.
46535 * manual/examples/swapcontext.c: Likewise.
46536 * manual/examples/termios.c: Likewise.
46537 * manual/examples/testopt.c: Likewise.
46538 * manual/examples/testpass.c: Likewise.
46539 * manual/examples/timeval_subtract.c: Likewise.
46540
01ae168d
RM
46541 [BZ #13792]
46542 * manual/time.texi (Elapsed Time): Move timeval_subtract example
46543 function to ...
46544 * manual/timeval_subtract.c.texi: ... here, new file.
46545
49efa33d
DM
465462012-03-02 David S. Miller <davem@davemloft.net>
46547
46548 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
46549
28afd92d
JM
465502012-03-02 Joseph Myers <joseph@codesourcery.com>
46551
804360ed
JM
46552 [BZ #3976]
46553 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
46554 (__sin): Save and restore rounding mode and use round-to-nearest
46555 for all computations.
46556 (__cos): Save and restore rounding mode and use round-to-nearest
46557 for all computations.
46558 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
46559 <fenv.h>.
46560 (tan): Save and restore rounding mode and use round-to-nearest for
46561 all computations.
46562 * math/libm-test.inc (cos_test_tonearest): New function.
46563 (cos_test_towardzero): Likewise.
46564 (cos_test_downward): Likewise.
46565 (cos_test_upward): Likewise.
46566 (sin_test_tonearest): Likewise.
46567 (sin_test_towardzero): Likewise.
46568 (sin_test_downward): Likewise.
46569 (sin_test_upward): Likewise.
46570 (tan_test_tonearest): Likewise.
46571 (tan_test_towardzero): Likewise.
46572 (tan_test_downward): Likewise.
46573 (tan_test_upward): Likewise.
46574 (main): Call the new functions.
46575 * sysdeps/i386/fpu/libm-test-ulps: Update.
46576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46577
a6d06d7b
JM
46578 [BZ #10135]
46579 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
46580 small n, then large n, before computing and testing k+n.
46581 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
46582 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
46583 Likewise.
46584 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
46585 Likewise.
46586 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
46587 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
46588 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
46589 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
46590 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
46591 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
46592 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
46593 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
46594 * math/libm-test.inc (scalbn_test): Add more tests.
46595 (scalbln_test): Likewise.
46596
07e12bb3
JM
46597 * manual/filesys.texi (mode_t): Describe constraints on size and
46598 signedness, not exact equivalence to a particular type.
46599 (ino_t): Likewise.
46600 (ino64_t): Likewise.
46601 (dev_t): Likewise.
46602 (nlink_t): Likewise.
46603 (blkcnt_t): Likewise.
46604 (blkcnt64_t): Likewise.
46605 * manual/llio.texi (off_t): Likewise.
46606
28afd92d
JM
46607 [BZ #3976]
46608 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
46609 (__ieee754_exp): Save and restore rounding mode and use
46610 round-to-nearest for all computations.
46611 * math/libm-test.inc (exp_test_tonearest): New function.
46612 (exp_test_towardzero): Likewise.
46613 (exp_test_downward): Likewise.
46614 (exp_test_upward): Likewise.
46615 (main): Call the new functions.
46616 * sysdeps/i386/fpu/libm-test-ulps: Update.
46617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46618
b1eeb65d
CD
466192012-03-01 Chris Demetriou <cgd@google.com>
46620
46621 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
46622 have predictable order.
46623
53362a4b
DM
466242012-03-01 David S. Miller <davem@davemloft.net>
46625
3c969083
DM
46626 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
46627
759707de
DM
46628 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
46629 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
46630 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
46631 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
46632
dfdb8ff2
DM
46633 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
46634 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
46635 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
46636 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
46637 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
46638 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
46639 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
46640 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
46641 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
46642
ead89f96
DM
46643 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46644
7f66bd07
DM
46645 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
46646 * sysdeps/sparc/fpu/libm-test-ulps: to here.
46647 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
46648
53362a4b
DM
46649 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
46650 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46651 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
46652 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
46653 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
46654 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
46655 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
46656 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46657 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
46658 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
46659 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
46660 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46661 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46662 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
46663 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46664 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46665 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
46666 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
46667 * sysdeps/sparc/elf/configure: Regenerated.
46668
7b1902cb
JM
466692012-03-01 Joseph Myers <joseph@codesourcery.com>
46670
bec039bc
JM
46671 * configure.in (AS, LD): Require binutils 2.20 or later.
46672 * configure: Regenerated.
46673 * manual/install.texi (Tools for Compilation): Give binutils 2.20
46674 as required minimum version.
46675 * INSTALL: Regenerated.
46676
7b1902cb
JM
46677 [BZ #2541]
46678 [BZ #4108]
46679 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
46680 before squaring exponent.
46681 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
46682 bottom long double and 27 bits of top long double before squaring
46683 exponent.
46684 * math/libm-test.inc (erfc_test): Add more tests.
46685 * sysdeps/i386/fpu/libm-test-ulps: Update.
46686 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46688
f775c276
KT
466892012-03-01 Kai Tietz <ktietz@redhat.com>
46690
46691 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
46692 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
46693 containing bit-fields.
46694 * soft-fp/extended.h (_FP_UNION_E): Likewise.
46695 * soft-fp/single.h (_FP_UNION_S): Likewise.
46696 * soft-fp/double.h (_FP_UNION_D): Likewise.
46697
5b8a4d4a
JM
466982012-02-29 Joseph Myers <joseph@codesourcery.com>
46699
0bab47b6
JM
46700 [BZ #13786]
46701 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
46702 not include ../strcmp.S.
46703 [USE_AS_STRNCASECMP_L]: Likewise.
46704 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
46705 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
46706 * sysdeps/i386/i686/multiarch/strncase_l-c.c
46707 (__strncasecmp_l_ia32): Define as alias to
46708 __strncasecmp_l_nonascii.
46709
0fcad3e2
JM
46710 [BZ #5794]
46711 * math/libm-test.inc (expm1_test): Add test for bug 5794.
46712 * sysdeps/i386/fpu/libm-test-ulps: Update.
46713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46714
5b8a4d4a
JM
46715 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
46716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46717
8fdceb2e
JL
467182012-02-29 Jeff Law <law@redhat.com>
46719
46720 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
46721 out of bounds read.
46722
1f393a11
MP
467232012-02-29 Marek Polacek <polacek@redhat.com>
46724
46725 [BZ #13706]
46726 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
46727 * elf/Makefile: Add rules to run tst-unused-dep.out.
46728
8847f037
DM
467292012-02-28 David S. Miller <davem@davemloft.net>
46730
46731 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
46732 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
46733 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
46734 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
46735 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
46736 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
46737
169d7f11
JM
467382012-02-29 Joseph Myers <joseph@codesourcery.com>
46739
46740 * math/libm-test.inc (llround_test): Move one test from
46741 lround_test. Use TEST_f_L in moved test.
46742 (lround_test): Move misplaced test to llround_test. Add testcase
46743 from bug 2561.
46744
39adf059
UD
467452012-02-28 Ulrich Drepper <drepper@gmail.com>
46746
46747 * sysdeps/x86_64/fpu/e_expf.S: New file.
46748 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
46749
71b5d1c5
SB
467502012-02-28 Stanislav Brabec <sbrabec@suse.cz>
46751
46752 [BZ #13637]
46753 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
46754 of remain_len that may cause incomplete multi-byte character and
46755 false match.
46756 * posix/bug-regex33.c: New file.
46757 * posix/Makefile (tests): Add bug-regex33.
46758
1f77f049
JM
467592012-02-28 Joseph Myers <joseph@codesourcery.com>
46760
46761 * manual/macros.texi: New file.
46762 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
46763 * manual/libc.texinfo: Include macros.texi.
46764 * manual/creatute.texi: Likewise.
46765 * manual/install.texi: Likewise.
46766 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
46767 @glibcadj{} in references to the GNU C Library.
46768 * manual/charset.texi: Likewise.
46769 * manual/conf.texi: Likewise.
46770 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
46771 when not using those macros.
46772 * manual/creature.texi: Likewise.
46773 * manual/crypt.texi: Likewise.
46774 * manual/errno.texi: Likewise.
46775 * manual/filesys.texi: Likewise.
46776 * manual/header.texi: Likewise.
46777 * manual/install.texi: Likewise.
46778 * manual/intro.texi: Likewise.
46779 * manual/io.texi: Likewise.
46780 * manual/job.texi: Likewise.
46781 * manual/lang.texi: Likewise.
46782 * manual/libc.texiinfo: Likewise.
46783 * manual/llio.texi: Likewise.
46784 * manual/locale.texi: Likewise.
46785 * manual/maint.texi: Likewise.
46786 * manual/math.texi: Likewise.
46787 * manual/memory.texi: Likewise.
46788 * manual/message.texi: Likewise.
46789 * manual/nss.texi: Likewise.
46790 * manual/pattern.texi: Likewise.
46791 * manual/process.texi: Likewise.
46792 * manual/resource.texi: Likewise.
46793 * manual/search.texi: Likewise.
46794 * manual/setjmp.texi: Likewise.
46795 * manual/signal.texi: Likewise.
46796 * manual/socket.texi: Likewise.
46797 * manual/startup.texi: Likewise.
46798 * manual/stdio.texi: Likewise.
46799 * manual/string.texi: Likewise.
46800 * manual/sysinfo.texi: Likewise.
46801 * manual/syslog.texi: Likewise.
46802 * manual/terminal.texi: Likewise.
46803 * manual/time.texi: Likewise.
46804 * manual/users.texi: Likewise.
46805 * INSTALL: Regenerated.
46806 * NOTES: Regenerated.
d40c5d54 46807 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 46808
450bf206
AS
468092012-02-28 Andreas Schwab <schwab@linux-m68k.org>
46810
46811 * include/dirent.h: Include <dirstream.h> before
46812 <dirent/dirent.h>.
46813
741a235b
DM
468142012-02-28 David S. Miller <davem@davemloft.net>
46815
46816 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
46817 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
46818 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
46819 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
46820
d6b5aa58
DM
468212012-02-27 David S. Miller <davem@davemloft.net>
46822
1aff59a3
DM
46823 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
46824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
46825 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
46826 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
46827
d6b5aa58
DM
46828 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
46829 frame pointer instead of stack pointer relative arg slot.
46830 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46831 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46832 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46833
433f48bf
CD
468342012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
46835
46836 [BZ #3992]
46837 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
46838
d674b76d
DM
468392012-02-27 David S. Miller <davem@davemloft.net>
46840
46841 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
46842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46843 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
46844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
46845 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46846 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46847 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
46848 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
46849
0e7727f7
JM
468502012-02-27 Joseph Myers <joseph@codesourcery.com>
46851
46852 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
46853 later. Allow versions 5-9.
43be4ca2 46854 * configure: Regenerated.
0e7727f7
JM
46855 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
46856 required minimum version and 4.6 as recommended version. Do not
46857 mention bugs in GCC 2.7 and 2.8.
43be4ca2 46858 * INSTALL: Regenerated.
0e7727f7 46859
a78bc654
DM
468602012-02-27 David S. Miller <davem@davemloft.net>
46861
428d5830
DM
46862 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
46863 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
46864 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
46865 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
46866 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
46867 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
46868 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
46869 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
46870
a78bc654
DM
46871 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
46872 manipulate bits before adding and subtracting TWO112[sx].
46873 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
46874
4579f81c
RM
468752012-02-27 Roland McGrath <roland@hack.frob.com>
46876
36c8acb4
RM
46877 [BZ #13775]
46878 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
46879 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
46880 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
46881 being in POSIX, because they are in 1003.1-2008.
46882
84ad622b
RM
46883 * rt/tst-aio.c: Include <fcntl.h>.
46884 * rt/tst-aio7.c: Likewise.
46885 * rt/tst-aio64.c: Likewise.
46886
4579f81c
RM
46887 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
46888
abd923db
JM
468892012-02-27 Joseph Myers <joseph@codesourcery.com>
46890
46891 * manual/install.texi (--with-headers): Describe headers as
46892 interface headers, not private headers.
46893 (Specific advice for GNU/Linux systems): Describe use of headers
46894 from "make headers_install", not private headers from older
46895 kernels.
43be4ca2 46896 * INSTALL: Regenerated.
abd923db
JM
46897 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
46898 Change to 2.6.19.
46899 * sysdeps/unix/sysv/linux/configure: Regenerated.
46900
6664049b
JM
46901 * manual/llio.texi (fclean): Remove documentation.
46902
bb8b6697
JM
46903 * manual/Makefile (libc-texi-generated): New variable. Include
46904 version.texi.
46905 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
46906 $(libc-texi-generated), not duplicated list of files.
46907 (version.texi, stamp-version): New rules.
46908 (realclean): Remove $(libc-texi-generated), not individual files
46909 from that list. Do not remove dir-add.texinfo.
46910 * manual/libc.texinfo: Comment out uses of edition numbers and
46911 references to printed manual. Remove last-updated dates.
46912 (EDITION): Comment out.
46913 (ISBN): Likewise.
46914 (VERSION, UPDATED): Remove.
46915 (version.texi): Include.
46916
12e5c3b9
AS
469172012-02-27 Andreas Schwab <schwab@linux-m68k.org>
46918
46919 * sysdeps/posix/spawni.c: Include <signal.h>.
46920 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
46921 * sysdeps/pthread/aio_fsync.c: Likewise.
46922
4efeffc1 469232012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 46924
ba63ba08
UD
46925 * conform/Makefile (tests): Run only when not cross-compiling and
46926 when fast-check is not defined.
46927
d94a4670
UD
46928 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
46929 * conform/data/limits.h-data: Fixes for POSIX2008.
46930 * conform/run-conformtest.sh: Run all tests.
46931 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
46932 headers.
46933 * include/bits/dlfcn.h: Likewise.
46934 * include/langinfo.h: Likewise.
46935 * include/monetary.h: Likewise.
46936 * include/sys/poll.h: Likewise.
46937
46938 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
46939 for __USE_GNU.
46940 * posix/spawn.h: Define __need_sigset_t.
46941 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
46942 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
46943 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
46944 to get sigevent_t only.
46945 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
46946 only for __USE_GNU.
46947 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46948 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
46949 process_vm_writev only for __USE_GNU.
46950 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
46951
46952 * conform/Makefile: For now ignore errors from run-conformtest.
46953 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
46954 POSIX to avoid namespace pollution. Don't prepend headers.
46955 * conform/data/aio.h-data: Fixes for POSIX testing.
46956 * conform/data/fcntl.h-data: Likewise.
46957 * conform/data/glob.h-data: Likewise.
46958 * conform/data/grp.h-data: Likewise.
46959 * conform/data/pthread.h-data: Likewise.
46960 * conform/data/pwd.h-data: Likewise.
46961 * conform/data/signal.h-data: Likewise.
46962 * conform/data/spawn.h-data: Likewise.
46963 * conform/data/stdio.h-data: Likewise.
46964 * conform/data/stdlib.h-data: Likewise.
46965 * conform/data/stropts.h-data: Likewise.
46966 * conform/data/sys/mman.h-data: Likewise.
46967 * conform/data/sys/stat.h-data: Likewise.
46968 * conform/data/sys/types.h-data: Likewise.
46969 * conform/data/sys/wait.h-data: Likewise.
46970 * conform/data/time.h-data: Likewise.
46971 * conform/data/unistd.h-data: Likewise.
46972 * conform/data/utime.h-data: Likewise.
46973
46974 * io/sys/stat.h: fchmod was always in POSIX.
46975 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
46976 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
46977 * rt/aio.h: Define __need_timespec before including <time.h>.
46978 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
46979 struct. Add forward declaration of pthread_attr_t and use it in
46980 sigevent.
46981 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46982 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46983 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
46984 always remove CLK_TCK definition.
46985
c20105c3
AS
469862012-02-26 Andreas Schwab <schwab@linux-m68k.org>
46987
46988 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
46989
7a270350
UD
469902012-02-25 Ulrich Drepper <drepper@gmail.com>
46991
31341567
UD
46992 * conform/run-conformtest.sh: New file.
46993 * conform/Makefile: Run run-conformtest for tests.
46994 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
46995 support.
46996
46997 * conform/data/uchar.h-data: New file.
46998 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
46999 * conform/data/arpa/inet.h-data: Likewise.
47000 * conform/data/assert.h-data: Likewise.
47001 * conform/data/complex.h-data: Likewise.
47002 * conform/data/cpio.h-data: Likewise.
47003 * conform/data/ctype.h-data: Likewise.
47004 * conform/data/dirent.h-data: Likewise.
47005 * conform/data/dlfcn.h-data: Likewise.
47006 * conform/data/errno.h-data: Likewise.
47007 * conform/data/fcntl.h-data: Likewise.
47008 * conform/data/float.h-data: Likewise.
47009 * conform/data/fmtmsg.h-data: Likewise.
47010 * conform/data/fnmatch.h-data: Likewise.
47011 * conform/data/ftw.h-data: Likewise.
47012 * conform/data/glob.h-data: Likewise.
47013 * conform/data/grp.h-data: Likewise.
47014 * conform/data/iconv.h-data: Likewise.
47015 * conform/data/inttypes.h-data: Likewise.
47016 * conform/data/langinfo.h-data: Likewise.
47017 * conform/data/libgen.h-data: Likewise.
47018 * conform/data/limits.h-data: Likewise.
47019 * conform/data/locale.h-data: Likewise.
47020 * conform/data/math.h-data: Likewise.
47021 * conform/data/monetary.h-data: Likewise.
47022 * conform/data/mqueue.h-data: Likewise.
47023 * conform/data/ndbm.h-data: Likewise.
47024 * conform/data/net/if.h-data: Likewise.
47025 * conform/data/netdb.h-data: Likewise.
47026 * conform/data/netinet/in.h-data: Likewise.
47027 * conform/data/nl_types.h-data: Likewise.
47028 * conform/data/poll.h-data: Likewise.
47029 * conform/data/pthread.h-data: Likewise.
47030 * conform/data/pwd.h-data: Likewise.
47031 * conform/data/regex.h-data: Likewise.
47032 * conform/data/sched.h-data: Likewise.
47033 * conform/data/search.h-data: Likewise.
47034 * conform/data/semaphore.h-data: Likewise.
47035 * conform/data/setjmp.h-data: Likewise.
47036 * conform/data/signal.h-data: Likewise.
47037 * conform/data/spawn.h-data: Likewise.
47038 * conform/data/stdarg.h-data: Likewise.
47039 * conform/data/stdio.h-data: Likewise.
47040 * conform/data/stdlib.h-data: Likewise.
47041 * conform/data/string.h-data: Likewise.
47042 * conform/data/strings.h-data: Likewise.
47043 * conform/data/stropts.h-data: Likewise.
47044 * conform/data/sys/ipc.h-data: Likewise.
47045 * conform/data/sys/mman.h-data: Likewise.
47046 * conform/data/sys/msg.h-data: Likewise.
47047 * conform/data/sys/resource.h-data: Likewise.
47048 * conform/data/sys/select.h-data: Likewise.
47049 * conform/data/sys/sem.h-data: Likewise.
47050 * conform/data/sys/shm.h-data: Likewise.
47051 * conform/data/sys/socket.h-data: Likewise.
47052 * conform/data/sys/stat.h-data: Likewise.
47053 * conform/data/sys/statvfs.h-data: Likewise.
47054 * conform/data/sys/time.h-data: Likewise.
47055 * conform/data/sys/timeb.h-data: Likewise.
47056 * conform/data/sys/times.h-data: Likewise.
47057 * conform/data/sys/types.h-data: Likewise.
47058 * conform/data/sys/uio.h-data: Likewise.
47059 * conform/data/sys/un.h-data: Likewise.
47060 * conform/data/sys/utsname.h-data: Likewise.
47061 * conform/data/sys/wait.h-data: Likewise.
47062 * conform/data/syslog.h-data: Likewise.
47063 * conform/data/tar.h-data: Likewise.
47064 * conform/data/termios.h-data: Likewise.
47065 * conform/data/utime.h-data: Likewise.
47066 * conform/data/utmpx.h-data: Likewise.
47067 * conform/data/varargs.h-data: Likewise.
47068 * conform/data/wchar.h-data: Likewise.
47069 * conform/data/wctype.h-data: Likewise.
47070 * conform/data/wordexp.h-data: Likewise.
47071
47072 * include/stropts.h: New file.
47073 * include/uchar.h: New file.
47074 * include/aio.h: Changes to allow conformtest.pl to use the headers.
47075 * include/assert.h: Likewise.
47076 * include/ctype.h: Likewise.
47077 * include/dirent.h: Likewise.
47078 * include/dlfcn.h: Likewise.
47079 * include/fcntl.h: Likewise.
47080 * include/fnmatch.h: Likewise.
47081 * include/glob.h: Likewise.
47082 * include/grp.h: Likewise.
47083 * include/libio.h: Likewise.
47084 * include/locale.h: Likewise.
47085 * include/math.h: Likewise.
47086 * include/net/if.h: Likewise.
47087 * include/netdb.h: Likewise.
47088 * include/netinet/in.h: Likewise.
47089 * include/pthread.h: Likewise.
47090 * include/pwd.h: Likewise.
47091 * include/regex.h: Likewise.
47092 * include/sched.h: Likewise.
47093 * include/search.h: Likewise.
47094 * include/setjmp.h: Likewise.
47095 * include/signal.h: Likewise.
47096 * include/stdio.h: Likewise.
47097 * include/stdlib.h: Likewise.
47098 * include/string.h: Likewise.
47099 * include/sys/cdefs.h: Likewise.
47100 * include/sys/mman.h: Likewise.
47101 * include/sys/msg.h: Likewise.
47102 * include/sys/resource.h: Likewise.
47103 * include/sys/select.h: Likewise.
47104 * include/sys/socket.h: Likewise.
47105 * include/sys/stat.h: Likewise.
47106 * include/sys/statvfs.h: Likewise.
47107 * include/sys/time.h: Likewise.
47108 * include/sys/times.h: Likewise.
47109 * include/sys/uio.h: Likewise.
47110 * include/sys/utsname.h: Likewise.
47111 * include/sys/wait.h: Likewise.
47112 * include/termios.h: Likewise.
47113 * include/time.h: Likewise.
47114 * include/ulimit.h: Likewise.
47115 * include/unistd.h: Likewise.
47116 * include/utime.h: Likewise.
47117 * include/wchar.h: Likewise.
47118 * include/wctype.h: Likewise.
47119 * include/wordexp.h: Likewise.
47120
47121 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
47122
7a270350
UD
47123 * time/time.h: TIME_UTC must be a macro.
47124 Make timespec_get available for ISO C11 only as well.
47125
7724defc
UD
471262012-02-24 Ulrich Drepper <drepper@gmail.com>
47127
47128 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
47129 Reported by Peng Haitao <penght@cn.fujitsu.com>.
47130
6b1d1d46
JM
471312012-02-24 Joseph Myers <joseph@codesourcery.com>
47132
47133 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 47134
0f8bbd69
JM
471352012-02-24 Joseph Myers <joseph@codesourcery.com>
47136
47137 * manual/texinfo.tex: Update to version 2012-01-19.16.
47138
66ab80bc
JM
471392012-02-24 Joseph Myers <joseph@codesourcery.com>
47140
47141 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
47142
74981cc5
RM
471432012-02-24 Roland McGrath <roland@hack.frob.com>
47144
ee968201
RM
47145 [BZ #13738]
47146 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
47147 * manual/fdl-1.3.texi: New file.
47148 * manual/fdl-1.1.texi: File removed.
47149
74981cc5
RM
47150 [BZ #13738]
47151 * manual/libc.texinfo (FDL_VERSION): New @set.
47152 Use it for mention of FDL in cover text.
47153 (Documentation License): Use it in @include file name.
47154
7bb764bc
JM
471552012-02-22 Joseph Myers <joseph@codesourcery.com>
47156 Roland McGrath <roland@hack.frob.com>
47157
47158 [BZ #5461]
57f41c40
AS
47159 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
47160 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
47161 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
47162 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
47163 name.
47164 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
47165
6cbeae47
JM
471662012-02-22 Joseph Myers <joseph@codesourcery.com>
47167
47168 [BZ #2547]
47169 [BZ #11365]
47170 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
47171 manipulate bits before adding and subtracting TWO23[sx].
47172 * math/libm-test.inc (nearbyint_test): Add more tests.
47173
fe45ce09
JM
471742012-02-22 Joseph Myers <joseph@codesourcery.com>
47175
47176 [BZ #2548]
47177 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
47178 bits before adding and subtracting TWO23[sx].
47179 * math/libm-test.inc (rint_test): Add more tests.
47180 (rint_test_tonearest): Likewise.
47181 (rint_test_towardzero): Likewise.
47182 (rint_test_downward): Likewise.
47183 (rint_test_upward: Likewise.
47184
ff3b3d82
JM
471852012-02-22 Joseph Myers <joseph@codesourcery.com>
47186
47187 [BZ #10110]
47188 * include/stdc-predef.h: New file. Extracted from features.h.
47189 * include/features.h: Include stdc-predef.h.
47190 * Makefile (headers): Add stdc-predef.h.
47191 * CONFORMANCE (Compiler limitations): Update.
47192
ef0aab35
JM
471932012-02-22 Joseph Myers <joseph@codesourcery.com>
47194
47195 * manual/libc.texinfo (VERSION, UPDATED): Revert.
47196
58639409
DM
471972012-02-21 David S. Miller <davem@davemloft.net>
47198
47199 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
47200 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47201
c0e70b25
DM
472022012-02-20 David S. Miller <davem@davemloft.net>
47203
47204 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
47205 using a normal save/restore sequence, rather than allocating a
47206 dummy stack frame just to store a frame pointer and restore.
47207 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47208
fb06851d
JM
472092012-02-21 Joseph Myers <joseph@codesourcery.com>
47210
47211 * manual/install.texi: Fix stray word in line-wrapped comment.
47212
7a8b71c3
DM
472132012-02-20 David S. Miller <davem@davemloft.net>
47214
d510c123
DM
47215 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
47216 both binutils and gcc support GOTDATA.
47217
0722d7c2
DM
47218 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
47219 "rd %pc" in the PIC register setup sequences.
47220
3d2b3019
DM
47221 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
47222 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
47223 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47224 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
47225 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47226 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
47227 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47228 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47229 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
47230 (SYSCALL_ERROR_HANDLER): Likewise.
47231 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47232 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47233 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
47234 (SYSCALL_ERROR_HANDLER): Likewise.
47235
c80098a9
DM
47236 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
47237 (HAVE_GCC_GOTDATA): New.
47238 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
47239 relocation support in both binutils and gcc.
47240 * sysdeps/sparc/elf/configure: Regenerate.
47241
3a2545a0
DM
47242 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
47243 * sysdeps/sparc/sparc32/elf/configure: Delete.
47244 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
47245 * sysdeps/sparc/sparc64/elf/configure: Delete.
47246 * sysdeps/sparc/elf/configure.in: New file.
47247 * sysdeps/sparc/elf/configure: Generate.
47248
7a8b71c3
DM
47249 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
47250 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
47251 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47252 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
47253 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
47254
f1e86fca
JM
472552012-02-21 Joseph Myers <joseph@codesourcery.com>
47256
47257 * manual/install.texi: Do not mention specific glibc version
47258 numbers.
47259 * manual/libc.texinfo (VERSION, UPDATED): Update.
47260 (@copying): Use @copyright{} and range of years.
47261
0e7dfaef
JM
472622012-02-21 Joseph Myers <joseph@codesourcery.com>
47263
47264 [BZ #13695]
47265 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
47266 [crti.S not in sysdirs] (generated): Do not append.
47267 [crti.S not in sysdirs] (omit-deps): Likewise.
47268 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
47269 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
47270 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
47271 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
47272 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
47273 Likewise.
47274 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
47275 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
47276 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
47277 * csu/defs.awk: Remove file.
47278 * sysdeps/generic/initfini.c: Likewise.
47279 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
47280 variable.
47281 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
47282 Likewise.
47283
599af3ca
JM
472842012-02-20 Joseph Myers <joseph@codesourcery.com>
47285
47286 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
47287 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
47288 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
47289 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
47290 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47291 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
47292 <bits/epoll.h>.
47293 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
47294 (__EPOLL_PACKED): Define to empty if not defined by
47295 <bits/epoll.h>.
47296 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
47297 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47298 bits/epoll.h.
47299
0e499750
JM
473002012-02-20 Joseph Myers <joseph@codesourcery.com>
47301
47302 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
47303 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
47304 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
47305 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
47306 <bits/timerfd.h>.
47307 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
47308 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47309 bits/timerfd.h.
47310
5ad91f6e
JM
473112012-02-20 Joseph Myers <joseph@codesourcery.com>
47312
47313 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
47314 in C locale.
47315 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47316 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47317 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
47318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47319
06b99b02
AJ
473202012-02-20 Aurelien Jarno <aurelien@aurel32.net>
47321
47322 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47323 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47324
7638c0fd
AS
473252012-02-19 Andreas Schwab <schwab@linux-m68k.org>
47326
47327 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
47328 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
47329 defined.
47330 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
47331 Likewise.
47332 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
47333 entry for 2.16.
47334
92221550
AJ
473352012-02-19 Aurelien Jarno <aurelien@aurel32.net>
47336
47337 * math/w_acos.c: Use non-signaling floating-point comparisons.
47338 * math/w_acosf.c: Likewise.
47339 * math/w_acosh.c: Likewise.
47340 * math/w_acoshf.c: Likewise.
47341 * math/w_acoshl.c: Likewise.
47342 * math/w_acosl.c: Likewise.
47343 * math/w_asin.c: Likewise.
47344 * math/w_asinf.c: Likewise.
47345 * math/w_asinl.c: Likewise.
47346 * math/w_atanh.c: Likewise.
47347 * math/w_atanhf.c: Likewise.
47348 * math/w_atanhl.c: Likewise.
47349 * math/w_exp2.c: Likewise.
47350 * math/w_exp2f.c: Likewise.
47351 * math/w_exp2l.c: Likewise.
47352 * math/w_j0.c: Likewise.
47353 * math/w_j0f.c: Likewise.
47354 * math/w_j0l.c: Likewise.
47355 * math/w_j1.c: Likewise.
47356 * math/w_j1f.c: Likewise.
47357 * math/w_j1l.c: Likewise.
47358 * math/w_jn.c: Likewise.
47359 * math/w_jnf.c: Likewise.
47360 * math/w_log.c: Likewise.
47361 * math/w_log10.c: Likewise.
47362 * math/w_log10f.c: Likewise.
47363 * math/w_log10l.c: Likewise.
47364 * math/w_log2.c: Likewise.
47365 * math/w_log2f.c: Likewise.
47366 * math/w_log2l.c: Likewise.
47367 * math/w_logf.c: Likewise.
47368 * math/w_logl.c: Likewise.
47369 * math/w_sqrt.c: Likewise.
47370 * math/w_sqrtf.c: Likewise.
47371 * math/w_sqrtl.c: Likewise.
47372 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47373 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
47374 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47375 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
47376 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
47377
ebaf36eb
JM
473782012-02-19 Joseph Myers <joseph@codesourcery.com>
47379
47380 [BZ #9739]
47381 * manual/string.texi (strnlen): Use correct parameter name in
47382 equivalent expression.
47383
71c254a6
JM
473842012-02-19 Joseph Myers <joseph@codesourcery.com>
47385
47386 [BZ #11174]
47387 * manual/users.texi (seteuid): Consistently use neweuid for
47388 argument name.
47389
16d2c631
JM
473902012-02-19 Joseph Myers <joseph@codesourcery.com>
47391
47392 [BZ #13704]
47393 * manual/nss.texi (Services in the NSS configuration): Correct
47394 list of services in example configuration file.
47395
cd837b09
NB
473962012-02-19 Nick Bowler <nbowler@draconx.ca>
47397
47398 [BZ #11322]
47399 * manual/arith.texi: Remove statements about negative zero
47400 behaving identically to zero.
47401
02c4bbad
JM
474022012-02-18 Joseph Myers <joseph@codesourcery.com>
47403
47404 [BZ #5993]
47405 * manual/install.texi: Do not document upgrading from libc5.
47406
366842e7
JM
474072012-02-18 Joseph Myers <joseph@codesourcery.com>
47408
47409 [BZ #4596]
47410 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
47411
dd54084d
DM
474122012-02-18 David S. Miller <davem@davemloft.net>
47413
47414 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
47415 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
47416 %o7 across the call.
47417 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
47418 instead.
47419 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
47420 SETUP_PIC_REG_LEAF.
47421 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47422 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
47423 * sysdeps/sparc/crtn.S: Likewise.
47424
2bcc53a3
UD
474252012-02-17 Ulrich Drepper <drepper@gmail.com>
47426
47427 * aout/Makefile: Remove.
47428
09c093b5
RK
474292012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
47430
47431 [BZ #13058]
47432 * manual/examples/argp-ex1.c (main): Format definition in GNU
47433 style.
47434 * manual/examples/argp-ex2.c (main): Likewise.
47435 * manual/examples/argp-ex3.c (main): Likewise.
47436 * manual/examples/argp-ex4.c (main): Likewise.
47437 * manual/examples/longopt.c (main): Use new-style prototype
47438 definition.
47439 * manual/examples/strncat.c (main): Specify return type and use
47440 (void) for arguments.
47441 * manual/examples/subopt.c (main): Use char **argv argument.
47442
2ee633a2
JM
474432012-02-17 Joseph Myers <joseph@codesourcery.com>
47444
47445 [BZ #5077]
47446 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
47447 rounding modes.
47448
0520adde
FB
474492012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
47450
47451 [BZ #6907]
47452 * manual/string.texi (strchr): Change when strchrnul is
47453 recommended.
47454
3f4081cd
DGM
474552012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
47456
47457 [BZ #174]
47458 * manual/locale.texi (setlocale): Document LOCPATH.
47459
d1b10e78
JM
474602012-02-17 Joseph Myers <joseph@codesourcery.com>
47461
47462 [BZ #10210]
47463 * manual/process.texi (execle): Move @dots{} before last argument.
47464
79c6869c
PB
474652012-02-17 Paul Bolle <pebolle@tiscali.nl>
47466
47467 [BZ #12047]
47468 * manual/charset.texi (Generic Charset Conversion): Fix typo
47469 (LC_TYPE -> LC_CTYPE).
47470
cc6e48bc
NB
474712012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
47472
47473 [BZ #5805]
47474 * manual/arith.texi (scalbn): Use @var{} on parameter names.
47475 (scalbnf): Likewise.
47476 (scalbnl): Likewise.
47477 (scalbln): Likewise.
47478 (scalblnf): Likewise.
47479 (scalblnl): Likewise.
47480 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
47481 (vwarnx): Likewise.
47482 (verr): Likewise.
47483 (verrx): Likewise.
47484 * manual/filesys.texi (telldir): Use braces around return type.
47485 * manual/llio.texi (mmap): Add space after comma.
47486 (mmap64): Likewise.
47487 * manual/math.texi (jn): Use @var{} on parameter names.
47488 (jnf): Likewise.
47489 (jnl): Likewise.
47490 (yn): Likewise.
47491 (ynf): Likewise.
47492 (ynl): Likewise.
47493 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
47494 line.
47495 * manual/resource.texi (ulimit): Use @dots{} instead of literal
47496 "...".
47497 (sched_get_priority_min): Remove semicolon on @deftypefun line.
47498 (sched_get_priority_max): Likewise.
47499 * manual/signal.texi (sigvec): Add space after comma.
47500 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
47501 names.
47502 (if_indextoname): Likewise.
47503 (if_freenameindex): Likewise.
47504 (sendto): Use ',' instead of '.' in prototype.
47505 * manual/startup.texi (syscall): Use @dots{} instead of literal
47506 "...".
47507 * manual/stdio.texi (__fpending): Separate initial words of
47508 paragraph from @deftypefun line.
47509 * manual/syslog.texi (syslog): Use @dots{} instead of literal
47510 "...".
47511 (vsyslog): Use @var{} on parameter names.
47512 * manual/terminal.texi (stty): Use @var{} on parameter names.
47513 * manual/users.texi (getutmp): Use @var{} on parameter names.
47514 (getutmpx): Likewise.
47515
5b23062f
JM
475162012-02-17 Joseph Myers <joseph@codesourcery.com>
47517
47518 [BZ #6884]
47519 * manual/stdio.texi (fopen): Fix typos in description of
47520 ",ccs=STRING".
47521
8dee4833
AJ
475222012-02-17 Aurelien Jarno <aurelien@aurel32.net>
47523
47524 [BZ #4026]
47525 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
47526 get clock_id definition.
47527
9078ce93
TS
475282012-02-17 Thomas Schwinge <thomas@schwinge.name>
47529
47530 [BZ #4822]
47531 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
47532 (madvise): Cast every argument to void on its own.
47533
3835c55f
JM
475342012-02-17 Joseph Myers <joseph@codesourcery.com>
47535
47536 [BZ #9902]
47537 * manual/startup.texi (Exit Status): Fix typo.
47538
35c47e37
JM
475392012-02-17 Joseph Myers <joseph@codesourcery.com>
47540
47541 [BZ #10140]
47542 * manual/examples/argp-ex1.c: Include <stdlib.h>.
47543 * manual/examples/argp-ex2.c: Likewise.
47544 * manual/examples/argp-ex3.c: Likewise.
47545
e3b69ca7
RH
475462012-02-16 Richard Henderson <rth@redhat.com>
47547
47548 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
47549 * sysdeps/s390/s390-32/initfini.c: Remove.
47550 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
47551 * sysdeps/s390/s390-64/initfini.c: Remove.
47552
df83af67
KK
475532012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47554
47555 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
47556 compiler output for sysdeps/generic/initfini.c.
47557 * sysdeps/sh/elf/initfini.c: Remove file.
47558
f63f3380
DM
475592012-02-16 David S. Miller <davem@davemloft.net>
47560
fb59b3a4
DM
47561 [BZ #11494]
47562 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
47563
f63f3380
DM
47564 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
47565 * sysdeps/sparc/crti.S: New file.
47566 * sysdeps/sparc/crtn.S: New file.
47567 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
47568 * sysdeps/sparc/sparc64/Makefile: Likewise.
47569
df6a4a4a
MF
475702012-02-15 Mike Frysinger <vapier@gentoo.org>
47571
6dd8f3dc 47572 [BZ #3335]
df6a4a4a
MF
47573 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
47574
1cac7236
RM
475752012-02-15 Roland McGrath <roland@hack.frob.com>
47576
d2c736f8
RM
47577 [BZ #4822]
47578 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
47579
1cac7236
RM
47580 * mach/devstream.c (cookie_io_functions_t): Macro removed.
47581 (write, read, close): Likewise.
47582 Patch by Aurelien Jarno <aurelien@aurel32.net>.
47583
8e475601
JM
475842012-02-15 Joseph Myers <joseph@codesourcery.com>
47585
47586 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
47587 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
47588 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
47589 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
47590 <bits/signalfd.h>.
47591 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
47592 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47593 bits/signalfd.h.
47594
ed656b40
MP
475952012-02-14 Marek Polacek <polacek@redhat.com>
47596
47597 * sysdeps/x86_64/crti.S: New file.
47598 * sysdeps/x86_64/crtn.S: New file.
47599 * sysdeps/x86_64/elf/initfini.c: Remove file.
47600
2a979d3a
JM
476012012-02-13 Joseph Myers <joseph@codesourcery.com>
47602
47603 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
47604 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
47605 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
47606 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
47607 <bits/inotify.h>.
47608 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
47609 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47610 bits/inotify.h.
47611
2a418ac3
JM
476122012-02-13 Joseph Myers <joseph@codesourcery.com>
47613
47614 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
47615 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
47616 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
47617 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
47618 <bits/eventfd.h>.
47619 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
47620 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47621 bits/eventfd.h.
47622
fb779be7
TS
476232012-02-10 Thomas Schwinge <thomas@codesourcery.com>
47624
e19e83c5
RM
47625 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
47626 __feraiseexcept instead of feraiseexcept.
7c35ffed 47627
fb779be7
TS
47628 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
47629 nanosleep invocations.
47630 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
47631 strings, and add error checking for a nanosleep invocations.
47632
59ba27a6
PE
476332012-02-09 Paul Eggert <eggert@cs.ucla.edu>
47634
47635 Replace FSF snail mail address with URLs, as per GNU coding standards.
47636 Most of the snail mail addresses were wrong anyway, and omitting
47637 them makes the source code easier to maintain. Almost all of the
47638 changes are to license notices and to locale LC_IDENTIFICATION
47639 addresses, except for this one:
47640 * manual/libc.texinfo: In "Published by", give the FSF's URL,
47641 not its snail mail address.
47642
57b957eb
RH
476432012-02-09 Richard Henderson <rth@twiddle.net>
47644
af850b1c
RH
47645 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
47646 of kernel-features.h.
47647
57b957eb
RH
47648 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
47649
6b73181a
MP
476502012-02-08 Marek Polacek <polacek@redhat.com>
47651
47652 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
47653 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
47654 * sysdeps/gnu/_G_config.h: Likewise.
47655 * sysdeps/generic/_G_config.h: Likewise.
47656
26ecc33a
AS
476572012-02-08 Andreas Schwab <schwab@linux-m68k.org>
47658
6c6dbc63
AS
47659 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
47660 tests.
47661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47662
e216c012
AS
47663 * sysdeps/powerpc/powerpc32/crti.S: New file.
47664 * sysdeps/powerpc/powerpc32/crtn.S: New file.
47665 * sysdeps/powerpc/powerpc64/crti.S: New file.
47666 * sysdeps/powerpc/powerpc64/crtn.S: New file.
47667
26ecc33a
AS
47668 * Makeconfig (have-initfini): Don't set.
47669 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
47670 * configure.in (nopic_initfini): Don't substitute.
47671 * config.h.in (HAVE_INITFINI): Don't #undef.
47672 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
47673 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
47674
3add8e13
JM
476752012-02-08 Joseph Myers <joseph@codesourcery.com>
47676
47677 Support crti.S and crtn.S provided directly by architectures.
47678 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
47679 [crti.S in sysdirs] (omit-deps): Likewise.
47680 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
47681 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
47682 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
47683 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
47684 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
47685 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
47686 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
47687 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
47688 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
47689 compiler output for sysdeps/generic/initfini.c.
47690 * sysdeps/i386/elf/Makefile: Remove file.
47691 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
47692
a22f12b4
MP
476932012-02-07 Marek Polacek <polacek@redhat.com>
47694
47695 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
47696 * sysdeps/gnu/_G_config.h: Likewise.
47697 * sysdeps/mach/hurd/_G_config.h: Likewise.
47698
148cf100
MP
476992012-02-07 Marek Polacek <polacek@redhat.com>
47700
47701 * math/Makefile (tests): Add tst-CMPLX2.
47702 * math/tst-CMPLX2.c: New file.
47703
cfdc0dd7
AS
477042012-02-07 Andreas Schwab <schwab@linux-m68k.org>
47705
84ba42c4
AS
47706 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47707
cfdc0dd7
AS
47708 * math/libm-test.inc (jn_test): Add missing L suffix.
47709
622c86f4
MP
477102012-02-06 Marek Polacek <polacek@redhat.com>
47711
47712 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
47713 * sysdeps/i386/fpu/e_powf.S: Likewise.
47714 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47715 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47716 * sysdeps/i386/fpu/e_acosh.S: Likewise.
47717 * sysdeps/i386/fpu/e_pow.S: Likewise.
47718 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
47719 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47720 * sysdeps/i386/fpu/s_expm1.S: Likewise.
47721 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
47722 * sysdeps/i386/fpu/e_log2.S: Likewise.
47723 * sysdeps/i386/fpu/e_log2l.S: Likewise.
47724 * sysdeps/i386/fpu/e_scalb.S: Likewise.
47725 * sysdeps/i386/fpu/e_powl.S: Likewise.
47726 * sysdeps/i386/fpu/s_log1p.S: Likewise.
47727 * sysdeps/i386/fpu/e_log10f.S: Likewise.
47728 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
47729 * sysdeps/i386/fpu/e_logl.S: Likewise.
47730 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
47731 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
47732 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
47733 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
47734 * sysdeps/i386/fpu/e_log2f.S: Likewise.
47735 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47736 * sysdeps/i386/fpu/e_log.S: Likewise.
47737 * sysdeps/i386/fpu/s_cexp.S: Likewise.
47738 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47739 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
47740 * sysdeps/i386/fpu/e_logf.S: Likewise.
47741 * sysdeps/i386/fpu/e_log10l.S: Likewise.
47742 * sysdeps/i386/fpu/e_atanh.S: Likewise.
47743 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
47744 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
47745 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47746 * sysdeps/i386/fpu/e_log10.S: Likewise.
47747 * sysdeps/i386/fpu/s_frexp.S: Likewise.
47748 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47749 * sysdeps/i386/fpu/s_asinh.S: Likewise.
47750 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
47751 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47752 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
47753 * sysdeps/i386/asm-syntax.h: Likewise.
47754 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47755 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47756 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47757 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
47758 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
47759 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47760 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
47761 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
47762 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47763 * sysdeps/powerpc/sysdep.h: Likewise.
47764 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
47765 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47766
d4a54ac6
JM
477672012-02-06 Joseph Myers <joseph@codesourcery.com>
47768
47769 [BZ #411]
47770 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
47771
314054ea
JM
477722012-02-06 Joseph Myers <joseph@codesourcery.com>
47773
47774 * sysdeps/i386/sysdep.h: Include <features.h>.
47775 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
47776 version.
47777
d8e0ca50
JM
477782012-02-05 Joseph Myers <joseph@codesourcery.com>
47779
47780 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
47781 Define.
47782 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
47783 LOAD_PIC_REG_STR.
47784
b1da7dd9
JM
477852012-02-03 Joseph Myers <joseph@codesourcery.com>
47786
47787 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
47788 (SETUP_PIC_REG): Use GET_PC_THUNK.
47789 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
47790 macro.
47791
9a1d9254
JM
477922012-02-03 Joseph Myers <joseph@codesourcery.com>
47793
47794 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
47795 for non-PIC compilation.
47796 (SETUP_PIC_REG): Add .p2align directive.
47797 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
47798 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
47799 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
47800 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
47801 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
47802 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
47803 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
47804 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47805 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
47806 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
47807 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
47808 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
47809 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
47810 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
47811 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
47812 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
47813 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
47814 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
47815 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
47816 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
47817 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
47818 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
47819 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
47820 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
47821 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
47822 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
47823 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47824 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
47825 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
47826 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
47827 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
47828 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47829 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
47830 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
47831 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
47832 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
47833 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
47834 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
47835 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
47836 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
47837 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
47838
65dc3b75
JM
478392012-02-03 Joseph Myers <joseph@codesourcery.com>
47840
47841 * math/tst-CMPLX.c: Include <stdio.h>.
47842
d55bf177
JM
478432012-01-31 Joseph Myers <joseph@codesourcery.com>
47844
47845 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
47846 float.
47847 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
47848 * sysdeps/sparc/bits/mathdef.h: Likewise.
47849
69db4f8f
MP
478502012-01-31 Marek Polacek <polacek@redhat.com>
47851
47852 * libio/libio.h: Don't define _PARAMS.
47853 * locale/programs/config.h: Don't define PARAMS.
47854 * stdlib/strtol_l.c: Likewise.
47855 (__strtol_l): Remove PARAMS from the prototype.
47856
41b81892
UD
478572012-01-31 Ulrich Drepper <drepper@gmail.com>
47858
3b49edc0
UD
47859 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
47860 names. Just use the correct names. Remove unnecessary wrapper
47861 functions.
47862 * malloc/arena.c: Likewise.
47863 * malloc/hooks.c: Likewise.
47864
41b81892
UD
47865 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
47866 ARENA_TEST says not to. Simplify test for creation of a new arena.
47867 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
47868
27a25b6e
UD
478692012-01-30 Ulrich Drepper <drepper@gmail.com>
47870
47871 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
47872 into tail calls.
47873 (update_get_addr): New function.
47874 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
47875 GET_ADDR_MODULE parameter.
47876
c8a89e7d
JM
478772012-01-30 Joseph Myers <joseph@codesourcery.com>
47878
47879 * crypt/cert.c: Remove __STDC__ conditionals.
47880 * crypt/crypt-entry.c: Likewise.
47881 * crypt/crypt_util.c: Likewise.
47882 * libio/filedoalloc.c: Likewise.
47883 * libio/fileops.c: Likewise.
47884 * libio/genops.c: Likewise.
47885 * libio/iofclose.c: Likewise.
47886 * libio/iofdopen.c: Likewise.
47887 * libio/iofopen.c: Likewise.
47888 * libio/iofopen64.c: Likewise.
47889 * libio/iogetdelim.c: Likewise.
47890 * libio/iopopen.c: Likewise.
47891 * libio/obprintf.c: Likewise.
47892 * libio/oldfileops.c: Likewise.
47893 * libio/oldiofclose.c: Likewise.
47894 * libio/oldiofdopen.c: Likewise.
47895 * libio/oldiofopen.c: Likewise.
47896 * libio/oldiopopen.c: Likewise.
47897 * libio/wfiledoalloc.c: Likewise.
47898 * libio/wgenops.c: Likewise.
47899 * locale/programs/xmalloc.c: Likewise.
47900 * misc/syslog.c: Likewise.
47901 * stdio-common/xbug.c: Likewise.
47902 * string/memchr.c: Likewise.
47903 * string/memcmp.c: Likewise.
47904 * string/memrchr.c: Likewise.
47905 * string/rawmemchr.c: Likewise.
47906 * sysdeps/posix/getcwd.c: Likewise.
47907 * time/strftime_l.c: Likewise.
47908
3b100462
JM
479092012-01-30 Joseph Myers <joseph@codesourcery.com>
47910
47911 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
47912 * config.make.in (config-cflags-sse2avx): Define.
47913 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
47914 Fix typo.
47915
607998af
CM
479162012-01-29 Chris Metcalf <cmetcalf@tilera.com>
47917
47918 * scripts/config.guess: Update from upstream config git repository.
47919 * scripts/config.sub: Likewise.
47920
3601428f
CM
479212012-01-28 Chris Metcalf <cmetcalf@tilera.com>
47922
3ac8b282
CM
47923 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
47924 (EM_NUM): Update.
47925 (R_TILEPRO_*, R_TILEGX_*): New macros.
47926
e034841e
CM
47927 * scripts/firstversions.awk: Fix bug in version range handling.
47928
540d7568
CM
47929 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
47930
3601428f
CM
47931 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
47932
463de862
CM
47933 * include/sys/epoll.h: New file.
47934 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
47935 libc_hidden_def.
47936
73139a76
UD
479372012-01-28 Ulrich Drepper <drepper@gmail.com>
47938
96bc5b45
UD
47939 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
47940 Avoid unnecessary __WORDSIZE == 64 test.
47941 (fmaxf): Use VEX format if possible.
47942 (fmax): Likewise.
47943 (fminf): Likewise.
47944 (fmin): Likewise.
47945
56f6f6a2
UD
47946 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
47947 * math/math_private.h: Remove libc_fegetround* and
47948 libc_fesetround*.
47949 * sysdeps/i386/configure.in: Check for -msse2avx.
47950 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
47951 also if SSE2AVX is defined.
47952 Remove libc_fegetround* and libc_fesetround*.
47953 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
47954 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
47955 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
47956 of HAS_YMM_USABLE.
47957 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47958 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47959 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47960 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47961 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47962
73139a76
UD
47963 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
47964
d73f93a4
AZ
479652012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47966
47967 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
47968 size is not set.
47969 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47970
6ee65ed6
UD
479712012-01-27 Ulrich Drepper <drepper@gmail.com>
47972
47973 [BZ #13618]
47974 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
47975 relocation.
47976 * Makeconfig (libm): Define.
47977 * elf/Makefile: Add rules to build and run tst-relsort1.
47978 * elf/tst-relsort1.c: New file.
47979 * elf/tst-relsort1mod1.c: New file.
47980 * elf/tst-relsort1mod2.c: New file.
47981
8db21882
JM
479822012-01-27 Joseph Myers <joseph@codesourcery.com>
47983
47984 * math/s_ldexp.c: Remove __STDC__ conditionals.
47985 * math/s_ldexpf.c: Likewise.
47986 * math/s_ldexpl.c: Likewise.
47987 * math/s_nextafter.c: Likewise.
47988 * math/s_nexttowardf.c: Likewise.
47989 * math/s_significand.c: Likewise.
47990 * math/s_significandf.c: Likewise.
47991 * math/s_significandl.c: Likewise.
47992 * math/w_jnl.c: Likewise.
47993 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
47994 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
47995 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
47996 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
47997 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
47998 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47999 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
48000 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48001 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48002 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48003 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48004 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48005 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48006 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48007 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48008 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48009 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48010 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48011 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48012 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48013 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48014 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48015 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48016 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48017 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48018 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48019 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48020 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48021 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48022 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48023 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48024 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48025 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48026 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48027 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48028 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48029 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48030 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48031 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48032 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48033 * sysdeps/ieee754/k_standard.c: Likewise.
48034 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48035 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48036 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48037 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48038 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48039 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48040 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48041 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48042 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48043 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48044 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48045 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48046 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48047 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48048 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48049 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48050 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48051 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48052 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48053 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48054 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48055 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48056 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48057 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48058 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48059 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48060 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48061 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48062 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48063 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48064 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48065 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
48066 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48067 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48068 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48069 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48070 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
48071 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48072 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48073 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
48074 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
48075 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48076 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
48077 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
48078 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48079 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
48080 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
48081 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48082 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48083 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
48084 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
48085 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48086 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48087 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48088 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48089 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48090 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
48091 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48092 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48093 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48094 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48095 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48096 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48097 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48098 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48099 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48100 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48101 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48102 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48103 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48104 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48105 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48106 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48107 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48108 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48109 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48110 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48111 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48112 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48113 * sysdeps/ieee754/s_matherr.c: Likewise.
48114 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48115 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48116 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48117 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48118
965a54a4
JM
481192012-01-26 Joseph Myers <joseph@codesourcery.com>
48120
48121 * crypt/md5.h: Remove __STDC__ conditionals.
48122 * libio/libioP.h: Likewise.
48123 * locale/programs/config.h: Likewise.
48124 * sysdeps/generic/sysdep.h: Likewise.
48125 * sysdeps/i386/asm-syntax.h: Likewise.
48126 * sysdeps/s390/asm-syntax.h: Likewise.
48127 * sysdeps/unix/sysdep.h: Likewise.
48128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
48129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
48130
7071ad79
JM
481312012-01-26 Joseph Myers <joseph@codesourcery.com>
48132
48133 * libio/libio.h: Remove __STDC__ conditionals.
48134 * malloc/obstack.h: Likewise.
48135 * math/complex.h: Likewise.
48136 * math/math.h: Likewise.
48137 * sysdeps/generic/_G_config.h: Likewise.
48138 * sysdeps/gnu/_G_config.h: Likewise.
48139 * sysdeps/mach/hurd/_G_config.h: Likewise.
48140 * sysdeps/powerpc/bits/mathdef.h: Likewise.
48141 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
48142 * sysdeps/sparc/bits/mathdef.h: Likewise.
48143
afc5ed09
UD
481442012-01-26 Ulrich Drepper <drepper@gmail.com>
48145
48146 [BZ #13583]
48147 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 48148 Clean up HAS_* macros.
afc5ed09 48149 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
48150 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
48151 possible.
48152 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
48153 HAS_AVX.
48154 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48155 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48156 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48157 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48158 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 48159
bdb6de1d
JM
481602012-01-25 Joseph Myers <joseph@codesourcery.com>
48161
48162 * elf/tst-unique3.cc (gets): Remove declaration.
48163 * elf/tst-unique3lib.cc (gets): Likewise.
48164 * elf/tst-unique3lib2.cc (gets): Likewise.
48165 * elf/tst-unique4.cc (gets): Likewise.
48166
b15549e6
UD
481672012-01-24 Ulrich Drepper <drepper@gmail.com>
48168
48169 * include/stdio.h: Add C++ protection. Add gets declarations and
48170 definitions.
48171 * debug/tst-chk1.c: Don't declare gets here.
48172 * stdio-common/tst-gets.c: Likewise.
48173
a037381f
JM
481742012-01-24 Joseph Myers <joseph@codesourcery.com>
48175
48176 * posix/glob: Remove directory.
48177
f1d4aa75
JM
481782012-01-24 Joseph Myers <joseph@codesourcery.com>
48179
48180 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
48181
81c0c964
PT
481822012-01-22 Pino Toscano <toscano.pino@tiscali.it>
48183
48184 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
48185 of the non-standard EPFNOSUPPORT.
48186
0ea698ae
ST
481872011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
48188
48189 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
48190 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
48191 ANYWHERE set to 1 only on KERN_NO_SPACE error.
48192
d220b117
UD
481932012-01-21 Ulrich Drepper <drepper@gmail.com>
48194
48195 * wcsmbs/uchar.h: Test __STDC_VERSION__.
48196
3e1aa84e
UD
481972012-01-20 Ulrich Drepper <drepper@gmail.com>
48198
48199 * nscd/aicache.c (addhstaiX): Do not cache negative results of
48200 transient errors.
48201 * nscd/grpcache.c (cache_addgr): Likewise.
48202 * nscd/hstcache.c (cache_addhst): Likewise.
48203 * nscd/initgrcache.c (addinitgroupsX): Likewise.
48204 * nscd/pwdcache.c (cache_addpw): Likewise.
48205 * nscd/servicescache.c (cache_addserv): Likewise.
48206
400aa020
UD
482072012-01-16 Ulrich Drepper <drepper@gmail.com>
48208
d77e7869
UD
48209 * malloc/malloc.c: Various cleanups.
48210 * malloc/hooks.c: Likewise.
48211
400aa020
UD
48212 * stdlib/Makefile (tests): Add bug-fmtmsg1.
48213 * stdlib/bug-fmtmsg1.c: New file.
48214
48215 * stdlib/fmtmsg.c (init): Add missing unlock.
48216 Patch by Peng Haitao <penght@cn.fujitsu.com>.
48217
e0a309cf
MP
482182012-01-12 Marek Polacek <polacek@redhat.com>
48219
48220 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
48221 and _GNU_SOURCE.
48222
929d11c7
WS
482232012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
48224
48225 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
48226 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
48227 macro to ensure uniqueness of label name.
48228 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
48229 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
48230
41d0e869
UD
482312012-01-11 Ulrich Drepper <drepper@gmail.com>
48232
0cc5ed3b
UD
48233 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
48234
41d0e869
UD
48235 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
48236 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48237 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48238 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
48239
a47a831a
UD
482402012-01-10 Ulrich Drepper <drepper@gmail.com>
48241
daa891c0
UD
48242 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
48243
48244 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
48245 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48246 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48247
e58ef0f2
UD
48248 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
48249
a47a831a 48250 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
48251 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48252 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 48253 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
48254
48255 * math/bits/math-finite.h: Add ldexp support.
48256
a0bfc9c7
MP
482572012-01-10 Marek Polacek <polacek@redhat.com>
48258
48259 * locale/programs/localedef.h (show_archive_content): Add noreturn
48260 attribute.
48261
d6e97a1d
UD
482622012-01-09 Ulrich Drepper <drepper@gmail.com>
48263
48264 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
48265
d5835c26
UD
482662012-01-08 Ulrich Drepper <drepper@gmail.com>
48267
e5f484c6
UD
48268 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
48269
d5835c26
UD
48270 * io/Makefile (headers): Add bits/poll2.h.
48271
d1f741e9
WS
482722011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
48273
48274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
48275 typo #include statement.
48276
ec09c1c4
UD
482772012-01-08 Ulrich Drepper <drepper@gmail.com>
48278
48279 * include/sys/cdefs.h: Define __attribute_alloc_size.
48280 * catgets/gencat.c: Add alloc_size attribute and apply consistently
48281 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
48282 * elf/pldd.c: Likewise.
48283 * iconv/iconv_charmap.c: Likewise.
48284 * iconv/iconvconfig.c: Likewise.
48285 * iconv/strtab.c: Likewise.
48286 * locale/programs/locale.c: Likewise.
48287 * locale/programs/localedef.h: Likewise.
48288 * locale/programs/simple-hash.c: Likewise.
48289 * nscd/nscd.h: Likewise.
48290 * nss/makedb.c: Likewise.
48291 * sysdeps/generic/ldconfig.h: Likewise.
48292 * locale/programs/localedef.c: Remove xmalloc prototype.
48293 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
48294
20b38e03
PP
482952012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
48296
48297 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
48298 appropriate.
48299
a0da5fe1
UD
483002012-01-08 Ulrich Drepper <drepper@gmail.com>
48301
1d5a644a 48302 * math/Makefile (tests): Add tst-CMPLX.
669704fd 48303 * math/tst-CMPLX.c: New file.
1d5a644a 48304
8784a6db
UD
48305 * math/complex.h (CMPLXL): Fix typo.
48306
d9a216c0
UD
48307 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
48308 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
48309 GLIBC_2.16.
48310 * debug/tst-chk1.c: Add poll and ppoll tests.
48311 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
48312 * include/sys/poll.h: Add hidden proto for ppoll.
48313 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
48314 * sysdeps/mach/hurd/ppoll.c: Likewise.
48315 * io/ppoll.c: Likewise.
48316 * debug/poll_chk.c: New file.
48317 * debug/ppoll_chk.c: New file.
48318 * include/bits/poll2.h: New file.
48319 * io/bits/poll2.h: New file.
48320
ac097f5c
UD
48321 [BZ #1350]
48322 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
48323
2119dcfa
UD
48324 * configure.in: static is always set to yes. Remove.
48325 * config.make.in: Don't set build-static.
48326 * Makeconfig: Remove use of build-static.
48327 * dlfcn/Makefile: Likewise.
48328 * elf/Makefile: Likewise.
48329 * math/Makefile: Likewise.
48330 * misc/Makefile: Likewise.
48331 * nptl/Makefile: Likewise.
48332 * sysdeps/mach/hurd/Makefile: Likewise.
48333
121766a9
UD
48334 * configure.in: PWD_P is not used anymore.
48335 * config.make.in: Remove PWD_P entry.
48336
51a1d39c 48337 * configure.in: Remove last remnants of RANLIB.
8720d066 48338 No need to check for signed size_t anymore.
215f4bdc
UD
48339 Don't set libc_commonpagesize and libc_relro_required here for Alpha
48340 and IA-64.
3857022a 48341 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
48342 * aclocal.m4: Likewise.
48343
d3ed7225
UD
48344 * wcsmbs/mbrtoc16.c: Implement using towc function.
48345 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
48346 * wcsmbs/wcsmbsload.c: Likewise.
48347 * iconv/gconv_simple.c: Likewise.
48348 * iconv/gconv_int.h: Likewise.
48349 * iconv/gconv_builtin.h: Likewise.
48350 * iconv/iconv_prog.c: Remove CHAR16 handling.
48351
48352 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
48353
48354 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
48355
a0da5fe1
UD
48356 * configure.in: Remove --with-elf and --enable-bounded options.
48357 Dont set base_machine for ia64. More non-ELF conditions removed.
48358 Remove testing and setting of leading underscore information.
48359 * config.make.in (build-bounded): Set to no.
48360 * config.h.in: Remove NO_UNDERSCORES entry.
48361 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
48362 them.
48363 * csu/start.c: Remove !NO_UNDERSCORE code.
48364 * locale/localeinfo.h: Likewise.
48365 * sysdeps/generic/machine-gmon.h: Likewise.
48366 * sysdeps/generic/sysdep.h: Likewise.
48367 * sysdeps/i386/sysdep.h: Likewise.
48368 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
48369 * sysdeps/mach/sysdep.h: Likewise.
48370 * sysdeps/s390/s390-32/sysdep.h: Likewise.
48371 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48372 * sysdeps/sh/sysdep.h: Likewise.
48373 * sysdeps/sparc/sparc32/alloca.S: Likewise.
48374 * sysdeps/unix/i386/sysdep.S: Likewise.
48375 * sysdeps/unix/sparc/start.c: Likewise.
48376 * sysdeps/unix/sparc/sysdep.S: Likewise.
48377 * sysdeps/unix/sparc/sysdep.h: Likewise.
48378 * sysdeps/unix/start.c: Likewise.
48379 * sysdeps/unix/x86_64/sysdep.S: Likewise.
48380 * sysdeps/x86_64/sysdep.h: Likewise.
48381
df78418a
UD
483822012-01-07 Ulrich Drepper <drepper@gmail.com>
48383
a784e502
UD
48384 [BZ #13553]
48385 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
48386 for non-gcc.
48387 * argp/argp-fmtstream.h: Use const instead __const.
48388 * argp/argp.h: Likewise.
48389 * assert/assert.h: Likewise.
48390 * bits/fenv.h: Likewise.
48391 * bits/sched.h: Likewise.
48392 * bits/sigset.h: Likewise.
48393 * bits/sigthread.h: Likewise.
48394 * catgets/nl_types.h: Likewise.
48395 * conform/data/pthread.h-data: Likewise.
48396 * crypt/crypt-private.h: Likewise.
48397 * crypt/crypt.h: Likewise.
48398 * crypt/crypt_util.c: Likewise.
48399 * ctype/ctype.h: Likewise.
48400 * debug/execinfo.h: Likewise.
48401 * debug/mbsnrtowcs_chk.c: Likewise.
48402 * debug/mbsrtowcs_chk.c: Likewise.
48403 * debug/wcsnrtombs_chk.c: Likewise.
48404 * debug/wcsrtombs_chk.c: Likewise.
48405 * debug/wcstombs_chk.c: Likewise.
48406 * dirent/dirent.h: Likewise.
48407 * dlfcn/dlfcn.h: Likewise.
48408 * elf/neededtest4.c: Likewise.
48409 * grp/grp.h: Likewise.
48410 * gshadow/gshadow.h: Likewise.
48411 * iconv/gconv.h: Likewise.
48412 * iconv/gconv_int.h: Likewise.
48413 * iconv/gconv_simple.c: Likewise.
48414 * iconv/iconv.h: Likewise.
48415 * iconv/loop.c: Likewise.
48416 * iconv/skeleton.c: Likewise.
48417 * include/aio.h: Likewise.
48418 * include/aliases.h: Likewise.
48419 * include/argz.h: Likewise.
48420 * include/arpa/inet.h: Likewise.
48421 * include/assert.h: Likewise.
48422 * include/dirent.h: Likewise.
48423 * include/dlfcn.h: Likewise.
48424 * include/execinfo.h: Likewise.
48425 * include/fcntl.h: Likewise.
48426 * include/fenv.h: Likewise.
48427 * include/glob.h: Likewise.
48428 * include/grp.h: Likewise.
48429 * include/libintl.h: Likewise.
48430 * include/mntent.h: Likewise.
48431 * include/netdb.h: Likewise.
48432 * include/pwd.h: Likewise.
48433 * include/rpc/netdb.h: Likewise.
48434 * include/sched.h: Likewise.
48435 * include/search.h: Likewise.
48436 * include/shadow.h: Likewise.
48437 * include/signal.h: Likewise.
48438 * include/stdio.h: Likewise.
48439 * include/stdlib.h: Likewise.
48440 * include/string.h: Likewise.
48441 * include/sys/socket.h: Likewise.
48442 * include/sys/stat.h: Likewise.
48443 * include/sys/statfs.h: Likewise.
48444 * include/sys/statvfs.h: Likewise.
48445 * include/sys/syslog.h: Likewise.
48446 * include/sys/time.h: Likewise.
48447 * include/sys/uio.h: Likewise.
48448 * include/time.h: Likewise.
48449 * include/unistd.h: Likewise.
48450 * include/utmp.h: Likewise.
48451 * include/wchar.h: Likewise.
48452 * include/wctype.h: Likewise.
48453 * inet/aliases.h: Likewise.
48454 * inet/arpa/inet.h: Likewise.
48455 * inet/netinet/ether.h: Likewise.
48456 * inet/netinet/in.h: Likewise.
48457 * intl/libintl.h: Likewise.
48458 * io/bits/fcntl2.h: Likewise.
48459 * io/fcntl.h: Likewise.
48460 * io/ftw.h: Likewise.
48461 * io/sys/poll.h: Likewise.
48462 * io/sys/stat.h: Likewise.
48463 * io/sys/statfs.h: Likewise.
48464 * io/sys/statvfs.h: Likewise.
48465 * io/utime.h: Likewise.
48466 * libio/bits/stdio.h: Likewise.
48467 * libio/bits/stdio2.h: Likewise.
48468 * libio/libio.h: Likewise.
48469 * libio/libioP.h: Likewise.
48470 * libio/stdio.h: Likewise.
48471 * locale/lc-ctype.c: Likewise.
48472 * locale/locale.h: Likewise.
48473 * login/utmp.h: Likewise.
48474 * malloc/arena.c: Likewise.
48475 * malloc/malloc.c: Likewise.
48476 * malloc/malloc.h: Likewise.
48477 * malloc/mcheck.c: Likewise.
48478 * malloc/mtrace.c: Likewise.
48479 * math/bits/mathcalls.h: Likewise.
48480 * math/fenv.h: Likewise.
48481 * math/math_private.h: Likewise.
48482 * misc/bits/error.h: Likewise.
48483 * misc/bits/syslog.h: Likewise.
48484 * misc/err.h: Likewise.
48485 * misc/error.h: Likewise.
48486 * misc/fstab.h: Likewise.
48487 * misc/mntent.h: Likewise.
48488 * misc/regexp.h: Likewise.
48489 * misc/search.h: Likewise.
48490 * misc/sgtty.h: Likewise.
48491 * misc/sys/mman.h: Likewise.
48492 * misc/sys/syslog.h: Likewise.
48493 * misc/sys/uio.h: Likewise.
48494 * misc/sys/xattr.h: Likewise.
48495 * misc/ttyent.h: Likewise.
48496 * nis/rpcsvc/ypclnt.h: Likewise.
48497 * nss/nss.h: Likewise.
48498 * posix/bits/unistd.h: Likewise.
48499 * posix/fnmatch.h: Likewise.
48500 * posix/glob.h: Likewise.
48501 * posix/sched.h: Likewise.
48502 * posix/spawn.h: Likewise.
48503 * posix/sys/wait.h: Likewise.
48504 * posix/unistd.h: Likewise.
48505 * posix/wordexp.h: Likewise.
48506 * pwd/pwd.h: Likewise.
48507 * resolv/netdb.h: Likewise.
48508 * resource/sys/resource.h: Likewise.
48509 * rt/aio.h: Likewise.
48510 * rt/bits/mqueue2.h: Likewise.
48511 * rt/mqueue.h: Likewise.
48512 * shadow/shadow.h: Likewise.
48513 * signal/signal.h: Likewise.
48514 * socket/send.c: Likewise.
48515 * socket/sendto.c: Likewise.
48516 * socket/sys/socket.h: Likewise.
48517 * stdio-common/printf.h: Likewise.
48518 * stdlib/bits/stdlib.h: Likewise.
48519 * stdlib/fmtmsg.h: Likewise.
48520 * stdlib/monetary.h: Likewise.
48521 * stdlib/stdlib.h: Likewise.
48522 * stdlib/ucontext.h: Likewise.
48523 * streams/stropts.h: Likewise.
48524 * string/argz.h: Likewise.
48525 * string/bits/string2.h: Likewise.
48526 * string/string.h: Likewise.
48527 * string/strings.h: Likewise.
48528 * sunrpc/rpc/auth.h: Likewise.
48529 * sunrpc/rpc/auth_des.h: Likewise.
48530 * sunrpc/rpc/clnt.h: Likewise.
48531 * sunrpc/rpc/netdb.h: Likewise.
48532 * sunrpc/rpc/pmap_clnt.h: Likewise.
48533 * sunrpc/rpc/xdr.h: Likewise.
48534 * sysdeps/generic/inttypes.h: Likewise.
48535 * sysdeps/generic/net/if.h: Likewise.
48536 * sysdeps/generic/sys/swap.h: Likewise.
48537 * sysdeps/gnu/net/if.h: Likewise.
48538 * sysdeps/gnu/utmpx.h: Likewise.
48539 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
48540 * sysdeps/i386/i486/bits/string.h: Likewise.
48541 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
48542 * sysdeps/s390/bits/string.h: Likewise.
48543 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
48544 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
48545 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
48546 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
48547 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
48548 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
48549 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
48550 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
48551 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
48552 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
48553 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
48554 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
48555 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
48556 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
48557 * sysdeps/unix/sysv/linux/readv.c: Likewise.
48558 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
48559 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
48560 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48561 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
48562 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
48563 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
48564 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
48565 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
48566 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
48567 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
48568 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
48569 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
48570 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48571 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
48572 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
48573 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
48574 * sysvipc/sys/ipc.h: Likewise.
48575 * sysvipc/sys/msg.h: Likewise.
48576 * sysvipc/sys/sem.h: Likewise.
48577 * sysvipc/sys/shm.h: Likewise.
48578 * termios/termios.h: Likewise.
48579 * time/sys/time.h: Likewise.
48580 * time/time.h: Likewise.
48581 * wcsmbs/bits/wchar2.h: Likewise.
48582 * wcsmbs/uchar.h: Likewise.
48583 * wcsmbs/wchar.h: Likewise.
48584 * wctype/wctype.h: Likewise.
48585
0269750c
UD
48586 [BZ #13551]
48587 * Makeconfig: Remove all but ELF support including AIX support.
48588 * Makerules: Likewise.
48589 * config.h.in: Likewise.
48590 * config.make.in: Likewise.
48591 * configure: Likewise.
48592 * configure.in: Likewise.
48593 * csu/Makefile: Likewise.
48594 * csu/version.c: Likewise.
48595 * debug/Makefile: Likewise.
48596 * dlfcn/Makefile: Likewise.
48597 * elf/Makefile: Likewise.
48598 * extra-lib.mk: Likewise.
48599 * iconv/Makefile: Likewise.
48600 * include/libc-symbols.h: Likewise.
48601 * include/shlib-compat.h: Likewise.
48602 * resolv/Makefile: Likewise.
48603 * resolv/res_libc.c: Likewise.
48604 * rt/Makefile: Likewise.
48605 * sysdeps/i386/asm-syntax.h: Likewise.
48606 * sysdeps/i386/sysdep.h: Likewise.
48607 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
48608 * sysdeps/mach/sysdep.h: Likewise.
48609 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
48610 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
48611 * sysdeps/s390/asm-syntax.h: Likewise.
48612 * sysdeps/s390/s390-32/sysdep.h: Likewise.
48613 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48614 * sysdeps/sh/sysdep.h: Likewise.
48615 * sysdeps/unix/sparc/sysdep.h: Likewise.
48616 * sysdeps/wordsize-32/divdi3.c: Likewise.
48617 * sysdeps/x86_64/sysdep.h: Likewise.
48618
00bbd29b
UD
48619 * argp/Versions: Remove _argp_unlock_xxx.
48620
48621 [BZ #13559]
48622 * abilist/ld.abilist: Update. Adjust for removal of tls option.
48623 * abilist/libBrokenLocale.abilist: Likewise.
48624 * abilist/libanl.abilist: Likewise.
48625 * abilist/libc.abilist: Likewise.
48626 * abilist/libcrypt.abilist: Likewise.
48627 * abilist/libdl.abilist: Likewise.
48628 * abilist/libm.abilist: Likewise.
48629 * abilist/libnsl.abilist: Likewise.
48630 * abilist/libpthread.abilist: Likewise.
48631 * abilist/libresolv.abilist: Likewise.
48632 * abilist/librt.abilist: Likewise.
48633 * abilist/libthread_db.abilist: Likewise.
48634 * abilist/libutil.abilist: Likewise.
48635 * abilist/libnss_db.abilist: New file.
48636
48637 * scripts/abilist.awk: Add support for indirect functions.
48638
a2693a0e
UD
48639 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
48640
3f05895f
UD
48641 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
48642
ecb6fb48
UD
48643 * shlib-versions: Remove entries for ports architectures.
48644
664f8cb9
UD
48645 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
48646 files in ports.
48647 * elf/stackguard-macros.h: Remove support for IA-64.
48648 * elf/tst-auditmod1.c: Likewise.
48649 * sysdeps/generic/ldsodefs.h: Likewise.
48650
7ae81d88
UD
48651 * sysdeps/unix/sysv/linux/configure.in: Ports should define
48652 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
48653 configure files.
48654
bdeba135
UD
48655 [BZ #13552]
48656 * configure.in: Remove --enable-omitfp support.
48657 * FAQ.in: Adjust.
48658 * config.make.in: Likewise.
48659 * Makeconfig: Likewise.
48660 * manual/install.texi: Likewise.
48661
d75a0a62
UD
48662 In case anyone cares, the IA-64 architecture could move to ports.
48663 * sysdeps/ia64/*: Removed.
48664 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 48665 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 48666
dcc9756b
UD
48667 [BZ #13555]
48668 * configure.in: Remove entries for unsupported architectures.
48669
d3761ebc 48670 [BZ #13533]
9954432e
UD
48671 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
48672 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
48673 routines.
48674 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
48675 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
48676 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
48677 fall back to using wcrtomb.
48678 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
48679 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
48680 renaming.
48681 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
48682 * wcsmbs/tst-c16c32-1.c: New file.
48683
48684 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
48685 local variable.
48686
c3a87236
UD
48687 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
48688
28926a1b
UD
48689 * elf/tst-unique3.cc: Add explicit declaration of gets.
48690 * elf/tst-unique3lib.cc: Likewise.
48691 * elf/tst-unique3lib2.cc: Likewise.
48692 * elf/tst-unique4.cc: Likewise.
48693
df78418a
UD
48694 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
48695
8ecd6b2a
JM
486962012-01-06 Joseph Myers <joseph@codesourcery.com>
48697
48698 [BZ #13566]
48699 * assert/assert.h (static_assert): Don't define for C++.
48700 * libio/stdio.h (gets): Do declare for C++ <= C++11.
48701 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
48702
9f115170
UD
487032012-01-03 Ulrich Drepper <drepper@gmail.com>
48704
5e0d0300
UD
48705 * iconv/loop.c (single loop): Fix assertion in storing of
48706 remaining bytes.
48707
9f115170
UD
48708 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
48709
81fb02b0
UD
487102012-01-01 Ulrich Drepper <drepper@gmail.com>
48711
48712 * posix/getconf.c: Update copyright year.
48713 * nss/getent.c: Likewise.
a316c1f6 48714 * nss/makedb.c: Likewise.
81fb02b0
UD
48715 * iconv/iconvconfig.c: Likewise.
48716 * iconv/iconv_prog.c: Likewise.
48717 * elf/ldconfig.c: Likewise.
a316c1f6
UD
48718 * elf/pldd.c: Likewise.
48719 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
48720 * catgets/gencat.c: Likewise.
48721 * csu/version.c: Likewise.
48722 * elf/ldd.bash.in: Likewise.
48723 * elf/sprof.c (print_version): Likewise.
48724 * locale/programs/locale.c: Likewise.
48725 * locale/programs/localedef.c: Likewise.
a316c1f6 48726 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
48727 * nscd/nscd.c (print_version): Likewise.
48728 * debug/xtrace.sh: Likewise.
48729 * malloc/memusage.sh: Likewise.
48730 * malloc/mtrace.pl: Likewise.
48731 * debug/catchsegv.sh: Likewise.
48732
2ba92745
JJ
487332011-12-30 Jakub Jelinek <jakub@redhat.com>
48734
48735 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
48736 pure attribute.
48737
dadebdae
UD
487382011-12-24 Ulrich Drepper <drepper@gmail.com>
48739
d3761ebc 48740 [BZ #13533]
db6af3eb
UD
48741 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
48742 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
48743 transformations.
48744 * iconv/gconv_int.h: Likewise.
48745 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
48746 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
48747 from libc for GLIBC_2.16.
48748 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
48749 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
48750 * wcsmbs/uchar.h: Really define mbstate_t.
48751 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
48752 * wcsmbs/c16rtomb.c: New file.
48753 * wcsmbs/mbrtoc16.c: New file.
48754 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
48755 for C/POSIX locale.
48756 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
48757 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
48758
dadebdae
UD
48759 * wcsmbs/wchar.h: Add missing __restrict.
48760
67371b56
UD
487612011-12-23 Ulrich Drepper <drepper@gmail.com>
48762
74033a25
UD
48763 [BZ #13532]
48764 * time/Makefile (routines): Add timespec_get.
48765 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
48766 * time/time.h: Define TIME_UTC and declare timespec_get. Define
48767 timespec for ISO C11.
48768 * time/timespec_get.c: New file.
48769 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
48770 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
48771
380d7e87
UD
48772 [BZ #13531]
48773 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
48774 * stdlib/stdlib.h: Declare aligned_alloc.
48775 * Versions.def: Add GLIBC_2.16 for libc.
48776 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
48777
4e9e7a35
UD
48778 [BZ 13527]
48779 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
48780 ISO C11.
48781
380d7e87 48782 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
48783 code.
48784
03a71829
UD
48785 [BZ #13528]
48786 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
48787
839e283e
UD
48788 [BZ #13529]
48789 * assert/assert.h (static_assert): Define.
48790
ce5294e2 48791 * version.h: Update for 2.16 development version.
90fa7312 48792
8d44e150 48793 [BZ #13526]
d7809905
UD
48794 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
48795 _ISOC11_SOURCE.
48796
c0da14cd
UD
48797 * version.h (RELEASE): Bump for 2.15 release.
48798 * include/features.h (__GLIBC_MINOR__): Bump to 15.
48799
530a3249
MP
48800 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
48801 Patch by Marek Polacek <mpolacek@redhat.com>.
48802
67371b56
UD
48803 * bits/byteswap.h: Protect long long constants with __extension__.
48804 * sysdeps/i386/bits/byteswap.h: Likewise.
48805 * sysdeps/ia64/bits/byteswap.h: Likewise.
48806 * sysdeps/s390/bits/byteswap.h: Likewise.
48807 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48808
15db4de1
LD
488092011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48810
48811 [BZ #13540]
bbe315ea
LD
48812 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
48813 destination buffer.
15db4de1
LD
48814 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
48815
2b2596b1
MP
488162011-12-23 Marek Polacek <polacek@redhat.com>
48817
48818 * elf/dl-addr.c (determine_info): Add inline keyword.
48819 * elf/tst-auditmod4b.c (check_avx): Likewise.
48820 * elf/tst-auditmod6b.c (check_avx): Likewise.
48821 * elf/tst-auditmod6c.c (check_avx): Likewise.
48822 * elf/tst-auditmod7b.c (check_avx): Likewise.
48823
70c6c246
UD
488242011-12-23 Ulrich Drepper <drepper@gmail.com>
48825
48826 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
48827 !__SSE_MATH__.
48828
c044cf14
LD
488292011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48830
15db4de1 48831 [BZ #13540]
c044cf14
LD
48832 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
48833 processing for last bytes.
48834
6b13d9d9
BH
488352011-08-06 Bruno Haible <bruno@clisp.org>
48836
d455f537
BH
48837 [BZ #13061]
48838 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
48839 U+0385, not to U+1FEE.
48840
6b13d9d9
BH
48841 [BZ #13062]
48842 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
48843 entry for U+00A5 U+0301.
48844
db910efd
UD
488452011-12-22 Ulrich Drepper <drepper@gmail.com>
48846
27deeafc
UD
48847 [BZ #13166]
48848 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
48849 buffer for the output is too small.
48850
aed9d171
UD
48851 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
48852 optimization.
48853
db910efd
UD
48854 [BZ #13185]
48855 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
48856 SSE flags if possible.
48857
2bd779ae
LD
488582011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48859
e7f9dac3 48860 [BZ #13540]
2bd779ae
LD
48861 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
48862 processing for last bytes.
48863
154bfc16
JM
488642011-12-22 Joseph Myers <joseph@codesourcery.com>
48865
48866 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
48867 (syscall-list-default-options, syscall-list-default-condition)
48868 (syscall-list-includes): Define.
48869 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
48870 list of ABIs and options and #if conditions for each ABI. Do not
48871 handle common syscalls between ABIs specially.
48872 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
48873 Remove.
48874 (syscall-list-variants, syscall-list-32bit-options)
48875 (syscall-list-32bit-condition, syscall-list-64bit-options)
48876 (syscall-list-64bit-condition): Define.
48877 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
48878 (syscall-list-variants, syscall-list-32bit-options)
48879 (syscall-list-32bit-condition, syscall-list-64bit-options)
48880 (syscall-list-64bit-condition): Define.
48881 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
48882 Remove.
48883 (syscall-list-variants, syscall-list-32bit-options)
48884 (syscall-list-32bit-condition, syscall-list-64bit-options)
48885 (syscall-list-64bit-condition): Define.
48886 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
48887 Remove.
48888 (syscall-list-variants, syscall-list-32bit-options)
48889 (syscall-list-32bit-condition, syscall-list-64bit-options)
48890 (syscall-list-64bit-condition): Define.
48891
21eaf3a5
UD
488922011-12-22 Ulrich Drepper <drepper@gmail.com>
48893
16c6f992
UD
48894 * locale/iso-639.def: Add brx entry.
48895
41043168
UD
48896 [BZ #13328]
48897 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
48898 Proposed by Mariusz_Cukr <marcukr@op.pl>.
48899
21eaf3a5
UD
48900 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
48901 __feraiseexcept_renamed.
48902
e3a851a2
UD
489032011-12-21 Ulrich Drepper <drepper@gmail.com>
48904
4920765e
UD
48905 [BZ #13538]
48906 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
48907 EPOLLET with unsigned values.
48908 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48909 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
48910
e3a851a2
UD
48911 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
48912 to large cancellation.
48913 * math/s_cacoshf.c: Likewise.
48914 * math/s_cacoshl.c: Likewise.
48915
b27e24b8
RK
489162011-11-18 Richard B. Kreckel <kreckel@ginac.de>
48917
48918 [BZ #13305]
aebefeee 48919 [BZ #12786]
b27e24b8
RK
48920 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
48921 * math/s_cacoshf.c: Likewise.
48922 * math/s_cacoshl.c: Likewise.
48923
ee190f67
UD
489242011-12-21 Ulrich Drepper <drepper@gmail.com>
48925
48926 [BZ #13439]
48927 * iconv/gconv.h: Define __GCONV_SWAP.
48928 * iconvdata/unicode.c: The swap bit must be stored in __flags.
48929 * iconvdata/utf-16.c: Likewise.
48930 * iconvdata/utf-32.c: Likewise.
48931
707f25df
AS
489322011-12-21 Andreas Schwab <schwab@linux-m68k.org>
48933
48934 [BZ #13524]
48935 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
48936 numerator after shifting it by one limb.
48937
d2daaa1e
RÁE
489382011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
48939
48940 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
48941 under [__USE_EXTERN_INLINES].
48942
a4647e72
UD
489432011-12-17 Ulrich Drepper <drepper@gmail.com>
48944
48945 [BZ #13446]
48946 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
48947
f0b264f1
AZ
489482011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48949
48950 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
48951 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
48952 optimized code.
48953 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
48954 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
48955 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
48956 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
48957 for strncasecmp/strncasecmp_l compilation.
48958 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
48959 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
48960
8ef4f244
MP
489612011-12-08 Marek Polacek <mpolacek@redhat.com>
48962
48963 [BZ #13484]
48964 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
48965 of __asm__.
48966
97ac2654
UD
489672011-12-17 Ulrich Drepper <drepper@gmail.com>
48968
48969 [BZ #13506]
48970 * time/tzfile.c (__tzfile_read): Check values from file header.
48971
91d2a845
WS
489722011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
48973
48974 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
48975 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
48976 * powerpc/powerpc32/dl-start.S: Likewise.
48977 * powerpc/powerpc32/elf/start.S: Likewise.
48978 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
48979 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
48980 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
48981 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
48982 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
48983 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
48984 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
48985 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
48986 * powerpc/powerpc32/fpu/s_round.S: Likewise.
48987 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
48988 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
48989 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
48990 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
48991 * powerpc/powerpc32/memset.S: Likewise.
48992 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
48993 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
48994 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
48995 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
48996 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
48997 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
48998 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
48999 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
49000 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
49001 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
49002 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
49003 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49004 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49005
a1267ba1
AZ
490062011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49007
49008 * math/libm-test.inc: Added more nearbyint tests.
49009 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
49010 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
49011 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
49012 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
49013
ad8ac1bd
RL
490142011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
49015
49016 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
49017 FD_CLOEXEC.
49018
1d3e4b61
UD
490192011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49020
49021 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
49022 Add wcscpy-ssse3 wcscpy-c.
49023 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
49024 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
49025 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
49026 * sysdeps/x86_64/wcschr.S: New file.
49027 * sysdeps/x86_64/wcsrchr.S: New file.
49028 * string/test-strcmp.c: Remove checking of wcscmp function for
49029 wrong alignments.
49030 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
49031 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
49032 wcsrchr-sse2 wcsrchr-c.
49033 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
49034 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
49035 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
49036 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
49037 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
49038 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
49039 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
49040 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
49041 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
49042 * wcsmbc/wcschr.c (WCSCHR): New macro.
49043
5b330a2d
UD
490442011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49045
49046 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
49047 * wcsmbs/test-wcsrchr.c: New file.
49048 * string/test-strrchr.c: Add wcsrchr support.
49049 (WIDE): New macro.
49050 * wcsmbs/test-wcscpy.c: New file.
49051 * string/test-strcpy.c: Add wcscpy support.
49052 (WIDE): New macro.
26428b7c 49053
f039c043
UD
490542011-12-10 Ulrich Drepper <drepper@gmail.com>
49055
49056 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
49057 the inner loop.
49058
850fb039
AS
490592011-12-06 Andreas Schwab <schwab@linux-m68k.org>
49060
49061 [BZ #13472]
49062 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
49063
4efbd5cb
UD
490642011-12-04 Ulrich Drepper <drepper@gmail.com>
49065
52ff5dd0 49066 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 49067 Minor optimizations.
52ff5dd0 49068
4efbd5cb
UD
49069 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
49070 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
49071 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
49072
8a426e12
UD
490732011-12-03 Ulrich Drepper <drepper@gmail.com>
49074
aff2453d
UD
49075 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
49076 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
49077 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
49078 for gcc to avoid warnings.
49079 * inet/Makefile (tests): Add tst-checks.
49080 * inet/tst-checks.c: New file.
49081
49082 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
49083 warning.
49084
49085 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
49086 __wmemcmp_sse2.
49087
49088 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
49089 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
49090
8a426e12
UD
49091 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
49092
9bea3473
UD
490932011-12-02 Ulrich Drepper <drepper@gmail.com>
49094
3a965496
UD
49095 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
49096 problem.
49097
9bea3473
UD
49098 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
49099
f101631b
UD
491002011-11-29 Joseph Myers <joseph@codesourcery.com>
49101
49102 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
49103 conditional on GCC version.
49104 (__arch_compare_and_exchange_val_8_acq)
49105 (__arch_compare_and_exchange_val_16_acq)
49106 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
49107 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
49108 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
49109
a98275aa
UD
491102011-12-02 Joseph Myers <joseph@codesourcery.com>
49111
49112 * sysdeps/sh/backtrace.c: New file.
49113
d4cc29a2
AS
491142011-12-02 Andreas Schwab <schwab@redhat.com>
49115
49116 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
49117 parenthesis.
49118
6257af2d
AS
491192011-12-01 Andreas Schwab <schwab@redhat.com>
49120
49121 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
49122 falling back to utime.
49123
b5f44c1a
AS
491242011-11-30 Andreas Schwab <schwab@redhat.com>
49125
49126 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
49127 expectations for float.
49128
f3a6cc0a
AS
491292011-11-29 Andreas Schwab <schwab@redhat.com>
49130
49131 * locale/weight.h (findidx): Add parameter len.
49132 * locale/weightwc.h (findidx): Likewise.
49133 * posix/fnmatch_loop.c (FCT): Adjust caller.
49134 * posix/regcomp.c (build_equiv_class): Likewise.
49135 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
49136 * posix/regexec.c (check_node_accept_bytes): Likewise.
49137 * string/strcoll_l.c (STRCOLL): Likewise.
49138 * string/strxfrm_l.c (STRXFRM): Likewise.
49139
9d65ea3a
UD
491402011-11-17 Ulrich Drepper <drepper@gmail.com>
49141
49142 * Makefile.in: Remove CVSOPT handling.
49143 * configure.in: Remove use of AC_REVISION.
49144 * iconvdata/Makefile (distribute): No need to filter out CVS.
49145 * scripts/list-sources.sh: Remove CVS, subversion and monotone
49146 handling.
49147
5583a086
AS
491482011-11-16 Andreas Schwab <schwab@redhat.com>
49149
49150 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
49151 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
49152 [USE_AS_STRNCASECMP_L]: Likewise.
49153 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
49154 NO_TLS_DIRECT_SEG_REFS.
49155 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
49156 Fix argument offsets for non-PIC.
49157 [USE_AS_STRNCASECMP_L]: Likewise.
49158 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
49159 NO_TLS_DIRECT_SEG_REFS.
49160
d62a8200
UD
491612011-11-15 Ulrich Drepper <drepper@gmail.com>
49162
9d65ea3a 49163 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
49164 O_CLOEXEC.
49165 * locale/loadlocale.c (_nl_load_locale): Likewise.
49166
09f93bd3
AS
491672011-11-15 Andreas Schwab <schwab@redhat.com>
49168
446514f9
AS
49169 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
49170 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
49171 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
49172 (SYSCALL_GETTIME): Set errno on error.
49173
09f93bd3
AS
49174 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
49175 count references to noai6ai_cached.
49176
312be3f9
UD
491772011-11-15 Ulrich Drepper <drepper@gmail.com>
49178
49179 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
49180
49181 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
49182 FD_CLOEXEC for /proc/self/maps.
49183
49184 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
49185 FD_CLOEXEC for /proc/meminfo.
49186
49187 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
49188 gai.conf.
49189
49190 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
49191 FD_CLOEXEC for given file.
49192
49193 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
49194
49195 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
49196 FD_CLOEXEC for /etc/hosts.
49197 (_gethtent): Likewise.
49198
49199 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
49200
49201 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
49202 cancellation and set FD_CLOEXEC for /etc/netgroup.
49203
49204 * nss/nss_files/files-key.c (search): Don't allow cancellation when
49205 reading /etc/publickey.
49206
49207 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
49208 allow cancellation when reading /etc/group.
49209
49210 * nss/nss_files/files-alias.c (internal_setent): Don't allow
49211 cancellation.
49212 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
49213
49214 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
49215 when using data file.
49216
49217 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
49218
49219 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
49220 (write_nis_obj): Use "c" and "e" in fopen.
49221
49222 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
49223
49224 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
49225
49226 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
49227
49228 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
49229
49230 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
49231 locale.alias.
49232
49233 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
49234
49235 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
49236
49237 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
49238
49239 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
49240 file parsing and set FD_CLOEXEC.
49241
82af0fa8
UD
492422011-11-14 Ulrich Drepper <drepper@gmail.com>
49243
49244 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
49245
a5fb313c
AS
492462011-11-14 Andreas Schwab <schwab@redhat.com>
49247
49248 * malloc/arena.c (arena_get2): Don't call reused_arena when
49249 _int_new_arena failed.
49250
6abf3465
UD
492512011-11-14 Ulrich Drepper <drepper@gmail.com>
49252
49253 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
49254 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
49255 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
49256 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49257 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49258 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
49259 to compile strcasecmp and strncasecmp.
49260 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
49261 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
49262
49263 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
49264
76e3966e
UD
492652011-11-13 Ulrich Drepper <drepper@gmail.com>
49266
49267 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
49268 locale-defines.sym to gen-as-const-headers.
49269 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
49270 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
49271 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
49272 to compile strcasecmp and strncasecmp.
49273 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
49274 strcasecmp_l and strncasecmp_l.
49275 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
49276 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
49277 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
49278 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
49279 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
49280 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
49281 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
49282 * sysdeps/i386/i686/multiarch/strncase.S: New file.
49283 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
49284 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
49285 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
49286
ab26144e
UD
492872011-11-12 Ulrich Drepper <drepper@gmail.com>
49288
7edb22ef
UD
49289 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
49290 result of SYSDEP_GETTIME_CPU to retval.
49291 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
49292 parameter list to macro. Remove trailing semicolon. Adjust users.
49293
9694fc44
UD
49294 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
49295 variable.
49296
8ad89ef8
UD
49297 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
49298 mantissa words.
49299 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
49300
0c822ef9
UD
49301 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
49302 from unused variable.
49303
874e0564
UD
49304 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
49305 DWARF definitions.
49306 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
49307 for assembling.
49308
3a2edc79
UD
49309 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
49310 over namespaces.
49311
f3c2577f
UD
49312 * sunrpc/rpc_prot.c (rejected): Fix case value.
49313
294ce126
UD
49314 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
49315 unsigned long long int to avoid warnings in shift.
49316
5e2b63c6
UD
49317 * posix/regex_internal.c (re_string_reconstruct): Actually use result
49318 of use of trans.
49319 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
49320 variable tmp.
49321
e7f4b08e
UD
49322 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
49323 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
49324 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
49325
ab26144e
UD
49326 * nis/nis_table.c (nis_list): Use variable of correct type for
49327 result of __follow_path call.
49328
8a6d5255
AZ
493292011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49330
49331 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
49332 of math functions ceil, trunc, floor, round, and sqrt, when
49333 avaliable on the platform.
49334 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
49335 name clash.
49336 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49337 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
49338 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
49339
aaddc98c
MP
493402011-10-30 Marek Polacek <mpolacek@redhat.com>
49341
49342 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
49343 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
49344
95b7042b
RM
493452011-11-11 Roland McGrath <roland@hack.frob.com>
49346
49347 * include/unistd.h: Fix __readlink return type.
49348 Reported by Chris Metcalf <cmetcalf@tilera.com>.
49349
57769839
UD
493502011-11-11 Ulrich Drepper <drepper@gmail.com>
49351
49352 * stdlib/ucontext.h: Undo last change for makecontext.
49353
edc5984d
AS
493542011-11-11 Andreas Schwab <schwab@redhat.com>
49355
98591e58
AS
49356 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
49357
edc5984d
AS
49358 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
49359 * setjmp/setjmp.h: Mark functions as non-leaf.
49360 * setjmp/bits/setjmp2.h: Likewise.
49361 * stdlib/ucontext.h: Likewise.
49362
77cdc054
AS
493632011-11-10 Andreas Schwab <schwab@redhat.com>
49364
49365 * malloc/arena.c (_int_new_arena): Don't increment narenas.
49366 (reused_arena): Don't check arena limit.
49367 (arena_get2): Atomically check arena limit.
49368
fe72eebd
UD
493692011-11-08 Ulrich Drepper <drepper@gmail.com>
49370
5f078c32
UD
49371 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
49372 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
49373
fe72eebd
UD
49374 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
49375 instructions.
49376
ae1bc2fa
AS
493772011-11-07 Andreas Schwab <schwab@redhat.com>
49378
7583a88d
AS
49379 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
49380 handler when locking.
49381
ae1bc2fa
AS
49382 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
49383 Fix size of allocated buffer.
49384
10fb0bfa
AS
493852011-11-04 Andreas Schwab <schwab@redhat.com>
49386
998832a4
AS
49387 [BZ #10103]
49388 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
49389 declarations for long double functions.
49390 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
49391
10fb0bfa
AS
49392 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
49393
3d7ba52b
AS
493942011-11-03 Andreas Schwab <schwab@redhat.com>
49395
a9ae54a1
AS
49396 * nscd/nscd.c (main): Don't start AVC thread until credentials are
49397 installed.
49398
3d7ba52b
AS
49399 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
49400 is disabled.
49401
bc8db248
ST
494022011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
49403
49404 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
49405
45b96dd6
AS
494062011-11-01 Andreas Schwab <schwab@linux-m68k.org>
49407
647776f6
AS
49408 * include/alloca.h (stackinfo_alloca_round): Define.
49409 (extend_alloca): Use it.
49410 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
49411 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
49412 here.
49413
d91a8b93
AS
49414 * scripts/check-local-headers.sh: Ignore libaudit.h.
49415
45b96dd6
AS
49416 * nscd/Makefile (extra-objs): Make recursively expanded.
49417
432d41ce
UD
494182011-11-01 Ulrich Drepper <drepper@gmail.com>
49419
34372fc6
UD
49420 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
49421 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
49422
fadb59f8
UD
49423 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
49424 * posix/tst-rfc3484-2.c: Likewise.
49425 * posix/tst-rfc3484-3.c: Likewise.
49426
78239589
UD
49427 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49428 process_vm_writev.
49429 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
49430 process_vm_writev.
49431 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
49432 process_vm_writev from libc using GLIBC_2.15 version.
49433
432d41ce
UD
49434 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
49435
02f9c6cf
PP
494362011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
49437
49438 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
49439 stack usage.
49440
3a2c0242
UD
494412011-10-31 Ulrich Drepper <drepper@gmail.com>
49442
f4ec4833
UD
49443 [BZ #13367]
49444 * nss/getent.c (initgroups_keys): Show error message in case no group
49445 names are given.
49446
3a2c0242
UD
49447 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
49448 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
49449 __bump_nl_timestamp.
49450 * nscd/connections (nscd_init): When host database is served open
49451 netlink socket and request notification about configuration changes.
49452 (main_loop_poll): Track netlink file descriptor and bump timestamp
49453 in case data becomes available.
49454 (main_loop_epoll): Likewise.
49455 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
49456 (database_pers_head): Add extra_data fileds.
49457 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
49458 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
49459 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
49460 Adjust caller.
49461 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
49462 in6ai data, call __free_in6ai.
49463 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
49464 Add -DHAVE_NETLINK.
49465 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
49466 interface information. Reuse previous data if netlink timestamp
49467 is not changed.
49468 (__bump_nl_timestamp): New function.
49469 (__free_in6ai): New function.
49470
636064eb
UD
494712011-10-30 Ulrich Drepper <drepper@gmail.com>
49472
49473 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
49474 close_not_cancel_no_status here.
49475 (__check_pf): Reorganize code a bit to not call close twice if OOM.
49476
9beb2334
UD
494772011-10-29 Ulrich Drepper <drepper@gmail.com>
49478
6ef76f3b
UD
49479 [BZ #13276]
49480 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
49481 return value.
49482
0ffc4f3e 49483 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
49484 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
49485 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
49486
cb95113e
UD
494872011-07-03 Andreas Jaeger <aj@suse.de>
49488
49489 [BZ #10709]
49490 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
49491 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
49492 * math/libm-test.inc (sin_test): Add test case.
49493
a1b560ff
UD
494942011-10-29 Ulrich Drepper <drepper@gmail.com>
49495
c9aaface
UD
49496 [BZ #13337]
49497 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
49498 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
49499
d272e7f1
UD
49500 * elf/chroot_canon.c (chroot_canon): Cleanups.
49501
1bc33071
UD
49502 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
49503
1760874d
TJ
49504 [BZ #13335]
49505 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
49506 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
49507
51d91b18
UD
49508 * string/test-strchr.c: Make usable for strchrnul testing.
49509 * string/test-strchrnul.c: New file.
49510 * string/Makefile (strop-tests): Add strchrnul.
49511
a1b560ff 49512 * po/it.po: Update from translation team.
b611fb81 49513 * po/es.po: Likewise.
a1b560ff 49514
a5b81e1f
UD
495152011-10-28 Ulrich Drepper <drepper@gmail.com>
49516
fd52bc6d
UD
49517 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
49518 the three constants needed as parameters. Drop the others.
49519 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
49520 __m128i_strloadu_tolower.
52e4b9eb
UD
49521 Create and initialize variable zero and use it in all the places
49522 where _mm_setzero_si128 was used.
fd52bc6d 49523
a5b81e1f
UD
49524 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
49525 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
49526 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
49527 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
49528 anymore.
49529 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
49530 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
49531 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
49532 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
49533 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
49534 __mpranred, __mptan.
49535 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
49536 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
49537 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
49538 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
49539 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
49540 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
49541 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
49542 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
49543 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
49544
b4343346
AS
495452011-10-28 Andreas Schwab <schwab@redhat.com>
49546
0c92d8a8
AS
49547 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
49548 redefine if SHARED.
49549 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
49550
b4343346
AS
49551 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
49552 wide char related routines to wcsmbs subdir.
49553
3871f58f
AS
495542011-10-27 Andreas Schwab <schwab@redhat.com>
49555
49556 [BZ #13344]
49557 * misc/sys/cdefs.h (__THROWNL): Define.
49558 * posix/unistd.h: Use __THREADNL instead of __THREAD
49559 for memory synchronization functions.
49560
94d44d9f
RM
495612011-10-26 Roland McGrath <roland@hack.frob.com>
49562
21b64b15 49563 [BZ #13349]
94d44d9f
RM
49564 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
49565 doesn't exist.
49566 * manual/stdio.texi (Obstack Streams): Node removed.
49567
f6ce9294
AS
495682011-10-26 Andreas Schwab <schwab@redhat.com>
49569
80479147
AS
49570 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
49571 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49572 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49573
f6ce9294
AS
49574 * math/math_private.h (math_force_eval): Allow non-addressable
49575 arguments.
49576 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
49577
618280a1
UD
495782011-10-25 Ulrich Drepper <drepper@gmail.com>
49579
e0016b11
UD
49580 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
49581 file is not needed.
49582
49583 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
49584 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
49585 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49586 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49587 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49588 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49589 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49590 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
49591 Add AVX variants.
49592 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
49593 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
49594 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
49595 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
49596 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
49597 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
49598 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
49599 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
49600 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
49601 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
49602 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
49603 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
49604 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
49605 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
49606 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
49607 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
49608 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
49609 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
49610 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
49611
49612 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
49613 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
49614
618280a1
UD
49615 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
49616 place. Use VEX encoding when compiling for AVX.
49617
37822576
AS
496182011-10-25 Andreas Schwab <schwab@redhat.com>
49619
1f1e1947
AS
49620 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
49621 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
49622
37822576
AS
49623 * string/test-strchr.c (do_test): Don't generate NUL bytes.
49624
31ea014d
UD
496252011-10-25 Ulrich Drepper <drepper@gmail.com>
49626
d7826aa1 49627 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 49628 useless if() expression.
d7826aa1
UD
49629 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49630 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
49631 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
49632 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49633 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
49634 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49635 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49636 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49637 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
49638 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49639 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49640 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49641 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
49642 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49643 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
49644 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49645 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49646 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49647 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
49648
31ea014d
UD
49649 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
49650
16437fec
AS
496512011-10-25 Andreas Schwab <schwab@redhat.com>
49652
49653 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
49654 condition.
49655 * elf/dl-fini.c (_dl_sort_fini): Likewise.
49656
31d3cc00
UD
496572011-10-25 Ulrich Drepper <drepper@gmail.com>
49658
49659 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
49660 .text section. Avoid duplicate constants.
49661 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
49662 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49663 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49664 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49665 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49666 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49667 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49668 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49669 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
49670 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
49671 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
49672 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
49673 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
49674 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
49675 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
49676 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
49677 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
49678 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
49679 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49680 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49681 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
49682 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
49683 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
49684 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
49685 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
49686 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
49687 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
49688 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
49689 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
49690 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
49691 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
49692 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
49693 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
49694 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
49695 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
49696 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
49697 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
49698 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
49699 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
49700 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
49701 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
49702 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
49703 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
49704 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
49705 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
49706
58985aa9
UD
497072011-10-24 Ulrich Drepper <drepper@gmail.com>
49708
202c9deb
UD
49709 * sysdeps/x86_64/dla.h: Move to ...
49710 * sysdeps/x86_64/fpu/dla.h: ...here.
49711 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
49712 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 49713
af968f62
UD
49714 * config.make.in: Add have-mfma4 entry.
49715 * configure.in: Substitute libc_cv_cc_fma4.
49716 * math/Makefile (dbl-only-routines): Add sincostab.
49717 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
49718 Use __sincostab not sincos.
49719 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
49720 name is a macro.
49721 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49722 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49723 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49724 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
49725 using __copysign.
49726 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
49727 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
49728 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
49729 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
49730 and __inv.
49731 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
49732 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
49733 __copysign.
49734 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
49735 define aliases when function name is a macro.
49736 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
49737 sysdeps/ieee754/dbl-64/sincos.tbl.
49738 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
49739 fma4-enabled routines.
49740 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
49741 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
49742 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
49743 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
49744 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
49745 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
49746 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
49747 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
49748 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
49749 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
49750 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
49751 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
49752 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
49753 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
49754 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
49755 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
49756 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
49757 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
49758 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
49759 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
49760 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
49761 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
49762 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
49763 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
49764 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
49765 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
49766 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
49767 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
49768 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
49769 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
49770
58985aa9
UD
49771 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
49772 rename.
49773 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49774 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49775 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49776 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49777 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49778 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49779 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49780 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49781
a201fbcf
AS
497822011-10-24 Andreas Schwab <schwab@redhat.com>
49783
49784 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
49785
fc2ee42a
LD
497862011-10-23 Ulrich Drepper <drepper@gmail.com>
49787
bb3129bd
UD
49788 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
49789
0275fff8
UD
49790 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
49791 prediction.
49792 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
49793
2fa2ae85
UD
49794 * string/strnlen.c: Don't define STRNLEN, reverse logic.
49795 Remove unused variable magic_bits.
49796 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
49797
fc2ee42a
LD
49798 * string/strnlen.c: Define and use STRNLEN macro.
49799 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
49800 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
49801 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
49802 * wcsmbs/wcslen.c: Define and use WCSLEN.
49803 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
49804 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
49805 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
49806 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
49807 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
49808 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
49809 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
49810
ce7dd29f
LD
498112011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49812
49813 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49814 strnlen-sse2-no-bsf.
49815 Rename strlen-no-bsf to strlen-sse2-no-bsf.
49816 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
49817 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
49818 Add strnlen support.
49819 (USE_AS_STRNLEN): New macro.
49820 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
49821 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
49822 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
49823 * sysdeps/x86_64/wcslen.S: New file.
49824
979c70a3
MZ
498252011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
49826
49827 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
49828 XMM-moves are used for copying on small sizes.
49829
2d09f82f
LD
498302011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49831
49832 * wcsmbs/Makefile (strop-tests): Add wcschr.
49833 * wcsmbs/test-wcschr.c: New file.
49834 * string/test-strchr.c: Update.
49835 Add wcschr support.
49836 (WIDE): New macro.
49837
619fccca
LD
498382011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49839
2d09f82f 49840 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
49841 * wcsmbs/test-wcslen.c: New file.
49842 * string/test-strlen.c: Update.
49843 Add wcslen support.
49844 (WIDE): New macro.
49845
09f699ea
UD
498462011-10-23 Ulrich Drepper <drepper@gmail.com>
49847
49848 * po/it.po: Update from translation team.
49849
95584d3b
LD
498502011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49851
49852 * sysdeps/x86_64/wcscmp.S: Update.
49853 Fix wrong comparison semantics.
49854 wcscmp shall use signed comparison not unsigned.
49855 Don't use substraction to avoid overflow bug.
49856 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
49857 * wcsmbc/wcscmp.c: Likewise.
49858 * string/test-strcmp.c: Likewise.
49859 Add new tests to check cases with negative values.
49860
c8b3296b
UD
498612011-10-23 Ulrich Drepper <drepper@gmail.com>
49862
49863 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
49864 * sysdeps/x86_64/dla.h: ...here. New file.
49865 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
49866 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49867 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49868 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49869 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49870 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49871 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49872 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49873 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49874
246ad57a
AS
498752011-10-23 Andreas Schwab <schwab@linux-m68k.org>
49876
49877 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
49878 __ynl_finite aliases.
49879
a1a87169
UD
498802011-10-22 Ulrich Drepper <drepper@gmail.com>
49881
0d355eb7
UD
49882 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49883
a1a87169
UD
49884 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
49885 define DLA_FMA.
49886 [DLA_FMA] (EMULV): Use DLA_FMA.
49887 [DLA_FMA] (MUL12): Use EMULV.
49888 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
49889 that are not needed.
49890 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49891 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49892 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49893 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49894 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49895 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49896 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49897
ee2aafe0
AS
498982011-10-22 Andreas Schwab <schwab@linux-m68k.org>
49899
49900 * math/s_nan.c: Undef __nan.
49901 * math/s_nanf.c: Undef __nanf.
49902 * math/s_nanl.c: Undef __nanl.
49903 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
49904 "math_private.h".
49905
bc62c2fb
UD
499062011-10-22 Ulrich Drepper <drepper@gmail.com>
49907
77425c63
UD
49908 * math/s_catan.c: Add branch predictions.
49909 * math/s_catanf.c: Likewise.
49910 * math/s_catanh.c: Likewise.
49911 * math/s_catanhf.c: Likewise.
49912 * math/s_catanhl.c: Likewise.
49913 * math/s_catanl.c: Likewise.
49914 * math/s_cexp.c: Likewise.
49915 * math/s_cexpf.c: Likewise.
49916 * math/s_cexpl.c: Likewise.
49917 * math/s_clog.c: Likewise.
49918 * math/s_clog10.c: Likewise.
49919 * math/s_clog10f.c: Likewise.
49920 * math/s_clog10l.c: Likewise.
49921 * math/s_clogf.c: Likewise.
49922 * math/s_clogl.c: Likewise.
49923 * math/s_csqrt.c: Likewise.
49924 * math/s_csqrtf.c: Likewise.
49925 * math/s_csqrtl.c: Likewise.
49926 * math/s_ctanf.c: Likewise.
49927 * math/s_ctanh.c: Likewise.
49928 * math/s_ctanhf.c: Likewise.
49929 * math/s_ctanhl.c: Likewise.
49930 * math/s_ctanl.c: Likewise.
49931
bc62c2fb
UD
49932 * math/math_private.h: Define __nan, __nanf, __nanl.
49933 * math/s_cacosh.c: Include <math_private.h>.
49934 * math/s_cacoshl.c: Likewise.
49935 * math/s_casinh.c: Likewise.
49936 * math/s_casinhf.c: Likewise.
49937 * math/s_casinhl.c: Likewise.
49938 * math/s_ccos.c: Rely entire on ccosh.
49939 * math/s_ccosf.c: Rely entire on ccoshf.
49940 * math/s_ccosl.c: Rely entirely on ccoshl.
49941 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
49942 Remove tests for FE_INVALID.
49943 * math/s_ccoshf.c: Likewise.
49944 * math/s_ccoshl.c: Likewise.
49945 * math/s_csin.c: Likewise.
49946 * math/s_csinf.c: Likewise.
49947 * math/s_csinh.c Likewise.
49948 * math/s_csinhf.c: Likewise.
49949 * math/s_csinhl.c: Likewise.
49950 * math/s_csinl.c: Likewise.
49951 * math/s_ctan.c: Likewise.
49952 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
49953 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
49954 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
49955
8ec250a4
UD
499562011-10-21 Ulrich Drepper <drepper@gmail.com>
49957
c196fed8
UD
49958 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
49959 compilation problems.
49960
8ec250a4
UD
49961 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
49962 __builtin_expect.
49963
8d4f46c6
UD
499642011-10-20 Ulrich Drepper <drepper@gmail.com>
49965
ed72b654
UD
49966 * sysdeps/i386/configure.in: Test for -mfma4 option.
49967 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
49968 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
49969 COMMON_CPUID_INDEX_80000001.
49970 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
49971 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
49972 use it if FMA3 is not supported.
49973 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
49974
8d4f46c6
UD
49975 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
49976 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49977
d45c60c2
AS
499782011-10-20 Andreas Schwab <schwab@redhat.com>
49979
49980 [BZ #12892]
49981 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
49982 it would create a cycle with a link time dependency.
49983
d9a4d2ab
UD
499842011-10-19 Ulrich Drepper <drepper@gmail.com>
49985
855d1560
UD
49986 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
49987 instruction.
49988 * string/Makefile (strop-tests): Add rawmemchr.
49989 * string/test-rawmemchr.c: New file.
49990
d9a4d2ab
UD
49991 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
49992 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
49993 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
49994 when compiling str{,n}casecmp and when AVX is available. Hook up
49995 new optimized code in initializers.
49996
8f3b1ffe
AS
499972011-10-19 Andreas Schwab <schwab@redhat.com>
49998
49999 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
50000 __feraiseexcept instead of feraiseexcept.
50001
d38f1dba
UD
500022011-10-18 Ulrich Drepper <drepper@gmail.com>
50003
d9a8d0ab
UD
50004 * math/math_private.h: Define defaults for libc_fetestexcept and
50005 libc_feupdateenv.
50006 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
50007 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
50008 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
50009 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
50010 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
50011 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
50012 libc_fetestexcept and libc_feupdateenv.
50013
4855e3dd
UD
50014 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
50015 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
50016 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
50017 * sysdeps/x86_64/fpu/math_private.h: Define special version of
50018 libc_feholdexcept_setround.
50019
581d30e3
UD
50020 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
50021 Add s_nearbyint-c and s_nearbyintf-c.
50022 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
50023 nearbyintf inlines.
50024 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
50025 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
50026 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
50027 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
50028
d38f1dba
UD
50029 * math/math_private.h: Define defaults for libc_fegetround,
50030 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
50031 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
50032 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
50033 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
50034 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
50035 standard functions.
50036 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50037 Remove comments and hacks for old compiler versions.
50038 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
50039 libc_fegetround, libc_fesetround, libc_feholdexcept, and
50040 libc_feholdexceptl.
50041
caa6c9d8
AS
500422011-10-18 Andreas Schwab <schwab@redhat.com>
50043
50044 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
50045 (__feraiseexcept_renamed): Add __NTH.
50046 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
50047 namespace violations.
50048
97c066e6
UD
500492011-10-17 Ulrich Drepper <drepper@gmail.com>
50050
99ce7b04
UD
50051 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
50052
1004d182
UD
50053 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
50054
228a984d
UD
50055 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
50056 recently added interfaces.
50057 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
50058
c8553a6a
UD
50059 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
50060 about macro parameter expansion.
50061
ed22dcf6
UD
50062 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
50063 __NO_MATH_INLINES is defined. Cleanups.
50064
50065 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
50066 and __floorf is target has SSE4.1.
50067 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
50068 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
50069 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
50070 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
50071
b171c137
UD
50072 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
50073 name.
50074 (floorf): Likewise.
50075
97c066e6
UD
50076 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
50077
629f62ef
AS
500782011-10-17 Andreas Schwab <schwab@redhat.com>
50079
49a43d80
AS
50080 * misc/sys/cdefs.h: Fix last change.
50081
629f62ef
AS
50082 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
50083 database lookup.
50084
e453f6cd
UD
500852011-10-16 Ulrich Drepper <drepper@gmail.com>
50086
aa78043a
UD
50087 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
50088
ad0f5cad
UD
50089 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
50090 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50091 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
50092 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50093 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50094 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
50095 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50096 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50097 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
50098 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
50099 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
50100 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
50101 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
50102 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
50103 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
50104 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
50105 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
50106 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
50107 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
50108 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
50109 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
50110 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
50111
50112 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
50113 ceil, ceilf, floor, floorf.
50114
50115 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
50116 Perform IRELATIVE relocations last.
50117
e453f6cd
UD
50118 * elf/do-rel.h: Add another parameter nrelative, replacing the
50119 local variable with the same name. Change name of the function
50120 to end in Rel or Rela (uppercase).
50121 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
50122 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
50123 elf_dynamic_do_##reloc function.
50124
fd5bdc09
UD
501252011-10-15 Ulrich Drepper <drepper@gmail.com>
50126
79b195b5
UD
50127 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
50128 is sufficient, at least on modern CPUs.
50129
d4a28569
UD
50130 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
50131
b61099b5
UD
50132 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
50133 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
50134
bcf01e6d
UD
50135 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
50136 __expl_finite.
50137 * math/bits/math-finite.h: Add entries for exp.
50138 * math/e_expl.c: Add __*_finite alias.
50139 * sysdeps/i386/fpu/e_exp.S: Likewise.
50140 * sysdeps/i386/fpu/e_expf.S: Likewise.
50141 * sysdeps/i386/fpu/e_expl.c: Likewise.
50142 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50143 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
50144 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
50145 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50146 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
50147 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
50148 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
50149
ba1a0d59
UD
50150 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
50151 is sufficient, at least on modern CPUs.
50152
fd5bdc09
UD
50153 * ctype/ctype-info.c (__ctype_init): Define.
50154 * include/ctype.h (__ctype_init): Declare.
50155 (__ctype_b_loc): The variable is always initialized.
50156 (__ctype_toupper_loc): Likewise.
50157 (__ctype_tolower_loc): Likewise.
50158 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
50159 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
50160
7872cfb0
AS
501612011-10-15 Andreas Schwab <schwab@linux-m68k.org>
50162
b468825a
AS
50163 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
50164
7872cfb0
AS
50165 * configure.in: Also look in $cxxmachine/include for C++ system
50166 headers.
50167
be13f7bf
LD
501682011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50169
50170 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
50171 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
50172 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
50173 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
50174 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
50175 (USE_AS_WMEMCMP): New macro.
50176 Fixing indents.
50177 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
50178 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
50179 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
50180 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
50181 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50182 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
50183 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
50184 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
50185 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
50186 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
50187 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
50188 (USE_AS_WMEMCMP): New macro.
50189 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
50190 * sysdeps/string/test-memcmp.c: Update.
50191 Fix simple_wmemcmp.
50192 Add new tests.
50193 * wcsmbs/wmemcmp.c: Update.
50194 (WMEMCMP): New macro.
50195 Fix overflow bug.
50196
556a2007
AJ
501972011-10-12 Andreas Jaeger <aj@suse.de>
50198
50199 [BZ #13268]
50200 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
50201
538faaa7
UD
502022011-10-15 Ulrich Drepper <drepper@gmail.com>
50203
ab6737ff
UD
50204 * libio/iofwide.c (do_length): Avoid warning.
50205
538faaa7
UD
50206 * ctype/ctype.h (__isctype_f): Add missing __THROW.
50207
396a21b1
UD
502082011-10-14 Ulrich Drepper <drepper@gmail.com>
50209
cdf2901f
UD
50210 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
50211
38ad40ce
UD
50212 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
50213 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
50214 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
50215 * sysdeps/i386/i686/fpu/e_log.S: New file.
50216 * sysdeps/i386/i686/fpu/e_logf.S: New file.
50217 * sysdeps/i386/i686/fpu/e_logl.S: New file.
50218
396a21b1
UD
50219 * ctype/ctype.h: Add support for inlined isXXX functions when
50220 compiling C++ code.
50221
6b1f68c9
AS
502222011-10-14 Andreas Schwab <schwab@redhat.com>
50223
349290c0
AS
50224 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50225
6b1f68c9
AS
50226 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
50227
f2282d42
RM
502282011-10-13 Roland McGrath <roland@hack.frob.com>
50229
50230 [BZ #13291]
50231 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
50232
5298ffa8
AS
502332011-10-13 Andreas Schwab <schwab@redhat.com>
50234
714fad23
AS
50235 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
50236 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
50237 feraiseexcept.
50238
81dcc7fb
AS
50239 * sysdeps/x86_64/memrchr.S: Check for zero size.
50240
5298ffa8
AS
50241 * string/stratcliff.c: Add memrchr tests.
50242
951fbcec
LD
502432011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50244
50245 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50246 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
50247 rawmemchr-sse2 rawmemchr-sse2-bsf.
50248 * sysdeps/i386/i686/multiarch/memchr.S: New file.
50249 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
50250 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
50251 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
50252 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
50253 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
50254 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
50255 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
50256 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
50257 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
50258 * string/memrchr.c (MEMRCHR): New macro.
50259
0ac5ae23
UD
502602011-10-12 Ulrich Drepper <drepper@gmail.com>
50261
50262 Add integration with gcc's -ffinite-math-only and optimize wrapper
50263 functions in libm.
50264 * Versions.def: Define GLIBC_2.15 version for libm.
50265 * math/Makefile (headers): Add bits/math-finite.h.
50266 * math/bits/math-finite.h: New file.
50267 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
50268 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
50269 * math/e_acoshl.c: Add __*_finite alias.
50270 * math/e_acosl.c: Likewise.
50271 * math/e_asinl.c: Likewise.
50272 * math/e_atan2l.c: Likewise.
50273 * math/e_atanhl.c: Likewise.
50274 * math/e_coshl.c: Likewise.
50275 * math/e_exp10.c: Likewise.
50276 * math/e_exp10f.c: Likewise.
50277 * math/e_exp10l.c: Likewise.
50278 * math/e_exp2l.c: Likewise.
50279 * math/e_fmodl.c: Likewise.
50280 * math/e_gammal_r.c: Likewise.
50281 * math/e_hypotl.c: Likewise.
50282 * math/e_j0l.c: Likewise.
50283 * math/e_j1l.c: Likewise.
50284 * math/e_jnl.c: Likewise.
50285 * math/e_lgammal_r.c: Likewise.
50286 * math/e_log10l.c: Likewise.
50287 * math/e_log2l.c: Likewise.
50288 * math/e_logl.c: Likewise.
50289 * math/e_powl.c: Likewise.
50290 * math/e_sinhl.c: Likewise.
50291 * math/e_sqrtl.c: Likewise.
50292 * math/e_scalb.c: Completely rewritten and optimized.
50293 * math/e_scalbf.c: Likewise.
50294 * math/e_scalbl.c: Likewise.
50295 * math/w_acos.c: Likewise.
50296 * math/w_acosf.c: Likewise.
50297 * math/w_acosl.c: Likewise.
50298 * math/w_acosh.c: Likewise.
50299 * math/w_acoshf.c: Likewise.
50300 * math/w_acoshl.c: Likewise.
50301 * math/w_asin.c: Likewise.
50302 * math/w_asinf.c: Likewise.
50303 * math/w_asinl.c: Likewise.
50304 * math/w_atan2.c: Likewise.
50305 * math/w_atan2f.c: Likewise.
50306 * math/w_atan2l.c: Likewise.
50307 * math/w_atanh.c: Likewise.
50308 * math/w_atanhf.c: Likewise.
50309 * math/w_atanhl.c: Likewise.
50310 * math/w_exp10.c: Likewise.
50311 * math/w_exp10f.c: Likewise.
50312 * math/w_exp10l.c: Likewise.
50313 * math/w_fmod.c: Likewise.
50314 * math/w_fmodf.c: Likewise.
50315 * math/w_fmodl.c: Likewise.
50316 * math/w_j0.c: Likewise.
50317 * math/w_j0f.c: Likewise.
50318 * math/w_j0l.c: Likewise.
50319 * math/w_j1.c: Likewise.
50320 * math/w_j1f.c: Likewise.
50321 * math/w_j1l.c: Likewise.
50322 * math/w_jn.c: Likewise.
50323 * math/w_jnf.c: Likewise.
50324 * math/w_log.c: Likewise.
50325 * math/w_logf.c: Likewise.
50326 * math/w_logl.c: Likewise.
50327 * math/w_log10.c: Likewise.
50328 * math/w_log10f.c: Likewise.
50329 * math/w_log10l.c: Likewise.
50330 * math/w_log2.c: Likewise.
50331 * math/w_log2f.c: Likewise.
50332 * math/w_log2l.c: Likewise.
50333 * math/w_pow.c: Likewise.
50334 * math/w_powf.c: Likewise.
50335 * math/w_powl.c: Likewise.
50336 * math/w_remainder.c: Likewise.
50337 * math/w_remainderf.c: Likewise.
50338 * math/w_remainderl.c: Likewise.
50339 * math/w_scalb.c: Likewise.
50340 * math/w_scalbf.c: Likewise.
50341 * math/w_scalbl.c: Likewise.
50342 * math/w_sqrt.c: Likewise.
50343 * math/w_sqrtf.c: Likewise.
50344 * math/w_sqrtl.c: Likewise.
50345 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
50346 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
50347 used.
50348 * math/math_private.h: Declare __kernel_standard_f.
50349 * math/w_cosh.c: Remove cruft and optimize a bit.
50350 * math/w_coshf.c: Likewise.
50351 * math/w_coshl.c: Likewise.
50352 * math/w_exp2.c: Likewise.
50353 * math/w_exp2f.c: Likewise.
50354 * math/w_exp2l.c: Likewise.
50355 * math/w_hypot.c: Likewise.
50356 * math/w_hypotf.c: Likewise.
50357 * math/w_hypotl.c: Likewise.
50358 * math/w_lgamma.c: Likewise.
50359 * math/w_lgamma_r.c: Likewise.
50360 * math/w_lgammaf.c: Likewise.
50361 * math/w_lgammaf_r.c: Likewise.
50362 * math/w_lgammal.c: Likewise.
50363 * math/w_lgammal_r.c: Likewise.
50364 * math/w_sinh.c: Likewise.
50365 * math/w_sinhf.c: Likewise.
50366 * math/w_sinhl.c: Likewise.
50367 * math/w_tgamma.c: Likewise.
50368 * math/w_tgammaf.c: Likewise.
50369 * math/w_tgammal.c: Likewise.
50370 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50371 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50372 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
50373 Minor optimizations. Pretty printing. Remove cruft.
50374 * sysdeps/i386/fpu/e_acosf.S: Likewise.
50375 * sysdeps/i386/fpu/e_acosh.S: Likewise.
50376 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50377 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50378 * sysdeps/i386/fpu/e_acosl.c: Likewise.
50379 * sysdeps/i386/fpu/e_asin.S: Likewise.
50380 * sysdeps/i386/fpu/e_asinf.S: Likewise.
50381 * sysdeps/i386/fpu/e_atan2.S: Likewise.
50382 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
50383 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
50384 * sysdeps/i386/fpu/e_atanh.S: Likewise.
50385 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50386 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50387 * sysdeps/i386/fpu/e_exp10.S: Likewise.
50388 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
50389 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
50390 * sysdeps/i386/fpu/e_exp2.S: Likewise.
50391 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
50392 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
50393 * sysdeps/i386/fpu/e_fmod.S: Likewise.
50394 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
50395 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
50396 * sysdeps/i386/fpu/e_hypot.S: Likewise.
50397 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
50398 * sysdeps/i386/fpu/e_log.S: Likewise.
50399 * sysdeps/i386/fpu/e_log10.S: Likewise.
50400 * sysdeps/i386/fpu/e_log10f.S: Likewise.
50401 * sysdeps/i386/fpu/e_log10l.S: Likewise.
50402 * sysdeps/i386/fpu/e_log2.S: Likewise.
50403 * sysdeps/i386/fpu/e_log2f.S: Likewise.
50404 * sysdeps/i386/fpu/e_log2l.S: Likewise.
50405 * sysdeps/i386/fpu/e_logf.S: Likewise.
50406 * sysdeps/i386/fpu/e_logl.S: Likewise.
50407 * sysdeps/i386/fpu/e_pow.S: Likewise.
50408 * sysdeps/i386/fpu/e_powf.S: Likewise.
50409 * sysdeps/i386/fpu/e_powl.S: Likewise.
50410 * sysdeps/i386/fpu/e_remainder.S: Likewise.
50411 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
50412 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
50413 * sysdeps/i386/fpu/e_scalb.S: Likewise.
50414 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50415 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50416 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
50417 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
50418 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
50419 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
50420 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50421 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50422 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
50423 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50424 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
50425 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
50426 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
50427 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50428 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50429 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
50430 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
50431 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50432 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
50433 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
50434 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50435 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50436 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
50437 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50438 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50439 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
50440 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
50441 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50442 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50443 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
50444 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
50445 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
50446 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
50447 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
50448 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
50449 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50450 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
50451 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50452 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
50453 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
50454 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
50455 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
50456 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
50457 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
50458 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
50459 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
50460 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
50461 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
50462 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
50463 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50464 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
50465 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
50466 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
50467 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
50468 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
50469 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
50470 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
50471 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
50472 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50473 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
50474 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
50475 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
50476 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
50477 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
50478 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
50479 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
50480 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
50481 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50482 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50483 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
50484 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
50485 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
50486 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
50487 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
50488 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
50489 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
50490 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
50491 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
50492 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
50493 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
50494 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
50495 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
50496 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
50497 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50498 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
50499 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50500 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
50501 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
50502 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50503 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50504 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
50505 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50506 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
50507 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
50508 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
50509 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50510 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50511 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50512 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
50513 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50514 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50515 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50516 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
50517 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
50518 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
50519 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
50520 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
50521 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
50522 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
50523 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50524 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50525 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50526 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50527 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
50528 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50529 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
50530 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
50531 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
50532 (__isnanf): Likewise.
50533 (__isinf_ns): Likewise.
50534 (__isinf_nsf): Likewise.
50535 (__finite): Likewise.
50536 (__finitef): Likewise.
50537 (__ieee754_sqrt): Define as macro.
50538 (__ieee754_sqrtf): Define as macro.
50539 (__ieee754_sqrtl): Define as macro.
50540 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
50541 inlined copy.
50542 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
50543 __FINITE_MATH_ONLY__ consistent.
50544 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
50545
12cc2fcd
AS
505462011-10-10 Andreas Schwab <schwab@linux-m68k.org>
50547
a843a204
AS
50548 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
50549 of rawmemchr.
50550
12cc2fcd
AS
50551 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
50552
c853acd5
UD
505532011-10-09 Ulrich Drepper <drepper@gmail.com>
50554
50555 * po/ja.po: Update from translation team.
50556
c658d255
RM
505572011-10-08 Roland McGrath <roland@hack.frob.com>
50558
110946e4
RM
50559 * locale/programs/locarchive.c (prepare_address_space): New function.
50560 (create_archive, enlarge_archive, open_archive): Use it.
50561
50604220
RM
50562 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
50563 inside [SHARED], where it is used.
50564
c658d255
RM
50565 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
50566
50567 * nss/getent.c (netgroup_keys): Remove unused variable.
50568 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
50569
6a621eb7
UD
505702011-10-08 Ulrich Drepper <drepper@gmail.com>
50571
7edb55ce
UD
50572 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
50573 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
50574 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
50575 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
50576 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
50577 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
50578 * math/Makefile (libm-calls): Add s_isinf_ns.
50579 * math/divtc3.c: Use __isinf_nsl instead of isinf.
50580 * math/multc3.c: Likewise.
50581 * math/s_casin.c: Likewise.
50582 * math/s_casinf.c: Likewise.
50583 * math/s_casinl.c: Likewise.
50584 * math/s_ccos.c: Likewise.
50585 * math/s_ccosf.c: Likewise.
50586 * math/s_ccosl.c: Likewise.
50587 * math/s_ctan.c: Likewise.
50588 * math/s_ctanf.c: Likewise.
50589 * math/s_ctanh.c: Likewise.
50590 * math/s_ctanhf.c: Likewise.
50591 * math/s_ctanhl.c: Likewise.
50592 * math/s_ctanl.c: Likewise.
50593 * math/w_fmod.c: Likewise.
50594 * math/w_fmodf.c: Likewise.
50595 * math/w_fmodl.c: Likewise.
50596 * math/w_remainder.c: Likewise.
50597 * math/w_remainderf.c: Likewise.
50598 * math/w_remainderl.c: Likewise.
50599 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
50600 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
50601 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
50602 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
50603 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
50604 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
50605 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
50606 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
50607
187da0ae
UD
50608 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
50609 of the number.
50610 * stdio-common/printf_fphex.c: Likewise.
50611 * stdio-common/printf_size.c: Likewise.
50612
9277c064
UD
50613 * math/e_exp10.c: Include math_private.h using <...> not "...".
50614 * math/e_exp10f.c: Likewise.
50615 * math/e_exp10l.c: Likewise.
50616 * math/e_exp2l.c: Likewise.
50617 * math/e_j0l.c: Likewise.
50618 * math/e_j1l.c: Likewise.
50619 * math/e_jnl.c: Likewise.
50620 * math/e_lgammal_r.c: Likewise.
50621 * math/e_rem_pio2l.c: Likewise.
50622 * math/e_scalb.c: Likewise.
50623 * math/e_scalbf.c: Likewise.
50624 * math/e_scalbl.c: Likewise.
50625 * math/k_cosl.c: Likewise.
50626 * math/k_sinl.c: Likewise.
50627 * math/k_tanl.c: Likewise.
50628 * math/s_cacoshf.c: Likewise.
50629 * math/s_catan.c: Likewise.
50630 * math/s_catanf.c: Likewise.
50631 * math/s_catanh.c: Likewise.
50632 * math/s_catanhf.c: Likewise.
50633 * math/s_catanhl.c: Likewise.
50634 * math/s_catanl.c: Likewise.
50635 * math/s_ccosh.c: Likewise.
50636 * math/s_ccoshf.c: Likewise.
50637 * math/s_ccoshl.c: Likewise.
50638 * math/s_cexp.c: Likewise.
50639 * math/s_cexpf.c: Likewise.
50640 * math/s_cexpl.c: Likewise.
50641 * math/s_clog.c: Likewise.
50642 * math/s_clog10.c: Likewise.
50643 * math/s_clog10f.c: Likewise.
50644 * math/s_clog10l.c: Likewise.
50645 * math/s_clogf.c: Likewise.
50646 * math/s_clogl.c: Likewise.
50647 * math/s_csin.c: Likewise.
50648 * math/s_csinf.c: Likewise.
50649 * math/s_csinh.c: Likewise.
50650 * math/s_csinhf.c: Likewise.
50651 * math/s_csinhl.c: Likewise.
50652 * math/s_csinl.c: Likewise.
50653 * math/s_csqrt.c: Likewise.
50654 * math/s_csqrtf.c: Likewise.
50655 * math/s_csqrtl.c: Likewise.
50656 * math/s_ctan.c: Likewise.
50657 * math/s_ctanf.c: Likewise.
50658 * math/s_ctanh.c: Likewise.
50659 * math/s_ctanhf.c: Likewise.
50660 * math/s_ctanhl.c: Likewise.
50661 * math/s_ctanl.c: Likewise.
50662 * math/s_ldexp.c: Likewise.
50663 * math/s_ldexpf.c: Likewise.
50664 * math/s_ldexpl.c: Likewise.
50665 * math/s_significand.c: Likewise.
50666 * math/s_significandf.c: Likewise.
50667 * math/s_significandl.c: Likewise.
50668 * math/w_acos.c: Likewise.
50669 * math/w_acosf.c: Likewise.
50670 * math/w_acosh.c: Likewise.
50671 * math/w_acoshf.c: Likewise.
50672 * math/w_acoshl.c: Likewise.
50673 * math/w_acosl.c: Likewise.
50674 * math/w_asin.c: Likewise.
50675 * math/w_asinf.c: Likewise.
50676 * math/w_asinl.c: Likewise.
50677 * math/w_atan2.c: Likewise.
50678 * math/w_atan2f.c: Likewise.
50679 * math/w_atan2l.c: Likewise.
50680 * math/w_atanh.c: Likewise.
50681 * math/w_atanhf.c: Likewise.
50682 * math/w_atanhl.c: Likewise.
50683 * math/w_cosh.c: Likewise.
50684 * math/w_coshf.c: Likewise.
50685 * math/w_coshl.c: Likewise.
50686 * math/w_dremf.c: Likewise.
50687 * math/w_exp10.c: Likewise.
50688 * math/w_exp10f.c: Likewise.
50689 * math/w_exp10l.c: Likewise.
50690 * math/w_exp2.c: Likewise.
50691 * math/w_exp2f.c: Likewise.
50692 * math/w_fmod.c: Likewise.
50693 * math/w_fmodf.c: Likewise.
50694 * math/w_fmodl.c: Likewise.
50695 * math/w_hypot.c: Likewise.
50696 * math/w_hypotf.c: Likewise.
50697 * math/w_hypotl.c: Likewise.
50698 * math/w_j0.c: Likewise.
50699 * math/w_j0f.c: Likewise.
50700 * math/w_j0l.c: Likewise.
50701 * math/w_j1.c: Likewise.
50702 * math/w_j1f.c: Likewise.
50703 * math/w_j1l.c: Likewise.
50704 * math/w_jn.c: Likewise.
50705 * math/w_jnf.c: Likewise.
50706 * math/w_jnl.c: Likewise.
50707 * math/w_lgamma.c: Likewise.
50708 * math/w_lgamma_r.c: Likewise.
50709 * math/w_lgammaf.c: Likewise.
50710 * math/w_lgammaf_r.c: Likewise.
50711 * math/w_lgammal.c: Likewise.
50712 * math/w_lgammal_r.c: Likewise.
50713 * math/w_log.c: Likewise.
50714 * math/w_log10.c: Likewise.
50715 * math/w_log10f.c: Likewise.
50716 * math/w_log10l.c: Likewise.
50717 * math/w_log2.c: Likewise.
50718 * math/w_log2f.c: Likewise.
50719 * math/w_log2l.c: Likewise.
50720 * math/w_logf.c: Likewise.
50721 * math/w_logl.c: Likewise.
50722 * math/w_pow.c: Likewise.
50723 * math/w_powf.c: Likewise.
50724 * math/w_powl.c: Likewise.
50725 * math/w_remainder.c: Likewise.
50726 * math/w_remainderf.c: Likewise.
50727 * math/w_remainderl.c: Likewise.
50728 * math/w_scalb.c: Likewise.
50729 * math/w_scalbf.c: Likewise.
50730 * math/w_scalbl.c: Likewise.
50731 * math/w_sinh.c: Likewise.
50732 * math/w_sinhf.c: Likewise.
50733 * math/w_sinhl.c: Likewise.
50734 * math/w_sqrt.c: Likewise.
50735 * math/w_sqrtf.c: Likewise.
50736 * math/w_sqrtl.c: Likewise.
50737 * math/w_tgamma.c: Likewise.
50738 * math/w_tgammaf.c: Likewise.
50739 * math/w_tgammal.c: Likewise.
50740
6a621eb7
UD
50741 * po/ja.po: Update from translation team.
50742
bf582445
AJ
507432011-09-29 Andreas Jaeger <aj@suse.de>
50744
f9efbf3a
AJ
50745 [BZ #13179]
50746 * sunrpc/netname.c (netname2host): Fix logic.
50747
bf582445
AJ
50748 [BZ #6779]
50749 [BZ #6783]
50750 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
50751 correctly.
50752 * math/w_remainder.c (__remainder): Likewise.
50753 * math/w_remainderf.c (__remainderf): Likewise.
50754 * math/libm-test.inc (remainder_test): Add test cases.
50755
48693bea
AK
507562011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50757
50758 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
50759 sdiv_qrnnd.
50760
42622229
LD
507612011-10-07 Ulrich Drepper <drepper@gmail.com>
50762
50763 * string/test-memcmp.c: Avoid unncessary #defines.
50764 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50765
093ecf92
LD
507662011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50767
50768 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
50769 Use new sse2 version for core i3 - i7 as it's faster
50770 than sse42 version.
50771 (bit_Prefer_PMINUB_for_stringop): New.
50772 * sysdeps/x86_64/rawmemchr.S: Update.
50773 Replace with faster SSE2 version.
50774 * sysdeps/x86_64/memrchr.S: New file.
50775 * sysdeps/x86_64/memchr.S: Update.
50776 Replace with faster SSE2 version.
50777
fde56e5c
MP
507782011-09-12 Marek Polacek <mpolacek@redhat.com>
50779
50780 * elf/dl-load.c (lose): Add cast to avoid warning.
50781
21fd49a9
UD
507822011-10-07 Ulrich Drepper <drepper@gmail.com>
50783
5a06e643
UD
50784 * po/ca.po: Update from translation team.
50785
684ae515
UD
50786 * inet/getnetgrent_r.c: Hook up nscd.
50787 * nscd/Makefile (routines): Add nscd_netgroup.
50788 (nscd-modules): Add netgroupcache.
50789 (CFLAGS-netgroupcache.c): Define.
50790 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
50791 (cache_search): Add const to second parameter.
50792 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
50793 INNETGR.
50794 (dbs): Add netgrdb entry.
50795 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
50796 (verify_persistent_db): Handle netgrdb.
50797 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
50798 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
50799 GETFDNETGR.
50800 (netgroup_response_header): Define.
50801 (innetgroup_response_header): Define.
50802 (datahead): Add netgroup_response_header and innetgroup_response_header
50803 elements.
50804 * nscd/nscd.conf: Add entries for netgroup cache.
50805 * nscd/nscd.h (dbtype): Add netgrdb.
50806 (_PATH_NSCD_NETGROUP_DB): Define.
50807 (netgroup_iov_disabled): Declare.
50808 (xmalloc, xcalloc, xrealloc): Move declarations here.
50809 (cache_search): Adjust prototype.
50810 Add netgroup-related prototypes.
50811 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
50812 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
50813 (__nscd_innetgr): Declare.
50814 * nscd/selinux.c (perms): Use access_vector_t as element type and
50815 add netgroup-related initializers.
50816 * nscd/netgroupcache.c: New file.
50817 * nscd/nscd_netgroup.c: New file.
50818 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
50819 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
50820 For four parameters use innetgr.
50821 * nss/nss_files/files-init.c: Add definition and callback for netgr.
50822 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
50823 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
50824 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
50825
21fd49a9
UD
50826 * nscd/connections.c (register_traced_file): Don't register file
50827 for disabled databases.
50828
054c0457
UD
508292011-10-06 Ulrich Drepper <drepper@gmail.com>
50830
32b63198
UD
50831 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
50832
054c0457
UD
50833 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
50834 from tree and freeing node.
50835
64031225
JO
508362011-09-25 Jiri Olsa <jolsa@redhat.com>
50837
50838 * nss/nsswitch.c (__nss_database_lookup): Handle
50839 nss_parse_service_list out of memory case.
50840
0490345c
JO
508412011-09-15 Jiri Olsa <jolsa@redhat.com>
50842
50843 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
50844 out of memory case.
50845
3a62d00d
AS
508462011-10-04 Andreas Schwab <schwab@redhat.com>
50847
50848 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
50849 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
50850 pass it down.
50851 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
50852 elf_machine_rela, elf_machine_lazy_rel.
50853 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
50854 (ELF_DYNAMIC_DO_REL): Likewise.
50855 (ELF_DYNAMIC_DO_RELA): Likewise.
50856 (ELF_DYNAMIC_RELOCATE): Likewise.
50857 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
50858 to ELF_DYNAMIC_DO_REL.
50859 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
50860 (dl_main): In trace mode always set __RTLD_NOIFUNC.
50861 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
50862 elf_machine_rela.
50863 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
50864 skip_ifunc, don't call ifunc function if non-zero.
50865 (elf_machine_rela): Likewise.
50866 (elf_machine_lazy_rel): Likewise.
50867 (elf_machine_lazy_rela): Likewise.
50868 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
50869 (elf_machine_lazy_rel): Likewise.
50870 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
50871 Likewise.
50872 (elf_machine_lazy_rel): Likewise.
50873 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50874 Likewise.
50875 (elf_machine_lazy_rel): Likewise.
50876 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
50877 (elf_machine_lazy_rel): Likewise.
50878 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
50879 (elf_machine_lazy_rel): Likewise.
50880 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
50881 (elf_machine_lazy_rel): Likewise.
50882 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
50883 (elf_machine_lazy_rel): Likewise.
50884 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
50885 (elf_machine_lazy_rel): Likewise.
50886 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
50887 (elf_machine_lazy_rel): Likewise.
50888
68577918
UD
508892011-09-28 Ulrich Drepper <drepper@gmail.com>
50890
50891 * nss/nss_files/files-init.c (_nss_files_init): Use static
50892 initialization for all the *_traced_file variables.
50893
68822d74
AS
508942011-09-28 Andreas Schwab <schwab@redhat.com>
50895
50896 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50897
2056100b
RM
508982011-09-27 Roland McGrath <roland@hack.frob.com>
50899
50900 [BZ #13226]
50901 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
50902
32c76b63
AS
509032011-09-27 Andreas Schwab <schwab@redhat.com>
50904
50905 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50906 Reread the line before reparsing it.
50907
bf972c9d
AS
509082011-09-26 Andreas Schwab <schwab@redhat.com>
50909
50910 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
50911
e057a1b5
JM
509122011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
50913 Maxim Kuvyrkov <maxim@codesourcery.com>
50914 Joseph Myers <joseph@codesourcery.com>
50915
50916 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
50917 if needed for __stack_chk_guard.
50918
bc7e1c36
RM
509192011-09-19 Roland McGrath <roland@hack.frob.com>
50920
ecb1482f
RM
50921 * sysdeps/posix/spawni.c (script_execute): Always define it.
50922 It will be optimized away if unused.
50923 (maybe_script_execute): New function.
50924 (__spawni): Call it.
50925
bc7e1c36
RM
50926 * Makerules: Don't include tls.make.
50927 (config-tls): Always set to thread.
50928 * tls.make.c: File removed.
50929
1c3b002b
MF
509302011-09-19 Mike Frysinger <vapier@gentoo.org>
50931
50932 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
50933 * config.make.in (CPPFLAGS-config): New substituted variable.
50934
2840865d
UD
509352011-09-15 Ulrich Drepper <drepper@gmail.com>
50936
88738eb6
UD
50937 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
50938
cbf645a6 50939 [BZ #13192]
2840865d
UD
50940 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
50941 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
50942
b402e91a
RM
509432011-09-15 Roland McGrath <roland@hack.frob.com>
50944
50945 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
50946 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
50947 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
50948 (CALL_FAIL): Likewise.
50949 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
50950 (CALL_FAIL): Macro removed.
50951 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
50952
4c1a1f71
UD
509532011-09-15 Ulrich Drepper <drepper@gmail.com>
50954
50955 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
50956 for __FINITE_MATH_ONLY__ == 1.
50957
edc121be
AS
509582011-09-15 Andreas Schwab <schwab@redhat.com>
50959
50960 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
50961 __ieee754_sqrt instead of sqrt.
50962 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
50963 __ieee754_sqrtf instead of sqrtf.
50964 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
50965 __floorf instead of floorf.
50966 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
50967 __floorf, __truncf instead of floorf, truncf.
50968
cd205654
UD
509692011-09-14 Ulrich Drepper <drepper@gmail.com>
50970
ee4d0315
UD
50971 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
50972
cd205654
UD
50973 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
50974 __extern_always_inline.
50975 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
50976 32-bit.
50977
48b67d71
AS
509782011-09-14 Andreas Schwab <schwab@redhat.com>
50979
50980 * elf/rtld.c (dl_main): Also relocate in dependency order when
50981 doing symbol dependency testing.
50982
1ae12c75
AS
509832011-09-13 Andreas Schwab <schwab@linux-m68k.org>
50984
50985 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50986 Always define `refsym'.
50987
995a80df
AS
509882011-09-13 Andreas Schwab <schwab@redhat.com>
50989
e529793b
AS
50990 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
50991 (__FD_ELT): Renamed from __FDELT.
50992 * misc/bits/select2.h (__FD_ELT): Likewise.
50993 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
50994 __FD_MASK instead of __FDELT, __FDMASK.
50995 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
50996 Likewise.
50997 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
50998 Likewise.
50999
52d4fef8
AS
51000 * elf/Makefile (gen-ldd): Fix pattern.
51001
995a80df
AS
51002 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
51003 (init_tls): Likewise.
51004
8682f8b0
UD
510052011-09-12 Ulrich Drepper <drepper@gmail.com>
51006
51007 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
51008
de82006d
AS
510092011-09-12 Andreas Schwab <schwab@redhat.com>
51010
a7c8e6a1
AS
51011 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
51012 `struct cmsghdr *' instead of `void *'.
51013 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
51014 Likewise.
51015
0f31fe77
AS
510162011-09-11 Andreas Schwab <schwab@linux-m68k.org>
51017
51018 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
51019 if non-absolute.
51020 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
51021 ldd_rewrite_script.
0f31fe77 51022
32b4c839
UD
510232011-09-11 Ulrich Drepper <drepper@gmail.com>
51024
83cd1420
UD
51025 * configure.in: Remove --with-tls option.
51026 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
51027 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
51028 out in case it is missing.
51029 * sysdeps/ia64/elf/configure.in: Likewise.
51030 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
51031 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
51032 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
51033 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
51034 * sysdeps/sh/elf/configure.in: Likewise.
51035 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
51036 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
51037 * sysdeps/x86_64/elf/configure.in: Likewise.
51038 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
51039 * sysdeps/mach/hurd/tls.h: Likewise.
51040
633f745d
UD
51041 [BZ #13067]
51042 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
51043
f318beb8
UD
51044 [BZ #13090]
51045 * configure.in: Fix use of AC_INIT.
51046
32b4c839
UD
51047 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
51048
3ce1f295
UD
510492011-09-10 Ulrich Drepper <drepper@gmail.com>
51050
bb016596
UD
51051 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
51052 __set_errno.
8e58439c
UD
51053 * malloc/hooks.c: Likewise.
51054
aebae053 51055 [BZ #11929]
02d46fc4
UD
51056 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
51057 variables statically.
51058 (narenas): Initialize.
51059 (list_lock): Initialize.
bb016596
UD
51060 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
51061 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
51062 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
51063 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
51064 Add initializers to main_arena and mp_.
51065 (malloc_state): Remove pagesize member. Change all users to use
51066 GLRO(dl_pagesize).
51067
51068 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
51069 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
51070 is always initialized.
51071
22a89187
UD
51072 * malloc/malloc.c: Removed unused configurations and dead code.
51073 * malloc/arena.c: Likewise.
51074 * malloc/hooks.c: Likewise.
02d46fc4 51075 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 51076
d063d164
UD
51077 * include/tls.h: Removed. USE___THREAD must always be defined.
51078 * bits/libc-tsd.h: Don't handle !USE___THREAD.
51079 * elf/dl-libc.c: Likewise.
51080 * elf/dl-tsd.c: Likewise.
51081 * include/errno.h: Likewise.
51082 * include/netdb.h: Likewise.
51083 * include/resolv.h: Likewise.
51084 * inet/herrno-loc.c: Likewise.
51085 * inet/herrno.c: Likewise.
51086 * malloc/arena.c: Likewise.
51087 * malloc/hooks.c: Likewise.
51088 * malloc/malloc.c: Likewise.
51089 * resolv/res-state.c: Likewise.
51090 * resolv/res_libc.c: Likewise.
51091 * sysdeps/i386/dl-machine.h: Likewise.
51092 * sysdeps/ia64/dl-machine.h: Likewise.
51093 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
51094 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
51095 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
51096 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
51097 * sysdeps/sh/dl-machine.h: Likewise.
51098 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
51099 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
51100 * sysdeps/unix/i386/sysdep.S: Likewise.
51101 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
51102 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
51103 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
51104 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
51105 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
51106 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
51107 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
51108 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
51109 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51110 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
51111 * sysdeps/unix/x86_64/sysdep.S: Likewise.
51112 * sysdeps/x86_64/dl-machine.h: Likewise.
51113 * tls.make.c: Likewise.
51114
3ce1f295
UD
51115 * configure.in: Remove --with-__thread option. Make tests for
51116 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
51117 tls_model attribute fail if no support is available. Remove
51118 USE_IN_LIBIO.
51119 * Makeconfig: Adjust for dropped configure option. All features are
51120 now mandatory.
51121 * Makerules: Likewise.
51122 * Versions.def: Likewise.
51123 * argp/argp-fmtstream.c: Likewise.
51124 * argp/argp-fmtstream.h: Likewise.
51125 * argp/argp-help.c: Likewise.
51126 * assert/assert.c: Likewise.
51127 * config.h.in: Likewise.
51128 * config.make.in: Likewise.
51129 * configure: Likewise.
51130 * configure.in: Likewise.
51131 * csu/Versions: Likewise.
51132 * csu/init.c: Likewise.
51133 * elf/tst-audit2.c: Likewise.
51134 * elf/tst-tls10.c: Likewise.
51135 * elf/tst-tls10.h: Likewise.
51136 * elf/tst-tls11.c: Likewise.
51137 * elf/tst-tls12.c: Likewise.
51138 * elf/tst-tls14.c: Likewise.
51139 * elf/tst-tlsmod11.c: Likewise.
51140 * elf/tst-tlsmod12.c: Likewise.
51141 * elf/tst-tlsmod13.c: Likewise.
51142 * elf/tst-tlsmod13a.c: Likewise.
51143 * elf/tst-tlsmod14a.c: Likewise.
51144 * elf/tst-tlsmod15b.c: Likewise.
51145 * elf/tst-tlsmod16a.c: Likewise.
51146 * elf/tst-tlsmod16b.c: Likewise.
51147 * elf/tst-tlsmod7.c: Likewise.
51148 * elf/tst-tlsmod8.c: Likewise.
51149 * elf/tst-tlsmod9.c: Likewise.
51150 * gmon/gmon.c: Likewise.
51151 * grp/fgetgrent_r.c: Likewise.
51152 * grp/putgrent.c: Likewise.
51153 * hurd/fopenport.c: Likewise.
51154 * include/libc-symbols.h: Likewise.
51155 * include/tls.h: Likewise.
51156 * intl/gettextP.h: Likewise.
51157 * intl/loadinfo.h: Likewise.
51158 * locale/global-locale.c: Likewise.
51159 * locale/localeinfo.h: Likewise.
51160 * mach/devstream.c: Likewise.
51161 * malloc/arena.c: Likewise.
51162 * malloc/set-freeres.c: Likewise.
51163 * misc/err.c: Likewise.
51164 * misc/getttyent.c: Likewise.
51165 * misc/mntent_r.c: Likewise.
51166 * posix/getopt.c: Likewise.
51167 * posix/wordexp.c: Likewise.
51168 * pwd/fgetpwent_r.c: Likewise.
51169 * resolv/Versions: Likewise.
51170 * resolv/res_hconf.c: Likewise.
51171 * shadow/fgetspent_r.c: Likewise.
51172 * shadow/putspent.c: Likewise.
51173 * stdio-common/printf_fphex.c: Likewise.
51174 * stdio-common/tmpfile.c: Likewise.
51175 * stdlib/abort.c: Likewise.
51176 * stdlib/fmtmsg.c: Likewise.
51177 * sunrpc/auth_unix.c: Likewise.
51178 * sunrpc/clnt_perr.c: Likewise.
51179 * sunrpc/clnt_tcp.c: Likewise.
51180 * sunrpc/clnt_udp.c: Likewise.
51181 * sunrpc/clnt_unix.c: Likewise.
51182 * sunrpc/openchild.c: Likewise.
51183 * sunrpc/svc_simple.c: Likewise.
51184 * sunrpc/svc_tcp.c: Likewise.
51185 * sunrpc/svc_udp.c: Likewise.
51186 * sunrpc/svc_unix.c: Likewise.
51187 * sunrpc/xdr.c: Likewise.
51188 * sunrpc/xdr_array.c: Likewise.
51189 * sunrpc/xdr_rec.c: Likewise.
51190 * sunrpc/xdr_ref.c: Likewise.
51191 * sunrpc/xdr_stdio.c: Likewise.
51192
1248c1c4
PB
511932011-09-09 Ulrich Drepper <drepper@gmail.com>
51194
51195 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51196
511972011-07-03 Andreas Jaeger <aj@suse.de>
51198
51199 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
51200 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
51201 regenerate with gen-libm-tests.pl.
51202
512032010-05-12 Petr Baudis <pasky@suse.cz>
51204
51205 [BZ #11589]
51206 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
51207 around j0() zero points by switching to j1().
51208 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51209 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51210 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
51211 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51212
f22e1074
UD
512132011-09-09 Ulrich Drepper <drepper@gmail.com>
51214
f19009c1
UD
51215 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
51216 instead of 0.
51217 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 51218 instead of 0.
f19009c1
UD
51219 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51220 Patch in part by Pavel Roskin <proski@gnu.org>.
51221
3f8cc204
UD
51222 [BZ #13138]
51223 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
51224 realloc.
51225 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
51226 Free memory block if necessary.
51227
f22e1074
UD
51228 [BZ #12847]
51229 * libio/genops.c (INTDEF): For string streams the _lock pointer can
51230 be NULL. Don't lock in this case.
51231
0a2349f9
RM
512322011-09-09 Roland McGrath <roland@hack.frob.com>
51233
51234 * elf/elf.h (ELFOSABI_GNU): New macro.
51235 (ELFOSABI_LINUX): Define to that.
51236
f3cdd467
DZ
512372011-07-29 Denis Zaitceff <zaitceff@gmail.com>
51238
51239 * string/strncat.c (strncat): Undef the symbol in case it has been
51240 defined in bits/string.h.
51241
74718d13
UD
512422011-09-09 Ulrich Drepper <drepper@gmail.com>
51243
633e9e0f
UD
51244 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
51245
0a2349f9 51246 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
51247 link map.
51248
f9924780
AJ
512492011-08-17 Andreas Jaeger <aj@suse.de>
51250
51251 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
51252
7f5517aa
PP
512532011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
51254 Ian Lance Taylor <iant@google.com>
51255
51256 * math/libm-test.inc (lround_test): New testcase.
51257 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
51258
762011fe
UD
512592011-09-08 Ulrich Drepper <drepper@gmail.com>
51260
92963737
UD
51261 * Makefile: Remove support for automatic cvs check-ins.
51262 * Makerules: Likewise.
51263 * config.make.in: Likewise.
51264 * configure.in: Likewise.
51265 * intl/Makefile: Likewise.
51266 * locale/Makefile: Likewise.
51267 * po/Makefile: Likewise.
51268 * posix/Makefile: Likewise.
51269 * sysdeps/gnu/Makefile: Likewise.
51270 * sysdeps/mach/hurd/Makefile: Likewise.
51271 * sysdeps/sparc/sparc32/Makefile: Likewise.
51272
b0727fd8
JS
51273 [BZ #13118]
51274 * posix/Makefile (bug-regex32-ENV): Define.
51275 Patch by John Stanley <jpsinthemix@verizon.net>.
51276
a0f33f99
UD
51277 * misc/Makefile (headers): Add bits/select2.h.
51278 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
51279 * misc/bits/select2.h: New file.
51280 * include/bits/select2.h: New file.
51281 * debug/Makefile (routines): Add fdelt_chk.
51282 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
51283 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
51284 FD_ISSET.
51285 * debug/fdelt_chk.c: New file.
51286
762011fe
UD
51287 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
51288 * wcsmbs/test-wmemcmp.c: Likewise.
51289 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 51290 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
51291
512922011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51293
51294 * string/Makefile (strop-tests): Add memcmp.
51295 * string/test-wmemcmp.c: New file.
51296 * string/test-memcmp.c: Add wmemcmp support.
51297
7f513ec8
RM
512982011-09-08 Roland McGrath <roland@hack.frob.com>
51299
0442afb4
RM
51300 [BZ #13153]
51301 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
51302 2011-07-19 change.
51303
7f513ec8
RM
51304 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
51305 garbage value in a __mach_port_mod_refs call in the cases of the
51306 task-self and thread-self ports.
51307
a12b2239
ST
513082011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
51309
51310 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
51311
610f9ab4
AS
513122011-09-08 Andreas Schwab <schwab@redhat.com>
51313
7f513ec8 51314 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 51315
48882a1a
LD
513162011-09-07 Ulrich Drepper <drepper@gmail.com>
51317
b49865be
UD
51318 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
51319
fdc86bc9
UD
51320 * elf/dl-libc.c (dlerror_run): Pass back error code from
51321 dl_catch_error.
51322
c966526a
UD
51323 [BZ #13123]
51324 * elf/dl-load.c (lose): Free l_origin if it is valid.
51325
48882a1a
LD
51326 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
51327 names.
51328 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
51329 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51330 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
51331 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
51332 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
51333 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
51334
77a2a8b4
AZ
513352011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51336
51337 * sysdeps/powerpc/fpu/e_hypot.c: New file.
51338 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
51339 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
51340 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
51341 * sysdeps/powerpc/fpu/k_cosf.c: New file.
51342 * sysdeps/powerpc/fpu/k_sinf.c: New file.
51343 * sysdeps/powerpc/fpu/s_cosf.c: New file.
51344 * sysdeps/powerpc/fpu/s_sinf.c: New file.
51345 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
51346 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
51347
24f579d8
AM
513482011-08-15 Alan Modra <amodra@gmail.com>
51349
51350 [BZ #13092]
51351 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
51352 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
51353 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
51354 ppc_mcount to static-only-routines.
51355 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
51356 __mcount_internal.
51357 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
51358 __mcount_internal with usual JUMPTARGET. Remove useless nop.
51359
3d4837df
UD
513602011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
51361
51362 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
51363 for finite and infinity parameters.
51364
22700377
WS
513652011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
51366
51367 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
51368 and add nop instructions for throughput optimization.
51369 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51370
5025581e
WS
513712011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
51372
51373 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
51374 aligned copy for power7 with vector-scalar instructions.
51375 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
51376
08a300c9
L
513772011-07-24 H.J. Lu <hongjiu.lu@intel.com>
51378
51379 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
51380 AVX check.
51381
59178ef9
AS
513822011-09-07 Andreas Schwab <schwab@redhat.com>
51383
51384 [BZ #13144]
51385 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
51386 last change.
51387
e38ba7ab
UD
513882011-09-07 Ulrich Drepper <drepper@gmail.com>
51389
51390 * sysdeps/unix/sysv/linux/x86_64/init-first.c
51391 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
51392 syscall wrapper around clock_gettime in __vdso_clock_gettime.
51393 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
51394 clock_gettime.
51395
d53a73ac
UD
513962011-09-06 Ulrich Drepper <drepper@gmail.com>
51397
fc8bffcc
UD
51398 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
51399 Forgot to demangle the pointer.
51400
ceaa0c5d
UD
51401 * sysdeps/i386/sysdep.h: Define atom_text_section.
51402 * sysdeps/x86_64/sysdep.h: Likewise.
51403 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
51404 section with atom_text_section.
51405 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51406 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
51407 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
51408 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
51409 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
51410
a77d3c17
UD
51411 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
51412 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
51413 already be defined. Change to take two parameters and don't assign
51414 result to variable. Adjust all users.
51415 Define INTERNAL_GETTIME if not already defined.
51416 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
51417 call.
51418 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
51419 HAVE_CLOCK_GETTIME_VSYSCALL.
51420 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
51421
d53a73ac
UD
51422 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
51423 gettimeofday vsyscall, just use time.
51424
a8f84144
AS
514252011-09-06 Andreas Schwab <schwab@redhat.com>
51426
51427 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
51428 <errno.h>.
51429
ef606249
UD
514302011-09-06 Ulrich Drepper <drepper@gmail.com>
51431
51432 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
51433 syscall on x86-64.
51434 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
51435 syscall.
51436 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
51437 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
51438 syscall if possible.
51439
6585cb60
UD
514402011-09-05 Ulrich Drepper <drepper@gmail.com>
51441
51442 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
51443 e_ident. Don't pass to find_mapsXX.
51444 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
51445
a5f524e4
LD
514462011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51447
51448 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51449 strchr-sse2-no-bsf strrchr-sse2-no-bsf
51450 * sysdeps/x86_64/multiarch/strchr.S: Update.
51451 Check bit_slow_BSF bit.
51452 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51453 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
51454 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
51455
554881ef
UD
514562011-09-05 Ulrich Drepper <drepper@gmail.com>
51457
d96de963
UD
51458 [BZ #13134]
51459 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
51460 before glibc 2.15.
51461 (tryshell): Define.
51462 (__spawni): Change last parameter to be flag. Test
51463 SPAWN_XFLAGS_USE_PATH flag to use path or not.
51464 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
51465 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
51466 * posix/spawni.c: Likewise.
51467 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
51468 * posix/spawnp.c: Likewise. Change normal version to use
51469 SPAWN_XFLAGS_USE_PATH.
51470 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
51471 SPAWN_XFLAGS_TRY_SHELL.
51472
d48e5868
UD
51473 [BZ #13150]
51474 * posix/glob.h: Remove gcc 1.x support.
51475
554881ef
UD
51476 [BZ #13068]
51477 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
51478
693fb948
LD
514792011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51480
51481 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51482 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
51483 strrchr-sse2-bsf
51484 * sysdeps/i386/i686/multiarch/strchr.S: New file.
51485 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
51486 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
51487 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
51488 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
51489 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
51490
1b48c537
UD
514912011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51492
49d42c37
UD
51493 * sysdeps/x86_64/wcscmp.S: New file.
51494
1b48c537
UD
51495 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
51496 wcscmp-c wcscmp-sse2
51497 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
51498 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
51499 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
51500 * wcsmbs/wcscmp.c: Allow renaming.
51501
15c95c5d
DM
515022011-09-05 David S. Miller <davem@davemloft.net>
51503
51504 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
51505 stack slot, rather than the struct return pointer slot.
51506 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
51507 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
51508 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
51509 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
51510
2f0ad8f3
UD
515112011-09-05 Ulrich Drepper <drepper@gmail.com>
51512
d88ae418
UD
51513 * po/ja.po: Update from translation team.
51514
2f0ad8f3
UD
51515 [BZ #13144]
51516 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
51517 kernel in 64-bit binaries.
51518
5f4318d1
DM
515192011-09-01 David S. Miller <davem@davemloft.net>
51520
51521 * elf/elf.h (HWCAP_SPARC_*): Move to..
51522 * sysdeps/sparc/sysdep.h: this new file and add new values.
51523 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
51524 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
51525 _DL_HWCAP_COUNT to 24.
51526 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
51527 entries.
51528 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
51529 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
51530 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
51531 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
51532 instead of magic constants.
51533 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51534
3ba57516
DM
515352011-08-31 David S. Miller <davem@davemloft.net>
51536
51537 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
51538 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
51539 Reimplement to do errno handling inline.
51540 (SYSCALL_ERROR_HANDLER): New macro.
51541 (__SYSCALL_STRING): Do not do errno handling in asm.
51542 (__CLONE_SYSCALL_STRING): Delete.
51543 (__INTERNAL_SYSCALL_STRING): Delete.
51544 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
51545 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
51546 (PSEUDO): Reimplement to do errno handling inline.
51547 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
51548 (SYSCALL_ERROR_HANDLER): New macro.
51549 (__SYSCALL_STRING): Do not do errno handling in asm.
51550 (__CLONE_SYSCALL_STRING): Delete.
51551 (__INTERNAL_SYSCALL_STRING): Delete.
51552 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
51553 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
51554 i386.
51555 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
51556 (inline_syscall*): Add 'err' argument.
51557 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
51558 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
51559 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
51560 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
51561
51562 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
51563 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
51564
2bc17433
AS
515652011-08-30 Andreas Schwab <schwab@redhat.com>
51566
51567 * elf/rtld.c (dl_main): Relocate objects in dependency order.
51568
fbeb5f4d
JO
515692011-08-29 Jiri Olsa <jolsa@redhat.com>
51570
51571 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
51572 directive.
51573
ad69cc26
DM
515742011-08-24 David S. Miller <davem@davemloft.net>
51575
51576 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
51577
39dd69df
AS
515782011-08-24 Andreas Schwab <schwab@redhat.com>
51579
51580 * elf/Makefile: Add rules to build and run unload8 test.
51581 * elf/unload8.c: New file.
51582 * elf/unload8mod1.c: New file.
51583 * elf/unload8mod1x.c: New file.
51584 * elf/unload8mod2.c: New file.
51585 * elf/unload8mod3.c: New file.
51586
51587 * elf/dl-close.c (_dl_close_worker): Reset private search list if
51588 it wasn't used.
51589
2c0b250a
DM
515902011-08-23 David S. Miller <davem@davemloft.net>
51591
51592 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
51593 subtract stack bias.
51594 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
51595 %sp not %fp in calculations.
51596 (_JMPBUF_UNWINDS_ADJ): Likewise.
51597
22044b48
DM
51598 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
51599 (aio_suspend): Call it to force an exception region around the
51600 AIO_MISC_WAIT() invocation.
51601
2cae4995
AS
516022011-08-23 Andreas Schwab <schwab@redhat.com>
51603
51604 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
51605 backslash.
51606
873a772e
AJ
516072011-07-04 Aurelien Jarno <aurelien@aurel32.net>
51608
51609 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
51610 protection macro.
51611 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
51612 and <dl-machine.h>.
51613 (Elf64_FuncDesc): Remove.
51614
25ad0df1
DM
516152011-08-22 David S. Miller <davem@davemloft.net>
51616
51617 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
51618 sigaltstack check, add missing cfi directives.
51619 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
51620 missing cfi directives, and sigaltstack handling.
51621
e888bcbe
AS
516222011-08-16 Andreas Schwab <schwab@redhat.com>
51623
51624 [BZ #11724]
51625 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
51626 object is seen twice.
51627 * elf/dl-fini.c (_dl_sort_fini): Likewise.
51628
51629 * elf/Makefile (distribute): Add tst-initorder2.c.
51630 (tests): Add tst-initorder2.
51631 (modules-names): Add tst-initorder2a tst-initorder2b
51632 tst-initorder2c tst-initorder2d. Add rules to build them.
51633 ($(objpfx)tst-initorder2.out): New rule.
51634 * elf/tst-initorder2.c: New file.
51635 * elf/tst-initorder2.exp: New file.
51636
87162f46
AS
516372011-08-22 Andreas Schwab <schwab@redhat.com>
51638
70538b7f
AS
51639 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
51640
f55ffe58
AS
51641 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
51642 dependencies back to end of function.
51643
87162f46
AS
51644 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
51645 $(elfobjdir)/ld.so.
51646
91b392a4
UD
516472011-08-21 Ulrich Drepper <drepper@gmail.com>
51648
51649 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
51650 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
51651 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
51652 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
51653 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
51654 of __vdso_gettimeofday.
51655 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
51656 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
51657 attribute_hidden.
51658 (_libc_vdso_platform_setup): Remove initialization of
51659 __vdso_gettimeofday and __vdso_time.
51660
5c43483f
UD
516612011-08-20 Ulrich Drepper <drepper@gmail.com>
51662
775a77e7
UD
51663 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
51664 and fgetc_unlocked.
51665 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
51666 getc_unlocked.
89f447ed 51667
49c74ba9
UD
51668 * elf/dl-open.c (add_to_global): Report additions to the global scope
51669 for LD_DEBUG=scopes.
51670 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 51671 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 51672
5c43483f
UD
51673 [BZ #13114]
51674 * stdio-common/Makefile (tests): Add bug24.
51675 * stdio-common/bug24.c: New file.
51676
a101b025
AJ
516772011-08-19 Andreas Jaeger <aj@suse.de>
51678
51679 [BZ #13114]
51680 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
51681 non-existant file when using close-on-exec mode.
51682
c88f1766
UD
516832011-08-20 Ulrich Drepper <drepper@gmail.com>
51684
0276a718
UD
51685 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
51686 the very first instruction.
51687
c88f1766
UD
51688 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
51689 the CFI state in the end.
51690 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
51691 inclusion of dl-trampoline.h.
51692 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
51693
51ccffa0
AS
516942011-08-19 Andreas Schwab <schwab@redhat.com>
51695
94d7165f
AS
51696 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
51697 expectations for long double.
51698
51ccffa0
AS
51699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
51700 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
51701
fd708658 517022011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
51703
51704 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
51705 artificual limit depends upon the system page size.
51706
44f0a71e
UD
517072011-08-17 Ulrich Drepper <drepper@gmail.com>
51708
51709 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
51710 * resolv/Makefile: Define CFLAGS-libresolv.
51711
8de79a24
AS
517122011-08-17 Andreas Schwab <schwab@redhat.com>
51713
51714 * nss/makedb.c (compute_tables): Make variables used in nested
51715 function static.
51716
27724598
UD
517172011-08-17 Ulrich Drepper <drepper@gmail.com>
51718
c5305d88
UD
51719 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
51720 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
51721 if buffer was too small.
51722
27724598
UD
51723 * elf/pldd.c (main): Attach to all threads in the process.
51724 Rewrite /proc handling to use *at functions.
51725
076fe015
UD
517262011-08-16 Ulrich Drepper <drepper@gmail.com>
51727
174baab3
UD
51728 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
51729 specifies first scope to show.
51730 (dl_open_worker): Update callers. Move printing scope of new
51731 object to before the relocation.
44f0a71e 51732 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
51733 * sysdeps/generic/ldsodefs.h: Update declaration.
51734
076fe015
UD
51735 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
51736 string for the scope number.
51737
a60df2c3
UD
517382011-08-14 Ulrich Drepper <drepper@gmail.com>
51739
51740 * nscd/servicescache.c (cache_addserv): Make sure written is always
51741 initialized.
51742
5e4287d1
RM
517432011-08-14 Roland McGrath <roland@hack.frob.com>
51744
85ae0589
RM
51745 * sysdeps/i386/i486/bits/atomic.h
51746 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
51747 statement expression, so as to suppress "set but not used" warning.
51748 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
51749
69f63097
RM
51750 * string/strncat.c (STRNCAT): Use prototype definition.
51751
675456ef
RM
51752 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
51753 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
51754 -Iprograms here.
51755 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
51756 (localedef-modules): Add localedef.
51757 (locale-modules): Add locale.
51758
5e4287d1
RM
51759 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
51760 * elf/rtld.c (dl_main): Invert order of assignment in last change,
51761 to avoid a warning.
51762
9c96ff23
DM
517632011-08-14 David S. Miller <davem@davemloft.net>
51764
51765 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
51766 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
51767
f9ddf089
UD
517682011-08-13 Ulrich Drepper <drepper@gmail.com>
51769
44f0a71e 51770 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
51771 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
51772 * elf/rtld.c (dl_main): Set l_name of vDSO.
51773 Call _dl_show_scope when DL_DEBUG_SCOPES.
51774 (process_dl_debug): Recognize scopes flag and also set it for all.
51775 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
51776 Declare _dl_show_scope.
51777
1dc27704
UD
51778 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
51779 (do_dlopen): Pass caller_dlopen to dl_open.
51780 (__libc_dlopen_mode): Initialize caller_dlopen.
51781
f9ddf089
UD
51782 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
51783 of libc. Make tolower call locale-independent. Optimize a bit by
51784 using isdigit instead of isalnum.
51785 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
51786
9ac533d3
UD
517872011-08-12 Ulrich Drepper <drepper@gmail.com>
51788
51789 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
51790 was a dependency or dynamically loaded.
51791
89edf2e9
UD
517922011-08-11 Ulrich Drepper <drepper@gmail.com>
51793
8e999d29
UD
51794 * intl/l10nflist.c: Allow architecture-specific pop function.
51795 * sysdeps/x86_64/l10nflist.c: New file.
51796
89edf2e9
UD
51797 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
51798 classification.
51799
14d96785
AS
518002011-08-10 Andreas Schwab <schwab@redhat.com>
51801
51802 * include/dirent.h: Add libc_hidden_proto for scandirat and
51803 scandirat64. Don't declare __scandirat64.
51804 * dirent/scandirat.c: Add libc_hidden_def.
51805 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
51806 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
51807
6761ac04
DM
518082011-08-10 David S. Miller <davem@davemloft.net>
51809
51810 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
51811 enum.
51812 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51813 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51814 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51815
c55fbd1e
UD
518162011-08-09 Ulrich Drepper <drepper@gmail.com>
51817
51818 * Versions.def [libc]: Add GLIBC_2.15.
51819 * dirent/Makefile (routines): Add scandirat and scandirat64.
51820 * dirent/Versions [libc]: Export scandirat and scandirat64 for
51821 GLIBC_2.15.
51822 * dirent/dirent.h: Declare scandirat and scandirat64.
51823 * dirent/scandirat.c: New file.
51824 * dirent/scandirat64.c: New file.
51825 * sysdeps/wordsize-64/scandirat.c: New file.
51826 * sysdeps/wordsize-64/scandirat64.c: New file.
51827 * dirent/opendir.c: Define opendirat.
51828 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
51829 using scandirat.
51830 * dirent/scandir64.c: Adjust for scandir.c change.
51831 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
51832 __scandirat64, and __scandir_cancel_handler.
51833 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
51834 additional parameter and use openat instead of open (outside of ld.so).
51835 Add new __opendir as wrapper around __opendirat.
51836 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
51837 here without requiring old scandirat implementation.
51838
879165f2
UD
518392011-08-08 Ulrich Drepper <drepper@gmail.com>
51840
51841 * dirent/scandir.c (cancel_handler): Renamed to
51842 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
51843 defined. Adjust users.
51844 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
51845 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
51846
cb7e923b
UD
518472011-08-04 Ulrich Drepper <drepper@gmail.com>
51848
16292edd
UD
51849 * string/test-string.h (IMPL): Use __STRING to expand name and then
51850 stringify it.
51851
cb7e923b
UD
51852 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
51853 of cleanups.
51854
cff82933
LD
518552011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51856
51857 * string/Makefile: Update.
51858 (strop-tests): Append strncat.
51859 * string/test-wcscmp.c: New file.
51860 New comprehensive test for wcscmp.
51861 * string/test-strcmp.c: Update.
51862 (WIDE): New define.
51863
9be9bfcc
AS
518642011-07-22 Andreas Schwab <schwab@redhat.com>
51865
51866 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
51867 line.
51868
2e96f1c7
AS
518692011-07-26 Andreas Schwab <schwab@redhat.com>
51870
51871 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
51872 encoding to ACE if AI_IDN.
51873
85188888
JJ
518742011-08-01 Jakub Jelinek <jakub@redhat.com>
51875
51876 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
51877 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
51878
5fa16e9b
LD
518792011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51880
51881 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
51882 Fix overflow bug in strncat.
51883 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
51884
51885 * string/test-strncat.c: Update.
51886 Add new tests for checking overflow bugs.
51887
518882011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51889
51890 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51891 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
51892 * sysdeps/i386/i686/multiarch/strcat.S: New file.
51893 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
51894 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
51895 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
51896 * sysdeps/i386/i686/multiarch/strncat.S: New file.
51897 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
51898 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
51899
51900 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
51901 (USE_AS_STRCAT): Define.
51902 Add strcat and strncat support.
51903 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
51904
8c1a459f
AS
519052011-07-25 Andreas Schwab <schwab@redhat.com>
51906
51907 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
51908 __n bigger than INT_MAX+1.
51909 (__strncmp_g): Likewise.
51910
bba33c28
UD
519112011-07-23 Ulrich Drepper <drepper@gmail.com>
51912
798be72d
UD
51913 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
51914 * libio/stido.h: Likewise.
51915
8accd4dc
UD
51916 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
51917 (AF_NFC): Define.
51918 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
51919 (AF_NFC): Define.
51920
cbff0d96
UD
51921 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
51922 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51923 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51924 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
51925 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51926
9191c04a
UD
51927 [BZ #13021]
51928 * scripts/test-installation.pl: Don't expect libnss_test1 to be
51929 installed.
51930
bba33c28
UD
51931 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
51932 typo.
51933 (_dl_x86_64_save_sse): Likewise.
51934
90f139dd
UD
519352011-07-22 Ulrich Drepper <drepper@gmail.com>
51936
1aae088a
UD
51937 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
51938 OSXSAVE.
51939 (_dl_x86_64_save_sse): Likewise.
51940
8e2045f5
UD
51941 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
51942
90f139dd
UD
51943 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
51944
1d002f25
AS
519452011-07-21 Andreas Schwab <schwab@redhat.com>
51946
51947 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
51948 change.
51949 (_dl_x86_64_save_sse): Use correct AVX check.
51950
21137f89
UD
519512011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51952
51953 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
51954 bug in strncpy/strncat.
51955 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
51956
a65c0b7a
UD
519572011-07-21 Ulrich Drepper <drepper@gmail.com>
51958
51959 * string/tester.c (test_strcat): Add tests for different alignments
51960 of source and destination.
51961 (test_strncat): Likewise.
51962
6986b98a
UD
519632011-07-20 Ulrich Drepper <drepper@gmail.com>
51964
90bb2039
UD
51965 [BZ #12852]
51966 * posix/glob.c (glob): Check passed in values before using them in
51967 expressions to avoid some overflows.
51968 (glob_in_dir): Likewise.
51969
5644ef54
UD
51970 [BZ #13007]
51971 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
51972 check for AVX enablement so that we don't crash with old kernels and
51973 new hardware.
51974 * elf/tst-audit4.c: Add same checks here.
51975 * elf/tst-audit6.c: Likewise.
51976
51977 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 51978
bfc9dc9b
AS
519792011-07-09 Andreas Schwab <schwab@linux-m68k.org>
51980
51981 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
51982
702e64bb
UD
519832011-07-20 Ulrich Drepper <drepper@gmail.com>
51984
51985 * po/cs.po: Update from translation team.
51986 * po/bg.po: Likewise.
51987
295e904f
MP
519882011-07-12 Marek Polacek <mpolacek@redhat.com>
51989
51990 * misc/sys/cdefs.h: Add support for const attribute.
51991 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
51992 to gnu_dev_{major,minor,makedev} functions.
51993
3ff94596
MP
519942011-07-20 Marek Polacek <mpolacek@redhat.com>
51995
51996 * intl/dcigettext.c (get_output_charset): Add missing bracket.
51997
28b59fca
AS
519982011-07-20 Andreas Schwab <schwab@redhat.com>
51999
52000 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
52001 strlen results.
52002
19df733e
AK
520032011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52004
52005 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
52006 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
52007 register in order to avoid conflicts with the soft frame pointer
52008 being held in r11 when necessary.
52009 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
52010 (INTERNAL_VSYSCALL_NCS): Likewise.
52011
c8835729
MP
520122011-07-14 Marek Polacek <mpolacek@redhat.com>
52013
52014 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
52015 * elf/dl-fini.c (_dl_fini): Adjust caller.
52016 * elf/dl-close.c (_dl_close_worker): Likewise.
52017 * sysdeps/generic/ldsodefs.h: Adjust declaration.
52018
b902330c
MP
520192011-07-15 Marek Polacek <mpolacek@redhat.com>
52020
8991e135
MP
52021 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
52022 "aux_cache->nlibs < 0".
52023
b902330c
MP
52024 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
52025 in the reload-count case.
52026
99710781
LD
520272011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52028
52029 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52030 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
52031 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
52032 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
52033 * sysdeps/x86_64/multiarch/strcat.S: New file.
52034 * sysdeps/x86_64/multiarch/strncat.S: New file.
52035 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
52036 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
52037 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
52038 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
52039 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
52040 (USE_AS_STRCAT): Define.
52041 Add strcat and strncat support.
52042 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52043 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
52044 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
52045 * string/strncat.c: Update.
52046 (USE_AS_STRNCAT): Define.
52047 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52048 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
52049 and i7.
52050 * sysdeps/x86_64/multiarch/init-arch.h
52051 (bit_Prefer_PMINUB_for_stringop): New.
52052 (index_Prefer_PMINUB_for_stringop): Likewise.
52053 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
52054 bit_Prefer_PMINUB_for_stringop.
52055
7dc6bd90
UD
520562011-07-19 Ulrich Drepper <drepper@gmail.com>
52057
52058 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
52059 buffer64.
52060 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
52061 of casting of buffer.
52062 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
52063 buffer32 and buffer64.
52064 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
52065 writes instead of casting of buffer.
52066 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
52067 buffer32.
52068 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
52069 casting of buffer.
52070
e0e72284
AS
520712011-07-19 Andreas Schwab <schwab@redhat.com>
52072
52073 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
52074
feb1eb0b
UD
520752011-07-19 Ulrich Drepper <drepper@gmail.com>
52076
52077 * nscd/nscd.c (termination_handler): Don't do anything for a database
52078 if it has not yet been initialized.
52079
298711ff
UD
520802011-07-18 Ulrich Drepper <drepper@gmail.com>
52081
52082 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
52083
520842011-07-15 Marek Polacek <mpolacek@redhat.com>
52085
52086 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
52087
f9d68389
UD
520882011-07-18 Ulrich Drepper <drepper@gmail.com>
52089
52090 * po/nl.po: Update from translation team.
52091 * po/sv.po: Likewise.
52092
db290cf5
RM
520932011-07-16 Roland McGrath <roland@hack.frob.com>
52094
52095 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
52096 now disallowed by GCC.
5c550700 52097
fd5e21c7
RM
52098 * configure.in (use-default-link): Default to yes if a test -shared
52099 link meets our qualifications.
52100 * configure: Regenerated.
52101
5c550700
RM
52102 * config.make.in (output-format): New variable.
52103 * configure.in: Check for ld --print-output-format support.
52104 * configure: Regenerated.
52105 * Makerules ($(common-objpfx)format.lds)
52106 [$(output-format) != unknown]: Just use $(output-format),
52107 instead of the linker-script munging.
52108
9fa2c032
RM
521092011-07-14 Roland McGrath <roland@hack.frob.com>
52110
a6928d51
RM
52111 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
52112 of $(common-objpfx)shlib.lds.
52113 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
52114
661607b3
RM
52115 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
52116 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
52117
9fa2c032
RM
52118 * configure.in (-z relro check): Adjust test code to add a large
52119 writable data section after it.
52120 * configure: Regenerated.
52121
defe9061
RM
521222011-07-11 Roland McGrath <roland@hack.frob.com>
52123
52124 * configure.in (-z relro check): Fix test code to make the variable
52125 truly const.
52126 * configure: Regenerated.
52127
319b9ad4
UD
521282011-07-11 Ulrich Drepper <drepper@gmail.com>
52129
52130 * nscd/nscd.h (struct traced_file): Define.
52131 (struct database_dyn): Remove inotify_descr, reset_res, and filename
52132 elements. Add traced_files.
52133 (inotify_fd): Declare.
52134 (register_traced_file): Declare.
52135 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
52136 (inotify_fd): Export.
52137 (resolv_conf_descr): Remove.
52138 (nscd_init): Move inotify descriptor creation to main.
52139 Don't register files for notification here.
52140 (register_traced_file): New function.
52141 (invalidate_cache): Don't use reset_res to determine whether to call
52142 res_init, go through the list of registered files.
52143 (main_loop_poll): The inotify descriptors are now stored in the
52144 structures for the traced files.
52145 (main_loop_epoll): Likewise
52146 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
52147 to __nss_disable_nscd.
52148 * nscd/cache.c (prune_cache): There is no single inotify descriptor
52149 for a database anymore. Check the records for all the registered
52150 files instead.
52151 * nss/Makefile (libnss_files-routines): Add files-init.
52152 (libnss_db-routines): Add db-init.
52153 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
52154 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
52155 * nss/nss_db/db-init.c: New file.
52156 * nss/nss_files/files-init.c: New file.
52157 * nss/nsswitch.c (nss_load_library): New function. Broken out of
52158 __nss_lookup_function.
52159 (__nss_lookup_function): Call nss_load_library.
52160 (nss_load_all_libraries): New function.
52161 (__nss_disable_nscd): Take parameter with callback function for files
52162 to register. Set is_nscd. Load all the DSOs for the NSS modules
52163 used for the cached services.
52164 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
52165 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
52166 options for features to all the files in nscd.
52167
52168 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
52169
23bee3e8
RM
521702011-07-10 Roland McGrath <roland@hack.frob.com>
52171
52172 * csu/elf-init.c (__libc_csu_init): Comment typo.
52173
46a5b7f0
UD
521742011-07-09 Ulrich Drepper <drepper@gmail.com>
52175
52176 * po/pl.po: Update from translation team.
52177 * po/ja.po: Likewise.
52178 * po/ru.po: Likewise.
52179 * po/ko.po: Likewise.
52180 * po/fr.po: Likewise.
52181
d30cf5bb
RM
521822011-07-09 Roland McGrath <roland@hack.frob.com>
52183
113ddea4
RM
52184 * configure.in (.ctors/.dtors header and trailer check):
52185 Use an empirical test on a built program.
52186 * configure: Regenerated.
52187
574920b4
RM
52188 * configure.in (-z relro check): Use an empirical test on a built DSO.
52189 Detect, but do not require, on ia64.
52190 * configure: Regenerated.
52191
d30cf5bb
RM
52192 * configure.in (READELF): Find it with AC_CHECK_TOOL.
52193 Update tests that use readelf to use $READELF instead.
52194 * configure: Regenerated.
52195
8538fdb3
UD
521962011-07-08 Ulrich Drepper <drepper@gmail.com>
52197
52198 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
52199 if the result is not used.
52200
04d08991
AJ
522012011-07-05 Andreas Jaeger <aj@suse.de>
52202
52203 [BZ#9696]
52204 * stdlib/tst-strtod.c: Add testcase.
52205
de283087
AD
522062011-07-07 Ulrich Drepper <drepper@gmail.com>
52207
4e5f31c8 52208 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 52209 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
52210 The latter has a higher limit. Take additional parameter to pass to
52211 the new function.
52212 (__pathconf): Pass file to __statfs_link_max.
52213 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
52214 __statfs_link_max.
52215 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
52216 __statfs_link_max.
52217
de283087
AD
52218 [BZ #12868]
52219 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
52220 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52221 Handle Lustre.
52222 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
52223 (__statfs_filesize_max): Likewise.
52224 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
52225
c75fa153
AJ
522262011-07-05 Andreas Jaeger <aj@suse.de>
52227
52228 * resolv/res_comp.c (dn_skipname): Remove unused variable.
52229
1a544854
UD
522302011-07-06 Marek Polacek <mpolacek@redhat.com>
52231
52232 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
52233 `status' variable.
52234 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
52235 Likewise.
52236
6f0eec67
UD
522372011-07-04 H.J. Lu <hongjiu.lu@intel.com>
52238
52239 * Makefile (strop-tests): Add strncat.
52240 * string/test-strncat.c: New file.
52241
aae30307
UD
522422011-06-30 Marek Polacek <mpolacek@redhat.com>
52243
52244 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
52245
c0cfb5eb
UD
522462011-06-21 Andreas Jaeger <aj@suse.de>
52247
52248 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
52249 Copy rule from iconvdata/Makefile.
52250
01636b21
UD
522512011-07-06 Ulrich Drepper <drepper@gmail.com>
52252
52253 [BZ #12922]
52254 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
52255 but no long options are defined, just return 'W'.
52256
9895c8bc
UD
522572011-06-22 Marek Polacek <mpolacek@redhat.com>
52258
52259 [BZ #9696]
52260 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
52261
5d4cf042
UD
522622011-07-06 Ulrich Drepper <drepper@gmail.com>
52263
52264 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
52265 netgroups to read.
960e5535 52266 (innetgr): Likewise.
5d4cf042 52267
751eb97e
RM
522682011-07-05 Roland McGrath <roland@hack.frob.com>
52269
52270 * config.make.in (install_root): Default to $(DESTDIR).
52271
f15f1e45
UD
522722011-07-05 Ulrich Drepper <drepper@gmail.com>
52273
52274 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
52275
4e34ac6a
RM
522762011-07-02 Roland McGrath <roland@hack.frob.com>
52277
5e9b6af4
RM
52278 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
52279
84f9ea0f
RM
52280 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
52281 containing directory rather than embedding absolute directory names.
52282
ea5ee9f7
RM
52283 * scripts/check-local-headers.sh: Rewritten using awk.
52284 Match by word, not by line. Print error messages for matches.
52285 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
52286
1b74661a
RM
52287 * Makerules [shlib-lds-flags empty]:
52288 ($(common-objpfx)libc_pic.opts): New target.
52289 ($(common-objpfx)libc_pic.os.clean): New target.
52290 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
52291
52292 * config.make.in (OBJCOPY): New variable.
52293 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
52294 * configure: Regenerated.
52295
f781ef40
RM
52296 * config.make.in (use-default-link): New variable.
52297 * configure.in (use_default_link): Grok --with-default-link to set it.
52298 * configure: Regenerated.
52299 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
52300 (shlib-lds, shlib-lds-flags): Define to empty.
52301
2d4fa81e
RM
52302 * Makerules (shlib-lds): New variable.
52303 (shlib-lds-flags): New variable.
52304 (build-shlib, build-moduile, build-module-asneeded): Use it.
52305 ($(common-objpfx)libc.so): Use $(shlib-lds).
52306 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
52307 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
52308
31fffa6b
RM
52309 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
52310 DT_FLAGS/DT_FLAGS_1 with zero flags.
52311
4e34ac6a
RM
52312 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
52313 linker script munging.
52314
fcfc776b
UD
523152011-07-02 Ulrich Drepper <drepper@gmail.com>
52316
52317 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
52318 as 128-bit value.
52319 * crypt/sha512.c (sha512_process_block): Perform total addition using
52320 128-bit if possible.
52321 (__sha512_finish_ctx): Likewise.
52322 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
52323 as 64-bit value.
52324 * crypt/sha256.c (SWAP64): Define.
52325 (sha256_process_block): Perform total addition using 64-bit if
52326 possible.
52327 (__sha256_finish_ctx): Likewise.
52328
99231d9a
UD
523292011-07-01 Ulrich Drepper <drepper@gmail.com>
52330
52331 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
52332 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52333 * nscd/hstcache.c (cache_addhst): Likewise.
52334 * nscd/grpcache.c (cache_addgr): Likewise.
52335 * nscd/aicache.c (addhstaiX): Likewise
52336 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
52337
445b4a53
TK
523382011-07-01 Thorsten Kukuk <kukuk@suse.de>
52339
52340 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
52341 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52342 * nscd/hstcache.c (cache_addhst): Likewise.
52343 * nscd/grpcache.c (cache_addgr): Likewise.
52344 * nscd/aicache.c (addhstaiX): Likewise
52345
6d4d8e8e
AS
523462011-07-01 Andreas Schwab <schwab@redhat.com>
52347
52348 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
52349 domain only when needed.
52350
89f654c5
AS
523512011-06-30 Andreas Schwab <schwab@redhat.com>
52352
52353 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
52354 is always restored.
52355
cf3b23ff
UD
523562011-06-29 Ulrich Drepper <drepper@gmail.com>
52357
52358 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
52359 are re-adding the entry.
52360 * nscd/servicescache.c (cache_addserv): Likewise.
52361
751626f9
AJ
523622011-06-30 Aurelien Jarno <aurelien@aurel32.net>
52363
52364 * sysdeps/generic/dl-irel.h: fix protection against multiple
52365 inclusions.
52366 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
52367
9113ea1f
UD
523682011-06-28 Ulrich Drepper <drepper@gmail.com>
52369
5c0b8d90
UD
52370 [BZ #12935]
52371 * malloc/memusage.sh: Fix quoting in message.
52372 * debug/xtrace.sh: Likewise.
52373
9113ea1f
UD
52374 * configure.in: Remove support for --experimental-malloc option, make
52375 it the default.
52376 * config.make.in: Likewise.
52377 * malloc/Makefile: Likewise.
52378
a4172181
AS
523792011-06-27 Andreas Schwab <schwab@redhat.com>
52380
52381 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
52382 two-byte characters.
52383
78a7eee7
RM
523842011-06-27 Roland McGrath <roland@hack.frob.com>
52385
62bede13
RM
52386 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
52387 AC_CACHE_CHECK invocation.
52388 * configure: Regenerated.
52389
78a7eee7
RM
52390 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
52391
5ce33a62
UD
523922011-06-27 Ulrich Drepper <drepper@gmail.com>
52393
034807a9
UD
52394 [BZ #12350]
52395 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
52396 bit from old_res_options.
52397
4902da17
UD
52398 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
52399
5ce33a62
UD
52400 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
52401 value type for setfct.
52402
c2344f56
L
524032011-06-23 H.J. Lu <hongjiu.lu@intel.com>
52404
52405 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
52406 __gettimeofday instead of gettimeofday.
52407
68468076
UD
524082011-06-26 Ulrich Drepper <drepper@gmail.com>
52409
52410 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
52411
acb0d739
L
524122011-06-24 H.J. Lu <hongjiu.lu@intel.com>
52413
52414 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
52415
52416 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
52417 info.
52418
8912479f
L
524192011-06-22 H.J. Lu <hongjiu.lu@intel.com>
52420
52421 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52422 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
52423 strcpy-sse2-unaligned strncpy-sse2-unaligned
52424 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
52425 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
52426 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
52427 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
52428 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
52429 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
52430 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
52431 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
52432 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
52433 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
52434 (STRCPY): Support SSE2 and SSSE3 versions.
52435
d5495a11
UD
524362011-06-24 Ulrich Drepper <drepper@gmail.com>
52437
52438 [BZ #12874]
52439 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
52440 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
52441 kernels which artificially limit size of requests.
52442
0b1cbaae
L
524432011-06-22 H.J. Lu <hongjiu.lu@intel.com>
52444
52445 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52446 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
52447 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
52448 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
52449 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
52450 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
52451 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
52452 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
52453 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
52454 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
52455 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
52456 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
52457 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
52458 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
52459 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
52460 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52461 Enable unaligned load optimization for Intel Core i3, i5 and i7
52462 processors.
52463 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
52464 Define.
52465 (index_Fast_Unaligned_Load): Define.
52466 (HAS_FAST_UNALIGNED_LOAD): Define.
52467
07f494a0
MP
524682011-06-23 Marek Polacek <mpolacek@redhat.com>
52469
52470 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
52471
fa3fc0fe
UD
524722011-06-22 Ulrich Drepper <drepper@gmail.com>
52473
52474 [BZ #12907]
52475 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
52476 until it is clear that the information is realy needed.
52477 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
52478
e12df166
AS
524792011-06-22 Andreas Schwab <schwab@redhat.com>
52480
52481 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
52482
852eb34d
UD
524832011-06-22 Ulrich Drepper <drepper@gmail.com>
52484
84e2a551
UD
52485 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
52486 /sys/devices/system/cpu/online if it is usable.
52487
852eb34d
UD
52488 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
52489 reading the information from the /proc filesystem to once a second.
52490
6e502e19
UD
524912011-06-21 Andreas Jaeger <aj@suse.de>
52492
52493 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
52494 NULL after inclusion of kernel headers.
52495
75d39ff2
UD
524962011-06-21 Ulrich Drepper <drepper@gmail.com>
52497
51f9aa6a
UD
52498 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
52499 calls to internal_setent.
52500
c0244a9d
UD
52501 [BZ #12885]
52502 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
52503 addresses using gethostbyname4_r ignore IPv4 addresses.
52504
c5e3c2ae
UD
52505 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
52506 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
52507
75d39ff2
UD
52508 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
52509
42675c6f
DM
525102011-06-20 David S. Miller <davem@davemloft.net>
52511
52512 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
52513 inclusions.
52514 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
52515
52516 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
52517 (elf_irel): Use it.
52518 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
52519 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
52520 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
52521 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
52522 * sysdeps/x86_64/dl-irel.h: Likewise.
52523
52524 * elf/dl-runtime.c: Use elf_ifunc_invoke.
52525 * elf/dl-sym.c: Likewise.
52526
57912a71
UD
525272011-06-15 Ulrich Drepper <drepper@gmail.com>
52528
52529 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
52530 need to dereference resplen2.
52531
ee22793d
AS
525322011-06-14 Andreas Schwab <schwab@redhat.com>
52533
52534 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
52535
a9e836b0
UD
525362011-06-15 Ulrich Drepper <drepper@gmail.com>
52537
77fb9117
UD
52538 * Makeconfig: Define vardbdir and inst_vardbdir.
52539 * nss/Makefile: Add rules to install db-Makefile.
52540
40c1b22c
UD
52541 * nss/nss_db/db-XXX.c: Cleanup.
52542
9f2da732
UD
52543 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
52544 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
52545 GLIBC_PRIVATE.
52546 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
52547 * nss/makedb.c: Implement -g option to specify that value strings
52548 are generated and should not be added to table iterated over for
52549 get*ent calls.
52550 * nss/nss_db/db-initgroups.c: New file.
52551
82e9a1f7
UD
52552 * nss/getent.c: Add support for initgroups lookups through getgrouplist
52553 interface.
52554
c41af17e
UD
52555 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
52556 (internal_getgrouplist): Adjust to name change.
52557 Update use_initgroups_entry if this is not the first call.
52558 * nss/databases.def: Add initgroups entry.
52559
a9e836b0
UD
52560 * nss/makedb.c (compute_tables): Check result of multiple hash table
52561 sizes to minimize maximum chain length.
52562
2666d441
UD
525632011-06-14 Ulrich Drepper <drepper@gmail.com>
52564
52565 * Versions.def: Add entry for libnss_db.
52566 * shlib-versions: Likewise.
52567 * nss/Makefile: Add rules to build libnss_db.
52568 * nss/Versions: Add libnss_db information. Organize libnss_files
52569 entries better.
52570 * nss/db-Makefile: Add gshadow support. Change rules for the new
52571 makedb progra. Some minor improvements to generate smaller files.
52572 * nss/nss_db/nss_db.h: Move NSS database header data structures to
52573 here from...
52574 * nss/makedb.c: ...here.
52575 Improve database format to be smaller and require less memory at
52576 runtime.
52577 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
52578 db anymore.
52579 * nss/nss_db/db-netgrp.c: Likewise.
52580 * nss/nss_db/db-open.c: Likewise.
52581 * nss/nss_files/flies-XXX.x: Adjust comments.
52582 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
52583 * nss/nss_files/files-grp.c: Likewise.
52584 * nss/nss_files/files-hosts.c: Likewise.
52585 * nss/nss_files/files-network.c: Likewise.
52586 * nss/nss_files/files-proto.c: Likewise.
52587 * nss/nss_files/files-pwd.c: Likewise.
52588 * nss/nss_files/files-rpc.c: Likewise.
52589 * nss/nss_files/files-service.c: Likewise.
52590 * nss/nss_files/files-sgrp.c: Likewise.
52591 * nss/nss_files/files-spwd.c: Likewise.
52592 * nss/nss_db/db-alias.c: Removed.
52593 * nss/nss_db/dummy-db.h: Removed.
52594
9ee76b5a
UD
525952011-06-02 Ulrich Drepper <drepper@gmail.com>
52596
52597 * nss/makedb.c: Rewritten to not use database library.
52598 * nss/Makefile: Update to build new makedb program.
52599
c71ca1f8
AJ
526002011-06-14 Andreas Jaeger <aj@suse.de>
52601
52602 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
52603 memset declaration.
52604
3154bfb8
UD
526052011-06-10 Andreas Schwab <schwab@redhat.com>
52606
52607 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
52608 tmpbuf.
52609
b350afab
RM
526102011-06-10 Roland McGrath <roland@hack.frob.com>
52611
decd4e50
RM
52612 * Makerules (shlib.lds): Fail if the linker script comes out empty.
52613 * elf/Makefile ($(objpfx)ld.so): Likewise.
52614
5615eaf2
RM
52615 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
52616 Don't list ld.so twice in dependencies.
52617
52618 * posix/bug-regex31.c: Include <stdlib.h>.
52619
52620 * nscd/hstcache.c (cache_addhst): Remove unused variable.
52621
52622 * nis/nss_compat/compat-spwd.c
52623 (getspent_next_nss_netgr): Remove unused variable.
52624 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
52625
52626 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
52627 nonmembers" output to use the right array.
52628
52629 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
52630
52631 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
52632
52633 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
52634 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
52635 * catgets/gencat.c (read_input_file): Likewise.
52636 * locale/programs/locarchive.c (enlarge_archive): Likewise.
52637
52638 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
52639 variable definition inside #if's controlling its use.
52640
52641 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
52642
52643 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
52644
52645 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
52646
52647 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
52648 unreachable code.
52649
52650 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
52651
b68e08db
RM
52652 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
52653 * configure: Regenerated.
52654
b350afab
RM
52655 * Makerules: Revert last change.
52656 * elf/Makefile: Likewise.
52657
28368601
RM
526582011-06-09 Roland McGrath <roland@hack.frob.com>
52659
52660 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
52661 * elf/Makefile ($(objpfx)librtld.os): Likewise.
52662 (reloc-link): Likewise.
52663
11988f8f
UD
526642011-06-09 Ulrich Drepper <drepper@gmail.com>
52665
52666 * elf/Makefile: Add rules to build pldd.
52667 * elf/pldd.c: New file.
52668 * elf/pldd-xx.c: New file.
52669
e80fab37
UD
526702011-06-07 Ulrich Drepper <drepper@gmail.com>
52671
52672 * version.h: Update for 2.15 development version.
52673
9b849836
DM
526742011-06-07 David S. Miller <davem@davemloft.net>
52675
52676 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
52677 ifuncs.
52678 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
52679 elf_machine_lazy_rel): Likewise.
52680 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
52681 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
52682 elf_machine_lazy_rel): Likewise.
52683 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
52684 dl_hwcap via passed in argument.
52685 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
52686 Likewise.
52687
5a31b283
AK
526882011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52689
52690 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
52691
069e52f8
RM
526922011-06-06 Roland McGrath <roland@hack.frob.com>
52693
52694 [BZ #12849]
52695 * manual/fdl-1.1.texi: New file, verbatim from:
52696 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
52697 * manual/lgpl-2.1.texi: New file, verbatim from:
52698 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
52699 * manual/Makefile (licenses): New variable, list those new file names.
52700 (texis): Use it.
52701 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
52702
52703 * manual/fdl.texi: File removed.
52704 * manual/lesser.texi: File removed.
52705 * manual/libc.texinfo (Copying, Documentation License):
52706 Use new @include file names, put @appendix directive before @include.
52707
f16846a5
JJ
527082011-06-04 Jakub Jelinek <jakub@redhat.com>
52709
52710 [BZ #12841]
52711 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
52712 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
52713 (mq_open): Add __NTH.
52714
3d29045b
L
527152011-06-02 H.J. Lu <hongjiu.lu@intel.com>
52716
52717 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52718 Assume Intel Core i3/i5/i7 processor if AVX is available.
52719
8c297311
UD
527202011-05-31 Ulrich Drepper <drepper@gmail.com>
52721
52722 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
52723 typo.
52724
c8fc0c91
UD
527252011-05-31 Andreas Schwab <schwab@redhat.com>
52726
52727 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
52728 memory. Use alloca_account. Fix memory leak when retrying.
52729
5b27a807
UD
527302011-05-31 Ulrich Drepper <drepper@gmail.com>
52731
356f8bc6
UD
52732 * version.h (RELEASE): Bump for 2.14 release.
52733 * include/features.h (__GLIBC_MINOR__): Bump to 14.
52734
5b27a807
UD
52735 * config.make.in (RANLIB): Remove entry.
52736
01f16ab0
UD
527372011-05-30 Ulrich Drepper <drepper@gmail.com>
52738
41fce8bd
UD
52739 * po/Makefile (po-sed-cmd): Add ksh to extensions.
52740 (libc.pot): Work around missing support for .ksh extension in xgettext.
52741
4769ae77
UD
52742 [BZ #12684]
52743 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
52744 if both request failed.
52745 (send_dg): In case of server errors clear resplen or *resplen2.
52746
6b1e7d19
UD
52747 [BZ #12454]
52748 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
52749 when there are multiple maps.
52750 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
52751 (_dl_fini): Remove test here.
52752
01f16ab0
UD
52753 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
52754
b1ebd700
UD
527552011-05-29 Ulrich Drepper <drepper@gmail.com>
52756
7ae22829
UD
52757 [BZ #12350]
52758 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
52759 bit from old_res_options.
52760 (gaih_inet): Likewise.
52761
553149f6 52762 [BZ #11099]
18a84741 52763 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
52764 as signed.
52765
652ffab1
UD
52766 * resolv/res_init.c (res_setoptions): Make the code more compact.
52767
16985fd0
UD
52768 [BZ #11558]
52769 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
52770 set RES_USEVC.
52771
0464f746
UD
52772 [BZ #11634]
52773 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
52774
7d17596c
UD
52775 * malloc/malloc.h: Mark malloc hook variables as deprecated.
52776
cf6bbbd7
UD
52777 [BZ #11781]
52778 * malloc/malloc.h: Declare malloc hook variables as volatile.
52779
13f1ab36
UD
52780 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
52781 in last patch.
52782
b1ebd700
UD
52783 [BZ #11799]
52784 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 52785 raise in the comment.
80e2212d
UD
52786 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
52787 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
52788 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 52789
ce67228d
UD
527902011-05-28 Ulrich Drepper <drepper@gmail.com>
52791
8887a920
UD
52792 [BZ #12811]
52793 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
52794 grow the buffers more if it already has to be sufficient.
52795 (build_wcs_upper_buffer): Likewise.
52796 * posix/regexec.c (check_matching): Likewise.
52797 (clean_state_log_if_needed): Likewise.
52798 (extend_buffers): Don't enlarge buffers beyond size of the input
52799 buffer.
52800 Patches mostly by Emil Wojak <emil@wojak.eu>.
52801 * posix/bug-regex32.c: New file.
52802 * posix/Makefile (tests): Add bug-regex32.
52803
4f031072
UD
52804 * locale/findlocale.c (_nl_find_locale): Return right away if
52805 _nl_explode_name failed.
52806 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
52807
d0478f0c
UD
52808 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
52809
de81b246
UD
52810 * debug/xtrace.sh: Unify messages.
52811 * malloc/memusage.sh: Likewise.
52812
c738465a
UD
52813 [BZ #12813]
52814 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
52815 time symbol from vDSO. Substitute with vsyscall if not available.
52816 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
52817 __vdso_time.
52818
f1f929d7
UD
52819 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
52820 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
52821 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
52822 Add sendmmsg and internal_sendmmsg.
52823 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
52824 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
52825 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
52826
ce67228d
UD
52827 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
52828 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
52829 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
52830
e57420c6
UD
528312011-05-27 Ulrich Drepper <drepper@gmail.com>
52832
a8509ca5
UD
52833 [BZ #12813]
52834 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
52835 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
52836 available.
52837 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
52838 __vdso_getcpu.
52839
e57420c6
UD
52840 [BZ #12814]
52841 * iconvdata/Makefile (tests): Add bug-iconv9.
52842 * iconvdata/bug-iconv9.c: New file.
52843
4d07db15
AS
528442011-05-27 Andreas Schwab <schwab@redhat.com>
52845
52846 [BZ #12814]
52847 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
52848
ea486f69
JJ
528492011-05-25 Jakub Jelinek <jakub@redhat.com>
52850
52851 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
52852 (struct user_regs_struct): Change intcs field back to cs.
52853
6f038433
UD
528542011-05-25 Ulrich Drepper <drepper@gmail.com>
52855
52856 * po/ja.po: Update from translation team.
52857
67f86a25
UD
528582011-05-23 Ulrich Drepper <drepper@gmail.com>
52859
52860 [BZ #12795]
52861 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
52862 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
52863
def7fbd6
AS
528642011-05-20 Andreas Schwab <schwab@redhat.com>
52865
52866 * stdlib/longlong.h: Update from GCC.
52867
f50ef8f1
AS
528682011-05-23 Andreas Schwab <schwab@redhat.com>
52869
52870 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
52871 parameter name.
52872 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
52873 Add parameter name.
52874 (__sysconf): Pass it down.
52875
de7ce8f1
UD
528762011-05-22 Ulrich Drepper <drepper@gmail.com>
52877
f2962a71
UD
52878 [BZ #12671]
52879 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
52880 some situations.
52881 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
52882 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
52883 add in in __libc_use_alloca calls. Adjust callers.
52884 (glob): Use malloc in some situations.
52885
de7ce8f1
UD
52886 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
52887 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
52888 pltexit.
52889
aec84f53
UD
528902011-05-21 Ulrich Drepper <drepper@gmail.com>
52891
05bb4a68
UD
52892 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
52893 and CLOCK_BOOTTIME_ALARM.
52894
7ea72f99
UD
52895 [BZ #12782]
52896 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
52897 is returned.
52898
7e4afad5
UD
52899 * string/_strerror.c (__strerror_r): Print negative errors as signed
52900 numbers.
52901
8e211fec
UD
52902 [BZ #12777]
52903 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
52904 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
52905 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
52906
f7d82dc9
UD
52907 * configure.in: Fix typo in redirection and correct removal of test
52908 files in two cases.
52909
cc9e536d
UD
52910 [BZ #12788]
52911 * locale/setlocale.c (new_composite_name): Fix test to check for
52912 identical name of all categories.
52913
aec84f53
UD
52914 [BZ #12792]
52915 * libio/filedoalloc.c (local_isatty): New function.
52916 (_IO_file_doallocate): Use local_isatty.
52917 * stdio-common/perror.c (perror): In case a new stream is used
52918 forward the stream error.
52919 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
52920 error flag.
52921
78e64fdc
RT
529222011-05-20 Ulrich Drepper <drepper@gmail.com>
52923
34a9094f
UD
52924 [BZ #11869]
52925 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
52926 alloca.
52927 * include/alloca.h (extend_alloca_account): Define.
52928
78e64fdc
RT
52929 [BZ #11857]
52930 * posix/regex.h: Fix comments with documentation of user-accessible
52931 fields after compilation and describe correct free'ing of pattern
52932 after re_compile_pattern.
52933 Patch by Reuben Thomas <rrt@sc3d.org>.
52934
457bddfc
RA
529352011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
52936
52937 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
52938 and -mno-altivec to prevent the compiler from using Altivec and/or
52939 VSX instructions when the corresponding registers are not available.
52940
a4527b51
AS
529412011-05-19 Andreas Schwab <schwab@redhat.com>
52942
52943 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
52944
ed690b2f
UD
529452011-05-19 Ulrich Drepper <drepper@gmail.com>
52946
52947 * libio/freopen.c (freopen): Use __dup2, not dup2.
52948 * libio/freopen64.c (freopen64): Likewise.
52949
8db73634
L
529502011-05-17 H.J. Lu <hongjiu.lu@intel.com>
52951
52952 [BZ #12775]
52953 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
52954 * math/Makefile (tests): Add test-powl.
52955 (CFLAGS-test-powl.c): Define.
52956 * math/test-powl.c: New file.
52957
0a197a9d
L
529582011-05-16 H.J. Lu <hongjiu.lu@intel.com>
52959
52960 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
52961
ee30c380
UD
529622011-05-17 Ulrich Drepper <drepper@gmail.com>
52963
52964 [BZ #11837]
52965 * iconvdata/gb18030.c: Update to GB18020-2005.
52966
6ce75379
UD
529672011-05-16 Ulrich Drepper <drepper@gmail.com>
52968
a4b89fd8
AR
52969 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
52970 RE_SYNTAX_POSIX_AWK): Update to match recent development.
52971 Patch by Aharon Robbins <arnold@skeeve.com>.
52972
ea389b12
UD
52973 [BZ #11892]
52974 * stdlib/putenv.c (putenv): Don't always create copy of the variable
52975 on the stack.
52976
68a3f91f
UD
52977 [BZ #11895]
52978 * misc/pselect.c (__pselect): Handle timeout value errors hidden
52979 through underflows.
52980
15cc7dd1
UD
52981 [BZ #12766]
52982 * misc/error.c (error_at_line): Ensure file_name and old_file_name
52983 point to strings before performing equality test for error_one_per_line
52984 mode.
52985
f3799213
UD
52986 [BZ #11697]
52987 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
52988
d79a9c94
UD
52989 [BZ #11820]
52990 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
52991 (struct user_fpregs_struct): Avoid __uint*_t types.
52992
56e5eb46
UD
52993 [BZ #6420]
52994 * malloc/mtrace.c (tr_where): Add additional parameter to point to
52995 symbol info. Use it instead of calling _dl_addr locally.
52996 (lock_and_info): New function.
52997 (tr_freehook): Call lock_and_info and pass symbol info as additional
52998 parameter to tr_where.
52999 (tr_mallochook): Likewise.
53000 (tr_reallochook): Likewise.
53001 (tr_memalignhook): Likewise.
53002
6ce75379
UD
53003 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
53004 used and couldn't be at all thread-safe.
53005
f8a3b5bf
UD
530062011-05-15 Ulrich Drepper <drepper@gmail.com>
53007
94b7cc37
UD
53008 * libio/freopen.c (freopen): Don't close old file descriptor
53009 before the new one is opened. Instead dup the new file descriptor
53010 to the old one after the new stream is created.
53011 * libio/freopen64.c (freopen64): Likewise.
53012 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
53013 * libio/fileops.c (_IO_new_file_close_it): Handle new
53014 _IO_FLAGS2_NOCLOSE flag.
53015 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
53016 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
53017 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
53018 _IO_FLAGS2_NOCLOSE flag.
53019 * include/unistd.h: Add hidden_proto for dup3.
53020 Define __have_dup3.
53021 * io/dup3.c: Define hidden symbol.
53022 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
53023
bd25564e
UD
53024 [BZ #7101]
53025 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
53026 when an incomplete long option is used.
53027 * posix/tst-getopt_long1.c: New file.
53028 * posix/Makefile (tests): Add tst-getopt_long1.
53029
c84cfef4
UD
53030 [BZ #10138]
53031 * scripts/config.guess: Update from autoconf-2.68.
53032 * scripts/config.sub: Likewise.
53033
3b85df27
UD
53034 [BZ #10157]
53035 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
53036 tests into ...
53037 (has_cpuclock): ...this. New function.
53038 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
53039 macro here based on has_cpuclock code.
53040
15a856b1
UD
53041 [BZ #10149]
53042 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53043 First byte (not low byte) is now always NUL.
53044 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
53045
05f399e6
UD
53046 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53047 Use non-cancelable interfaces.
53048
10a52685 53049 [BZ #9809]
94ecc67d
UD
53050 * locale/iso-639.def: Add entry for Sorani.
53051
f8a3b5bf
UD
53052 [BZ #11901]
53053 * include/stdlib.h: Move include protection to the right place.
53054 Define abort_msg_s. Declare __abort_msg with it.
53055 * stdlib/abort.c (__abort_msg): Adjust type.
53056 * assert/assert.c (__assert_fail_base): New function. Majority
53057 of code from __assert_fail. Allocate memory for __abort_msg with
53058 mmap.
53059 (__assert_fail): Now call __assert_fail_base.
53060 * assert/assert-perr.c: Remove bulk of implementation. Use
53061 __assert_fail_base.
53062 * include/assert.hL Declare __assert_fail_base.
53063 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
53064 mmap.
53065 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
53066
1af4e298
UD
530672011-05-14 Ulrich Drepper <drepper@gmail.com>
53068
f8a3b5bf 53069 [BZ #11952]
d26dfc60
MG
53070 [BZ #12453]
53071 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
53072 until all modules are registered in the DTV.
53073 * elf/Makefile: Add rules to build and run tst-tls19.
53074 * elf/tst-tls19.c: New file.
53075 * elf/tst-tls19mod1.c: New file.
53076 * elf/tst-tls19mod2.c: New file.
53077 * elf/tst-tls19mod3.c: New file.
53078 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
53079
2fc54d6f
UD
53080 [BZ #12083]
53081 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
53082 correctly.
53083
98d76b46
UD
53084 [BZ #12601]
53085 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
53086 two-byte sequence errors.
53087 * iconvdata/Makefile (tests): Add bug-iconv8.
53088 * iconvdata/bug-iconv8.c: New file.
53089
da3c19ef
UD
53090 [BZ #12626]
53091 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
53092 buf2 definition.
53093
ca408c15
UD
53094 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
53095
d6f67f7d
UD
53096 [BZ #12432]
53097 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
53098 (dummy_getcfa): New function.
53099 (init): Get _Unwind_GetCFA address, use dummy if not found.
53100 (backtrace_helper): In recursion check, also check whether CFA changes.
53101 (__backtrace): Completely initialize arg.
53102
1af4e298 53103 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
53104 storing incomplete byte sequence in state object. Avoid testing for
53105 guaranteed too small input if we know there is enough data available.
1af4e298 53106
da62f81b
AS
531072011-05-11 Andreas Schwab <schwab@redhat.com>
53108
53109 * Makeconfig (+link-pie): Indent.
53110 * Rules (binaries-pie): Define if $(have-fpie) and
53111 $(build-shared).
53112 (binaries-shared): Also filter out $(binaries-pie).
53113 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
53114 * nscd/Makefile (others-pie): Add nscd.
53115 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
53116 ($(objpfx)nscd): Remove command override.
53117 * login/Makefile (others-pie): Add pt_chown.
53118 ($(objpfx)pt_chown): Remove command override.
53119 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
53120 remove command overrides.
53121
fcabc0f8
UD
531222011-05-13 Ulrich Drepper <drepper@gmail.com>
53123
20030ae6
UD
53124 * libio/tst_putwc.c: Fix error messages.
53125
fcabc0f8
UD
53126 [BZ #12724]
53127 * libio/fileops.c (_IO_new_file_close_it): Always flush when
53128 currently writing and seek to current position when not.
53129 * libio/Makefile (tests): Add bug-fclose1.
53130 * libio/bug-fclose1.c: New file.
53131
320a5dc0
PB
531322011-05-12 Ulrich Drepper <drepper@gmail.com>
53133
53134 [BZ #12511]
53135 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
53136 don't set DF_1_NODELETE here.
53137 (do_lookup_x): When entering new entry test for copy relocation
53138 and if necessary set DF_1_NODELETE flag.
53139 * elf/tst-unique4.cc: New file.
53140 * elf/tst-unique4.h: New file.
53141 * elf/tst-unique4lib.cc: New file.
53142 * elf/Makefile: Add rules to build and run tst-unique4.
53143 Patch by Piotr Bury <pbury@goahead.com>.
53144
22836f52
UD
531452011-05-11 Ulrich Drepper <drepper@gmail.com>
53146
f574184a
UD
53147 [BZ #12052]
53148 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
53149
e1fb097f
UD
53150 [BZ #12625]
53151 * misc/mntent_r.c (addmntent): Flush the stream after the output
53152
22836f52
UD
53153 [BZ #12393]
53154 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
53155 (is_trusted_path_normalize): Skip initial colon. Append slash
53156 to empty buffer. Duplicate is_trusted_path code but allow
53157 constructed patch to be prefix.
53158 (is_dst): Allow $ORIGIN followed by /.
53159 (_dl_dst_substitute): Correct clearing of check_for_trusted.
53160 Correct testing of result of is_trusted_path_normalize
53161 (decompose_rpath): Fix warning.
53162
7b3b0b2a
UD
531632011-05-10 Ulrich Drepper <drepper@gmail.com>
53164
53165 [BZ #11257]
53166 * grp/initgroups.c (internal_getgrouplist): When we found the service
53167 list through the initgroups entry in nsswitch.conf do not always
53168 continue on a successful lookup. Don't always use the
eac80ce2 53169 __nss_group_database value if it is set.
7b3b0b2a
UD
53170 * nss/nsswitch.conf (initgroups): Change action for successful db
53171 lookup to continue for compatibility.
53172
2a81eaa5
UD
531732011-05-09 Ulrich Drepper <drepper@gmail.com>
53174
be97a69e
UD
53175 [BZ #11532]
53176 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
53177 and CP774 modules.
53178 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
53179 and CP774 modules.
53180 * iconvdata/tst-tables.sh: Likewise.
53181 * iconvdata/cp770.c: New file.
53182 * iconvdata/cp771.c: New file.
53183 * iconvdata/cp772.c: New file.
53184 * iconvdata/cp773.c: New file.
53185 * iconvdata/cp774.c: New file.
53186 * iconvdata/testdata/CP770: New file.
53187 * iconvdata/testdata/CP770..UTF8: New file.
53188 * iconvdata/testdata/CP771: New file.
53189 * iconvdata/testdata/CP771..UTF8: New file.
53190 * iconvdata/testdata/CP772: New file.
53191 * iconvdata/testdata/CP772..UTF8: New file.
53192 * iconvdata/testdata/CP773: New file.
53193 * iconvdata/testdata/CP773..UTF8: New file.
53194 * iconvdata/testdata/CP774: New file.
53195 * iconvdata/testdata/CP774..UTF8: New file.
53196
53197 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
53198 END CHARMAP line.
53199 * iconvdata/gen-8bit-gap.sh: Likewise.
53200 * iconvdata/gen-8bit.sh: Likewise.
53201
c1e9e399
UD
53202 * locale/iso-639.def: Add ary entry.
53203
24c55fb3 53204 [BZ #11258]
96b4b1b0
UD
53205 * locale/C-translit.h.in: Add U20A1 transliteration.
53206
bdc2f971
KB
53207 [BZ #12178]
53208 * locale/iso-639.def: Add wae entry.
53209 Patch by Kevin Bortis <bortis@translate-wae.ch>.
53210
2952b117
UD
53211 [BZ #12545]
53212 * locale/programs/localedef.c (construct_output_path): Use ssize_t
53213 for n.
53214
2a81eaa5
UD
53215 [BZ #12711]
53216 * locale/C-translit.h.in: Add entry for U20B9.
53217 Patch by pravin.d.s@gmail.com.
53218
28377d1b
UD
532192011-05-08 Ulrich Drepper <drepper@gmail.com>
53220
7fb90fb8
UD
53221 [BZ #12713]
53222 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
53223 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
53224 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
53225 in rtld. Use *stat64.
7fb90fb8 53226 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 53227 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 53228 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
53229 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
53230 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
53231 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
53232 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
53233 __fstatat64 macros.
7fb90fb8
UD
53234 * include/dirent.h: Add libc_hidden_proto for rewinddir.
53235 * dirent/rewinddir.c: Add libc_hidden_def.
53236 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 53237 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 53238
28377d1b
UD
53239 * include/dirent.h (__alloc_dir): Add flags parameter.
53240 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
53241 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
53242 __alloc_dir.
53243 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
53244 from fdopendir if O_CLOEXEC is already set.
53245
66bdbaa4
AM
532462011-03-15 Alan Modra <amodra@gmail.com>
53247
53248 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
53249 l_tls_firstbyte_offset non-zero. Save padding offset in
53250 l_tls_firstbyte_offset for later use.
53251 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
53252 freeing static tls block.
53253
95721191
JN
532542011-03-05 Jonathan Nieder <jrnieder@gmail.com>
53255
53256 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
53257 where #ifdef was intended. The intent is to prevent ARG_MAX from
53258 being defined by the kernel headers.
53259
f87dfb1f
UD
532602011-05-07 Ulrich Drepper <drepper@gmail.com>
53261
53262 [BZ #12734]
53263 * resolv/resolv.h: Define RES_NOTLDQUERY.
53264 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
53265 no-tld-query and set RES_NOTLDQUERY.
53266 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
53267 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
53268 modern BIND to search name as TLD unless forbidden.
53269
47c3cd7a
UD
532702011-05-07 Petr Baudis <pasky@suse.cz>
53271 Ulrich Drepper <drepper@gmail.com>
53272
53273 [BZ #12393]
53274 * elf/dl-load.c (fillin_rpath): Move trusted path check...
53275 (is_trusted_path): ...to here.
c1e9ea35 53276 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 53277 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 53278 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 53279
8a35c912
PP
532802011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
53281
53282 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
53283 __BEGIN/__END_DECLS.
53284
acd41f47
UD
532852011-05-06 Ulrich Drepper <drepper@gmail.com>
53286
53287 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
53288 NSS_STATUS_NOTFOUND if no record was found.
53289
597df647
AS
532902011-05-05 Andreas Schwab <schwab@redhat.com>
53291
53292 * sunrpc/Makefile (headers): Add rpc/netdb.h.
53293 (headers-not-in-tirpc): Remove rpc/netdb.h
53294 * resolv/netdb.h: Revert last change.
53295
b9af1301
PP
532962011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
53297
53298 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
53299 circular dependency between libgcc.a and libc.a.
53300
4e34d5f5
AS
533012011-05-05 Andreas Schwab <schwab@redhat.com>
53302
53303 * resolv/netdb.h: Don't include <rpc/netdb.h>.
53304 * nis/Makefile: Don't install rpcsvc/*.
53305 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
53306 instead of <rpc/types.h>.
53307 (MAXHOSTNAMELEN): Define.
53308
00ee369c
AS
533092011-05-03 Andreas Schwab <schwab@redhat.com>
53310
53311 * elf/ldconfig.c (add_dir): Don't crash on empty path.
53312
0b592a30
MB
533132011-04-28 Maciej Babinski <mbabinski@google.com>
53314
53315 [BZ #12714]
53316 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
53317 gethostbyname4_r when IPv6 results are possible.
53318
6e04cbbe
UD
533192011-05-02 Ulrich Drepper <drepper@gmail.com>
53320
53321 [BZ #12723]
53322 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
53323 _PC_PIPE_BUF handling.
53324
e4ecafe0
BH
533252011-04-30 Bruno Haible <bruno@clisp.org>
53326
53327 [BZ #12717]
53328 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
53329 * resolv/netdb.h (getnameinfo): Change type of flags parameter
53330 to 'int'.
53331 * inet/getnameinfo.c (getnameinfo): Likewise.
53332
125ee683
UD
533332011-04-29 Ulrich Drepper <drepper@gmail.com>
53334
53335 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
53336 to groups setting in database lookup.
53337 * nss/nsswitch.conf: Add initgroups entry.
53338
b722481a
EB
533392011-04-22 Ulrich Drepper <drepper@gmail.com>
53340
53341 [BZ #12685]
53342 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
53343 mode string.
53344 Patch by Eric Blake <eblake@redhat.com>.
53345
4df46dbd
L
533462011-04-20 H.J. Lu <hongjiu.lu@intel.com>
53347
53348 * sunrpc/Makefile (need-export-routines): Add svc_run.
53349 (routines): Remove svc_run.
53350 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
53351 * sunrpc/clnt_perr.c (clnt_perrno): Export.
53352 * sunrpc/svc_run.c (svc_run): Likewise.
53353 * sunrpc/svc_udp.c (svcudp_create): Likewise.
53354
e84142d2
UD
533552011-04-21 Ulrich Drepper <drepper@gmail.com>
53356
53357 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
53358 problem in reallocation in last patch.
53359
877175d8
UD
533602011-04-20 Ulrich Drepper <drepper@gmail.com>
53361
53362 * sunrpc/Makefile: Move inclusion of Rules.
53363
ab8eed78
UD
533642011-04-19 Ulrich Drepper <drepper@gmail.com>
53365
53366 * nss/nss_files/files-initgroups.c: New file.
53367 * nss/Makefile (libnss_files-routines): Add files-initgroups.
53368 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
53369 _nss_files_initgroups_dyn.
53370
e3d8f584
RS
533712011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
53372
53373 * elf/elf.h (R_ARM_IRELATIVE): Define.
53374
af190f45
UD
533752011-04-19 Ulrich Drepper <drepper@gmail.com>
53376
53377 * po/ru.po: Update from translation team.
53378
53cf59ef
UD
533792011-04-17 Ulrich Drepper <drepper@gmail.com>
53380
53381 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
53382 dependencies.
53383
4c559bcd
MF
533842011-02-06 Mike Frysinger <vapier@gentoo.org>
53385
53386 [BZ #12653]
53387 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
53388 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
53389 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
53390 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
53391 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
53392
4420675c
AS
533932011-03-28 Andreas Schwab <schwab@linux-m68k.org>
53394
53395 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
53396 differing bytes.
53397 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
53398 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
53399 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53400
75ea32ab
UD
534012011-04-17 Ulrich Drepper <drepper@gmail.com>
53402
53403 [BZ #12420]
53404 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
53405 storing it.
53406 * stdlib/bug-getcontext.c: New file.
53407 * stdlib/Makefile: Add rules to build and run bug-getcontext.
53408
27390476
AK
534092011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53410
53411 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
53412 instructions into .machine "z9-109".
53413 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
53414 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
53415
10442705
AK
534162011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53417
53418 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
53419 between environment variables and auxiliary vector.
53420
7b57bfe5
UD
534212011-04-16 Ulrich Drepper <drepper@gmail.com>
53422
53423 * Makefile: Add rules to build linkobj/libc.so.
53424 * include/libc-symbols.h: Define libc_hidden_nolink.
53425 * include/rpc/auth.h: Mark functions which are to be hidden.
53426 * include/rpc/auth_des.h: Likewise.
53427 * include/rpc/auth_unix.h: Likewise.
53428 * include/rpc/clnt.h: Likewise.
53429 * include/rpc/des_crypt.h: Likewise.
53430 * include/rpc/key_prot.h: Likewise.
53431 * include/rpc/pmap_clnt.h: Likewise.
53432 * include/rpc/pmap_prot.h: Likewise.
53433 * include/rpc/pmap_rmt.h: Likewise.
53434 * include/rpc/rpc_msg.h: Likewise.
53435 * include/rpc/svc.h: Likewise.
53436 * include/rpc/svc_auth.h: Likewise.
53437 * include/rpc/xdr.h: Likewise.
53438 * nis/Makefile: Link all DSOs against linkobj/libc.so.
53439 * nss/Makefile: Likewise.
53440 * sunrpc/Makefile: Don't install headers. Build library with normal
53441 entry points. Don't build rpcinfo. Link RPC tests appropriately.
53442 * sunrpc/auth_des.c: Hide exported symbols by default, export some
53443 for the compat linking library. Remove use of INTDEF/INTUSE.
53444 * sunrpc/auth_none.c: Likewise.
53445 * sunrpc/auth_unix.c: Likewise.
53446 * sunrpc/authdes_prot.c: Likewise.
53447 * sunrpc/authuxprot.c: Likewise.
53448 * sunrpc/clnt_gen.c: Likewise.
53449 * sunrpc/clnt_perr.c: Likewise.
53450 * sunrpc/clnt_raw.c: Likewise.
53451 * sunrpc/clnt_simp.c: Likewise.
53452 * sunrpc/clnt_tcp.c: Likewise.
53453 * sunrpc/clnt_udp.c: Likewise.
53454 * sunrpc/clnt_unix.c: Likewise.
53455 * sunrpc/des_crypt.c: Likewise.
53456 * sunrpc/des_soft.c: Likewise.
53457 * sunrpc/get_myaddr.c: Likewise.
53458 * sunrpc/key_call.c: Likewise.
53459 * sunrpc/key_prot.c: Likewise.
53460 * sunrpc/netname.c: Likewise.
53461 * sunrpc/pm_getmaps.c: Likewise.
53462 * sunrpc/pm_getport.c: Likewise.
53463 * sunrpc/pmap_clnt.c: Likewise.
53464 * sunrpc/pmap_prot.c: Likewise.
53465 * sunrpc/pmap_prot2.c: Likewise.
53466 * sunrpc/pmap_rmt.c: Likewise.
53467 * sunrpc/publickey.c: Likewise.
53468 * sunrpc/rpc_cmsg.c: Likewise.
53469 * sunrpc/rpc_common.c: Likewise.
53470 * sunrpc/rpc_dtable.c: Likewise.
53471 * sunrpc/rpc_prot.c: Likewise.
53472 * sunrpc/rpc_thread.c: Likewise.
53473 * sunrpc/rtime.c: Likewise.
53474 * sunrpc/svc.c: Likewise.
53475 * sunrpc/svc_auth.c: Likewise.
53476 * sunrpc/svc_authux.c: Likewise.
53477 * sunrpc/svc_raw.c: Likewise.
53478 * sunrpc/svc_run.c: Likewise.
53479 * sunrpc/svc_simple.c: Likewise.
53480 * sunrpc/svc_tcp.c: Likewise.
53481 * sunrpc/svc_udp.c: Likewise.
53482 * sunrpc/svc_unix.c: Likewise.
53483 * sunrpc/svcauth_des.c: Likewise.
53484 * sunrpc/xcrypt.c: Likewise.
53485 * sunrpc/xdr.c: Likewise.
53486 * sunrpc/xdr_array.c: Likewise.
53487 * sunrpc/xdr_float.c: Likewise.
53488 * sunrpc/xdr_intXX_t.c: Likewise.
53489 * sunrpc/xdr_mem.c: Likewise.
53490 * sunrpc/xdr_rec.c: Likewise.
53491 * sunrpc/xdr_ref.c: Likewise.
53492 * sunrpc/xdr_sizeof.c: Likewise.
53493 * sunrpc/xdr_stdio.c: Likewise.
53494
e6c61494
UD
534952011-04-10 Ulrich Drepper <drepper@gmail.com>
53496
53497 [BZ #12650]
53498 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
53499 * sysdeps/ia64/dl-tls.h: Likewise.
53500 * sysdeps/powerpc/dl-tls.h: Likewise.
53501 * sysdeps/s390/dl-tls.h: Likewise.
53502 * sysdeps/sh/dl-tls.h: Likewise.
53503 * sysdeps/sparc/dl-tls.h: Likewise.
53504 * sysdeps/x86_64/dl-tls.h: Likewise.
53505 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
53506
34fe483e
AS
535072011-03-14 Andreas Schwab <schwab@redhat.com>
53508
53509 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
53510 rpath element also skip the following colon.
53511 (expand_dynamic_string_token): Add is_path parameter and pass
53512 down to DL_DST_REQUIRED and _dl_dst_substitute.
53513 (decompose_rpath): Call expand_dynamic_string_token with
53514 non-zero is_path. Ignore empty rpaths.
53515 (_dl_map_object_from_fd): Call expand_dynamic_string_token
53516 with zero is_path.
53517
f12a32e6
AS
535182011-04-08 Andreas Schwab <schwab@linux-m68k.org>
53519
53520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
53521 Make cancelable.
53522
38a7d692
UD
535232011-04-09 Ulrich Drepper <drepper@gmail.com>
53524
53525 [BZ #12655]
53526 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
53527 Patch by Filipe David Manana <fdmanana@apache.org>.
53528
e451d22b
AS
535292011-04-07 Andreas Schwab <schwab@redhat.com>
53530
53531 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
53532 Maintain aligned stack.
53533 (CHECK_RSP): Remove unused macro.
53534
dedc7c7b
UD
535352011-04-03 Ulrich Drepper <drepper@gmail.com>
53536
53537 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
53538 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
53539
94521213
UD
535402011-04-02 Ulrich Drepper <drepper@gmail.com>
53541
53542 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
53543
8cb700c0 53544 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 53545
0354e355
L
535462011-03-26 H.J. Lu <hongjiu.lu@intel.com>
53547
53548 [BZ #12518]
53549 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
53550 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
53551 * sysdeps/x86_64/memmove.c: New file.
53552 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
53553 (memcpy): Renamed to ...
53554 (__new_memcpy): This.
53555 (memcpy): Provide GLIBC_2_14 memcpy.
53556 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
53557 (memcpy): Provide GLIBC_2_2_5 memcpy.
53558
8593482f
UD
535592011-04-01 Ulrich Drepper <drepper@gmail.com>
53560
53561 [BZ #12631]
53562 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
53563
81a5726b
AS
535642011-03-30 Andreas Schwab <schwab@redhat.com>
53565
53566 * misc/syncfs.c: New file.
53567 * misc/Makefile (routines): Add syncfs.
53568 * posix/unistd.h: Declare syncfs.
53569 * sysdeps/unix/syscalls.list: Add syncfs.
53570
00e5419f
AS
535712011-04-01 Andreas Schwab <schwab@redhat.com>
53572
53573 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
53574 open_by_handle_at.
53575 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
53576 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53577 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53578 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53579 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53580 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
53581 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53582
748876bf
UD
535832011-04-01 Ulrich Drepper <drepper@gmail.com>
53584
658e451d
UD
53585 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
53586 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53587 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
53588 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53589 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53590 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53591 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53592
748876bf
UD
53593 * io/Makefile: Compile fallocate.c, fallocate64.c, and
53594 sync_file_range.c with -fexceptions.
53595 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
53596 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
53597 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
53598 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
53599 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
53600 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
53601 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
53602 sync_file_range as cancellation point
53603 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
53604 now a wrapper around __call_sync_file_range with cancellation handling.
53605 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
53606 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
53607 function name to __call_sync_file_range.
53608 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
53609 Add call_sync_file_range.
748876bf 53610
6e63d5e1
AS
536112011-04-01 Andreas Schwab <schwab@redhat.com>
53612
53613 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 53614 bits/timex.h.
6e63d5e1 53615
46998f74
UD
536162011-04-01 Ulrich Drepper <drepper@gmail.com>
53617
4c1423ed
UD
53618 * iconv/iconv.h: Fix typo in comment.
53619 * io/fcntl.h: Likewise.
53620 * libio/stdio.h: Likewise.
53621 * posix/spawn.h: Likewise.
53622 * posix/unistd.h: Likewise.
53623 * stdlib/stdlib.h: Likewise.
53624 * time/time.h: Likewise.
53625 * wcsmbs/wchar.h: Likewise.
53626
158648c0
UD
53627 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
53628 open_by_handle): Add.
53629 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
53630 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
53631 Augment a few comments.
53632 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53633 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53634 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53635 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53636 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53637 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
53638 open_by_handle.
53639
46998f74
UD
53640 * io/fcntl.h (AT_EMPTY_PATH): Define.
53641
83fe108b
UD
536422011-03-30 Ulrich Drepper <drepper@gmail.com>
53643
53644 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
53645 * sysdeps/unix/sysv/linux/bits/time.h: New file.
53646 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
53647 to...
53648 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
53649 * Versions.def: Add GLIBC_2.14.
53650 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
53651 Export.
83fe108b 53652
bb242059
UD
536532011-03-22 Ulrich Drepper <drepper@gmail.com>
53654
53655 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
53656 round counter.
53657 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53658
c97a1282
L
536592011-03-20 H.J. Lu <hongjiu.lu@intel.com>
53660
53661 [BZ #12597]
53662 * string/test-strncmp.c (do_page_test): New function.
53663 (check2): Likewise.
53664 (test_main): Call check2.
53665 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
53666
2a115601
UD
536672011-03-20 Ulrich Drepper <drepper@gmail.com>
53668
53669 [BZ #12587]
53670 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
53671 Handle cache information in CPU leaf 4.
53672 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53673
8126d904
UD
536742011-03-18 Ulrich Drepper <drepper@gmail.com>
53675
042c49c6 53676 [BZ #12583]
8126d904
UD
53677 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
53678 character representation.
53679 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
53680
ccfe366e
RA
536812011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
53682
53683 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
53684 END(__isnan) to END(__isnanf) to match function entry point/label
53685 EALIGN(__isnanf,...).
53686
c6e13027
JJ
536872011-03-10 Jakub Jelinek <jakub@redhat.com>
53688
53689 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
53690
33f85a3f
UD
536912011-03-10 Ulrich Drepper <drepper@gmail.com>
53692
028478fa
UD
53693 [BZ #12510]
53694 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
53695 copy from the symbol referenced in the relocation to initialize the
53696 used variable.
53697 Patch by Piotr Bury <pbury@goahead.com>.
53698 * elf/Makefile: Add rules to build and tst-unique3.
53699 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
53700 * elf/tst-unique3.cc: New file.
53701 * elf/tst-unique3.h: New file.
53702 * elf/tst-unique3lib.cc: New file.
53703 * elf/tst-unique3lib2.cc: New file.
53704
33f85a3f
UD
53705 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
53706
03592fc7
MF
537072011-03-10 Mike Frysinger <vapier@gentoo.org>
53708
53709 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
53710 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
53711 to _start.
03592fc7 53712
6a5ee102
UD
537132011-03-06 Ulrich Drepper <drepper@gmail.com>
53714
53715 * elf/dl-load.c (_dl_map_object): If we are looking for the first
53716 to-be-loaded object along a path to loader is ld.so.
53717
7e4ba49c
HJ
537182011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
53719 Ulrich Drepper <drepper@gmail.com>
53720
53721 * sysdeps/x86_64/memset.S: After aligning destination, code
53722 branches to different locations depending on the value of
53723 misalignment, when multiarch is enabled. Fix this.
53724
537252011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
53726
53727 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
53728 Set _x86_64_preferred_memory_instruction for AMD processsors.
53729 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53730 Set bit_Prefer_SSE_for_memop for AMD processors.
53731
13a804de
UD
537322011-03-04 Ulrich Drepper <drepper@gmail.com>
53733
53734 * libio/fmemopen.c (fmemopen): Optimize a bit.
53735
9d25c392
AS
537362011-03-03 Andreas Schwab <schwab@redhat.com>
53737
53738 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
53739
a5543c6a
RM
537402011-03-03 Roland McGrath <roland@redhat.com>
53741
53742 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
53743
012d35f7
DM
537442011-02-28 Aurelien Jarno <aurelien@aurel32.net>
53745
7e4ba49c 53746 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
53747 __bzero_ultra1 instead of __memset_ultra1.
53748
4bff6e01
AS
537492011-02-23 Andreas Schwab <schwab@redhat.com>
53750 Ulrich Drepper <drepper@gmail.com>
53751
53752 [BZ #12509]
53753 * include/link.h (struct link_map): Add l_orig_initfini.
53754 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
53755 returning unsuccessfully.
53756 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
53757 close of a file loaded at startup, restore the original l_initfini
53758 list.
53759 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
53760 list, store the pointer.
53761 * elf/Makefile ($(objpfx)noload-mem): New rule.
53762 (noload-ENV): Define.
53763 (tests): Add $(objpfx)noload-mem.
53764 * elf/noload.c: Include <memcheck.h>.
53765 (main): Call mtrace. Close all opened handles.
53766
f2092faf
AS
537672011-02-17 Andreas Schwab <schwab@redhat.com>
53768
53769 [BZ #12454]
53770 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
53771 dependencies are missing.
53772
6c8a2e88
ST
537732011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
53774
f2092faf 53775 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
53776 Hurd needs munmap.
53777 * sysdeps/mach/hurd/ifreq.h: New file.
53778
84a42118
PB
537792011-01-27 Petr Baudis <pasky@suse.cz>
53780 Ulrich Drepper <drepper@gmail.com>
53781
071f805e 53782 [BZ 12445]#
84a42118
PB
53783 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
53784 to extend_alloca().
53785 * stdio-common/bug23.c: New file.
53786 * stdio-common/Makefile (tests): Add bug23.
53787
e23fe25b
AS
537882010-09-28 Andreas Schwab <schwab@redhat.com>
53789 Ulrich Drepper <drepper@gmail.com>
53790
53791 [BZ #12489]
53792 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
53793 before performing relro protection. At old place add assertion
53794 to make sure nothing changed.
53795
d3f02e10
NS
537962011-02-17 Nathan Sidwell <nathan@codesourcery.com>
53797 Glauber de Oliveira Costa <glommer@gmail.com>
53798
53799 * elf/elf.h: Add new ARM TLS relocs.
53800
d55fd7a5
RA
538012011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
53802
53803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
53804 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
53805 cast from r3.
53806 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
53807 'tests' variable.
53808 * sysdeps/wordsize-64/tst-writev.c: New file.
53809
2206397e
RA
538102011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
53811
53812 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
53813 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
53814 insns in _dl_start to prevent a TOC reference before relocs are
53815 resolved.
53816
e9433893
UD
538172011-02-15 Ulrich Drepper <drepper@gmail.com>
53818
53819 [BZ #12469]
53820 * Makeconfig: Remove RANLIB definition.
53821 * Makerules: Don't use RANLIB.
53822 * aclocal.m4: Remove ranlib test.
53823 * configure.in: No need to check for ranlib.
53824 * elf/rtld-Rules: Don't use RANLIB.
53825
f75286c6
ST
538262011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
53827
8e31c82d
ST
53828 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
53829 protection macro.
53830 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
53831 inclusion protection macro.
53832
f75286c6
ST
53833 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
53834 SIGRTMIN and SIGRTMAX and print information in that case only when
53835 SIGRTMIN is defined.
53836
c1d0e639
JJ
538372011-02-11 Jakub Jelinek <jakub@redhat.com>
53838
53839 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
53840 arginfo fn returning -1.
53841
53842 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
53843 and thousands string is zero terminated.
53844
edf9294e
AS
538452011-02-03 Andreas Schwab <schwab@redhat.com>
53846
53847 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
53848 sysdeps/unix/sysv/linux/bits/socket.h.
53849
2b7e92df
ST
538502011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
53851
edf9294e
AS
53852 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
53853 (__CPU_COUNT): Remove old macros.
53854 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
53855 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
53856 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
53857 (__sched_cpualloc, __sched_cpufree): Add declarations.
53858
a4c7ea7b
UD
538592011-02-05 Ulrich Drepper <drepper@gmail.com>
53860
53861 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
53862 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
53863 * nscd/aicache.c (addhstaiX): Return timeout of added value.
53864 (readdhstai): Return value of addhstaiX call.
53865 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
53866 (addgrbyX): Return value returned by cache_addgr.
53867 (readdgrbyname): Return value returned by addgrbyX.
53868 (readdgrbygid): Likewise.
53869 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
53870 (addpwbyX): Return value returned by cache_addpw.
53871 (readdpwbyname): Return value returned by addhstbyX.
53872 (readdpwbyuid): Likewise.
53873 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
53874 (addservbyX): Return value returned by cache_addserv.
53875 (readdservbyname): Return value returned by addservbyX:
53876 (readdservbyport): Likewise.
53877 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
53878 (addhstbyX): Return value returned by cache_addhst.
53879 (readdhstbyname): Return value returned by addhstbyX.
53880 (readdhstbyaddr): Likewise.
53881 (readdhstbynamev6): Likewise.
53882 (readdhstbyaddrv6): Likewise.
53883 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
53884 (readdinitgroups): Return value returned by addinitgroupsX.
53885 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
53886 (prune_cache): Keep track of timeout value of re-added entries.
53887 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
53888 * nscd/nscd.h: Adjust prototypes of readd* functions.
53889
a0bf67cc
RM
538902011-02-04 Roland McGrath <roland@redhat.com>
53891
53892 * nis/nis_server.c (nis_servstate): Use the right name for 0.
53893 (nis_stats): Likewise.
53894 * nis/nis_modify.c (nis_modify): Likewise.
53895 * nis/nis_remove.c (nis_remove): Likewise.
53896 * nis/nis_add.c (nis_add): Likewise.
53897
53898 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
53899
53900 * posix/fnmatch_loop.c: Add some consts.
53901
53902 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
53903
435b95eb
L
539042011-02-02 H.J. Lu <hongjiu.lu@intel.com>
53905
53906 [BZ #12460]
53907 * config.make.in (config-cflags-novzeroupper): Define.
53908 * configure.in: Substitute libc_cv_cc_novzeroupper.
53909 * elf/Makefile (AVX-CFLAGS): Define.
53910 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
53911 (CFLAGS-tst-auditmod4a.c): Likewise.
53912 (CFLAGS-tst-auditmod4b.c): Likewise.
53913 (CFLAGS-tst-auditmod6b.c): Likewise.
53914 (CFLAGS-tst-auditmod6c.c): Likewise.
53915 (CFLAGS-tst-auditmod7b.c): Likewise.
53916 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
53917
8517b15e
UD
539182011-02-02 Ulrich Drepper <drepper@gmail.com>
53919
53920 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
53921 function to the callback.
53922 Patch partly by Jiri Olsa <jolsa@redhat.com>.
53923
10a656fe
AS
539242011-02-02 Andreas Schwab <schwab@redhat.com>
53925
53926 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
53927 of errno.
53928
968dad0a
UD
539292011-01-19 Ulrich Drepper <drepper@gmail.com>
53930
9f94d2ea 53931 [BZ #11724]
968dad0a
UD
53932 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
53933 of constructors.
53934 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
53935 of destructors.
53936 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
53937
53938 [BZ #11724]
53939 * elf/Makefile: Add rules to build and run new test.
53940 * elf/tst-initorder.c: New file.
53941 * elf/tst-initorder.exp: New file.
53942 * elf/tst-initordera1.c: New file.
53943 * elf/tst-initordera2.c: New file.
53944 * elf/tst-initordera3.c: New file.
53945 * elf/tst-initordera4.c: New file.
53946 * elf/tst-initorderb1.c: New file.
53947 * elf/tst-initorderb2.c: New file.
53948 * elf/tst-order-a1.c: New file.
53949 * elf/tst-order-a2.c: New file.
53950 * elf/tst-order-a3.c: New file.
53951 * elf/tst-order-a4.c: New file.
53952 * elf/tst-order-b1.c: New file.
53953 * elf/tst-order-b2.c: New file.
53954 * elf/tst-order-main.c: New file.
53955 New test case by George Gensure <werkt0@gmail.com>.
53956
86e92359
UD
539572010-10-01 Andreas Schwab <schwab@redhat.com>
53958
53959 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53960 decoding ACE if AI_CANONIDN.
53961
5d5732b0
UD
539622011-01-18 Ulrich Drepper <drepper@gmail.com>
53963
53964 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
53965
a77e8cbc
UD
539662011-01-17 Ulrich Drepper <drepper@gmail.com>
53967
6392473f
UD
53968 * version.h (RELEASE): Bump for 2.13 release.
53969 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
53970
620a0529
UD
53971 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
53972
18ba70a5
UD
53973 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
53974 MADV_NOHUGEPAGE.
32465c3e
UD
53975 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
53976 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
53977 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53978 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
53979 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53980 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
53981
c0dafcf1
UD
53982 * posix/getconf.c: Update copyright year.
53983 * catgets/gencat.c: Likewise.
53984 * csu/version.c: Likewise.
53985 * debug/catchsegv.sh: Likewise.
53986 * debug/xtrace.sh: Likewise.
53987 * elf/ldconfig.c: Likewise.
53988 * elf/ldd.bash.in: Likewise.
53989 * elf/sprof.c (print_version): Likewise.
53990 * iconv/iconv_prog.c: Likewise.
53991 * iconv/iconvconfig.c: Likewise.
53992 * locale/programs/locale.c: Likewise.
53993 * locale/programs/localedef.c: Likewise.
53994 * malloc/memusage.sh: Likewise.
53995 * malloc/mtrace.pl: Likewise.
53996 * nscd/nscd.c (print_version): Likewise.
53997 * nss/getent.c: Likewise.
53998
a77e8cbc
UD
53999 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
54000 PF_CAIF, and PF_ALG.
54001 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54002
77e8bddf
AS
540032011-01-16 Andreas Schwab <schwab@linux-m68k.org>
54004
1f20b93a
AS
54005 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
54006 (modules-names): Use them.
54007 (ifunc-test-modules, ifunc-pie-tests): Define.
54008 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
54009 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
54010 (test-extras): Likewise.
54011 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
54012 $(compile-command.c).
54013 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
54014 (all-built-dso): Define.
54015 (check-textrel.out, check-execstack.out): Depend on it.
54016
77e8bddf
AS
54017 * configure.in: Don't override --enable-multi-arch.
54018
bc425b33
UD
540192011-01-15 Ulrich Drepper <drepper@gmail.com>
54020
54021 [BZ #6812]
54022 * nscd/hstcache.c (tryagain): Define.
54023 (cache_addhst): Return tryagain not notfound for temporary errors.
54024 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
54025 failed.
54026
794c3ad3
UD
540272011-01-14 Ulrich Drepper <drepper@gmail.com>
54028
70181fdd
UD
54029 [BZ #10563]
54030 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
54031 to make the syscall.
54032 * sysdeps/unix/sysv/linux/setgroups.c: New file.
54033
794c3ad3
UD
54034 [BZ #12378]
54035 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
54036 and fall back to matching as normal character if the string ends before
54037 the matching ']' is found. This is what POSIX requires.
54038 * posix/testfnm.c: Adjust test result.
54039 * posix/globtest.sh: Adjust test result. Add new test.
54040 * posix/tst-fnmatch.input: Likewise.
54041 * posix/tst-fnmatch2.c: Add new test.
54042
68dc9497
AS
540432010-12-28 Andreas Schwab <schwab@linux-m68k.org>
54044
54045 * elf/Makefile (check-execstack): Revert last change. Depend on
54046 check-execstack.h.
54047 (check-execstack.h): New target.
54048 (generated): Add check-execstack.h.
54049 * elf/check-execstack.c: Include "check-execstack.h".
54050 (main): Revert last change.
54051 (handle_file): Return zero if GNU_STACK is absent and
54052 DEFAULT_STACK_PERMS doesn't include PF_X.
54053
451f001b
UD
540542011-01-13 Ulrich Drepper <drepper@gmail.com>
54055
cfa28e56
UD
54056 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
54057 in child fails because the descriptor is already closed.
8cf8ce17
UD
54058 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
54059 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
54060 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 54061
1086d70d
UD
54062 [BZ #12397]
54063 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
54064 syscall.
54065
451f001b
UD
54066 [BZ #10484]
54067 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
54068 temporary buffer used to handle multi lookups locally.
a85b5cb4 54069 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 54070
08769175
UD
540712011-01-12 Ulrich Drepper <drepper@gmail.com>
54072
54073 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
54074 loader is ld.so.
54075
5e49c52e
UD
540762011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
54077
54078 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
54079 alignment for SSE2.
54080
60522a5f
UD
540812011-01-12 Ulrich Drepper <drepper@gmail.com>
54082
54083 [BZ #12394]
54084 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
54085 characters. When rounding increased number of integer digits recompute
54086 number of groups.
54087 * stdio-common/tst-grouping.c: New file.
54088 * stdio-common/Makefile: Add rules to build and run tst-grouping.
54089
f257bbd7
UD
540902011-01-09 Ulrich Drepper <drepper@gmail.com>
54091
54092 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
54093 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
54094
54095 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
54096 void.
54097 * bits/select.h: Likewise.
54098
fa9c15cb
UD
540992011-01-08 Ulrich Drepper <drepper@gmail.com>
54100
54101 * po/ja.po: Update from translation team.
54102
16c2895f
DM
541032011-01-04 David S. Miller <davem@sunset.davemloft.net>
54104
54105 [BZ #11155]
54106 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
54107 implementation just like for lxstat, fxstatat, et al.
54108
2543fef2
JM
541092010-12-27 Jim Meyering <meyering@redhat.com>
54110
54111 [BZ #12348]
54112 * posix/regexec.c (build_trtable): Return failure indication upon
54113 calloc failure. Otherwise, re_search_internal could infloop on OOM.
54114
98727dbe
UD
541152010-12-25 Ulrich Drepper <drepper@gmail.com>
54116
5bd6dc5c
UD
54117 [BZ #12201]
54118 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
54119 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
54120 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
54121 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
54122
97983464
UD
54123 [BZ #12207]
54124 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
54125
98727dbe
UD
54126 [BZ #12204]
54127 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
54128 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
54129
4a531bb0
L
541302010-12-15 H.J. Lu <hongjiu.lu@intel.com>
54131
54132 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
54133 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
54134 script has SORT_BY_INIT_PRIORITY.
54135 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
54136 NO_CTORS_DTORS_SECTIONS is defined.
54137 * elf/soinit.c: Likewise.
54138 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
54139 NO_CTORS_DTORS_SECTIONS is defined.
54140 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
54141 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
54142 * sysdeps/sh/init-first.c: Likewise.
54143 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
54144
07eb4b71
UD
541452010-12-24 Ulrich Drepper <drepper@gmail.com>
54146
54147 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
54148 always use the slow path.
54149
30950a5f
RA
541502010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
54151
54152 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
54153 similar rule which adds the sysdep directories to the header search in
54154 order to pick up the correct platform stackinfo.h.
54155 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
54156 perform test if it is, otherwise return successfully without testing.
54157 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
54158 DEFAULT_STACK_PERMS define in stackinfo.h.
54159 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
54160 defined in stackinfo.h.
54161 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
54162 DEFAULT_STACK_PERMS defined in stackinfo.h.
54163 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
54164 * sysdeps/ia64/stackinfo.h: Likewise.
54165 * sysdeps/s390/stackinfo.h: Likewise.
54166 * sysdeps/sh/stackinfo.h: Likewise.
54167 * sysdeps/sparc/stackinfo.h: Likewise.
54168 * sysdeps/x86_64/stackinfo.h: Likewise.
54169 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
54170 PF_X for powerpc64. Retain PF_X for powerpc32.
54171
db753e2c
UD
541722010-12-19 Ulrich Drepper <drepper@gmail.com>
54173
14b697f7
UD
54174 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
54175 accurately.
db753e2c
UD
54176 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
54177 GETDENTS_64BIT_ALIGNED.
54178
28300719
UD
541792010-12-14 Ulrich Drepper <dreper@gmail.com>
54180
14b697f7 54181 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 54182
4f197237
AS
541832010-12-10 Andreas Schwab <schwab@redhat.com>
54184
dbb0472f
AS
54185 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
54186 _GNU_SOURCE.
54187
4f197237
AS
54188 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
54189 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
54190 Remove __restrict.
54191 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
54192 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
54193
fb88ac72
UD
541942010-12-09 Ulrich Drepper <drepper@gmail.com>
54195
54196 [BZ #11655]
54197 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
54198 are initialized.
54199
42acbb92
JJ
542002010-12-09 Jakub Jelinek <jakub@redhat.com>
54201
54202 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
54203
c038d98d
UD
542042010-12-03 Ulrich Drepper <drepper@gmail.com>
54205
54206 * po/it.po: Update from translation team.
54207
3a4a2499
L
542082010-12-01 H.J. Lu <hongjiu.lu@intel.com>
54209
54210 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
54211 unused codes.
54212
1e24cf6e
UD
542132010-11-30 Ulrich Drepper <drepper@gmail.com>
54214
54215 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
54216
a7690819
AS
542172010-11-24 Andreas Schwab <schwab@redhat.com>
54218
54219 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
54220 specially.
54221 (gaih_getanswer_slice): Likewise.
54222
3bf8d1b1
JJ
542232010-10-20 Jakub Jelinek <jakub@redhat.com>
54224
54225 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
54226
6db52fbb
PB
542272010-05-31 Petr Baudis <pasky@suse.cz>
54228
54229 [BZ #11149]
54230 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
54231 silently even in the chroot mode.
54232
eaca7569
UD
542332010-11-22 Ulrich Drepper <drepper@gmail.com>
54234
54235 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
54236 last patch a bit. Pretty printing
54237
3056dcdb
UD
542382010-05-31 Petr Baudis <pasky@suse.cz>
54239
54240 [BZ #10085]
54241 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
54242 initialization of skip_initgroups_dyn.
54243
cf7c9078
UD
542442010-11-19 Ulrich Drepper <drepper@gmail.com>
54245
54246 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
54247 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
54248
a1fb5e3e
UD
542492010-11-16 Ulrich Drepper <drepper@gmail.com>
54250
54251 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
54252
3540d66b
AS
542532010-11-11 Andreas Schwab <schwab@redhat.com>
54254
54255 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
54256 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
54257 (tst-fnmatch-ENV): Set MALLOC_TRACE.
54258 ($(objpfx)tst-fnmatch-mem): New rule.
54259 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
54260 * posix/tst-fnmatch.c (main): Call mtrace.
54261
13b69574
L
542622010-11-11 H.J. Lu <hongjiu.lu@intel.com>
54263
54264 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54265 Support Intel processor model 6 and model 0x2c.
54266
da93d214
LM
542672010-11-10 Luis Machado <luisgpm@br.ibm.com>
54268
54269 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
54270 signed comparison.
54271
8ca52c6e
L
542722010-11-09 H.J. Lu <hongjiu.lu@intel.com>
54273
54274 [BZ #12205]
54275 * string/test-strncasecmp.c (check_result): New function.
54276 (do_one_test): Use it.
54277 (check1): New function.
54278 (test_main): Use it.
54279 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
54280 Support strcasecmp and strncasecmp.
54281
69da074d
UD
542822010-11-08 Ulrich Drepper <drepper@gmail.com>
54283
54284 [BZ #12194]
54285 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
54286 * sysdeps/x86_64/bits/byteswap.h: Likewise.
54287
ff02d528
L
542882010-11-07 H.J. Lu <hongjiu.lu@intel.com>
54289
54290 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
54291 IFUNC support.
54292 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54293 memset-x86-64.
54294 * sysdeps/x86_64/multiarch/bzero.S: New file.
54295 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
54296 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
54297 * sysdeps/x86_64/multiarch/memset.S: New file.
54298 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
54299 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54300 Set bit_Prefer_SSE_for_memop for Intel processors.
54301 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
54302 Define.
54303 (index_Prefer_SSE_for_memop): Define.
54304 (HAS_PREFER_SSE_FOR_MEMOP): Define.
54305
344d0b54
LM
543062010-11-04 Luis Machado <luisgpm@br.ibm.com>
54307
54308 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
54309 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
54310
c0dde15b
UD
543112010-11-03 H.J. Lu <hongjiu.lu@intel.com>
54312
54313 [BZ #12191]
54314 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54315 (__x86_64_raw_data_cache_size_half): Likewise.
54316 (__x86_64_raw_shared_cache_size): Likewise.
54317 (__x86_64_raw_shared_cache_size_half): Likewise.
54318
54319 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54320 (__x86_64_raw_data_cache_size_half): Likewise.
54321 (__x86_64_raw_shared_cache_size): Likewise.
54322 (__x86_64_raw_shared_cache_size_half): Likewise.
54323 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
54324 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
54325 and __x86_64_raw_shared_cache_size_half. Round
54326 __x86_64_data_cache_size_half, __x86_64_data_cache_size
54327 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
54328 to multiple of 256 bytes.
54329
0e516e0e
MS
543302010-11-03 Ulrich Drepper <drepper@gmail.com>
54331
54332 [BZ #12167]
54333 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
54334 of inacessible symlinks. Verify result of symlink before returning it.
54335 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
54336 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
54337
0e012e87
ER
543382010-10-28 Erich Ritz <erichritz@gmail.com>
54339
54340 * math/math.h (isinf): Fix typo in comment.
54341
de0ff7bc
UD
543422010-11-01 Ulrich Drepper <drepper@gmail.com>
54343
54344 * po/da.po: Update from translation team.
54345
fa41c84d
UD
543462010-10-26 Ulrich Drepper <drepper@gmail.com>
54347
54348 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
54349 is added to the list.
54350
f0967738
AK
543512010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54352 Ulrich Drepper <drepper@gmail.com>
54353
54354 * elf/dl-object.c (_dl_new_object): Don't append the new object to
54355 the global list here. Move code to...
54356 (_dl_add_to_namespace_list): ...here. New function.
54357 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
54358 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
54359 * elf/dl-load.c (lose): Don't remove the element from the list.
54360 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
54361 (_dl_map_object): Likewise.
54362
543632010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
54364
54365 [BZ #12159]
54366 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
54367 into all bytes of SSE register.
54368 Patch by Richard Li <richardpku@gmail.com>.
54369
f0967738 543702010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
54371
54372 [BZ #12140]
54373 * malloc/malloc.c (_int_free): Fill correct number of bytes when
54374 perturbing.
54375
d0b9e94f
MB
543762010-10-20 Michael B. Brutman <brutman@us.ibm.com>
54377
54378 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
54379 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
54380 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
54381 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
54382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
54383 submachine.
54384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
54385
8e9f92e9
AS
543862010-10-22 Andreas Schwab <schwab@redhat.com>
54387
54388 * include/dlfcn.h (__RTLD_SECURE): Define.
54389 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
54390 mode & __RTLD_SECURE instead.
54391 (open_path): Rename preloaded parameter to secure.
54392 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
54393 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
54394 * elf/dl-deps.c (openaux): Likewise.
54395 * elf/rtld.c (struct map_args): Remove is_preloaded.
54396 (map_doit): Don't use it.
54397 (dl_main): Likewise.
54398 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
54399 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
54400
bc96fbda
AS
544012010-09-09 Andreas Schwab <schwab@redhat.com>
54402
54403 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
54404 (sysd-rules-targets): Remove duplicates.
54405 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
54406 rtld-%.$o dependency.
54407
22cd1c9b
AS
544082010-10-18 Andreas Schwab <schwab@redhat.com>
54409
54410 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
54411 _dl_map_object do it.
54412
18edac48
UD
544132010-10-19 Ulrich Drepper <drepper@gmail.com>
54414
54415 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
54416 fast fma builtins, define the macros in the C99 standard.
54417 (FP_FAST_FMAF): Likewise.
54418 (FP_FAST_FMAL): Likewise.
54419 * sysdeps/x86_64/bits/mathdef.h: Likewise.
54420
54421 * bits/mathdef.h: Update copyright year.
54422 * sysdeps/powerpc/bits/mathdef.h: Likewise.
54423
d2050124
MM
544242010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
54425
54426 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
54427 builtins, define the macros in the C99 standard.
54428 (FP_FAST_FMAF): Likewise.
54429 (FP_FAST_FMAL): Likewise.
54430 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
54431 multiply/add.
54432 (FP_FAST_FMAF): Likewise.
54433
475facd1
JJ
544342010-10-15 Jakub Jelinek <jakub@redhat.com>
54435
54436 [BZ #3268]
54437 * math/libm-test.inc (fma_test): Some new testcases.
54438 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
54439 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
54440 y and infinite z. Do multiplication by C already in long double.
54441 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
54442 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
54443 y and infinite z. Do bitwise or of inexact bit into u.d.
54444 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
54445 * sysdeps/i386/fpu/s_fmaf.S: Removed.
54446 * sysdeps/i386/fpu/s_fma.S: Removed.
54447 * sysdeps/i386/fpu/s_fmal.S: Removed.
54448
7c08a05c
JJ
544492010-10-16 Jakub Jelinek <jakub@redhat.com>
54450
54451 [BZ #3268]
54452 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
54453 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
54454 computation is not scheduled after fetestexcept. Fix value
54455 of minimum denormal long double.
54456
f3f7372d
JJ
544572010-10-14 Jakub Jelinek <jakub@redhat.com>
54458
54459 [BZ #3268]
54460 * math/libm-test.inc (fma_test): Add some more tests.
54461 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
54462 correctly.
54463
14d43591
AS
544642010-10-15 Andreas Schwab <schwab@redhat.com>
54465
54466 * scripts/data/localplt-s390-linux-gnu.data: New file.
54467 * scripts/data/localplt-s390x-linux-gnu.data: New file.
54468
5e908464
JJ
544692010-10-13 Jakub Jelinek <jakub@redhat.com>
54470
54471 [BZ #3268]
54472 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
54473 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
54474 instead of dbl-64.
54475 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
54476 inlines.
54477 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
54478 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
54479 if one of x and y is very large and the other is subnormal.
54480 * sysdeps/s390/fpu/s_fmaf.c: New file.
54481 * sysdeps/s390/fpu/s_fma.c: New file.
54482 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
54483 * sysdeps/powerpc/fpu/s_fma.S: New file.
54484 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
54485 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
54486 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
54487
544882010-10-12 Jakub Jelinek <jakub@redhat.com>
54489
54490 [BZ #3268]
54491 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
54492 fma tests.
54493 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
54494 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
54495 * sysdeps/i386/i686/multiarch/s_fma.c: Include
54496 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
54497 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
54498 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
54499 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
54500
b833d51f
UD
545012010-10-12 Ulrich Drepper <drepper@redhat.com>
54502
54503 [BZ #12078]
54504 * posix/regcomp.c (parse_branch): One more memory leak plugged.
54505 * posix/bug-regex31.input: Add test case.
54506
1751705d
UD
545072010-10-11 Ulrich Drepper <drepper@gmail.com>
54508
e9b9cbf5
UD
54509 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
54510 * posix/bug-regex31.input: New file.
54511
54512 [BZ #12078]
54513 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
54514 (parse_sub_exp): Fix last change, use postorder.
54515
ef06edbe
UD
54516 * posix/bug-regex31.c: New file.
54517 * posix/Makefile: Add rules to build and run bug-regex31.
54518
a129c80d
UD
54519 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
54520
54521 [BZ #12078]
54522 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
54523
b76b818e
UD
54524 [BZ #12108]
54525 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
54526 to have entries in sys_siglist.
54527
1751705d
UD
54528 [BZ #12093]
54529 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
54530 be NULL.
54531
9ff8d36f
JJ
545322010-10-07 Jakub Jelinek <jakub@redhat.com>
54533
54534 [BZ #3268]
54535 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
54536 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
54537 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
54538 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
54539 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
54540 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
54541 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
54542 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
54543 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
54544 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
54545 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
54546 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
54547 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
54548 * math/ftestexcept.c (fetestexcept): Likewise.
54549 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
54550 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
54551 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
54552 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
54553 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
54554 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
54555 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
54556
af325969
UD
545572010-10-11 Ulrich Drepper <drepper@gmail.com>
54558
c579b202 54559 [BZ #12107]
af325969
UD
54560 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
54561 newline.
54562
67a67b95
UD
545632010-10-06 Ulrich Drepper <drepper@gmail.com>
54564
54565 * string/bug-strstr1.c: New file.
54566 * string/Makefile: Add rules to build and run bug-strstr1.
54567
5fb308bc
EB
545682010-10-05 Eric Blake <eblake@redhat.com>
54569
54570 [BZ #12092]
54571 * string/str-two-way.h (two_way_long_needle): Always clear memory
54572 when skipping input due to the shift table.
54573
45db99c7
UD
545742010-10-03 Ulrich Drepper <drepper@gmail.com>
54575
3b111893
UD
54576 [BZ #12005]
54577 * malloc/mcheck.c: Handle large requests.
54578
45db99c7
UD
54579 [BZ #12077]
54580 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
54581 for strncmp and strncasecmp.
54582 * string/stratcliff.c: Add tests for strcmp and strncmp.
54583 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
54584
cf7a1eb8
NI
545852010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54586
54587 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
54588 __set_fpscr.
54589
6484ba5e
AJ
545902010-09-30 Andreas Jaeger <aj@suse.de>
54591
54592 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
54593 (CGROUP_SUPER_MAGIC): Define.
54594 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54595 Handle btrfs and cgroup file systems.
54596 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
54597 Likewise.
54598
91c42559
LM
545992010-09-27 Luis Machado <luisgpm@br.ibm.com>
54600
54601 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
54602 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
54603
87a97932
AK
546042010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54605
54606 [BZ #12067]
54607 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
54608 trying to locate the ELF header.
54609
c21cc9bc
AS
546102010-09-27 Andreas Schwab <schwab@redhat.com>
54611
54612 [BZ #11611]
54613 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
54614 Mask out sign-bit copies when constructing f_fsid.
54615
315970f6
PB
546162010-09-24 Petr Baudis <pasky@suse.cz>
54617
54618 * debug/stack_chk_fail_local.c: Add missing licence exception.
54619 * debug/warning-nop.c: Likewise.
54620
1ac7a2c7
JM
546212010-09-15 Joseph Myers <joseph@codesourcery.com>
54622
54623 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
54624 implementing getdents64 using getdents syscall, set d_type if
54625 __ASSUME_GETDENTS32_D_TYPE.
54626
56801c50
AS
546272010-09-16 Andreas Schwab <schwab@redhat.com>
54628
54629 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
54630 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
54631
dda51327
UD
546322010-09-21 Ulrich Drepper <drepper@redhat.com>
54633
54634 [BZ #12037]
54635 * posix/unistd.h: Undo change of feature selection for ftruncate from
54636 2010-01-11.
54637
8ffcee4a
UD
546382010-09-20 Ulrich Drepper <drepper@redhat.com>
54639
a545ecd9 54640 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
54641 detection.
54642
e24f0a8b
AS
546432010-09-20 Andreas Schwab <schwab@redhat.com>
54644
54645 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
54646 fanotify_mark.
54647 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
54648
7291c56f
AS
546492010-09-14 Andreas Schwab <schwab@redhat.com>
54650
54651 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
54652 variables after CHECK_SP call.
54653 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
54654
bc5fb037
AS
546552010-09-13 Andreas Schwab <schwab@redhat.com>
54656 Ulrich Drepper <drepper@redhat.com>
54657
54658 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
54659 re-relocationg ld.so.
54660 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
54661 _dl_init_paths call.
54662 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
54663 here anymore.
54664
e66e7419
UD
546652010-09-14 Ulrich Drepper <drepper@redhat.com>
54666
54667 * resolv/res_init.c (__res_vinit): Count the default server we added.
54668
c044aa75
CLT
546692010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
54670 Ulrich Drepper <drepper@redhat.com>
54671
54672 [BZ #11968]
54673 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
54674 (____longjmp_chk): Use %ebx for saving value across system call.
54675 Add unwind info.
54676
32cf4069
AS
546772010-09-06 Andreas Schwab <schwab@redhat.com>
54678
54679 * manual/Makefile: Don't mix pattern rules with normal rules.
54680
817328ee
AS
546812010-09-05 Andreas Schwab <schwab@linux-m68k.org>
54682
54683 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
54684 operation.
54685 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
54686 * libio/iofopncook.c (_IO_cookie_init): Likewise.
54687 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
54688 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
54689 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54690 Likewise.
54691
29fddf61
UD
546922010-09-04 Ulrich Drepper <drepper@redhat.com>
54693
54694 [BZ #11979]
54695 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
54696 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
54697
0959ffc9
UD
546982010-09-02 Ulrich Drepper <drepper@redhat.com>
54699
54700 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
54701 * sysdeps/x86_64/addmul_1.S: Likewise.
54702 * sysdeps/x86_64/lshift.S: Likewise.
54703 * sysdeps/x86_64/mul_1.S: Likewise.
54704 * sysdeps/x86_64/rshift.S: Likewise.
54705 * sysdeps/x86_64/sub_n.S: Likewise.
54706 * sysdeps/x86_64/submul_1.S: Likewise.
54707
ece29840
ST
547082010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
54709
0959ffc9
UD
54710 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
54711 Define __sched_param instead of SCHED_* and sched_param when
ece29840 54712 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 54713 * bits/sched.h [__need_schedparam]
ece29840 54714 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
54715 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
54716 (__defined_schedparam): Define to 1.
ece29840
ST
54717 (__sched_param): New structure, identical to sched_param.
54718 (__need_schedparam): Undefine.
54719
e53a31fe
MF
547202010-08-31 Mike Frysinger <vapier@gentoo.org>
54721
fdc0c10d
MF
54722 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
54723 (epoll_create1): Declare.
54724
e53a31fe
MF
54725 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
54726
a726d796
AS
547272010-08-31 Andreas Schwab <schwab@redhat.com>
54728
54729 [BZ #7066]
54730 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
54731 shifting retval into place.
54732
2f3e3dc7
UD
547332010-09-01 Ulrich Drepper <drepper@redhat.com>
54734
f2933da9
UD
54735 * nis/rpcsvc/nis.h: Update copyright notice.
54736 * nis/rpcsvc/nis.x: Likewise.
54737 * nis/rpcsvc/nis_callback.h: Likewise.
54738 * nis/rpcsvc/nis_callback.x: Likewise.
54739 * nis/rpcsvc/nis_object.x: Likewise.
54740 * nis/rpcsvc/nis_tags.h: Likewise.
54741 * nis/rpcsvc/yp.h: Likewise.
54742 * nis/rpcsvc/yp.x: Likewise.
54743 * nis/rpcsvc/ypupd.h: Likewise.
54744 * nis/yp_xdr.c: Likewise.
54745 * nis/ypupdate_xdr.c: Likewise.
54746
2f3e3dc7
UD
54747 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
54748 mainly the body of pmap_getport. Add parameters to specify timeouts.
54749 (pmap_getport): Use __libc_rpc_getport.
54750 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
54751 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
54752 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
54753
f3dcc2f9
AS
547542010-08-31 Andreas Schwab <schwab@linux-m68k.org>
54755
54756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
54757 fanotify_mark.
54758
6d34eb5b
RM
547592010-08-27 Roland McGrath <roland@redhat.com>
54760
54761 * sysdeps/i386/i686/multiarch/Makefile
54762 (CFLAGS-varshift.c): New variable.
54763
9ea3de11
UD
547642010-08-27 Ulrich Drepper <drepper@redhat.com>
54765
c96d23fc
UD
54766 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
54767 * sysdeps/i386/i686/multiarch/varshift.c: New file.
54768
9ea3de11
UD
54769 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
54770
54771 * sysdeps/x86_64/strlen.S: Minimal code improvement.
54772
623aac7f
L
547732010-08-26 H.J. Lu <hongjiu.lu@intel.com>
54774
54775 * sysdeps/x86_64/strlen.S: Unroll the loop.
54776 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54777 strlen-sse2 strlen-sse2-bsf.
54778 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
54779 __strlen_no_bsf if bit_Slow_BSF is set.
54780 (__strlen_sse42): Removed.
54781 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
54782 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
54783
8b2b7715
RM
547842010-08-25 Roland McGrath <roland@redhat.com>
54785
54786 * sysdeps/x86_64/multiarch/varshift.S: File removed.
54787 * sysdeps/x86_64/multiarch/varshift.c: New file.
54788 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
54789 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
54790 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
54791 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
54792
e73015f2
L
547932010-08-25 H.J. Lu <hongjiu.lu@intel.com>
54794
54795 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54796 strlen-sse2 strlen-sse2-bsf.
54797 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
54798 __strlen_sse2_bsf if bit_Slow_BSF is unset.
54799 (__strlen_sse2): Removed.
54800 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
54801 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
54802 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
54803 bit_Slow_BSF for Atom.
54804 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
54805 (index_Slow_BSF): Define.
54806 (HAS_SLOW_BSF): Define.
54807
df24a73e
UD
548082010-08-25 Ulrich Drepper <drepper@redhat.com>
54809
54810 [BZ #10851]
54811 * resolv/res_init.c (__res_vinit): When no server address at all
54812 is given default to loopback.
54813
f2ac4868
RM
548142010-08-24 Roland McGrath <roland@redhat.com>
54815
09055553
RM
54816 * configure.in: Remove config-name.h generation.
54817 * configure: Regenerated.
54818 * config-name.in: File removed.
54819 * scripts/config-uname.sh: New file.
54820 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
54821 ($(objdir)config-name.h): New target.
54822
f2ac4868
RM
54823 * sunrpc/rpc_parse.h: Avoid nested comment.
54824
73f27d5e
RH
548252010-08-24 Richard Henderson <rth@redhat.com>
54826 Ulrich Drepper <drepper@redhat.com>
54827 H.J. Lu <hongjiu.lu@intel.com>
54828
54829 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
54830 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
54831 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
54832 Replace _mm_srli_si128 with __m128i_shift_right. Replace
54833 _mm_alignr_epi8 with _mm_loadu_si128.
54834 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
54835 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
54836 (__m128i_shift_right): Removed.
54837 * sysdeps/i386/i686/multiarch/varshift.h: New file.
54838 * sysdeps/i386/i686/multiarch/varshift.S: New file.
54839 * sysdeps/x86_64/multiarch/varshift.h: New file.
54840 * sysdeps/x86_64/multiarch/varshift.S: New file.
54841
84b9230c
MF
548422010-08-21 Mike Frysinger <vapier@gentoo.org>
54843
54844 * configure.in: Move assembler checks to before sysdep dir checking.
54845
9bbd0ddc
PB
548462010-08-20 Petr Baudis <pasky@suse.cz>
54847
54848 * LICENSES: Sync the sunrpc license.
54849
9da4bb31
UD
548502010-08-19 Ulrich Drepper <drepper@redhat.com>
54851
a7ab6ec8
UD
54852 * sunrpc/auth_des.c: Update copyright notice once again.
54853 * sunrpc/auth_none.c: Likewise.
54854 * sunrpc/auth_unix.c: Likewise.
54855 * sunrpc/authdes_prot.c: Likewise.
54856 * sunrpc/authuxprot.c: Likewise.
54857 * sunrpc/bindrsvprt.c: Likewise.
54858 * sunrpc/clnt_gen.c: Likewise.
54859 * sunrpc/clnt_perr.c: Likewise.
54860 * sunrpc/clnt_raw.c: Likewise.
54861 * sunrpc/clnt_simp.c: Likewise.
54862 * sunrpc/clnt_tcp.c: Likewise.
54863 * sunrpc/clnt_udp.c: Likewise.
54864 * sunrpc/clnt_unix.c: Likewise.
54865 * sunrpc/des_crypt.c: Likewise.
54866 * sunrpc/des_soft.c: Likewise.
54867 * sunrpc/get_myaddr.c: Likewise.
54868 * sunrpc/getrpcport.c: Likewise.
54869 * sunrpc/key_call.c: Likewise.
54870 * sunrpc/key_prot.c: Likewise.
54871 * sunrpc/openchild.c: Likewise.
54872 * sunrpc/pm_getmaps.c: Likewise.
54873 * sunrpc/pm_getport.c: Likewise.
54874 * sunrpc/pmap_clnt.c: Likewise.
54875 * sunrpc/pmap_prot.c: Likewise.
54876 * sunrpc/pmap_prot2.c: Likewise.
54877 * sunrpc/pmap_rmt.c: Likewise.
54878 * sunrpc/rpc/auth.h: Likewise.
54879 * sunrpc/rpc/auth_unix.h: Likewise.
54880 * sunrpc/rpc/clnt.h: Likewise.
54881 * sunrpc/rpc/des_crypt.h: Likewise.
54882 * sunrpc/rpc/key_prot.h: Likewise.
54883 * sunrpc/rpc/netdb.h: Likewise.
54884 * sunrpc/rpc/pmap_clnt.h: Likewise.
54885 * sunrpc/rpc/pmap_prot.h: Likewise.
54886 * sunrpc/rpc/pmap_rmt.h: Likewise.
54887 * sunrpc/rpc/rpc.h: Likewise.
54888 * sunrpc/rpc/rpc_des.h: Likewise.
54889 * sunrpc/rpc/rpc_msg.h: Likewise.
54890 * sunrpc/rpc/svc.h: Likewise.
54891 * sunrpc/rpc/svc_auth.h: Likewise.
54892 * sunrpc/rpc/types.h: Likewise.
54893 * sunrpc/rpc/xdr.h: Likewise.
54894 * sunrpc/rpc_clntout.c: Likewise.
54895 * sunrpc/rpc_cmsg.c: Likewise.
54896 * sunrpc/rpc_common.c: Likewise.
54897 * sunrpc/rpc_cout.c: Likewise.
54898 * sunrpc/rpc_dtable.c: Likewise.
54899 * sunrpc/rpc_hout.c: Likewise.
54900 * sunrpc/rpc_main.c: Likewise.
54901 * sunrpc/rpc_parse.c: Likewise.
54902 * sunrpc/rpc_parse.h: Likewise.
54903 * sunrpc/rpc_prot.c: Likewise.
54904 * sunrpc/rpc_sample.c: Likewise.
54905 * sunrpc/rpc_scan.c: Likewise.
54906 * sunrpc/rpc_scan.h: Likewise.
54907 * sunrpc/rpc_svcout.c: Likewise.
54908 * sunrpc/rpc_tblout.c: Likewise.
54909 * sunrpc/rpc_util.c: Likewise.
54910 * sunrpc/rpc_util.h: Likewise.
54911 * sunrpc/rpcinfo.c: Likewise.
54912 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
54913 * sunrpc/rpcsvc/key_prot.x: Likewise.
54914 * sunrpc/rpcsvc/klm_prot.x: Likewise.
54915 * sunrpc/rpcsvc/mount.x: Likewise.
54916 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
54917 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
54918 * sunrpc/rpcsvc/rex.x: Likewise.
54919 * sunrpc/rpcsvc/rstat.x: Likewise.
54920 * sunrpc/rpcsvc/rusers.x: Likewise.
54921 * sunrpc/rpcsvc/sm_inter.x: Likewise.
54922 * sunrpc/rpcsvc/spray.x: Likewise.
54923 * sunrpc/rpcsvc/yppasswd.x: Likewise.
54924 * sunrpc/rtime.c: Likewise.
54925 * sunrpc/svc.c: Likewise.
54926 * sunrpc/svc_auth.c: Likewise.
54927 * sunrpc/svc_authux.c: Likewise.
54928 * sunrpc/svc_raw.c: Likewise.
54929 * sunrpc/svc_run.c: Likewise.
54930 * sunrpc/svc_simple.c: Likewise.
54931 * sunrpc/svc_tcp.c: Likewise.
54932 * sunrpc/svc_udp.c: Likewise.
54933 * sunrpc/svc_unix.c: Likewise.
54934 * sunrpc/svcauth_des.c: Likewise.
54935 * sunrpc/xcrypt.c: Likewise.
54936 * sunrpc/xdr.c: Likewise.
54937 * sunrpc/xdr_array.c: Likewise.
54938 * sunrpc/xdr_float.c: Likewise.
54939 * sunrpc/xdr_mem.c: Likewise.
54940 * sunrpc/xdr_rec.c: Likewise.
54941 * sunrpc/xdr_ref.c: Likewise.
54942 * sunrpc/xdr_sizeof.c: Likewise.
54943 * sunrpc/xdr_stdio.c: Likewise.
54944
9da4bb31
UD
54945 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
54946 handling.
54947
bdaa77bc
AS
549482010-08-19 Andreas Schwab <schwab@redhat.com>
54949
54950 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
54951
fe2f79db
LM
549522010-08-19 Luis Machado <luisgpm@br.ibm.com>
54953
54954 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
54955 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
54956 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
54957 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
54958 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
54959 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
54960 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
54961 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
54962 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
54963 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
54964 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
54965 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
54966 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
54967 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
54968
b9b42ee0
AB
549692010-07-26 Anton Blanchard <anton@samba.org>
54970
54971 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
54972 * malloc/arena.c (heap_trim): Likewise.
54973
1c06ba31
UD
549742010-08-16 Ulrich Drepper <drepper@redhat.com>
54975
54976 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
54977 here. Not...
54978 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
54979 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
54980
f8392f40
L
549812010-08-12 H.J. Lu <hongjiu.lu@intel.com>
54982
54983 * sysdeps/i386/elf/Makefile: New file.
54984
3162f12e
AS
549852010-08-14 Andreas Schwab <schwab@linux-m68k.org>
54986
54987 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
54988 from fanotify_init.
54989 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
54990 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
54991
28c90b2c
UD
549922010-08-15 Ulrich Drepper <drepper@redhat.com>
54993
54994 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
54995 of strncasecmp_l.
1feccb6c 54996 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 54997
ca6bb004
UD
549982010-08-14 Ulrich Drepper <drepper@redhat.com>
54999
e9f82e0d
UD
55000 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
55001 strncase_l-nonascii.
55002 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
55003 Add strncase_l-ssse3.
55004 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
55005 * sysdeps/x86_64/strcmp.S: Likewise.
55006 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
55007 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
55008 * sysdeps/x86_64/strncase.S: New file.
55009 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
55010 * sysdeps/x86_64/strncase_l.S: New file.
55011 * string/Makefile (strop-tests): Add strncasecmp.
55012 * string/test-strncasecmp.c: New file.
55013
55014 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
55015 warning.
55016
ca6bb004
UD
55017 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
55018 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
55019
052fa7b3
AS
550202010-08-14 Andreas Schwab <schwab@linux-m68k.org>
55021
55022 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
55023
962dba78
UD
550242010-08-12 Ulrich Drepper <drepper@redhat.com>
55025
55026 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
55027 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
55028 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
55029
bebff237
AM
550302010-05-01 Alan Modra <amodra@gmail.com>
55031
55032 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
55033 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
55034 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
55035 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
55036 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
55037 tidying. Don't tail-call __sigjmp_save for static lib.
55038 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
55039 save location.
55040 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
55041 (CALL_MCOUNT): Add eh info, and nop after bl.
55042 (TAIL_CALL_SYSCALL_ERROR): New macro.
55043 (PSEUDO_RET): Use it.
55044 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
55045 Correct save location of integer regs and cr.
55046 (_dl_profile_resolve): Correct cr save location. Delete nops
55047 after bl when SHARED. Reduce cfi size a little by better
55048 placement of cfi directives.
55049 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
55050 make a stack frame. Instead use parm save area as a temp.
55051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
55052 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
55053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
55054 Don't make a stack frame for parent, use parm save area.
55055 Increase child stack frame to 112 bytes. Don't save unused reg,
55056 and adjust reg usage. Set up cfi on error recovery and
55057 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
55058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
55059 (__makecontext): Add dummy nop after jump to exit.
55060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
55061 Use correct parm save area and cr save, reduce stack frame.
55062 Correct cfi for possible PSEUDO_RET frame setup.
55063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
55064 Branch to local label emitted by PSEUDO_RET rather than
55065 __syscall_error.
55066
02637374
AS
550672010-08-12 Andreas Schwab <schwab@redhat.com>
55068
55069 [BZ #11904]
55070 * locale/programs/locale.c (print_assignment): New function.
55071 (show_locale_vars): Use it.
55072
c3e2f19b
UD
550732010-08-11 Ulrich Drepper <drepper@redhat.com>
55074
3cdaa6ad
UD
55075 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
55076 field.
55077 (struct statfs64): Likewise.
55078 (_STATFS_F_FLAGS): Define.
55079 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
55080 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55081 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
55082 (ST_VALID): Define locally.
55083 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
55084 __statvfs_getflags, use the provided value.
55085 * sysdeps/unix/sysv/linux/kernel-features.h: Define
55086 __ASSUME_STATFS_F_FLAGS.
55087
754f7da3
UD
55088 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
55089
10b3bedc
UD
55090 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
55091 Add sys/fanotify.h.
55092 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
55093 fanotify_mask for GLIBC_2.13.
55094 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
55095 fanotify_init and fanotify_mark.
55096 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
55097 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
55098
c08fb0d7
UD
55099 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
55100 Add prlimit.
55101 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
55102 prlimit64 for GLIBC_2.13.
55103 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
55104 prlimit64.
55105 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
55106 syscall.
55107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
55108 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55109 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
55110 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
55111 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
55112 add prlimit alias.
55113 * sysdeps/unix/sysv/linux/prlimit.c: New file.
55114
15bac72b
UD
55115 [BZ #11903]
55116 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
55117 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
55118
c3e2f19b
UD
55119 * nss/Makefile: Add rules to build and run tst-nss-test1.
55120 * shlib-versions: Add entry for libnss_test1.
55121 * nss/nss_test1.c: New file.
55122 * nss/tst-nss-test1.c: New file.
55123
55124 * nss/nsswitch.c (__nss_database_custom): Define new variable.
55125 (__nss_configure_lookup): Set appropriate entry in
55126 __nss_configure_lookup to true.
55127 * nss/nsswitch.h: Define enum with indeces of databases in
55128 databases and __nss_database_custom arrays. Declare
55129 __nss_database_custom.
55130 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
55131 to avoid using nscd when custom rules are installed.
55132 * nss/getXXbyYY_r.c: Likewise.
55133 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
55134
55135 * nss/nss_files/files-parse.c: Whitespace fixes.
55136
f15ce4d8
UD
551372010-08-09 Ulrich Drepper <drepper@redhat.com>
55138
55139 [BZ #11883]
55140 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
55141 * posix/fnmatch_loop.c: Likewise.
55142
d22e4cc9
AK
551432010-07-17 Andi Kleen <ak@linux.intel.com>
55144
55145 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
55146 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
55147 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
55148 * Versions.def [GLIBC_2.13]: Add.
55149
805bc17d
UD
551502010-08-06 Ulrich Drepper <drepper@redhat.com>
55151
55152 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55153 Also fail if tpwd after pwuid call is NULL.
55154
5a42321d
ST
551552010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
55156
55157 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
55158 when converting to ms.
55159
fd3ebeda
ST
551602010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
55161
55162 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
55163 EOPNOTSUPP errors with ENOTTY.
55164 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
55165 EOPNOTSUPP errors with ENOTTY.
55166
73507d3a
UD
551672010-07-31 Ulrich Drepper <drepper@redhat.com>
55168
55169 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
55170 Add strcasecmp_l-ssse3.
55171 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
55172 strcasecmp.
55173 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
55174 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
55175 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
55176
fe36dd02
UD
551772010-07-30 Ulrich Drepper <drepper@redhat.com>
55178
66f6765a
UD
55179 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
55180
42e08a54
UD
55181 * string/Makefile (strop-tests): Add strcasecmp.
55182 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
55183 strcasecmp_l-nonascii.
55184 (gen-as-const-headers): Add locale-defines.sym.
55185 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
55186 * sysdeps/x86_64/strcasecmp.S: New file.
55187 * sysdeps/x86_64/strcasecmp_l.S: New file.
55188 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
55189 * sysdeps/x86_64/locale-defines.sym: New file.
55190 * string/test-strcasecmp.c: New file.
55191
fe36dd02
UD
55192 * string/test-strcasestr.c: Test both ends of the range of characters.
55193 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
55194
48cbc0d6
RM
551952010-07-29 Roland McGrath <roland@redhat.com>
55196
76e6d6bc 55197 [BZ #11856]
48cbc0d6
RM
55198 * manual/locale.texi (Yes-or-No Questions): Fix example code.
55199
880113d9
UD
552002010-07-27 Ulrich Drepper <drepper@redhat.com>
55201
55202 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
55203 for ld.so.
55204
deb9cabb
AS
552052010-07-27 Andreas Schwab <schwab@redhat.com>
55206
55207 * manual/memory.texi (Malloc Tunable Parameters): Document
55208 M_PERTURB.
55209
1c7570ff
RM
552102010-07-26 Roland McGrath <roland@redhat.com>
55211
55212 [BZ #11840]
55213 * configure.in (-fgnu89-inline check): Set and substitute
55214 gnu89_inline, not libc_cv_gnu89_inline.
55215 * configure: Regenerated.
55216 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
55217
24fb0f88
UD
552182010-07-26 Ulrich Drepper <drepper@redhat.com>
55219
55220 * string/test-strnlen.c: New file.
55221 * string/Makefile (strop-tests): Add strnlen.
55222 * string/tester.c (test_strnlen): Add a few more test cases.
55223 * string/tst-strlen.c: Better error reporting.
55224
55225 * sysdeps/x86_64/strnlen.S: New file.
55226
8e96b93a
UD
552272010-07-24 Ulrich Drepper <drepper@redhat.com>
55228
55229 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
55230 lower-latency instructions.
55231
dbc676d4
UD
552322010-07-23 Ulrich Drepper <drepper@redhat.com>
55233
55234 * string/test-strcasestr.c: New file.
55235 * string/test-strstr.c: New file.
55236 * string/Makefile (strop-tests): Add strstr and strcasestr.
55237 * string/str-two-way.h: Don't undefine MAX.
55238 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
55239
f6a31e0e
AS
552402010-07-21 Andreas Schwab <schwab@redhat.com>
55241
55242 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55243 strcasestr-nonascii.
55244 (CFLAGS-strcasestr-nonascii.c): Define.
55245 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
55246 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
55247 Remove unused attribute.
55248
5dbc3b6c
RM
552492010-07-20 Roland McGrath <roland@redhat.com>
55250
55251 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
55252 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
55253 ld.so.cache was broken. With it, there is no way to disable dsocaps
55254 like LD_HWCAP_MASK can disable hwcaps.
55255
23d101d8
EPM
552562010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
55257
55258 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
55259
cc9f2e47
UD
552602010-07-16 Ulrich Drepper <drepper@redhat.com>
55261
55262 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
55263 call in strcasestr.
55264 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
55265 __strcasestr_sse42_nonascii.
55266 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
55267 strcasestr-nonascii.c.
55268 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
55269
77c1b069
LM
552702010-06-15 Luis Machado <luisgpm@br.ibm.com>
55271
55272 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
55273 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
55274 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
55275 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
55276
440566c3
UD
552772010-07-09 Ulrich Drepper <drepper@redhat.com>
55278
55279 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
55280 fcntl.
55281
5be9d05d
AS
552822010-07-06 Andreas Schwab <schwab@redhat.com>
55283
c30b7ee2 55284 [BZ #11577]
5be9d05d
AS
55285 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
55286 dl_signal_cerror.
55287
8a492a67
UD
552882010-07-06 Ulrich Drepper <drepper@redhat.com>
55289
55290 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
55291 _PC_PIPE_BUF using F_GETPIPE_SZ.
55292
713df3d5
RM
552932010-07-05 Roland McGrath <roland@redhat.com>
55294
55295 * manual/arith.texi (Rounding Functions): Fix rint description
55296 implicit in round description.
55297
702e8f14
UD
552982010-07-02 Ulrich Drepper <drepper@redhat.com>
55299
55300 * elf/Makefile: Fix linking for a few tests to make recent linker
55301 happy.
55302
52ed8be9
AS
553032010-06-30 Andreas Schwab <schwab@redhat.com>
55304
55305 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
55306 $(common-objpfx)libc_nonshared.a.
55307
f47c9a11
LM
553082010-06-21 Luis Machado <luisgpm@br.ibm.com>
55309
55310 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
55311 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
55312 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55313 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55314 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
55315 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
55316 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55317 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
55318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
55319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
55320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
55321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
55323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
55325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
55326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
55327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
55328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
55330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
55331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
55332 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
55333 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
55334 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
55335 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
55336 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
55337 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
55338 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
55339 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
55340 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
55341 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
55342 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
55343 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
55344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
55345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
55346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
55347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
55348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
55349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
55350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
55351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
55352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
55353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
55354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
55355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
55356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
55357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
55358
6fb8cbcb
L
553592010-06-25 H.J. Lu <hongjiu.lu@intel.com>
55360
55361 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
55362 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
55363 * string/memmove.c (memmove): Renamed to ...
55364 (MEMMOVE): ...this. Default to memmove.
55365 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
55366 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
55367 (END_CHK): Define.
55368 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55369 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
55370 mempcpy-ssse3-back memmove-ssse3-back.
55371 * sysdeps/x86_64/multiarch/bcopy.S: New file .
55372 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
55373 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
55374 * sysdeps/x86_64/multiarch/memcpy.S: New file.
55375 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
55376 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
55377 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
55378 * sysdeps/x86_64/multiarch/memmove.c: New file.
55379 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
55380 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
55381 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
55382 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
55383 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
55384 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
55385 Define.
55386 (index_Fast_Copy_Backward): Define.
55387 (HAS_ARCH_FEATURE): Define.
55388 (HAS_FAST_REP_STRING): Define.
55389 (HAS_FAST_COPY_BACKWARD): Define.
55390
4e733bac 553912010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
55392
55393 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55394 Restore proper fallback handling.
55395
63c4ed22
UD
553962010-06-19 Ulrich Drepper <drepper@redhat.com>
55397
ac2b484c
UD
55398 [BZ #11701]
55399 * posix/group_member.c (__group_member): Correct checking loop.
55400
63c4ed22
UD
55401 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
55402 OOM in getpwuid_r correctly. Return error number when the caller
55403 should return, otherwise -1.
55404 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
55405 call returning > 0 value.
55406 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
55407
765ade4b
AS
554082010-06-07 Andreas Schwab <schwab@redhat.com>
55409
55410 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
55411 libc_nonshared.a from targets in modules-names.
55412
80da2e09
KS
554132010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
55414
55415 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
55416 requires it.
55417
158db122
LM
554182010-06-10 Luis Machado <luisgpm@br.ibm.com>
55419
55420 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
55421 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
55422 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
55423 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
55424
caa78cf8
AS
554252010-06-02 Andreas Schwab <schwab@redhat.com>
55426
55427 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
55428
b2ef2c01
UD
554292010-06-14 Ulrich Drepper <drepper@redhat.com>
55430
55431 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
55432 and F_GETPIPE_SZ.
55433 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
55434 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55435 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55436 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55437 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55438 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
55439
fbd643b6
RM
554402010-06-14 Roland McGrath <roland@redhat.com>
55441
55442 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
55443
f32f2869
JJ
554442010-06-07 Jakub Jelinek <jakub@redhat.com>
55445
55446 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
55447 __REDIRECT followed by __THROW.
55448 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
55449 * posix/getopt.h (getopt): Likewise.
55450
2a50c078
EPM
554512010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
55452
55453 * hurd/lookup-at.c (__file_name_lookup_at): Accept
55454 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
55455 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
55456 in AT_FLAGS.
55457 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
55458 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
55459
eb5ad2eb
LM
554602010-05-28 Luis Machado <luisgpm@br.ibm.com>
55461
55462 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
55463
3c88fe1e
L
554642010-05-26 H.J. Lu <hongjiu.lu@intel.com>
55465
55466 [BZ #11640]
55467 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55468 Properly check family and model.
55469
d2f73151
TY
554702010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
55471
55472 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
55473
ebd2e13d
LM
554742010-05-24 Luis Machado <luisgpm@br.ibm.com>
55475
55476 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
55477
b32b8b45
UD
554782010-05-21 Ulrich Drepper <drepper@redhat.com>
55479
55480 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
55481 symbol reference.
55482
9acbe24d
AS
554832010-05-19 Andreas Schwab <schwab@redhat.com>
55484
55485 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
55486 symbol reference.
55487
f0ccf6ea
AS
554882010-05-21 Andreas Schwab <schwab@redhat.com>
55489
3d04ff3a
AS
55490 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
55491 and internal_recvmmsg.
55492 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
55493 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
55494 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
55495 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
55496
f0ccf6ea
AS
55497 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
55498 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
55499 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
55500
5b08ac57
AS
555012010-05-20 Andreas Schwab <schwab@redhat.com>
55502
55503 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
55504
4828935d
LM
555052010-05-17 Luis Machado <luisgpm@br.ibm.com>
55506
55507 POWER7 optimizations.
55508 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
55509 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
55510
373d545e
UD
555112010-05-19 Ulrich Drepper <drepper@redhat.com>
55512
55513 * version.h: Update for 2.13 development version.
55514
21a2b1ae
AS
555152010-05-12 Andrew Stubbs <ams@codesourcery.com>
55516
55517 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
55518 exceptions. Return 0.
55519
3f7dcb2b
RM
555202010-05-07 Roland McGrath <roland@redhat.com>
55521
55522 * elf/ldconfig.c (main): Add a const.
55523
5f24d53a 555242010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 55525
a160f8d8
UD
55526 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
55527 (args_options): Add no-idn option.
55528 (ahosts_keys_int): Add idn_flags to ai_flags.
55529 (parse_option): Handle 'i' option to clear idn_flags.
55530
5f24d53a
UD
55531 * malloc/malloc.c (_int_free): Possible race in the most recently
55532 added check. Only act on the data if no current modification
55533 happened.
265bb1ce
UD
55534
55535See ChangeLog.17 for earlier changes.