]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
powerpc: abort transaction in syscalls
[thirdparty/glibc.git] / ChangeLog
CommitLineData
8d2c0a59
AZ
12014-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2
56cf2763
AZ
3 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
4 (TLS_INIT_TP): Add tm_capable initialization.
5 (TLS_DEFINE_INIT_TP): Likewise.
6 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
7 TCB.
8 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
9 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
10 calculation.
11 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
12 transactoion is lock elision is built and TCB tm_capable is set.
13 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
14 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15 (INTERNAL_SYSCALL_NCS): Likewise.
16 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17 (INTERNAL_SYSCALL_NCS): Likewise.
18 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
19
4b45943a
AZ
20 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
21 for powerpc.
22 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
23 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
24 and remove it for 32 bits case.
25 [pthread_rwlock_t] (__rwelision): New field for lock elision.
26 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
27 initialization.
28 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
29 Disable lock elision with rdlocks if elision is not available.
30
8d2c0a59
AZ
31 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
32 (sysdep_routines): Add lock elision objects.
33 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
34 [pthread_mutex_t] (__spins): Rework to add lock elision field.
35 [pthread_mutex_t] (__elision): Add field.
36 [__PTHREAD_SPINS]: Adjust to init lock elision field.
37 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
38 elision definitions for powerpc.
39 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
40 implementation of lock elision for powerpc.
41 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
42 implementation of timed lock elision for powerpc.
43 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
44 implementation of trylock with lock elision for powerpc.
45 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
46 implementaion of unlock for lock elision for powerpc.
47 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
48 automatic enable lock elision for mutexes.
49 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
50 transaction execution definitions for powerpc.
51 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
52 definitions.
53 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
54 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
55 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
56 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
57 * NEWS: Update.
58
bc0ed9f7
RM
592015-01-09 Roland McGrath <roland@hack.frob.com>
60
61 * sysdeps/posix/shm-directory.c: Use <> rather than ""
62 for #include of <shm-directory.h>.
63
585d9c18
CLT
642015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
65
66 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
67 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
68
aee6626c
MF
692015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
70
71 [BZ #17791]
72 * NEWS: Mention bug fix.
73 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
74 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
75 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
76
9e560f48
TR
772015-01-09 Torvald Riegel <triegel@redhat.com>
78
79 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
80
e1cfbd0c
TR
812015-01-09 Torvald Riegel <triegel@redhat.com>
82
83 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
84
cf71e44f
DH
852015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
86
87 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
88 pointer and cast to uintptr_t.
89
b360ee62
DH
902015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
91
92 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
93 removed.
94 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
95
caff764e
DH
962015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
97
98 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
99 of 0.
100
59ff172f
RM
1012015-01-08 Roland McGrath <roland@hack.frob.com>
102
c97d27f1
RM
103 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
104 <nptl/pthreadP.h> instead.
105 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
106
08734ccd
RM
107 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
108 already defined.
109 [__SIGRTMIN] (init): Function removed.
110 [__SIGRTMIN] (initialized): Variable removed.
111 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
112 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
113 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
114 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
115 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
116 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
117 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
118 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
119 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
120 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
121 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
122 * sysdeps/nptl/allocrtsig.c: New file.
123 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
124 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
125 * sysdeps/generic/testrtsig.h: File removed.
126
7b052e33
RM
127 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
128 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
129
cc40d25e
RM
130 * nptl/nptl-init.c (pthread_functions): Conditionalize
131 .ptr__nptl_setxid initialization on [SIGSETXID].
132
9287adf0
RM
133 * sysdeps/nptl/sys/procfs.h: New file.
134 * nptl_db/Makefile (headers): Add it.
135 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
136
59ff172f
RM
137 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
138 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
139 * nptl/pthread_attr_setaffinity.c: Include it.
140 * nptl/pthread_setattr_default_np.c: Likewise.
141 * nptl/check-cpuset.h: New file.
142
b9205857
RH
1432015-01-08 Richard Henderson <rth@redhat.com>
144
145 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
146 (CFLAGS-tst-execstack-prog.c): Likewise.
147 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
148
1a0a8d15
CLT
1492015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
150 Sandra Loosemore <sandra@codesourcery.com>
151 Andrew Jenner <andrew@codesourcery.com>
152 Joseph Myers <joseph@codesourcery.com>
153 Nathan Sidwell <nathan@codesourcery.com>
154
155 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
156 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
157 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
158 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
159 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
160 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
161 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
162 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
163 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
164 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
165 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
166 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
167 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
168 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
169 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
170 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
171 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
172
dd6e8af6
AZ
1732015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
174
175 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
176 timespec struct member in syscall macro.
177 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
178 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
179 first timeval struct member in syscall macro.
180 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
181
8116321f
JM
1822015-01-07 Joseph Myers <joseph@codesourcery.com>
183
184 [BZ #17748]
185 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
186 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
187 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
188 __feupdateenv and define as weak alias of __feupdateenv. Use
189 libm_hidden_weak.
190 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
191 libm_hidden_def.
192 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
193 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
194 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
195 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
196 libm_hidden_def.
197 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
198 __feupdateenv and define as weak alias of __feupdateenv. Use
199 libm_hidden_weak.
200 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
201 libm_hidden_def.
202 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
203 __feupdateenv and define as weak alias of __feupdateenv. Use
204 libm_hidden_weak.
205 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
206 libm_hidden_def.
207 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
208 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
209 (__feupdateenv): Likewise.
210 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
211 __feupdateenv and define as weak alias of __feupdateenv. Use
212 libm_hidden_weak.
213 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
214 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
215 libm_hidden_def.
216 * sysdeps/tile/math_private.h (__feupdateenv): New inline
217 function.
218 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
219 libm_hidden_def.
220 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
221 __feupdateenv instead of feupdateenv.
222 (default_libc_feupdateenv_test): Likewise.
223 (libc_feresetround_ctx): Likewise.
224
882dfe18
AZ
2252015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
226
227 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
228 prototype.
229
39a12f8d
CM
2302015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
231
232 * posix/regcomp.c (parse_bracket_exp): Initialize type to
233 COLL_SYM in a couple of places to avoid uninitialized variable
234 wanings on tilegx gcc 4.8.2.
235
dc400d7b
RE
2362015-01-07 Richard Earnshaw <rearnsha@arm.com>
237
238 * sysdeps/aarch64/strcpy.S: New file.
239 * sysdeps/aarch64/stpcpy.S: New file.
240 * NEWS: Updated.
241
ec582ca0
RE
2422015-01-07 Richard Earnshaw <rearnsha@arm.com>
243
244 * sysdeps/aarch64/strrchr.S: New file.
245 * NEWS: Updated.
246
d5b1c5ed
EB
2472015-01-07 Eric Biggers <ebiggers3@gmail.com>
248
249 [BZ #17658]
250 * stdlib/setenv.c: Fix memory leak when setting large,
251 duplicate string.
252
fb87ee96
VN
2532015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
254
60f046a8 255 [BZ #17273]
fb87ee96
VN
256 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
257 and tabs from buffer before parsing fstab entry.
258 * misc/tst-mntent.c (main): Add test for mount entry with
259 trailing spaces and tabs.
260
cd42798a
JM
2612015-01-06 Joseph Myers <joseph@codesourcery.com>
262
01238691
JM
263 [BZ #17748]
264 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
265 * math/fesetround.c (fesetround): Rename to __fesetround and
266 define as weak alias of __fesetround. Use libm_hidden_weak.
267 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
268 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
269 * sysdeps/arm/fesetround.c (fesetround): Likewise.
270 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
271 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
272 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
273 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
274 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
275 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
276 __fesetround_inline.
277 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
278 __fesetround_inline instead of __fesetround.
279 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
280 __fesetround and define as weak alias of __fesetround. Use
281 libm_hidden_weak. Call __fesetround_inline instead of
282 __fesetround.
283 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
284 __fesetround and define as weak alias of __fesetround. Use
285 libm_hidden_weak.
286 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
287 Likewise.
288 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
289 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
290 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
291 * sysdeps/tile/math_private.h (__fesetround): New inline function.
292 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
293 __fesetround and define as weak alias of __fesetround. Use
294 libm_hidden_weak.
295 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
296 __fesetround instead of fesetround.
297 (default_libc_feholdexcept_setround): Likewise.
298 (libc_feholdsetround_ctx): Likewise.
299 (libc_feholdsetround_noex_ctx): Likewise.
300
cd42798a
JM
301 [BZ #17748]
302 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
303 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
304 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
305 and define as weak alias of __fesetenv. Use libm_hidden_weak.
306 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
307 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
308 define as weak alias of __fesetenv. Use libm_hidden_weak.
309 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
310 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
311 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
312 define as weak alias of __fesetenv. Use libm_hidden_weak.
313 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
314 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
315 define as weak alias of __fesetenv. Use libm_hidden_weak.
316 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
317 libm_hidden_def.
318 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
319 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
320 Likewise.
321 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
322 define as weak alias of __fesetenv. Use libm_hidden_weak.
323 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
324 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
325 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
326 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
327 and define as weak alias of __fesetenv. Use libm_hidden_weak.
328 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
329 __fesetenv instead of fesetenv.
330 (libc_feresetround_noex_ctx): Likewise.
331 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
332 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
333 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
334 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
335 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
336 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
337 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
338 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
339 (__feupdateenv): Likewise.
340 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
341 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
342 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
343 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
344
38949026
AJ
3452015-01-06 Aurelien Jarno <aurelien@aurel32.net>
346
1cf98e27 347 [BZ #17806]
38949026
AJ
348 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
349 addresses have been freed.
350
5fe55e9c
AJ
3512015-01-06 Aurelien Jarno <aurelien@aurel32.net>
352
353 * resolv/res_init.c (__res_vinit): Improve comments about nserv
354 and nservall.
355
dc8ab018
OB
3562015-01-06 Ondřej Bílka <neleai@seznam.cz>
357
358 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
359 Clean up check_pf allocation pattern. addresses
360
14bb4e57
AZ
3612015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
362
363 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
364 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
365 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
366 * nptl/pthread_exit.c (__pthread_exit): Likewise.
367 * nptl/pthread_join.c (pthread_join): Likewise.
368 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
369 * sysdeps/posix/waitid.c (__waitid): Likewise.
370 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
371 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
372 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
373 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
374 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
375 Likewise.
376 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
377 (__libc_pread64): Likewise.
378 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
379 (__libc_pwrite): Likewise.
380 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
381 (__libc_pwrite64): Likewsie.
382 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
383 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
384 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
385 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
386 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
387 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
388 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
390 Likewise.
391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
392 (__libc_pread64): Likewise.
393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
394 Likewise.
395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
396 (__libc_pwrite64): Likewise.
397 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
398 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
399 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
400 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
401 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
402 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
403 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
404 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
405 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
406 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
407 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
408 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
409 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
410 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
411 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
412 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
413 Likewise.
414
10a5e112
AS
4152015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
416
417 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
418 (CFLAGS-test-double.c): Likewise.
419 (CFLAGS-test-ldouble.c): Likewise.
420 (CPPFLAGS-test-ifloat.c): Likewise.
421 (CPPFLAGS-test-idouble.c): Likewise.
422 (CPPFLAGS-test-ildoubl.c): Likewise.
423 (CFLAGS-test-test-fenv.c): Remove variable.
424 (CFLAGS-test-misc.c): Likewise.
425
57ada0e7
L
4262015-01-06 H.J. Lu <hongjiu.lu@intel.com>
427
428 [BZ #17797]
429 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
430 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
431 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
432 CLOCKS_PER_SEC == 1000000.
433 * time/clocktest.c (main): Replace %ld with %jd and cast to
434 intmax_t.
435
46abb64d
RM
4362015-01-05 Roland McGrath <roland@hack.frob.com>
437
438 * sysdeps/generic/unwind-resume.h: New file.
439 * sysdeps/gnu/unwind-resume.c: Include it.
440 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
441 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
442 argument list.
443 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
444 global rather than static.
445 (_Unwind_Resume): Update user.
446 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
447 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
448 rather than static. Add __attribute__ ((cold)).
449 (_Unwind_Resume, __gcc_personality_v0): Update callers.
450 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
451 * sysdeps/arm/arm-unwind-resume.S: New file.
452 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
453 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
454 * sysdeps/arm/Makefile [$(subdir) = csu]
455 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
456 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
457 Add rt-arm-unwind-resume.
458 [$(subdir) = nptl]
459 (libpthread-sysdep_routines, libpthread-shared-only-routines):
460 Add pt-arm-unwind-resume.
461 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
462 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
463
ef9faf13
JM
4642015-01-05 Joseph Myers <joseph@codesourcery.com>
465
466 [BZ #17748]
467 * include/fenv.h (__feholdexcept): Declare. Use
468 libm_hidden_proto.
469 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
470 define as weak alias of __feholdexcept. Use libm_hidden_weak.
471 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
472 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
473 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
474 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
475 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
476 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
477 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
478 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
479 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
480 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
481 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
482 (feholdexcept): Likewise.
483 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
484 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
485 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
486 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
487 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
488 __feholdexcept instead of feholdexcept.
489 (default_libc_feholdexcept_setround): Likewise.
490
295a453e
SE
4912015-01-05 Steve Ellcey <sellcey@imgtec.com>
492
493 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
494 to avoid using stl/str to align destination.
495
882c4b9f
SE
4962015-01-05 Steve Ellcey <sellcey@imgtec.com>
497
498 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
499
ac4c11f5
JM
5002015-01-05 Joseph Myers <joseph@codesourcery.com>
501
502 [BZ #17796]
503 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
504 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
505 Define as weak alias not strong alias.
506
03403e30
SE
5072015-01-05 Steve Ellcey <sellcey@imgtec.com>
508
509 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
510 bltzal with addiupc.
511 (RTLD_START): Ditto.
512
1dca195e
CM
5132015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
514
7ea793f3
CM
515 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
516 for __vdso_* functions in declarations.
517 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
518 definitions.
519 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
520 INTERNAL_VSYSCALL): Use struct return types to check for error.
521
1dca195e
CM
522 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
523 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
524 function with cast from llround().
525 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
526 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
527 Define.
528
a287953a
JM
5292015-01-05 Joseph Myers <joseph@codesourcery.com>
530
ab70da77
JM
531 [BZ #17793]
532 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
533 Define as weak alias not strong alias.
534
b8986484
JM
535 [BZ #17635]
536 * ctype/ctype-c99.c: New file. isblank implementation moved from
537 ...
538 * ctype/ctype-extn.c: ... here.
539 (__isblank_l): Move to ...
540 * ctype/ctype-c99_l.c: ... here. New file.
541 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
542 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
543 Remove variable.
544 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
545 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
546 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
547 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
548 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
549
a287953a
JM
550 [BZ #17777]
551 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
552 (posix_fadvise64): Define as weak alias not strong alias.
553 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
554 (posix_fallocate64): Likewise.
555 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
556 Remove variable.
557 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
558 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
559 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
560 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
561 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
562
b1efe3bb
MF
5632015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
564
565 [BZ #16191]
566 * NEWS: Mention bug fix.
567 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
568 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
569 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
570 (HOST_STACK_END_ADDR): Likewise.
571
9706dc5f
JM
5722015-01-02 Joseph Myers <joseph@codesourcery.com>
573
b93c2205
JM
574 [BZ #17748]
575 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
576 * math/fegetround.c (fegetround): Rename to __fegetround and
577 define as weak alias of __fegetround. Use libm_hidden_weak.
578 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
579 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
580 * sysdeps/arm/fegetround.c (fegetround): Likewise.
581 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
582 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
583 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
584 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
585 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
586 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
587 Undefine after rather than before function definition; use
588 parentheses around function name in definition.
589 (__fegetround): Also undefine macro after function definition.
590 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
591 __fegetround and define as weak alias of __fegetround. Use
592 libm_hidden_weak. Do not undefine as macro.
593 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
594 Likewise.
595 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
596 __fegetround and define as weak alias of __fegetround. Use
597 libm_hidden_weak.
598 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
599 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
600 * sysdeps/tile/math_private.h (__fegetround): New inline function.
601 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
602 __fegetround and define as weak alias of __fegetround. Use
603 libm_hidden_weak.
604 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
605 __fegetround instead of fegetround.
606
253a59cc
JM
607 [BZ #17782]
608 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
609 Condition macro definition on [__USE_MISC].
610
27dae011
JM
611 [BZ #17781]
612 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
613 (struct sigaction): Change type of sa_flags field to int.
614
172019c0
JM
615 [BZ #17780]
616 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
617 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
618 __glibc_reserved0.
619
522ad1d6
JM
620 * nptl/version.c (banner): Use single year in copyright notice.
621
9706dc5f
JM
622 * NEWS: Update copyright dates.
623 * catgets/gencat.c (print_version): Likewise.
624 * csu/version.c (banner): Likewise.
625 * debug/catchsegv.sh: Likewise.
626 * debug/pcprofiledump.c (print_version): Likewise.
627 * debug/xtrace.sh (do_version): Likewise.
628 * elf/ldconfig.c (print_version): Likewise.
629 * elf/ldd.bash.in: Likewise.
630 * elf/pldd.c (print_version): Likewise.
631 * elf/sotruss.sh: Likewise.
632 * elf/sprof.c (print_version): Likewise.
633 * iconv/iconv_prog.c (print_version): Likewise.
634 * iconv/iconvconfig.c (print_version): Likewise.
635 * locale/programs/locale.c (print_version): Likewise.
636 * locale/programs/localedef.c (print_version): Likewise.
637 * login/programs/pt_chown.c (print_version): Likewise.
638 * malloc/memusage.sh (do_version): Likewise.
639 * malloc/memusagestat.c (print_version): Likewise.
640 * malloc/mtrace.pl: Likewise.
641 * manual/libc.texinfo: Likewise.
642 * nptl/version.c (banner): Likewise.
643 * nscd/nscd.c (print_version): Likewise.
644 * nss/getent.c (print_version): Likewise.
645 * nss/makedb.c (print_version): Likewise.
646 * posix/getconf.c (main): Likewise.
647 * scripts/test-installation.pl: Likewise.
648 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
649
b8607aac
WN
6502015-01-02 Will Newton <will.newton@linaro.org>
651
652 * sysdeps/arm/armv7/configure: Removed.
653 * sysdeps/arm/armv7/configure.ac: Likewise.
654
b168057a
JM
6552015-01-02 Joseph Myers <joseph@codesourcery.com>
656
657 * All files with FSF copyright notices: Update copyright dates
658 using scripts/update-copyrights.
659 * intl/plural.c: Regenerated.
660 * locale/programs/charmap-kw.h: Likewise.
661 * locale/programs/locfile-kw.h: Likewise.
662
b217c15f
SP
6632015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
664
665 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
666
73a268c7
JM
6672014-12-31 Joseph Myers <joseph@codesourcery.com>
668
669 [BZ #17748]
670 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
671 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
672 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
673 and define as weak alias of __fegetenv. Use libm_hidden_weak.
674 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
675 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
676 define as weak alias of __fegetenv. Use libm_hidden_weak.
677 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
678 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
679 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
680 define as weak alias of __fegetenv. Use libm_hidden_weak.
681 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
682 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
683 define as weak alias of __fegetenv. Use libm_hidden_weak.
684 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
685 libm_hidden_def.
686 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
687 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
688 Likewise.
689 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
690 define as weak alias of __fegetenv. Use libm_hidden_weak.
691 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
692 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
693 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
694 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
695 and define as weak alias of __fegetenv. Use libm_hidden_weak.
696 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
697 __fegetenv instead of fegetenv.
698 (libc_feholdsetround_noex_ctx): Likewise.
699
0bd95672
MF
7002014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
701
702 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
703 (Elf_MIPS_ABIFlags_v0): New structure.
704 (EF_MIPS_FP64): Define.
705 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
706 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
707 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
708 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
709 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
710 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
711 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
712 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
713 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
714 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
715 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
716 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
717 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
718 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
719 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
720 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
721 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
722 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
723 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
724 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
725 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
726 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
727 field.
728 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
729 EF_MIPS_FP64.
730 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
731 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
732 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
733 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
734 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
735 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
736 * sysdeps/mips/tst-abi-interlink.c: Likewise.
737 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
738 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
739 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
740 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
741 record the current FP ABI extension.
742 (mips-mode-switch): Define to show if kernel headers support mode
743 switching.
744 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
745 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
746 supported SYSV ABI version to 3.
747 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
748 feature.
749
f59ad976
RS
7502014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
751 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
752
753 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
754 path.
755 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
756
4a3d3999
JM
7572014-12-31 Joseph Myers <joseph@codesourcery.com>
758
759 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
760 __fegetround and redefine to call __fegetround. Remove condition
761 on [!__NO_MATH_INLINES].
762 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
763 function.
764 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
765 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
766 Remove macro.
767 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
768 instead of <fenv_libc.h>.
769 (__llrintl): Call fegetround instead of __fegetround.
770 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
771 instead of <fenv_libc.h>.
772 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
773 (__lrintl): Call fegetround instead of __fegetround.
774 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
775 instead of <fenv_libc.h>.
776 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
777 (__rintl): Call fegetround instead of __fegetround.
778
195f3afc
SP
7792014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
780
781 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
782 arrays.
783
7062bd42
L
7842014-12-30 H.J. Lu <hongjiu.lu@intel.com>
785
786 [BZ #17775]
787 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
788 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
789 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
790
07256e18
AS
7912014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
792
793 * sysdeps/i386/tls-macros.h: Include <features.h>.
794 (TLS_LE): Use non-PIC version for GCC >= 5.0.
795 (TLS_IE): Likewise.
796 (TLS_LD): Likewise.
797 (TLS_GD): Likewise.
798 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
799 define for GCC >= 5.0.
800
1ff950ad
CM
8012014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
802
803 * math/test-fenv.c (test_single_exception, set_single_exc,
804 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
805 feexcp_mask_test, feenable_test, fe_single_test): Add
806 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
807 case where they are not used.
808 * math/libm-test.inc: Likewise.
809 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
810 unused in the absence of FP rounding/exception support.
811 * stdio-common/tst-printf-round.c: Likewise.
812 * stdlib/tst-strtod-round.c: Likewise.
813 * stdlib/tst-strtod-underflow.c: Likewise.
814
0747f818
JM
8152014-12-30 Joseph Myers <joseph@codesourcery.com>
816
817 [BZ #17723]
818 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
819 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
820 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
821 __feraiseexcept and define as weak alias of __feraiseexcept. Use
822 libm_hidden_weak.
823 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
824 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
825 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
826 libm_hidden_def.
827 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
828 __feraiseexcept and define as weak alias of __feraiseexcept. Use
829 libm_hidden_weak.
830 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
831 Likewise.
832 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
833 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
834 __feraiseexcept and define as weak alias of __feraiseexcept. Use
835 libm_hidden_weak.
836 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
837 libm_hidden_def.
838 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
839 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
840 (__feraiseexcept): Likewise.
841 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
842 __feraiseexcept and define as weak alias of __feraiseexcept. Use
843 libm_hidden_weak.
844 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
845 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
846 libm_hidden_def.
847 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
848 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
849 Use libm_hidden_def.
850 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
851 libm_hidden_def.
852 (feraiseexcept): Define as weak not strong alias. Use
853 libm_hidden_weak.
854 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
855 New inline function. Factored out of ...
856 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
857 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
858 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
859 feraiseexcept.
860 * math/w_acos.c (__acos): Likewise.
861 * math/w_asin.c (__asin): Likewise.
862 * math/w_ilogb.c (__ilogb): Likewise.
863 * math/w_j0.c (y0): Likewise.
864 * math/w_j1.c (y1): Likewise.
865 * math/w_jn.c (yn): Likewise.
866 * math/w_log.c (__log): Likewise.
867 * math/w_log10.c (__log10): Likewise.
868 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
869 * sysdeps/aarch64/fpu/math_private.h
870 (libc_feupdateenv_test_aarch64): Likewise.
871 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
872 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
873 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
874 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
875 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
876 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
877 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
878 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
879 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
880 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
881
8d2b2763
L
8822014-12-30 H.J. Lu <hongjiu.lu@intel.com>
883
884 [BZ #17732]
885 * io/test-utime.c (main): Replace %ld with %jd and cast to
886 intmax_t.
41fad830 887 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
e401d5ca
L
888 * nptl/tst-mutex5.c: Include <stdint.h>.
889 (do_test): Replace %ld with %jd and cast to intmax_t.
6490d945
L
890 * posix/tst-regex.c (run_test): Likewise.
891 (run_test_backwards): Likewise.
5d619de4
L
892 * rt/tst-clock.c: Include <stdint.h>.
893 (clock_test): Replace %ld with %jd and cast to intmax_t.
894 * rt/tst-cpuclock1.c: Include <stdint.h>.
895 (do_test): Replace %lu with %ju and cast to uintmax_t.
896 * rt/tst-cpuclock2.c: Include <stdint.h>.
897 (do_test): Replace %lu with %ju and cast to uintmax_t.
898 * rt/tst-mqueue1.c: Include <stdint.h>.
899 (check_attrs): Replace %ld with %jd and cast to intmax_t.
900 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
901 intmax_t.
902 * rt/tst-mqueue4.c (do_test): Likewise.
903 * rt/tst-timer4.c: Include <stdint.h>.
904 (check_ts): Replace %ld with %jd and cast to intmax_t.
905 (do_test): Likewise.
ad86fbc3
L
906 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
907 and cast to intmax_t.
37f46900 908 * sysdeps/pthread/tst-timer.c (main): Likewise.
fe342f50
L
909 * time/clocktest.c (main): Likewise.
910 * time/tst-posixtz.c (do_test): Likewise.
126f6c72 911 * timezone/tst-timezone.c (main): Likewise.
8d2b2763 912
8b4416d8
AS
9132014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
914 H.J. Lu <hongjiu.lu@intel.com>
915
916 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
917 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
918 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
919 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
920 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
921 version if bit_Fast_Unaligned_Load is set.
922 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
923 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
924 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
925 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
926 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
927 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
928 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
929 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
930 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
931 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
932 to 4.
933 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
934 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
935 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
936 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
937
e47b8d3b
CM
9382014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
939
6d6d7fde
CM
940 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
941 instead of #if to avoid a Wundef warning.
942 * stdlib/tst-limits.c (do_test): Likewise.
943
cd2c37c9
CM
944 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
945 parallel other exception macros.
946 (fegetenv): Convert from macro to extern inline so that it applies
947 retroactively to inline functions already seen by the compiler.
948 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
949
e47b8d3b
CM
950 * posix/Makefile (before-compile): Use $(objpfx) for
951 posix-conf-vars-def.h.
952
4a6aca7b
SP
9532014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
954
7910c2ae
SP
955 * posix/getconf.c (main): Use size_t for type of I.
956 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
957 NSPEC.
958
50cbbaa9
SP
959 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
960 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
961 * posix/posix-envs.def: Likewise.
962 * sysdeps/posix/sysconf.c: Likewise.
963 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
964 (specs): Remove array.
965 * scripts/gen-posix-conf-vars.awk: Support generation of specs
966 array.
967
3b566046
SP
968 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
969 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
970 (__sysconf): Use CONF_IS_* macros.
971
4a6aca7b
SP
972 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
973 ($(objpfx)posix-conf-vars-def.h): New target.
974 * posix/posix-conf-vars.list: New file.
975 * posix/posix-conf-vars.h: New file.
976 * posix/confstr.c: Include posix-conf-vars.h.
977 (confstr): Use CONF_IS_* macros.
978 * posix/posix-envs.def: Include posix-conf-vars.h. Use
979 CONF_IS_* macros.
980 * scripts/gen-posix-conf-vars.awk: New file.
981
7c1395a7
CM
9822014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
983
0025b4cc
CM
984 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
985 fegetround): Add no-op macros to avoid linknamespace issues.
986
d8aaf74b
CM
987 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
988 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
989
5d24aa60
CM
990 * sysdeps/unix/sysv/linux/tile/sysdep.h
991 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
992 assembly-specific section to avoid a redefinition warning.
993
7c1395a7
CM
994 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
995 long before casting to pointer to avoid a cast warning.
996
3c87c616
CM
9972014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
998
999 * sysdeps/tile/tilegx/Implies: New file.
1000
f559d8cf
RE
10012014-12-23 Richard Earnshaw <rearnsha@arm.com>
1002
1003 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
1004
7d81e8d6
FW
10052014-12-23 Florian Weimer <fweimer@redhat.com>
1006
1007 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
1008
90aa3d09
JM
10092014-12-22 Joseph Myers <joseph@codesourcery.com>
1010
1011 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
1012 not define.
1013 * sysdeps/unix/sysv/linux/utimes.c: Do not include
1014 <kernel-features.h>.
1015 (__utimes) [__NR_utimes]: Make code unconditional.
1016 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
1017 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1018 (__ASSUME_UTIMES): Do not undefine.
1019 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1020 (__ASSUME_UTIMES): Likewise.
1021 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1022 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
1023 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
1024 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
1025
4c0c0e2a
SE
10262014-12-22 Steve Ellcey <sellcey@imgtec.com>
1027
1028 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
1029
0dacd7a3
CM
10302014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
1031
b638f96a
CM
1032 [BZ #17747]
1033 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
1034 alias to weak alias for j0l, y0l.
1035 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
1036 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
1037
0dacd7a3
CM
1038 [BZ #17746]
1039 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
1040 conversion.
1041
528479c4
SE
10422014-12-22 Steve Ellcey <sellcey@imgtec.com>
1043
1044 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
1045 to zero if not already defined.
1046
f56f9124
JM
10472014-12-22 Joseph Myers <joseph@codesourcery.com>
1048
1049 [BZ #17724]
1050 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
1051 (__kernel_standard_f): Remove. Moved to k_standardf.c.
1052 (__kernel_standard_l): Remove. Moved to k_standardl.c with
1053 (char *) casts added.
1054 * sysdeps/ieee754/k_standardf.c: New file.
1055 * sysdeps/ieee754/k_standardl.c: Likewise.
1056 * math/Makefile (libm-support): Remove k_standard.
1057 (libm-calls): Add k_standard.
1058
8622d556
WD
10592014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1060
1061 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1062 Optimize to avoid an unnecessary FPCR read.
1063
f3806bdb
WD
10642014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1065
1066 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
1067 Optimize to reduce FPCR/FPSR accesses.
1068
9b47df58
WD
10692014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1070
1071 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
1072 Call libc_fetestexcept_aarch64.
1073
97be3cac
WD
10742014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1075
1076 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
1077 Call libc_fesetround_aarch64.
1078
935ab817
JM
10792014-12-22 Joseph Myers <joseph@codesourcery.com>
1080
1081 [BZ #17733]
1082 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
1083 (__bind): Do not define as weak alias.
1084 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
1085 define.
1086 (__getsockname): Do not define as weak alias.
1087
cc8623f1
WN
10882014-12-22 Will Newton <will.newton@linaro.org>
1089
1090 * manual/install.texi: Document that we require bison 2.7
1091 or above.
1092 * INSTALL: Regenerate.
1093 * configure.ac: Use AC_CHECK_PROG_VER instead of
1094 AC_PATH_PROG when checking for bison and check for
1095 version 2.7 or above.
1096 * configure: Regenerate.
1097
a19ca65a
CM
10982014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
1099
92901170 1100 [BZ #17745]
e969965a
CM
1101 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
1102 * sysdeps/tile/ffsll.c (ffsll): To here.
1103
a19ca65a
CM
1104 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
1105
050f7298
L
11062014-12-21 H.J. Lu <hongjiu.lu@intel.com>
1107
1108 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
1109 if not defined.
1110 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
1111 definition.
1112 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
1113 hidden ___tls_get_addr.
1114 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
1115 hidden __tls_get_addr.
1116 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
1117 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
1118 Likewise.
1119
6df5547e
AS
11202014-12-21 Andreas Schwab <schwab@linux-m68k.org>
1121
1122 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
1123 _dl_init call.
1124
7432d613
L
11252014-12-21 H.J. Lu <hongjiu.lu@intel.com>
1126
1127 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
1128 from "call _dl_init@PLT".
1129 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7432d613 1130
98fe149e
AK
11312014-12-21 Anders Kaseorg <andersk@mit.edu>
1132
1133 * manual/search.texi: (Array Sort Function): Clarify stable sorting
1134 guarantees.
1135
d12455f5
CM
11362014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
1137
1138 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
1139
95dee05f
CM
11402014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
1141
92901170 1142 [BZ #17744]
95dee05f
CM
1143 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
1144 strnlen.
1145
2ef4b74a
SE
11462014-12-19 Steve Ellcey <sellcey@imgtec.com>
1147
1148 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
1149 of multu on MIPSr6.
1150 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
1151 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
1152 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
1153 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
1154 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
1155
11562014-12-19 Steve Ellcey <sellcey@imgtec.com>
1157
1158 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
1159 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
1160 (PTR_SUBU): Use subu for mips32r6/mips64r6.
1161 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9d1fc928 1162 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2ef4b74a
SE
1163 mips32r6/mips64r6.
1164 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
1165
3eb38795
OB
11662014-12-19 Ondřej Bílka <neleai@seznam.cz>
1167
1168 * string/strncat.c (STRNCAT): Simplify implementation.
1169
6d4188dd
DM
11702014-12-19 David S. Miller <davem@davemloft.net>
1171
0d4ba8be
DM
1172 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
1173 access the quad as both a long double and as a series of 4 words.
1174
6d4188dd
DM
1175 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
1176 link_map->l_info array access.
1177
4ef91cdc
CM
11782014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
1179
804c54f7
CM
1180 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
1181
4ef91cdc
CM
1182 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
1183 * math/atest-exp2.c (TIMEOUT): Likewise.
1184 * math/atest-sincos.c (TIMEOUT): Likewise.
1185
afd176d6
L
11862014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1187
1188 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
1189 -Wno-error with -fno-builtin-lround.
1190
a4a43a90
TR
11912014-12-19 Torvald Riegel <triegel@redhat.com>
1192
1193 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
1194 Contains futex constants and functions moved over from ...
1195 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
1196 <lowlevellock-futex.h>.
1197 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1198 (lll_timedwait_tid): Add comments and parentheses around macro
1199 arguments.
1200
76f71081
TR
12012014-12-19 Torvald Riegel <triegel@redhat.com>
1202
1203 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
1204 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
1205 (__lll_private_flag): Remove.
1206 (lll_futex_wait): Likewise.
1207 (lll_futex_timed_wait): Likewise.
1208 (lll_futex_wake): Likewise.
1209 (lll_futex_requeue): Likewise.
1210 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1211 (__lll_timedwait_tid): Spell out argument names.
1212 (lll_timedwait_tid): Add comments and parentheses around macro
1213 arguments.
1214 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
1215 LLL_SHARED and LLL_PRIVATE usable from assembly code.
1216
6b814909
TR
12172014-12-19 Torvald Riegel <triegel@redhat.com>
1218
1219 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
1220 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
1221 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1222 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
1223 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
1224 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
1225 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
1226 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
1227 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
1228 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
1229 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
1230 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
1231 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
1232 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
1233 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
1234 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
1235 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
1236 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
1237 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
1238
9cd4d4ab
L
12392014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1240
1241 * sysdeps/x86_64/x32/Makefile: New file.
1242
c9c1a2d0
L
12432014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1244
1245 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
1246 1L with (mp_limb_t) 1.
1247
af102d95
RM
12482014-12-17 Roland McGrath <roland@hack.frob.com>
1249
dd690454
RM
1250 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
1251 * nptl/libc_pthread_init.c: ... here.
1252 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
1253 * nptl/register-atfork.c: ... here.
1254
74eb826c
RM
1255 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
1256 Use pthread_sigmask rather than INTERNAL_SYSCALL.
1257 Use assert_perror to check its return value.
1258 (__gai_create_helper_thread): Likewise.
1259
c9ce306b
RM
1260 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
1261
af102d95
RM
1262 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
1263
8ac5a76a
JM
12642014-12-17 Joseph Myers <joseph@codesourcery.com>
1265
ea41469b
JM
1266 [BZ #17725]
1267 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
1268 __profil_counter.
1269 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
1270 Likewise.
1271 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
1272 Likewise.
1273 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
1274 Likewise.
1275 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
1276 (profil_counter): Likewise.
1277 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
1278 (profil_counter): Likewise.
1279 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
1280 Likewise.
1281 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
1282 Likewise.
1283 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
1284 (profil_counter): Likewise.
1285 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
1286 Likewise.
1287 [!__profil_counter] (profil_counter): Define as weak alias of
1288 __profil_counter.
1289 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
1290 (profil_counter): Rename to __profil_counter.
1291 [!__profil_counter] (profil_counter): Define as weak alias of
1292 __profil_counter.
1293 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
1294 (profil_counter): Rename to __profil_counter.
1295 [!__profil_counter] (profil_counter): Define as weak alias of
1296 __profil_counter.
1297 * sysdeps/posix/profil.c: Update comment referring to
1298 profil_counter.
1299 (__profil): Use __profil_counter instead of profil_counter.
1300 * sysdeps/posix/sprofil.c (profil_counter): Rename to
1301 __profil_counter. Use __profil_counter_ushort and
1302 __profil_counter_uint in definitions.
1303 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
1304 instead of profil_counter_uint and profil_counter_ushort.
1305
8ac5a76a
JM
1306 [BZ #17722]
1307 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
1308 define as weak alias of __inet_makeaddr.
1309 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
1310 as weak alias of __inet_addr.
1311 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
1312 as weak alias of __inet_pton. Use libc_hidden_weak.
1313 * include/arpa/inet.h (__inet_pton): Declare. Use
1314 libc_hidden_proto.
1315 (inet_makeaddr): Don't use libc_hidden_proto.
1316 (__inet_makeaddr): Declare. Use libc_hidden_proto.
1317 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
1318 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
1319 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
1320 Remove variable.
1321 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
1322 (test-xfail-POSIX/time.h/linknamespace): Likewise.
1323
66ce3cb1
SE
13242014-12-17 Steve Ellcey <sellcey@imgtec.com>
1325
1326 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
1327
d22ce01b
SL
13282014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1329
1330 * stdio-common/bug-vfprintf-nargs.c (do_test):
1331 Cast value to intptr_t to avoid format warning
1332 for usage with PRIdPTR printing macro.
1333
eca2772b
SL
13342014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1335
1336 * libio/tst-widetext.c (do_test):
1337 Use format type %td instead of %Zd for ptrdiff_t
1338 in order to avoid format warning.
1339
bdf079da
AS
13402014-12-17 Andreas Schwab <schwab@suse.de>
1341
1342 * nscd/mem.c (gc): Add size_t cast to match printf format.
1343
3eb5d2fc
RM
13442014-12-16 Roland McGrath <roland@hack.frob.com>
1345
1346 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
1347 (init): Apply PTR_MANGLE to pointers before storing them.
1348 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
1349 before using them.
1350
d003ada2
JM
13512014-12-16 Joseph Myers <joseph@codesourcery.com>
1352
380292ba
JM
1353 [BZ #17719]
1354 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
1355 define as weak alias of __memrchr.
1356 (__memrchr): Do not define as strong alias of memrchr.
1357 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
1358 Remove variable.
1359 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
1360 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
1361 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
1362
9a44d530
JM
1363 [BZ #17717]
1364 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
1365 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
1366 (if_indextoname): Rename to __if_indextoname and define as weak
1367 alias of __if_indextoname. Use libc_hidden_weak.
1368 (if_freenameindex): Rename to __if_freenameindex and define as
1369 weak alias of __if_freenameindex.
1370 (if_nameindex): Rename to __if_nameindex and define as weak alias
1371 of __if_nameindex.
1372 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
1373 __if_nametoindex and define as weak alias of __if_nametoindex.
1374 Use libc_hidden_weak.
1375 (if_freenameindex): Rename to __if_freenameindex and define as
1376 weak alias of __if_freenameindex.
1377 (if_nameindex): Rename to __if_nameindex and define as weak alias
1378 of __if_nameindex.
1379 (if_indextoname): Rename to __if_indextoname and define as weak
1380 alias of __if_indextoname. Use libc_hidden_weak.
1381 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
1382 __if_nametoindex and define as weak alias of __if_nametoindex.
1383 Use libc_hidden_weak.
1384 (if_freenameindex): Rename to __if_freenameindex and define as
1385 weak alias of __if_freenameindex. Use libc_hidden_weak.
1386 (if_nameindex_netlink): Use __if_freenameindex instead of
1387 if_freenameindex.
1388 (if_nameindex): Rename to __if_nameindex and define as weak alias
1389 of __if_nameindex. Use libc_hidden_weak.
1390 (if_indextoname): Rename to __if_indextoname and define as weak
1391 alias of __if_indextoname. Use libc_hidden_weak.
1392 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
1393 libc_hidden_proto.
1394 [!_ISOMAC] (__if_freenameindex): Likewise.
1395 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
1396 if_nametoindex.
1397 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
1398 variable.
1399 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
1400 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
1401 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
1402 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
1403 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
1404 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
1405 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
1406
d003ada2
JM
1407 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
1408 Remove variable.
1409 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
1410 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
1411
a0d424ef
SP
14122014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1413
0cd85520
SP
1414 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
1415 subscript above bounds'
1416
a0d424ef
SP
1417 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
1418 bounds.
1419
0e426475
AS
14202014-12-16 Arjun Shankar <arjun.is@lostca.se>
1421
8b460906
AS
1422 * libio/tst-fopenloc.c: Use test-skeleton.c.
1423
fa13e15b
AS
1424 * stdlib/tst-bsearch.c: Use test-skeleton.c.
1425 (entry): Rename to ITEM.
1426 (do_test, comp): Adjust.
1427
0e426475
AS
1428 * stdio-common/tst-fseek.c: Use test-skeleton.c.
1429
4f646bce
TR
14302014-12-16 Torvald Riegel <triegel@redhat.com>
1431
1432 * string/tester.c: Include <libc-internal.h>.
1433 (test_memset): Ignore -Wmemset-transposed-args.
1434
a07c4427
TR
14352014-12-16 Torvald Riegel <triegel@redhat.com>
1436
1437 * misc/tst-mntent2.c (do_test): Fix warning.
1438
1469f466
TR
14392014-12-16 Torvald Riegel <triegel@redhat.com>
1440
1441 * elf/tst-unique4lib.cc(a): Mark as used.
1442
11e3417a
FW
14432014-12-16 Florian Weimer <fweimer@redhat.com>
1444
1445 [BZ #17630]
1446 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
1447 names.
1448
ae61fc7b
AM
14492014-12-16 Allan McRae <allan@archlinux.org>
1450
1451 * stdio-common/Makefile (tests): Re-add bug26.
1452
363a9899
OB
14532014-12-15 Ondřej Bílka <neleai@seznam.cz>
1454
1455 [BZ #17657]
1456 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
1457 static array.
1458
d52c62df
TR
14592014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
1460
1461 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
1462 (__lll_lock_wait): Likewise.
1463 (__lll_timedlock_wait): Likewise.
1464 (__lll_timedwait_tid): Likewise.
1465 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
1466 (__lll_robust_timedlock_wait): Likewise.
1467 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
1468 (lll_cond_trylock): Likewise.
1469 (__lll_lock): Likewise.
1470 (__lll_robust_lock): Likewise.
1471 (__lll_cond_lock): Likewise.
1472 (lll_robust_cond_lock): Likewise.
1473 (__lll_timedlock): Likewise.
1474 (__lll_robust_timedlock): Likewise.
1475 (__lll_unlock): Likewise.
1476 (__lll_robust_unlock): Likewise.
1477 (lll_wait_tid): Likewise.
1478 (lll_timedwait_tid): Likewise.
1479
045a6bcd
TR
14802014-12-15 Torvald Riegel <triegel@redhat.com>
1481
1482 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
1483
7f786dc1
TR
14842014-12-15 Torvald Riegel <triegel@redhat.com>
1485
1486 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
1487
e7e21cba
AZ
14882014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
1489
1490 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
1491 * stdio-common/tst-sprintf.c: Likewise.
1492
bc89c0fc
TR
14932014-12-15 Torvald Riegel <triegel@redhat.com>
1494
1495 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
1496
a5357b7c
JL
14972014-12-15 Jeff Law <law@redhat.com>
1498
1499 [BZ #16617]
1500 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
1501 on the heap. (CVE-2012-3406)
1502 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
1503 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
1504 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
1505
3a12c70f
WN
15062014-12-15 Will Newton <will.newton@linaro.org>
1507
1508 * manual/install.texi: Bump required version of texinfo
1509 to 4.7 from 4.5.
1510 * INSTALL: Regenerated.
1511 * configure.ac: Check for makeinfo version 4.7 and above.
1512 * configure: Regenerated.
1513
e4f639e4
RM
15142014-12-12 Roland McGrath <roland@hack.frob.com>
1515
1516 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
1517 PREFIX, string constant to insert between directory and name.
1518 * sysdeps/posix/shm_open.c: Update caller.
1519 * sysdeps/posix/shm_unlink.c: Likewise.
1520 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
1521 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
1522 (SEM_SHM_PREFIX): New macro.
1523 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
1524 [$(have-thread-library) = no].
1525 * nptl/Makefile (libpthread-routines): Add shm-directory.
1526 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
1527 * sysdeps/nptl/shm-directory.h: New file.
1528 * sysdeps/posix/shm-directory.c
1529 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
1530 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
1531 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
1532 INTERNAL_SYSCALL.
1533 (__where_is_shmfs): Function removed.
1534 (mountpoint, defaultmount, defaultdir, __namedsem_once):
1535 Variables removed.
1536 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
1537 Use SHM_GET_NAME.
1538 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
1539
1540 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
1541 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
1542 unconditional for use inside libpthread.
1543 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
1544
439c43f6
RM
15452014-12-12 Roland McGrath <roland@hack.frob.com>
1546
c76d1ff5
RM
1547 * nptl/pthread_getaffinity.c: New file.
1548 * nptl/pthread_setaffinity.c: New file.
1549 * nptl/pthread_getname.c: New file.
1550 * nptl/pthread_setname.c: New file.
1551
439c43f6
RM
1552 * nptl/pthread_create.c (START_THREAD_DEFN)
1553 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
1554
48e435cd
SL
15552014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1556 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1557
1558 * resolv/res_send.c (send_vc): Disable warning resplen may
1559 be used uninitialized.
1560
9d9c0019
SL
15612014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1562
1563 * nptl/tst-mutex6.c
1564 (ATTR_NULL): New define checks ATTR against NULL.
1565 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
1566 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
1567
9173840b
JL
15682014-12-11 James Lemke <jwlemke@codesourcery.com>
1569
1570 [BZ #17581]
1571 * malloc/hooks.c
1572 (mem2mem_check): Revert my previous change.
1573 (malloc_check_get_size): Revert my previous change.
1574 (mem2chunk_check): Revert my previous change.
1575
78e21c5d
RM
15762014-12-11 Roland McGrath <roland@hack.frob.com>
1577
1578 * sysdeps/posix/shm-directory.c: New file.
1579 * sysdeps/posix/shm-directory.h: New file.
1580 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
1581 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
1582 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
1583 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
1584 Transmute EPERM to EACCES.
1585 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
1586 from ...
1587 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
1588 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
1589
f82c43af
KK
15902014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1591
1592 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
1593 pointer and cast to uintptr_t.
1594 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
1595 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
1596 Add cast to avoid warning.
1597 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
1598
fc00cf7b
JM
15992014-12-11 Joseph Myers <joseph@codesourcery.com>
1600
1601 * nptl/semaphore.h: Move to ...
1602 * sysdeps/pthread/semaphore.h: ... here.
1603 * Makefile (installed-headers): Change nptl/semaphore.h to
1604 sysdeps/pthread/semaphore.h.
1605
1c4053db
RM
16062014-12-11 Roland McGrath <roland@hack.frob.com>
1607
73b0c1a1
RM
1608 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
1609 generated error format strings.
1610
1c4053db
RM
1611 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
1612 -Wformat-extra-args warnings for scanf formats.
1613 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
1614 test of zero-length format (duh).
1615 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
1616 corner-case scanf format test.
1617 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
1618 generated fprintf format string.
1619 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
1620 corner-case sprintf format tests.
1621 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
1622 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
1623 -Wformat-extra-args warnings throughout.
1624 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
1625 (CFLAGS-scanf4.c): Likewise.
1626 (CFLAGS-scanf7.c): Likewise.
1627 (CFLAGS-tst-sprintf.c): Likewise.
1628 (CFLAGS-tst-printf.c): Likewise.
1629 (CFLAGS-tst-printfsz.c): Likewise.
1630
47d51f4f
JM
16312014-12-11 Joseph Myers <joseph@codesourcery.com>
1632
a1edbf3c
JM
1633 * include/cpio.h: New file.
1634 * include/fmtmsg.h: Likewise.
1635
47d51f4f
JM
1636 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
1637 corresponding format argument to size_t.
1638 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
1639 arguments.
1640 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
1641 corresponding format argument to size_t.
1642 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
1643 arguments.
1644 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
1645 corresponding format argument to size_t.
1646 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
1647 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
1648 (CFLAGS-tst-mbswcs2.c): Likewise.
1649 (CFLAGS-tst-mbswcs3.c): Likewise.
1650 (CFLAGS-tst-mbswcs4.c): Likewise.
1651 (CFLAGS-tst-mbswcs5.c): Likewise.
1652 (CFLAGS-tst-trans.c): Likewise
1653
e9813cfb
RM
16542014-12-11 Roland McGrath <roland@hack.frob.com>
1655
1656 * posix/regexbug1.c (main): Use "%s" format with regerror results,
1657 rather than assuming they won't contain any '%'s.
1658
f627ca82
CM
16592014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
1660
1661 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
1662 inhibit_loop_to_libcall to avoid recursive calls.
1663 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
1664 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
1665
7f296942
AZ
16662014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
1667
1668 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
1669 prototype.
1670
d0276e18
SE
16712014-12-11 Steve Ellcey <sellcey@imgtec.com>
1672
1673 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
1674 integer value instead of boolean.
1675
fc56e970
SE
16762014-12-11 Steve Ellcey <sellcey@imgtec.com>
1677
1678 * malloc/malloc.c: Fix powerof2 check.
1679
40e53917
SL
16802014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1681
1682 * locale/programs/locfile.h (maybe_swap_uint32):
1683 Remove inline and add unused attribute.
1684
1ea166df
SL
16852014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1686
9d9c0019 1687 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1ea166df
SL
1688 Truncating assembler expression to a .long expression.
1689
acf869f4
AS
16902014-12-11 Andreas Schwab <schwab@suse.de>
1691
1692 * elf/rtld.c (struct map_args): Constify str member.
1693 (do_preload): Constify fname argument.
1694
9d969099
AZ
16952014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1696
1697 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
1698 constants definition.
1699
da5bcaa4
AS
17002014-12-11 Andreas Schwab <schwab@suse.de>
1701
b0a3c164
AS
1702 [BZ #16657]
1703 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
1704 FORCE_ELISION instead of DO_ELISION.
1705 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
1706 Remove.
1707 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
1708 Likewise.
1709
da5bcaa4
AS
1710 * iconvdata/gconv-modules: Remove duplicate entry.
1711
6d248857
WN
17122014-12-11 Will Newton <will.newton@linaro.org>
1713
1714 Merge gettext 0.19.3 into intl/.
1715
1716 This involves a number of cosmetic changes to comments
1717 and ANSI function definitions and prototypes throughout
1718 all the files. The gettext copyright header is used but
1719 with the date ranges taken from the glibc copy.
1720
1721 * NEWS: Add gettext merge to 2.21.
1722 * intl/bindtextdom.c: Switch to gettext copyright.
1723 Use ANSI definitions and prototypes.
1724 Use gl_* locking primitives rather than __libc_* ones.
1725 Use __builtin_expect rather than __glibc_likely/unlikely.
1726 * intl/dcgettext.c: Switch to gettext copyright.
1727 Use ANSI definitions and prototypes.
1728 * intl/dcigettext.c: Switch to gettext copyright.
1729 Use ANSI definitions and prototypes.
1730 (INTDIV0_RAISES_SIGFPE): New define.
1731 Use gl_* locking primitives rather than __libc_* ones.
1732 Include eval-plural.h instead of plural-eval.c.
1733 Use __builtin_expect rather than __glibc_likely/unlikely.
1734 * intl/dcngettext.c: Switch to gettext copyright.
1735 Use ANSI definitions and prototypes.
1736 * intl/dgettext.c: Likewise.
1737 * intl/dngettext.c: Likewise.
1738 * intl/plural-eval.c: Renamed to...
1739 * intl/eval-plural.h: ...this.
1740 * intl/explodename.c: Switch to gettext copyright.
1741 Use ANSI definitions and prototypes.
1742 (_nl_explode_name): Use strchr instead of __rawmemchr.
1743 * intl/finddomain.c: Switch to gettext copyright.
1744 Use ANSI definitions and prototypes.
1745 Use gl_* locking primitives rather than __libc_* ones.
1746 (_nl_find_domain): Use malloc rather than alloca for
1747 allocation of temporary locale name.
1748 * intl/gettext.c: Switch to gettext copyright.
1749 Use ANSI definitions and prototypes.
1750 * intl/gettextP.h: Switch to gettext copyright.
1751 Use ANSI definitions and prototypes.
1752 Use gl_* locking primitives rather than __libc_* ones.
1753 * intl/gmo.h: Switch to gettext copyright.
1754 (struct sysdep_string): Move struct segment_pair outside of
1755 struct definition.
1756 * intl/hash-string.c: Use ANSI definitions and prototypes.
1757 * intl/hash-string.h: Switch to gettext copyright.
1758 Use ANSI definitions and prototypes.
1759 * intl/l10nflist.c: Switch to gettext copyright.
1760 Use ANSI definitions and prototypes.
1761 (_nl_normalize_codeset): Avoid integer overflow.
1762 * intl/loadinfo.h: Switch to gettext copyright.
1763 Use ANSI definitions and prototypes.
1764 (LIBINTL_DLL_EXPORTED): New define.
1765 (PATH_SEPARATOR): New define.
1766 * intl/loadmsgcat.c: Switch to gettext copyright.
1767 * intl/localealias.c: Switch to gettext copyright.
1768 Use ANSI definitions and prototypes.
1769 (_nl_expand_alias): Use PATH_SEPARATOR.
1770 * intl/ngettext.c: Switch to gettext copyright.
1771 Use ANSI definitions and prototypes.
1772 * intl/plural-exp.c: Likewise.
1773 * intl/plural-exp.h: Switch to gettext copyright.
1774 Use ANSI definitions and prototypes.
1775 (struct expression): Move definition of enum operator outside
1776 of struct definition.
1777 * intl/plural.c: Regenerate.
1778 * intl/plural.y: Switch to gettext copyright.
1779 Use ANSI definitions and prototypes.
1780 Port to bison 3.0.
1781 * intl/textdomain.c: Switch to gettext copyright.
1782 Use ANSI definitions and prototypes.
1783 Use gl_* locking primitives rather than __libc_* ones.
1784
48c43298
SE
17852014-12-10 Steve Ellcey <sellcey@imgtec.com>
1786
1787 * debug/warning-nop.c: Add used atrribute.
1788
2b89bce9
JM
17892014-12-10 Joseph Myers <joseph@codesourcery.com>
1790
c153ac9f
JM
1791 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
1792
2b89bce9
JM
1793 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
1794 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
1795 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
1796
2cfbdb9a
JM
17972014-12-10 Joseph Myers <joseph@codesourcery.com>
1798 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1799
1800 [BZ #17634]
1801 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
1802 Undefine after defining function. Define as weak alias of
1803 __wcschr. Use libc_hidden_weak.
1804 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
1805 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
1806 (libc_hidden_def): Also define __GI___wcschr alias.
1807 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
1808 __wcschr and define as weak alias of __wcschr.
1809 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
1810 __wcschr.
1811 [!WCSCHR] (DEFAULT_WCSCHR): Define.
1812 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
1813 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
1814 libc_hidden_weak. Do not use libc_hidden_def.
1815 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
1816 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
1817 __GI___wcschr alias.
1818 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
1819 [IS_IN (libc)] (wcschr): Define as macro expanding to
1820 __redirect_wcschr.
1821 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
1822 [IS_IN (libc)] (__wcschr_power6): Likewise.
1823 [IS_IN (libc)] (__wcschr_power7): Likewise.
1824 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
1825 instead of wcschr.
1826 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
1827 __libc_wcschr.
1828 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
1829 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
1830 __wcschr and define as weak alias of __wcschr. Use
1831 libc_hidden_builtin_def.
1832 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
1833 as weak alias of __wcschr. Use libc_hidden_weak.
1834 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
1835 wcschr.
1836 * time/era.c (_nl_init_era_entries): Likewise.
1837 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
1838 variable.
1839 (test-xfail-XPG3/time.h/linknamespace): Likewise.
1840 (test-xfail-XPG4/time.h/linknamespace): Likewise.
1841
1b8bf351
JM
18422014-12-10 Joseph Myers <joseph@codesourcery.com>
1843
1844 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
1845 format for long int variable.
1846
f5f46d51
AK
18472014-12-10 Anders Kaseorg <andersk@MIT.EDU>
1848
1849 [BZ #10672]
07008f7d 1850 * manual/search.texi: (Array Sort Function): Remove claim how to make
f5f46d51
AK
1851 qsort stable.
1852
217a74a8
AS
18532014-12-10 Andreas Schwab <schwab@suse.de>
1854
1855 [BZ #12847]
1856 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
1857 user-controlled locks.
1858
aa76a5c7
RE
18592014-12-10 Richard Earnshaw <rearnsha@arm.com>
1860
1861 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
1862 register.
1863
2084e7ca
JM
18642014-12-10 Joseph Myers <joseph@codesourcery.com>
1865
a4ecc9eb
JM
1866 * configure.ac (--disable-werror): New configure option.
1867 (enable_werror): New AC_SUBST.
1868 * configure: Regenerated.
1869 * config.make.in (enable-werror): New variable.
1870 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
1871 -Wno-error=undef.
1872 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
1873 * manual/install.texi (Configuring and compiling): Document
1874 --disable-werror.
1875 * INSTALL: Regenerated.
1876 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
1877 (CFLAGS-tst-chk2.c): Likewise.
1878 (CFLAGS-tst-chk3.c): Likewise.
1879 (CFLAGS-tst-chk4.cc): Likewise.
1880 (CFLAGS-tst-chk5.cc): Likewise.
1881 (CFLAGS-tst-chk6.cc): Likewise.
1882 (CFLAGS-tst-lfschk1.c): Likewise.
1883 (CFLAGS-tst-lfschk2.c): Likewise.
1884 (CFLAGS-tst-lfschk3.c): Likewise.
1885 (CFLAGS-tst-lfschk4.cc): Likewise.
1886 (CFLAGS-tst-lfschk5.cc): Likewise.
1887 (CFLAGS-tst-lfschk6.cc): Likewise.
1888
0f88636c
JM
1889 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
1890 (main): Disable -Wdeprecated-declarations around calls to
1891 register_printf_function.
1892
c81e9deb
JM
1893 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
1894 (do_test): Disable -Wdiv-by-zero around some calls to
1895 fwrite_unlocked and fread_unlocked.
1896
2084e7ca
JM
1897 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
1898 (DIAG_POP_NEEDS_COMMENT): Likewise.
1899 (_DIAG_STR1): Likewise.
1900 (_DIAG_STR): Likewise.
1901 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
1902 * stdio-common/bug21.c: Include <libc-internal.h>.
1903 (do_test): Disable -Wformat around call to sscanf.
1904 * stdio-common/scanf14.c: Include <libc-internal.h>.
1905 (main): Disable -Wformat around some calls to scanf functions.
1906
df7ecc6b
TR
19072014-12-09 Torvald Riegel <triegel@redhat.com>
1908
1909 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
1910
2aa3862e
AZ
19112014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1912
1913 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
1914 stack variable alignment.
1915
c5c2b7c3
JM
19162014-12-06 Joseph Myers <joseph@codesourcery.com>
1917
1918 [BZ #17682]
1919 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
1920 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
1921 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
1922 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
1923 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
1924 __getrlimit instead of getrlimit.
1925 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
1926 __gettimeofday instead of gettimeofday.
1927 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1928 Likewise.
1929 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1930 Likewise.
1931 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1932 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
1933 Remove variable.
1934 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
1935 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
1936
9752c3cd
AZ
19372014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1938
1939 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
1940 for wide-character tests.
1941
4bee4cd9
RM
19422014-12-04 Roland McGrath <roland@hack.frob.com>
1943
1944 * io/openat64.c: #include <libc-internal.h>
1945 (__openat64): Prototypify. Use ignore_value on MODE.
1946 * io/openat.c: Likewise.
1947 * misc/reboot.c: #include <libc-internal.h>
1948 (reboot): Prototypify. Use ignore_value on HOWTO.
1949 * misc/ptrace.c: #include <libc-internal.h>
1950 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
1951
84dbedb6
JM
19522014-12-04 Joseph Myers <joseph@codesourcery.com>
1953
1954 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
1955 XPG4, UNIX98 and XOPEN2K.
1956 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
1957 Remove variable.
1958 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
1959
b7a3e1c4 19602014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
be349d70 1961
af50dfc1 1962 * libio/fileops.c: Use ISO C style for function definitions.
24b97882
SP
1963 * libio/iofopen.c: Likewise.
1964 * libio/wfileops.c: Likewise.
1965
fe8b4d98
SP
1966 [BZ #17653]
1967 * libio/fileops.c (_IO_new_file_underflow): Unset cached
1968 offset on EOF.
1969 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
1970 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
1971 (fgets_func): Function pointer to fgets and fgetws.
1972 (do_ftell_test): Add test to verify ftell value after read
1973 EOF.
1974 (do_test): Set fgets_func.
1975
61b4f792
SP
1976 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
1977 O_TRUNC flag for w and w+ modes.
1978 (do_rewind_test): Likewise.
1979 (do_ftell_test): Likewise.
1980 (do_write_test): Likewise.
1981
be349d70
SP
1982 [BZ #17647]
1983 * libio/fileops.c (do_ftell): Seek only when there are
1984 unflushed writes.
1985 * libio/wfileops.c (do_ftell_wide): Likewise.
1986 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
1987 test case.
1988 (do_one_test): Call it.
1989
e3d6dba5
JM
19902014-12-03 Joseph Myers <joseph@codesourcery.com>
1991
1992 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
1993 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
1994 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
1995 Remove variable.
1996 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
1997 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
1998 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
1999
7f994279
JM
20002014-12-02 Joseph Myers <joseph@codesourcery.com>
2001
28a91e8f
JM
2002 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
2003 Remove variable.
2004 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
2005
7f994279
JM
2006 [BZ #17668]
2007 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
2008 as weak alias of __getifaddrs. Use libc_hidden_weak.
2009 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2010 __freeifaddrs. Use libc_hidden_weak.
2011 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
2012 define as weak alias of __getifaddrs. Use libc_hidden_weak.
2013 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2014 __freeifaddrs. Use libc_hidden_weak.
2015 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
2016 __getifaddrs and define as weak alias of __getifaddrs. Use
2017 libc_hidden_weak.
2018 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2019 __freeifaddrs. Use libc_hidden_weak.
2020 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
2021 Remove variable.
2022 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
2023 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
2024
bbe4c142
PJ
20252014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
2026
2027 [BZ #17601]
2028 * sysdeps/mips/start.S (__start): Use indirect jump to call
2029 __libc_start_main.
2030
66cadc05
JM
20312014-12-02 Joseph Myers <joseph@codesourcery.com>
2032
909e16d9
JM
2033 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
2034
4e0b9016
JM
2035 * nptl/tst-mutex1.c: Include <stdbool.h>.
2036 [!ATTR] (ATTR_NULL): New macro.
2037 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
2038 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
2039 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
2040
b1aff6a4
JM
2041 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
2042 to char *.
2043
266865c0
JM
2044 [BZ #17665]
2045 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
2046 Change conditional to [__USE_MISC].
2047
84e5e756
JM
2048 [BZ #17664]
2049 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
2050 fgets_unlocked.
2051 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
2052 __fgets_unlocked.
2053 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
2054 fgets_unlocked.
2055 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
2056 Remove variable.
2057 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
2058 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
2059 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
2060 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
2061 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
2062 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
2063 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
2064 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
2065 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
2066
66cadc05
JM
2067 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
2068
2e8a2de2 20692014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
0f0a1c82
AZ
2070
2071 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2072 Remove strpbrk objects.
2073 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2074 (__libc_ifunc_impl_list): Remove strpbrk implementation.
2075 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
2076 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
2077 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
2078 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
2079
bb2542e0
AZ
2080 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2081 Remove strcspn objects.
2082 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2083 (__libc_ifunc_impl_list): Remove strcspn implementation.
2084 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
2085 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
2086 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
2087 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2e8a2de2
AZ
2088
2089 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2090 Remove strspn objetcs.
2091 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2092 (__libc_ifunc_impl_list): Remove strspn implementation.
2093 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
2094 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
2095 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
2096 * sysdeps/powerpc/powerpc64/strspn.S: New file.
2097
08f1e1d2
JL
20982014-12-01 James Lemke <jwlemke@codesourcery.com>
2099
2100 [BZ #17581]
2101 * malloc/hooks.c
2102 (mem2mem_check): Add a terminator to the chain of checking blocks.
2103 (malloc_check_get_size): Use it here.
2104 (mem2chunk_check): Ditto.
2105
a8a7d7d2
RS
21062014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2107
2108 * sysdeps/powerpc/powerpc64/strtok.S: New file.
2109 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
2110
97114a38
CD
21112014-11-29 Carlos O'Donell <carlos@redhat.com>
2112
c8dc1727
CD
2113 * bits/ioctl-types.h: Indent preprocessor directives correctly.
2114
6d03458e
CD
2115 * nptl/nptl-init.c: Include libc-internal.h.
2116 (__pthread_initialize_minimal_internal): Use ROUND_UP.
2117
97114a38
CD
2118 * elf/ldconfig.c (search_dir): Expand comment.
2119
0e7e69ba
JM
21202014-11-29 Joseph Myers <joseph@codesourcery.com>
2121
2122 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
2123 variable.
2124 (linknamespace-symlist-stdlibs-tests): Likewise.
2125 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
2126 instead of $(objpfx)symlist-stdlibs.
2127 (linknamespace-libs-isoc): New variable.
2128 (linknamespace-libs): Use $(linknamespace-libs-isoc).
2129 (linknamespace-libs-ISO): New variable.
2130 (linknamespace-libs-ISO99): Likewise.
2131 (linknamespace-libs-ISO11): Likewise.
2132 (linknamespace-libs-XPG3): Likewise.
2133 (linknamespace-libs-XPG4): Likewise.
2134 (linknamespace-libs-POSIX): Likewise.
2135 (linknamespace-libs-UNIX98): Likewise.
2136 (linknamespace-libs-XOPEN2K): Likewise.
2137 (linknamespace-libs-POSIX2008): Likewise.
2138 (linknamespace-libs-XOPEN2K8): Likewise.
2139 ($(objpfx)symlist-stdlibs): Replace by
2140 $(linknamespace-symlist-stdlibs-tests). Use
2141 $(linknamespace-libs-$*) as set of libraries.
2142 ($(linknamespace-header-tests)): Update dependencies. Use
2143 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
2144 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
2145 * conform/linknamespace.pl: Remove comment about considering
2146 definitions of symbols from irrelevant libraries.
2147
d8dd0080
L
21482014-11-28 H.J. Lu <hongjiu.lu@intel.com>
2149
2150 [BZ #13862]
2151 * elf/dl-tls.c: Include <atomic.h>.
2152 (oom): Remove #ifdef SHARED/#endif.
2153 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
2154 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
2155 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
2156 big enough.
2157 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
2158 * nptl/Makefile (tests): Add tst-stack4.
2159 (modules-names): Add tst-stack4mod.
2160 ($(objpfx)tst-stack4): New.
2161 (tst-stack4mod.sos): Likewise.
2162 ($(objpfx)tst-stack4.out): Likewise.
2163 ($(tst-stack4mod.sos)): Likewise.
2164 (clean): Likewise.
2165 * nptl/tst-stack4.c: New file.
2166 * nptl/tst-stack4mod.c: Likewise.
2167
167da422
B
21682014-11-27 J. Brown <jb999@gmx.de>
2169
2170 * sysdeps/x86/bits/string.h: Add recent CPUs.
2171
9114625b
JM
21722014-11-27 Joseph Myers <joseph@codesourcery.com>
2173
6b5189eb
JM
2174 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
2175 sigblock.
2176
49051f8e
JM
2177 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
2178 feof.
2179
9114625b
JM
2180 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
2181 variable.
2182
e7300fef
SL
21832014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
2184
2185 * nscd/connections.c: Include libc-internal.h because of macro
2186 usage ignore_value.
2187
1721f0a4
SP
21882014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2189
2190 * string/bits/string3.h (__warn_memset_zero_len): Don't
2191 declare for gcc newer than 5.0.
2192 (memset): Don't test for zero-length __LEN for gcc newer than
2193 5.0.
2194
be970916
JM
21952014-11-27 Joseph Myers <joseph@codesourcery.com>
2196
d88548f4
JM
2197 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
2198 size_t for %zu format.
2199
be970916
JM
2200 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
2201 difference, not %ju.
2202
3b20fd5c
JM
22032014-11-26 Joseph Myers <joseph@codesourcery.com>
2204
8915eace
JM
2205 * include/libc-internal.h (ignore_value): New macro.
2206 * nscd/connections.c (restart): Wrap calls to setuid and setgid
2207 with ignore_value.
2208
f1a5a0e3
JM
2209 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
2210 definition.
2211
59ef1715
JM
2212 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
2213 pthread_cleanup_push to void *.
2214
a6f3079b
JM
2215 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
2216 Undefine.
2217
706688aa
JM
2218 [BZ #16619]
2219 [BZ #16740]
2220 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
2221 instead of 1L << 52.
2222
12da14a5
JM
2223 * libio/bug-rewind.c (do_test): Check fwscanf return values.
2224 * libio/bug-rewind2.c (do_test): Likewise.
2225
bd5dadac
JM
2226 * debug/test-stpcpy_chk-ifunc.c: Remove file.
2227 * debug/test-strcpy_chk-ifunc.c: Likewise.
2228 * wcsmbs/test-wcschr-ifunc.c: Likewise.
2229 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2230 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2231 * wcsmbs/test-wcslen-ifunc.c: Likewise.
2232 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2233 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2234 * Rules [$(multi-arch) = no] (tests): Do not filter out
2235 $(tests-ifunc).
2236 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
2237 * debug/Makefile (tests-ifunc): Remove variable.
2238 (tests): Do not add $(tests-ifunc).
2239 * wcsmbs/Makefile (tests-ifunc): Remove variable.
2240 (tests): Do not add $(tests-ifunc).
2241 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
2242 [TEST_IFUNC]: Remove conditionals.
2243 * string/test-string.h (TEST_IFUNC): Remove macro.
2244 [TEST_IFUNC]: Remove conditionals.
2245
3b20fd5c
JM
2246 * string/test-strchr.c [!WIDE] (L): New macro.
2247 [WIDE] (L): Likewise.
2248 (check1): Use CHAR instead of char. Use L on string and character
2249 constants.
2250
704f7947
AZ
22512014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
2252
2253 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
2254 tests.
2255 * sysdeps/powerpc/bits/atomic.h
2256 (__arch_atomic_exchange_and_add_32_acq): Add definition.
2257 (__arch_atomic_exchange_and_add_32_rel): Likewise.
2258 (atomic_exchange_and_add_acq): Likewise.
2259 (atomic_exchange_and_add_rel): Likewise.
2260 * sysdeps/powerpc/powerpc32/bits/atomic.h
2261 (__arch_atomic_exchange_and_add_64_acq): Add definition.
2262 (__arch_atomic_exchange_and_add_64_rel): Likewise.
2263 * sysdeps/powerpc/powerpc64/bits/atomic.h
2264 (__arch_atomic_exchange_and_add_64_acq): Add definition.
2265 (__arch_atomic_exchange_and_add_64_rel): Likewise.
2266
cdcb42d7
TR
22672014-11-26 Torvald Riegel <triegel@redhat.com>
2268
2269 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
2270 Change synchronization of __sched_fifo_min_prio and
2271 __sched_fifo_max_prio.
2272 * nptl/pthread_mutexattr_getprioceiling.c
2273 (pthread_mutexattr_getprioceiling): Likewise.
2274 * nptl/pthread_mutexattr_setprioceiling.c
2275 (pthread_mutexattr_setprioceiling): Likewise.
2276 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
2277 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
2278 Likewise.
2279
c82f5c0c
JM
22802014-11-26 Joseph Myers <joseph@codesourcery.com>
2281
2282 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
2283 void.
2284
439e1ad6
JM
22852014-11-25 Joseph Myers <joseph@codesourcery.com>
2286
2287 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
2288 third argument const.
2289
b1eda10e
PE
22902014-11-25 Paul Eggert <eggert@cs.ucla.edu>
2291
2292 fnmatch: work around GCC compiler warning bug with uninit var
2293 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
2294 This works around a bug with x86-64 GCC 4.9.2 and earlier
2295 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
2296 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
2297 used uninitialized in this function [-Wmaybe-uninitialized]".
2298
bde2667a
JM
22992014-11-25 Joseph Myers <joseph@codesourcery.com>
2300
2301 * posix/bug-regex31.c (main): Return RES not 0.
2302
5fbb5691
AB
23032014-11-25 Anton Blanchard <anton@samba.org>
2304
2305 * sysdeps/powerpc/bits/atomic.h
2306 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
2307
467fec0b
BM
23082014-11-24 Sterling Augustine <saugustine@google.com>
2309
2310 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
2311
e9ff8efb
RC
23122014-11-24 Ryan Cumming <etaoins@gmail.com>
2313
2314 [BZ #17608]
2315 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
2316
9744496f
JM
23172014-11-24 Joseph Myers <joseph@codesourcery.com>
2318
2319 [BZ #17633]
2320 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
2321 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
2322 variable.
2323 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
2324 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
2325
6423d475
WD
23262014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
2327
2328 * string/strncpy.c (strncpy): Improve performance by using memset.
2329
23302014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
b863d2bc
WD
2331
2332 * string/strcpy.c (strcpy):
2333 Improve performance by using strlen and memcpy.
2334
5d178c37
LH
23352014-11-24 Leonhard Holz <leonhard.holz@web.de>
2336
2337 * string/strcoll_l.c (get_next_seq): __always_inline.
2338 * string/strcoll_l.c (do_compare): __always_inline.
2339
279bc5b3
SP
23402014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2341
7a9ebfa1
SP
2342 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
2343 defined.
2344 * include/mqueue.h: Likewise.
2345 * include/stdlib.h: Likewise.
2346
4f41c682
SP
2347 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
2348 (get_null_defines): Adjust.
2349 * sunrpc/Makefile: Adjust comment.
2350 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
2351 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
2352 (CFLAGS-interp.c): Likewise.
2353 (CFLAGS-ldconfig.c): Likewise.
2354 (CPPFLAGS-.os): Likewise.
2355 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2356 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2357 * extra-modules.mk (extra-modules.mk): Likewise.
2358 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
2359 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
2360 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
2361 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
2362 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
2363 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
2364 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
2365 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
2366 * iconvdata/Makefile (CPPFLAGS): Likewise.
2367 (cpp-srcs-left): Add libof for all iconvdata routines.
2368 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
2369 * include/assert.h: Likewise.
2370 * include/ctype.h: Likewise.
2371 * include/errno.h: Likewise.
2372 * include/libc-symbols.h: Likewise.
2373 * include/math.h: Likewise.
2374 * include/netdb.h: Likewise.
2375 * include/resolv.h: Likewise.
2376 * include/stdio.h: Likewise.
2377 * include/stdlib.h: Likewise.
2378 * include/string.h: Likewise.
2379 * include/sys/stat.h: Likewise.
2380 * include/wctype.h: Likewise.
2381 * intl/l10nflist.c: Likewise.
2382 * libidn/idn-stub.c: Likewise.
2383 * libio/libioP.h: Likewise.
2384 * nptl/libc_multiple_threads.c: Likewise.
2385 * nptl/pthreadP.h: Likewise.
2386 * posix/regex_internal.h: Likewise.
2387 * resolv/res_hconf.c: Likewise.
2388 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
2389 * sysdeps/arm/memmove.S: Likewise.
2390 * sysdeps/arm/sysdep.h: Likewise.
2391 * sysdeps/generic/_itoa.h: Likewise.
2392 * sysdeps/generic/symbol-hacks.h: Likewise.
2393 * sysdeps/gnu/errlist.awk: Likewise.
2394 * sysdeps/gnu/errlist.c: Likewise.
2395 * sysdeps/i386/i586/memcpy.S: Likewise.
2396 * sysdeps/i386/i586/memset.S: Likewise.
2397 * sysdeps/i386/i686/memcpy.S: Likewise.
2398 * sysdeps/i386/i686/memmove.S: Likewise.
2399 * sysdeps/i386/i686/mempcpy.S: Likewise.
2400 * sysdeps/i386/i686/memset.S: Likewise.
2401 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
2402 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2403 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
2404 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
2405 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2406 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2407 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
2408 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2409 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
2410 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
2411 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2412 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2413 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2414 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2415 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2416 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2417 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
2418 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
2419 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
2420 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2421 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2422 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2423 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2424 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2425 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2426 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2427 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
2428 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2429 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
2430 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
2431 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2432 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2433 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2434 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2435 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2436 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
2437 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2438 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2439 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
2440 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
2441 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2442 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2443 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
2444 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
2445 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2446 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2447 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
2448 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
2449 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2450 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
2451 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2452 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
2453 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
2454 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2455 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
2456 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
2457 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2458 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
2459 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
2460 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2461 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
2462 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2463 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
2464 * sysdeps/nptl/bits/libc-lock.h: Likewise.
2465 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2466 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
2467 * sysdeps/posix/closedir.c: Likewise.
2468 * sysdeps/posix/opendir.c: Likewise.
2469 * sysdeps/posix/readdir.c: Likewise.
2470 * sysdeps/posix/rewinddir.c: Likewise.
2471 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
2472 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
2473 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
2474 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2475 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2476 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
2477 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
2478 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
2479 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
2480 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
2481 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
2482 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
2483 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
2484 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
2485 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
2486 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
2487 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
2488 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
2489 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
2490 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
2491 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
2492 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
2493 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
2494 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
2495 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
2496 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
2497 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
2498 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
2499 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
2500 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
2501 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
2502 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
2503 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
2504 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
2505 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
2506 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
2507 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2508 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2509 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
2510 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
2511 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
2512 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
2513 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
2514 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
2515 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
2516 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
2517 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
2518 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
2519 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
2520 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
2521 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
2522 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
2523 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
2524 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
2525 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
2526 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
2527 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
2528 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
2529 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
2530 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
2531 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
2532 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
2533 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
2534 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
2535 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
2536 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
2537 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
2538 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
2539 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
2540 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
2541 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
2542 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
2543 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
2544 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
2545 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
2546 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
2547 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
2548 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
2549 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
2550 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
2551 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
2552 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
2553 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
2554 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
2555 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
2556 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
2557 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
2558 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
2559 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
2560 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2561 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
2562 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
2563 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
2564 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2565 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2566 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
2567 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2568 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2569 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
2570 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
2571 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2572 * sysdeps/unix/alpha/sysdep.S: Likewise.
2573 * sysdeps/unix/alpha/sysdep.h: Likewise.
2574 * sysdeps/unix/make-syscalls.sh: Likewise.
2575 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2576 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2577 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2578 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
2579 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2580 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
2581 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
2582 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2583 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2584 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
2585 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2586 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2587 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2588 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
2589 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2590 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
2591 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2592 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2593 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
2594 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2595 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
2596 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2597 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2598 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2599 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2600 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2601 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
2603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2604 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
2605 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2606 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2607 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
2608 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2609 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2610 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2611 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
2612 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2613 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2614 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2615 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2616 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2617 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2618 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2619 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2620 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2621 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2622 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2623 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2624 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2625 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2626 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2627 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2628 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2629 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2630 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2631 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2632 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2633 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
2634 * sysdeps/x86_64/memcpy.S: Likewise.
2635 * sysdeps/x86_64/memmove.c: Likewise.
2636 * sysdeps/x86_64/memset.S: Likewise.
2637 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
2638 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2639 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2640 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
2641 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
2642 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2643 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2644 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2645 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2646 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2647 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2648 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2649 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
2650 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2651 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2652 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
2653 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
2654 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2655 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
2656 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2657 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
2658 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2659 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2660 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
2661 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2662 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2663 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2664 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
2665 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
2666 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2667 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
2668 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2669 * sysdeps/x86_64/strcmp.S: Likewise.
2670
76ca86a5
SP
2671 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
2672
a3848485
SP
2673 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
2674 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
2675 * elf/rtld-Rules: Likewise.
2676 * elf/setup-vdso.h: Likewise.
2677 * include/assert.h: Likewise.
2678 * include/bits/stdlib-float.h: Likewise.
2679 * include/errno.h: Likewise.
2680 * include/sys/stat.h: Likewise.
2681 * include/unistd.h: Likewise.
2682 * sysdeps/aarch64/setjmp.S: Likewise.
2683 * sysdeps/alpha/setjmp.S: Likewise.
2684 * sysdeps/arm/__longjmp.S: Likewise.
2685 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
2686 * sysdeps/arm/setjmp.S: Likewise.
2687 * sysdeps/arm/sysdep.h: Likewise.
2688 * sysdeps/generic/_itoa.h: Likewise.
2689 * sysdeps/generic/dl-sysdep.h: Likewise.
2690 * sysdeps/generic/ldsodefs.h: Likewise.
2691 * sysdeps/i386/dl-tls.h: Likewise.
2692 * sysdeps/i386/setjmp.S: Likewise.
2693 * sysdeps/m68k/setjmp.c: Likewise.
2694 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
2695 * sysdeps/mach/hurd/opendir.c: Likewise.
2696 * sysdeps/posix/getcwd.c: Likewise.
2697 * sysdeps/posix/opendir.c: Likewise.
2698 * sysdeps/posix/profil.c: Likewise.
2699 * sysdeps/powerpc/dl-procinfo.h: Likewise.
2700 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2701 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
2702 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2703 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2704 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
2705 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2706 * sysdeps/s390/dl-tls.h: Likewise.
2707 * sysdeps/s390/s390-32/setjmp.S: Likewise.
2708 * sysdeps/s390/s390-64/setjmp.S: Likewise.
2709 * sysdeps/sh/sh3/setjmp.S: Likewise.
2710 * sysdeps/sh/sh4/setjmp.S: Likewise.
2711 * sysdeps/unix/alpha/sysdep.h: Likewise.
2712 * sysdeps/unix/arm/sysdep.S: Likewise.
2713 * sysdeps/unix/i386/sysdep.S: Likewise.
2714 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2715 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2716 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2717 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2718 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2719 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
2720 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2721 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2722 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2723 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
2724 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
2725 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2726 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2729 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2730 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2731 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2732 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2733 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2734 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2735 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2736 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2737 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2738 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2739 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2740 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2741 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2742 * sysdeps/x86_64/setjmp.S: Likewise.
2743
a109996e
SP
2744 * include/math.h: Use IS_IN instead of IS_IN_libm.
2745 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
2746 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2747 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2748 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
2749 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2750 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2751 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2752 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2753 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2754 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2755 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
2756 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
2757 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
2758 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
2759 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
2760 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
2761 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
2762 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
2763 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
2764 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
2765 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
2766 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
2767 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
2768 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
2769 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
2770 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
2771 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
2772 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
2773 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
2774 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
2775 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
2776 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
2777 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
2779 Likewise.
2780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
2781 Likewise.
2782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
2783 Likewise.
2784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
2785 Likewise.
2786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
2787 Likewise.
2788 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2789 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
2790 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2791 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2792 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2793 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
2795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
2796 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
2797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
2798 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
2799 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
2800 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
2801 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2802 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2803 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2804 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2805 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2806 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2807 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2808 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
2809 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2810 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2811 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2812 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
2813 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2814 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
2815
ce9f10f7
SP
2816 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
2817 * nptl/pthreadP.h: Likewise.
2818 * nptl_db/structs.def: Likewise.
2819 * sysdeps/arm/sysdep.h: Likewise.
2820 * sysdeps/nptl/bits/libc-lock.h: Likewise.
2821 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2822 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
2823 * sysdeps/unix/alpha/sysdep.h: Likewise.
2824 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2825 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2826 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2827 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2828 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2829 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2830 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2831 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2832 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2833 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2834 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2835 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2836 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2837 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
2839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2840 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2841 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2842 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2843 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2844 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2845 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2846 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2847 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2848 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
2849 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2850
016afc75
SP
2851 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
2852 * nptl/pthreadP.h: Likewise.
2853 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2854 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2855 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2856 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2857 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2858 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2859 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2860 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2861 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2862 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2863 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2864 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2866 Likewise.
2867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2868 Likewise.
2869 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2870 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2871 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2872 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2873 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2874 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2875 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2876 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2877
9b42a0b3
SP
2878 * dlfcn/dladdr.c: Use IS_IN.
2879 * dlfcn/dladdr1.c: Likewise.
2880 * dlfcn/dlclose.c: Likewise.
2881 * dlfcn/dlerror.c: Likewise.
2882 * dlfcn/dlinfo.c: Likewise.
2883 * dlfcn/dlmopen.c: Likewise.
2884 * dlfcn/dlopen.c: Likewise.
2885 * dlfcn/dlsym.c: Likewise.
2886 * dlfcn/dlvsym.c: Likewise.
2887
85f36372
SP
2888 * include/ifaddrs.h: Use IS_IN.
2889 * inet/check_pf.c: Likewise.
2890 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2891 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
2892
fb6784e3
SP
2893 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
2894 IS_IN_ldconfig.
2895 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
2896 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
2897
2886d2d1
SP
2898 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
2899 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
2900 IS_IN (libc).
2901
9a484857
SP
2902 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
2903
a10178bd
SP
2904 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
2905 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2906 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2907 * include/libc-symbols.h (IS_IN_LIB): New macro.
2908 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
2909 * include/netdb.h: Likewise.
2910 * include/stap-probe.h: Remove all uses of IN_LIB.
2911
279bc5b3
SP
2912 * Makeconfig (module-cppflags-real): Define MODULE_NAME
2913 instead of IN_MODULE.
2914 * include/libc-symbols.h (IN_MODULE): Define using
2915 MODULE_NAME.
2916 (PASTE_NAME, PASTE_NAME1): New macros.
2917 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
2918 of IN_LIB.
2919 (STAP_PROBE_ASM): Likewise.
2920
e0cfa510
ST
29212014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
2922
2923 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
2924 __mach_init in dlopened libc.
2925
34d97d87
MF
29262014-11-22 Mike Frysinger <vapier@gentoo.org>
2927
2928 * sysdeps/arm/preconfigure.ac: Delete EABI check.
2929 * sysdeps/arm/preconfigure: Regenerate.
2930
33cd1f74
RM
29312014-11-21 Roland McGrath <roland@hack.frob.com>
2932
2933 * nptl/pthread_create.c (__pthread_create_2_1): Set
2934 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
2935 when copying values from IATTR into PD.
2936
8c230039
WN
29372014-11-21 Will Newton <will.newton@linaro.org>
2938 Andrew Pinski <andrew.pinski@caviumnetworks.com>
2939
6d3db89b
AP
2940 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
2941 Refactor inline-asm. Also add comment.
2942
01194ba1
WN
2943 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
2944 ElfW macro instead of hardcoded Elf64 types.
2945 (la_aarch64_gnu_pltenter): Likewise.
2946 * sysdeps/aarch64/dl-machine.h
2947 (elf_machine_runtime_setup): Use ElfW(Addr).
2948
8c230039
WN
2949 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
2950 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
2951 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
2952 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
2953 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
2954 (R_AARCH64_TLS_DTPMOD64): Rename to ..
2955 (R_AARCH64_TLS_DTPMOD): This.
2956 (R_AARCH64_TLS_DTPREL64): Rename to ...
2957 (R_AARCH64_TLS_DTPREL): This.
2958 (R_AARCH64_TLS_TPREL64): Rename to ...
2959 (R_AARCH64_TLS_TPREL): This.
2960 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
2961 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
2962 R_AARCH64_TLS_TPREL64.
2963 (elf_machine_rela): Likewise.
2964
0d79fa53
TR
29652014-11-21 Torvald Riegel <triegel@redhat.com>
2966
2967 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
2968 by setting it to 0. 64b atomics are not supported currently.
2969
b59d114b
AO
29702014-11-21 Alexandre Oliva <aoliva@redhat.com>
2971
2972 [BZ #16469]
2973 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
2974 search domain names.
2975
f3d945d5
AO
29762014-11-21 Alexandre Oliva <aoliva@redhat.com>
2977
2978 [BZ #16469]
2979 * NEWS: Update.
2980 * resolv/res_query.c (__libc_res_nquerydomain): Retain
2981 trailing dot.
2982 * posix/tst-getaddrinfo5.c: New.
2983 * posix/Makefile (tests): Add it.
2984
49698902
AO
29852014-11-21 Alexandre Oliva <aoliva@redhat.com>
2986
2987 [BZ #14498]
2988 * NEWS: Fixed.
2989 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
2990 after parsing line but before break_if_match.
2991 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
2992 if there is a protocol mismatch.
2993
81959214
MS
29942014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
2995
2996 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
2997 because the potential race is on the user-supplied stream.
2998
7729e0e9
AO
29992014-11-21 Alexandre Oliva <aoliva@redhat.com>
3000
3001 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
3002 string literal if not passed a buffer.
3003 * manual/job.texi (ctermid): Update reasoning, note deviation
3004 from posix, suggest mtasurace when not passed a buffer, for
3005 future non-preliminary safety notes.
3006
a4ea5e28
AO
30072014-11-21 Alexandre Oliva <aoliva@redhat.com>
3008
3009 * manual/users.texi (cuserid): Fix MT-Safety note for the case
3010 of not passing it a buffer.
3011 Reported by Peng Haitao.
3012
a2b581cb
AO
30132014-11-21 Alexandre Oliva <aoliva@redhat.com>
3014
3015 * manual/Makefile ($(objpfx)stamp-summary): Require
3016 check-safety.sh to pass.
3017 * manual/check-safety.sh: Wish for verification that every
3018 @deftypefn and @deftypefun is followed by a @safety remark.
3019
f214ff74
RM
30202014-11-20 Roland McGrath <roland@hack.frob.com>
3021
7f0dfae0
RM
3022 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
3023
2f531bbb
RM
3024 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
3025 PTHREAD_CANCEL_ASYNCHRONOUS.
3026 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
3027 send SIGCANCEL.
3028
f214ff74
RM
3029 * nptl/default-sched.h: New file.
3030 * sysdeps/unix/sysv/linux/default-sched.h: New file.
3031 * nptl/pthread_create.c: Include it.
3032 (__pthread_create_2_1): Use collect_default_sched instead of making
3033 Linux syscalls here directly.
3034
e37c91d4
TR
30352014-11-20 Torvald Riegel <triegel@redhat.com>
3036
3037 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
3038 __pthread_once): Use C11 atomics.
3039
1eccfecd
TR
30402014-11-20 Torvald Riegel <triegel@redhat.com>
3041
3042 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
3043
ff871426
TR
30442014-11-20 Torvald Riegel <triegel@redhat.com>
3045
3046 * include/atomic.h (__atomic_link_error, __atomic_check_size,
3047 atomic_thread_fence_acquire, atomic_thread_fence_release,
3048 atomic_thread_fence_seq_cst, atomic_load_relaxed,
3049 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
3050 atomic_compare_exchange_weak_relaxed,
3051 atomic_compare_exchange_weak_acquire,
3052 atomic_compare_exchange_weak_release,
3053 atomic_exchange_acquire, atomic_exchange_release,
3054 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
3055 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
3056 atomic_fetch_and_acquire,
3057 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
3058
1ea339b6
TR
30592014-11-20 Torvald Riegel <triegel@redhat.com>
3060
3061 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
3062 USE_ATOMIC_COMPILER_BUILTINS): Define.
3063 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
3064 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3065 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
3066 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3067 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
3068 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3069 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
3070 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3071 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
3072 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3073 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
3074 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3075 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
3076 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3077 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
3078 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3079 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
3080 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3081 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
3082 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3083 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
3084 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3085 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
3086 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3087 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
3088 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3089 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
3090 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3091 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
3092 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3093 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
3094 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3095 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
3096 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3097 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
3098 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3099 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
3100 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3101 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
3102 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3103
cbd463e2
RM
31042014-11-19 Roland McGrath <roland@hack.frob.com>
3105
d960211f
RM
3106 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
3107 the sched_priority value here. It was already checked when the user
3108 called pthread_attr_setschedparam.
3109
cbd463e2
RM
3110 * nptl/tst-bad-schedattr.c: New file.
3111 * nptl/Makefile (tests): Add it.
3112
a39208bd
CD
31132014-11-19 Carlos O'Donell <carlos@redhat.com>
3114 Florian Weimer <fweimer@redhat.com>
3115 Joseph Myers <joseph@codesourcery.com>
3116 Adam Conrad <adconrad@0c3.net>
3117 Andreas Schwab <schwab@suse.de>
3118 Brooks <bmoses@google.com>
3119
3120 [BZ #17625]
3121 * wordexp-test.c (__dso_handle): Add prototype.
3122 (__register_atfork): Likewise.
3123 (__app_register_atfork): New function.
3124 (registered_forks): New global.
3125 (register_fork): New function.
3126 (test_case): Add 3 new tests for WRDE_CMDSUB.
3127 (main): Call __app_register_atfork.
3128 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
3129 fork count is non-zero fail the test.
3130 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
3131 is set.
3132 (parse_dollars): Remove check for WRDE_NOCMD.
3133 (parse_dquote): Likewise.
3134
9cd47470
SP
31352014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3136
130ac68c
SP
3137 * Makeconfig (built-modules): List non-library modules to be
3138 built.
3139 (module-cppflags): Include libc-modules.h for
3140 everything except shlib-versions.v.i.
3141 (CPPFLAGS): Use it.
3142 (before-compile): Add libc-modules.h.
3143 ($(common-objpfx)libc-modules.h,
3144 $(common-objpfx)libc-modules.stmp): New targets.
3145 (common-generated): Add libc-modules.h and libc-modules.stmp.
3146 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
3147 * include/libc-symbols.h: Don't include libc-modules.h.
3148 * include/libc-modules.h: Remove file.
3149 * scripts/gen-libc-modules.awk: New script to generate
3150 libc-modules.h.
3151 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
3152 Depend on libc-modules.stmp.
3153
286663c3
SP
3154 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
3155
9cd47470
SP
3156 * Makeconfig (in-module): Get value of libof set for the
3157 translation unit.
3158 (CPPFLAGS): Use $(in-module).
3159 * Makerules: Don't suffix routine names for nonlib.
3160 * include/libc-modules.h: New file.
3161 * include/libc-symbols.h: Include libc-modules.h
3162 (IS_IN): New macro to replace IS_IN_* macros.
3163 * elf/Makefile: Set libof-* for each routine.
3164 * elf/rtld-Rules: Likewise.
3165 * extra-modules.mk: Likewise.
3166 * iconv/Makefile: Likewise.
3167 * iconvdata/Makefile: Likewise.
3168 * locale/Makefile: Likewise.
3169 * malloc/Makefile: Likewise.
3170 * nss/Makefile: Likewise.
3171 * sysdeps/gnu/Makefile: Likewise.
3172 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
3173 * sysdeps/unix/sysv/linux/Makefile: Likewise.
3174 * sysdeps/s390/s390-64/Makefile: Likewise.
3175 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
3176 CPPFLAGS for nscd instead of nonlib.
3177
32fed10f
RM
31782014-11-18 Roland McGrath <roland@hack.frob.com>
3179
d71035bd
RM
3180 * nptl/createthread.c: New file.
3181
6540b991
RM
3182 * nptl/createthread.c: Moved ...
3183 * sysdeps/unix/sysv/linux/createthread.c: ... here.
3184
32fed10f
RM
3185 * nptl/createthread.c: Add proper top-line comment.
3186 (do_clone): Folded into ...
3187 (create_thread): ... here. Take new arguments STOPPED_START and
3188 THREAD_RAN. Always set PD->stopped_start to something here. Don't
3189 increment __nptl_threads, do event-reporting logic, do
3190 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
3191 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
3192 resource cleanup if sched_setaffinity or sched_setscheduler fails,
3193 just send SIGCANCEL.
3194 * nptl/pthread_create.c: Forward-declare create_thread before
3195 including createthread.c.
3196 (start_thread): Use new macro START_THREAD_DEFN to replace defining
3197 declaration, and new macro START_THREAD_SELF to replace argument.
3198 Remove return statement.
3199 (report_thread_creation): New function.
3200 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
3201 synchronization logic, and __nptl_nthreads increment here, around
3202 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
3203 PD->parent_cancelhandling here, before create_thread. When
3204 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
3205 __deallocate_stack, and ENOMEM translation here.
3206
107a5bf0
JM
32072014-11-18 Joseph Myers <joseph@codesourcery.com>
3208
3209 [BZ #17616]
3210 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
3211 (mptwo): Rename to __mptwo.
3212 (__inv): Use __mptwo instead of mptwo.
3213 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
3214 (mptwo): Rename to __mptwo.
3215 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
3216 of mpone and __mptwo instead of mptwo.
3217 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
3218 instead of mpone.
3219 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3220 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
3221 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
3222 of mpone and __mptwo instead of mptwo.
3223 (__mpranred): Use __mpone instead of mpone.
3224 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
3225 variable.
3226 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
3227 (test-xfail-ISO99/math.h/linknamespace): Likewise.
3228 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
3229 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
3230 (test-xfail-ISO11/math.h/linknamespace): Likewise.
3231 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
3232 (test-xfail-XPG3/math.h/linknamespace): Likewise.
3233 (test-xfail-XPG4/math.h/linknamespace): Likewise.
3234 (test-xfail-POSIX/math.h/linknamespace): Likewise.
3235 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
3236 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3237 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
3238 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
3239 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
3240 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3241 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3242 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3243 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3244 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3245
3b679ab3
TV
32462014-11-18 Tom de Vries <tom@codesoucery.com>
3247
3248 * manual/signal.texi (Primitives Interrupted by Signals): In section,
3249 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
3250
32512014-11-17 Richard Henderson <rth@redhat.com>
3252
3253 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
3254 (_FP_PACK_RAW_2): Remove.
3255 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
3256 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
3257 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
3258 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
3259 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
3260 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
3261 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
3262 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
3263 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
3264 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
3265 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
3266 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
3267 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
3268 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
3269 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
3270 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
3271
0781a777
RM
32722014-11-14 Roland McGrath <roland@hack.frob.com>
3273
3274 * signal/signal.h [__USE_MISC]
3275 (struct sigvec): Remove type.
3276 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
3277 (sigvec): Remove declaration.
3278 * sysdeps/posix/sigvec.c: Moved ...
3279 * signal/sigvec.c: ... here, replacing old file.
3280 (struct sigvec): New type, copied from old signal.h definition.
3281 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
3282 (__sigvec): Convert definition to prototype.
3283 (sigvec): Replace weak_alias with compat_symbol.
3284 * signal/Versions (libc: GLIBC_2.21): New version set.
3285 * include/signal.h: Remove __sigvec declaration.
3286 * sysdeps/unix/bsd/sigvec.c: Remove file.
3287 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
3288 * manual/signal.texi (BSD Handler): Remove subsection.
3289 Move siginterrupt up to ...
3290 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
3291 (Blocking in BSD): Fold subsection into its parent.
3292 * NEWS: Mention sigvec removal.
3293
a4733812
JM
32942014-11-14 Joseph Myers <joseph@codesourcery.com>
3295
5ae4fe60
JM
3296 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
3297 (DLA_FMS): Make definition conditional only on [__FMA4__].
3298 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
3299 definition.
3300
6a0dd472
JM
3301 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
3302 Make definition conditional only on [PROF].
3303 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
3304 definition.
3305 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
3306 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
3307
a4733812
JM
3308 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
3309 !__GNUC__].
3310 * include/signal.h (__sigpause): Move declaration above call to
3311 libc_hidden_proto.
3312 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
3313 variable.
3314 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
3315 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
3316
cf7246dd
DM
33172014-11-14 David S. Miller <davem@davemloft.net>
3318
3319 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
3320 Define before including <string/memcpy.c> and <string/mempcpy.c>.
3321
c1b0aadc
JM
33222014-11-14 Joseph Myers <joseph@codesourcery.com>
3323
4863355a
JM
3324 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
3325 * configure: Regenerated.
3326 * manual/install.texi (Tools for Compilation): Document a
3327 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
3328 compiler verified to work.
3329 * INSTALL: Regenerated.
3330
c1b0aadc
JM
3331 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
3332 redeclare with asm name.
3333 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
3334 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
3335 including <string.h>.
3336 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3337 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
3338 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3339 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
3340 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3341 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
3342 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3343
2a1cfd94
JM
33442014-11-13 Joseph Myers <joseph@codesourcery.com>
3345
bf438382
JM
3346 * stdlib/strtol.c (__strtol): Use prototype definition.
3347
2a1cfd94
JM
3348 [BZ #17594]
3349 * stdlib/strtol.c (SYM__): New macro.
3350 (SYM__1): Likewise.
3351 (__strtol): Likewise.
3352 (strtol): Rename to __strtol and define as weak alias of
3353 __strtol. Use libc_hidden_weak.
3354
20ed0d26
SL
33552014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3356
3357 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
3358 Use numbered labels in inline assembly.
3359
53244a4e
SL
33602014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3361
3362 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
3363 Add setjmp LIBC_PROBE.
3364 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
3365 Likewise.
3366 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
3367 Add longjmp, longjmp_target LIBC_PROBE.
3368 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
3369 Likewise.
3370
47df8251
SL
33712014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3372
3373 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3374 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
3375 to get rid of unused variable warning.
3376
618cebef
SL
33772014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3378
3379 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
3380 Check for unwind_backtrace == NULL only in SHARED case.
3381 (__backchain_backtrace): Compile only in SHARED case.
3382 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
3383 Likewise.
3384 (__backchain_backtrace): Declare as static.
3385
c6aab2cb
RM
33862014-11-12 Roland McGrath <roland@hack.frob.com>
3387
3388 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
3389 (__libc_multiple_threads_ptr): Variable moved ...
3390 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
3391
5a6fa4d7
JM
33922014-11-12 Joseph Myers <joseph@codesourcery.com>
3393
24f4f825
JM
3394 * conform/GlibcConform.pm: New file.
3395 * conform/conformtest.pl: Use GlibcConform module.
3396 * conform/linknamespace.pl: New file.
3397 * conform/list-header-symbols.pl: Likewise.
3398 * conform/Makefile (linknamespace-symlists-base): New variable.
3399 (linknamespace-symlists-tests): Likewise.
3400 (linknamespace-header-base): Likewise.
3401 (linknamespace-header-tests): Likewise.
3402 (tests-special): Add new tests.
3403 ($(linknamespace-symlists-tests)): New rule.
3404 (linknamespace-libs): New variable.
3405 ($(objpfx)symlist-stdlibs): New rule.
3406 ($(linknamespace-header-tests)): Likewise.
3407 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
3408 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
3409 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
3410 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
3411 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
3412 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
3413 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
3414 (test-xfail-ISO/math.h/linknamespace): Likewise.
3415 (test-xfail-ISO/signal.h/linknamespace): Likewise.
3416 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
3417 (test-xfail-ISO/time.h/linknamespace): Likewise.
3418 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
3419 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
3420 (test-xfail-ISO99/math.h/linknamespace): Likewise.
3421 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
3422 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3423 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
3424 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
3425 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
3426 (test-xfail-ISO11/math.h/linknamespace): Likewise.
3427 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
3428 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3429 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
3430 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
3431 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
3432 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
3433 (test-xfail-XPG3/math.h/linknamespace): Likewise.
3434 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
3435 (test-xfail-XPG3/search.h/linknamespace): Likewise.
3436 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
3437 (test-xfail-XPG3/time.h/linknamespace): Likewise.
3438 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
3439 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
3440 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
3441 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
3442 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
3443 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
3444 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
3445 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
3446 (test-xfail-XPG4/math.h/linknamespace): Likewise.
3447 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
3448 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3449 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
3450 (test-xfail-XPG4/search.h/linknamespace): Likewise.
3451 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
3452 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
3453 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
3454 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
3455 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
3456 (test-xfail-XPG4/time.h/linknamespace): Likewise.
3457 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
3458 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
3459 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
3460 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
3461 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
3462 (test-xfail-POSIX/math.h/linknamespace): Likewise.
3463 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
3464 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
3465 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
3466 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3467 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
3468 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3469 (test-xfail-POSIX/time.h/linknamespace): Likewise.
3470 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
3471 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
3472 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3473 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
3474 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
3475 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
3476 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
3477 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3478 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3479 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
3480 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
3481 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
3482 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3483 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3484 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
3485 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3486 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
3487 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
3488 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
3489 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
3490 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3491 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3492 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
3493 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3494 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
3495 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
3496 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
3497 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
3498 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3499 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
3500 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
3501 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
3502 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
3503 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
3504 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3505 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
3506 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
3507 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
3508 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
3509 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
3510 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3511 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
3512 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
3513 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3514 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
3515 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
3516 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
3517 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3518 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3519 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
3520 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
3521 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
3522 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3523 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
3524 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
3525 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
3526 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
3527 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
3528 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
3529 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
3530 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
3531 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
3532 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3533 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
3534 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3535 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
3536 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3537 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
3538 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
3539 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
3540 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3541 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3542 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3543 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3544 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
3545 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3546 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3547 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
3548 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
3549 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
3550 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
3551 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3552 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3553 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
3554 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3555 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
3556 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3557 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
3558 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
3559 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
3560 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3561 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
3562 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3563 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3564 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
3565 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3566 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3567 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
3568
cc67478e
JM
3569 [BZ #17589]
3570 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
3571 of fgets_unlocked.
3572
9975e3d3
JM
3573 [BZ #17585]
3574 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
3575 (memmem): Rename to __memmem and define as weak alias of
3576 __memmem. Use libc_hidden_weak.
3577 (__memmem): Use libc_hidden_def.
3578 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
3579 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
3580 memmem.
3581
c4eae752
JM
3582 [BZ #17582]
3583 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
3584 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
3585 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
3586 and define as weak alias of __fgets_unlocked. Use
3587 libc_hidden_weak.
3588 (__fgets_unlocked): Use libc_hidden_def.
3589 * include/stdio.h (__fgets_unlocked): Declare. Use
3590 libc_hidden_proto.
3591 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
3592 __fgets_unlocked instead of fgets_unlocked.
3593 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
3594 (GET_NPROCS_CONF_PARSER): Likewise.
3595 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
3596 (GET_NPROCS_CONF_PARSER): Likewise.
3597
01cad84e
JM
3598 [BZ #17574]
3599 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
3600 weak alias of __wmemset. Use libc_hidden_weak.
3601 (__wmemset): Use libc_hidden_def.
3602 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
3603 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
3604 of wmemset.
3605
939da411
JM
3606 [BZ #17573]
3607 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
3608 with asm name __mempcpy.
3609 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
3610
293d9a41
JM
3611 [BZ #17572]
3612 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
3613 and define as weak alias of __rawmemchr.
3614 (__rawmemchr): Do not define as strong alias of rawmemchr.
3615
bef8fd60
JM
3616 [BZ #17571]
3617 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
3618 alias of __qsort_r.
3619 (qsort): Call __qsort_r instead of qsort_r.
3620 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
3621 (__qsort_r): Declare. Call libc_hidden_proto.
3622 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
3623 instead of qsort_r.
3624 * nscd/gai.c (__qsort_r): Define to qsort_r.
3625 * posix/tst-rfc3484.c (__qsort_r): Likewise.
3626 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
3627 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
3628
c52ff39e
JM
3629 [BZ #17570]
3630 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
3631 define as weak alias of __malloc_info.
3632
2f5c1b00
JM
3633 [BZ #17584]
3634 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
3635 as weak alias of __rewinddir. Don't use libc_hidden_def.
3636 (__rewinddir): Use libc_hidden_def.
3637 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
3638 as weak alias of __rewinddir. Don't use libc_hidden_def.
3639 (__rewinddir): Use libc_hidden_def.
3640 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
3641 weak alias of __rewinddir. Don't use libc_hidden_def.
3642 (__rewinddir): Use libc_hidden_def.
3643 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
3644 (__rewinddir): Use libc_hidden_proto.
3645 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
3646 rewinddir.
3647 (__getcwd): Use __rewinddir instead of rewinddir.
3648
5a6fa4d7
JM
3649 [BZ #17583]
3650 * libio/fileno.c (fileno): Rename to __fileno and define as weak
3651 alias of __fileno. Use libc_hidden_weak.
3652 (__fileno): Use libc_hidden_def.
3653 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
3654 * libio/ftello.c (ftello): Rename to __ftello and define as weak
3655 alias of __ftello.
3656 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
3657 __ftello.
3658 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
3659 (__fread_unlocked): Define as strong alias of _IO_fread. Use
3660 libc_hidden_def.
3661 (fread_unlocked): Don't use libc_hidden_ver.
3662 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
3663 and define as weak alias of __fread_unlocked. Don't use
3664 libc_hidden_def.
3665 (__fread_unlocked): Use libc_hidden_def.
3666 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
3667 (ftello): Don't use libc_hidden_proto.
3668 (__ftello): Declare. Use libc_hidden_proto.
3669 (fread_unlocked): Don't use libc_hidden_proto.
3670 (__fread_unlocked): Declare. Use libc_hidden_proto.
3671 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
3672 and __ftello instead of fileno, fread_unlocked and ftello.
3673
2581b98e
SP
36742012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3675
3676 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
3677 GOT12.
3678 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
3679 Likewise.
3680 (_dl_start_user): Likewise.
3681 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
3682
533bb7c2
SP
36832014-11-12 Carlos O'Donell <carlos@redhat.com>
3684 Siddhesh Poyarekar <siddhesh@redhat.com>
3685
3686 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
3687 Move argv and envp down instead of moving argc up.
3688 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
3689
fffa1cf8
LH
36902014-11-12 Leonhard Holz <leonhard.holz@web.de>
3691
3692 [BZ #17506]
3693 * test-skeleton.c (main): Return successful if one of
3694 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
3695 * string/tst-strcoll-overflow.c: Define expected status.
3696
fb89b46d
TU
36972014-11-12 Tatiana Udalova <t.udalova@samsung.com>
3698
3699 [BZ #17475]
3700 * locale/iso-639.def: Define Bhili and Tulu language codes.
3701
5c40c3ba
AH
37022014-11-11 Alan Hayward <alan.hayward@arm.com>
3703
3704 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
3705
b17fe01b 37062014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
3707
3708 [BZ #17555]
3709 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
3710
bd805071
AS
37112014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
3712
3713 * configure.ac: Updated check of minimal required version to
3714 2.22.
3715 * manual/install.texi (Tools for Compilation): Updated version
3716 number.
3717 * configure: Regenerated.
3718 * INSTALL: Likewise.
3719
1400983e
AS
37202014-11-07 Andreas Schwab <schwab@linux-m68k.org>
3721
3722 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
3723 __tls_get_addr.
3724
2c46a66a
JM
37252014-11-07 Joseph Myers <joseph@codesourcery.com>
3726
3727 * include/sys/wait.h (__libc_waitpid): Remove declaration.
3728 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
3729 (__waitpid): Don't define as alias. Use libc_hidden_def not
3730 libc_hidden_weak.
3731 (waitpid): Define as alias of __waitpid.
3732 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
3733 __waitpid.
3734 (__waitpid): Don't define as alias. Use libc_hidden_def not
3735 libc_hidden_weak.
3736 (waitpid): Define as alias of __waitpid.
3737 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
3738 __libc_waitpid alias.
3739 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
3740 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
3741 Likewise.
3742 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
3743 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
3744 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
3745 alias.
3746 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
3747 __waitpid.
3748 (__waitpid): Don't define as alias. Use libc_hidden_def not
3749 libc_hidden_weak.
3750 (waitpid): Define as alias of __waitpid.
3751
da53d6db
CD
37522014-11-06 Carlos O'Donell <carlos@redhat.com>
3753
a2887bdb
CD
3754 * manual/llio.texi: Add comment that write safety has been
3755 fixed in Linux.
3756
da53d6db
CD
3757 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
3758 (localplt-build-dso): Add elf/ld.so.
3759 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
3760 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
3761 and free for ld.so.
3762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
3763 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
3764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
3765 Likewise.
3766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3767 Likewise.
3768 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
3769 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
3770 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
3771 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
3772 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
3773 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
3774 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
3775 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
3776 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
3777 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
3778 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
3779
9cf27b8d
JM
37802014-11-05 Joseph Myers <joseph@codesourcery.com>
3781
3782 [BZ #14132]
3783 * include/libc-symbols.h (INTUSE): Remove macro.
3784 (INTDEF): Likewise.
3785 (INTVARDEF): Likewise.
3786 (_INTVARDEF): Likewise.
3787 (INTDEF2): Likewise.
3788 (INTVARDEF2): Likewise.
3789 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
3790 rtld_hidden_def instead of INTVARDEF.
3791 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
3792 (_dl_starting_up_internal): Remove declaration.
3793 (_dl_starting_up): Use rtld_hidden_proto.
3794 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
3795 declaration.
3796 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
3797 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
3798 _dl_starting_up.
3799 * elf/dl-writev.h (_dl_writev): Likewise.
3800 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
3801 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
3802 _dl_starting_up_internal.
3803
af83568d
AZ
38042014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3805
3806 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
3807 test-skeleton.c.
3808
b01ee67c
WN
38092014-11-05 Will Newton <will.newton@linaro.org>
3810
3811 * benchtests/Makefile: (bench-malloc): Add malloc thread
3812 scalability benchmark.
3813 * benchtests/bench-malloc-threads.c: New file.
3814
be9d4ccc
RE
38152014-11-05 Richard Earnshaw <rearnsha@arm.com>
3816
3817 * sysdeps/aarch64/strchrnul.S: New file.
3818
7110166d
AZ
38192014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3820
3821 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
3822 definition.
3823 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3824 Likwise.
3825 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3826 Likewise.
3827 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3828 Likewise.
3829 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3830 Likewise.
3831 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3832 Likewise.
3833
38342014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
3835
3836 * catgets/test-gencat.c: Use test-skeleton.c.
3837 * catgets/tst-catgets.c: Likewise.
3838 * csu/tst-empty.c: Likewise.
3839 * elf/tst-audit2.c: Likewise.
3840 * elf/tst-global1.c: Likewise.
3841 * elf/tst-pathopt.c: Likewise.
3842 * elf/tst-piemod1.c: Likewise.
3843 * elf/tst-tls10.c: Likewise.
3844 * elf/tst-tls11.c: Likewise.
3845 * elf/tst-tls12.c: Likewise.
3846 * gnulib/tst-gcc.c: Likewise.
3847 * iconvdata/tst-e2big.c: Likewise.
3848 * iconvdata/tst-loading.c: Likewise.
3849 * iconv/tst-iconv1.c: Likewise.
3850 * iconv/tst-iconv2.c: Likewise.
3851 * inet/test-inet6_opt.c: Likewise.
3852 * inet/tst-gethnm.c: Likewise.
3853 * inet/tst-network.c: Likewise.
3854 * inet/tst-ntoa.c: Likewise.
3855 * intl/tst-codeset.c: Likewise.
3856 * intl/tst-gettext2.c: Likewise.
3857 * intl/tst-gettext3.c: Likewise.
3858 * intl/tst-ngettext.c: Likewise.
3859 * intl/tst-translit.c: Likewise.
3860 * io/test-stat.c: Likewise.
3861 * libio/test-fmemopen.c: Likewise.
3862 * libio/tst-freopen.c: Likewise.
3863 * libio/tst-sscanf.c: Likewise.
3864 * libio/tst-ungetwc1.c: Likewise.
3865 * libio/tst-ungetwc2.c: Likewise.
3866 * libio/tst-widetext.c: Likewise.
3867 * localedata/tst-ctype.c: Likewise.
3868 * localedata/tst-digits.c: Likewise.
3869 * localedata/tst-leaks.c: Likewise.
3870 * localedata/tst-mbswcs1.c: Likewise.
3871 * localedata/tst-mbswcs2.c: Likewise.
3872 * localedata/tst-mbswcs3.c: Likewise.
3873 * localedata/tst-mbswcs4.c: Likewise.
3874 * localedata/tst-mbswcs5.c: Likewise.
3875 * localedata/tst-setlocale.c: Likewise.
3876 * localedata/tst-trans.c: Likewise.
3877 * localedata/tst-wctype.c: Likewise.
3878 * localedata/tst-xlocale1.c: Likewise.
3879 * login/tst-grantpt.c: Likewise.
3880 * malloc/tst-calloc.c: Likewise.
3881 * malloc/tst-malloc.c: Likewise.
3882 * malloc/tst-mallocstate.c: Likewise.
3883 * malloc/tst-mcheck.c: Likewise.
3884 * malloc/tst-mtrace.c: Likewise.
3885 * malloc/tst-obstack.c: Likewise.
3886 * math/atest-exp2.c: Likewise.
3887 * math/atest-exp.c: Likewise.
3888 * math/atest-sincos.c: Likewise.
3889 * math/test-matherr.c: Likewise.
3890 * math/test-misc.c: Likewise.
3891 * math/test-powl.c: Likewise.
3892 * math/tst-definitions.c: Likewise.
3893 * misc/tst-dirname.c: Likewise.
3894 * misc/tst-efgcvt.c: Likewise.
3895 * misc/tst-fdset.c: Likewise.
3896 * misc/tst-hsearch.c: Likewise.
3897 * misc/tst-mntent2.c: Likewise.
3898 * nptl/tst-sem7.c: Likewise.
3899 * nptl/tst-sem8.c: Likewise.
3900 * nptl/tst-sem9.c: Likewise.
3901 * nss/test-netdb.c: Likewise.
3902 * posix/tst-fnmatch.c: Likewise.
3903 * posix/tst-getlogin.c: Likewise.
3904 * posix/tst-gnuglob.c: Likewise.
3905 * posix/tst-mmap.c: Likewise.
3906 * pwd/tst-getpw.c: Likewise.
3907 * resolv/tst-inet_ntop.c: Likewise.
3908 * rt/tst-timer.c: Likewise.
3909 * stdio-common/test-fseek.c: Likewise.
3910 * stdio-common/test-popen.c: Likewise.
3911 * stdio-common/test-vfprintf.c: Likewise.
3912 * stdio-common/tst-cookie.c: Likewise.
3913 * stdio-common/tst-fileno.c: Likewise.
3914 * stdio-common/tst-gets.c: Likewise.
3915 * stdio-common/tst-obprintf.c: Likewise.
3916 * stdio-common/tst-perror.c: Likewise.
3917 * stdio-common/tst-sprintf2.c: Likewise.
3918 * stdio-common/tst-sprintf3.c: Likewise.
3919 * stdio-common/tst-sprintf.c: Likewise.
3920 * stdio-common/tst-swprintf.c: Likewise.
3921 * stdio-common/tst-tmpnam.c: Likewise.
3922 * stdio-common/tst-unbputc.c: Likewise.
3923 * stdio-common/tst-wc-printf.c: Likewise.
3924 * stdlib/tst-environ.c: Likewise.
3925 * stdlib/tst-fmtmsg.c: Likewise.
3926 * stdlib/tst-limits.c: Likewise.
3927 * stdlib/tst-rand48-2.c: Likewise.
3928 * stdlib/tst-rand48.c: Likewise.
3929 * stdlib/tst-random2.c: Likewise.
3930 * stdlib/tst-random.c: Likewise.
3931 * stdlib/tst-strtol.c: Likewise.
3932 * stdlib/tst-strtoll.c: Likewise.
3933 * stdlib/tst-tls-atexit.c: Likewise.
3934 * stdlib/tst-xpg-basename.c: Likewise.
3935 * string/test-ffs.c: Likewise.
3936 * string/tst-bswap.c: Likewise.
3937 * string/tst-inlcall.c: Likewise.
3938 * string/tst-strtok.c: Likewise.
3939 * string/tst-strxfrm.c: Likewise.
3940 * sysdeps/x86_64/tst-audit10.c: Likewise.
3941 * sysdeps/x86_64/tst-audit3.c: Likewise.
3942 * sysdeps/x86_64/tst-audit4.c: Likewise.
3943 * sysdeps/x86_64/tst-audit5.c: Likewise.
3944 * time/tst-ftime_l.c: Likewise.
3945 * time/tst-getdate.c: Likewise.
3946 * time/tst-mktime3.c: Likewise.
3947 * time/tst-mktime.c: Likewise.
3948 * time/tst-posixtz.c: Likewise.
3949 * time/tst-strptime2.c: Likewise.
3950 * time/tst-strptime3.c: Likewise.
3951 * wcsmbs/tst-btowc.c: Likewise.
3952 * wcsmbs/tst-mbrtowc.c: Likewise.
3953 * wcsmbs/tst-mbsrtowcs.c: Likewise.
3954 * wcsmbs/tst-wchar-h.c: Likewise.
3955 * wcsmbs/tst-wcpncpy.c: Likewise.
3956 * wcsmbs/tst-wcrtomb.c: Likewise.
3957 * wcsmbs/tst-wcsnlen.c: Likewise.
3958 * wcsmbs/tst-wcstof.c: Likewise.
3959
2004e7fb
JM
39602014-11-04 Joseph Myers <joseph@codesourcery.com>
3961
ab97ee8f
JM
3962 [BZ #14132]
3963 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
3964 INTDEF.
3965 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
3966 declaration.
3967 (_dl_mcount): Use rtld_hidden_proto.
3968 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
3969 _dl_mcount.
3970 * elf/rtld.c (_rtld_global_ro): Likewise.
3971
c5684fdb
JM
3972 [BZ #14132]
3973 * elf/dl-init.c (_dl_init): Don't use INTDEF.
3974 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
3975 of _dl_init_internal.
3976 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
3977 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
3978 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
3979 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
3980 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
3981 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
3982 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
3983 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
3984 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
3985 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
3986 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
3987 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
3988 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3989 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3990 * sysdeps/tile/dl-start.S (_start): Likewise.
3991 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
3992 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
3993
4243cbea
JM
3994 [BZ #14132]
3995 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
3996 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
3997 (rtld_progname): Make macro definition unconditional.
3998 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
3999 INTDEF.
4000 (dlmopen_doit): Do not use INTUSE with _dl_argv.
4001 (dl_main): Likewise.
4002 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
4003 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
4004 instead of _dl_argv_internal.
4005 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4006 __GI__dl_argv instead of INTUSE(_dl_argv).
4007 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
4008 __GI__dl_argv instead of _dl_argv_internal.
4009
2004e7fb
JM
4010 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
4011 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
4012 macro.
4013 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
4014 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
4015 New macro.
4016 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
4017 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
4018 macro.
4019 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
4020 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
4021
97827bfc
AS
40222014-11-04 Andreas Schwab <schwab@suse.de>
4023
4024 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
4025
5e4df284
AZ
40262014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4027
4028 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
4029 mtvsrd instruction in binary form.
4030
04b76b5a
AS
40312014-11-03 Andreas Schwab <schwab@suse.de>
4032
4033 [BZ #17522]
4034 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
4035 for less than MB_LEN_MAX use a local buffer of that size.
4036 * libio/tst-fputws.c: New file.
4037 * libio/Makefile (tests): Add tst-fputws.
4038
4c6da7da
JM
40392014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
4040
4041 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
4042 the size of the fpu_fr.fpu_dregs[] array.
4043
1679ba8e
JM
40442014-11-01 Joseph Myers <joseph@codesourcery.com>
4045
4046 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
4047 (__nanosleep): Do not define as alias.
4048 (nanosleep): Define as alias of __nanosleep.
4049 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
4050 __libc_nanosleep name.
4051
2626c183
JM
40522014-10-31 Joseph Myers <joseph@codesourcery.com>
4053
4054 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
4055 install.texi in comment.
4056
7f981fc2
TR
40572014-10-31 Torvald Riegel <triegel@redhat.com>
4058
4059 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
4060 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
4061 ... add here and use lwsync or sync ...
4062 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
4063 ... and add here using lwsync.
4064
d6f373d2
MF
40652014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
4066
4067 * elf/dl-machine-reject-phdr.h: New file.
4068 * elf/dl-load.c: #include that.
4069 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
4070 if that returned true.
4071
67c37987
RM
40722014-10-31 Roland McGrath <roland@hack.frob.com>
4073
4074 [BZ #17496]
4075 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
4076 gen-as-const-headers chunk. Add a big scare comment after the last
4077 safe place to touch before-compile.
4078
94a42455 40792014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 4080
f3f5d895
JM
4081 * manual/install.texi (Tools for Compilation): Update autoconf
4082 version requirements.
4083 * INSTALL: Regenerated.
4084
f62ff286
JM
4085 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
4086 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
4087 (__libc_pselect): Likewise.
94a42455
JM
4088
4089 [BZ #14138]
4090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
4091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4094
ff9dbdc0
TR
40952014-10-31 Torvald Riegel <triegel@redhat.com>
4096
4097 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
4098 correct barrier instruction.
4099 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
4100 Likewise.
4101 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
4102 Likewise.
4103
b4f66884
RM
41042014-10-30 Roland McGrath <roland@hack.frob.com>
4105
4106 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
4107 after defining inlines. Instead, just use parens to defeat macro
4108 expansion of __isctype in its declaration.
4109
e19c95fd
JM
41102014-10-30 Joseph Myers <joseph@codesourcery.com>
4111
4112 * include/sys/uio.h (__libc_readv): Remove declaration.
4113 (__libc_writev): Likewise.
4114 * misc/readv.c (__libc_readv): Rename to __readv.
4115 (__readv): Do not define as alias.
4116 (readv): Define as alias of __readv.
4117 * misc/writev.c (__libc_writev): Rename to __writev.
4118 (__writev): Do not define as alias.
4119 (writev): Define as alias of __writev.
4120 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
4121 (__readv): Do not define as alias.
4122 (readv): Define unconditionally as alias of __readv.
4123 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
4124 (__writev): Do not define as alias.
4125 (writev): Define unconditionally as alias of __writev.
4126 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
4127 name.
4128 (writev): Do not define __libc_writev name.
4129
65b00b6c
RM
41302014-10-30 Roland McGrath <roland@hack.frob.com>
4131
4132 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
4133 (convert_charseq): New function, broken out of ...
4134 (use_from_charmap): ... here. Call it.
4135 (use_to_charmap): Use convert_charseq and free instead of duplicating
4136 its code with a variable-length stack struct.
4137
d4e157aa
JM
41382014-10-30 Joseph Myers <joseph@codesourcery.com>
4139
4140 * include/fcntl.h (__libc_creat): Remove declaration.
4141 * io/creat.c (__libc_creat): Rename to creat.
4142 (creat): Do not define as alias.
4143 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
4144 of creat instead of __libc_creat.
4145 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
4146 to creat.
4147 (creat): Do not define as alias.
4148 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
4149 __libc_creat.
4150 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
4151 __libc_creat name.
4152 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
4153 Likewise.
4154
0c6891a0
CD
41552014-10-29 Carlos O'Donell <carlos@redhat.com>
4156
4157 * manual/llio.texi: Add comments discussing why write() may be
4158 considered MT-unsafe on Linux.
4159
cc00cece
CD
41602014-10-28 Carlos O'Donell <carlos@redhat.com>
4161
4162 * dl-load.c (local_strdup): Remove.
4163 (expand_dynamic_string_token): Use __strdup.
4164 (decompose_rpath): Likewise.
4165 (_dl_map_object): Likewise.
4166
51e623f2
JM
41672014-10-28 Joseph Myers <joseph@codesourcery.com>
4168
4169 [BZ #14132]
4170 * sysdeps/generic/unwind-dw2-fde.c
4171 (__register_frame_info_bases_internal): Do not declare.
4172 (__register_frame_info_table_bases_internal): Likewise.
4173 (__deregister_frame_info_bases_internal): Likewise.
4174 (__register_frame_info_bases): Declare and use hidden_proto before
4175 definition. Use hidden_def instead of INTDEF.
4176 (__register_frame_info_table_bases): Likewise.
4177 (__deregister_frame_info_bases): Likewise.
4178 (__register_frame_info): Do not use INTUSE.
4179 (__register_frame): Likewise.
4180 (__register_frame_info_table): Likewise.
4181 (__register_frame_table): Likewise.
4182 (__deregister_frame_info): Likewise.
4183 (__deregister_frame): Likewise.
4184
03d41216
GC
41852014-10-27 Gratian Crisan <gratian.crisan@ni.com>
4186
4187 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4188 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
4189 not undefine.
4190 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
4191 Likewise.
4192 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
4193 Likewise.
4194
a4b3624d
JM
41952014-10-27 Joseph Myers <joseph@codesourcery.com>
4196
4197 [BZ #14138]
4198 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
4199 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
4200 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
4201 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
4202 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
4203 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
4204 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
4205 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
4206 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
4207 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
4208 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
4209 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
4210 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
4211 syscall.
4212 (setfsuid): Likewise.
4213 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
4214 (setfsuid): Likewise.
4215 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
4216 (setfsuid): Likewise.
4217 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
4218 Likewise.
4219 (setfsuid): Likewise.
4220 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
4221 (setfsuid): Likewise.
4222 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
4223 Likewise.
4224 (setfsuid): Likewise.
4225
3574f2fd
AS
42262014-10-27 Andreas Schwab <schwab@suse.de>
4227
4228 [BZ #17501]
4229 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
4230 check for Slow_SSE4_2 feature bit.
4231 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
4232 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
4233 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
4234 Likewise. Fix check for Fast_Unaligned_Load feature bit.
4235
70996a37
RM
42362014-10-24 Roland McGrath <roland@hack.frob.com>
4237
461a7b1e
RM
4238 * configure.ac: Validate compiler version with a empirical test of
4239 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
4240 $CC -v output.
4241 * configure: Regenerated.
4242
70996a37
RM
4243 * inet/htons.c (htons): Prototypify.
4244 * inet/htonl.c (htonl): Likewise.
4245
e80514b5
WD
42462014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4247
4248 * string/strncat.c (strncat): Improve performance by using strlen.
4249
6e46de42
WD
42502014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4251
4252 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
4253
6a9ad2fa
WD
42542014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4255
4256 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
4257 Call libc_fetestexcept_aarch64.
4258
1c8810ed
WD
42592014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4260
4261 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
4262 Call libc_feholdexcept_aarch64.
4263
8b1af712
WD
42642014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4265
4266 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
4267 Call get_rounding_mode.
4268
a7b00c11
WD
42692014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4270
4271 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
4272 Simplify logic.
4273
3a84f1a6
WD
42742014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4275
4276 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
4277 Simplify logic.
4278
48eb7a94
JM
42792014-10-24 Joseph Myers <joseph@codesourcery.com>
4280
c8bc4038
JM
4281 [BZ #14138]
4282 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
4283 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
4284 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
4285 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
4286 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
4287 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
4288 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
4289 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
4290 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
4291 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
4292 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4293 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
4294 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
4295 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
4296 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
4297 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
4298 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
4299 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
4300 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
4301 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
4302 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
4303 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
4304 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
4305 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
4306 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
4307 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
4308 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
4309 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
4310 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
4311 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
4312 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
4313 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
4314 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
4315 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
4316 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
4317 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
4318 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
4319 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
4320 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
4321 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
4322 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
4323 syscall.
4324 (geteuid): Likewise.
4325 (getgid): Likewise.
4326 (getuid): Likewise.
4327 (getresgid): Likewise.
4328 (getresuid): Likewise.
4329 (getgroups): Likewise.
4330 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
4331 (geteuid): Likewise.
4332 (getgid): Likewise.
4333 (getuid): Likewise.
4334 (getresgid): Likewise.
4335 (getresuid): Likewise.
4336 (getgroups): Likewise.
4337 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
4338 (geteuid): Likewise.
4339 (getgid): Likewise.
4340 (getuid): Likewise.
4341 (getresgid): Likewise.
4342 (getresuid): Likewise.
4343 (getgroups): Likewise.
4344 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
4345 Likewise.
4346 (geteuid): Likewise.
4347 (getgid): Likewise.
4348 (getuid): Likewise.
4349 (getresgid): Likewise.
4350 (getresuid): Likewise.
4351 (getgroups): Likewise.
4352 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
4353 (geteuid): Likewise.
4354 (getgid): Likewise.
4355 (getuid): Likewise.
4356 (getresgid): Likewise.
4357 (getresuid): Likewise.
4358 (getgroups): Likewise.
4359 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
4360 Likewise.
4361 (geteuid): Likewise.
4362 (getgid): Likewise.
4363 (getuid): Likewise.
4364 (getgroups): Likewise.
4365
48eb7a94
JM
4366 [BZ #14138]
4367 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
4368 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
4369 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
4370 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
4371 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
4372 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
4373 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
4374 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
4375 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
4376 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
4377 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
4378 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
4379 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
4380 __chown.
4381 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
4382 (lchown): Likewise.
4383 (fchown): Likewise.
4384 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
4385 Likewise.
4386 (lchown): Likewise.
4387 (fchown): Likewise.
4388 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
4389 (lchown): Likewise.
4390 (fchown): Likewise.
4391 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
4392 Likewise.
4393 (lchown): Likewise.
4394 (fchown): Likewise.
4395
ea9a7c8b
WD
43962014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4397
4398 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
4399 Simplify logic.
4400
e226de33
WD
44012014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4402
4403 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
4404 Cleanup logic.
4405
6e3d8ed3
WD
44062014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4407
4408 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
4409 Remove unused include.
4410
eb04247d
WD
44112014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4412
4413 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
4414 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
4415 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
4416 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
4417
13d84554
CD
44182014-10-23 Carlos O'Donell <carlos@systemhalted.org>
4419 Helge Deller <deller@gmx.de>
4420
4421 [BZ #17508]
4422 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
4423 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
4424 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
4425
15f9c5df
JM
44262014-10-23 Joseph Myers <joseph@codesourcery.com>
4427
4428 [BZ #14132]
4429 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
4430 Remove macro definition.
4431 (__ashrdi3_v_glibc20): Likewise.
4432 (__lshrdi3_v_glibc20): Likewise.
4433 (__cmpdi2_v_glibc20): Likewise.
4434 (__ucmpdi2_v_glibc20): Likewise.
4435 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
4436 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4437 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4438 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4439 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4440 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
4441
c6dfed24
RM
44422014-10-22 Roland McGrath <roland@hack.frob.com>
4443
4444 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
4445 old GNU extension [0] syntax.
4446 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
4447 alloca rather than an array member with variable length.
4448 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
4449 * nscd/nscd.c (invalidate_db): New function, broken out of ...
4450 (parse_opt): ... here. Likewise use alloca there.
4451 Validate the -i argument before checking for rootness.
4452 (send_shutdown): New function, broken out of ...
4453 (parse_opt): ... here.
4454
8c2b1ed8
RM
44552014-10-22 Roland McGrath <roland@hack.frob.com>
4456
4457 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
4458 macro to get at the _rt_local_ro field.
4459 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
4460 ([PIC] case) or _dl_hwcap ([!PIC] case).
4461 * sysdeps/arm/setjmp.S: Likewise.
4462
4463 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
4464 * sysdeps/arm/configure.ac: New check to define it.
4465 * sysdeps/arm/configure: Regenerated.
4466 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
4467 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
4468 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
4469 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
4470 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
4471 Use move/movt pair instead of a load.
4472 (LDST_GLOBAL): Macro removed.
4473 (LDR_GLOBAL): New macro replaces it.
4474 (LDR_HIDDEN): New macro.
4475 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
4476 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
4477
4478 * setjmp/tst-setjmp-static.c: New file.
4479 * setjmp/Makefile (tests): Add it.
4480 (tests-static): New variable.
4481
b5af9297
MR
44822014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
4483
4484 [BZ #17485]
4485 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
4486
a13d0d74
JM
44872014-10-21 Joseph Myers <joseph@codesourcery.com>
4488
4489 [BZ #14132]
4490 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
4491
f05e73f6
RM
44922014-10-21 Roland McGrath <roland@hack.frob.com>
4493
4494 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
4495
6ab1d1ea
RM
44962014-10-20 Roland McGrath <roland@hack.frob.com>
4497
4498 * io/fts.c (dirent_not_directory): New function.
4499 (fts_build): Call it.
4500
ab49e763
RM
45012014-10-20 Roland McGrath <roland@hack.frob.com>
4502
e436eb79
RM
4503 * nptl/version.c (__nptl_main): Use normal __write rather than
4504 INTERNAL_SYSCALL.
4505 (banner): Update copyright years.
4506
6af246cf
RM
4507 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
4508 gettimeofday.
4509 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
4510 * nptl/pthread_cond_timedwait.c: Likewise.
4511 * nptl/pthread_mutex_timedlock.c: Likewise.
4512 * nptl/sem_timedwait.c: Likewise.
4513
ab49e763
RM
4514 * sysdeps/nptl/bits/libc-lock.h
4515 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4516 (__libc_lock_init_recursive): Return void, not 0.
4517 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
4518 (__libc_rwlock_init): Likewise.
4519 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
4520
f50277c1
TR
45212014-10-20 Torvald Riegel <triegel@redhat.com>
4522
4523 [BZ #15215]
4524 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
4525 (__pthread_once_slow): ... here.
4526 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
4527 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
4528
63668b70
TR
45292014-10-20 Torvald Riegel <triegel@redhat.com>
4530
4531 [BZ #15215]
4532 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
4533 __PTHREAD_ONCE_FORK_GEN_INCR): New.
4534 * sysdeps/nptl/fork.c (__libc_fork): Use them.
4535 * nptl/pthread_once.c (__pthread_once): Likewise.
4536 Update comments.
4537
42b7f5d4
JM
45382014-10-20 Joseph Myers <joseph@codesourcery.com>
4539
4540 [BZ #14138]
4541 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
4542 name.
4543 (writev): Use __libc_writev as strong name.
4544 * sysdeps/unix/sysv/linux/readv.c: Remove file.
4545 * sysdeps/unix/sysv/linux/writev.c: Likewise.
4546
b0643088
RM
45472014-10-17 Roland McGrath <roland@hack.frob.com>
4548
114c4e09
RM
4549 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
4550
674b8978
RM
4551 * sysdeps/i386/nptl/tls.h
4552 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
4553 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
4554 New macros.
4555 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
4556 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
4557 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
4558 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
4559 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
4560 Call CHECK_THREAD_SYSINFO instead of doing an assert.
4561
184ee940
RM
4562 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
4563 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
4564 on [__NR_futex].
4565 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
4566 broken out of ...
4567 (__pthread_mutex_init): ... here. Call it.
4568 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
4569 Conditionalize PI cases on [__NR_futex].
4570 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
4571 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
4572 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4573
327ae257
RM
4574 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
4575 conditional on [SIGSETXID].
4576 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
4577 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
4578 is defined. Likewise for SIGSETXID.
4579 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
4580 Conditionalize definitions on [SIGSETXID].
4581 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
4582 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
4583 unblocking on [SIGCANCEL].
4584
b0643088
RM
4585 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
4586 [__NR_set_robust_list].
4587
33cc770b
SP
45882014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4589
4590 * string/strcoll_l.c (get_next_seq): Fix up formatting.
4591 (do_compare): Likewise.
4592
0742aef6
LH
45932014-10-17 Leonhard Holz <leonhard.holz@web.de>
4594
4595 [BZ #15884]
4596 * string/strcoll_l.c: Don't include stdio.h.
4597 (coll_seq): Remove members idxarr and rulearr.
4598 (get_next_seq_cached): Remove function.
4599 (get_next_seq): Likewise.
4600 (get_next_seq_nocache): Rename to get_next_seq.
4601 (do_compare): Remove function.
4602 (do_compare_nocache): Rename to do_compare.
4603 (STRCOLL): Remove weight and rules cache.
4604
ee54ce44
RM
46052014-10-16 Roland McGrath <roland@hack.frob.com>
4606
4607 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
4608 * sysdeps/arm/sfp-machine.h: ... to here.
4609 * sysdeps/arm/Implies: Remove arm/soft-fp.
4610
a75d3b02
JM
46112014-10-14 Joseph Myers <joseph@codesourcery.com>
4612
4613 * conform/data/sys/utsname.h-data (*_t): Allow.
4614 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
4615 [POSIX] (WEXITED): Do not expect constant.
4616 [POSIX] (WSTOPPED): Likewise.
4617 [POSIX] (WNOHANG): Likewise.
4618 [POSIX] (WNOWAIT): Likewise.
4619 [POSIX] (siginfo_t): Do not expect type or elements.
4620 [POSIX] (pid_t): Do not expect type.
4621 [POSIX] (signal.h): Do not allow header.
4622 [POSIX] (sys/resource.h): Likewise.
4623 [POSIX] (si_*): Do not allow pattern.
4624 [POSIX] (W*): Likewise.
4625 [POSIX] (P_*): Likewise.
4626 [POSIX] (BUS_*): Likewise.
4627 [POSIX] (CLD_*): Likewise.
4628 [POSIX] (FPE_*): Likewise.
4629 [POSIX] (ILL_*): Likewise.
4630 [POSIX] (POLL_*): Likewise.
4631 [POSIX] (SEGV_*): Likewise.
4632 [POSIX] (SI_*): Likewise.
4633 [POSIX] (TRAP_*): Likewise.
4634 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
4635 variable.
4636
fda389c8
SP
46372014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
4638
4639 [BZ #12926]
4640 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
4641 infinite loop when __recvmsg returns 0.
4642
6bc6bd3b
JM
46432014-10-10 Joseph Myers <joseph@codesourcery.com>
4644
fcb32af1
JM
4645 * CANCEL-FCT-WAIVE: Remove file.
4646 * CANCEL-FILE-WAIVE: Likewise.
4647
6bc6bd3b
JM
4648 [BZ #14132]
4649 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
4650 instead of INTVARDEF.
4651 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
4652 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
4653 rtld_hidden_data_def instead of INTVARDEF.
4654 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
4655 * elf/dl-deps.c (expand_dst): Likewise.
4656 * elf/dl-load.c (_dl_dst_count): Likewise.
4657 (_dl_dst_substitute): Likewise.
4658 (decompose_rpath): Likewise.
4659 (_dl_init_paths): Likewise.
4660 (open_path): Likewise.
4661 (_dl_map_object): Likewise.
4662 * elf/rtld.c (dl_main): Likewise.
4663 (process_dl_audit): Likewise.
4664 (process_envvars): Likewise.
4665 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
4666 Remove declaration.
4667 (__libc_enable_secure): Use rtld_hidden_proto.
4668
b8c80a7e
KS
46692014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4670
4671 * elf/dl-load.c
4672 (add_path): New function broken out of _dl_rtld_di_serinfo.
4673 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
4674
ff12c11f
JM
46752014-10-09 Joseph Myers <joseph@codesourcery.com>
4676
5c0508a3
JM
4677 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
4678 parentheses around macro arguments.
4679 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
4680 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
4681 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
4682 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
4683 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
4684 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
4685 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
4686 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
4687 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
4688 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
4689 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
4690 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
4691 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
4692 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
4693 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
4694 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
4695 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
4696 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
4697 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
4698 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
4699 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
4700 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
4701 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
4702 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
4703 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
4704 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
4705 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
4706 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
4707 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
4708 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
4709 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
4710 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
4711 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
4712 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
4713 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
4714 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
4715 Likewise.
4716 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
4717 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4718 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4719 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
4720 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
4721 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
4722 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
4723 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
4724 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
4725 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
4726 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
4727 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
4728 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
4729 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
4730 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
4731 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4732 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4733 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
4734 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
4735 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
4736 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
4737 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
4738 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
4739 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
4740 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
4741 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
4742 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
4743 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
4744 (_FP_FRAC_SRS_1): Likewise.
4745 (_FP_FRAC_CLZ_1): Likewise.
4746 (_FP_MUL_MEAT_1_imm): Likewise.
4747 (_FP_MUL_MEAT_1_wide): Likewise.
4748 (_FP_MUL_MEAT_1_hard): Likewise.
4749 (_FP_SQRT_MEAT_1): Likewise.
4750 (_FP_FRAC_ASSEMBLE_1): Likewise.
4751 (_FP_FRAC_DISASSEMBLE_1): Likewise.
4752 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
4753 (__FP_CLZ_2): Likewise.
4754 (_FP_MUL_MEAT_2_wide): Likewise.
4755 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
4756 (_FP_MUL_MEAT_2_gmp): Likewise.
4757 (_FP_MUL_MEAT_2_120_240_double): Likewise.
4758 (_FP_SQRT_MEAT_2): Likewise.
4759 (_FP_FRAC_ASSEMBLE_2): Likewise.
4760 (_FP_FRAC_DISASSEMBLE_2): Likewise.
4761 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
4762 (_FP_FRAC_CLZ_4): Likewise.
4763 (_FP_MUL_MEAT_4_wide): Likewise.
4764 (_FP_MUL_MEAT_4_gmp): Likewise.
4765 (_FP_SQRT_MEAT_4): Likewise.
4766 (_FP_FRAC_ASSEMBLE_4): Likewise.
4767 (_FP_FRAC_DISASSEMBLE_4): Likewise.
4768 * soft-fp/op-common.h (_FP_CMP): Likewise.
4769 (_FP_CMP_EQ): Likewise.
4770 (_FP_CMP_UNORD): Likewise.
4771 (_FP_TO_INT): Likewise.
4772 (_FP_FROM_INT): Likewise.
4773 [!__FP_CLZ] (__FP_CLZ): Likewise.
4774 (_FP_DIV_HELP_imm): Likewise.
4775 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
4776 Likewise.
4777 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
4778 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
4779 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
4780 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
4781 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
4782 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4783 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4784 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
4785 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
4786 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
4787 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
4788 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
4789 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
4790 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
4791 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
4792 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
4793 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
4794 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
4795 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
4796 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
4797 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
4798 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
4799 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
4800 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4801 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4802 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
4803 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
4804 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
4805 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
4806 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
4807 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
4808 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
4809 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
4810 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
4811 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
4812 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
4813 (FP_UNPACK_RAW_SP): Likewise.
4814 (FP_PACK_RAW_S): Likewise.
4815 (FP_PACK_RAW_SP): Likewise.
4816 (FP_UNPACK_S): Likewise.
4817 (FP_UNPACK_SP): Likewise.
4818 (FP_UNPACK_SEMIRAW_S): Likewise.
4819 (FP_UNPACK_SEMIRAW_SP): Likewise.
4820 (FP_PACK_S): Likewise.
4821 (FP_PACK_SP): Likewise.
4822 (FP_PACK_SEMIRAW_S): Likewise.
4823 (FP_PACK_SEMIRAW_SP): Likewise.
4824 (_FP_SQRT_MEAT_S): Likewise.
4825 (FP_CMP_S): Likewise.
4826 (FP_CMP_EQ_S): Likewise.
4827 (FP_CMP_UNORD_S): Likewise.
4828 (FP_TO_INT_S): Likewise.
4829 (FP_FROM_INT_S): Likewise.
4830
a736ec37
JM
4831 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
4832
ff12c11f
JM
4833 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
4834 (FP_EX_INVALID_IMZ): Likewise.
4835 (FP_EX_INVALID_IMZ_FMA): Likewise.
4836 (FP_EX_INVALID_ISI): Likewise.
4837 (FP_EX_INVALID_ZDZ): Likewise.
4838 (FP_EX_INVALID_IDI): Likewise.
4839 (FP_EX_INVALID_SQRT): Likewise.
4840 (FP_EX_INVALID_CVI): Likewise.
4841 (FP_EX_INVALID_VC): Likewise.
4842 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
4843 "invalid" exceptions.
4844 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
4845 (_FP_ADD_INTERNAL): Likewise.
4846 (_FP_MUL): Likewise.
4847 (_FP_FMA): Likewise.
4848 (_FP_DIV): Likewise.
4849 (_FP_CMP_CHECK_NAN): Likewise.
4850 (_FP_SQRT): Likewise.
4851 (_FP_TO_INT): Likewise.
4852 (FP_EXTEND): Likewise.
4853
b6dcfe8c
AM
48542014-10-09 Allan McRae <allan@archlinux.org>
4855
4856 * po/fr.po: Update French translation from translation project.
4857
2d6a47ba
JM
48582014-10-09 Joseph Myers <joseph@codesourcery.com>
4859
cb831245
JM
4860 [BZ #14132]
4861 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
4862 of INTDEF.
4863 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
4864 (__cxa_atexit): Use libc_hidden_proto.
4865 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
4866
5deeb190
JM
4867 [BZ #14132]
4868 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
4869 declaration.
4870 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
4871 [!_ISOMAC] (__iswspace_l_internal): Likewise.
4872 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
4873 [!_ISOMAC] (__iswctype_internal): Likewise.
4874 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
4875 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
4876 alias.
4877 (fcntl): Remove __fcntl_internal alias.
4878 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
4879 __connect_internal alias.
4880 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
4881 Likewise.
4882
454ac701
JM
4883 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
4884 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
4885 FP_DENORM_ZERO.
4886 (_FP_CHECK_FLUSH_ZERO): New macro.
4887 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
4888 (_FP_CMP): Likewise.
4889 (_FP_CMP_EQ): Likewise.
4890 (_FP_TO_INT): Do not set inexact for subnormal arguments if
4891 FP_DENORM_ZERO.
4892 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
4893 (FP_TRUNC): Likewise.
4894
0022e688
JM
4895 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
4896 treated as invalid conversion, not as normal exponent.
4897
73e28d9c
JM
4898 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
4899 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
4900 (_FP_CMP_EQ): Likewise.
4901 (_FP_CMP_UNORD): Likewise.
4902 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
4903 (FP_CMP_EQ_D): Likewise.
4904 (FP_CMP_UNORD_D): Likewise.
4905 * soft-fp/extended.h (FP_CMP_E): Likewise.
4906 (FP_CMP_EQ_E): Likewise.
4907 (FP_CMP_UNORD_E): Likewise.
4908 * soft-fp/quad.h (FP_CMP_Q): Likewise.
4909 (FP_CMP_EQ_Q): Likewise.
4910 (FP_CMP_UNORD_Q): Likewise.
4911 * soft-fp/single.h (FP_CMP_S): Likewise.
4912 (FP_CMP_EQ_S): Likewise.
4913 (FP_CMP_UNORD_S): Likewise.
4914 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
4915 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
4916 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
4917 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
4918 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
4919 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
4920 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
4921 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
4922 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
4923 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
4924 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
4925 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
4926 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
4927 to FP_CMP_Q.
4928 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
4929 FP_CMP_Q.
4930 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
4931 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
4932 FP_CMP_EQ_Q.
4933 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
4934 FP_CMP_Q.
4935 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
4936 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
4937 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
4938 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
4939 FP_CMP_EQ_Q.
4940 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
4941 FP_CMP_Q.
4942 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
4943 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
4944 FP_CMP_EQ_Q.
4945 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
4946 FP_CMP_Q.
4947 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
4948 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
4949 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
4950 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
4951 FP_CMP_EQ_Q.
4952
43059f42
JM
4953 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
4954 a subnormal result, set the underflow exception if trapping on
4955 underflow is enabled.
4956 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
4957 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
4958 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
4959 redefine to 0.
4960 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
4961 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
4962 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
4963 * soft-fp/extendxftf2.c (__extendxftf2): Use
4964 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
4965
2d6a47ba
JM
4966 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
4967 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
4968 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4969 FP_HANDLE_EXCEPTIONS.
4970 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
4971 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4972 FP_HANDLE_EXCEPTIONS.
4973 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
4974 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4975 FP_HANDLE_EXCEPTIONS.
4976 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
4977 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4978 FP_HANDLE_EXCEPTIONS.
4979
620f462e
JM
49802014-10-08 Joseph Myers <joseph@codesourcery.com>
4981
4982 [BZ #14132]
4983 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
4984 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
4985 use INTUSE.
4986 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
4987 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
4988 Remove alias.
4989 (__adjtimex): Define using libc_hidden_ver.
4990 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
4991 Remove declaration.
4992 (ntp_gettime): Call __adjtimex directly.
4993 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
4994 Remove declaration.
4995 (ntp_gettimex): Call __adjtimex directly.
4996 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
4997 __adjtimex_internal alias.
4998
c763c5d2
RM
49992014-10-08 Roland McGrath <roland@hack.frob.com>
5000
5001 [BZ #17460]
5002 * nscd/nscd.c (more_help): Rewrite list of tables collection
5003 using xstrdup and asprintf.
5004
5005 * nscd/nscd_conf.c: Remove local xstrdup declaration.
5006
7b8fb2b8
RM
50072014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5008 Roland McGrath <roland@hack.frob.com>
5009
5010 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
5011 (do_lookup_unique): ... local function 'enter' here; update callers.
5012
abb280f7
JM
50132014-10-06 Joseph Myers <joseph@codesourcery.com>
5014
f7b42517
JM
5015 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
5016 compat_symbol calls on [SHARED].
5017 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
5018 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
5019 Remove.
5020 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5021 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
5022 (oldsetrlimit): Remove.
5023 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
5025 (lchown): New syscall entry.
5026 (oldsetrlimit): Remove.
5027 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5028 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
5029 (oldsetrlimit): Remove.
5030 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5031
abb280f7
JM
5032 [BZ #14138]
5033 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
5034 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
5035 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
5036 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
5037 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
5038 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
5039 (fchown): Likewise.
5040 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
5041 (fchown): Likewise.
5042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
5043 Likewise.
5044
47d46237
AZ
50452014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5046
5047 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
5048 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
5049 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
5050 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
5051 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
5052 Likewise.
5053 (__old_sem_post): Likewise.
5054
50552014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 5056
845a7343
CM
5057 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
5058 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
5059 HAVE_CLOCK_GETTIME_VSYSCALL macros.
5060 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
5061 Use INLINE_VSYSCALL macro.
5062 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
5063 __vdso_clock_gettime.
5064 * sysdeps/unix/sysv/linux/tile/init-first.c
5065 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
5066 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
5067 __vdso_clock_gettime.
5068
83d641ef
CM
5069 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
5070 to set up frame more cleanly.
5071
d9cd52e6
CM
5072 * sysdeps/tile/memcmp.c: New file.
5073
4b68ea11
CM
5074 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
5075
c86f7b80
CM
5076 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
5077 * sysdeps/tile/tilegx/strcasestr.c: New file.
5078 * sysdeps/tile/tilegx/strnlen.c: New file.
5079 * sysdeps/tile/tilegx/strstr.c: New file.
5080
1c4c1a6f
CM
5081 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
5082
99d86ea3
AS
50832014-10-06 Arjun Shankar <arjun.is@lostca.se>
5084
5085 * nptl/tst-setuid3.c: Write errors to stdout.
5086
06210a44
KS
50872014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5088
5089 * elf/dl-deps.c
5090 (preload): New functions broken out of _dl_map_object_deps.
5091 (_dl_map_object_deps): Remove a nested function. Update call sites.
5092
6268f532
JM
50932014-10-01 Joseph Myers <joseph@codesourcery.com>
5094
5095 [BZ #14138]
5096 * sysdeps/unix/sysv/linux/execve.c: Remove file.
5097 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
5098
b925285f
SE
50992014-10-01 Steve Ellcey <sellcey@mips.com>
5100
5101 * sysdeps/mips/strcmp.S: New.
5102
754a15c6
JM
51032014-09-30 Joseph Myers <joseph@codesourcery.com>
5104
5105 [BZ #14138]
5106 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
5107 (linkat): Likewise.
5108 (mkdirat): Likewise.
5109 (readlinkat): Likewise.
5110 (renameat): Likewise.
5111 (symlinkat): Likewise.
5112 (unlinkat): Likewise.
5113 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
5114 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
5115 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
5116 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
5117 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
5118 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
5119 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
5120
85bb81c9
WN
51212014-09-30 Will Newton <will.newton@linaro.org>
5122
dc6fe23b
WN
5123 * math/math.h: Define long double math functions if
5124 _LIBC_TEST is defined.
5125 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
5126
85bb81c9
WN
5127 * localedata/Makefile: Move assignment to tests-special
5128 into an ifdef testing run-built-tests.
5129 * timezone/Makefile: Likewise.
5130
b7e02da4
JM
51312014-09-29 Joseph Myers <joseph@codesourcery.com>
5132
5133 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
5134 with $(BASH) not $(SHELL).
5135
62058ce6
CD
51362014-09-29 Carlos O'Donell <carlos@redhat.com>
5137 Matthew LeGendre <legendre1@llnl.gov>
5138
5139 [BZ #17411]
5140 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
5141 l_reloc_result.
5142
8e257a29
KS
51432014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5144
5145 * stdio-common/printf_fp.c
5146 (hack_digit): New function, broken out of ...
5147 (__printf_fp): ... local function here. Update call sites.
5148 hack_digit now takes an additional parameter that is a pointer
5149 to a struct of the referenced locals. Those locals moved inside
5150 the struct and references updated.
5151
f4a58f0d
L
51522014-09-29 H.J. Lu <hongjiu.lu@intel.com>
5153
5154 * aclocal.m4: Require autoconf 2.69.
5155 * configure: Regenerated.
5156 * sysdeps/aarch64/configure: Likewise.
5157 * sysdeps/alpha/configure: Likewise.
5158 * sysdeps/arm/armv7/configure: Likewise.
5159 * sysdeps/arm/configure: Likewise.
5160 * sysdeps/ia64/configure: Likewise.
5161 * sysdeps/mach/configure: Likewise.
5162 * sysdeps/mips/configure: Likewise.
5163 * sysdeps/s390/configure: Likewise.
5164 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
5165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
5166
5167 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
5168 file.
5169 * sysdeps/ia64/configure.ac: Likewise.
5170
93ae1eba
JM
51712014-09-26 Joseph Myers <joseph@codesourcery.com>
5172
1810d3ab
JM
5173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
5174 specify symbol version for ld.so. Do not include entry for
5175 libpthread.
5176 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5177 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5178 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5179
93ae1eba
JM
5180 [BZ #14171]
5181 * Makeconfig [$(build-shared) = yes]
5182 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
5183 makefiles.
5184 [$(build-shared) = yes && $(soversions.mk-done) = t]
5185 ($(common-objpfx)gnu/lib-names.h): Remove rule.
5186 [$(build-shared) = yes && $(soversions.mk-done) = t]
5187 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
5188 to Makerules.
5189 [$(build-shared) = yes && $(soversions.mk-done) = t]
5190 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
5191 here.
5192 [$(build-shared) = yes && $(soversions.mk-done) = t]
5193 (common-generated): Don't append gnu/lib-names.h and
5194 gnu/lib-names.stmp here.
5195 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
5196 (lib-names-h-abi): New variable.
5197 [$(build-shared) = yes && $(soversions.mk-done) = t]
5198 (lib-names-stmp-abi): Likewise.
5199 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5200 abi-variants] (before-compile): Append
5201 $(common-objpfx)$(lib-names-h-abi).
5202 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5203 abi-variants] (common-generated): Append gnu/lib-names.h.
5204 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5205 abi-variants] (install-others-nosubdir): Depend on
5206 $(inst_includedir)/$(lib-names-h-abi).
5207 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5208 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
5209 [$(build-shared) = yes && $(soversions.mk-done) = t]
5210 ($(common-objpfx)$(lib-names-h-abi)): New rule.
5211 [$(build-shared) = yes && $(soversions.mk-done) = t]
5212 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
5213 [$(build-shared) = yes && $(soversions.mk-done) = t]
5214 (common-generated): Append $(lib-names-h-abi) and
5215 $(lib-names-stmp-abi).
5216 * scripts/lib-names.awk: Do not handle multi being set.
5217 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
5218 Remove variable.
5219 (abi-lp64_be-ld-soname): Likewise.
5220 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
5221 Likewise.
5222 (abi-hard-ld-soname): Likewise.
5223 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
5224 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
5225 Remove variable.
5226 (abi-o32_hard-ld-soname): Likewise.
5227 (abi-o32_soft_2008-ld-soname): Likewise.
5228 (abi-o32_hard_2008-ld-soname): Likewise.
5229 (abi-n32_soft-ld-soname): Likewise.
5230 (abi-n32_hard-ld-soname): Likewise.
5231 (abi-n32_soft_2008-ld-soname): Likewise.
5232 (abi-n32_hard_2008-ld-soname): Likewise.
5233 (abi-n64_soft-ld-soname): Likewise.
5234 (abi-n64_hard-ld-soname): Likewise.
5235 (abi-n64_soft_2008-ld-soname): Likewise.
5236 (abi-n64_hard_2008-ld-soname): Likewise.
5237 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
5238 Likewise.
5239 (abi-64-v2-ld-soname): Likewise.
5240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
5241 ld.so entries.
5242 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
5243 variable.
5244 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
5245 entry.
5246 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
5247 variable.
5248 (abi-64-ld-soname): Likewise.
5249 (abi-x32-ld-soname): Likewise.
5250 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
5251 entry.
5252 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5253
68870f12
JM
52542014-09-23 Joseph Myers <joseph@codesourcery.com>
5255
5256 [BZ #14138]
5257 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
5258 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
5259 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
5260 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
5261 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
5262 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
5263 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
5264 syscall entry for GLIBC_2.2 symbol version.
5265 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
5266 Likewise.
5267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
5268 (setrlimit): Likewise.
5269 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
5270 Likewise.
5271
ea58f202
WN
52722014-09-23 Will Newton <will.newton@linaro.org>
5273
5274 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
5275 _LINUX_ARM_SYSDEP_H include guard too.
5276 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
5277 define.
5278
69eb9a18
RV
52792014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5280
5281 * sysdeps/unix/sysv/linux/eventfd.c:
5282 Make first argument unsigned.
5283 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
5284 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
5285
20e5a5f7
OB
52862014-09-20 Ondřej Bílka <neleai@seznam.cz>
5287
5288 * socket/recvmmsg.c (recvmmsg): Drop const argument.
5289 * socket/sys/socket.h: Likewise
5290 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
5291
d3c827e7
AK
52922014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5293
5294 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
5295
fe1cc35a
AS
52962014-09-17 Arjun Shankar <arjun.is@lostca.se>
5297
5298 * time/tst-ftime.c: New test.
5299 * time/Makefile (tests): Add tst-ftime.
5300
4e8afe69
JM
53012014-09-17 Joseph Myers <joseph@codesourcery.com>
5302
c4fe3ea7
JM
5303 * soft-fp/extended.h: Fix comment formatting.
5304 * soft-fp/op-1.h: Likewise.
5305 * soft-fp/op-2.h: Likewise.
5306 * soft-fp/op-4.h: Likewise.
5307 * soft-fp/op-8.h: Likewise.
5308 * soft-fp/op-common.h: Likewise.
5309 * soft-fp/soft-fp.h: Likewise.
5310
4e8afe69
JM
5311 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
5312
af296fcd
JM
53132014-09-16 Joseph Myers <joseph@codesourcery.com>
5314
5315 [BZ #6652]
5316 * Makeconfig (soversions-default-setname): Remove variable.
5317 ($(common-objpfx)soversions.i): Don't pass default_setname to
5318 soversions.awk.
5319 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
5320 oldest_abi to abi-versions.awk.
5321 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
5322 * config.make.in (oldest-abi): Remove variable.
5323 * configure.ac (--enable-oldest-abi): Remove configure option.
5324 * configure: Regenerated.
5325 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
5326 text.
5327 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
5328 * scripts/soversions.awk: Do not handle default_setname variable.
5329 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
5330 variable.
5331 * sysdeps/mach/hurd/configure: Regenerated.
5332 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
5333 variable.
5334 * sysdeps/unix/sysv/linux/configure: Regenerated.
5335
545583d6
SP
53362014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5337
d330b980
SP
5338 * elf/Makefile (CFLAGS-interp.c): Remove.
5339 ($(elf-objpfx)runtime-linker.h): Generate header with linker
5340 path string.
5341 * elf/interp.c: Include generated runtime-linker.h
5342
02657da2
SP
5343 * Makerules (lib%.so): Don't include $(+interp) in
5344 prerequisites.
5345 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
5346 * dlfcn/eval.c: Remove file.
5347
653b1080
SP
5348 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
5349 macros.
5350
602f80ec
SP
5351 [BZ #17266]
5352 * misc/sys/cdefs.h: Define __extern_always_inline for clang
5353 4.2 and newer.
5354
545583d6
SP
5355 [BZ #17370]
5356 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
5357
884ddc50
SP
53582014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5359 Jakub Jelinek <jakub@redhat.com>
5360
5361 [BZ #17266]
5362 * libio/stdio.h: Check definition of __fortify_function
5363 instead of __extern_always_inline to include bits/stdio2.h.
5364 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
5365 check if __extern_always_inline is defined.
5366 [__USE_MISC || __USE_XOPEN]: Likewise.
5367 [__USE_ISOC99] Likewise.
5368 * misc/sys/cdefs.h (__fortify_function): Define only if
5369 __extern_always_inline is defined.
5370 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
5371 __extern_always_inline and __extern_inline only for g++-4.3
5372 and newer or a compatible gcc.
5373
a7b87268
AS
53742014-09-15 Andreas Schwab <schwab@linux-m68k.org>
5375
5376 [BZ #17371]
5377 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5378 last change to handle zero prefix length.
5379
3f41521d
SP
53802014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5381
61fe374a
SP
5382 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
5383 _SC_REGEX_VERSION.
5384
3f41521d
SP
5385 * posix/getconf.c (vars): Add _POSIX_IPV6 and
5386 _POSIX_RAW_SOCKETS.
5387
d8f879ee
AM
53882014-09-13 Allan McRae <allan@archlinux.org>
5389
5390 * po/ru.po: Update Russian translation from translation project.
5391
c079afb7
RM
53922014-09-12 Roland McGrath <roland@hack.frob.com>
5393
a62b3c15
RM
5394 * locale/programs/locale.c (show_locale_vars): Inline local function
5395 into its sole call site. Clean up some style nits.
5396 (print_item): New function, broken out of ...
5397 (show_info): ... local function here. Clean up style nits.
5398
d7e49b19
RM
5399 * locale/programs/ld-ctype.c (set_one_default): New function, broken
5400 out of ...
5401 (set_class_defaults): ... local function set_default here.
5402 Define set_default as a macro locally to pass constant parameters.
5403 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
5404 rather than a shared local.
5405
c079afb7
RM
5406 * stdlib/rpmatch.c (try): New function, broken out of ...
5407 (rpmatch): ... local function here. Also, prototypify definition.
5408
0bd72468
JM
54092014-09-12 Joseph Myers <joseph@codesourcery.com>
5410
ba90e050
JM
5411 * scripts/soversions.awk: Do not handle configuration names.
5412 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
5413 vendor and os variables to soversions.awk.
5414 * configure.ac: Do not modify gnu-* host_os.
5415 * configure: Regenerated
5416 * shlib-versions: Remove first column with configuration names.
5417 * nptl/shlib-versions: Likewise.
5418 * nptl_db/shlib-versions: Likewise.
5419 * sysdeps/hppa/shlib-versions: Likewise.
5420 * sysdeps/m68k/shlib-versions: Likewise.
5421 * sysdeps/mach/hurd/shlib-versions: Likewise.
5422 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
5423 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
5424 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
5425 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
5426 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
5427 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
5428 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
5429 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
5430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
5431 Likewise.
5432 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5433 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
5434 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
5435 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5436 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5437 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
5438 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5439 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5440
73a39112
JM
5441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5442 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
5443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
5444 Regenerated.
5445 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
5446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
5447 Condition symbol version definitions on [HAVE_ELFV2_ABI].
5448
c729e7c1
JM
5449 * shlib-versions: Remove OS-specific entries. Moved to files in
5450 sysdeps.
5451 * sysdeps/mach/hurd/shlib-versions: New file.
5452 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
5453
dc932a24
JM
5454 * nptl/shlib-versions: Remove architecture-specific entries.
5455 Moved to files in sysdeps.
5456 * shlib-versions: Likewise.
5457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
5458 file.
5459 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5460 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
5461 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5462 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5463
0bd72468
JM
5464 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
5465 (UDP_NO_CHECK6_RX): Likewise.
5466
920238e0
SP
54672014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5468
5469 * sysdeps/posix/sysconf.c (__sysconf): Spell
5470 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
5471
ba7b4d29
FW
54722014-08-12 Florian Weimer <fweimer@redhat.com>
5473
5474 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
5475 loading.
5476 * iconv/Versions (__gconv_transliterate): Export for use from
5477 gconv modules.
5478 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
5479 (struct __gconv_trans_data, __gconv_trans_fct,
5480 __gconv_trans_context_fct, __gconv_trans_query_fct,
5481 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
5482 definitions.
5483 (struct __gconv_step_data): Remove __trans member.
5484 (__gconv_transliterate): Declaration moved from gconv_int.h. No
5485 longer hidden. Remove unused trans_data argument.
5486 * iconv/gconv_int.h (struct trans_struct): Remove definition.
5487 (__gconv_translit_find): Remove declaration.
5488 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
5489 prototype.
5490 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
5491 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
5492 trans_data argument. Add hidden definition.
5493 (__gconv_translit_find): Remove.
5494 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
5495 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
5496 * iconv/skeleton.c: Remove transliteration initialization.
5497 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
5498 __gconv_step_data initialization.
5499 * libio/iofwide.c (__libio_translit_): Remove.
5500 (_IO_fwide): Adjust struct __gconv_step_data initialization.
5501 * wcsmbs/btowc.c (__btowc): Likewise.
5502 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5503 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
5504 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
5505 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
5506 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
5507 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
5508 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
5509 * wcsmbs/wctob.c (wctob): Likewise.
5510
5379aebd
SP
55112014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5512
5513 [BZ #16194]
5514 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
5515 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
5516 register usage.
5517 * sysdeps/x86/Makefile: Adjust.
5518
8c0ab919
RM
55192014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5520 Roland McGrath <roland@hack.frob.com>
5521
5522 * locale/weight.h: Add include guard.
5523 (findidx): Make static rather than auto; take new parameters
5524 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
5525 * locale/weightwc.h: Likewise.
5526 * posix/fnmatch_loop.c
5527 (FCT): Change type of EXTRA from int32_t to wint_t.
5528 Don't include either header inside the function.
5529 Call FINDIDX rather than findidx, and pass new arguments.
5530 #undef FINDIDX at the end of the file.
5531 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
5532 FINDIDX before including fnmatch_loop.c for the non-wide version.
5533 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
5534 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
5535 for the wide version.
5536 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
5537 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
5538 Pass new arguments to findidx.
5539 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
5540 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
5541 Don't #include it inside the function. Pass new arguments to findidx.
5542 * posix/regex_internal.h
5543 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
5544 (re_string_elem_size_at): Don't #include it inside the function.
5545 Pass new arguments to findidx.
5546 * string/strcoll_l.c: #include WEIGHT_H at top level.
5547 (get_next_seq): Don't #include it inside the function.
5548 Pass new arguments to findidx.
5549 (get_next_seq_nocache): Likewise.
5550 * string/strxfrm_l.c: #include WEIGHT_H at top level.
5551 (STRXFRM): Don't #include it inside the function.
5552 Pass new arguments to findidx.
5553
52ffbdf2
FW
55542014-09-11 Florian Weimer <fweimer@redhat.com>
5555
5556 [BZ #17344]
5557 * malloc/malloc.c (unlink): Turn asserts into a call to
5558 malloc_printerr.
5559
984c0ea9
TL
55602014-09-11 Tim Lammens <tim.lammens@gmail.com>
5561
5562 [BZ #17370]
5563 * libio/wfileops (do_ftell_wide): Free OUT.
5564
3daee107
CM
55652014-09-10 Chris Metcalf <cmetcalf@tilera.com>
5566
5567 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
5568
58b930ae
SP
55692014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5570
5571 [BZ #17363]
5572 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
5573 group if the current group is empty.
5574
3b473fec
AZ
55752014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5576
71ae8647
AZ
5577 * benchtests/bench-memset.c (test_main): Add more test from size
5578 from 32 to 512 bytes.
5579 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5580 Add POWER8 memset object.
5581 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5582 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
5583 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
5584 implementation.
5585 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
5586 Likewise.
5587 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
5588 multiarch POWER8 memset optimization.
5589 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
5590 POWER8 memset optimization.
5591
3b473fec
AZ
5592 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5593 Remove bzero multiarch objects.
5594 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
5595 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
5596 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
5597 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
5598 Remove define.
5599 [__bzero]: Redefine to specific name.
5600 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
5601 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
5602 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
5603 define.
5604 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5605 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5606
e6fb9587
FW
56072014-09-10 Florian Weimer <fweimer@redhat.com>
5608
5609 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
5610 warnings into errors.
5611
5612 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
5613 __cxa_thread_atexit_impl prototype.
5614
9d3a350b
SE
56152014-09-09 Steve Ellcey <sellcey@mips.com>
5616
5617 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
5618 Fix capitalization of error message.
5619
0febba23
SE
56202014-09-09 Steve Ellcey <sellcey@mips.com>
5621
5622 * sysdeps/mips/preconfigure: Modify ABI tests.
5623
645a0e9c
CD
56242014-09-07 Carlos O'Donell <carlos@systemhalted.org>
5625
5626 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
5627
d83f0734
CD
56282014-09-07 Roland McGrath <roland@hack.frob.com>
5629 Carlos O'Donell <carlos@systemhalted.org>
5630
5631 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
5632 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
5633 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
5634 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
5635 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
5636 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
5637 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
5638 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
5639 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
5640 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
5641 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
5642 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
5643 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
5644 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
5645 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
5646 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
5647 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
5648 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
5649 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
5650 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
5651 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
5652 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
5653 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
5654 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
5655 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
5656 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
5657 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
5658 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
5659 Deconditionalize the code that was previously under [RESET_PID].
5660 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
5661 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
5662 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
5663 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
5664 include sysdep.h.
5665
21c83793
AM
56662014-09-08 Allan McRae <allan@archlinux.org>
5667
5668 * version.h (RELEASE): Set to "development".
5669 (VERSION): Set to "2.20.90"
5670
1cd9b65c
AM
56712014-09-07 Allan McRae <allan@archlinux.org
5672
b8079dd0
AM
5673 * version.h (RELEASE): Set to "stable".
5674 (VERSION): Set to "2.20"
5675 * include/features.h (__GLIBC_MINOR__): Set to 20.
5676
c46303ef
AM
5677 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
5678 Liebler.
5679
1cd9b65c
AM
5680 * po/ko.po: Update Korean translation from translation project.
5681
8622092d
CM
56822014-09-06 Chris Metcalf <cmetcalf@tilera.com>
5683
5684 [BZ #17354]
5685 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
5686 macro for handling signed relocations.
5687
41488498
FW
56882014-09-03 Florian Weimer <fweimer@redhat.com>
5689
5690 [BZ #17325]
5691 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
5692 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
5693 assert.
5694 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
5695 * iconvdata/ibm935.c (BODY): Likewise.
5696 * iconvdata/ibm937.c (BODY): Likewise.
5697 * iconvdata/ibm939.c (BODY): Likewise.
5698 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
5699 assert.
5700 * iconvdata/Makefile (iconv-test.out): Pass module list to test
5701 script.
5702 * iconvdata/run-iconv-test.sh: New test loop for checking for
5703 decoder crashers.
5704
a78b712d
KR
57052014-09-02 Khem Raj <raj.khem@gmail.com>
5706
5707 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
5708 libm_hidden_ver.
5709
cb08abc6
AM
57102014-09-01 Allan McRae <allan@archlinux.org>
5711
2c31e102
AM
5712 * po/eo.po: Update Esperanto translation from translation project.
5713
cb08abc6
AM
5714 * po/ca.po: Update Catalan translation from translation project.
5715
17a62de1
ST
57162014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
5717
5718 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
5719 __proc_dostop call.
5720
9570bc53
MW
57212014-08-27 Mark Wielaard <mjw@redhat.com>
5722
5723 [BZ #17319]
5724 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
5725 to call set_thread_area instead of hand written asm.
5726 (__NR_set_thread_area): Removed define.
5727 (TLS_FLAG_WRITABLE): Likewise.
5728 (__ASSUME_SET_THREAD_AREA): Remove check.
5729 (TLS_EBX_ARG): Remove define.
5730 (TLS_LOAD_EBX): Likewise.
5731
b0f955c9
ST
57322014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5733
5734 Simplify atomicity of socket creation in bind.
5735
5736 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
5737 looking up the name after linking the file.
5738
529bf515
AM
57392014-08-27 Allan McRae <allan@archlinux.org>
5740
5741 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5742
a1a6a401
FW
57432014-08-26 Florian Weimer <fweimer@redhat.com>
5744
5745 [BZ #17187]
5746 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
5747 trans_compare, open_translit, __gconv_translit_find):
5748 Remove module loading code.
5749
686ab290
AM
57502014-08-26 Allan McRae <allan@archlinux.org>
5751
e4e7cfd2
AM
5752 * po/vi.po: Update Vietnamese translation from translation project.
5753
6aa09f71
AM
5754 * po/uk.po: Update Ukrainian translation from translation project.
5755
edc0660e
AM
5756 * po/fr.po: Update French translation from translation project.
5757
7eea72ac
AM
5758 * po/ru.po: Update Russian translation from translation project.
5759
93c49eff
AM
5760 * po/pl.po: Update Polish translation from translation project.
5761
46acaf63
AM
5762 * po/cs.po: Update Czech translation from translation project.
5763
a9f5ce98
AM
5764 * po/de.po: Update German translation from translation project.
5765
373f2b78
AM
5766 * po/bg.po: Update Bulgarian translation from translation project.
5767
e7548bd8
AM
5768 * po/sv.po: Update Sweedish translation from translation project.
5769
c526bf4d
AM
5770 * po/nl.po: Update Dutch translation from translation project.
5771
686ab290
AM
5772 * po/es.po: Update Spanish translation from translation project.
5773
eb72478a
SP
57742014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5775
dd763fdb
SP
5776 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
5777
318c7a58
SP
5778 * catgets/Makefile (CPPFLAGS-gencat): Remove.
5779 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
5780 (CPPFLAGS-iconvconfig): Likewise.
5781 * timezone/Makefile (CPPFLAGS-zic): Likewise.
5782
eb72478a
SP
5783 * include/libc-symbols.h: Remove unnecessary check for
5784 NOT_IN_libc.
5785 * nptl/pthreadP.h: Likewise.
5786 * sysdeps/aarch64/setjmp.S: Likewise.
5787 * sysdeps/alpha/setjmp.S: Likewise.
5788 * sysdeps/arm/sysdep.h: Likewise.
5789 * sysdeps/i386/setjmp.S: Likewise.
5790 * sysdeps/m68k/setjmp.c: Likewise.
5791 * sysdeps/posix/getcwd.c: Likewise.
5792 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5793 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
5794 * sysdeps/s390/s390-32/setjmp.S: Likewise.
5795 * sysdeps/s390/s390-64/setjmp.S: Likewise.
5796 * sysdeps/sh/sh3/setjmp.S: Likewise.
5797 * sysdeps/sh/sh4/setjmp.S: Likewise.
5798 * sysdeps/unix/alpha/sysdep.h: Likewise.
5799 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5800 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5801 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5802 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5805 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5806 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5807 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5808 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5809 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5810 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5811 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5812 * sysdeps/x86_64/setjmp.S: Likewise.
5813
d44a052c
JM
58142014-08-13 Joseph Myers <joseph@codesourcery.com>
5815
5816 [BZ #17263]
5817 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
5818 <stdint.h>.
5819 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
5820 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
5821
508ce3ac
SP
58222014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5823
e44c8b0e
SP
5824 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
5825
508ce3ac
SP
5826 [BZ #17262]
5827 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
5828 and __x86_64__ when disabling x87 inline functions.
5829
b4acef1f
L
58302014-08-12 H.J. Lu <hongjiu.lu@intel.com>
5831
5832 [BZ #17259]
5833 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
5834 asm statement with __cpuid_count.
5835
61b1ef6e
MF
58362014-08-12 Mike Frysinger <vapier@gentoo.org>
5837
5838 * configure.ac: Change __ehdr_start code to dereference the struct.
5839 Run readelf on the output to look for relocations.
5840 * configure: Regenerated.
5841
898c62f4
JM
58422014-08-12 Joseph Myers <joseph@codesourcery.com>
5843
5844 [BZ #17261]
5845 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
5846 value to 0.
5847 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
5848
9a8a5720
RM
58492014-08-12 Roland McGrath <roland@hack.frob.com>
5850
5851 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
5852
4e75751c
BO
58532014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
5854
5855 [BZ #16892]
5856 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
5857 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
5858
bb2ce416
SA
58592014-08-12 Sean Anderson <seanga2@gmail.com>
5860
5861 * malloc/malloc.c: Fix typo in comment.
5862
7950a4ee
AM
58632014-08-09 Allan McRae <allan@archlinux.org>
5864
5865 * Regenerate libc.po.
5866
f469c49f
MF
58672014-08-08 Mike Frysinger <vapier@gentoo.org>
5868
5869 * intl/tst-gettext2.sh: Check every lang file for creation.
5870
656b84c2
WD
58712014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
5872
5873 * sysdeps/aarch64/fpu/math_private.h
5874 (libc_feholdsetround_noex_aarch64_ctx): New function.
5875
538e9e45
W
58762014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
5877
5878 * sysdeps/arm/armv6/strcpy.S (strcpy):
5879 Fix performance issue in misaligned cases.
5880
d4795e4a
AZ
58812014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5882
5883 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
5884 Move definition from termios.h.
5885 (struct termio): Likewise.
5886 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5887 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
5888 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
5889 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
5890 Likewise.
5891 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
5892 Move definition to ioctl-types.h
5893 (struct termio): Likewise.
5894 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5895 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
5896 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
5897 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
5898 Likewise.
5899
64accb62
RH
59002014-08-05 Richard Henderson <rth@redhat.com>
5901
27bb6dc0
RH
5902 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
5903 exceptions.
5904 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
5905 Add fraiseexcpt.
5906 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5907 Use __feraiseexcept.
5908 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
5909 Protect libm symbols with IS_IN_libm.
5910
64accb62
RH
5911 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
5912
e5292691
BO
59132014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
5914
5915 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
5916
5b4bd2d4
WN
59172014-08-04 Will Newton <will.newton@linaro.org>
5918
5919 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
5920 file.
5921
fcadaeef
MF
59222014-08-04 Mike Frysinger <vapier@gentoo.org>
5923
5924 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
5925 variants for each function.
5926
43a94c64
RM
59272014-08-04 Roland McGrath <roland@hack.frob.com>
5928
5929 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
5930 appended ...
5931 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
5932 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
5933 appended ...
5934 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
5935 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
5936 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
5937 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
5938 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
5939 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
5940 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
5941 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
5942 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
5943 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
5944 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
5945 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
5946 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
5947 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
5948 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
5949 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
5950 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
5951 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
5952 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
5953 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
5954 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
5955 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
5956 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
5957 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
5958 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
5959 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
5960 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
5961 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
5962 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
5963 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
5964 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
5965 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
5966 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
5967 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
5968 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
5969 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
5970 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
5971 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
5972 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
5973 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
5974 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
5975 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
5976 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
5977 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
5978 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
5979 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
5980 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
5981 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
5982 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
5983 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
5984 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
5985 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
5986 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
5987 Update #include.
5988 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
5989 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
5990
8f3c1fa4
RM
59912014-08-04 Roland McGrath <roland@hack.frob.com>
5992
5993 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
5994 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
5995 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
5996 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
5997 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
5998 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
5999
ca08746f
RM
60002014-08-04 Roland McGrath <roland@hack.frob.com>
6001
6002 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
6003 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
6004 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6005 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
6006
9c925ff9
RM
60072014-08-04 Roland McGrath <roland@hack.frob.com>
6008
6009 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
6010 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
6011 (__libc_vfork): Define function under this name.
6012 (__vfork): Define as an alias.
6013 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
6014 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
6015
e641054c
RM
60162014-08-04 Roland McGrath <roland@hack.frob.com>
6017
6018 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
6019 that was previously under [RESET_PID].
6020 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
6021
dacdc867
AS
60222014-08-04 Andreas Schwab <schwab@suse.de>
6023
6024 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
6025
41f725ff
MF
60262014-08-03 Mike Frysinger <vapier@gentoo.org>
6027
6028 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
6029 (main): Likewise.
6030
277cfb31
RM
60312014-08-01 Roland McGrath <roland@hack.frob.com>
6032
6033 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
6034
4896f049
RH
60352014-08-01 Richard Henderon <rth@redhat.com>
6036
6037 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
6038 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
6039 typo in exact zero test.
6040 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6041 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6042 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6043
6f64e7d7
RM
60442014-08-01 Roland McGrath <roland@hack.frob.com>
6045
6046 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
6047 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
6048 * sysdeps/arm/sysdep.h: ... here.
6049 [!__ASSEMBLER__]: Include <stdint.h>.
6050
3f3dd810
SP
60512014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6052
a476ac4b
SP
6053 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
6054 (HAVE_WCTYPE_H): Likewise.
6055 (HAVE_ISWCTYPE): Likewise.
6056 (ENABLE_NLS): Likewise.
6057 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
6058 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
6059
78dd658a
SP
6060 * posix/regex_internal.c: Check if DEBUG is defined and is
6061 set.
6062
3f3dd810
SP
6063 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
6064 (HAVE_MBSRTOWCS): Likewise.
6065 * posix/fnmatch.c: Include string.h unconditionally.
6066
95ee7fb1
SL
60672014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
6068
6069 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
6070 reversal.
6071
23fe486b
RM
60722014-07-31 Roland McGrath <roland@hack.frob.com>
6073
f61a113f
RM
6074 * sysdeps/generic/safe-fatal.h: New file.
6075 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
6076 * nptl/forward.c: Include it.
6077 (__pthread_unwind): Use __safe_fatal as default action, rather
6078 than a bogus use of INTERNAL_SYSCALL that could never work.
6079
9fe7e787
RM
6080 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
6081 * configure.ac (libc_cv_builtin_trap): New test.
6082 * configure: Regenerated.
6083 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
6084 (ABORT_INSTRUCTION): Define using __builtin_trap.
6085
23fe486b
RM
6086 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
6087 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
6088 * sysdeps/nptl/nptl-signals.h: New file.
6089 * nptl/pthreadP.h: Include <nptl-signals.h>.
6090
f349489e
SL
60912014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
6092
6093 * sysdeps/s390/s390-64/utf16-utf32-z9.c
6094 (ONE_DIRECTION): Define.
6095 * sysdeps/s390/s390-64/utf8-utf16-z9.c
6096 (ONE_DIRECTION): Define.
6097 * sysdeps/s390/s390-64/utf8-utf32-z9.c
6098 (ONE_DIRECTION): Define.
6099
2f438e20
SL
61002014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
6101
6102 * sysdeps/s390/Makefile: Delete file.
6103 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
6104 * sysdeps/s390/__longjmp.c: Delete file.
6105 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
6106 Remove fields __flags and __reserved.
6107 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
6108 and add versioning.
6109 * sysdeps/s390/rtld-__longjmp.c: Delete file.
6110 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
6111 * sysdeps/s390/rtld-setjmp.S: Likewise.
6112 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
6113 * sysdeps/s390/s390-32/__longjmp.c: ... here.
6114 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
6115 * sysdeps/s390/s390-32/setjmp.S: ... here.
6116 Add versioning.
6117 (__sigsetjmp): Remove setting __flags field.
6118 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
6119 * sysdeps/s390/s390-64/__longjmp.c: ... here.
6120 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
6121 * sysdeps/s390/s390-64/setjmp.S: ... here.
6122 Add versioning.
6123 (__sigsetjmp): Remove setting __flags field.
6124 * sysdeps/s390/setjmp.S: Delete file.
6125 * sysdeps/s390/sigjmp.c: Likewise.
6126 * sysdeps/s390/v1-longjmp.c: Likewise.
6127 * sysdeps/s390/v1-setjmp.h: Likewise.
6128 * sysdeps/s390/v1-sigjmp.c: Likewise.
6129 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
6130 Remove v1-longjmp_chk.
6131 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
6132 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
6133 Include debug/longjmp_chk.c and add versioning.
6134 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
6135 Include nptl/pt-longjmp.c and add versioning.
6136 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
6137 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
6138 Include __longjmp.c.
6139 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6140 Move to ...
6141 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
6142 (__getcontext): Remove setting __flags field.
6143 Add versioning.
6144 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6145 Don't restore upper high grps.
6146 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
6147 Likewise.
6148 (__swapcontext): Remove setting uc_flags field.
6149 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
6150 Delete file.
6151 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
6152 Include __longjmp.c.
6153 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6154 Move to ...
6155 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
6156 (__getcontext): Remove setting __flags field.
6157 Add versioning.
6158 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
6159 (__swapcontext): Remove setting uc_flags field.
6160 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
6161 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
6162 Remove fields uc_high_gprs and __reserved.
6163 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
6164 New file with reverted content.
6165 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
6166 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
6167 Regenerated.
6168 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
6169 Regenerated.
6170
6c9578a2
AS
61712014-07-31 Andreas Schwab <schwab@suse.de>
6172
6173 * config.h.in (HAVE_IFUNC): Define to 0.
6174 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
6175 definedness.
6176
05f3633d
LM
61772014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
6178
6179 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6180 memmove-avx-unaligned, memcpy-avx-unaligned and
6181 mempcpy-avx-unaligned.
6182 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6183 Add tests for AVX memcpy functions.
6184 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
6185 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
6186 memcpy_chk.
6187 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
6188 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
6189 memmove_chk.
6190 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
6191 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
6192 mempcpy_chk.
6193 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
6194 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
6195 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
6196
a53fbd8e
AZ
61972013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6198
6199 [BZ #17213]
6200 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
6201 powerpc64le.
6202
0961f7e1
JL
62032014-07-29 Jeff Layton <jlayton@poochiereds.net>
6204
6205 [BZ #16839]
6206 * manual/llio.texi: Add section about open file description locks.
6207 * manual/examples/ofdlocks.c: Example of open file description
6208 lock usage.
6209 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
6210 F_OFD_SETLK, and F_OFD_SETLKW.
6211
cc5fb300
AM
62122014-07-23 Allan McRae <allan@archlinux.org>
6213
6214 * po/es.po: Update Spanish translation from translation project.
6215
23329dca
AS
62162014-07-18 Andreas Schwab <schwab@linux-m68k.org>
6217
6218 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
6219
9c82da17
MR
62202014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
6221
6222 [BZ #17078]
6223 * sysdeps/arm/dl-machine.h (elf_machine_rela)
6224 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
6225 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
6226
29c4f53e
JM
62272014-07-17 Joseph Myers <joseph@codesourcery.com>
6228
831b9896
JM
6229 [BZ #17088]
6230 * math/fesetenv.c (__fesetenv)
6231 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
6232 * math/feupdateenv.c (__feupdateenv)
6233 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
6234
b21c2d50
JM
6235 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
6236 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6237 (__ASSUME_SOCKETCALL): Do not define.
6238
067764ef
JM
6239 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
6240 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
6241 (__ASSUME_SOCKETCALL): Do not define.
6242 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
6243 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6244 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6245 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6246 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6247 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
6248 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6249 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6250
642530c1
JM
6251 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
6252 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
6253 (__ASSUME_SOCKETCALL): Do not define.
6254 (__ASSUME_IPC64): Define unconditionally.
6255 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6256 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6257 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6258 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6259 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
6260 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6261 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
6262 Likewise.
6263
03f77315
JM
6264 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
6265 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
6266 (__ASSUME_SOCKETCALL): Do not define.
6267 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
6268 (__ASSUME_FUTEX_LOCK_PI): Likewise.
6269 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6270 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6271 (__ASSUME_REQUEUE_PI): Define unconditionally.
6272 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
6273 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
6274 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6275 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
6276 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6277 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6278
083b1f7c
JM
6279 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
6280 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
6281 (__ASSUME_SOCKETCALL): Do not define.
6282 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
6283 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6284 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6285 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
6286 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6287 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6288
5be44ea6
JM
6289 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
6290 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
6291 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6292 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
6293 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6294 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
6295 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6296 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
6297 (__ASSUME_GETCPU_SYSCALL): Likewise.
6298
d95ffd4c
JM
6299 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
6300 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
6301 cases for individual architectures.
6302 * sysdeps/gnu/configure: Regenerated.
6303 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
6304 LIBC_SLIBDIR_RTLDDIR.
6305 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
6306 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
6307 LIBC_SLIBDIR_RTLDDIR.
6308 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
6309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
6310 LIBC_SLIBDIR_RTLDDIR.
6311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6312 Regenerated.
6313 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
6314 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
6315 file.
6316 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
6317 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
6318 file.
6319 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
6320 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
6321 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
6322 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
6323
29c4f53e
JM
6324 * sysdeps/aarch64/shlib-versions: Move to ...
6325 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
6326 * sysdeps/alpha/shlib-versions: Move to ...
6327 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
6328 * sysdeps/arm/shlib-versions: Move to ...
6329 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
6330 * sysdeps/hppa/shlib-versions: Move all contents except for
6331 libgcc_s entry to ...
6332 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
6333 entry from ...
6334 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
6335 * sysdeps/ia64/shlib-versions: Move to ...
6336 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
6337 entry from ...
6338 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
6339 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
6340 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
6341 * sysdeps/microblaze/shlib-versions: Move to ...
6342 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
6343 * sysdeps/mips/shlib-versions: Move to ...
6344 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
6345 entry from ...
6346 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
6347 * sysdeps/tile/shlib-versions: Move to ...
6348 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
6349 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
6350 from ...
6351 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
6352 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
6353 entry from ...
6354 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
6355
32bead5b
WN
63562014-07-17 Will Newton <will.newton@linaro.org>
6357
57977c4b
WN
6358 * sysdeps/arm/bits/atomic.h
6359 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
6360 (__arch_compare_and_exchange_bool_16_int): Likewise.
6361 (__arch_compare_and_exchange_bool_64_int): Likewise.
6362
32bead5b
WN
6363 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
6364 into an #else block.
6365
37fccd41
RM
63662014-07-16 Roland McGrath <roland@hack.frob.com>
6367
6368 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
6369 just Linux configurations. Test empirically that the compiler sets
6370 __ARM_EABI__, rather than using the tuple to decide.
6371 * sysdeps/arm/preconfigure: Regenerated.
6372 * sysdeps/unix/sysv/linux/arm/configure: File removed.
6373 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
6374 contents appended ...
6375 * sysdeps/arm/configure.ac: ... here.
6376 * sysdeps/arm/configure: Regenerated.
6377
b365f3ec
RM
63782014-07-15 Roland McGrath <roland@hack.frob.com>
6379
8badf496
RM
6380 * nptl/pthread_kill.c: New file.
6381 * nptl/pthread_sigmask.c: New file.
6382 * nptl/pthread_sigqueue.c: New file.
6383
3df6f22e
RM
6384 * sysdeps/nptl/lowlevellock.h: New file.
6385 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
6386 * sysdeps/nptl/lowlevellock-futex.h: New file.
6387
b365f3ec
RM
6388 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
6389 Remove dead declarations.
6390
f2fef657
L
63912014-07-14 H.J. Lu <hongjiu.lu@intel.com>
6392
6393 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
6394 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
6395 config-cflags-avx2.
6396 * sysdeps/x86_64/configure.ac: Likewise.
6397 * sysdeps/i386/configure: Regenerated.
6398 * sysdeps/x86_64/configure: Likewise.
6399 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6400 memset-avx2 only if config-cflags-avx2 is yes.
6401 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6402 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
6403 defined.
6404 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
6405 only if HAVE_AVX2_SUPPORT is defined.
6406 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6407
f6c44d47
AM
64082014-07-14 Alan Modra <amodra@gmail.com>
6409
6410 [BZ #17153]
6411 * elf/elf.h (DT_PPC64_NUM): Correct value.
6412 * NEWS: Add to fixed bug list.
6413
7ee03f00
JM
64142014-07-13 Jim Meyering <meyering@fb.com>
6415
6416 [BZ 17150]
6417 regex: don't deref NULL upon heap allocation failure
6418 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
6419 failure in one more place.
6420 To trigger the segfault, configure grep -with-included-regex,
6421 build it, and run these commands:
6422 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
6423
9d39d517
AS
64242014-07-13 Andreas Schwab <schwab@linux-m68k.org>
6425
6426 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6427
a75b89b7
RH
64282014-07-11 Richard Henderson <rth@redhat.com>
6429
6430 * sysdeps/aarch64/libm-test-ulps: Update.
6431
771eb141
FW
64322014-07-10 Florian Weimer <fweimer@redhat.com>
6433
6434 [BZ #17135]
6435 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
6436 * nptl/allocatestack.c (__nptl_setxid_error): New function.
6437 (__nptl_setxid): Initialize error member. Call
6438 __nptl_setxid_error.
6439 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
6440 * nptl/descr.h (struct xid_command): Add error member.
6441 * nptl/tst-setuid3.c: New file.
6442 * nptl/Makefile (tests): Add it.
6443
bc1da176
AZ
64442014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6445
6446 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
6447 New define.
6448 (__lll_trylock): Use __lll_base_trylock.
6449 (__lll_cond_trylock): Likewise.
6450
887865fc
RM
64512014-07-10 Roland McGrath <roland@hack.frob.com>
6452
c0c6bac9
RM
6453 * nptl/pthread_create.c (start_thread): Use atomic_or and
6454 lll_futex_wake directly rather than lll_robust_dead.
6455 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6456 (lll_robust_dead): Macro removed.
6a42be57 6457 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
6458 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
6459 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
6460 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6461 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6462 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
6463 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
6464 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6465 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
6466 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6467 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6468 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6469 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6470 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6471 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6472
887865fc
RM
6473 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
6474 Use atomic_compare_and_exchange_val_acq directly rather than
6475 lll_robust_trylock.
6476 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6477 (__lll_robust_trylock, lll_robust_trylock): Removed.
6478 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
6479 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
6480 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6481 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6482 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
6483 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
6484 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6485 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
6486 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6487 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6488 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6489 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6490 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6491 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6492
58536726
FW
64932014-07-02 Florian Weimer <fweimer@redhat.com>
6494
6495 * manual/locale.texi (Locale Names): New section documenting
6496 locale name syntax. Adjust menu and node chaining accordingly.
6497 (Choosing Locale): Reference Locale Names, Locale Categories.
6498 Mention setting LC_ALL=C. Reflect that name syntax is now
6499 documented.
6500 (Locale Categories): New section title. Reference Locale Names.
6501 LC_ALL is an environment variable, but not a category.
6502 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
6503 description, now in Locale Name. Reference that section. Locale
6504 name syntax is now documented.
6505
4e8f95a0
FW
65062014-07-02 Florian Weimer <fweimer@redhat.com>
6507
6508 [BZ #17137]
6509 * locale/findlocale.c (name_present, valid_locale_name): New
6510 functions.
6511 (_nl_find_locale): Use the loc_name variable to store name
6512 candidates. Call name_present and valid_locale_name to check and
6513 validate locale names. Return an error if the locale is invalid.
6514
d1836456
FW
65152014-07-02 Florian Weimer <fweimer@redhat.com>
6516
6517 * locale/setlocale.c (setlocale): Use strdup for allocating
6518 composite name copy.
6519
d69b7f5a
SP
65202014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6521
888c679b
SP
6522 Sync up with gnulib.
6523 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
6524 [!_LIBC && ENABLE_NLS]: Include gettext.h.
6525 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
6526 and _GL_ARG_NONNULL.
6527 [USE_UNLOCKED_IO]: Include unlocked-io.h.
6528 [!_LIBC]: Include code for Windows and Cygwin.
6529 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
6530 Include prototype for int strerror_r.
6531 [!_LIBC] (is_open): New function.
6532 (flush_stdout): New function.
6533 (print_errno_message): Use it.
6534 (error): Likewise.
6535 (error_at_line): Likewise.
6536 (error_tail) Add function attribute macros. Use
6537 __builtin_expect.
6538
180e0e4b
SP
6539 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
6540
d22f1fe2
SP
6541 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
6542
12f2254b
SP
6543 * io/ftw.c: Include sys/param.h unconditionally.
6544
c3c7c360
SP
6545 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
6546
d62aa75a
SP
6547 [BZ #17125]
6548 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
6549 libc_freeres_ptr.
6550 (freecache): New function to free CACHE on exit.
6551
d69b7f5a
SP
6552 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
6553 initialization.
6554
5efe06a1
DM
65552014-07-09 David S. Miller <davem@davemloft.net>
6556
6557 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6558
7000d82e
DM
6559 * sysdeps/sparc/nptl/internaltypes.h: Delete.
6560 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
6561 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
6562 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
6563 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
6564 * sysdeps/sparc/nptl/sem_init.c: Likewise.
6565 * sysdeps/sparc/nptl/sem_post.c: Likewise.
6566 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
6567 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
6568 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
6569 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
6570 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
6571 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
6572
c213442d
AS
65732014-07-09 Andreas Schwab <schwab@suse.de>
6574
4a2552c3
AS
6575 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
6576 output.
6577 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
6578 (do_test): Likewise.
6579
c213442d
AS
6580 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6581
82374e65
WN
65822014-07-09 Will Newton <will.newton@linaro.org>
6583
6584 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
6585 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
6586 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
6587 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
6588 * sysdeps/hppa/start.S (_start): Likewise.
6589
6680738a
SP
65902014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
6591
6ee3eab4
SP
6592 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
6593
6680738a
SP
6594 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
6595 defined.
6596
80b5c505
SP
65972014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6598
e35c53e3
SP
6599 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
6600 after checking that it is non-NULL.
6601
80b5c505
SP
6602 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
6603
91f4b564
AZ
66042014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6605
27b75f56
AZ
6606 * sysdeps/powerpc/memmove.c: Remove file.
6607 * sysdeps/powerpc/powerpc32/power4/memcopy.h
6608 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
6609 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
6610 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
6611 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
6612 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
6613 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
6614 string memmove instead of removed powerpc one.
6615
e7f95bb5
AZ
6616 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6617 [weak_alias]: Fix compiler warning due trailing data.
6618 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
6619 [weak_alias]: Likewise.
6620 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
6621 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
6622
91f4b564
AZ
6623 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6624 (__libc_ifunc_impl_list): Add memmove functions.
6625
7c33f1e5
SP
66262014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6627
6628 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
6629 Remove code.
6630 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
6631 Likewise
6632 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
6633 Likewise
6634 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
6635 Likewise
6636 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
6637 Likewise
6638 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
6639 Likewise
6640 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
6641 Likewise
6642 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
6643 Likewise
6644 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
6645 Likewise
6646 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
6647 Likewise
6648 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
6649 Likewise
6650 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
6651 Likewise
6652 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
6653 Likewise
6654 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
6655 Likewise
6656 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
6657 Likewise
6658 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
6659 Likewise
6660 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
6661 Likewise
6662
3f17b03b
AZ
66632014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6664
87868c24
AZ
6665 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
6666 to avoid alignment traps in non-cacheable memory.
6667 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
6668
07aedd78
AZ
6669 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
6670 multiarch objects.
6671 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
6672 file: multiarch power7 memmove.
6673 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
6674 multiarch default memmove.
6675 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
6676 multiarch memove for powerpc32/power4.
6677
17762f66
AZ
6678 * string/bcopy.c: Use full path to include memmove.c.
6679 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
6680 multiarch objects.
6681 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
6682 bcopy for powerpc64.
6683 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
6684 bcopy for powerpc64.
6685 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
6686 and memmove implementations.
6687 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
6688 optimized multiarch memmove for POWER7/powerpc64.
6689 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
6690 default multiarch memmove for powerpc64.
6691 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
6692 multiarch for powerpc64.
6693 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
6694 for POWER7/powerpc64.
6695 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
6696 memmove for POWER7/powerpc64.
6697
d6f68bbe
AZ
6698 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
6699 glibc default one.
6700
3f17b03b
AZ
6701 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
6702 __ELF_NATIVE_CLASS equal to 64.
6703
08192659
RM
67042014-07-07 Roland McGrath <roland@hack.frob.com>
6705
f4c4021b
RM
6706 * sysdeps/nptl/lowlevellock.h: File removed.
6707
f083450f
RM
6708 * NEWS: NPTL is no longer an add-on!
6709 * nptl/internaltypes.h: Moved ...
6710 * sysdeps/nptl/internaltypes.h: ... here.
6711 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
6712 * sysdeps/nptl/fork.c: Likewise.
6713 * sysdeps/nptl/gai_misc.h: Likewise.
6714 * sysdeps/nptl/librt-cancellation.c: Likewise.
6715 * sysdeps/nptl/jmp-unwind.c: Likewise.
6716 * sysdeps/nptl/setxid.h: Likewise.
6717 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
6718 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
6719 * sysdeps/unix/sysv/linux/arm/Implies: New file.
6720 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
6721 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
6722 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
6723 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
6724 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
6725 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
6726 * sysdeps/unix/sysv/linux/mips/Implies: New file.
6727 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
6728 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
6729 * sysdeps/unix/sysv/linux/sh/Implies: New file.
6730 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
6731 * sysdeps/unix/sysv/linux/tile/Implies: New file.
6732 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
6733 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
6734 * nptl/Makeconfig: Moved ...
6735 * sysdeps/nptl/Makeconfig: ... here.
6736 * nptl/configure: File removed.
6737 * nptl/ANNOUNCE: File removed.
6738 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
6739 * sysdeps/unix/sysv/linux/configure: Regenerated.
6740
08192659
RM
6741 * nptl/Makefile (routines): Add libc_pthread_init,
6742 libc_multiple_threads, register-atfork and unregister-atfork.
6743 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
6744 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
6745 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
6746 pthread-pi-defines.sym, structsem.sym.
6747 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
6748 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
6749 [$(subdir) = nptl] (tests): Add tst-setgetname.
6750 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
6751 * sysdeps/unix/sysv/linux/sigaction.c: Just include
6752 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
6753 [!LIBC_SIGACTION]: Remove aliases.
6754 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
6755 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6756 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6757 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
6758 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
6759 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
6760 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6761 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6762 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6763 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
6764 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
6765 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
6766 __libc_allocate_rtsig_private.
6767 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
6768 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
6769 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
6770 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
6771 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
6772 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
6773 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
6774 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
6775 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
6776 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
6777 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
6778 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
6779 * nptl/internaltypes.h: ... here.
6780 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
6781 * sysdeps/nptl/jmp-unwind.c: ... here.
6782 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
6783 * nptl/libc-lowlevellock.c: ... here.
6784 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
6785 * nptl/libc_multiple_threads.c: ... here.
6786 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
6787 * nptl/libc_pthread_init.c: ... here.
6788 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
6789 * nptl/lowlevelbarrier.sym: ... here.
6790 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
6791 * nptl/lowlevelcond.sym: ... here.
6792 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
6793 * nptl/lowlevellock.c: ... here.
6794 * nptl/lowlevellock.h: Moved ...
6795 * sysdeps/nptl/lowlevellock.h: ... here.
6796 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
6797 * nptl/lowlevelrobustlock.c: ... here.
6798 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
6799 * nptl/lowlevelrobustlock.sym: ... here.
6800 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
6801 * nptl/lowlevelrwlock.sym: ... here.
6802 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
6803 * nptl/pt-fork.c: ... here.
6804 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
6805 * nptl/pthread-pi-defines.sym: ... here.
6806 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
6807 * nptl/pthread_attr_getaffinity.c: ... here.
6808 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
6809 * nptl/pthread_attr_setaffinity.c: ... here.
6810 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
6811 * nptl/pthread_mutex_cond_lock.c: ... here.
6812 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6813 Update #include.
6814 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
6815 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
6816 * nptl/pthread_once.c: ... here, replacing old file.
6817 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
6818 * nptl/pthread_yield.c: ... here.
6819 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
6820 * nptl/register-atfork.c: ... here.
6821 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
6822 * nptl/sem_post.c: ... here.
6823 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
6824 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
6825 * nptl/sem_timedwait.c: ... here.
6826 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
6827 * nptl/sem_trywait.c: ... here.
6828 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
6829 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
6830 * nptl/sem_wait.c: ... here.
6831 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
6832 * nptl/structsem.sym: ... here.
6833 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
6834 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
6835 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
6836 * nptl/unregister-atfork.c: ... here.
6837 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
6838 * nptl/unwindbuf.sym: ... here.
6839 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
6840 * sysdeps/nptl/fork.c: ... here.
6841 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
6842 * sysdeps/nptl/fork.h: ... here.
6843 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
6844 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
6845 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
6846 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
6847 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
6848 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
6849 * sysdeps/unix/sysv/linux/getpid.c: ... here.
6850 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
6851 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
6852 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
6853 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
6854 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
6855 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
6856 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
6857 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
6858 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
6859 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
6860 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
6861 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
6862 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
6863 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
6864 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
6865 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
6866 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
6867 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
6868 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
6869 * sysdeps/unix/sysv/linux/raise.c: ... here.
6870 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
6871 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
6872 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
6873 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
6874 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
6875 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
6876 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
6877 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
6878 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
6879 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
6880 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
6881 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
6882 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
6883 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
6884 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
6885
96baf6ff
SP
68862014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6887
6888 * sysdeps/generic/memcopy.h: Add comment for
6889 MEMCPY_OK_FOR_FWD_MEMMOVE.
6890
6b7b14b2
WN
68912014-07-04 Will Newton <will.newton@linaro.org>
6892
1570a72b
WN
6893 * string/memchr.c: Merge from gnulib.
6894 [_LIBC]: Remove conditionals.
6895 (__ptr_t): Remove define.
6896 (LONG_MAX_32_BITS): Likewise.
6897 (LONG_MAX): Likewise.
6898 (MEMCHR): Use ANSI prototype and optimize algorithm.
6899
6b7b14b2
WN
6900 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
6901
38851324
SP
69022014-07-03 Roland McGrath <roland@hack.frob.com>
6903
3d9eb57c
RM
6904 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
6905 (lll_futex_timed_wait_bitset): Fix syscall argument count.
6906
78b984ae
RM
6907 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
6908 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
6909 in a bare environment with no <stdlib.h> installed.
6910 * sysdeps/nptl/configure: Regenerated.
6911
2d5976a5
RM
6912 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
6913
c1f5acd4
RM
6914 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
6915 AC_EGREP_CPP for kernel header checks, so they only succeed if
6916 including <linux/version.h> actually works right.
6917 * sysdeps/unix/sysv/linux/configure: Regenerated.
6918
4d614fe5
RM
6919 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
6920 value so it's not diagnosed as unused.
6921
38851324
SP
6922 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
6923 thing) with "ifeq ($(subdir),rt)".
6924
b3ec00e5
RH
69252014-07-03 Richard Henderson <rth@redhat.com>
6926
69862e25
RH
6927 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
6928 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
6929 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
6930
d5e16ade
RH
6931 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
6932 (math_force_eval): New.
6933
ca7b945c
RH
6934 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
6935 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
6936
cd1175a3
RH
6937 * sysdeps/alpha/fpu/s_round.c: Remove file.
6938 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
6939
b3ec00e5
RH
6940 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
6941 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
6942 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
6943 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
6944 (_dl_start, print_statistics): Likewise.
6945 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
6946 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
6947
6948 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6949 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6950 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6951 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6952 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6953 (HP_SMALL_TIMING_AVAIL): Define.
6954 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6955 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
6956 (HP_SMALL_TIMING_AVAIL): Define.
6957 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6958 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6959
6960 * sysdeps/aarch64/hp-timing.h: New file.
6961
6962 * sysdeps/generic/hp-timing.h: Remove dead comment.
6963 * sysdeps/generic/hp-timing-common.h: New file.
6964 * sysdeps/alpha/hp-timing.h: Include it.
6965 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
6966 * sysdeps/i386/i686/hp-timing.h: Likewise.
6967 * sysdeps/ia64/hp-timing.h: Likewise.
6968 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6969 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6970 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6971 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6972 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
6973 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
6974 (hp_timing_t): New.
6975
6976 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
6977 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
6978 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
6979 * elf/rtld.c (_dl_start_final): Likewise.
6980 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
6981 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6982 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6983 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6984 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6985 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6986 (HP_TIMING_DIFF_INIT): Remove.
6987 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6988 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
6989 (HP_TIMING_DIFF_INIT): Remove.
6990 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6991 * sysdeps/i386/i686/hp-timing.c: Remove file.
6992 * sysdeps/x86_64/hp-timing.c: Remove file.
6993 * sysdeps/ia64/hp-timing.c: Remove file.
6994 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
6995 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
6996 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
6997 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
6998
6999 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
7000 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
7001 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
7002 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7003 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7004 (HP_TIMING_ACCUM): Remove.
7005 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7006 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
7007 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7008
7009 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
7010 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
7011 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
7012 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
7013 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
7014 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
7015 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
7016 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
7017
7018 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
7019
225f410f
MR
70202014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
7021
7022 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
7023
3247f285
SP
70242014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7025
7026 Sync up with gettext.
7027 * intl/loadmsgcat.c: Define O_BINARY if not defined.
7028 [_MSC_VER]: Include malloc.h
7029 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
7030 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
7031 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
7032 TEMP_FAILURE_RETRY. Cast return of alloca.
7033 [!_LIBC] Call gl_rwlock_init.
7034 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
7035
d12704c7
SP
70362014-07-02 Roland McGrath <roland@hack.frob.com>
7037
7038 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
7039 before checking its value.
7040
99f8dc92
SP
70412014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7042
05fdac77
SP
7043 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
7044
99f8dc92
SP
7045 * debug/memcpy_chk.c: Don't include pagecopy.h.
7046 * debug/mempcpy_chk.c: Likewise.
7047 * string/memcpy.c: Likewise.
7048 * string/memmove.c: Likewise.
7049 * sysdeps/powerpc/memmove.c: Likewise.
7050 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
7051 definition of PAGE_COPY_FWD_MAYBE here...
7052 * sysdeps/generic/pagecopy.h: ... from here.
7053 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
7054
bc8ea385
VR
70552014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7056 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7057
7058 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
7059 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
7060 optimizations.
7061 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7062 (__libc_ifunc_impl_list): Likewise.
7063 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
7064 multiarch strcat for PPC64.
7065 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
7066 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
7067
fe5f34e4
RM
70682014-07-02 Roland McGrath <roland@hack.frob.com>
7069
7070 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
7071
256aa665
SP
70722014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7073
d4eb8195
SP
7074 * intl/loadmsgcat.c: Remove declaration of
7075 get_sysdep_segment_value.
7076 (get_sysdep_segment_value): Use ISO C style.
7077 (_nl_load_domain): Use ISO C style. Get rid of redundant
7078 semicolon. Fix typo and formatting in comment.
7079 (_nl_unload_domain): Use ISO C style.
7080
256aa665
SP
7081 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
7082
b100f9aa
WN
70832014-07-02 Will Newton <will.newton@linaro.org>
7084
7085 * malloc/obstack.c: Merge from gnulib master.
7086 [HAVE_CONFIG_H]: Remove conditional code.
7087 [!_LIBC]: Include config.h.
7088 [!ELIDE_CODE]: Don't include inttypes.h, include
7089 stdint.h unconditionally.
7090 (print_and_abort): Mark as _Noreturn.
7091 (_obstack_allocated_p): Mark as __attribute_pure__.
7092 (obstack_free): Rename to __obstack_free.
7093 [!__attribute__]: Remove conditional code.
7094 * malloc/obstack.h: Merge from gnulib master.
7095 [__cplusplus]: Move conditional down.
7096 [!__attribute_pure__]: Define __attribute_pure__ here
7097 if it is not already defined.
7098 (_obstack_memory_used): Mark as __attribute_pure__.
7099 [!__obstack_free]: Define as obstack_free.
7100 [__GNUC__]: Remove check for ancient NeXT gcc.
7101
c4c41244
PE
71022014-07-02 Will Newton <will.newton@linaro.org>
7103 Paul Eggert <eggert@cs.ucla.edu>
7104
7105 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
7106
e1e041c4
SP
71072014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7108
7109 * resolv/gethnamaddr.c: Add comment warning that the file is
7110 not maintained.
7111
ccf431ff
CD
71122014-07-01 Carlos O'Donell <carlos@redhat.com>
7113
d34570a6
CD
7114 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
7115 entries.
7116
ccf431ff
CD
7117 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
7118 entry for aio_cancel and aio_cancel64.
7119 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
7120 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
7121 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
7122 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
7123 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
7124 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
7125 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
7126 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
7127 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
7128 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
7129 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
7130 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
7131 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
7132
ca06321d
RM
71332014-07-01 Roland McGrath <roland@hack.frob.com>
7134
7135 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
7136 * nptl/pthread_mutex_lock.c: Likewise.
7137 * nptl/pthread_mutex_timedlock.c: Likewise.
7138 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
7139
a1ac3184
RH
71402014-07-01 Richard henderson <rth@redhat.com>
7141
631021e0
RH
7142 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
7143 (__isnan, __isnanl): Remove.
7144 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
7145
a1ac3184
RH
7146 * sysdeps/alpha/fpu/libm-test-ulps: Update.
7147
0c1d731f
SL
71482014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
7149
7150 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7151
76985d3e
SP
71522014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7153
7154 * resolv/nss_dns/dns-host.c (getanswer_r)
7155 [MULTI_PTRS_ARE_ALIASES]: Remove code.
7156
b0cb3096
JM
71572014-07-01 Joseph Myers <joseph@codesourcery.com>
7158
7159 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7160 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
7161 undefine.
7162 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
7163 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
7164
4d76cb39
RM
71652014-07-01 Roland McGrath <roland@hack.frob.com>
7166
7167 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
7168 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
7169
7170 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
7171 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
7172
7173 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
7174 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
7175 ... here.
7176 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
7177 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
7178
7179 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
7180 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
7181 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
7182 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
7183
7184 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
7185 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
7186 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
7187 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
7188 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
7189 Moved ...
7190 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
7191 ... here.
7192 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
7193 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
7194 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
7195 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
7196 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
7197 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
7198 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
7199 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
7200 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
7201 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
7202 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
7203 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
7204 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
7205 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
7206 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
7207 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
7208 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
7209 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
7210 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
7211 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
7212 ... here.
7213 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
7214 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
7215 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
7216 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
7217 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
7218 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
7219 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
7220 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
7221
0cdcad17
DH
72222014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
7223
7224 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
7225 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
7226 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
7227 Add sysdep.
7228
9b71d0e3
AZ
72292014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7230
7231 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7232
665390c2
JM
72332014-06-30 Joseph Myers <joseph@codesourcery.com>
7234
ae05a9d7
JM
7235 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
7236 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7237
a7672a2f
JM
7238 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7239
665390c2
JM
7240 * sysdeps/arm/libm-test-ulps: Regenerated.
7241
d7a05d07
MR
72422014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
7243 Roland McGrath <roland@hack.frob.com>
7244
7245 * test-skeleton.c (signal_handler): Kill the whole process group
7246 before killing the child individually.
7247 (main): Report any failure on `setpgid'.
7248
46f1d8a6
RM
72492014-06-30 Roland McGrath <roland@hack.frob.com>
7250
7251 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
7252 from _TLS_H to _ARM_NPTL_TLS_H.
7253 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
7254 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
7255
9c37ec0b
JM
72562014-06-30 Joseph Myers <joseph@codesourcery.com>
7257
ce9c5b3e
JM
7258 [BZ #16539]
7259 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
7260 (__expm1l): Return argument unchanged when small but not
7261 subnormal.
7262
3a6e9887
JM
7263 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
7264 include macro name.
7265 (_FP_UNPACK_RAW_1_P): Likewise.
7266 (_FP_PACK_RAW_1): Likewise.
7267 (_FP_PACK_RAW_1_P): Likewise.
7268 (_FP_MUL_MEAT_1_wide): Likewise.
7269 (_FP_MUL_MEAT_DW_1_hard): Likewise.
7270 (_FP_MUL_MEAT_1_hard): Likewise.
7271 (_FP_DIV_MEAT_1_imm): Likewise.
7272 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
7273 (_FP_DIV_MEAT_1_udiv): Likewise.
7274 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
7275 (_FP_UNPACK_RAW_2): Likewise.
7276 (_FP_UNPACK_RAW_2_P): Likewise.
7277 (_FP_PACK_RAW_2): Likewise.
7278 (_FP_PACK_RAW_2_P): Likewise.
7279 (_FP_MUL_MEAT_DW_2_wide): Likewise.
7280 (_FP_MUL_MEAT_2_wide): Likewise.
7281 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
7282 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7283 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
7284 (_FP_MUL_MEAT_2_gmp): Likewise.
7285 (_FP_DIV_MEAT_2_udiv): Likewise.
7286 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
7287 (_FP_FRAC_SRL_4): Likewise.
7288 (_FP_FRAC_SRST_4): Likewise.
7289 (_FP_FRAC_SRS_4): Likewise.
7290 (_FP_UNPACK_RAW_4): Likewise.
7291 (_FP_UNPACK_RAW_4_P): Likewise.
7292 (_FP_PACK_RAW_4): Likewise.
7293 (_FP_PACK_RAW_4_P): Likewise.
7294 (_FP_MUL_MEAT_DW_4_wide): Likewise.
7295 (_FP_MUL_MEAT_4_wide): Likewise.
7296 (_FP_MUL_MEAT_4_gmp): Likewise.
7297 (umul_ppppmnnn): Likewise.
7298 (_FP_DIV_MEAT_4_udiv): Likewise.
7299 (__FP_FRAC_ADD_4): Likewise.
7300 (__FP_FRAC_SUB_3): Likewise.
7301 (__FP_FRAC_SUB_4): Likewise.
7302 (__FP_FRAC_DEC_3): Likewise.
7303 (__FP_FRAC_DEC_4): Likewise.
7304 (__FP_FRAC_ADDI_4): Likewise.
7305 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
7306 (_FP_FRAC_SRL_8): Likewise.
7307 (_FP_FRAC_SRS_8): Likewise.
7308
9c37ec0b
JM
7309 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
7310 include macro name.
7311 (FP_UNPACK_RAW_EP): Likewise.
7312 (FP_PACK_RAW_E): Likewise.
7313 (FP_PACK_RAW_EP): Likewise.
7314 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
7315 (_FP_ISSIGNAN): Likewise.
7316 (_FP_ADD_INTERNAL): Likewise.
7317 (_FP_FMA): Likewise.
7318 (_FP_CMP): Likewise.
7319 (_FP_SQRT): Likewise.
7320 (_FP_TO_INT): Likewise.
7321 (_FP_FROM_INT): Likewise.
7322 (FP_EXTEND): Likewise.
7323 (_FP_DIV_MEAT_N_loop): Likewise.
7324
2125f674
MR
73252014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
7326
7327 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
7328 throughout.
7329
edea4028
JM
73302014-06-29 Joseph Myers <joseph@codesourcery.com>
7331
7332 [BZ #17097]
7333 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
7334 result with correct sign in case of exponents that produce
7335 overflow except for X very close to 1.
7336
dd0ba018
PE
73372014-06-28 Paul Eggert <eggert@cs.ucla.edu>
7338
7339 mktime: merge #if/#ifdef usage from glibc
7340 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
7341 as that works with both Glibc's and Gnulib's style.
7342 See thread starting at Siddhesh Poyarekar's bug report at:
7343 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
7344
64df73c2
SP
73452014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7346
7347 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
7348 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
7349 * sysdeps/tile/tilegx/memmove.c: Remove file.
7350
f1eafb41
JM
73512014-06-27 Joseph Myers <joseph@codesourcery.com>
7352
7353 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
7354 abi-name definition.
7355 * scripts/soversions.awk: Do not handle or generate ABI lines.
7356 * shlib-versions: Remove ABI entries.
7357 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
7358 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
7359
58eb0862
RM
73602014-06-27 Roland McGrath <roland@hack.frob.com>
7361
37caf178
RM
7362 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
7363 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
7364 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
7365 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
7366 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
7367 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
7368 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
7369 Moved ...
7370 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
7371 ... here.
7372 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
7373 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
7374 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
7375 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
7376 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
7377 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
7378 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
7379 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
7380 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
7381 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
7382 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
7383 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
7384 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
7385 Moved ...
7386 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
7387 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
7388 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
7389 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
7390 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
7391 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
7392 Moved ...
7393 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
7394 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
7395 Moved ...
7396 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
7397 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
7398 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
7399 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
7400 Moved ...
7401 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
7402 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
7403 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
7404 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
7405 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
7406 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
7407 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
7408 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
7409 Moved ...
7410 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
7411 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
7412 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
7413 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
7414 Moved ...
7415 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
7416 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
7417 Moved ...
7418 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
7419 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
7420 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
7421 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
7422 Moved ...
7423 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
7424 ... here.
7425 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
7426 Identical file removed.
7427 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
7428 Moved ...
7429 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
7430 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
7431 Identical file removed.
7432 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
7433 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
7434 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
7435 Moved ...
7436 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
7437 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
7438 Identical file removed.
7439 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
7440 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
7441 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
7442 Identical file removed.
7443 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
7444 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
7445 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
7446 Identical file removed.
7447 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
7448 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
7449 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
7450 Identical file removed.
7451 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
7452 Moved ...
7453 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
7454 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
7455 Identical file removed.
7456 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
7457 Moved ...
7458 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
7459 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
7460 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
7461 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
7462 Identical file removed.
7463 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
7464 Moved ...
7465 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
7466 ... here.
7467 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
7468 Identical file removed.
7469 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
7470 Moved ...
7471 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
7472 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
7473 Identical file removed.
7474 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
7475 Moved ...
7476 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
7477 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
7478 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
7479 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
7480 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
7481 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
7482 Moved ...
7483 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
7484 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
7485 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
7486
58eb0862
RM
7487 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
7488 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
7489 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
7490 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
7491 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
7492
6f12d062
AS
74932014-06-27 Arjun Shankar <arjun.is@lostca.se>
7494
7495 [BZ #17092]
7496 * nscd/nscd.c (monitor_child): Return exit status of child
7497 instead of return value from wait syscall.
7498
be254932
JM
74992014-06-27 Joseph Myers <joseph@codesourcery.com>
7500
cb403c34
JM
7501 * configure.ac (libc_commonpagesize): Remove variable.
7502 (libc_relro_required): Likewise.
7503 (libc_cv_z_relro): Remove configure test.
7504 * configure: Regenerated.
7505 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
7506 variable.
7507 (libc_relro_required): Likewise.
7508 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
7509 (libc_relro_required): Likewise.
7510 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
7511 (libc_relro_required): Likewise.
7512 * sysdeps/arm/preconfigure: Regenerated.
7513 * sysdeps/ia64/preconfigure: Remove file.
7514 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
7515 variable.
7516 (libc_relro_required): Likewise.
7517
be254932
JM
7518 [BZ #16561]
7519 [BZ #16562]
7520 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
7521 (__ieee754_yn): Set FE_TONEAREST mode internally and then
7522 recompute overflowing results in original rounding mode.
7523 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
7524 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
7525 recompute overflowing results in original rounding mode.
7526 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
7527 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7528 recompute overflowing results in original rounding mode.
7529 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
7530 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7531 recompute overflowing results in original rounding mode.
7532 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
7533 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7534 recompute overflowing results in original rounding mode.
7535 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
7536 (libc_feholdsetround_ctx): New macro.
7537 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
7538 * sysdeps/i386/fpu/libm-test-ulps: Update.
7539 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
7540
b351d85a
JM
75412014-06-26 Joseph Myers <joseph@codesourcery.com>
7542
7543 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
7544 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
7545 corresponding .cpsetup call.
7546
3cb4de47
RM
75472014-06-26 Roland McGrath <roland@hack.frob.com>
7548
7549 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
7550 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
7551 * sysdeps/arm/Makefile [$(subdir) = csu]
7552 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
7553 (static-only-routines): Add aeabi_read_tp here.
7554 (shared-only-routines): Add libc-aeabi_read_tp here.
7555 (CFLAGS-libc-start.c): Add -fexceptions here.
7556 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
7557 (sysdep_routines, static-only-routines, shared-only-routines):
7558 Don't add to these here.
7559 (CFLAGS-libc-start.c): Likewise.
7560
7561 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
7562 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
7563 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
7564 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
7565 * sysdeps/arm/Makefile [$(subdir) = rt]
7566 (librt-sysdep_routines, librt-shared-only-routines):
7567 Append rt-aeabi_unwind_cpp_pr1 here.
7568 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
7569 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
7570 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
7571 (libpthread-sysdep_routines, libpthread-shared-only-routines):
7572 Append nptl-aeabi_unwind_cpp_pr1 here.
7573 (tests): Filter out tst-cleanupx4 here.
7574 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
7575 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
7576 Don't do those here.
7577
354426bb
JM
75782014-06-26 Joseph Myers <joseph@codesourcery.com>
7579
7580 * scripts/list-sources.sh: Do not handle ports specially.
7581
28b0a8c9
RM
75822014-06-26 Roland McGrath <roland@hack.frob.com>
7583
a3dd035d
RM
7584 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
7585 * sysdeps/arm/feupdateenv.c: Likewise.
7586
28b0a8c9
RM
7587 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
7588
e66a8203
JM
75892014-06-26 Joseph Myers <joseph@codesourcery.com>
7590
7591 * manual/texinfo.tex: Update to version 2014-05-05.10 with
7592 trailing whitespace removed.
7593 * scripts/config.guess: Update to version 2014-03-23.
7594 * scripts/config.sub: Update to version 2014-05-01
7595 * scripts/install-sh: Update to version 2013-12-25.23.
7596 * scripts/move-if-change: Update from gnulib.
7597
74171115
SP
75982014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7599
b97c9ce5
SP
7600 * debug/memmove_chk.c: Remove pagecopy.h include.
7601
4000f892
SP
76022014-06-26 Paul Eggert <eggert@cs.ucla.edu>
7603
74171115
SP
7604 * time/mktime.c (leapyear): Remove inline keyword. The code is now
7605 identical to gnulib mktime.
7606
a8779c28
JM
76072014-06-26 Joseph Myers <joseph@codesourcery.com>
7608
e64708de
JM
7609 * configure.ac: Do not test for machine being rs6000. Do not test
7610 for powerpc*-*soft.
7611 * configure: Regenerated.
7612
a8779c28
JM
7613 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
7614 test.
7615 * configure: Regenerated.
7616 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
7617 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
7618 Remove configure test.
7619 * sysdeps/arm/configure: Regenerated.
7620 * sysdeps/nptl/configure.ac: Do not check
7621 libc_cv_asm_cfi_directives.
7622 * sysdeps/nptl/configure: Regenerated.
7623 * sysdeps/x86_64/nptl/configure.ac: Remove file.
7624 * sysdeps/x86_64/nptl/configure: Remove generated file.
7625 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
7626 unconditional.
7627 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
7628
2aac0a86
SP
76292014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7630
059bf913
SP
7631 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
7632 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
7633 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
7634 it is defined.
7635
4cf5b6d0
SP
7636 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
7637 instead of whether it is defined.
7638 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
7639 * sysdeps/hppa/dl-machine.h: Likewise.
7640 * sysdeps/ia64/dl-machine.h: Likewise.
7641 * sysdeps/m68k/dl-machine.h: Likewise.
7642 * sysdeps/microblaze/dl-machine.h: Likewise.
7643 * sysdeps/mips/dl-machine.: Likewise.
7644 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7645 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7646 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7647 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7648 * sysdeps/sh/dl-machine.h: Likewise.
7649 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7650 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7651 * sysdeps/tile/dl-machine.h: Likewise.
7652 * sysdeps/x86_64/dl-machine.h: Likewise.
7653
2aac0a86
SP
7654 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
7655 code.
7656 (verify_persistent_db): Likewise.
7657
6ad2df0b
RM
76582014-06-26 Roland McGrath <roland@hack.frob.com>
7659
d8a483f3
RM
7660 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
7661 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
7662 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
7663 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
7664 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7665 Moved ...
7666 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
7667 ... here.
7668 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
7669 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
7670 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
7671 Identical file removed.
7672 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
7673 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
7674 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
7675 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
7676 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
7677 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
7678 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
7679 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
7680 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
7681 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
7682 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7683 Moved ...
7684 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
7685 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
7686 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
7687 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
7688 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
7689 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7690 Moved ...
7691 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
7692 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
7693 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
7694 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
7695 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
7696 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
7697 Identical file removed.
7698 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
7699 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
7700 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
7701 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
7702 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7703 Moved ...
7704 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
7705 ... here.
7706 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
7707 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
7708 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
7709 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
7710 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
7711 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
7712 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
7713 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
7714 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
7715 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
7716 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7717 Moved ...
7718 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
7719 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
7720 Moved ...
7721 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
7722 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
7723 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
7724 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7725 Moved ...
7726 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
7727 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
7728 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
7729
52ae23b4
RM
7730 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
7731 folded into ...
7732 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
7733 * sysdeps/unix/sysv/linux/s390/Versions
7734 (libpthread: GLIBC_2.19): New version set.
7735 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
7736 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
7737 (librt: GLIBC_2.3.3): New version set.
7738 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
7739 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
7740 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
7741 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
7742 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
7743 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
7744 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
7745 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
7746 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
7747 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
7748 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
7749 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
7750 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
7751 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
7752 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
7753 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
7754 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
7755 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
7756 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
7757 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
7758 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
7759 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
7760 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
7761 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
7762 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
7763 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
7764 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
7765 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
7766 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
7767 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
7768 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
7769 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
7770 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
7771 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
7772 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
7773 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
7774 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
7775 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
7776 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
7777 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
7778 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
7779 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
7780 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
7781 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
7782 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
7783
39507e4a
RM
7784 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
7785 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
7786 (__libc_vfork): Define the function under this name.
7787 [!NOT_IN_libc] (__vfork): Make this an alias.
7788 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7789 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
7790 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
7791 (__libc_vfork): Define the function under this name.
7792 [!NOT_IN_libc] (__vfork): Make this an alias.
7793 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7794 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
7795 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
7796 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
7797 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
7798 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7799
e549ee56
RM
7800 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
7801 code that was previously under [RESET_PID].
7802 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
7803 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
7804 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
7805
6ad2df0b
RM
7806 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
7807 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
7808 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
7809 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
7810 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
7811 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
7812 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
7813 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
7814 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
7815 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
7816 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
7817 Moved ...
7818 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
7819 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
7820 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
7821 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
7822 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
7823 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
7824 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
7825 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
7826 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
7827 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
7828 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
7829 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
7830 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
7831 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
7832 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
7833 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
7834 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
7835 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
7836 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
7837 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
7838 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
7839 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
7840 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
7841 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
7842 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
7843 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
7844 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
7845 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
7846 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
7847
7c1c1d8e
RM
78482014-06-25 Roland McGrath <roland@hack.frob.com>
7849
7850 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
7851 that was previously under [RESET_PID].
7852 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
7853
3e239be6
JM
78542014-06-25 Joseph Myers <joseph@codesourcery.com>
7855
74385da5
JM
7856 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
7857 not undefine and redefine.
7858 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
7859 [O_CLOEXEC]: Make code unconditional.
7860 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
7861 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
7862 <kernel-features.h>.
7863 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
7864 conditional variable definition.
7865 (shm_open) [O_CLOEXEC]: Make code unconditional.
7866 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
7867 code.
7868
c2570a0b
JM
7869 * configure.ac (USE_REGPARMS): Don't define here.
7870 * configure: Regenerated.
7871 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
7872 * sysdeps/i386/configure: Regenerated.
7873
11b076bb
JM
7874 * nptl/createthread.c: Don't include kernel-features.h.
7875 * nptl/pthread_cancel.c: Likewise.
7876 * nptl/pthread_condattr_setclock.c: Likewise.
7877 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
7878 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
7879 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
7880 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
7881 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
7882 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
7883 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
7884 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
7885 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
7886 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
7887 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
7888 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
7889 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
7890 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
7891 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
7892 * nscd/gai.c: Likewise.
7893 * nss/nss_db/db-open.c: Likewise.
7894 * sysdeps/generic/ldsodefs.h: Likewise.
7895 * sysdeps/sh/nptl/tls.h: Likewise.
7896 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7897 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
7898 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
7899 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
7900 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
7901 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7902 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
7903 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7904 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7905 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
7906 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
7907 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7908 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
7909 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
7910 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
7911 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
7912 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
7913 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
7914 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
7915 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
7916 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
7917 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
7918 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
7919 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
7920 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
7921 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
7922 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
7923 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
7924 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
7925 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
7926 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
7927 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
7928 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
7929 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7930 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7931 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7932 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7933 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
7934 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
7935 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
7936 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
7937 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
7938 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
7939 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7940 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
7941 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
7942 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
7943 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
7944 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
7945 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
7946 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7947 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
7948 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7949 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7950 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
7951 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
7952 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7953 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
7954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
7956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
7957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
7958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
7959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
7960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
7961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
7962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
7965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
7966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
7967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
7968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
7969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
7974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
7975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
7976 * sysdeps/unix/sysv/linux/pread.c: Likewise.
7977 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
7978 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
7979 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
7980 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
7981 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
7982 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
7983 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
7984 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
7985 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
7986 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
7987 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
7988 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
7989 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
7990 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
7991 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
7992 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7993 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
7994 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
7995 * sysdeps/unix/sysv/linux/system.c: Likewise.
7996 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
7997 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
7998 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7999 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8000 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
8001 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8002 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8003
92072d57
JM
8004 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
8005 * configure: Regenerated.
8006 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
8007
3e239be6
JM
8008 * configure.ac (base_machine): Do not set specially for particular
8009 machines here.
8010 * configure: Regenerated.
8011 * sysdeps/powerpc/preconfigure: Move machine and base_machine
8012 settings from configure.ac.
8013 * sysdeps/i386/preconfigure: New file.
8014 * sysdeps/s390/preconfigure: Likewise.
8015 * sysdeps/sh/preconfigure: Likewise.
8016 * sysdeps/sparc/preconfigure: Likewise.
8017
06d50baa
RM
80182014-06-25 Roland McGrath <roland@hack.frob.com>
8019
74836003
RM
8020 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
8021 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
8022 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
8023 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
8024 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
8025 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
8026 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
8027 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
8028 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
8029 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
8030 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
8031 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
8032 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
8033 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
8034 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
8035 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
8036 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
8037 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
8038 * sysdeps/sparc/sparc64/Makefile: ... appended here.
8039
8040 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
8041 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
8042 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
8043 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
8044 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
8045 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
8046 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
8047 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
8048 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
8049 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
8050 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
8051 * sysdeps/sparc/sparc32/sem_post.c: ... here.
8052 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
8053 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
8054 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
8055 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
8056 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
8057 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
8058 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
8059 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
8060 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
8061 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
8062 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
8063 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
8064 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
8065 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
8066 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
8067 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
8068 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
8069 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
8070 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
8071 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
8072 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
8073 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
8074 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
8075 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
8076 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
8077 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
8078
06d50baa
RM
8079 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
8080 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
8081 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
8082 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
8083 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8084 Moved ...
8085 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
8086 ... here.
8087 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
8088 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
8089 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
8090 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
8091 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
8092 Moved ...
8093 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
8094 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
8095 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
8096 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
8097 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
8098 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
8099 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
8100 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8101 Moved ...
8102 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
8103 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8104 Moved ...
8105 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
8106 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
8107 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
8108 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8109 Moved ...
8110 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
8111 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
8112 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
8113 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
8114 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
8115 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
8116 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
8117 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
8118 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
8119 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8120 Moved ...
8121 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
8122 ... here.
8123 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
8124 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
8125 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
8126 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
8127 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
8128 Moved ...
8129 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
8130 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
8131 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
8132 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
8133 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
8134 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
8135 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
8136 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8137 Moved ...
8138 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
8139 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8140 Moved ...
8141 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
8142 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
8143 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
8144 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8145 Moved ...
8146 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
8147 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
8148 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
8149 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
8150 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
8151
a4ccbc9b
JM
81522014-06-25 Joseph Myers <joseph@codesourcery.com>
8153
0828edbf
JM
8154 * timezone/checktab.awk: Update from tzcode 2014e.
8155 * timezone/private.h: Likewise.
8156 * timezone/tzfile.h: Likewise.
8157 * timezone/zdump.c: Likewise.
8158 * timezone/zic.c: Likewise.
8159
a4ccbc9b
JM
8160 * sysdeps/unix/sysv/linux/kernel-features.h
8161 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
8162 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
8163 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
8164 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
8165 Remove conditional code.
8166
9aea0cb8
WN
81672014-06-25 Will Newton <will.newton@linaro.org>
8168
8169 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
8170 (_dl_arm_cap_flags): Add HWCAP2 values.
8171 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
8172 (_DL_HWCAP_COUNT): Increase to 37.
8173 (_DL_HWCAP_LAST): New define.
8174 (_DL_HWCAP2_LAST): New define.
8175 (_dl_procinfo): Add support for printing
8176 AT_HWCAP2 entries.
8177 (_dl_string_hwcap): Use _dl_hwcap_string.
8178
6eaa65ce
AZ
81792014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8180
8181 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8182
0f5b7185
JM
81832014-06-25 Joseph Myers <joseph@codesourcery.com>
8184
cfd2ea50
JM
8185 * README: Do not mention ports directory.
8186
cecf2ed4
JM
8187 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
8188 Remove macro.
8189 * sysdeps/unix/sysv/linux/futimes.c: Do not include
8190 <kernel-features.h>.
8191 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
8192 conditional variable definition.
8193 (__futimes): Update comment.
8194 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
8195 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
8196
a638de82
JM
8197 [BZ #16560]
8198 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
8199 arguments close to 0.
8200 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
8201 Likewise.
8202 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
8203 Likewise.
8204 * math/auto-libm-test-in: Add more tests of exp10.
8205 * math/auto-libm-test-out: Regenerated.
8206 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8207
0f5b7185
JM
8208 * sysdeps/unix/sysv/linux/kernel-features.h
8209 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
8210 * sysdeps/unix/sysv/linux/readv.c: Do not include
8211 <kernel-features.h>.
8212 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8213 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8214 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8215 unconditional.
8216 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8217 conditional code.
8218 * sysdeps/unix/sysv/linux/writev.c: Do not include
8219 <kernel-features.h>.
8220 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8221 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8222 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8223 unconditional.
8224 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8225 conditional code.
8226
c7aec4be
WN
82272014-06-25 Will Newton <will.newton@linaro.org>
8228
8229 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
8230 comment changes throughout the file. Remove checks
8231 for HAVE_*_H definitions that are not required.
8232 (__gen_tempname): Call abort if an unknown kind value is
8233 passed.
8234
c5241f95
AS
82352014-06-25 Andreas Schwab <schwab@suse.de>
8236
8237 [BZ #17086]
8238 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
8239 scalbln, scalblnf, scalblnl in libc.
8240
911422da
SP
82412014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8242
8243 [BZ #17086]
8244 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
8245 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
8246 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
8247
0d749bbe
RM
82482014-06-24 Roland McGrath <roland@hack.frob.com>
8249
8250 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
8251 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
8252 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
8253 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
8254 Update #include.
8255 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
8256 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
8257 Update #include.
8258 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
8259 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
8260 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
8261 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
8262 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
8263 * sysdeps/x86/bits/pthreadtypes.h: ... here.
8264 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
8265 * sysdeps/x86/bits/semaphore.h: ... here.
8266 * sysdeps/x86/nptl/elide.h: Moved ...
8267 * sysdeps/x86/elide.h: ... here.
8268 * sysdeps/x86_64/nptl/Implies: File removed.
8269 * sysdeps/i386/nptl/Implies: File removed.
8270
0ea5d373
JM
82712014-06-24 Joseph Myers <joseph@codesourcery.com>
8272
4060283d
JM
8273 [BZ #16539]
8274 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
8275 return the argument for normal arguments with exponent below -64.
8276 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8277 Likewise.
8278 * math/auto-libm-test-in: Add another test of expm1.
8279 * math/auto-libm-test-out: Regenerated.
8280
e7dd3c8c
JM
8281 [BZ #16287]
8282 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
8283 calling __erfcl for arguments at least 16.
8284 * math/auto-libm-test-in: Add more tests of erf.
8285 * math/auto-libm-test-out: Regenerated.
8286
0ea5d373
JM
8287 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
8288 individual architectures.
8289 * sysdeps/unix/sysv/linux/configure: Regenerated.
8290 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
8291 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
8292 * sysdeps/unix/sysv/linux/powerpc/configure.ac
8293 (ldd_rewrite_script): Define variable.
8294 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
8296 file.
8297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
8298 generated file.
8299 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
8300 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
8301 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
8302 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
8303 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
8304 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
8305 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
8306 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
8307
2307e126
SP
83082014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8309
8310 [BZ #17084]
8311 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
8312 Rename member __data.d to __data.__elision_data.
8313
c0a4ed77
W
83142014-06-24 Wilco <wdijkstr@arm.com>
8315
8316 * NEWS: Add 16918 to fixed bug list.
8317
b8c00573
W
83182014-06-24 Wilco <wdijkstr@arm.com>
8319
8320 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
8321
b5570d92
W
83222014-06-24 Wilco <wdijkstr@arm.com>
8323
8324 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
8325 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
8326 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
8327 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
8328 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
8329 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
8330 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
8331 Use _FPU_MASK_RM.
8332
947bdca2
W
83332014-06-24 Wilco <wdijkstr@arm.com>
8334
8335 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
8336
00f669ed
W
83372014-06-24 Wilco <wdijkstr@arm.com>
8338
8339 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
8340 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
8341 * sysdeps/arm/fesetround.c (fesetround): Remove space.
8342 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
8343
db59bad3
W
83442014-06-24 Wilco <wdijkstr@arm.com>
8345
8346 [BZ #16918]
8347 * sysdeps/arm/feupdateenv.c (feupdateenv):
8348 Rewrite to reduce FPSCR accesses and fix return value.
8349
001f7b77
W
83502014-06-24 Wilco <wdijkstr@arm.com>
8351
8352 * sysdeps/arm/fclrexcpt.c (feclearexcept):
8353 Optimize to avoid unnecessary FPSCR writes.
8354 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
8355 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
8356 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
8357 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
8358
4841e6a6
W
83592014-06-24 Wilco <wdijkstr@arm.com>
8360
8361 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
8362 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
8363 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
8364 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
8365 Call libc_fetestexcept_vfp.
8366 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
8367 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
8368 __SOFTFP__ ifdef so that they can be built for softfp.
8369
0813022c
SP
83702014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8371
08e5862f
SP
8372 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
8373 argument type signed char.
8374
0813022c
SP
8375 * Makerules (check-abi): Dump diff of symlist if the test
8376 fails.
8377
3fc7236a
RM
83782014-06-23 Roland McGrath <roland@hack.frob.com>
8379
aba8ef95
RM
8380 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
8381 using abort.
8382
3fc7236a
RM
8383 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
8384 Remove unused variable ST.
8385
4da6db51
JM
83862014-06-23 Joseph Myers <joseph@codesourcery.com>
8387
4648909d
JM
8388 [BZ #16354]
8389 [BZ #17061]
8390 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
8391 small arguments before calling __expm1.
8392 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
8393 small arguments before calling __expm1f.
8394 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
8395 small arguments before calling __expm1l.
8396 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8397 Likewise.
8398 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
8399 * math/auto-libm-test-in: Add more cosh tests. Do not allow
8400 spurious underflow for some cosh tests.
8401 * math/auto-libm-test-out: Regenerated.
8402 * sysdeps/i386/fpu/libm-test-ulps: Update.
8403
46a3d3c7
JM
8404 [BZ #17050]
8405 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
8406 (__ieee754_y1): Set errno if return value overflows.
8407 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
8408 (__ieee754_y1f): Set errno if return value overflows.
8409 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
8410 (__ieee754_y1l): Set errno if return value overflows.
8411 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
8412 (__ieee754_y1l): Set errno if return value overflows.
8413 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
8414 * math/auto-libm-test-out: Regenerated.
8415
863893ec
JM
8416 * math/gen-auto-libm-tests.c: Document use of
8417 ignore-zero-inf-sign.
8418 (input_flag_type): Add value flag_ignore_zero_inf_sign.
8419 (input_flags): Add ignore-zero-inf-sign.
8420 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
8421 * math/gen-libm-test.pl (generate_testfile): Handle
8422 ignore-zero-inf-sign.
8423 * math/auto-libm-test-in: Mark some cpow tests with
8424 ignore-zero-inf-sign and some with xfail-rounding.
8425 * math/auto-libm-test-out: Regenerated.
8426 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
8427 * sysdeps/i386/fpu/libm-test-ulps: Update.
8428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8429
4da6db51
JM
8430 [BZ #16315]
8431 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
8432 overflowing or underflowing operations take place with sign of
8433 result.
8434 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8435 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8436 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
8437 (__ieee754_pow): Recompute overflowing and underflowing results in
8438 original rounding mode.
8439 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
8440 (__powl_helper): Allow negative argument X and scale negated value
8441 as needed. Avoid passing value outside [-1, 1] to f2xm1.
8442 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
8443 overflowing or underflowing operations take place with sign of
8444 result.
8445 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
8446 Include <math.h>.
8447 * math/auto-libm-test-in: Add more tests of pow.
8448 * math/auto-libm-test-out: Regenerated.
8449 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
8450 (pow_tonearest_test_data): Remove.
8451 (pow_test_tonearest): Likewise.
8452 (pow_towardzero_test_data): Likewise.
8453 (pow_test_towardzero): Likewise.
8454 (pow_downward_test_data): Likewise.
8455 (pow_test_downward): Likewise.
8456 (pow_upward_test_data): Likewise.
8457 (pow_test_upward): Likewise.
8458 (main): Don't call removed functions.
8459 * sysdeps/i386/fpu/libm-test-ulps: Update.
8460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8461
5686b236
RM
84622014-06-23 Roland McGrath <roland@hack.frob.com>
8463
8464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
8465 Moved ...
8466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
8467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8468 Moved ...
8469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
8470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8471 Moved ...
8472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
8473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
8474 Moved ...
8475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
8476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
8477 File removed.
8478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8479 File removed.
8480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
8481 File removed.
8482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
8483 File removed.
8484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
8485 File removed.
8486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
8487 File removed.
8488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
8489 File removed.
8490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8491 File removed.
8492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
8493 File removed.
8494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8495 File removed.
8496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
8497 File removed.
8498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
8499 File removed.
8500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
8501 Moved ...
8502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
8503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
8504 Moved ...
8505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
8506 ... here.
8507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
8508 Moved ...
8509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
8510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
8511 Moved ...
8512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
8513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
8514 Moved ...
8515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
8516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
8517 Moved ...
8518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
8519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
8520 Moved ...
8521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
8522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
8523 Moved ...
8524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
8525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
8526 Moved ...
8527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
8528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
8529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
8530 ... here.
8531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
8532 Moved ...
8533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
8534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
8535 Moved ...
8536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8537 ... here.
8538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
8539 Moved ...
8540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8541 ... here.
8542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8543 Moved ...
8544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
8545 ... here.
8546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
8547 Moved ...
8548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
8549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8550 Moved ...
8551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
8552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
8553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
8554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8555 Moved ...
8556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
8557 ... here.
8558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8559 Moved ...
8560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
8561 ... here.
8562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8563 Moved ...
8564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
8565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8566 Moved ...
8567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
8568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8569 Moved ...
8570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
8571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8572 Moved ...
8573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
8574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8575 Moved ...
8576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
8577 ... here.
8578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8579 Moved ...
8580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
8581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8582 Moved ...
8583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
8584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8585 Moved ...
8586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
8587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8588 Moved ...
8589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
8590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
8591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
8592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8593 Moved ...
8594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
8595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8596 Moved ...
8597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
8598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8599 Moved ...
8600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
8601 ... here.
8602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8603 Moved ...
8604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
8605 ... here.
8606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8607 Moved ...
8608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
8609 ... here.
8610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
8611 Moved ...
8612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
8613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8614 Moved ...
8615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
8616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
8617 Moved ...
8618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
8619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8620 Moved ...
8621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
8622 ... here.
8623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
8624 Moved ...
8625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
8626 ... here.
8627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8628 Moved ...
8629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
8630 ... here.
8631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
8632 Moved ...
8633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
8634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
8635 Moved ...
8636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
8637
e6d90d67
WD
86382014-06-23 Will Newton <will.newton@linaro.org>
8639 Wilco <wdijkstr@arm.com>
8640
8641 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
8642 implementation. Include get-rounding-mode.h.
8643 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
8644 [!libc_feholdsetround_noex_ctx]: Define
8645 libc_feholdsetround_noex_ctx.
8646 [!libc_feholdsetround_noexf_ctx]: Define
8647 libc_feholdsetround_noexf_ctx.
8648 [!libc_feholdsetround_noexl_ctx]: Define
8649 libc_feholdsetround_noexl_ctx.
8650 (libc_feholdsetround_ctx): New function.
8651 (libc_feresetround_ctx): New function.
8652 (libc_feholdsetround_noex_ctx): New function.
8653 (libc_feresetround_noex_ctx): New function.
8654
d42df555
RM
86552014-06-23 Roland McGrath <roland@hack.frob.com>
8656
88a46474
RM
8657 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
8658 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
8659 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
8660 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
8661 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
8662 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
8663
15bed472
RM
8664 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
8665 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
8666 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
8667 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
8668 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
8669 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
8670 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
8671 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
8672 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
8673 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
8674 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
8675 Moved ...
8676 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
8677 ... here.
8678 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
8679 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
8680 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
8681 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
8682 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
8683 Moved ...
8684 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
8685 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
8686 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
8687 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
8688 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
8689 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
8690 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
8691 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
8692 Moved ...
8693 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
8694 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
8695 Moved ...
8696 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
8697 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
8698 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
8699 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
8700 Moved ...
8701 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
8702 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
8703 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
8704 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
8705 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
8706 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
8707 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
8708 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
8709 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
8710 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
8711 Moved ...
8712 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
8713 ... here.
8714 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
8715 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
8716 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
8717 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
8718 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
8719 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
8720 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
8721 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
8722 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
8723 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
8724 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
8725 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
8726 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
8727 Moved ...
8728 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
8729 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
8730 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
8731 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
8732 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
8733 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
8734 Moved ...
8735 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
8736 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
8737 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
8738 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
8739 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
8740
d42df555
RM
8741 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
8742 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
8743 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
8744 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
8745 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
8746 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
8747 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
8748 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
8749 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
8750 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
8751 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
8752 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
8753 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
8754 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
8755 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
8756 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
8757 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
8758 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
8759 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
8760 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
8761 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
8762 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
8763 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
8764 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
8765 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
8766 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
8767 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
8768 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
8769
76e5216e
JM
87702014-06-23 Joseph Myers <joseph@codesourcery.com>
8771
8772 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
8773 (FALLOC_FL_COLLAPSE_RANGE): New macro.
8774 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
8775 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
8776 (IPV6_PMTUDISC_INTERFACE): Likewise.
8777 (IPV6_PMTUDISC_OMIT): Likewise.
8778
7a81cbcc
AS
87792014-06-23 Andreas Schwab <schwab@suse.de>
8780
8781 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
8782 Remove unused errout label.
8783
db224009
AZ
87842014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8785
8786 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
8787 macro: hardware supports Vector Crypto instructions.
8788
f393b4aa
WN
87892014-06-23 Will Newton <will.newton@linaro.org>
8790
cc7d0447
WN
8791 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
8792 rather than __builtin_expect.
8793
d6d06225
WN
8794 * elf/dl-lookup.c (undefined_msg): Remove variable.
8795 (_dl_lookup_symbol_x): Replace undefined_msg with string
8796 literal.
8797
f393b4aa
WN
8798 * elf/dl-lookup.c (do_lookup_unique): New function.
8799 (do_lookup_x): Move STB_GNU_UNIQUE handling code
8800 to a separate function.
8801
ac60763e
AS
88022014-06-23 Andreas Schwab <schwab@suse.de>
8803
8804 [BZ #17079]
8805 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
8806 before reading the next line.
8807
c5c13355
WN
88082014-06-23 Will Newton <will.newton@linaro.org>
8809
8810 * test-skeleton.c (signal_handler): Use printf and %m
8811 rather than perror. Use printf rather than fprintf to
8812 stderr. Use puts rather than fputs to stderr.
8813 (main): Likewise.
8814
bd3675f9
LC
88152014-06-22 Ludovic Courtès <ludo@gnu.org>
8816
8817 * nscd/nscd.c (thread_info_t): Remove typedef.
8818 (thread_info): Remove variable.
8819
d03efb2f
AM
88202014-06-21 Allan McRae <allan@archlinux.org>
8821
8822 * NEWS: Mention CVE-2014-4043.
8823
bc4a86fa
RM
88242014-06-20 Roland McGrath <roland@hack.frob.com>
8825
dc9a54f8
RM
8826 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
8827 * nptl/smp.h: ... here.
8828
bd7022c4
RM
8829 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
8830
26ffd5e6
RM
8831 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
8832 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
8833 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
8834 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
8835
93a6d082
RM
8836 * nptl/allocatestack.c: Include <stack-aliasing.h>.
8837 * nptl/stack-aliasing.h: New file.
8838 * sysdeps/i386/i686/stack-aliasing.h: New file.
8839 * sysdeps/i386/i686/nptl/Makefile: File removed.
8840 * sysdeps/x86_64/stack-aliasing.h: New file.
8841 * sysdeps/x86_64/nptl/Makefile
8842 (CFLAGS-pthread_create.c): Variable removed.
8843
bc4a86fa
RM
8844 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
8845 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
8846 old file.
8847 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
8848 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
8849 old file.
8850
2272ffc1
JM
88512014-06-21 Joseph Myers <joseph@codesourcery.com>
8852
8853 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8854 (__ASSUME_SIGFRAME_V2): Remove macro.
8855 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
8856 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
8857 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
8858 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
8859 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
8860 Declare as function. Remove conditional macro definitions.
8861 (__default_rt_sa_restorer): Likewise.
8862 (__default_sa_restorer_v1): Remove declaration.
8863 (__default_sa_restorer_v2): Likewise.
8864 (__default_rt_sa_restorer_v1): Likewise.
8865 (__default_rt_sa_restorer_v2): Likewise.
8866 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
8867 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
8868 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
8869
4b88139b
RM
88702014-06-20 Roland McGrath <roland@hack.frob.com>
8871
8872 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
8873 (libpthread-routines): Add sysdep.
8874 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
8875 * sysdeps/unix/sysv/linux/sparc/Versions
8876 (libpthread: GLIBC_2.3.3): New version set.
8877 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
8878 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
8879 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
8880 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
8881 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
8882 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
8883 Moved ...
8884 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
8885 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
8886 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
8887 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
8888 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
8889 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
8890 * sysdeps/sparc/nptl/sem_init.c: ... here.
8891 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
8892 * sysdeps/sparc/nptl/sem_post.c: ... here.
8893 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
8894 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
8895 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
8896 * sysdeps/sparc/nptl/sem_wait.c: ... here.
8897 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
8898 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
8899 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
8900 (libpthread-routines): Add cpu_relax.
8901 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
8902 File removed.
8903 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
8904 (librt: GLIBC_2.3.3): New version set.
8905 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
8906 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
8907 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
8908 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
8909 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
8910 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
8911 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
8912 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
8913 Moved ...
8914 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
8915 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
8916 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
8917 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
8918 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
8919 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
8920 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
8921 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
8922 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
8923 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
8924 Moved ...
8925 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
8926 Update #include.
8927 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
8928 Moved ...
8929 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
8930 Update #include.
8931 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
8932 Moved ...
8933 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
8934 Update #include.
8935 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
8936 Moved ...
8937 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
8938 Update #include.
8939 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
8940 Moved ...
8941 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
8942 Update #include.
8943 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
8944 Moved ...
8945 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
8946 Update #include.
8947 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
8948 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
8949 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
8950 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
8951 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
8952 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
8953 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
8954 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
8955 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
8956 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
8957 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
8958 Moved ...
8959 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
8960 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
8961 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
8962 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
8963 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
8964
d7109027
JM
89652014-06-20 Joseph Myers <joseph@codesourcery.com>
8966
9bc6103d
JM
8967 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
8968 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
8969 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
8970 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
8971 * nscd/nscd.c: Likewise.
8972 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
8973 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
8974 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
8975 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
8976
d7109027
JM
8977 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
8978 <kernel-features.h>.
8979 (init_mq_netlink): Remove conditional have_sock_cloexec
8980 definitions. Remove code conditional on have_sock_cloexec < 0.
8981 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
8982 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
8983 * sysdeps/unix/sysv/linux/opensock.c: Do not include
8984 <kernel-features.h>.
8985 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
8986 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
8987
d92d8f8a
L
89882014-06-20 H.J. Lu <hongjiu.lu@intel.com>
8989
8990 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8991 Add tests for memset_chk and memset.
8992
8993 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
8994 with AVX2_Usable.
8995
4e6d2347
MR
89962014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
8997
257ce712
MR
8998 [BZ #16046]
8999 * elf/tst-dl-iter-static.c: New file.
9000 * elf/Makefile (tests-static): Add tst-dl-iter-static.
9001
4e6d2347
MR
9002 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
9003 error.
9004
a2a76afe
JM
90052014-06-20 Joseph Myers <joseph@codesourcery.com>
9006
7fd00f99
JM
9007 * sysdeps/unix/sysv/linux/kernel-features.h
9008 (__ASSUME_F_GETOWN_EX): Remove macro.
9009 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
9010 <kernel-features.h>.
9011 (miss_F_GETOWN_EX): Remove variable or macro.
9012 (do_fcntl): Do not check miss_F_GETOWN_EX.
9013 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
9014
4a103975
JM
9015 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
9016 Remove macro.
9017 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
9018 [!__ASSUME_AT_RANDOM]: Remove conditional code.
9019 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
9020
a2a76afe
JM
9021 * sysdeps/unix/sysv/linux/kernel-features.h
9022 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
9023 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
9024 [ADJ_OFFSET_SS_READ]: Make code unconditional.
9025 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
9026
90e5dd48
MR
90272014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
9028
9029 [BZ #17075]
9030 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
9031 Fix calculation of the symbol's value.
9032 * sysdeps/arm/tst-armtlsdescloc.c: New file.
9033 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
9034 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
9035 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
9036 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
9037 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
9038 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
9039 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
9040 (modules-names): Add `tst-armtlsdescmod',
9041 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
9042 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
9043 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
9044 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
9045 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
9046 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
9047 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
9048 ($(objpfx)tst-armtlsdescloc): New dependency.
9049 ($(objpfx)tst-armtlsdescextnow): Likewise.
9050 ($(objpfx)tst-armtlsdescextlazy): Likewise.
9051 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
9052 TLS scheme support.
9053 * sysdeps/arm/configure: Regenerate.
9054
809fdf0d
JM
90552014-06-20 Joseph Myers <joseph@codesourcery.com>
9056
9057 * include/fcntl.h (__atfct_seterrno): Remove prototype.
9058 (__atfct_seterrno_2): Likewise.
9059 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
9060 <kernel-features.h>.
9061 (__ASSUME_ATFCTS): Do not undefine and redefine.
9062 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
9063 (__have_atfcts): Remove conditional definition.
9064 (__fxstatat([__NR_fstatat64]: Make code unconditional.
9065 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
9066 unreachable if [__ASSUME_ATFCTS].
9067 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
9068 not undefine and redefine.
9069 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
9070 <kernel-features.h>.
9071 (faccessat) [__NR_faccessat]: Make code unconditional.
9072 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
9073 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
9074 <kernel-features.h>.
9075 (fchmodat) [__NR_fchmodat]: Make code unconditional.
9076 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
9077 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
9078 <kernel-features.h>.
9079 (fchownat) [__NR_fchownat]: Make code unconditional.
9080 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
9081 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
9082 <kernel-features.h>.
9083 (futimesat) [__NR_futimesat]: Make code unconditional.
9084 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
9085 * sysdeps/unix/sysv/linux/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/fxstatat64.c: Do not include
9090 <kernel-features.h>.
9091 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
9092 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
9093 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
9094 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9095 <kernel-features.h>.
9096 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
9097 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9098 * sysdeps/unix/sysv/linux/linkat.c: Do not include
9099 <kernel-features.h>.
9100 (linkat) [__NR_linkat]: Make code unconditional.
9101 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9102 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
9103 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
9104 <kernel-features.h>.
9105 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
9106 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
9107 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
9108 <kernel-features.h>.
9109 (mkdirat) [__NR_mkdirat]: Make code unconditional.
9110 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
9111 * sysdeps/unix/sysv/linux/openat.c: Do not include
9112 <kernel-features.h>.
9113 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
9114 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
9115 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
9116 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
9117 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
9118 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
9119 <kernel-features.h>.
9120 (readlinkat) [__NR_readlinkat]: Make code unconditional.
9121 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
9122 result of INLINE_SYSCALL directly, not via int variable.
9123 * sysdeps/unix/sysv/linux/renameat.c: Do not include
9124 <kernel-features.h>.
9125 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
9126 (renameat) [__NR_renameat]: Make code unconditional.
9127 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
9128 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
9129 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
9130 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
9131 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
9132 (__ASSUME_ATFCTS): Do not undefine and redefine.
9133 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
9134 <kernel-features.h>.
9135 (symlinkat) [__NR_symlinkat]: Make code unconditional.
9136 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9137 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
9138 <kernel-features.h>.
9139 (unlinkat) [__NR_unlinkat]: Make code unconditional.
9140 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9141 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
9142 (__ASSUME_ATFCTS): Do not undefine and redefine.
9143 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9144 <kernel-features.h>.
9145 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
9146 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9147 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9148 <kernel-features.h>.
9149 (__xmknodat) [__NR_mknodat]: Make code unconditional.
9150 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
9151
224c6c51
L
91522014-06-20 H.J. Lu <hongjiu.lu@intel.com>
9153
9154 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
9155
aa6ec754
AS
91562014-06-20 Andreas Schwab <schwab@linux-m68k.org>
9157
9158 [BZ #17069]
9159 * posix/regcomp.c (parse_reg_exp): Deallocate partially
9160 constructed tree before returning error.
9161 * posix/bug-regexp36.c: Expand test case.
9162
d8c2869d
SL
91632014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
9164
3ef6b850
SL
9165 [BZ #6803]
9166 * math/libm-test.inc (scalbln_test_date):
9167 Add errno expectations.
9168 * math/w_scalblnf.c: New File.
9169 Add wrapper which checks for setting errno to ERANGE.
9170 Add weak_alias for corresponding scalbln function.
9171 * math/w_scalbln.c: Likewise.
9172 * math/w_scalblnl.c: Likewise.
9173 * math/Makefile (libm-calls): Add w_scalbln.
9174 * sysdeps/ieee754/flt-32/s_scalblnf.c:
9175 Remove weak_alias for corresponding scalbln function.
9176 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9177 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9178 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9179 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9180 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
9181 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9182 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
9183 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9184 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
9185 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
9186 Remove long_double_symbol for scalblnl function in libm, libc.
9187 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
9188 Add wrapper which checks for setting errno to ERANGE.
9189 Add long_double_symbol for scalblnl function in libm, libc.
9190 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
9191 Remove long_double_symbol for scalblnl in libm.
9192 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
9193 Add wrapper which checks for setting errno to ERANGE.
9194 Add long_double_symbol for scalblnl function in libm.
9195 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
9196 Do not use wrapper because of own implementation.
9197
c8daec5c
L
91982014-06-19 H.J. Lu <hongjiu.lu@intel.com>
9199
9200 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
9201 3 bytes for __pad1 for x32.
9202 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
9203
5c74e47c
LM
92042014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
9205 H.J. Lu <hongjiu.lu@intel.com>
9206
9207 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
9208 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
9209 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9210 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9211 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
9212
4d43ef1e
AS
92132014-06-19 Andreas Schwab <schwab@linux-m68k.org>
9214
9215 [BZ #17069]
9216 * posix/regcomp.c (parse_expression): Deallocate partially
9217 constructed tree before returning error.
9218 * posix/Makefile.c (tests): Add bug-regex36.
9219 (generated): Add bug-regex36.mtrace.
9220 (tests-special): Add $(objpfx)bug-regex36-mem.out
9221 (bug-regex36-ENV): New variable.
9222 ($(objpfx)bug-regex36-mem.out): New rule.
9223 * posix/bug-regex36.c: New file.
9224
51a7380b
WN
92252014-06-19 Will Newton <will.newton@linaro.org>
9226
9227 * malloc/malloc.c (systrim): If extra is zero then return
9228 early.
9229
91b84fe5
SP
92302014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9231
9232 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
9233
f940b965
RE
92342014-06-19 Richard Earnshaw <rearnsha@arm.com>
9235
9236 * sysdeps/aarch64/strchr.S: New file.
9237
4ba7a00f
JM
92382014-06-18 Joseph Myers <joseph@codesourcery.com>
9239
9240 [BZ #17022]
9241 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
9242 from arguments -2 or below.
9243 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9244 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
9245
b3a9f56b
AS
92462014-06-18 Andreas Schwab <schwab@suse.de>
9247
9248 [BZ #17062]
9249 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
9250 of a bracket expr not to run off the end of the string.
9251 * posix/Makefile (tests): Add tst-fnmatch3.
9252 * posix/tst-fnmatch3.c: New file.
9253
85d89278
JM
92542014-06-18 Joseph Myers <joseph@codesourcery.com>
9255
9256 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
9257 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9258 [$(cross-compiling) = no]: Likewise.
9259 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9260 [$(cross-compiling) = no]: Likewise.
9261
754c5a08
RS
92622014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9263
9264 [BZ #17031]
9265 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
9266 double, adjusted for any remainder from the high double.
9267 * math/libm-test.inc (nearbyint): Add tests.
9268 (rint): Likewise.
9269
556f529d
AZ
92702014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9271
9272 * nptl/sysdeps/powerpc/Makefile: Moved ...
9273 * sysdeps/powerpc/nptl/Makefile: ... here.
9274 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
9275 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
9276 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
9277 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
9278 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
9279 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
9280 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
9281 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
9282 * nptl/sysdeps/powerpc/tls.h: Moved ...
9283 * sysdeps/powerpc/nptl/tls.h: ... here.
9284
91c03c53
JM
92852014-06-16 Joseph Myers <joseph@codesourcery.com>
9286
9287 [BZ #16681]
9288 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
9289 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
9290 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
9291 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
9292 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
9293 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
9294 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
9295 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
9296 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
9297
a76e63c5
AS
92982014-06-17 Andreas Schwab <schwab@linux-m68k.org>
9299
9300 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9301
f2f6d82f
AS
93022014-06-16 Andreas Schwab <schwab@linux-m68k.org>
9303
ea8a15f6
AS
9304 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
9305 defined operator.
9306
f2f6d82f
AS
9307 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
9308 $TIMEOUTFACTOR.
9309
a7291117
FW
93102014-06-16 Florian Weimer <fweimer@redhat.com>
9311
9312 [BZ #17058]
9313 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
9314 non-executed part of the test.
9315
3d7c00e3
AS
93162014-06-16 Andreas Schwab <schwab@suse.de>
9317
9318 * string/bits/string2.h (strdup, strndup): Update feature guard.
9319
6957fb31
DM
93202014-06-14 David S. Miller <davem@davemloft.net>
9321
9322 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9323
11b9e55b
AS
93242014-06-14 Andreas Schwab <schwab@linux-m68k.org>
9325
1d2a0492
AS
9326 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
9327 that was previously under [RESET_PID].
9328 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
9329
11b9e55b
AS
9330 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
9331 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
9332 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
9333 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9334 (__libc_vfork): New strong alias.
9335 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
9336
0f6901d0
AK
93372014-06-14 Andi Kleen <ak@linux.intel.com>
9338
9339 * sysdeps/generic/elide.h: New file.
9340
38bbbb9f
SL
93412014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9342
9343 * Makefile (installed-headers): Adjust path of pthread.h header.
9344
45193bb8
RM
93452014-06-13 Roland McGrath <roland@hack.frob.com>
9346
9a25fd1e
RM
9347 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
9348 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
9349 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
9350 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
9351
4004f7e4
RM
9352 * nptl/sysdeps/s390/Makefile: Moved ...
9353 * sysdeps/s390/nptl/Makefile: ... here.
9354 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
9355 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
9356 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
9357 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
9358 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
9359 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
9360 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
9361 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
9362 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
9363 * sysdeps/s390/nptl/pthreaddef.h: ... here.
9364 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
9365 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
9366 * nptl/sysdeps/s390/tls.h: Moved ...
9367 * sysdeps/s390/nptl/tls.h: ... here.
9368
45193bb8
RM
9369 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
9370 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
9371
f6fdf533
DM
93722014-06-13 David S. Miller <davem@davemloft.net>
9373
9374 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
9375 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
9376 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
9377 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
9378 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
9379 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
9380 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
9381 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
9382 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
9383 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
9384 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
9385 Remove RESET_PID cpp guards.
9386 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
9387 Remove RESET_PID cpp guards.
9388 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
9389
f5d71e14
AS
93902014-06-13 Andreas Schwab <schwab@linux-m68k.org>
9391
9392 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
9393 __sp to uintptr_t.
9394
b7aa8caa
AK
93952014-06-13 Andi Kleen <ak@linux.intel.com>
9396
4b266200
AZ
9397 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
9398 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
9399 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
9400 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
9401 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
9402 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
9403 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
9404 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
9405 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
9406 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
9407 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
9408 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
9409 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
9410 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
9411 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
9412 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
9413 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
9414 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
9415 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
9416 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
9417
9418 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
9419 (pthread_rwlock_rdlock): Add elision.
9420 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
9421 (pthread_rwlock_wrlock): Add elision.
9422 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
9423 (pthread_rwlock_trywrlock): Add elision.
9424 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
9425 (pthread_rwlock_tryrdlock): Add elision.
9426 * nptl/pthread_rwlock_unlock.c: Include elide.h.
9427 (pthread_rwlock_tryrdlock): Add elision unlock.
9428 * nptl/sysdeps/pthread/pthread.h:
9429 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
9430 (PTHREAD_RWLOCK_INITIALIZER,
9431 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
9432 Handle new elision field.
9433 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
9434 * sysdeps/arm/nptl/bits/pthreadtypes.h
9435 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9436 * sysdeps/sh/nptl/bits/pthreadtypes.h
9437 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9438 * sysdeps/tile/nptl/bits/pthreadtypes.h
9439 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9440 * sysdeps/a/nptl/bits/pthreadtypes.h
9441 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9442 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9443 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9444 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9445 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9446 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
9447 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9448 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9449 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9450 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9451 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9452 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9453 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9454 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9455 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9456 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
9457 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9458 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
9459 (elision_init): Set try_xbegin to zero when no RTM.
9460 * sysdeps/x86/nptl/bits/pthreadtypes.h
9461 (pthread_rwlock_t): Change __pad1 to __rwelision.
9462 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 9463
a832bdd3
AK
94642014-06-13 Andi Kleen <ak@linux.intel.com>
9465
9466 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
9467 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
9468 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
9469 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
9470
995a46bb
MI
94712014-06-13 Meador Inge <meadori@codesourcery.com>
9472
9473 [BZ #16996]
03ed7738 9474 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
9475 that the cached result has been set before returning it.
9476
45262aee
RM
94772014-06-12 Roland McGrath <roland@hack.frob.com>
9478
febf6cc5
RM
9479 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
9480 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
9481 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
9482 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
9483 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
9484 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
9485
e2682246
RM
9486 * nptl/sysdeps/sparc/Makefile: Moved ...
9487 * sysdeps/sparc/nptl/Makefile: ... here.
9488 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
9489 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
9490 * nptl/sysdeps/sparc/tls.h: Moved ...
9491 * sysdeps/sparc/nptl/tls.h: ... here.
9492 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
9493 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
9494 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
9495 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
9496 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
9497 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
9498 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
9499 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
9500 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
9501 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
9502 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
9503 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
9504 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
9505 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
9506 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
9507 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
9508 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
9509 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
9510 Update #include.
9511 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
9512 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
9513 Update #include.
9514 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
9515 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
9516 Update #include.
9517 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
9518 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
9519 Update #include.
9520
b0725f43
RM
9521 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
9522
b14368b8
RM
9523 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
9524 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
9525
c5620eb3
RM
9526 * sysdeps/pthread/posix-timer.h: Include <list.h>.
9527 (struct list_links): Type removed.
9528 (struct thread_node, struct timer_node): Replace struct list_links
9529 with struct list_head.
9530 (list_unlink_ip): Likewise.
9531 * sysdeps/pthread/timer_routines.c
9532 (timer_free_list, thread_free_list, thread_active_list): Likewise.
9533 (list_append, list_insbefore): Likewise.
9534 (list_init): Function removed.
9535 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
9536 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
9537 * sysdeps/pthread/Makefile: ... here, new file.
9538
9539 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
9540 * sysdeps/nptl/Implies: ... here.
9541 * sysdeps/unix/sysv/linux/Implies: Add nptl.
9542 * nptl/sysdeps/pthread/list.h: Moved ...
9543 * include/list.h: ... here.
9544 * nptl/sysdeps/pthread/createthread.c: Moved ...
9545 * nptl/createthread.c: ... here.
9546 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
9547 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
9548 * nptl/pt-longjmp.c: ... here.
9549 * nptl/sysdeps/pthread/Makefile: Moved ...
9550 * sysdeps/nptl/Makefile: ... here.
9551 * nptl/sysdeps/pthread/Subdirs: Moved ...
9552 * sysdeps/nptl/Subdirs: ... here.
9553 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
9554 * sysdeps/nptl/aio_misc.h: ... here.
9555 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
9556 * sysdeps/nptl/bits/libc-lock.h: ... here.
9557 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
9558 * sysdeps/nptl/bits/libc-lockP.h: ... here.
9559 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
9560 * sysdeps/nptl/bits/stdio-lock.h: ... here.
9561 * nptl/sysdeps/pthread/configure: Moved ...
9562 * sysdeps/nptl/configure: ... here.
9563 * nptl/sysdeps/pthread/configure.ac: Moved ...
9564 * sysdeps/nptl/configure.ac: ... here.
9565 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
9566 * sysdeps/nptl/gai_misc.h: ... here.
9567 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
9568 * sysdeps/nptl/librt-cancellation.c: ... here.
9569 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
9570 * sysdeps/nptl/malloc-machine.h: ... here.
9571 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
9572 * sysdeps/nptl/pthread-functions.h: ... here.
9573 * nptl/sysdeps/pthread/pthread.h: Moved ...
9574 * sysdeps/nptl/pthread.h: ... here.
9575 * nptl/sysdeps/pthread/setxid.h: Moved ...
9576 * sysdeps/nptl/setxid.h: ... here.
9577 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
9578 * sysdeps/nptl/sigfillset.c: ... here.
9579 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
9580 * sysdeps/nptl/tcb-offsets.h: ... here.
9581 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
9582 * sysdeps/nptl/tst-mqueue8x.c: ... here.
9583 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
9584 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
9585 * nptl/sysdeps/pthread/allocalim.h: Moved ...
9586 * sysdeps/pthread/allocalim.h: ... here.
9587 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
9588 * sysdeps/pthread/bits/sigthread.h: ... here.
9589 * nptl/sysdeps/pthread/flockfile.c: Moved ...
9590 * sysdeps/pthread/flockfile.c: ... here.
9591 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
9592 * sysdeps/pthread/ftrylockfile.c: ... here.
9593 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
9594 * sysdeps/pthread/funlockfile.c: ... here.
9595 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
9596 * sysdeps/pthread/posix-timer.h: ... here.
9597 * nptl/sysdeps/pthread/timer_create.c: Moved ...
9598 * sysdeps/pthread/timer_create.c: ... here.
9599 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
9600 * sysdeps/pthread/timer_delete.c: ... here.
9601 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
9602 * sysdeps/pthread/timer_getoverr.c: ... here.
9603 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
9604 * sysdeps/pthread/timer_gettime.c: ... here.
9605 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
9606 * sysdeps/pthread/timer_routines.c: ... here.
9607 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
9608 * sysdeps/pthread/timer_settime.c: ... here.
9609 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
9610 * sysdeps/pthread/tst-timer.c: ... here.
9611 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
9612 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
9613
e876b090
RM
9614 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
9615 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
9616
f6b07b3d
RM
9617 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
9618 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
9619 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
9620 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
9621 Update #include target.
9622 * nptl/sysdeps/i386/i686/Makefile: Moved ...
9623 * sysdeps/i386/i686/nptl/Makefile: ... here.
9624 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
9625 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
9626 Update #include target.
9627 * nptl/sysdeps/i386/i686/tls.h: Moved ...
9628 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
9629 * nptl/sysdeps/i386/Makefile: Moved ...
9630 * sysdeps/i386/nptl/Makefile: ... here.
9631 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
9632 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
9633 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
9634 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
9635 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
9636 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
9637 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
9638 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
9639 * sysdeps/i386/nptl/pthreaddef.h: ... here.
9640 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
9641 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
9642 * nptl/sysdeps/i386/tls.h: Moved ...
9643 * sysdeps/i386/nptl/tls.h: ... here.
9644
45262aee
RM
9645 * sysdeps/sh/Makefile [$(subdir) = csu]
9646 (gen-as-const-headers): Add tcb-offsets.sym.
9647 * nptl/sysdeps/sh/Makefile: File removed.
9648 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
9649 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
9650 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
9651 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
9652 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
9653 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
9654 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
9655 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
9656 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
9657 * sysdeps/sh/nptl/pthreaddef.h: ... here.
9658 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
9659 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
9660 * nptl/sysdeps/sh/tls.h: Moved ...
9661 * sysdeps/sh/nptl/tls.h: ... here.
9662 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
9663 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
9664 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
9665 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
9666 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
9667 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
9668 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
9669 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
9670 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
9671 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
9672 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
9673 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
9674 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
9675 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
9676 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
9677 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
9678 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
9679 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
9680 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
9681 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
9682 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
9683 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
9684 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
9685 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
9686 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
9687 Moved ...
9688 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
9689 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
9690 Moved ...
9691 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
9692 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
9693 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
9694 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
9695 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
9696 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
9697 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
9698 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
9699 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
9700 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
9701 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
9702 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
9703 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
9704 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
9705 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
9706 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
9707 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
9708 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
9709 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
9710
35a5e3e3
SL
97112014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
9712
9713 * posix/spawn_faction_addopen.c: Include string.h.
9714
14642b85
RM
97152014-06-11 Roland McGrath <roland@hack.frob.com>
9716
9717 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
9718 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
9719 * nptl/sysdeps/x86_64/Makefile: Moved ...
9720 * sysdeps/x86_64/nptl/Makefile: ... here.
9721 * nptl/sysdeps/x86_64/configure: Moved ...
9722 * sysdeps/x86_64/nptl/configure: ... here.
9723 * nptl/sysdeps/x86_64/configure.ac: Moved ...
9724 * sysdeps/x86_64/nptl/configure.ac: ... here.
9725 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
9726 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
9727 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
9728 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
9729 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
9730 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
9731 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
9732 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
9733 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
9734 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
9735 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
9736 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
9737 * nptl/sysdeps/x86_64/tls.h: Moved ...
9738 * sysdeps/x86_64/nptl/tls.h: ... here.
9739 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
9740 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
9741 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
9742 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
9743
9744 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
9745
31c44fea
AZ
97462014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9747
9748 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9749
e81a4f9a
JM
97502014-06-11 Joseph Myers <joseph@codesourcery.com>
9751
9752 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
9753 type.
9754 [POSIX] (off_t): Likewise.
9755 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
9756 [POSIX] (S_ISBLK): Require macro.
9757 [POSIX] (S_ISCHR): Likewise.
9758 [POSIX] (S_ISDIR): Likewise.
9759 [POSIX] (S_ISFIFO): Likewise.
9760 [POSIX] (S_ISREG): Likewise.
9761 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
9762 optional-macro.
9763 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
9764 type.
9765 [POSIX] (time_t): Likewise.
9766 [POSIX] (timer_t): Likewise.
9767
89e435f3
FW
97682014-06-11 Florian Weimer <fweimer@redhat.com>
9769
9770 [BZ #17048]
9771 * posix/spawn_int.h (struct __spawn_action): Make the path string
9772 non-const to support deallocation.
9773 * posix/spawn_faction_addopen.c
9774 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
9775 * posix/spawn_faction_destroy.c
9776 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
9777 path in all spawn_do_open actions.
9778 * posix/tst-spawn.c (do_test): Exercise the copy operation in
9779 posix_spawn_file_actions_addopen.
9780
c3a2ebe1
CM
97812014-06-11 Chris Metcalf <cmetcalf@tilera.com>
9782
9783 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
9784 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
9785 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
9786 conditional code always true.
9787 (__libc_vfork): New alias.
9788
9503784a
RM
97892014-06-11 Roland McGrath <roland@hack.frob.com>
9790
c9cab3d2
RM
9791 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9792 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
9793
d3996c79
RM
9794 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
9795
ba5ec611
RM
9796 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9797 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
9798
f12b4814
RM
9799 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
9800 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
9801
9503784a
RM
9802 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9803 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
9804
e23d3d26
VR
98052014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9806
9807 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
9808 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
9809 multiarch strcmp for PPC64.
9810 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
9811 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
9812 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
9813 multiarch optimizations.
9814 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9815 (__libc_ifunc_impl_list): Likewise.
9816
42b1161e
SP
98172014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9818
9819 * benchtests/scripts/validate_benchout.py: New script.
9820 * benchtests/Makefile (bench-func): Call it.
9821 * benchtests/scripts/benchout.schema.json: New file.
9822
2d0fc4dc
CM
98232014-06-10 Chris Metcalf <cmetcalf@tilera.com>
9824
4a594c34
AZ
9825 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
9826 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
9827 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
9828 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
9829 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
9830 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
9831 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
9832 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
9833 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
9834 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
9835 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
9836 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
9837 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
9838 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
9839 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
9840 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
9841 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 9842 Moved ...
4a594c34 9843 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 9844 ... here.
4a594c34 9845 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 9846 Moved ...
4a594c34
AZ
9847 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
9848 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 9849 Moved ...
4a594c34 9850 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 9851 ... here.
4a594c34 9852 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 9853 Moved ...
4a594c34 9854 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 9855 ... here.
4a594c34 9856 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 9857 Moved ...
4a594c34
AZ
9858 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
9859 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 9860 Moved ...
4a594c34 9861 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 9862 ... here.
4a594c34 9863 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 9864 Moved ...
4a594c34 9865 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 9866 ... here.
4a594c34 9867 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 9868 Moved ...
4a594c34
AZ
9869 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
9870 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 9871 Moved ...
4a594c34 9872 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 9873 ... here.
4a594c34 9874 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 9875 Moved ...
4a594c34 9876 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 9877 ... here.
4a594c34 9878 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 9879 Moved ...
4a594c34 9880 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 9881 ... here.
4a594c34 9882 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 9883 Moved ...
4a594c34
AZ
9884 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
9885 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 9886 Moved ...
4a594c34 9887 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 9888 ... here.
4a594c34 9889 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 9890 Moved ...
4a594c34 9891 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 9892 ... here.
4a594c34 9893 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 9894 Moved ...
4a594c34 9895 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 9896 ... here.
4a594c34 9897 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 9898 Moved ...
4a594c34
AZ
9899 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
9900 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 9901 Moved ...
4a594c34 9902 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 9903 ... here.
4a594c34 9904 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 9905 Moved ...
4a594c34 9906 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 9907 ... here.
4a594c34 9908 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 9909 Moved ...
4a594c34
AZ
9910 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
9911 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 9912 Moved ...
4a594c34 9913 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 9914 ... here.
4a594c34 9915 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 9916 Moved ...
4a594c34
AZ
9917 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
9918 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 9919 Moved ...
4a594c34
AZ
9920 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
9921 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 9922 Moved ...
4a594c34 9923 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 9924 ... here.
4a594c34 9925 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 9926 Moved ...
4a594c34 9927 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 9928 ... here.
4a594c34 9929 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 9930 Moved ...
4a594c34 9931 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 9932 ... here.
4a594c34 9933 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 9934 Moved ...
4a594c34
AZ
9935 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
9936 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 9937 Moved ...
4a594c34 9938 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 9939 ... here.
4a594c34 9940 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 9941 Moved ...
4a594c34 9942 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 9943 ... here.
4a594c34
AZ
9944 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
9945 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
9946 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
9947 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
9948 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 9949 Moved ...
4a594c34 9950 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 9951 ... here.
4a594c34
AZ
9952 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
9953 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
9954 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
9955 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
9956 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
9957 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
9958 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
9959 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
9960 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
9961 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
9962 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
9963 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
9964 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 9965 Moved ...
4a594c34
AZ
9966 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
9967 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 9968 Moved ...
4a594c34
AZ
9969 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
9970 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
9971 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
9972 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 9973 Moved ...
4a594c34
AZ
9974 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
9975 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
9976 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
9977 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
9978 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
9979 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
9980 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 9981
0570cfed
W
99822014-06-10 Wilco <wdijkstr@arm.com>
9983
9984 * math/test-fenv-return.c: New file.
9985 * math/Makefile: Add new test test-fenv-return.
9986
f8ba1b56
JM
99872014-06-10 Joseph Myers <joseph@codesourcery.com>
9988
9989 [BZ #17042]
9990 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
9991 when x - 1 is zero.
9992 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
9993 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
9994 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
9995 0.0L for an argument of 1.0L.
9996 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
9997 Likewise.
9998 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
9999 value when x - 1 is zero.
10000 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
10001 * sysdeps/i386/fpu/libm-test-ulps: Update.
10002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10003
2c3520d9
BO
100042014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
10005
10006 [BZ #15119]
10007 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
10008
acaa4d24
RM
100092014-06-09 Roland McGrath <roland@hack.frob.com>
10010
10011 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
10012 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
10013
962b744d
RM
100142014-06-09 Roland McGrath <roland@hack.frob.com>
10015
d752f0cc
RM
10016 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10017 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
10018
34eda6d1
RM
10019 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10020 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
10021
50f0a637
RM
10022 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10023 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
10024
08f41f04
RM
10025 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10026 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
10027
962b744d
RM
10028 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
10029 if not already defined.
10030 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
10031 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
10032 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
10033 (TLS_INIT_TP): Use it.
10034 (TLS_DEFINE_INIT_TP): New macro.
10035 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
10036
09f19b05
JM
100372014-06-09 Joseph Myers <joseph@codesourcery.com>
10038
10039 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
10040 constant.
10041 [POSIX] (IXANY): Likewise.
10042 [POSIX] (OLCUC): Likewise.
10043 [POSIX || POSIX2008] (CBAUD): Do not allow.
10044 [POSIX || POSIX2008] (DEFECHO): Likewise.
10045 [POSIX || POSIX2008] (ECHOCTL): Likewise.
10046 [POSIX || POSIX2008] (ECHOKE): Likewise.
10047 [POSIX || POSIX2008] (ECHOPRT): Likewise.
10048 [POSIX || POSIX2008] (EXTA): Likewise.
10049 [POSIX || POSIX2008] (EXTB): Likewise.
10050 [POSIX || POSIX2008] (FLUSHO): Likewise.
10051 [POSIX || POSIX2008] (LOBLK): Likewise.
10052 [POSIX || POSIX2008] (PENDIN): Likewise.
10053 [POSIX || POSIX2008] (SWTCH): Likewise.
10054 [POSIX || POSIX2008] (VDISCARD): Likewise.
10055 [POSIX || POSIX2008] (VDSUSP): Likewise.
10056 [POSIX || POSIX2008] (VLNEXT): Likewise.
10057 [POSIX || POSIX2008] (VREPRINT): Likewise.
10058 [POSIX || POSIX2008] (VSTATUS): Likewise.
10059 [POSIX || POSIX2008] (VWERASE): Likewise.
10060 (B*): Change to B[0123456789]*.
10061 * conform/data/time.h-data [POSIX || UNIX98]
10062 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
10063 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10064 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
10065 [POSIX] (tm_*): Do not allow.
10066
686554bf
JM
100672014-06-07 Joseph Myers <joseph@codesourcery.com>
10068
10069 * Makefile (install): Don't set LANGUAGE.
10070 * Makefile.in (install): Likewise.
10071 * assert/Makefile (test-assert-ENV): Remove variable.
10072 (test-assert-perr-ENV): Likewise.
10073 * elf/Makefile (neededtest4-ENV): Likewise.
10074 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10075 [$(cross-compiling) = no]: Don't set LANGUAGE.
10076 * io/ftwtest-sh (LANG): Remove variable.
10077 * libio/Makefile (tst-widetext-ENV): Likewise.
10078 * manual/install.texi (Running make install): Don't refer to
10079 environment settings for make install.
10080 * INSTALL: Regenerated.
10081 * nptl/tst-tls6.sh: Don't set LANG.
10082 * posix/globtest.sh (LANG): Remove variable.
10083 * string/Makefile (tester-ENV): Likewise.
10084 (inl-tester-ENV): Likewise.
10085 (noinl-tester-ENV): Likewise.
10086 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10087 [$(cross-compiling) = no]: Don't set LANGUAGE.
10088 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
10089 without explicit environment settings.
10090
68e6b6b1
RM
100912014-06-06 Roland McGrath <roland@hack.frob.com>
10092
10093 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
10094 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
10095 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
10096 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
10097
4d3ae034
CM
100982014-06-06 Chris Metcalf <cmetcalf@tilera.com>
10099
10100 * crypt/crypt-private.h [DOS]: Add some includes taken from the
10101 other files in the crypt directory.
10102 * crypt/crypt.c: Remove duplicate includes.
10103 * crypt/crypt-entry.c: Likewise.
10104 * crypt/crypt_util.c: Likewise.
10105
8540f6d2
JM
101062014-06-06 Joseph Myers <joseph@codesourcery.com>
10107
10108 * Makeconfig (run-program-env): New variable.
10109 (run-program-prefix-before-env): Likewise.
10110 (run-program-prefix-after-env): Likewise.
10111 (run-program-prefix): Define in terms of new variables.
10112 (built-program-cmd-before-env): New variable.
10113 (built-program-cmd-after-env): Likewise.
10114 (built-program-cmd): Define in terms of new variables.
10115 (test-program-prefix-before-env): New variable.
10116 (test-program-prefix-after-env): Likewise.
10117 (test-program-prefix): Define in terms of new variables.
10118 (test-program-cmd-before-env): New variable.
10119 (test-program-cmd-after-env): Likewise.
10120 (test-program-cmd): Define in terms of new variables.
10121 * Rules (make-test-out): Use $(run-program-env).
10122 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
10123 (help): Do not mention environment variables. Mention
10124 --timeoutfactor option.
10125 (timeoutfactor): New variable.
10126 (blacklist_exports): Remove function.
10127 (exports): Remove variable.
10128 (command): Do not include ${exports}.
10129 * manual/install.texi (Configuring and compiling): Do not mention
10130 test wrappers preserving environment variables. Mention that last
10131 assignment to a variable must take precedence.
10132 * INSTALL: Regenerated.
10133 * benchtests/Makefile (run-bench): Use $(run-program-env).
10134 * catgets/Makefile ($(objpfx)test1.cat): Use
10135 $(built-program-cmd-before-env), $(run-program-env) and
10136 $(built-program-cmd-after-env).
10137 ($(objpfx)test2.cat): Do not specify environment variables
10138 explicitly.
10139 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
10140 $(run-program-env) and $(built-program-cmd-after-env).
10141 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
10142 $(run-program-env) and $(test-program-cmd-after-env).
10143 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
10144 explicitly.
10145 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
10146 run_program_env and test_program_cmd_after_env arguments.
10147 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
10148 * elf/tst-pathopt.sh: Use run_program_env argument.
10149 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
10150 $(test-wrapper-env) and $(run-program-env).
10151 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
10152 run_program_env arguments.
10153 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
10154 * intl/Makefile ($(objpfx)tst-gettext.out): Use
10155 $(test-program-prefix-before-env), $(run-program-env) and
10156 $(test-program-prefix-after-env).
10157 ($(objpfx)tst-gettext2.out): Likewise.
10158 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
10159 run_program_env and test_program_prefix_after_env arguments.
10160 * intl/tst-gettext2.sh: Likewise.
10161 * intl/tst-gettext4.sh: Do not set environment variables
10162 explicitly.
10163 * intl/tst-gettext6.sh: Likewise.
10164 * intl/tst-translit.sh: Likewise.
10165 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
10166 $(test-program-prefix-before-env), $(run-program-env) and
10167 $(test-program-prefix-after-env).
10168 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
10169 run_program_env and test_program_prefix_after_env arguments.
10170 * math/Makefile (run-regen-ulps): Use $(run-program-env).
10171 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
10172 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
10173 explicitly with each use of ${test_wrapper_env}.
10174 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
10175 $(test-program-prefix-before-env), $(run-program-env) and
10176 $(test-program-prefix-after-env).
10177 * posix/tst-getconf.sh: Do not set environment variables
10178 explicitly.
10179 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
10180 run_program_env and test_program_prefix_after_env arguments.
10181 * stdio-common/tst-printf.sh: Do not set environment variables
10182 explicitly.
10183 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
10184 $(test-program-prefix-before-env), $(run-program-env) and
10185 $(test-program-prefix-after-env).
10186 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
10187 run_program_env and test_program_prefix_after_env arguments.
10188 Split $test calls into $test_pre and $test.
10189 * timezone/Makefile (build-testdata): Use
10190 $(built-program-cmd-before-env), $(run-program-env) and
10191 $(built-program-cmd-after-env).
10192
ed36bfa1
AZ
101932014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10194
10195 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
10196 strlen for non SHARED builds.
10197
fc75bf46
SP
101982014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10199
10200 * nptl/allocatestack.c (check_list): Inlined function...
10201 (__reclaim_stacks): ... here.
10202
d89b3d80
OB
102032014-06-05 Ondřej Bílka <neleai@seznam.cz>
10204
10205 [BZ #15698]
10206 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
10207 memory overrun.
10208
2bf18041
JM
102092014-06-05 Joseph Myers <joseph@codesourcery.com>
10210
10211 * Rules (make-test-out): Include
10212 LOCPATH=$(common-objpfx)localedata in default environment.
10213 * debug/Makefile (tst-chk1-ENV): Remove variable.
10214 (tst-chk2-ENV): Likewise.
10215 (tst-chk3-ENV): Likewise.
10216 (tst-chk4-ENV): Likewise.
10217 (tst-chk5-ENV): Likewise.
10218 (tst-chk6-ENV): Likewise.
10219 (tst-lfschk1-ENV): Likewise.
10220 (tst-lfschk2-ENV): Likewise.
10221 (tst-lfschk3-ENV): Likewise.
10222 (tst-lfschk4-ENV): Likewise.
10223 (tst-lfschk5-ENV): Likewise.
10224 (tst-lfschk6-ENV): Likewise.
10225 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
10226 (tst-iconv7-ENV): Likewise.
10227 * intl/Makefile (LOCPATH-ENV): Likewise.
10228 (tst-codeset-ENV): Likewise.
10229 (tst-gettext3-ENV): Likewise.
10230 (tst-gettext5-ENV): Likewise.
10231 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
10232 (tst-fopenloc-ENV): Likewise.
10233 (tst-fgetws-ENV): Remove variable.
10234 (tst-ungetwc1-ENV): Likewise.
10235 (tst-ungetwc2-ENV): Likewise.
10236 (bug-ungetwc2-ENV): Likewise.
10237 (tst-swscanf-ENV): Likewise.
10238 (bug-ftell-ENV): Likewise.
10239 (tst-fgetwc-ENV): Likewise.
10240 (tst-fseek-ENV): Likewise.
10241 (tst-ftell-partial-wide-ENV): Likewise.
10242 (tst-ftell-active-handler-ENV): Likewise.
10243 (tst-ftell-append-ENV): Likewise.
10244 * posix/Makefile (tst-fnmatch-ENV): Likewise.
10245 (tst-regexloc-ENV): Likewise.
10246 (bug-regex1-ENV): Likewise.
10247 (tst-regex-ENV): Likewise.
10248 (tst-regex2-ENV): Likewise.
10249 (bug-regex5-ENV): Likewise.
10250 (bug-regex6-ENV): Likewise.
10251 (bug-regex17-ENV): Likewise.
10252 (bug-regex18-ENV): Likewise.
10253 (bug-regex19-ENV): Likewise.
10254 (bug-regex20-ENV): Likewise.
10255 (bug-regex22-ENV): Likewise.
10256 (bug-regex23-ENV): Likewise.
10257 (bug-regex25-ENV): Likewise.
10258 (bug-regex26-ENV): Likewise.
10259 (bug-regex30-ENV): Likewise.
10260 (bug-regex32-ENV): Likewise.
10261 (bug-regex33-ENV): Likewise.
10262 (bug-regex34-ENV): Likewise.
10263 (bug-regex35-ENV): Likewise.
10264 (tst-rxspencer-ENV): Likewise.
10265 (tst-rxspencer-no-utf8-ENV): Likewise.
10266 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
10267 (tst-sscanf-ENV): Likewise.
10268 (tst-swprintf-ENV): Likewise.
10269 (tst-swscanf-ENV): Likewise.
10270 (test-vfprintf-ENV): Likewise.
10271 (scanf13-ENV): Likewise.
10272 (bug14-ENV): Likewise.
10273 (tst-grouping-ENV): Likewise.
10274 * stdlib/Makefile (tst-strtod-ENV): Likewise.
10275 (tst-strtod3-ENV): Likewise.
10276 (tst-strtod4-ENV): Likewise.
10277 (tst-strtod5-ENV): Likewise.
10278 (testmb2-ENV): Likewise./
10279 * string/Makefile (tst-strxfrm-ENV): Likewise.
10280 (tst-strxfrm2-ENV): Likewise.
10281 (bug-strcoll1-ENV): Likewise.
10282 (test-strcasecmp-ENV): Likewise.
10283 (test-strncasecmp-ENV): Likewise.
10284 * time/Makefile (tst-strptime-ENV): Likewise.
10285 (tst-ftime_l-ENV): Likewise.
10286 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
10287 (tst-mbrtowc-ENV): Likewise.
10288 (tst-wcrtomb-ENV): Likewise.
10289 (tst-mbrtowc2-ENV): Likewise.
10290 (tst-c16c32-1-ENV): Likewise.
10291 (tst-mbsnrtowcs-ENV): Likewise.
10292
cd1fb604
OB
102932014-06-05 Ondřej Bílka <neleai@seznam.cz>
10294
10295 * manual/resource.texi (How to get information about the memory
10296 subsystem?): Fix typo.
10297 Reported by Peon de la Parra Ivan <peon@keba.com>
10298
b42eca7d
GY
102992014-06-03 Guo Yixuan <culu.gyx@gmail.com>
10300
10301 [BZ #16882]
10302 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
10303 (pthread_spin_lock): Branch out of spin loop to proper location.
10304 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
10305 (pthread_spin_lock): Likewise.
10306
902b71f9
DM
10307 * nptl/tst-spin4.c: New test.
10308 * nptl/Makefile (tests): Add tst-spin4.
10309
f9d2d032
AS
103102014-06-03 Andreas Schwab <schwab@suse.de>
10311
10312 [BZ #15946]
10313 * resolv/res_send.c (send_dg): Reload file descriptor after
10314 calling reopen.
10315
cf7bfd28
SL
103162014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
10317
10318 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10319
111cc714
RH
103202014-06-03 Richard Henderson <rth@redhat.com>
10321
89b4bd6b
RH
10322 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
10323 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
10324 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
10325 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
10326 in the SAVE_PID block.
10327 (__libc_vfork): New alias.
71840409 10328 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 10329
111cc714
RH
10330 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
10331 child in registers, not on the stack. Remove RESET_PID conditionals.
10332 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
10333
ccc39911
MS
103342014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
10335
10336 * sysdeps/aarch64/libm-test-ulps: Regenerate.
10337
693096cc
W
103382014-06-03 Wilco <wdijkstr@arm.com>
10339
10340 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
10341 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
10342 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10343 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
10344 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
10345 Likewise.
10346
0b4366bc
W
103472014-06-03 Wilco <wdijkstr@arm.com>
10348
10349 * sysdeps/aarch64/fpu/math_private.h
10350 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
10351 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
10352 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
10353 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10354 Fix declarations.
10355
8747cd03
KS
103562014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10357
10358 * crypt/crypt-private.h: Include ufc-crypt.h.
10359 (__b64_from_24bit): Declare extern.
10360 * crypt/crypt_util.c(__b64_from_24bit): New function.
10361 (b64t): New static const variable.
10362 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
10363 (b64t): Remove variable.
10364 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
10365 * crypt/sha256-crypt.c: Include crypt-private.h.
10366 (b64t): Remove variable.
10367 (__sha256_crypt_r): Remove b64_from_24bit and replace
10368 with __b64_from_24bit.
10369 * crypt/sha512-crypt.c: Likewise.
10370
d936d379
RM
103712014-06-02 Roland McGrath <roland@hack.frob.com>
10372
10373 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
10374 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
10375 Label the code __libc_vfork rather than __vfork.
10376 [!NOT_IN_libc] (vfork): Define as weak alias.
10377 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
10378 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
10379 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
10380
9fa76613
SP
103812014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10382
10383 * malloc/malloc.c (malloc_info): Fix format specifier for
10384 n_mmaps.
10385
a88dadbe
W
103862014-06-02 Wilco <wdijkstr@arm.com>
10387
10388 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
10389 FPCR write.
10390
c95b3011
W
103912014-06-02 Wilco <wdijkstr@arm.com>
10392
10393 [BZ #17009]
10394 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
10395 Rewrite to reduce FPCR/FPSR accesses.
10396
6b4d7a90
DM
103972014-06-01 David S. Miller <davem@davemloft.net>
10398
10399 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10400
30f3d07c
DM
104012014-05-31 David S. Miller <davem@davemloft.net>
10402
10403 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
10404 to occur in round to nearest mode when |x| >= 2.0
10405
74f31c18
RH
104062014-05-30 Richard Henderson <rth@twiddle.net>
10407
f0712b54
RH
10408 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
10409 (PSEUDO_RET_NOERRNO): Remove.
10410 (ret): Don't redefine.
10411 (ret_NOERRNO): Define in terms of ret.
10412 (ret_ERRVAL): Likewise.
10413
74f31c18
RH
10414 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
10415 use of PSEUDO_RET; perform the error check directly.
10416
30477995
MM
104172014-05-30 Marko Myllynen <myllynen@redhat.com>
10418
10419 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
10420 with __int128_t.
10421
62a58816
SP
104222014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10423
10424 * malloc/malloc (malloc_info): Fix formatting.
10425
4d653a59
SP
104262014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10427 Roland McGrath <roland@hack.frob.com>
10428
10429 * malloc/malloc (malloc_info): Also print mmapped statistics.
10430
5190c17f
RM
104312014-05-30 Roland McGrath <roland@hack.frob.com>
10432
10433 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
10434 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
10435
987c0269
OB
104362014-05-30 Ondřej Bílka <neleai@seznam.cz>
10437
10438 * malloc/malloc.c (malloc_info): Inline mi_arena.
10439
af4e8ef9
RH
104402014-05-29 Richard Henderson <rth@twiddle.net>
10441
1670e207
RH
10442 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
10443 Remove comma before expanding ASM_ARGS_##nr.
10444 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
10445 Make _x0 a strict output; make _x8 a strict input; adjust expansion
10446 of ASM_ARGS_##nr.
10447 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
10448 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
10449 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
10450 (ASM_ARGS_1): Add leading comma.
10451
11a28aee
RH
10452 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
10453 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
10454 to __errno_location.
10455 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
10456 Remove the expected plt for __errno_location.
10457
a17e5ffb 10458 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 10459 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
10460 call to __read_tp.
10461
b5be4597
RH
10462 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10463 Always allocate 64 bytes of stack frame. Use ldp/stp to create
10464 it and break it down.
10465 (DOCARGS_0, DOCARGS_1): Do nothing.
10466 (DOCARGS_2): Update to store into the new stack frame.
10467 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
10468 (UNDOCARGS_1): Update to restore from the new stack frame.
10469 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
10470 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
10471
645d44ab
RH
10472 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10473 (SINGLE_THREAD_P): New parameter for result regno.
10474 (PSEUDO): Update to match; use cbz instead of beq.
10475
a8b4f04a
RH
10476 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10477 Use ENTRY to define the _nocancel entry point. Share the syscall
10478 and syscall error check paths with the cancel path.
10479 (PSEUDO_END): New.
10480
af4e8ef9
RH
10481 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
10482 whitespace; tabs before and after asm mnemonics.
10483
26b0d2e1
EW
104842014-05-29 Eric Wong <normalperson@yhbt.net>
10485
10486 [BZ #15132]
10487 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10488 Call fstat64 or stat64 internally, depending on arguments passed.
10489 Replace stat buffer argument with file descriptor argument.
10490 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
10491 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10492 Pass fd to __internal_statvfs instead of calling fstat64.
10493 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
10494 Pass fd to __internal_statvfs64 instead of calling fstat64.
10495 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
10496 Pass -1 to __internal_statvfs instead of calling stat64.
10497 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
10498 Pass -1 to __internal_statvfs64 instead of calling stat64.
10499
1efe2bd9
RM
105002014-05-28 Roland McGrath <roland@hack.frob.com>
10501
0d3b7a19
RM
10502 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
10503 that was previously under [RESET_PID].
10504 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
10505
1efe2bd9
RM
10506 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
10507 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
10508
a6bea3ca
RM
105092014-05-27 Roland McGrath <roland@hack.frob.com>
10510
30b6629e
RM
10511 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
10512
a6bea3ca
RM
10513 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
10514 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
10515
3dfb9a5c
OB
105162014-05-27 Ondřej Bílka <neleai@seznam.cz>
10517
10518 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
10519
774f9285
AS
105202014-05-27 Andreas Schwab <schwab@suse.de>
10521
10522 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
10523 TLS_INIT_TP macro.
10524 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
10525 * elf/rtld.c (init_tls, dl_main): Likewise.
10526 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
10527 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
10528 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
10529 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
10530 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
10531 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
10532 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
10533 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
10534 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
10535 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
10536 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
10537 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
10538 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
10539 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
10540 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
10541 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
10542 * sysdeps/generic/tls.h: Update description.
10543
36ffe739
WN
105442014-05-27 Will Newton <will.newton@linaro.org>
10545
10546 [BZ #16990]
10547 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
10548 and restore r2 rather than just restoring.
10549
2482ae43
SP
105502014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10551
10552 [BZ #16724]
10553 * libio/tst-ftell-append.c: New test case.
10554 * libio/Makefile (tests): Add test case.
10555 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
10556 append mode.
10557 * libio/wfileops.c (do_ftell_wide): Likewise.
10558
3d1024e8
AZ
105592014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10560
bab90016
AZ
10561 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10562
c7a8d667
AZ
10563 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
10564 ...
10565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
10566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
10567 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
10568 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
10569 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
10570 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
10571 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
10572 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
10573 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
10574 Moved ...
10575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
10576 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
10577 Moved ...
10578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
10579 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
10580 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
10581 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
10582 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
10583 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
10584 ...
10585 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
10586 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
10587 Moved ...
10588 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
10589 here.
10590 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
10591 ...
10592 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
10593 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
10594 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
10595
daee7851
AZ
10596 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
10597 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
10598 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
10599 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
10600
50a40819
AZ
10601 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
10602 merge into ...
10603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
10604 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
10605 ...
10606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
10607 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
10608 ...
10609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
10610 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
10611 Moved ...
10612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
10613 here.
10614 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
10615 Moved ...
10616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
10617 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
10618 Moved ...
10619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
10620
8464c2a1
AZ
10621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
10622 conditional [RESET_PID].
10623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
10624 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
10625 removed.
10626 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
10627 removed.
10628
3d1024e8
AZ
10629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
10630 <tcb-offsets.h>.
10631 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10632 (__libc_vfork): New strong alias.
10633 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
10634 removed.
10635 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
10636 Removed.
10637
10638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
10639 <tcb-offsets.h>.
10640 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
10641 (__libc_vfork): New strong alias.
10642 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
10643 removed.
10644 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
10645 removed.
10646
fdfd175d
CD
106472014-05-26 Carlos O'Donell <carlos@redhat.com>
10648
10649 * malloc/malloc.c (mi_arena): New function.
10650 (malloc_info): Remove nested function mi_arena. Call non-nosted
10651 function mi_arena.
10652
d298c416
AZ
106532014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10654
10655 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
10656 by insrwi.
10657 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
10658 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
10659 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
10660 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
10661 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
10662 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
10663 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
10664
b60ea6ff
AS
106652014-05-26 Andreas Schwab <schwab@suse.de>
10666
10667 [BZ #16984]
10668 * locale/programs/repertoire.c (repertoire_read): Add slash
10669 between I18NPATH element and file name.
10670 * locale/programs/locfile.c (locfile_read): Likewise.
10671
67365926
SL
106722014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
10673
10674 * nptl/pthread_mutexattr_settype.c
10675 (__pthread_mutexattr_settype):
10676 Disable lock elision for PTHREAD_MUTEX_NORMAL.
10677
f8bdf1f0
SL
106782014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
10679
10680 * nptl/tst-mutex5 (do_test):
10681 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
10682
15eaf6ff
SP
106832014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10684
10685 * benchtests/README: Document 'init' directive.
10686 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
10687 BENCH_INIT.
10688 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
10689 (parse_file): Recognize 'init' directive.
10690
75f11331
KM
106912014-05-26 Kyle McMartin <kyle@redhat.com>
10692
10693 [BZ #16796]
10694 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
10695 alignment of struct pthread.
10696
c3ec475c
SP
106972014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10698
10699 [BZ #16878]
10700 * nscd/netgroupcache.c (addgetnetgrentX): Look for
10701 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10702 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
10703 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10704
82aab97c
RH
107052014-05-25 Richard Henderson <rth@twiddle.net>
10706
aa2f176d
RH
10707 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10708 (SINGLE_THREAD_P_PIC): Remove.
10709 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
10710 (SINGLE_THREAD_P_PIC): Remove.
10711
ca3cfa40
RH
10712 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
10713 branch to syscall error ...
10714 (PSEUDO): ... here.
10715 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
10716 from __local_syscall_error to .Lsyscall_error.
10717 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
10718 (SYSCALL_ERROR): Update label name.
10719
6e6c2d01
RH
10720 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10721 Do not use DOARGS/UNDOARGS.
10722 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
10723 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
10724 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
10725 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
10726 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
10727
c69abcee
RH
10728 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
10729 block comment.
10730
82aab97c
RH
10731 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
10732 define if !NOT_IN_libc.
10733 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
10734 define with non-default symbol versions.
10735
8820e3ac
RH
107362014-05-23 Richard Henderson <rth@twiddle.net>
10737
900e445f
RH
10738 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
10739 (vfork, __vfork): Define via compat_symbol.
10740
8820e3ac
RH
10741 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
10742 [!HAVE_IFUNC] (vfork_compat): Remove.
10743 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
10744
e59252a5
JM
107452014-05-23 Joseph Myers <joseph@codesourcery.com>
10746
10747 [BZ #16978]
10748 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
10749 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
10750 variable.
10751
132c7f5f
RH
107522014-05-23 Richard Henderson <rth@twiddle.net>
10753
bc89e962
RH
10754 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
10755 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
10756 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
10757 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
10758
10759 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
10760 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
10761 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
10762 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
10763 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
10764 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
10765 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
10766 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
10767 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
10768 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
10769 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
10770 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
10771 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
10772 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
10773 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
10774 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
10775 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
10776 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
10777 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
10778 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
10779 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
10780 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
10781 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
10782 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
10783 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
10784 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
10785 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
10786 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
10787 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
10788 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
10789 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
10790 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
10791 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
10792 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
10793 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
10794 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
10795 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
10796 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
10797 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
10798 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
10799 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
10800 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
10801 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
10802 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
10803 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
10804 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
10805 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
10806 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
10807 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
10808 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
10809 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
10810 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
10811 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
10812 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
10813 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
10814 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
10815
e2fa4bc2
RH
10816 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
10817 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
10818 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
10819 before exiting on error.
10820 (__libc_vfork): New strong alias.
10821 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
10822 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
10823
279b24e2
RH
10824 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
10825 that was previously under [RESET_PID].
10826 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
10827
132c7f5f
RH
10828 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
10829
b72592e7
JM
108302014-05-23 Joseph Myers <joseph@codesourcery.com>
10831
10832 [BZ #16977]
10833 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
10834 value when x - 1 is zero.
10835 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
10836 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
10837 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
10838 0.0L for an argument of 1.0L.
10839 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
10840 Likewise.
10841 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
10842 value when x - 1 is zero.
10843 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
10844 * sysdeps/i386/fpu/libm-test-ulps: Update.
10845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10846
2302d679
RV
108472014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
10848
10849 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
10850 alphasort and versionsort.
10851
32999d63
AZ
108522014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10853
10854 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
10855 macro.
10856 [copysignf]: Likewise.
10857
019324d0
SP
108582014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10859
10860 * crypt/md5-crypt.c: Fix formatting.
10861
34fff5c2
KS
108622014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10863
10864 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
10865 (b64_from_24bit): New function.
10866
3d2badac
AZ
108672014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10868
10869 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
10870 libc_hidden_builtin_def to ifunc.
10871 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
10872 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
10873
f7bb179f 108742014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
10875
10876 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
10877 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
10878
4134b50d
JM
108792014-05-21 Joseph Myers <joseph@codesourcery.com>
10880
bb7d0337
JM
10881 * nscd/Depend (linuxthreads): Remove.
10882 (nptl): Add.
10883 * resolv/Depend (linuxthreads): Remove.
10884 * rt/Depend (linuxthreads): Remove.
10885
4134b50d
JM
10886 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
10887 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
10888 $(common-objpfx)elf/.
10889 (link-libc-before-gnulib): Likewise.
10890 (elfobjdir): Remove variable.
10891 * Makefile (install): Use $(elf-objpfx) instead of
10892 $(common-objpfx)elf/.
10893 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
10894 $(elfobjdir)/.
10895 (link-libc-deps): Likewise.
10896 ($(common-objpfx)libc.so): Likewise.
10897 ($(common-objpfx)linkobj/libc.so): Likewise.
10898 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
10899 instead of $(common-objpfx)elf/.
10900 (symbolic-link-list): Likewise.
10901 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10902 [$(cross-compiling) = no]: Likewise.
10903 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
10904 $(elfobjdir)/.
10905 (static-gnulib-arch): Likewise.
10906 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10907 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
10908 $(common-objpfx)elf/.
10909
3612eb8f
RH
109102014-05-21 Richard Henderson <rth@redhat.com>
10911
a6b3657b
RH
10912 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10913 (SINGLE_THREAD_P): Use the correct width load. Fold
10914 into the ldr offset.
10915
3612eb8f
RH
10916 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
10917 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
10918
175cef41
JM
109192014-05-20 Joseph Myers <joseph@codesourcery.com>
10920
10921 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
10922 (libgcc_s_resume): Use __attribute_used__.
10923 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
10924 Likewise.
10925
e13bccd3
AZ
109262014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10927
10928 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
10929 optimization when used with float constants.
10930
7c112a38
AZ
10931 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10932
ae75a883
AJ
109332014-05-20 Aurelien Jarno <aurelien@aurel32.net>
10934
10935 [BZ #16915]
10936 * locale/nl_langinfo_l.c: Make direct reference to every
10937 _nl_current_CATEGORY symbol.
10938 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
10939 (tests-static): Add tst-langinfo-static.
10940 (tests-special): Add tst-langinfo-static.out.
10941 ($(objpfx)tst-langinfo.out): Redirect output.
10942 ($(objpfx)tst-langinfo-static.out): New.
10943 * localedata/tst-langinfo.sh: Send output to stdout.
10944 * localedata/tst-langinfo-static.c: New file.
10945
4406c41c
AJ
10946 [BZ #16965]
10947 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
10948 when the shift amount is modulo the limb size.
10949
4c0a1e63
RH
109502014-05-20 Richard Henderson <rth@redhat.com>
10951
de9d8f20
RH
10952 [BZ #16967]
10953 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
10954 Change type of sa_flags from unsigned int to int.
10955
4c0a1e63
RH
10956 [BZ #16966]
10957 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
10958
10959 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
10960
a60339aa
WN
109612014-05-20 Will Newton <will.newton@linaro.org>
10962
10963 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10964 Test the return value of the system call in the nocancel case.
10965
7d05a816
YR
109662014-05-20 Will Newton <will.newton@linaro.org>
10967 Yvan Roux <yvan.roux@linaro.org>
10968
10969 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
10970 #include of asm/ptrace.h.
10971 (PTRACE_GET_THREAD_AREA): Remove #undef.
10972 (PTRACE_GETHBPREGS): Likewise.
10973 (PTRACE_SETHBPREGS): Likewise.
10974 (struct user_regs_struct): New structure.
10975 (struct user_fpsimd_struct): New structure.
10976 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
10977 #include of asm/ptrace.h and second #include of sys/user.h.
10978 (PTRACE_GET_THREAD_AREA): Remove #undef.
10979 (PTRACE_GETHBPREGS): Likewise.
10980 (PTRACE_SETHBPREGS): Likewise.
10981 (ELF_NGREG): Use new struct user_regs_struct.
10982 (elf_fpregset_t): Use new struct user_fpsimd_struct.
10983
af121e37
AZ
109842014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10985
10986 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
10987 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
10988
834caf06
JM
109892014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
10990
10991 [BZ #16958]
10992 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
10993 membar to avoid block loads/stores to overlap previous stores.
10994
e184a918
RH
109952014-05-17 Richard Henderson <rth@redhat.com>
10996
10997 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
10998 Create the __##syscall_name##_nocancel entry point.
10999 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
11000 Remove; let the sysdep-cancel.h code create it.
11001
f56c7a6a
DM
110022014-05-17 David S. Miller <davem@davemloft.net>
11003
11004 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
11005 Protect with __USE_GNU.
11006 (TIOCSET_TEMPT): Likewise.
11007 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11008 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
11009 these are already provided in bits/ioctl-types.h
11010
f75616b2
RM
110112014-05-16 Roland McGrath <roland@hack.frob.com>
11012
3edeca86
RM
11013 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
11014 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
11015
f75616b2
RM
11016 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
11017 Use wait4 regardless of [__NR_waitpid].
11018
deb0f7f6
MR
110192014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
11020
11021 PR libgcc/60166
11022 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
11023 (_FP_NANSIGN_Q): Set the quiet bit.
11024
79520f4b
JM
110252014-05-16 Joseph Myers <joseph@codesourcery.com>
11026
11027 * benchtests/Makefile
11028 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
11029 not $(common-objpfx)math/libm.so.
11030 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
11031 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
11032 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
11033 $(common-objpfx)dlfcn/libdl.so.
11034 ($(objpfx)tst-audit8): Depend on $(libm), not
11035 $(common-objpfx)math/libm.so.
11036 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
11037 not $(common-objpfx)dlfcn/libdl.so.
11038 * math/Makefile
11039 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
11040 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
11041 [$(build-shared) = yes].
11042 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
11043 $(common-objpfx)nptl/libpthread.so.
11044 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
11045 $(common-objpfx)math/libm.so$(libm.so-version) or
11046 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
11047 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
11048 $(common-objpfx)dlfcn/libdl.so.
11049 * setjmp/Makefile (link-libm): Remove variable.
11050 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
11051 * stdio-common/Makefile (link-libm): Remove variable.
11052 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
11053 * stdlib/Makefile (link-libm): Remove variable.
11054 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
11055 ($(objpfx)tst-strtod-round): Likewise.
11056 ($(objpfx)tst-tininess): Likewise.
11057 ($(objpfx)tst-strtod-underflow): Likewise.
11058 ($(objpfx)tst-strtod6): Likewise.
11059 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
11060 $(libdl), not $(common-objpfx)nptl/libpthread.so and
11061 $(common-objpfx)dlfcn/libdl.so.
11062
026b0fe4
AZ
110632014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11064
11065 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
11066 BSD terminal modes definitions.
11067
def4bcb2
RM
110682014-05-16 Roland McGrath <roland@hack.frob.com>
11069
fe39b021
RM
11070 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
11071 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
11072
1d1fc46e 11073 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
11074 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
11075 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
11076 Don't do #include_next.
11077 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
11078 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
11079 Don't do #include_next.
11080 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
11081 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
11082 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
11083 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
11084
c72399fb
AM
110852014-05-16 Allan McRae <allan@archlinux.org>
11086
d51d659d
AM
11087 * po/sv.po: Update Swedish translation from translation project.
11088
c72399fb
AM
11089 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
11090 in sed expression.
11091
d0583c40
AJ
110922014-05-16 Aurelien Jarno <aurelien@aurel32.net>
11093
11094 [BZ #16917]
11095 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
11096 errno if the TIOCGPTN ioctl fails with an error different than
11097 EINVAL.
11098 * login/tst-ptsname.c: New file.
11099 * login/Makefile (tests): Add tst-ptsname.
11100
d16e6ec7
AJ
11101 [BZ #16943]
11102 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
11103 and prlimit64.
11104
cf26a0cb
SP
111052014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11106
11107 [BZ #16849]
11108 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
11109 herrno to return EAI_AGAIN.
11110
5675da1e
RM
111112014-05-14 Roland McGrath <roland@hack.frob.com>
11112
a5d87b3d
RM
11113 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
11114 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
11115 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
11116 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
11117 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
11118 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
11119 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
11120 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
11121 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
11122 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
11123 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
11124 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
11125 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
11126 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
11127 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
11128 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
11129 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
11130 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
11131 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
11132 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
11133 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
11134 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
11135 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
11136 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
11137 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
11138 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
11139 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
11140 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
11141 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
11142 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
11143 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
11144 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
11145 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
11146 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
11147 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
11148 Moved ...
11149 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
11150 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
11151 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
11152 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
11153 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
11154 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
11155 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
11156 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
11157 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
11158 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
11159 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
11160 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
11161 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
11162 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
11163 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
11164 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
11165 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
11166 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
11167 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
11168 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
11169 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
11170 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
11171 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
11172 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
11173 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
11174 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
11175 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
11176 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
11177 Moved ...
11178 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
11179 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
11180 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
11181 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
11182 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
11183 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
11184 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
11185 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
11186 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
11187 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
11188 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
11189 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
11190 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
11191 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
11192 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
11193 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
11194 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
11195 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
11196 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
11197 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11198 Moved ...
11199 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
11200 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
11201 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
11202
039890a6
RM
11203 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
11204 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
11205 (libpthread-sysdep_routines): Add elision-related stuff here instead.
11206 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
11207 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
11208 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
11209 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
11210 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
11211 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
11212 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
11213 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
11214 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
11215 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
11216 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
11217 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
11218 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
11219 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
11220 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
11221 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
11222 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
11223 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
11224 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
11225 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
11226 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
11227 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
11228 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
11229 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
11230 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
11231 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
11232 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
11233 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
11234
65c89320
RM
11235 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
11236 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
11237
348f8e8c
RM
11238 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
11239 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
11240 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
11241 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
11242 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
11243 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
11244 Moved ...
11245 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
11246 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
11247 Moved ...
11248 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
11249 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
11250 Moved ...
11251 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
11252 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
11253 Moved ...
11254 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
11255 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
11256 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
11257 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
11258 Moved ...
11259 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
11260 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
11261 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
11262 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
11263 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
11264 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
11265 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
11266 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
11267 Moved ...
11268 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
11269 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11270 Moved ...
11271 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11272 ... here.
11273 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
11274 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
11275 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
11276 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
11277 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11278 Moved ...
11279 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11280 ... here.
11281 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
11282 Moved ...
11283 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
11284 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
11285 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
11286 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
11287 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
11288 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
11289 Moved ...
11290 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
11291 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
11292 Moved ...
11293 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
11294 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
11295 Moved ...
11296 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
11297 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
11298 Moved ...
11299 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
11300 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
11301 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
11302 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
11303 Moved ...
11304 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
11305 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
11306 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
11307 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
11308 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
11309 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
11310 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
11311 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
11312 Moved ...
11313 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
11314 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11315 Moved ...
11316 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11317 ... here.
11318 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
11319 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
11320 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
11321 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
11322 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
11323 Moved ...
11324 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
11325 ... here.
11326 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
11327 Moved ...
11328 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
11329 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
11330 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
11331 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
11332 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
11333 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
11334 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
11335 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
11336 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
11337 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
11338 Moved ...
11339 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
11340 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
11341 Moved ...
11342 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
11343 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
11344 Moved ...
11345 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
11346 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
11347 Moved ...
11348 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
11349 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
11350 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
11351 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
11352 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
11353 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
11354 Moved ...
11355 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
11356 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
11357 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
11358 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
11359 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
11360 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
11361 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
11362 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
11363 Moved ...
11364 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
11365 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11366 Moved ...
11367 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11368 ... here.
11369 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
11370 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
11371 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
11372 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
11373 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11374 Moved ...
11375 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11376 ... here.
11377 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
11378 Moved ...
11379 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
11380 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
11381 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
11382 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
11383 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
11384 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
11385 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
11386 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
11387 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
11388 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
11389 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
11390
5085af05
RM
11391 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
11392 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
11393
708f0813
RM
11394 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
11395 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
11396
c96067bc
RM
11397 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
11398 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
11399 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
11400 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
11401 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
11402 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
11403 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
11404 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
11405 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
11406 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
11407 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
11408 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
11409 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
11410 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
11411 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
11412 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
11413 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
11414 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
11415 Moved ...
11416 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
11417 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
11418 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
11419 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
11420 Moved ...
11421 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
11422 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
11423 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
11424 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
11425 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
11426 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
11427 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
11428 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
11429 Moved ...
11430 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
11431 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
11432 Moved ...
11433 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
11434 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
11435 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
11436 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
11437 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
11438 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
11439 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
11440 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
11441 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
11442 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
11443 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
11444 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
11445 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
11446 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
11447 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
11448 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
11449 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
11450
ec136444
RM
11451 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
11452 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
11453 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
11454 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
11455 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
11456
2fbdf533
RM
11457 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
11458 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
11459 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
11460 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
11461 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
11462 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
11463 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
11464 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
11465 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
11466 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
11467
4c68138b
RM
11468 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
11469 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
11470
4eaae765
RM
11471 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
11472 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
11473 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
11474 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
11475 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
11476 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
11477 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
11478 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
11479 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
11480 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
11481 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
11482 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
11483 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
11484 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
11485 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
11486 Update #include.
11487 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
11488 Likewise.
11489 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11490 Likewise.
11491 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11492 Likewise.
11493 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11494 Likewise.
11495 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
11496 Likewise.
11497 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
11498 Likewise.
11499 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11500 Likewise.
11501 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
11502 Likewise.
11503 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
11504 Likewise.
4ef6befa
RM
11505 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
11506 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
11507 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
11508 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
11509 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
11510 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
11511 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
11512 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
11513 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
11514 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
11515 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
11516 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
11517 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
11518 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
11519 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 11520
941d7dfd
RM
11521 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
11522 that was previously under [RESET_PID].
11523 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11524 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
11525 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
11526
1b731c35
RM
11527 * sysdeps/i386/nptl/Implies: New file.
11528 * sysdeps/x86_64/nptl/Implies: New file.
11529 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
11530 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
11531 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
11532 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
11533
e2787137
RM
11534 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
11535 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11536 (__libc_vfork): New strong alias.
11537 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
11538 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
11539
11540 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
11541 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11542 (__libc_vfork): New strong alias.
11543 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
11544 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
11545
5675da1e
RM
11546 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
11547 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11548 (__libc_vfork): New strong alias.
11549 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
11550 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
11551 * nptl/pt-vfork.c: New file.
11552 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
11553 (libpthread: GLIBC_2.20): New version set (empty).
11554
4f02e2b8
WN
115552014-05-14 Will Newton <will.newton@linaro.org>
11556
11557 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
11558 rather than #if.
11559
0bf061d3
JM
115602014-05-14 Joseph Myers <joseph@codesourcery.com>
11561
1a84c3d6
JM
11562 [BZ #16564]
11563 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
11564 arguments with exponent 65 or above.
11565 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
11566 arguments 0x1p113L or above.
11567 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
11568 to arguments 0x1p107L or above.
11569 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
11570 positive arguments with exponent 65 or above.
11571 * math/auto-libm-test-in: Add more tests of log1p.
11572 * math/auto-libm-test-out: Regenerated.
11573
01dbacd2
JM
11574 [BZ #16928]
11575 * math/s_cacos.c (__cacos): Ensure zero real part of result from
11576 non-finite arguments is +0.
11577 * math/s_cacosf.c (__cacosf): Likewise.
11578 * math/s_cacosl.c (__cacosl): Likewise.
11579 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
11580 * sysdeps/i386/fpu/libm-test-ulps: Update.
11581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11582
913d03c8
JM
11583 [BZ #16927]
11584 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
11585 value.
11586 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
11587 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
11588 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
11589 for explicit high bit of mantissa when testing for argument equal
11590 to 1.
11591 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
11592 * sysdeps/i386/fpu/libm-test-ulps: Update.
11593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11594
0bf061d3
JM
11595 [BZ #16516]
11596 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
11597 (__erf): Scale by 16 instead of 8 in potentially underflowing
11598 case. Ensure exception if result actually underflows.
11599 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
11600 (__erff): Scale by 16 instead of 8 in potentially underflowing
11601 case. Ensure exception if result actually underflows.
11602 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
11603 (efx8): Remove variable.
11604 (__erfl): Scale by 16 instead of 8 in potentially underflowing
11605 case. Ensure exception if result actually underflows.
11606 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
11607 (efx8): Remove variable.
11608 (__erfl): Scale by 16 instead of 8 in potentially underflowing
11609 case. Ensure exception if result actually underflows.
11610 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
11611 (efx8): Remove variable.
11612 (__erfl): Scale by 16 instead of 8 in potentially underflowing
11613 case. Ensure exception if result actually underflows.
11614 * math/auto-libm-test-in: Add more tests of erf.
11615 * math/auto-libm-test-out: Regenerated.
11616
73ba67cb
AS
116172014-05-14 Andreas Schwab <schwab@suse.de>
11618
3d8c8bff
AS
11619 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
11620 Remove code conditionalized on USE___THREAD.
11621
73ba67cb
AS
11622 * config.h.in (HAVE_PT_CHOWN): Define as 0.
11623 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
11624 not definedness.
11625
5c521ecd
JM
116262014-05-14 Joseph Myers <joseph@codesourcery.com>
11627
5e7698c6
JM
11628 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
11629 Define unconditionally.
11630 (__ASSUME_O_CLOEXEC): Likewise.
11631 (__ASSUME_SOCK_CLOEXEC): Likewise.
11632 (__ASSUME_IN_NONBLOCK): Likewise.
11633 (__ASSUME_PIPE2): Likewise.
11634 (__ASSUME_EVENTFD2): Likewise.
11635 (__ASSUME_SIGNALFD4): Likewise.
11636 (__ASSUME_DUP3): Likewise.
11637 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11638 (__ASSUME_DUP3): Do not define.
11639 (__ASSUME_EVENTFD2): Likewise.
11640 (__ASSUME_IN_NONBLOCK): Likewise.
11641 (__ASSUME_O_CLOEXEC): Likewise.
11642 (__ASSUME_PIPE2): Likewise.
11643 (__ASSUME_SIGNALFD4): Likewise.
11644 (__ASSUME_SOCK_CLOEXEC): Likewise.
11645 (__ASSUME_UTIMES): Undefine.
11646 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11647 (__ASSUME_UTIMES): Do not define.
11648 (__ASSUME_O_CLOEXEC): Likewise.
11649 (__ASSUME_SOCK_CLOEXEC): Likewise.
11650 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
11651 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
11652 0x020621].
11653 (__ASSUME_PIPE2): Likewise.
11654 (__ASSUME_EVENTFD2): Likewise.
11655 (__ASSUME_SIGNALFD4): Likewise.
11656 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
11657 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
11658 Do not define.
11659 (__ASSUME_EVENTFD2): Likewise.
11660 (__ASSUME_SIGNALFD4): Likewise.
11661 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11662 (__ASSUME_32BITUIDS): Likewise.
11663 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11664 (__ASSUME_IPC64): Likewise.
11665 (__ASSUME_ST_INO_64_BIT): Likewise.
11666 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
11667 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
11668 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11669 (__ASSUME_UTIMES): Do not define.
11670 (__ASSUME_PSELECT): Likewise.
11671 (__ASSUME_PPOLL): Likewise.
11672 (__ASSUME_O_CLOEXEC): Likewise.
11673 (__ASSUME_SOCK_CLOEXEC): Likewise.
11674 (__ASSUME_IN_NONBLOCK): Likewise.
11675 (__ASSUME_PIPE2): Likewise.
11676 (__ASSUME_EVENTFD2): Likewise.
11677 (__ASSUME_SIGNALFD4): Likewise.
11678 (__ASSUME_DUP3): Likewise.
11679 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11680 (__ASSUME_UTIMES): Likewise.
11681 (__ASSUME_O_CLOEXEC): Likewise.
11682 (__ASSUME_SOCK_CLOEXEC): Likewise.
11683 (__ASSUME_IN_NONBLOCK): Likewise.
11684 (__ASSUME_PIPE2): Likewise.
11685 (__ASSUME_EVENTFD2): Likewise.
11686 (__ASSUME_SIGNALFD4): Likewise.
11687 (__ASSUME_DUP3): Likewise.
11688 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11689 (__ASSUME_UTIMES): Likewise.
11690 (__ASSUME_O_CLOEXEC): Likewise.
11691 (__ASSUME_SOCK_CLOEXEC): Likewise.
11692 (__ASSUME_IN_NONBLOCK): Likewise.
11693 (__ASSUME_PIPE2): Likewise.
11694 (__ASSUME_EVENTFD2): Likewise.
11695 (__ASSUME_SIGNALFD4): Likewise.
11696 (__ASSUME_DUP3): Likewise.
11697 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
11698 Likewise.
11699 (__ASSUME_UTIMES): Likewise.
11700 (__ASSUME_EVENTFD2): Likewise.
11701 (__ASSUME_SIGNALFD4): Likewise.
11702 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11703 (__ASSUME_O_CLOEXEC): Likewise.
11704 (__ASSUME_SOCK_CLOEXEC): Likewise.
11705 (__ASSUME_IN_NONBLOCK): Likewise.
11706 (__ASSUME_PIPE2): Likewise.
11707 (__ASSUME_EVENTFD2): Likewise.
11708 (__ASSUME_SIGNALFD4): Likewise.
11709 (__ASSUME_DUP3): Likewise.
11710 (__ASSUME_UTIMES): Undefine.
11711
5c521ecd
JM
11712 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
11713 feclearexcept. Remove symbol versioning code.
11714 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
11715 symbol versioning code.
11716 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
11717 symbol versioning code.
11718 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
11719 feupdateenv. Remove symbol versioning code.
11720 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
11721 fegetexceptflag. Remove symbol versioning code.
11722 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
11723 fesetexceptflag. Remove symbol versioning code.
11724 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
11725 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
11726 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
11727 (__posix_fadvise64_l32): Remove prototype.
11728 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
11729 code.
11730
5da9dfad
RM
117312014-05-13 Roland McGrath <roland@hack.frob.com>
11732
11733 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
11734 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
11735 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
11736 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
11737
893b4f37
SK
117382014-05-13 Sami Kerola <kerolasa@iki.fi>
11739
11740 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
11741 current working directory
11742
e0db6517
RM
117432014-05-13 Roland McGrath <roland@hack.frob.com>
11744
58aa195d
RM
11745 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
11746 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
11747 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
11748 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
11749 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
11750 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
11751 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
11752 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
11753 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
11754 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
11755 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
11756 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
11757 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
11758 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
11759 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
11760 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
11761 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
11762 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
11763 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
11764 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
11765 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
11766 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
11767 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
11768 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
11769 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
11770 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
11771 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
11772 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
11773 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
11774 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
11775 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
11776 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
11777 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
11778 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
11779 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
11780 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
11781 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
11782 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
11783 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
11784 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
11785 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
11786 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
11787
8c6d01f0
RM
11788 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
11789 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
11790
11791 * sysdeps/unix/sysv/linux/arm/Makefile
11792 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
11793 Add rt-aeabi_unwind_cpp_pr1.
11794 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
11795 Add nptl-aeabi_unwind_cpp_pr1.
11796 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
11797 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
11798 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
11799 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
11800 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
11801 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
11802
11803 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
11804 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
11805 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
11806 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
11807
bba6da4e
RM
11808 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
11809 Deconditionalize the code that was previously under [RESET_PID].
11810 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
11811
e0db6517
RM
11812 * sysdeps/generic/exit-thread.h: New file.
11813 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
11814 * include/unistd.h (__exit_thread): Remove declaration.
11815 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
11816 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
11817 * csu/libc-start.c: Include <exit-thread.h>.
11818 (LIBC_START_MAIN): Pass no argument to __exit_thread.
11819 * nptl/pthread_create.c: Include <exit-thread.h>.
11820 (start_thread): Call __exit_thread in place of __exit_thread_inline.
11821 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
11822 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
11823 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
11824 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
11825 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
11826 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
11827 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
11828 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
11829 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
11830 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
11831 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
11832 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
11833 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
11834 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
11835 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
11836 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
11837
01eb16fd
AS
118382014-05-13 Andreas Schwab <schwab@suse.de>
11839
11840 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
11841
637461d9
JM
118422014-05-12 Joseph Myers <joseph@codesourcery.com>
11843
11844 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
11845 (__ASSUME_UTIMES): Do not condition on kernel version.
11846 (__ASSUME_PSELECT): Define unconditionally.
11847 (__ASSUME_PPOLL): Likewise.
11848 (__ASSUME_ATFCTS): Likewise.
11849 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
11850 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
11851 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
11852 (__ASSUME_UTIMENSAT): Define unconditionally.
11853 (__ASSUME_PRIVATE_FUTEX): Likewise.
11854 (__ASSUME_FALLOCATE): Likewise.
11855 (__ASSUME_O_CLOEXEC): Likewise.
11856 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
11857 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
11858 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
11859 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
11860 (__ASSUME_IN_NONBLOCK): Likewise.
11861 (__ASSUME_PIPE2): Likewise.
11862 (__ASSUME_EVENTFD2): Likewise.
11863 (__ASSUME_SIGNALFD4): Likewise.
11864 (__ASSUME_DUP3): Likewise.
11865 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11866 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
11867 (__ASSUME_AT_RANDOM): Likewise.
11868 (__ASSUME_PREADV): Likewise.
11869 (__ASSUME_PWRITEV): Likewise.
11870 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
11871 (__ASSUME_F_GETOWN_EX): Define unconditionally.
11872 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
11873 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
11874 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
11875 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11876 (__ASSUME_O_CLOEXEC): Define unconditionally.
11877 (__ASSUME_PSELECT): Do not undefine conditionally.
11878 (__ASSUME_PPOLL): Likewise.
11879 (__ASSUME_ATFCTS): Likewise.
11880 (__ASSUME_SET_ROBUST_LIST): Likewise.
11881 (__ASSUME_UTIMENSAT): Likewise.
11882 (__ASSUME_FDATASYNC): Define unconditionally.
11883 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11884 (__ASSUME_SIGFRAME_V2): Likewise.
11885 )__ASSUME_EVENTFD2): Likewise.
11886 (__ASSUME_SIGNALFD4): Likewise.
11887 (__ASSUME_PSELECT): Do not undefine conditionally.
11888 (__ASSUME_PPOLL): Likewise.
11889 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11890 (__ASSUME_PSELECT): Define unconditionally.
11891 (__ASSUME_PPOLL): Likewise.
11892 (__ASSUME_O_CLOEXEC): Likewise.
11893 (__ASSUME_SOCK_CLOEXEC): Likewise.
11894 (__ASSUME_IN_NONBLOCK): Likewise.
11895 (__ASSUME_PIPE2): Likewise.
11896 (__ASSUME_EVENTFD2): Likewise.
11897 (__ASSUME_SIGNALFD4): Likewise.
11898 (__ASSUME_DUP3): Likewise.
11899 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11900 (__ASSUME_O_CLOEXEC): Likewise.
11901 (__ASSUME_SOCK_CLOEXEC): Likewise.
11902 (__ASSUME_IN_NONBLOCK): Likewise.
11903 (__ASSUME_PIPE2): Likewise.
11904 (__ASSUME_EVENTFD2): Likewise.
11905 (__ASSUME_SIGNALFD4): Likewise.
11906 (__ASSUME_DUP3): Likewise.
11907 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11908 (__ASSUME_EVENTFD2): Likewise.
11909 (__ASSUME_SIGNALFD4): Likewise.
11910 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11911
315eb1d8
AS
119122014-05-12 Andreas Schwab <schwab@suse.de>
11913
11914 [BZ #16932]
11915 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
11916 (_nss_nis_gethostbyname4_r): Return error if item length is larger
11917 than maximum RPC packet size.
11918 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
11919 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
11920 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
11921 (_nss_nis_getservbyport_r): Likewise.
11922
91df99f7
WN
119232014-05-12 Will Newton <will.newton@linaro.org>
11924
11925 * malloc/Makefile (tests): Add tst-mallopt.
11926 * malloc/tst-mallopt.c: New file.
11927
0a982a29
RM
119282014-05-09 Roland McGrath <roland@hack.frob.com>
11929
11930 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
11931 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
11932
0ded08a5
AZ
119332014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11934
11935 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
11936 (tst-tlsmod6.so): Likewise.
11937
55d4d550
RM
119382014-05-09 Roland McGrath <roland@hack.frob.com>
11939
11940 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
11941
77d08aca
JM
119422014-05-09 Joseph Myers <joseph@codesourcery.com>
11943
11944 [BZ #16064]
11945 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
11946 and <dl-procinfo.h>.
11947 (__fegetenv): Save SSE state in envp->__eip if supported.
11948 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
11949 envp->__eip if supported.
11950 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
11951 and <dl-procinfo.h>.
11952 (__fesetenv): Always set __eip, __cs_selector, __opcode,
11953 __data_offset and __data_selector in environment to 0. Set SSE
11954 state if supported.
11955 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11956 test-fenv-sse.
11957 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
11958 -mfpmath=sse.
11959 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
11960
28162f4d
WN
119612014-05-09 Will Newton <will.newton@linaro.org>
11962
11963 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
11964 and libc_relro_required for ARM.
11965 * sysdeps/arm/preconfigure: Regenerate.
11966
5a414ff7
DV
119672014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
11968 Stefan Liebler <stli@linux.vnet.ibm.com>
11969
11970 * config.make.in (enable-lock-elision): New Makefile variable.
11971 * configure.ac: Likewise.
11972 * configure: Regenerate.
11973 * sysdeps/s390/configure.ac:
11974 Add check for gcc transactions support.
11975 * sysdeps/s390/configure: Regenerate.
11976 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
11977 Build elision files if enabled.
11978 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
11979 Add lock elision support for s390.
11980 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
11981 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
11982 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
11983 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
11984 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
11985 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
11986 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
11987 Likewise.
11988 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
11989 Likewise.
11990 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
11991 Likewise.
11992 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
11993 Likewise.
11994 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
11995 (__lll_timedlock_elision, __lll_lock_elision)
11996 (__lll_unlock_elision, __lll_trylock_elision)
11997 (lll_timedlock_elision, lll_lock_elision)
11998 (lll_unlock_elision, lll_trylock_elision): Add.
11999 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12000 (pthread_mutex_t): Add lock elision support for s390.
12001
1a2f40e5
W
120022014-05-14 Wilco <wdijkstr@arm.com>
12003
12004 * sysdeps/arm/fclrexcpt.c: Cleanup.
12005 * sysdeps/arm/fedisblxcpt.c: Cleanup.
12006 * sysdeps/arm/feenablxcpt.c: Cleanup.
12007 * sysdeps/arm/fegetenv.c: Cleanup.
12008 * sysdeps/arm/fegetexcept.c: Cleanup.
12009 * sysdeps/arm/fegetround.c: Cleanup.
12010 * sysdeps/arm/feholdexcpt.c: Cleanup.
12011 * sysdeps/arm/fesetenv.c: Cleanup.
12012 * sysdeps/arm/fesetround.c: Cleanup.
12013 * sysdeps/arm/feupdateenv.c: Cleanup.
12014 * sysdeps/arm/fgetexcptflg.c: Cleanup.
12015 * sysdeps/arm/fraiseexcpt.c: Cleanup.
12016 * sysdeps/arm/fsetexcptflg.c: Cleanup.
12017 * sysdeps/arm/ftestexcept.c: Cleanup.
12018 * sysdeps/arm/get-rounding-mode.h: Cleanup.
12019 * sysdeps/arm/setfpucw.c: Cleanup.
12020
f63c86fe
WN
120212014-05-09 Will Newton <will.newton@linaro.org>
12022
12023 * sysdeps/arm/armv7/strcmp.S: New file.
12024 * NEWS: Mention addition of ARMv7 optimized strcmp.
12025
7a1a51b5
RM
120262014-05-08 Roland McGrath <roland@hack.frob.com>
12027
95afbbe5
RM
12028 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
12029 look for %.ac rather than %.in.
12030
12031 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
12032 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
12033 * sysdeps/mach/hurd/configure: Regenerated.
12034 * sysdeps/unix/sysv/linux/configure: Regenerated.
12035
7a1a51b5
RM
12036 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
12037
5057ad3b
SE
120382014-05-07 Steve Ellcey <sellcey@mips.com>
12039
12040 [BZ# 16922]
12041 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
12042 (LONG_SUB): Ditto.
12043 (PTR_SUB): Ditto.
12044
8dc97517
AS
120452014-05-07 Andreas Schwab <schwab@suse.de>
12046
12047 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
12048 when skipping over non-matching result from nscd.
12049
ce0c5b8f
OB
120502014-05-07 Ondřej Bílka <neleai@seznam.cz>
12051
12052 [BZ #16876]
12053 * nptl/sockperf.c (client): Check socket return value.
8dc97517 12054
a1189263
OB
12055 [BZ #16877]
12056 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
12057 nscd security class.
ce0c5b8f 12058
0f58d252
RM
120592014-05-06 Roland McGrath <roland@hack.frob.com>
12060
12061 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
12062 * sysdeps/arm/unwind.h: ... here.
12063
83df9ad0
AJ
120642014-05-06 Aurelien Jarno <aurelien@aurel32.net>
12065
ce0c5b8f
OB
12066 [BZ# 16916]
12067 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
12068 Define.
83df9ad0 12069
f360f94a
VR
120702014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12071
12072 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
12073 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
12074 multiarch strncpy for PPC64.
12075 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
12076 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
12077 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
12078 multiarch optimizations.
12079 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12080 (__libc_ifunc_impl_list): Likewise.
12081 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
12082 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
12083 multiarch stpncpy for PPC64.
12084 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
12085 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
12086
978a41c3
AS
120872014-05-06 Andreas Schwab <schwab@suse.de>
12088
12089 [BZ #16912]
12090 * gmon/mcount.c (_MCOUNT_DECL): Use
12091 atomic_compare_and_exchange_bool_acq instead of
12092 catomic_compare_and_exchange_bool_acq.
12093
eb1ed03d
RM
120942014-05-05 Roland McGrath <roland@hack.frob.com>
12095
fe658845
RM
12096 * elf/Makefile (others, install-bin): Remove pldd.
12097 (pldd-modules): Variable removed.
12098 ($(objpfx)pldd): Target removed.
12099 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
12100 (others, install-bin): Append pldd here.
12101 ($(objpfx)pldd): New target.
12102
eb1ed03d
RM
12103 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
12104 to 0, so the first #if test emitted later doesn't see it undefined.
12105 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
12106 * sysdeps/gnu/errlist.c: Regenerated.
12107
19c4bec0
AZ
121082014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12109
12110 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
12111 [libc_hidden_builtin_def]: Define to empty value.
12112 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
12113 [libc_hidden_builtin_def]: Likewise.
12114 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
12115 [libc_hidden_builtin_def]: Likewise.
12116 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
12117 [libc_hidden_builtin_def]: Likewise.
12118 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
12119 __redirect_memcpy and define ifunc as default hidden symbol.
12120 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
12121 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
12122
7776e669
AC
121232014-05-04 Adam Conrad <adconrad@0c3.net>
12124
12125 * locale/iso-4217.def: Reintroduce XDR currency.
12126
d69aeb12
AM
121272014-05-04 Allan McRae <allan@archlinux.org>
12128
12129 * po/eo.po: Update Esperanto translation from translation project.
12130
8f1df5cf
CD
121312014-05-02 Carlos O'Donell <carlos@redhat.com>
12132
12133 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
12134 and FEATURE_INDEX_MAX to 1.
12135 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
12136
13e402e7
SE
121372014-05-01 Steve Ellcey <sellcey@mips.com>
12138
12139 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
12140 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
12141 * iconvdata/big5.c (ONE_DIRECTION): Define.
12142 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
12143 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
12144 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
12145 * iconvdata/cp932.c (ONE_DIRECTION): Define.
12146 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
12147 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
12148 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
12149 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
12150 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
12151 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
12152 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
12153 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
12154 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
12155 * iconvdata/gbk.c (ONE_DIRECTION): Define.
12156 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
12157 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
12158 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
12159 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
12160 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
12161 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
12162 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
12163 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
12164 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
12165 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
12166 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
12167 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
12168 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
12169 * iconvdata/iso646.c (ONE_DIRECTION): Define.
12170 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
12171 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
12172 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
12173 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
12174 * iconvdata/johab.c (ONE_DIRECTION): Define.
12175 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
12176 * iconvdata/sjis.c (ONE_DIRECTION): Define.
12177 * iconvdata/t.61.c (ONE_DIRECTION): Define.
12178 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
12179 * iconvdata/tscii.c (ONE_DIRECTION): Define.
12180 * iconvdata/uhc.c (ONE_DIRECTION): Define.
12181 * iconvdata/unicode.c (ONE_DIRECTION): Define.
12182 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
12183 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
12184 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
12185
c727f032
RM
121862014-05-01 Roland McGrath <roland@hack.frob.com>
12187
8f2f08d0
RM
12188 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
12189 (_IO_JUMPS_OFFSET): Define to 0.
12190
c727f032
RM
12191 * nptl/sysdeps/pthread/bits/libc-lock.h
12192 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
12193 (__libc_lock_define_initialized_recursive): Always define using
12194 initializer. Modern compilers treat uninitialized (implicit zero) and
12195 explicit zero initializers the same (i.e. put the datum in bss).
12196
a849e800
AS
121972014-05-01 Andreas Schwab <schwab@linux-m68k.org>
12198
12199 * nscd/nscd-client.h: Include <string.h>.
12200
5331255b
DM
122012014-05-01 David S. Miller <davem@davemloft.net>
12202
12203 [BZ #16885]
12204 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
12205 multiple zero bytes exist at the end of a string.
12206 Reported by Aurelien Jarno <aurelien@aurel32.net>
12207
12208 * string/test-strcmp.c (check): Add explicit test for situations where
12209 there are multiple zero bytes after the first.
12210
4fdfe821
AS
122112014-05-01 Andreas Schwab <schwab@linux-m68k.org>
12212
12213 [BZ #16890]
12214 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
12215 when compiling wprintf.
12216 * stdio-common/tstdiomisc.c (t3): New function.
12217 (main): Call it.
12218
0cdddc25
SE
122192014-05-01 Steve Ellcey <sellcey@mips.com>
12220
12221 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
12222 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
12223 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
12224 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
12225
6426d77e
SE
122262014-05-01 Steve Ellcey <sellcey@mips.com>
12227
12228 * stdlib/longlong.h: Updated from GCC.
12229
6d96f5e4
WN
122302014-05-01 Will Newton <will.newton@linaro.org>
12231 Bernard Ogden <bernie.ogden@linaro.org>
12232
7470db0c
WN
12233 * NEWS: Update fixed bug list.
12234
6d96f5e4
WN
12235 [BZ #15119]
12236 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
12237
211d653c
DM
122382014-04-30 David S. Miller <davem@davemloft.net>
12239
4fa262fa
DM
12240 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
12241 (libc_feholdexcept_setround_sparc_ctx): New function.
12242 (libc_fesetenv_sparc_ctx): Likewise.
12243 (libc_feupdateenv_sparc_ctx): Likewise.
12244 (libc_feholdsetround_sparc_ctx): Likewise.
12245 (libc_feholdexcept_setround_ctx): Define.
12246 (libc_feholdexcept_setroundf_ctx): Likewise.
12247 (libc_feholdexcept_setroundl_ctx): Likewise.
12248 (libc_fesetenv_ctx): Likewise.
12249 (libc_fesetenvf_ctx): Likewise.
12250 (libc_fesetenvl_ctx): Likewise.
12251 (libc_feupdateenv_ctx): Likewise.
12252 (libc_feupdateenvf_ctx): Likewise.
12253 (libc_feupdateenvl_ctx): Likewise.
12254 (libc_feresetround_ctx): Likewise.
12255 (libc_feresetroundf_ctx): Likewise.
12256 (libc_feresetroundl_ctx): Likewise.
12257 (libc_feholdsetround_ctx): Likewise.
12258 (libc_feholdsetroundf_ctx): Likewise.
12259 (libc_feholdsetroundl_ctx): Likewise.
12260
1d3d93ef
DM
12261 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12262 with __USE_GNU instead of XOPEN cpp guards.
12263
8aa583c3
DM
12264 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
12265 0.
12266
211d653c
DM
12267 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12268 with XOPEN cpp guards.
12269
60c8f1f6
JB
122702014-04-30 Julian Brown <julian@codesourcery.com>
12271
12272 [BZ #16888]
12273 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
12274 handling.
12275
9a461d46
JM
122762014-04-30 Joseph Myers <joseph@codesourcery.com>
12277
d0f5b3f8
JM
12278 [BZ #9894]
12279 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
12280 Change to 2.6.32.
12281 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
12282 * sysdeps/unix/sysv/linux/configure: Regenerated.
12283 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
12284 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
12285 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
12286 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
12287 * README: Update reference to required Linux kernel version.
12288 * manual/install.texi (Linux): Update reference to required Linux
12289 kernel headers version.
12290 * INSTALL: Regenerated.
12291
9a461d46
JM
12292 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
12293 header inclusion.
12294 [POSIX] (limits.h): Likewise.
12295 [POSIX] (math.h): Likewise.
12296 [POSIX] (sys/wait.h): Likewise.
12297 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
12298 function.
12299 [POSIX] (stddef.h): Do not allow header inclusion.
12300
1775babf
AZ
123012014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12302
57f41c40 12303 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 12304
8f630cca
YY
123052014-04-30 Yang Yingliang <yangyingliang@huawei.com>
12306
12307 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
12308 Return immediately after lll_futex_wake.
12309
1cdeb237
SP
123102014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12311
bc8f194c
SP
12312 [BZ #16791]
12313 * nscd/nscd-client.h (datahead_init_common): Initialize entire
12314 structure.
12315 (datahead_init_pos): Call datahead_init_common early.
12316 (datahead_init_neg): Likewise.
12317
1cdeb237
SP
12318 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
12319 datahead_init_neg): New functions.
12320 * nscd/aicache.c (addhstaiX): Use them.
12321 * nscd/grpcache.c (cache_addgr): Likewise.
12322 * nscd/hstcache.c (cache_addhst): Likewise.
12323 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12324 * nscd/netgroupcache.c (do_notfound): Likewise.
12325 (addgetnetgrentX): Likewise.
12326 (addinnetgrX): Likewise.
12327 * nscd/pwdcache.c (cache_addpw): Likewise.
12328 * nscd/servicescache.c (cache_addserv): Likewise.
12329
16b293a7
SP
123302014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12331 Atsushi Onoe <atsushi@onoe.org>
12332
12333 [BZ #14308]
12334 [BZ #12994]
12335 [BZ #13651]
12336 * resolv/res_query.c (__libc_res_nsearch): Return if at least
12337 one response is valid.
12338 * resolv/res_send.c (send_dg): Check for validity of other
12339 response if the current response is a referral.
12340
a28a9b94
SE
123412014-04-29 Steve Ellcey <sellcey@mips.com>
12342
12343 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
12344
2ca180e9
SL
123452014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
12346
12347 [BZ #16823]
12348 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
12349 Always divide by positive zero when computing -Inf result.
12350 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
12351 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
12352
18f2945a
AZ
123532014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12354
12355 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
12356 FPSCR if value do not change.
12357 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12358 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
12359 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
12360 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12361 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
12362 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
12363 function.
12364
5abebba4
CD
123652014-05-29 Carlos O'Donell <carlos@systemhalted.org>
12366
12367 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
12368 * sysdeps/unix/sysv/linux/hppa: Move directory from
12369 ports/systeps/unix/sysv/linux/hppa.
12370 * README: Update listing for hppa-*-linux-gnu.
12371
f7ed60c2
OB
123722014-04-28 Ondřej Bílka <neleai@seznam.cz>
12373
fff763a5
OB
12374 [BZ #16754]
12375 * manual/stdio.texi (Hook functions): Fix types of stream hook
12376 functions.
f7ed60c2
OB
12377 [BZ #16854]
12378 * socket/sys/socket.h: Fix typo in comment.
12379
df639d73
WD
123802014-04-28 Wilco <wdijkstr@arm.com>
12381
f7ed60c2 12382 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
12383 * sysdeps/arm/math_private.h: New file.
12384 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
12385
48332d82
L
123862014-04-25 H.J. Lu <hongjiu.lu@intel.com>
12387
12388 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
12389 with __int128_t.
12390 (La_x86_64_retval): Likewise.
12391
e5e0d9a4
IB
123922014-04-24 Ian Bolton <ian.bolton@arm.com>
12393
12394 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
12395 fpsr if value didn't change.
12396 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
12397 to fpcr if value didn't change.
12398 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
12399 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
12400 fpsr or fpcr if value didn't change.
12401 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
12402 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
12403 fpcr if value didn't change.
12404 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
12405 to fpsr if value didn't change.
12406
bacc75f7
SP
124072014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12408
12409 * nptl/tst-sem3.c: Use test-skeleton.c
12410 (main): Rename to do_test. Use return instead of
12411 exit.
12412 * nptl/tst-sem4.c: Use test-skeleton.c
12413 (main): Rename to do_test.
12414
a059d359
DM
124152014-04-22 David S. Miller <davem@davemloft.net>
12416
12417 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
12418 (struct sigaction): New struct member __glibc_reserved0, change
12419 type of sa_flags to int.
12420
ea6c92f3
YZ
124212014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
12422
12423 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
12424 (COUNT_LEADING_ZEROS_0): Define for AArch64.
12425
766c4a36
SP
124262014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12427
12428 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
12429 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
12430
140cc7ab
VK
124312014-04-22 Will Newton <will.newton@linaro.org>
12432 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
12433
12434 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
12435 (__longjmp): Add longjmp and longjmp_target SystemTap
12436 probes.
12437 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
12438 (__sigsetjmp): Add setjmp SystemTap probe.
12439
c54e5cf7
CD
124402014-04-17 Carlos O'Donell <carlos@redhat.com>
12441
12442 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
12443 match manual order.
12444
75ffb047
AZ
124452014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12446
12447 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
12448
2cd925f7
AZ
12449 * sysdeps/powerpc/fpu/fenv_private.h
12450 (libc_feholdexcept_setroundl_ctx): Define to
12451 libc_feholdexcept_setround_ppc_ctx.
12452 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
12453 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
12454 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
12455 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
12456
39e6cd8d
IB
124572014-04-17 Ian Bolton <ian.bolton@arm.com>
12458
12459 * sysdeps/aarch64/math-tests.h: New file.
12460
f9281df9
SY
124612014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
12462
12463 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
12464 New.
12465 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12466 Check and set bit_AVX2_Usable.
12467 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
12468 macro.
12469 (bit_AVX2): Likewise.
12470 (index_AVX2_Usable): Likewise.
12471 (CPUID_AVX2): Likewise.
12472 (HAS_AVX2): Likewise.
12473
37d35007
WN
124742014-04-17 Will Newton <will.newton@linaro.org>
12475
7c677662
WN
12476 * manual/setjmp.texi (System V contexts): Add note that
12477 calling setcontext on a context created by a call to a
12478 signal handler is undefined. Update text to note that
12479 setcontext from a signal handler is possible but not
12480 recommended.
12481
37d35007 12482 [BZ #16629]
e04a4e9d
WN
12483 * stdlib/tst-setcontext.c: Include signal.h.
12484 (main): Check that the signal stack before and
12485 after swapcontext is the same.
12486
37d35007
WN
12487 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
12488 Re-implement to restore registers in user code and avoid
12489 rt_sigreturn system call.
12490
423a7160
W
124912014-04-17 Wilco <wdijkstr@arm.com>
12492
12493 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
12494 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
12495 * math/test-fenv.c: Skip exception trap tests on targets which only
12496 support non-stop mode.
12497
bc93ab29
IB
124982014-04-17 Ian Bolton <ian.bolton@arm.com>
12499 Wilco Dijkstra <wilco.dijkstra@arm.com>
12500
12501 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
12502 (libc_feholdsetround_aarch64_ctx)
12503 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
12504 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
12505 (libc_feresetround_ctx, libc_feresetroundf_ctx)
12506 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
12507 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
12508 (libc_feresetround_noexl_ctx): Define.
12509
95fc5fa3
RH
125102014-04-16 Richard Henderson <rth@redhat.com>
12511
ddb04724
RH
12512 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
12513
d77c0899
RH
12514 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
12515 unwind tables.
12516
a3df56fc
RH
12517 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
12518 const from the non-libc, non-ldso copy.
12519
95fc5fa3
RH
12520 * sysdeps/alpha/libm-test-ulps: Regenerate.
12521
7e0b6763
IB
125222014-04-16 Ian Bolton <ian.bolton@arm.com>
12523 Wilco Dijkstra <wilco.dijkstra@arm.com>
12524
12525 * sysdeps/aarch64/fpu/math_private.h: New file.
12526
a9ea2e0c
MS
125272014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
12528
12529 * sysdeps/aarch64/libm-test-ulps: Regenerate.
12530
ea8ba7cd
IZ
125312014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
12532
7e54fd04 12533 [BZ #16275]
ea8ba7cd
IZ
12534 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
12535 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
12536 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
12537 Intel MPX bound registers before _dl_profile_fixup.
12538 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
12539 registers after _dl_profile_fixup. Save and restore bound
12540 registers bnd0/bnd1 when calling _dl_call_pltexit.
12541 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
12542 (LR_BND_OFFSET): Likewise.
12543 (LRV_BND0_OFFSET): Likewise.
12544 (LRV_BND1_OFFSET): Likewise.
12545
9f2a4fbc
ST
125462014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12547
12548 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
12549 to...
12550 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
12551 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
12552 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
12553 fields.
9f2a4fbc 12554
fd15a59b
ST
125552014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12556
12557 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
12558
f19dfa0a
SL
125592014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
12560
12561 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12562
4fa8bc3b
SL
125632014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
12564
12565 [BZ #14770]
12566 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
12567 * sysdeps/s390/configure: Regenerate.
12568
8ea587db
SL
12569 [BZ #16824]
12570 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
12571 Set round-to-nearest internally to reduce error accumulation.
12572
aa5f0ff1
AM
125732014-04-16 Alan Modra <amodra@gmail.com>
12574
12575 [BZ #16740]
12576 [BZ #16619]
12577 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
12578 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 12579 * NEWS: Update fixed bug list.
aa5f0ff1 12580
bb9c256f
SP
125812014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12582
12583 * benchtests/Makefile: Depend on libraries in build directory.
12584 (bench-math): Separate out math tests.
12585 (bench-pthread): Separate out pthread tests.
12586 (bench): Include math and pthread tests.
12587
f737dfd0
CD
125882014-04-14 Carlos O'Donell <carlos@redhat.com>
12589
12590 [BZ #16831]
12591 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
12592 _dl_debug_initialize.
12593
0699f766
CD
12594 * configure.ac: Remove SELinux header check.
12595 * configure: Regenerate.
12596 * nscd/selinux.c (perms): Array of const char* to permission names.
12597 (nscd_request_avc_has_perm): Call security_deny_unknown to find
12598 default policy. Call string_to_security_class and string_to_av_perm to
12599 translate strings. Enforce default policy and call avs_has_perm with
12600 results of translated strings.
12601
809bd45f
DM
126022014-04-13 David S. Miller <davem@davemloft.net>
12603
12604 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12605
89e691f2
AM
126062014-04-12 Allan McRae <allan@archlinux.org>
12607
12608 [BZ #16838]
12609 * manual/string.texi (Collation Functions): Fix qsort argument
12610 order in example.
12611 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
12612
9c9daaeb
CM
126132014-04-11 Chris Metcalf <cmetcalf@tilera.com>
12614
12615 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
12616 Make the test a no-op if there are no exceptions defined.
12617
95561fb9
PP
126182014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
12619
fe8d072c 12620 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
12621 enable-hardcoded-path-in-tests
12622
970c602a
WN
126232014-04-11 Will Newton <will.newton@linaro.org>
12624
12625 * benchtests/Makefile (extra-objs): Add json-lib.o.
12626 (bench-func): Tidy up JSON output.
12627 * benchtests/bench-skeleton.c: Include json-lib.h.
12628 (main): Use JSON library functions to do output of
12629 benchmark results.
12630 * benchtests/bench-timing-type.c (main): Output the
12631 timing type simply, leaving formatting to the user.
12632 * benchtests/json-lib.c: New file.
12633 * benchtests/json-lib.h: Likewise.
12634
36875b06
TR
126352014-04-11 Torvald Riegel <triegel@redhat.com>
12636
12637 [BZ #15215]
12638 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
12639 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
12640 memory barriers. Add comments.
12641 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
12642 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
12643 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
12644 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
12645 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
12646 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
12647
579db35a
SL
126482014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
12649
12650 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
12651 * sysdeps/s390/s390-64/configure.ac: ... this ...
12652 * sysdeps/s390/configure.ac: ... to here.
12653 * sysdeps/s390/s390-32/configure: Delete file.
12654 * sysdeps/s390/s390-64/configure: Delete file.
12655 * sysdeps/s390/configure: Regenerate.
12656
c12e9f37
JAPH
126572014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
12658
12659 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
12660
439bda32
WN
126612014-04-11 Will Newton <will.newton@linaro.org>
12662
12663 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
12664 to zero if it is not defined elsewhere. (mtrim): Test
12665 the value of MALLOC_DEBUG with #if rather than #ifdef.
12666
6a5d6ea1
TR
126672014-04-10 Torvald Riegel <triegel@redhat.com>
12668
12669 * benchtests/pthread_once-inputs: New file.
12670 * benchtests/pthread_once-source.c: New file.
12671 * benchtests/README: Update documentation.
12672
a4c75cfd
IZ
126732014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
12674 H.J. Lu <hongjiu.lu@intel.com>
12675
7e54fd04 12676 [BZ #16275]
a4c75cfd
IZ
12677 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
12678 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
12679 * sysdeps/x86_64/configure: Regenerated.
12680 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
12681 macro.
12682 (REGISTER_SAVE_RAX): Likewise.
12683 (REGISTER_SAVE_RCX): Likewise.
12684 (REGISTER_SAVE_RDX): Likewise.
12685 (REGISTER_SAVE_RSI): Likewise.
12686 (REGISTER_SAVE_RDI): Likewise.
12687 (REGISTER_SAVE_R8): Likewise.
12688 (REGISTER_SAVE_R9): Likewise.
12689 (REGISTER_SAVE_BND0): Likewise.
12690 (REGISTER_SAVE_BND1): Likewise.
12691 (REGISTER_SAVE_BND2): Likewise.
12692 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
12693 bound registers when calling _dl_fixup.
12694
27822ce6
AZ
126952014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12696
12697 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
12698 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
12699 of its definition.
27822ce6
AZ
12700 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
12701 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
12702 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
12703 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
12704 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
12705 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
12706 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
12707
a88ddc90
PTB
127082014-04-09 Peter Brett <peter@peter-b.co.uk>
12709
12710 [BZ #15514]
12711 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
12712 pathconf(_PC_NAME_MAX).
12713
01f8eac2
AZ
127142014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12715
12716 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
12717 Remove macro usage.
12718 (__PTHREAD_SPINS): Move definition to ...
12719 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12720 (__PTHREAD_SPINS): ... here.
12721 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12722 (__PTHREAD_SPIN): Likewise.
12723 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
12724 (__PTHREAD_SPIN): Likewise.
12725 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
12726 (__PTHREAD_SPIN): Likewise.
12727 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
12728 (__PTHREAD_SPIN): Likewise.
12729 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
12730 (__PTHREAD_SPIN): Likewise.
12731 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
12732 (__PTHREAD_SPIN): Likewise.
12733 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
12734 (__PTHREAD_SPIN): Likewise.
12735 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
12736 (__PTHREAD_SPIN): Likewise.
12737 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
12738 (__PTHREAD_SPIN): Likewise.
12739 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
12740 (__PTHREAD_SPIN): Likewise.
12741 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
12742 (__PTHREAD_SPIN): Likewise.
12743 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
12744 (__PTHREAD_SPIN): Likewise.
12745
de21c33c
AZ
12746 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
12747 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
12748 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
12749 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
12750 imply folder.
12751 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
12752 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
12753 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
12754 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
12755 correct imply path.
12756 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
12757 strlen symbol for non multi-arch builds.
12758 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
12759 missing hidden_def and weak_alias.
12760
862c472e
CD
127612014-04-08 Carlos O'Donell <carlos@redhat.com>
12762
12763 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
12764
8667f90e
WN
127652014-04-07 Will Newton <will.newton@linaro.org>
12766
12767 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
12768 and contents. [!_LIBC] Remove #ifndef and contents.
12769 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
12770 * string/memccpy.c (__memccpy): Use ANSI prototype.
12771 * string/memfrob.c (memfrob): Likewise.
12772 * string/strcoll.c (STRCOLL): Likewise.
12773 * string/strlen.c (strlen): Likewise.
12774 * string/strtok.c (STRTOK): Likewise.
12775 * string/strcat.c: Remove unused #include of memcopy.h.
12776 (strcat): Use ANSI prototype.
12777 * string/strchr.c: Remove unused #include of memcopy.h.
12778 (strchr): Use ANSI prototype.
12779 * string/strcmp.c: Remove unused #include of memcopy.h.
12780 (strcmp): Use ANSI prototype.
12781 * string/strcpy.c: Remove unused #include of memcopy.h.
12782 (strcpy): Use ANSI prototype.
12783
7ffa9423
AZ
127842014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12785
12786 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
12787 * config.make.in (config-extra-cppflags): Set it from
12788 libc_extra_cppflags.
12789 * configure.ac (libc_extra_cflags): Make it accumulate over
12790 configure fragments.
12791 (libc_extra_cppflags): New flag.
12792 * configure. Regenerate.
12793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
12794 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
12795 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
12796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
12797
8bd70862
AZ
12798 [BZ #16815]
12799 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
12800 result for FE_DOWNWARD rounding mode.
12801 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
12802 Likewise.
12803 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12804
d42f3448
CM
128052014-04-04 Chris Metcalf <cmetcalf@tilera.com>
12806
12807 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
12808 in function argument name.
12809
1c21d115
DS
128102014-04-03 David Svoboda <svoboda@cert.org>
12811
12812 [BZ #5666]
12813 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
12814 explicitly.
12815
fcccd512
RM
128162014-04-03 Roland McGrath <roland@hack.frob.com>
12817
12818 * elf/dl-unmap-segments.h: New file.
12819 * sysdeps/generic/ldsodefs.h
12820 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
12821 * elf/dl-close.c: Include <dl-unmap-segments.h>.
12822 * elf/dl-fptr.c: Likewise.
12823 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
12824 * sysdeps/aarch64/tlsdesc.c: Likewise.
12825 * sysdeps/arm/tlsdesc.c: Likewise.
12826 * sysdeps/i386/tlsdesc.c: Likewise.
12827 * sysdeps/tile/dl-runtime.c: Likewise.
12828 * sysdeps/x86_64/tlsdesc.c: Likewise.
12829 * elf/dl-load.h: New file.
12830 * elf/dl-load.c: Include it.
12831 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
12832 Macros moved to dl-load.h.
12833 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
12834 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
12835 Use _dl_unmap_segments in place of __munmap.
12836 Break out segment-mapping loop into ...
12837 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
12838
f6488e2b
WN
128392014-04-03 Will Newton <will.newton@linaro.org>
12840
12841 * elf/dl-lookup.c (do_lookup_x): Remove comment
12842 referring to nested function and move variable
12843 declarations down to before first use.
12844
6f05bafe
JM
128452014-04-02 Joseph Myers <joseph@codesourcery.com>
12846
a84e78c8
JM
12847 [BZ #16799]
12848 [BZ #16800]
12849 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
12850 with 0 numerator.
12851 * math/s_catanf.c (__catanf): Likewise.
12852 * math/s_catanh.c (__catanh): Likewise.
12853 * math/s_catanhf.c (__catanhf): Likewise.
12854 * math/s_catanhl.c (__catanhl): Likewise.
12855 * math/s_catanl.c (__catanl): Likewise.
12856 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
12857 by positive zero when computing -Inf result.
12858 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
12859 (catanh_test): Likewise.
12860 * sysdeps/i386/fpu/libm-test-ulps: Update.
12861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12862
6f05bafe
JM
12863 [BZ #16789]
12864 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
12865 instead of using underflowing value in computing result.
12866 * math/s_clog10.c (__clog10): Likewise.
12867 * math/s_clog10f.c (__clog10f): Likewise.
12868 * math/s_clog10l.c (__clog10l): Likewise.
12869 * math/s_clogf.c (__clogf): Likewise.
12870 * math/s_clogl.c (__clogl): Likewise.
12871 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
12872 (clog10_test): Likewise.
12873 * sysdeps/i386/fpu/libm-test-ulps: Update.
12874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12875
b0abbc21
AM
128762014-04-02 Alan Modra <amodra@gmail.com>
12877
12878 [BZ #16739]
12879 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
12880 output when value is near a power of two. Use int64_t for lx and
12881 remove casts. Use decimal rather than hex exponent constants.
12882 Don't use long double multiplication when double will suffice.
12883 * math/libm-test.inc (nextafter_test_data): Add tests.
12884 * NEWS: Add 16739 and 16786 to bug list.
12885
af6b1797
AM
12886 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
12887
483818d7
AM
12888 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
12889
f6c55796
WN
128902014-04-01 Will Newton <will.newton@linaro.org>
12891
12892 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
12893 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
12894
13f7fe35
FW
128952014-04-01 Florian Weimer <fweimer@redhat.com>
12896
12897 [BZ #13347]
12898 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
12899 * nptl/tst-setuid2.c: New file.
12900 * nptl/Makefile (xtests): Add tst-setuid2.
12901
c859b32e
AM
129022014-04-01 Alan Modra <amodra@gmail.com>
12903
12904 [BZ #16786]
12905 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
12906
54fa2475
JM
129072014-03-31 Joseph Myers <joseph@codesourcery.com>
12908
8795b4a4
JM
12909 [BZ #6803]
12910 [BZ #6804]
12911 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
12912 set errno as appropriate.
12913 * math/w_scalbf.c (__scalbf): Likewise.
12914 * math/w_scalbl.c (__scalbl): Likewise.
12915 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
12916 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
12917 * math/libm-test.inc (scalb_test_data): Add errno expectations.
12918 Add more NaN tests.
12919
54fa2475
JM
12920 [BZ #16349]
12921 * math/w_atan2.c: Include <errno.h>.
12922 (__atan2): Set errno for result underflowing to zero.
12923 * math/w_atan2f.c: Include <errno.h>.
12924 (__atan2f): Set errno for result underflowing to zero.
12925 * math/w_atan2l.c: Include <errno.h>.
12926 (__atan2l): Set errno for result underflowing to zero.
12927 * math/auto-libm-test-in: Don't allow missing errno for some atan2
12928 tests.
12929 * math/auto-libm-test-out: Regenerated.
12930
757d9dd5
AZ
129312014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12932
12933 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
12934 Encode instruction correctly in little endian.
12935 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
12936 Likewise.
12937 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
12938 Likewise.
12939 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
12940 Likewise.
12941 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
12942 Likewise.
12943
d7a68734
JM
129442014-03-31 Joseph Myers <joseph@codesourcery.com>
12945
47c5adeb
JM
12946 [BZ #9894]
12947 * sysdeps/unix/sysv/linux/kernel-features.h
12948 [__sparc__ && !__arch64__ && !__sparc_v9__]
12949 (__ASSUME_SET_ROBUST_LIST): Do not define.
12950 [__sparc__ && !__arch64__ && !__sparc_v9__]
12951 (__ASSUME_FUTEX_LOCK_PI): Likewise.
12952 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
12953 Likewise.
12954 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12955 (__ASSUME_FUTEX_LOCK_PI): Undefine.
12956 (__ASSUME_REQUEUE_PI): Likewise.
12957 (__ASSUME_SET_ROBUST_LIST): Likewise.
12958 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12959 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
12960 Undefine.
12961 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12962 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
12963 Likewise.
12964 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
12965 Likewise.
12966 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
12967 Likewise.
12968 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12969 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
12970 Undefine.
12971 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
12972 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
12973 Likewise.
12974
d7a68734
JM
12975 [BZ #16648]
12976 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12977 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
12978 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
12979
c760f5c2
WN
129802014-03-31 Will Newton <will.newton@linaro.org>
12981
12982 * benchtests/Makefile (bench): Add ffs and ffsll to list
12983 of tests.
12984 * benchtests/ffs-inputs: New file.
12985 * benchtests/ffsll-inputs: Likewise.
12986
ea6029b1
JM
129872014-03-29 Joseph Myers <joseph@codesourcery.com>
12988
12989 [BZ #16770]
12990 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
12991 too large before casting to int.
12992 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
12993 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
12994 * math/libm-test.inc (scalb_test_data): Add more tests.
12995
cf806aff
SP
129962014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12997
56737508
SP
12998 * benchtests/Makefile (DETAILED_OPT): New make option.
12999 (bench-func): Run benchmark program with -d if DETAILED_OPT is
13000 set.
13001 * benchtests/bench-skeleton.c: Include stdbool.h.
13002 (main): Store and print timings per input.
13003 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
13004 member to each argument value.
13005 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
13006 (_print_arg_data): Initialize per-input timing to 0.
13007
cb5e4aad
SP
13008 * benchtests/Makefile (timing-type): New binary.
13009 (bench-clean): Also remove bench-timing-type.
13010 (bench): New target for timing-type.
13011 (bench-func): Print output in JSON format.
13012 * benchtests/bench-skeleton.c (main): Print output in JSON
13013 format.
13014 * benchtests/bench-timing-type.c: New file.
13015 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
13016 (TIMING_PRINT_STATS): Remove.
13017 * benchtests/scripts/bench.py (_print_arg_data): Store variant
13018 name separately.
13019
cf806aff
SP
13020 * benchtests/bench-modf.c: Remove.
13021 * benchtests/modf-inputs: New inputs file.
13022
289e0779
JM
130232014-03-28 Joseph Myers <joseph@codesourcery.com>
13024
13025 [BZ #16362]
13026 * math/s_clog10.c (M_PI_LOG10E): New macro.
13027 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
13028 imaginary parts are 0.
13029 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
13030 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
13031 imaginary parts are 0.
13032 * math/s_clog10l.c (M_PI_LOG10El): New macro.
13033 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
13034 imaginary parts are 0.
13035 * math/libm-test.inc (clog10_test_data): Update expected results
13036 for when real and imaginary parts are 0.
13037
277ae3f1
PP
130382014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
13039
13040 * elf/dl-load.c: Finish conversion of __builtin_expect into
13041 __glibc_{un}likely.
13042
03a7091f
JM
130432014-03-27 Joseph Myers <joseph@codesourcery.com>
13044
13045 [BZ #16348]
13046 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
13047 1+x for argument with exponent below -67.
13048 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
13049 Likewise.
13050 * math/auto-libm-test-in: Add more tests of exp.
13051 * math/auto-libm-test-out: Regenerated.
13052
ea7d8b95
SP
130532014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13054
dd3022d7
SP
13055 [BZ #16759]
13056 * inet/getnetgrent_r.c (get_nonempty_val): New function.
13057 (nscd_getnetgrent): Use it.
13058
ea7d8b95
SP
13059 [BZ #16760]
13060 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
13061 of stpcpy.
13062
df5b85da
AK
130632014-03-27 Andi Kleen <ak@linux.intel.com>
13064
57f41c40
AS
13065 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
13066 (lll_robust_lock, lll_cond_lock, lll_timedlock)
13067 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
13068 (lll_robust_unlock): Remove out of line section. Use cfi
13069 intrinsics.
df5b85da 13070 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
13071 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
13072 (lll_robust_lock, lll_cond_lock, lll_timedlock)
13073 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
13074 (lll_robust_unlock): Remove out of line section. Use cfi
13075 intrinsics.
df5b85da
AK
13076 (LLL_STUB_UNWIND_INFO*): Remove.
13077
fbd6b5a4
SP
130782014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13079
13080 [BZ #16758]
13081 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
13082 blank values.
13083
1b26b855
PP
130842014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
13085
13086 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
13087
9be36fb8
JM
130882014-03-26 Joseph Myers <joseph@codesourcery.com>
13089
13090 [BZ #16198]
13091 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
13092 fnstenv.
13093 * math/test-fenv-preserve.c: New file.
13094 * math/Makefile (tests): Add test-fenv-preserve.
13095
60a2f3c1
WN
130962014-03-26 Will Newton <will.newton@linaro.org>
13097
13098 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
13099
a5e5f1e2
RM
131002014-03-25 Roland McGrath <roland@hack.frob.com>
13101
13102 * scripts/versionlist.awk: Partition the version sets and emit all
13103 GLIBC_* (sorted) before all others (sorted).
13104
00f4012a
JM
131052014-03-25 Joseph Myers <joseph@codesourcery.com>
13106
13107 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
13108 GLIBC_2.2.5 version.
13109
7bc5a741
AZ
131102014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13111
13112 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
13113 calls.
13114
7578473b
AZ
13115 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
13116 previous change.
13117
f3f1dab3
AZ
13118 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13119
6da36183
AS
131202014-03-25 Andreas Schwab <schwab@suse.de>
13121
13122 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
13123 label to be used after in6ailist is initialized.
13124
f3f1dab3 131252014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 13126
7578473b 13127 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
13128 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13129
046651c1
JM
131302014-03-25 Joseph Myers <joseph@codesourcery.com>
13131
13132 [BZ #16357]
13133 [BZ #16599]
13134 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
13135 min_plus_half.
13136 (fp_formats): Update initializers.
13137 (init_fp_formats): Initialize new field.
13138 (output_for_one_input_case): Allow underflow for results up to
13139 min_plus_half.
13140 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
13141 * math/auto-libm-test-in: Don't mark some underflows from asin and
13142 atanh as spurious.
13143 * math/auto-libm-test-out: Regenerated.
13144 * sysdeps/i386/fpu/libm-test-ulps: Update.
13145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13146
003e49ed
AS
131472014-03-25 Andreas Schwab <schwab@suse.de>
13148
13149 * libio/Makefile (tst-ftell-partial-wide-ENV)
13150 (tst-ftell-active-handler-ENV): Define.
13151
de031874
SL
131522014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
13153
13154 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
13155
55a81e3b
PP
131562014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13157
13158 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
13159
f3426898
JM
131602014-03-24 Joseph Myers <joseph@codesourcery.com>
13161
13162 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
13163 * sysdeps/x86_64/fpu/multiarch/e_exp.c
13164 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13165
a42faf59
PP
131662014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13167
13168 [BZ #16634]
a42faf59 13169 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
13170 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
13171 (open_path): Change from boolean 'secure' to complete flag 'mode'
13172 (_dl_map_object): Adjust.
a42faf59
PP
13173 * elf/Makefile (tests): Add tst-dlopen-aout.
13174 * elf/tst-dlopen-aout.c: New test.
13175
50936127
SL
131762014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
13177
13178 [BZ #16714]
13179 * sysdeps/unix/sysv/linux/s390/bits/stat.h
13180 (struct stat): Rename member pad0 to __glibc_reserved0.
13181
26011b5c
SL
13182 [BZ #16712]
13183 * sysdeps/s390/s390-32/bits/wordsize.h
13184 (__WORDSIZE32_SIZE_ULONG): New define.
13185 * sysdeps/s390/s390-64/bits/wordsize.h
13186 (__WORDSIZE32_SIZE_ULONG): Likewise.
13187 * sysdeps/generic/stdint.h (SIZE_MAX):
13188 Define as UL if __WORDSIZE32_SIZE_ULONG.
13189
a2d86bf1
SL
13190 [BZ #16713]
13191 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
13192 (__glibc_reserved0): New variable.
13193 (sa_flags): Change type to int.
13194
78b6eebc
SL
13195 * posix/Makefile (before-compile): Use += before-compile instead
13196 of a :=.
13197
f1399b5a
SL
13198 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13199 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13200
a071766e
AS
132012014-03-20 Andreas Schwab <schwab@suse.de>
13202
13203 [BZ #16743]
13204 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
13205 non-matching result from nscd.
13206
27c673b8
SP
132072014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13208
13209 * scripts/bench.py: Moved to ...
13210 * benchtests/scripts/bench.py: ... here.
13211 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
13212
44152e4b
AS
132132014-03-24 Andreas Schwab <schwab@suse.de>
13214
13215 [BZ #16002]
13216 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
13217 alloca_account and account alloca use for struct in6ailist.
13218
b376a11a
JM
132192014-03-24 Joseph Myers <joseph@codesourcery.com>
13220
13221 [BZ #16284]
13222 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
13223 rounding mode to recompute results that overflow to infinity or
13224 underflow to zero.
13225 * math/auto-libm-test-in: Don't mark tests as expected to fail for
13226 bug 16284.
13227 * math/auto-libm-test-out: Regenerated.
13228 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
13229 (ccosh_test): Likewise.
13230 (csin_test_data): Use plus_oflow.
13231 (csin_test): Use ALL_RM_TEST.
13232 (csinh_test_data): Use plus_oflow.
13233 (csinh_test): Use ALL_RM_TEST.
13234 * sysdeps/i386/fpu/libm-test-ulps: Update.
13235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13236
f7be7376
JM
132372014-03-21 Joseph Myers <joseph@codesourcery.com>
13238
1ca2d03e
JM
13239 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
13240 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
13241 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
13242
f7be7376
JM
13243 [BZ #16731]
13244 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
13245 when x - 1 is zero.
13246 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
13247 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
13248 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
13249 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
13250 argument is 1.
13251 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
13252 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
13253 zero.
13254 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
13255 * sysdeps/i386/fpu/libm-test-ulps: Update.
13256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13257
fdf4534d
SP
132582014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13259
df26ea53
SP
13260 * scripts/bench.pl: Remove file.
13261 * scripts/bench.py: New benchmark script.
13262 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
13263 * benchtests/README: Mention python dependency.
13264 * scripts/pylintrc: New file.
13265 * scripts/pylint: New file.
13266
fdf4534d
SP
13267 * bits/mathdef.h: Use #ifdef instead of #if.
13268 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
13269 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13270 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
13271 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13272 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
13273 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13274
6f23d093
AZ
132752014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13276 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13277
13278 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
13279 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
13280 and strpbrk-ppc64 objects.
13281 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13282 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
13283 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
13284 multiarch strpbrk for POWER7.
13285 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
13286 multiarch strpbrk for PPC64.
13287 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
13288 ifunc selector.
13289 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
13290 strpbrk for POWER7.
13291
8c92dfff
JM
132922014-03-20 Joseph Myers <joseph@codesourcery.com>
13293
13294 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
13295 (atan_test): Likewise.
13296 (atanh_test_data): Use NO_TEST_INLINE for two tests.
13297 (atanh_test): Use ALL_RM_TEST.
13298 (atan2_test_data): Likewise.
13299 (cabs_test): Likewise.
13300 (cacosh_test): Likewise.
13301 (carg_test): Likewise.
13302 (casin_test): Likewise.
13303 (casinh_test): Likewise.
13304 (cbrt_test): Likewise.
13305 (csqrt_test): Likewise.
13306 (erf_test): Likewise.
13307 (erfc_test): Likewise.
13308 (pow10_test): Likewise.
13309 (exp2_test): Likewise.
13310 (hypot_test): Likewise.
13311 (j0_test): Likewise.
13312 (j1_test): Likewise.
13313 (lgamma_test): Likewise.
13314 (gamma_test): Likewise.
13315 (sincos_test): Likewise.
13316 (tanh_test): Likewise.
13317 (y0_test): Likewise.
13318 (y1_test): Likewise.
13319 * sysdeps/i386/fpu/libm-test-ulps: Update.
13320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13321
6eaf95cb
AZ
133222014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13323
a387428c
SP
13324 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
13325 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
13326 and strcspn-ppc64 objects.
13327 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13328 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
13329 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
13330 multiarch strcspn for POWER7.
13331 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
13332 multiarch strcspn for PPC64.
13333 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
13334 ifunc selector.
13335 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
13336 strcspn for POWER7.
13337
ae3a5dff
JM
133382014-03-20 Joseph Myers <joseph@codesourcery.com>
13339
13340 * math/gen-libm-test.pl (generate_testfile): Expect only function
13341 name as argument to AUTO_TESTS_* and pass results for all rounding
13342 modes to parse_args.
13343 (parse_auto_input): Separate inputs of automatic tests from
13344 outputs before storing in %auto_tests.
13345 * math/libm-test.inc (acos_test_data): Update call to
13346 AUTO_TESTS_f_f.
13347 (acos_test): Use ALL_RM_TEST.
13348 (acos_tonearest_test_data): Remove.
13349 (acos_test_tonearest): Likewise.
13350 (acos_towardzero_test_data): Likewise.
13351 (acos_test_towardzero): Likewise.
13352 (acos_downward_test_data): Likewise.
13353 (acos_test_downward): Likewise.
13354 (acos_upward_test_data): Likewise.
13355 (acos_test_upward): Likewise.
13356 (acosh_test_data): Update call to AUTO_TESTS_f_f.
13357 (asin_test_data): Likewise.
13358 (asin_test): Use ALL_RM_TEST.
13359 (asin_tonearest_test_data): Remove.
13360 (asin_test_tonearest): Likewise.
13361 (asin_towardzero_test_data): Likewise.
13362 (asin_test_towardzero): Likewise.
13363 (asin_downward_test_data): Likewise.
13364 (asin_test_downward): Likewise.
13365 (asin_upward_test_data): Likewise.
13366 (asin_test_upward): Likewise.
13367 (asinh_test_data): Update call to AUTO_TESTS_f_f.
13368 (atan_test_data): Likewise.
13369 (atanh_test_data): Likewise.
13370 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
13371 (cabs_test_data): Update call to AUTO_TESTS_c_f.
13372 (carg_test_data): Likewise.
13373 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
13374 (ccos_test_data): Update call to AUTO_TESTS_c_c.
13375 (ccosh_test_data): Likewise.
13376 (cexp_test_data): Likewise.
13377 (clog_test_data): Likewise.
13378 (clog10_test_data): Likewise.
13379 (cos_test_data): Update call to AUTO_TESTS_f_f.
13380 (cos_test): Use ALL_RM_TEST.
13381 (cos_tonearest_test_data): Remove.
13382 (cos_test_tonearest): Likewise.
13383 (cos_towardzero_test_data): Likewise.
13384 (cos_test_towardzero): Likewise.
13385 (cos_downward_test_data): Likewise.
13386 (cos_test_downward): Likewise.
13387 (cos_upward_test_data): Likewise.
13388 (cos_test_upward): Likewise.
13389 (cosh_test_data): Update call to AUTO_TESTS_f_f.
13390 (cosh_test): Use ALL_RM_TEST.
13391 (cosh_tonearest_test_data): Remove.
13392 (cosh_test_tonearest): Likewise.
13393 (cosh_towardzero_test_data): Likewise.
13394 (cosh_test_towardzero): Likewise.
13395 (cosh_downward_test_data): Likewise.
13396 (cosh_test_downward): Likewise.
13397 (cosh_upward_test_data): Likewise.
13398 (cosh_test_upward): Likewise.
13399 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
13400 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
13401 (ctan_test_data): Likewise.
13402 (ctan_test): Use ALL_RM_TEST.
13403 (ctan_tonearest_test_data): Remove.
13404 (ctan_test_tonearest): Likewise.
13405 (ctan_towardzero_test_data): Likewise.
13406 (ctan_test_towardzero): Likewise.
13407 (ctan_downward_test_data): Likewise.
13408 (ctan_test_downward): Likewise.
13409 (ctan_upward_test_data): Likewise.
13410 (ctan_test_upward): Likewise.
13411 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
13412 (ctanh_test): Use ALL_RM_TEST.
13413 (ctanh_tonearest_test_data): Remove.
13414 (ctanh_test_tonearest): Likewise.
13415 (ctanh_towardzero_test_data): Likewise.
13416 (ctanh_test_towardzero): Likewise.
13417 (ctanh_downward_test_data): Likewise.
13418 (ctanh_test_downward): Likewise.
13419 (ctanh_upward_test_data): Likewise.
13420 (ctanh_test_upward): Likewise.
13421 (erf_test_data): Update call to AUTO_TESTS_f_f.
13422 (erfc_test_data): Likewise.
13423 (exp_test_data): Likewise.
13424 (exp_test): Use ALL_RM_TEST.
13425 (exp_tonearest_test_data): Remove.
13426 (exp_test_tonearest): Likewise.
13427 (exp_towardzero_test_data): Likewise.
13428 (exp_test_towardzero): Likewise.
13429 (exp_downward_test_data): Likewise.
13430 (exp_test_downward): Likewise.
13431 (exp_upward_test_data): Likewise.
13432 (exp_test_upward): Likewise.
13433 (exp10_test_data): Update call to AUTO_TESTS_f_f.
13434 (exp10_test): Use ALL_RM_TEST.
13435 (exp10_tonearest_test_data): Remove.
13436 (exp10_test_tonearest): Likewise.
13437 (exp10_towardzero_test_data): Likewise.
13438 (exp10_test_towardzero): Likewise.
13439 (exp10_downward_test_data): Likewise.
13440 (exp10_test_downward): Likewise.
13441 (exp10_upward_test_data): Likewise.
13442 (exp10_test_upward): Likewise.
13443 (exp2_test_data): Update call to AUTO_TESTS_f_f.
13444 (expm1_test_data): Likewise.
13445 (expm1_test): Use ALL_RM_TEST.
13446 (expm1_tonearest_test_data): Remove.
13447 (expm1_test_tonearest): Likewise.
13448 (expm1_towardzero_test_data): Likewise.
13449 (expm1_test_towardzero): Likewise.
13450 (expm1_downward_test_data): Likewise.
13451 (expm1_test_downward): Likewise.
13452 (expm1_upward_test_data): Likewise.
13453 (expm1_test_upward): Likewise.
13454 (fma_test_data): Update call to AUTO_TESTS_fff_f.
13455 (fma_test): Use ALL_RM_TEST.
13456 (fma_towardzero_test_data): Remove.
13457 (fma_test_towardzero): Likewise.
13458 (fma_downward_test_data): Likewise.
13459 (fma_test_downward): Likewise.
13460 (fma_upward_test_data): Likewise.
13461 (fma_test_upward): Likewise.
13462 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
13463 (j0_test_data): Update call to AUTO_TESTS_f_f.
13464 (j1_test_data): Likewise.
13465 (jn_test_data): Update call to AUTO_TESTS_if_f.
13466 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
13467 (log_test_data): Update call to AUTO_TESTS_f_f.
13468 (log10_test_data): Likewise.
13469 (log1p_test_data): Likewise.
13470 (log2_test_data): Likewise.
13471 (pow_test_data): Update call to AUTO_TESTS_ff_f.
13472 (pow_tonearest_test_data): Likewise.
13473 (sin_test_data): Update call to AUTO_TESTS_f_f.
13474 (sin_test): Use ALL_RM_TEST.
13475 (sin_tonearest_test_data): Remove.
13476 (sin_test_tonearest): Likewise.
13477 (sin_towardzero_test_data): Likewise.
13478 (sin_test_towardzero): Likewise.
13479 (sin_downward_test_data): Likewise.
13480 (sin_test_downward): Likewise.
13481 (sin_upward_test_data): Likewise.
13482 (sin_test_upward): Likewise.
13483 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
13484 (sinh_test_data): Update call to AUTO_TESTS_f_f.
13485 (sinh_test): Use ALL_RM_TEST.
13486 (sinh_tonearest_test_data): Remove.
13487 (sinh_test_tonearest): Likewise.
13488 (sinh_towardzero_test_data): Likewise.
13489 (sinh_test_towardzero): Likewise.
13490 (sinh_downward_test_data): Likewise.
13491 (sinh_test_downward): Likewise.
13492 (sinh_upward_test_data): Likewise.
13493 (sinh_test_upward): Likewise.
13494 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
13495 (sqrt_test): Use ALL_RM_TEST.
13496 (sqrt_tonearest_test_data): Remove.
13497 (sqrt_test_tonearest): Likewise.
13498 (sqrt_towardzero_test_data): Likewise.
13499 (sqrt_test_towardzero): Likewise.
13500 (sqrt_downward_test_data): Likewise.
13501 (sqrt_test_downward): Likewise.
13502 (sqrt_upward_test_data): Likewise.
13503 (sqrt_test_upward): Likewise.
13504 (tan_test_data): Update call to AUTO_TESTS_f_f.
13505 (tan_test): Use ALL_RM_TEST.
13506 (tan_tonearest_test_data): Remove.
13507 (tan_test_tonearest): Likewise.
13508 (tan_towardzero_test_data): Likewise.
13509 (tan_test_towardzero): Likewise.
13510 (tan_downward_test_data): Likewise.
13511 (tan_test_downward): Likewise.
13512 (tan_upward_test_data): Likewise.
13513 (tan_test_upward): Likewise.
13514 (tanh_test_data): Update call to AUTO_TESTS_f_f.
13515 (tgamma_test_data): Likewise.
13516 (y0_test_data): Likewise.
13517 (y1_test_data): Likewise.
13518 (yn_test_data): Update call to AUTO_TESTS_if_f.
13519 (main): Do not call removed functions.
13520
d71aeee8
JM
135212014-03-19 Joseph Myers <joseph@codesourcery.com>
13522
13523 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
13524 (ldexp_test_data): Remove.
13525 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
13526 scalbn_test_data.
13527 (scalb_test): Use ALL_RM_TEST.
13528
baaf1ded
AS
135292014-03-19 Andreas Schwab <schwab@suse.de>
13530
13531 * nscd/nscd.service: Also invalidate netgroup cache on reload.
13532
b1115e91
JM
135332014-03-19 Joseph Myers <joseph@codesourcery.com>
13534
13535 [BZ #16649]
13536 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13537 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
13538 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
13539 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13540 (__ASSUME_PREADV): Undefine.
13541 (__ASSUME_PWRITEV): Likewise.
13542
0283ecca
RM
135432014-03-18 Roland McGrath <roland@hack.frob.com>
13544
7d375303
RM
13545 * bits/mman-linux.h: Add comment about non-Linux use.
13546 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
13547 bits/mman-linux.h resting place.
13548
0283ecca
RM
13549 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
13550 * bits/mman-linux.h: ... here.
13551
aebe1003
AZ
135522014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13553
13554 * conform/conformtest.pl: Add standard definition when calling C
13555 preprocessor on data files.
13556 (checknamespace): Remove unused variable.
13557
b29b6bb8
JM
135582014-03-18 Joseph Myers <joseph@codesourcery.com>
13559
13560 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
13561 minus_oflow, plus_uflow and minus_uflow in expected results.
13562 * math/libm-test.inc (scalbn_test_data): Add more tests of
13563 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
13564 minus_uflow.
13565 (scalbn_test): Use ALL_RM_TEST.
13566 (scalbln_test_data): Add more tests of negative arguments. Use
13567 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
13568 (scalbln_test): Use ALL_RM_TEST.
13569
c8f8fa15
RM
135702014-03-18 Roland McGrath <roland@hack.frob.com>
13571
13572 * scripts/abilist.awk: Ignore symbols marked with .hidden.
13573
fede7a5f
WN
135742014-03-18 Will Newton <will.newton@linaro.org>
13575
13576 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
13577 inaccurate comment.
13578
80cf0a58
JM
135792014-03-18 Joseph Myers <joseph@codesourcery.com>
13580
13581 * Makerules [!subdir] (check-abi): Exit with error status if a
13582 test failed.
13583
b3620862
JM
135842014-03-17 Joseph Myers <joseph@codesourcery.com>
13585
13586 * math/libm-test.inc (nearbyint_test_data): Include all tests used
13587 for rint. Include results for all rounding modes.
13588 (nearbyint_test): Use ALL_RM_TEST.
13589 (rint_test_data): Include all tests used for nearbyint.
13590
788bba36
WN
135912014-03-17 Will Newton <will.newton@linaro.org>
13592
04ec140a
WN
13593 * nptl/sysdeps/pthread/pthread.h: Revert previous
13594 change.
13595
7579d8d5
WN
13596 * sysdeps/generic/ldsodefs.h: Revert previous
13597 change.
13598
c15cf13a
WN
13599 * libio/genops.c: Revert previous change.
13600 * libio/libioP.h: Likewise.
13601 * stdio-common/vfprintf.c: Likewise.
13602
d0ac1324
WN
13603 * sysdeps/generic/math_private.h: Revert previous
13604 change.
13605
9290130a
WN
13606 * sysdeps/generic/math_private.h: Check whether
13607 HAVE_RM_CTX is defined with #ifdef rather
13608 than #if.
13609
afb466fc
WN
13610 * argp/argp-fmtstream.h: Check whether
13611 __STRICT_ANSI__ is defined with #ifdef rather
13612 than #if.
13613 * argp/argp.h: Likewise.
13614
f7efd7c3
WN
13615 * libio/genops.c: Check whether
13616 _IO_JUMPS_OFFSET is defined with #ifdef rather
13617 than #if.
13618 * libio/libioP.h: Likewise.
13619 * stdio-common/vfprintf.c: Likewise.
13620
53f1bed3
WN
13621 * sysdeps/generic/ldsodefs.h: Check whether
13622 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
13623 than #if.
13624
788bba36
WN
13625 * nptl/sysdeps/pthread/pthread.h: Check
13626 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
13627 its value.
13628
fcd89ebe
SP
136292014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13630
ae42bbc5
SP
13631 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
13632 setting O_APPEND.
13633 * libio/tst-ftell-active-handler.c (do_append_test): Add a
13634 test case.
13635
ea33158c
SP
13636 [BZ #16680]
13637 * libio/fileops.c (_IO_file_open): Seek to end of file but
13638 don't cache the offset.
13639 (get_file_offset): Remove function.
13640 (do_ftell): Use cached offset when available.
13641 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
13642 don't cache the offset.
13643 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
13644 case.
13645 (do_one_test): Call it.
13646 (do_ftell_test): Fix up expected old offset for a+ mode.
13647 * libio/wfileops.c (do_ftell_wide): Used cached offset when
13648 available.
13649
b1dbb426
SP
13650 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
13651 up test status with function return status.
13652 (do_write_test): Likewise.
13653 (do_append_test): Likewise.
13654
fcd89ebe
SP
13655 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
13656 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
13657 Remove.
13658
9962a2d3
JM
136592014-03-17 Joseph Myers <joseph@codesourcery.com>
13660
13661 * math/gen-libm-test.pl (parse_args): Handle results specified for
13662 each rounding mode separately.
13663 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
13664 tests and results from lrint_tonearest_test_data,
13665 lrint_towardzero_test_data, lrint_downward_test_data and
13666 lrint_upward_test_data.
13667 (lrint_test): Use ALL_RM_TEST.
13668 (lrint_tonearest_test_data): Remove.
13669 (lrint_test_tonearest): Likewise.
13670 (lrint_towardzero_test_data): Likewise.
13671 (lrint_test_towardzero): Likewise.
13672 (lrint_downward_test_data): Likewise.
13673 (lrint_test_downward): Likewise.
13674 (lrint_upward_test_data): Likewise.
13675 (lrint_test_upward): Likewise.
13676 (llrint_test_data): Merge in per-rounding-mode tests and results
13677 from llrint_tonearest_test_data, llrint_towardzero_test_data,
13678 llrint_downward_test_data and llrint_upward_test_data.
13679 (llrint_test): Use ALL_RM_TEST.
13680 (llrint_tonearest_test_data): Remove.
13681 (llrint_test_tonearest): Likewise.
13682 (llrint_towardzero_test_data): Likewise.
13683 (llrint_test_towardzero): Likewise.
13684 (llrint_downward_test_data): Likewise.
13685 (llrint_test_downward): Likewise.
13686 (llrint_upward_test_data): Likewise.
13687 (llrint_test_upward): Likewise.
13688 (rint_test_data): Merge in per-rounding-mode tests and results
13689 from rint_tonearest_test_data, rint_towardzero_test_data,
13690 rint_downward_test_data and rint_upward_test_data. Add
13691 per-rounding-mode results for tests not in those arrays.
13692 (rint_test): Use ALL_RM_TEST.
13693 (rint_tonearest_test_data): Remove.
13694 (rint_test_tonearest): Likewise.
13695 (rint_towardzero_test_data): Likewise.
13696 (rint_test_towardzero): Likewise.
13697 (rint_downward_test_data): Likewise.
13698 (rint_test_downward): Likewise.
13699 (rint_upward_test_data): Likewise.
13700 (rint_test_upward): Likewise.
13701 (main): Don't call removed functions.
13702
5006148e
RM
137032014-03-14 Roland McGrath <roland@hack.frob.com>
13704
13705 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
13706 "Compiled on ..." crapola. It is anti-useful.
13707
d6fe5e58
JM
137082014-03-14 Joseph Myers <joseph@codesourcery.com>
13709
13710 * scripts/evaluate-test.sh: Handle fourth argument to determine
13711 whether test run should stop on failure.
13712 * Makeconfig (stop-on-test-failure): New variable.
13713 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
13714 $(stop-on-test-failure).
13715 * Makefile (tests): Give a summary of results from testing and
13716 exit with failure status if they include an ERROR or FAIL.
13717 (xtests): Likewise.
13718 * manual/install.texi (Configuring and compiling): Mention
13719 stop-on-test-failure=y.
13720 * INSTALL: Regenerated.
13721
498a2233
RM
137222014-03-14 Roland McGrath <roland@hack.frob.com>
13723
22dbc19d
RM
13724 * scripts/versionlist.awk: New file.
13725 * Makerules [$(build-shared) = yes]
13726 (postclean-generated): Add Versions.def, not Versions.def.v and
13727 Versions.def.v.i.
13728 ($(common-objpfx)Versions.def.v.i): Target removed.
13729 ($(common-objpfx)Versions.def): New target.
13730 ($(common-objpfx)Versions.all): Depend on that rather that
13731 $(common-objpfx)Versions.def.v.
13732 * Versions.def: File removed.
13733
498a2233
RM
13734 * Makeconfig (+gccwarn): Add -Wundef.
13735 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
13736 a dl-sysdep.h breaking its contract.
13737 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
13738 * include/stackinfo.h: New file.
13739 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
13740 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
13741 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
13742 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
13743 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
13744 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
13745 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13746 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13747 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13748 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13749 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13750 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
13751 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13752 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13753 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13754
c7de5025
AZ
137552014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13756
13757 [BZ #16707]
13758 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
13759 implementation.
13760 * math/libm-test.inc (round_test_data): Add more tests.
13761
98fb27a3
AZ
13762 [BZ #16706]
13763 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
13764 implementation.
13765 * math/libm-test.inc (nearbyint_test_data): Add more tests.
13766
374f7f61
AZ
13767 [BZ #16701]
13768 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
13769 implementation.
13770 * math/libm-test.inc (ceil_test_data): Add more tests.
13771
4655c291
AZ
13772 * math/libm-test.inc (trunc_test_data): Add more tests related to
13773 BZ#16414.
13774
d7329d4b
RM
137752014-03-14 Roland McGrath <roland@hack.frob.com>
13776
13777 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
13778 with #if rather than #ifdef.
13779 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
13780
aa4de9ce
L
137812014-03-14 H.J. Lu <hongjiu.lu@intel.com>
13782
13783 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
13784 first. Disable AVX-512 GCC support if assembler doesn't support
13785 it.
13786 * sysdeps/x86_64/configure: Regenerated.
13787
2e03fae7
CD
137882014-03-13 Carlos O'Donell <carlos@redhat.com>
13789
13790 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
13791 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
13792 (__old_pthread_attr_setstack): Likewise.
13793 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
13794 [!_STACK_GROWS_DOWN]: Likewise.
13795
43ca83ec
MF
137962014-03-13 Mike Frysinger <vapier@gentoo.org>
13797
13798 * config.make.in (have-bash2): Delete.
13799 * configure.ac (libc_cv_have_bash2): Delete.
13800 * configure: Regenerate.
13801 * elf/Makefile (common-ldd-rewrite): Rename to ...
13802 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
13803 (sh-ldd-rewrite): Delete.
13804 (bash-ldd-rewrite): Delete.
13805 (have-bash2): Delete checks.
57f41c40
AS
13806 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
13807 ldd-rewrite.
c66e48b4
MF
13808
13809 * config.make.in (have-ksh): Delete.
13810 (KSH): Delete.
13811 * configure.ac (libc_cv_have_ksh): Delete.
13812 * configure: Regenerate.
13813
b93834ef
MF
13814 * elf/Makefile: Delete $(have-ksh) check.
13815 ($(objpfx)sotruss): Change KSH to BASH.
13816 * elf/sotruss.ksh: Rename to ...
13817 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
13818 function style to match POSIX. Drop ksh vim mode setting.
13819
f3a4632a
MF
13820 * manual/time.texi (Specifying the Time Zone with TZ): Change
13821 Tuesday to Thursday.
13822
5896c8bd
MF
13823 * debug/tst-longjmp_chk2.c: Update header comment.
13824 (stackoverflow_handler): Add comment. Call assert on pass value.
13825
2d63a517
IZ
138262014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
13827
7e54fd04 13828 [BZ #16194]
2d63a517
IZ
13829 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
13830 (HAVE_AVX512_ASM_SUPPORT): Likewise.
13831 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
13832 (La_x86_64_vector): Add zmm.
13833 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
13834 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
13835 ($(objpfx)tst-audit10): New target.
13836 ($(objpfx)tst-audit10.out): Likewise.
13837 (tst-audit10-ENV): New.
13838 (AVX512-CFLAGS): Likewise.
13839 (CFLAGS-tst-audit10.c): Likewise.
13840 (CFLAGS-tst-auditmod10a.c): Likewise.
13841 (CFLAGS-tst-auditmod10b.c): Likewise.
13842 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
13843 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
13844 * sysdeps/x86_64/configure: Regenerated.
13845 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
13846 AVX-512 zmm register support.
13847 (_dl_x86_64_save_sse): Likewise.
13848 (_dl_x86_64_restore_sse): Likewise.
13849 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
13850 size vector registers.
13851 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
13852 (ZMM_SIZE): Likewise.
13853 * sysdeps/x86_64/tst-audit10.c: New file.
13854 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
13855 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
13856
44c4e5d5
RM
138572014-03-13 Roland McGrath <roland@hack.frob.com>
13858
13859 * configure.ac (HAVE_EHDR_START): New check.
13860 * configure: Regenerated.
13861 * config.h.in (HAVE_EHDR_START): New #undef.
13862 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
13863 assuming the lowest-addressed segment maps the start of the file.
13864
acd6e389
JM
138652014-03-13 Joseph Myers <joseph@codesourcery.com>
13866
13867 * INSTALL: Regenerated.
13868
6f918f36
WN
138692014-03-13 Will Newton <will.newton@linaro.org>
13870
13871 * manual/setjmp.texi (System V contexts): Improve
13872 clarity and grammar of documentation.
13873
798212a0
PP
138742014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
13875
13876 [BZ #16381]
798212a0 13877 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 13878 (tests-pie): Add tst-pie2.
798212a0
PP
13879 * elf/tst-pie2.c: New file.
13880 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
13881 for ET_EXEC.
13882 * elf/rtld.c (map_doit): Load executable as lt_executable.
13883 (dl_main): Likewise.
13884
abe6d90c
JM
138852014-03-12 Joseph Myers <joseph@codesourcery.com>
13886
13887 [BZ #16642]
13888 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13889 (__ASSUME_PSELECT): Undefine.
13890
dd3946c6
AZ
138912014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13892
13893 [BZ #16689]
13894 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
13895 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
13896 static build.
13897 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
13898 selector for static builds.
13899
c44496df
SP
139002014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13901
13902 [BZ #16695]
13903 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
13904 key in the buffer.
13905
27c7220a
AZ
139062014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13907
57f41c40
AS
13908 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
13909 IFUNC selector for static builds.
27c7220a 13910
600fa361
JM
139112014-03-11 Joseph Myers <joseph@codesourcery.com>
13912
76c96cf7
JM
13913 * sysdeps/mips/math_private.h [__mips_hard_float]
13914 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
13915 libc_feresetround_mips_ctx.
13916 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
13917 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
13918 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
13919
600fa361
JM
13920 [BZ #16677]
13921 * math/s_nextafter.c (__nextafter): Do not return value from
13922 overflowing computation.
13923 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
13924 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
13925 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
13926 Likewise.
13927 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
13928 Likewise.
13929 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
13930 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
13931
d7706c32
RM
139322014-03-11 Roland McGrath <roland@hack.frob.com>
13933
13934 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
13935 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
13936 Move sfi_sp use from the load-multiple (that no longer sets sp) to
13937 the new mov targetting sp.
13938
4facea47
AZ
139392014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13940
13941 [BZ #16683]
13942 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
13943 Define it for static builds as well.
13944 (NO_BZERO_IMPL): Likewise.
13945
e65caf1f
VR
139462014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13947
13948 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
13949 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
13950 multiarch strspn for PPC64.
13951 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
13952 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
13953 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13954 (__libc_ifunc_impl_list): Likewise.
13955 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
13956 multiarch optimizations
13957 * string/strspn.c (strspn): Using macro to redefine symbol name.
13958
ba9cc071
AZ
139592014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13960 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13961
13962 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
13963 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
13964 multiarch strncat for PPC64.
13965 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
13966 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
13967 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13968 (__libc_ifunc_impl_list): Likewise.
13969 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
13970 multiarch optimizations
13971
8b4ff974
SP
139722014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13973
13974 [BZ #16639]
13975 * nscd/nscd.service: Make service type forking.
13976
54b46a4b
AZ
139772014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13978
13979 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
13980 sign in non default rounding modes.
13981 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
13982
e9996ef7
JM
139832014-03-08 Joseph Myers <joseph@codesourcery.com>
13984
13985 * math/libm-test.inc (ALL_RM_TEST): New macro.
13986 (ceil_test): Use ALL_RM_TEST.
13987 (cimag_test): Likewise.
13988 (conj_test): Likewise.
13989 (copysign_test): Likewise.
13990 (cproj_test): Likewise.
13991 (creal_test): Likewise.
13992 (fabs_test): Likewise.
13993 (floor_test): Likewise.
13994 (fmax_test): Likewise.
13995 (fmin_test): Likewise.
13996 (fmod_test): Likewise.
13997 (fpclassify_test): Likewise.
13998 (frexp_test): Likewise.
13999 (ilogb_test): Likewise.
14000 (isfinite_test): Likewise.
14001 (finite_test): Likewise.
14002 (isgreater_test): Likewise.
14003 (isgreaterequal_test): Likewise.
14004 (isinf_test): Likewise.
14005 (isless_test): Likewise.
14006 (islessequal_test): Likewise.
14007 (islessgreater_test): Likewise.
14008 (isnan_test): Likewise.
14009 (isnormal_test): Likewise.
14010 (issignaling_test): Likewise.
14011 (isunordered_test): Likewise.
14012 (logb_test): Likewise.
14013 (logb_downward_test_data): Remove.
14014 (logb_test_downward): Likewise.
14015 (lround_test): Use ALL_RM_TEST.
14016 (llround_test): Likewise.
14017 (modf_test): Likewise.
14018 (nexttoward_test): Likewise.
14019 (remainder_test): Likewise.
14020 (drem_test): Likewise.
14021 (remainder_tonearest_test_data): Likewise.
14022 (remainder_test_tonearest): Likewise.
14023 (drem_test_tonearest): Likewise.
14024 (remainder_towardzero_test_data): Likewise.
14025 (remainder_test_towardzero): Likewise.
14026 (drem_test_towardzero): Likewise.
14027 (remainder_downward_test_data): Likewise.
14028 (remainder_test_downward): Likewise.
14029 (drem_test_downward): Likewise.
14030 (remainder_upward_test_data): Likewise.
14031 (remainder_test_upward): Likewise.
14032 (drem_test_upward): Likewise.
14033 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
14034 (round_test): Use ALL_RM_TEST.
14035 (signbit_test): Likewise.
14036 (trunc_test): Likewise.
14037 (significand_test): Likewise.
14038 (main): Don't call removed functions.
14039
bc61d27c
JM
140402014-03-07 Joseph Myers <joseph@codesourcery.com>
14041
5c780849
JM
14042 [BZ #16674]
14043 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
14044 || __USE_XOPEN2K8].
14045 (ILL_ILLOPN): Likewise.
14046 (ILL_ILLADR): Likewise.
14047 (ILL_ILLTRP): Likewise.
14048 (ILL_PRVOPC): Likewise.
14049 (ILL_PRVREG): Likewise.
14050 (ILL_COPROC): Likewise.
14051 (ILL_BADSTK): Likewise.
14052 (FPE_INTDIV): Likewise.
14053 (FPE_INTOVF): Likewise.
14054 (FPE_FLTDIV): Likewise.
14055 (FPE_FLTOVF): Likewise.
14056 (FPE_FLTUND): Likewise.
14057 (FPE_FLTRES): Likewise.
14058 (FPE_FLTINV): Likewise.
14059 (FPE_FLTSUB): Likewise.
14060 (SEGV_MAPERR): Likewise.
14061 (SEGV_ACCERR): Likewise.
14062 (BUS_ADRALN): Likewise.
14063 (BUS_ADRERR): Likewise.
14064 (BUS_OBJERR): Likewise.
14065 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14066 (TRAP_TRACE): Likewise.
14067 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14068 __USE_XOPEN2K8].
14069 (CLD_KILLED): Likewise.
14070 (CLD_DUMPED): Likewise.
14071 (CLD_TRAPPED): Likewise.
14072 (CLD_STOPPED): Likewise.
14073 (CLD_CONTINUED): Likewise.
14074 (POLL_IN): Likewise.
14075 (POLL_OUT): Likewise.
14076 (POLL_MSG): Likewise.
14077 (POLL_ERR): Likewise.
14078 (POLL_PRI): Likewise.
14079 (POLL_HUP): Likewise.
14080 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
14081 Likewise.
14082 (ILL_ILLOPN): Likewise.
14083 (ILL_ILLADR): Likewise.
14084 (ILL_ILLTRP): Likewise.
14085 (ILL_PRVOPC): Likewise.
14086 (ILL_PRVREG): Likewise.
14087 (ILL_COPROC): Likewise.
14088 (ILL_BADSTK): Likewise.
14089 (FPE_INTDIV): Likewise.
14090 (FPE_INTOVF): Likewise.
14091 (FPE_FLTDIV): Likewise.
14092 (FPE_FLTOVF): Likewise.
14093 (FPE_FLTUND): Likewise.
14094 (FPE_FLTRES): Likewise.
14095 (FPE_FLTINV): Likewise.
14096 (FPE_FLTSUB): Likewise.
14097 (SEGV_MAPERR): Likewise.
14098 (SEGV_ACCERR): Likewise.
14099 (BUS_ADRALN): Likewise.
14100 (BUS_ADRERR): Likewise.
14101 (BUS_OBJERR): Likewise.
14102 (BUS_MCEERR_AR): Likewise.
14103 (BUS_MCEERR_AO): Likewise.
14104 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14105 (TRAP_TRACE): Likewise.
14106 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14107 __USE_XOPEN2K8].
14108 (CLD_KILLED): Likewise.
14109 (CLD_DUMPED): Likewise.
14110 (CLD_TRAPPED): Likewise.
14111 (CLD_STOPPED): Likewise.
14112 (CLD_CONTINUED): Likewise.
14113 (POLL_IN): Likewise.
14114 (POLL_OUT): Likewise.
14115 (POLL_MSG): Likewise.
14116 (POLL_ERR): Likewise.
14117 (POLL_PRI): Likewise.
14118 (POLL_HUP): Likewise.
14119 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
14120 (ILL_ILLOPN): Likewise.
14121 (ILL_ILLADR): Likewise.
14122 (ILL_ILLTRP): Likewise.
14123 (ILL_PRVOPC): Likewise.
14124 (ILL_PRVREG): Likewise.
14125 (ILL_COPROC): Likewise.
14126 (ILL_BADSTK): Likewise.
14127 (FPE_INTDIV): Likewise.
14128 (FPE_INTOVF): Likewise.
14129 (FPE_FLTDIV): Likewise.
14130 (FPE_FLTOVF): Likewise.
14131 (FPE_FLTUND): Likewise.
14132 (FPE_FLTRES): Likewise.
14133 (FPE_FLTINV): Likewise.
14134 (FPE_FLTSUB): Likewise.
14135 (SEGV_MAPERR): Likewise.
14136 (SEGV_ACCERR): Likewise.
14137 (BUS_ADRALN): Likewise.
14138 (BUS_ADRERR): Likewise.
14139 (BUS_OBJERR): Likewise.
14140 (BUS_MCEERR_AR): Likewise.
14141 (BUS_MCEERR_AO): Likewise.
14142 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14143 (TRAP_TRACE): Likewise.
14144 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14145 __USE_XOPEN2K8].
14146 (CLD_KILLED): Likewise.
14147 (CLD_DUMPED): Likewise.
14148 (CLD_TRAPPED): Likewise.
14149 (CLD_STOPPED): Likewise.
14150 (CLD_CONTINUED): Likewise.
14151 (POLL_IN): Likewise.
14152 (POLL_OUT): Likewise.
14153 (POLL_MSG): Likewise.
14154 (POLL_ERR): Likewise.
14155 (POLL_PRI): Likewise.
14156 (POLL_HUP): Likewise.
14157 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
14158 Likewise.
14159 (ILL_ILLOPN): Likewise.
14160 (ILL_ILLADR): Likewise.
14161 (ILL_ILLTRP): Likewise.
14162 (ILL_PRVOPC): Likewise.
14163 (ILL_PRVREG): Likewise.
14164 (ILL_COPROC): Likewise.
14165 (ILL_BADSTK): Likewise.
14166 (ILL_BADIADDR): Likewise.
14167 (ILL_BREAK): Likewise.
14168 (FPE_INTDIV): Likewise.
14169 (FPE_INTOVF): Likewise.
14170 (FPE_FLTDIV): Likewise.
14171 (FPE_FLTOVF): Likewise.
14172 (FPE_FLTUND): Likewise.
14173 (FPE_FLTRES): Likewise.
14174 (FPE_FLTINV): Likewise.
14175 (FPE_FLTSUB): Likewise.
14176 (FPE_DECOVF): Likewise.
14177 (FPE_DECDIV): Likewise.
14178 (FPE_DECERR): Likewise.
14179 (FPE_INVASC): Likewise.
14180 (FPE_INVDEC): Likewise.
14181 (SEGV_MAPERR): Likewise.
14182 (SEGV_ACCERR): Likewise.
14183 (SEGV_PSTKOVF): Likewise.
14184 (BUS_ADRALN): Likewise.
14185 (BUS_ADRERR): Likewise.
14186 (BUS_OBJERR): Likewise.
14187 (BUS_MCEERR_AR): Likewise.
14188 (BUS_MCEERR_AO): Likewise.
14189 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14190 (TRAP_TRACE): Likewise.
14191 (TRAP_BRANCH): Likewise.
14192 (TRAP_HWBKPT): Likewise.
14193 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14194 __USE_XOPEN2K8].
14195 (CLD_KILLED): Likewise.
14196 (CLD_DUMPED): Likewise.
14197 (CLD_TRAPPED): Likewise.
14198 (CLD_STOPPED): Likewise.
14199 (CLD_CONTINUED): Likewise.
14200 (POLL_IN): Likewise.
14201 (POLL_OUT): Likewise.
14202 (POLL_MSG): Likewise.
14203 (POLL_ERR): Likewise.
14204 (POLL_PRI): Likewise.
14205 (POLL_HUP): Likewise.
14206 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
14207 (ILL_ILLOPN): Likewise.
14208 (ILL_ILLADR): Likewise.
14209 (ILL_ILLTRP): Likewise.
14210 (ILL_PRVOPC): Likewise.
14211 (ILL_PRVREG): Likewise.
14212 (ILL_COPROC): Likewise.
14213 (ILL_BADSTK): Likewise.
14214 (FPE_INTDIV): Likewise.
14215 (FPE_INTOVF): Likewise.
14216 (FPE_FLTDIV): Likewise.
14217 (FPE_FLTOVF): Likewise.
14218 (FPE_FLTUND): Likewise.
14219 (FPE_FLTRES): Likewise.
14220 (FPE_FLTINV): Likewise.
14221 (FPE_FLTSUB): Likewise.
14222 (SEGV_MAPERR): Likewise.
14223 (SEGV_ACCERR): Likewise.
14224 (BUS_ADRALN): Likewise.
14225 (BUS_ADRERR): Likewise.
14226 (BUS_OBJERR): Likewise.
14227 (BUS_MCEERR_AR): Likewise.
14228 (BUS_MCEERR_AO): Likewise.
14229 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14230 (TRAP_TRACE): Likewise.
14231 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14232 __USE_XOPEN2K8].
14233 (CLD_KILLED): Likewise.
14234 (CLD_DUMPED): Likewise.
14235 (CLD_TRAPPED): Likewise.
14236 (CLD_STOPPED): Likewise.
14237 (CLD_CONTINUED): Likewise.
14238 (POLL_IN): Likewise.
14239 (POLL_OUT): Likewise.
14240 (POLL_MSG): Likewise.
14241 (POLL_ERR): Likewise.
14242 (POLL_PRI): Likewise.
14243 (POLL_HUP): Likewise.
14244 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
14245 (ILL_ILLOPN): Likewise.
14246 (ILL_ILLADR): Likewise.
14247 (ILL_ILLTRP): Likewise.
14248 (ILL_PRVOPC): Likewise.
14249 (ILL_PRVREG): Likewise.
14250 (ILL_COPROC): Likewise.
14251 (ILL_BADSTK): Likewise.
14252 (FPE_INTDIV): Likewise.
14253 (FPE_INTOVF): Likewise.
14254 (FPE_FLTDIV): Likewise.
14255 (FPE_FLTOVF): Likewise.
14256 (FPE_FLTUND): Likewise.
14257 (FPE_FLTRES): Likewise.
14258 (FPE_FLTINV): Likewise.
14259 (FPE_FLTSUB): Likewise.
14260 (SEGV_MAPERR): Likewise.
14261 (SEGV_ACCERR): Likewise.
14262 (BUS_ADRALN): Likewise.
14263 (BUS_ADRERR): Likewise.
14264 (BUS_OBJERR): Likewise.
14265 (BUS_MCEERR_AR): Likewise.
14266 (BUS_MCEERR_AO): Likewise.
14267 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14268 (TRAP_TRACE): Likewise.
14269 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14270 __USE_XOPEN2K8].
14271 (CLD_KILLED): Likewise.
14272 (CLD_DUMPED): Likewise.
14273 (CLD_TRAPPED): Likewise.
14274 (CLD_STOPPED): Likewise.
14275 (CLD_CONTINUED): Likewise.
14276 (POLL_IN): Likewise.
14277 (POLL_OUT): Likewise.
14278 (POLL_MSG): Likewise.
14279 (POLL_ERR): Likewise.
14280 (POLL_PRI): Likewise.
14281 (POLL_HUP): Likewise.
14282 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
14283 (ILL_ILLOPN): Likewise.
14284 (ILL_ILLADR): Likewise.
14285 (ILL_ILLTRP): Likewise.
14286 (ILL_PRVOPC): Likewise.
14287 (ILL_PRVREG): Likewise.
14288 (ILL_COPROC): Likewise.
14289 (ILL_BADSTK): Likewise.
14290 (FPE_INTDIV): Likewise.
14291 (FPE_INTOVF): Likewise.
14292 (FPE_FLTDIV): Likewise.
14293 (FPE_FLTOVF): Likewise.
14294 (FPE_FLTUND): Likewise.
14295 (FPE_FLTRES): Likewise.
14296 (FPE_FLTINV): Likewise.
14297 (FPE_FLTSUB): Likewise.
14298 (SEGV_MAPERR): Likewise.
14299 (SEGV_ACCERR): Likewise.
14300 (BUS_ADRALN): Likewise.
14301 (BUS_ADRERR): Likewise.
14302 (BUS_OBJERR): Likewise.
14303 (BUS_MCEERR_AR): Likewise.
14304 (BUS_MCEERR_AO): Likewise.
14305 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14306 (TRAP_TRACE): Likewise.
14307 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14308 __USE_XOPEN2K8].
14309 (CLD_KILLED): Likewise.
14310 (CLD_DUMPED): Likewise.
14311 (CLD_TRAPPED): Likewise.
14312 (CLD_STOPPED): Likewise.
14313 (CLD_CONTINUED): Likewise.
14314 (POLL_IN): Likewise.
14315 (POLL_OUT): Likewise.
14316 (POLL_MSG): Likewise.
14317 (POLL_ERR): Likewise.
14318 (POLL_PRI): Likewise.
14319 (POLL_HUP): Likewise.
14320 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
14321 (ILL_ILLOPN): Likewise.
14322 (ILL_ILLADR): Likewise.
14323 (ILL_ILLTRP): Likewise.
14324 (ILL_PRVOPC): Likewise.
14325 (ILL_PRVREG): Likewise.
14326 (ILL_COPROC): Likewise.
14327 (ILL_BADSTK): Likewise.
14328 (ILL_DBLFLT): Likewise.
14329 (ILL_HARDWALL): Likewise.
14330 (FPE_INTDIV): Likewise.
14331 (FPE_INTOVF): Likewise.
14332 (FPE_FLTDIV): Likewise.
14333 (FPE_FLTOVF): Likewise.
14334 (FPE_FLTUND): Likewise.
14335 (FPE_FLTRES): Likewise.
14336 (FPE_FLTINV): Likewise.
14337 (FPE_FLTSUB): Likewise.
14338 (SEGV_MAPERR): Likewise.
14339 (SEGV_ACCERR): Likewise.
14340 (BUS_ADRALN): Likewise.
14341 (BUS_ADRERR): Likewise.
14342 (BUS_OBJERR): Likewise.
14343 (BUS_MCEERR_AR): Likewise.
14344 (BUS_MCEERR_AO): Likewise.
14345 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14346 (TRAP_TRACE): Likewise.
14347 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14348 __USE_XOPEN2K8].
14349 (CLD_KILLED): Likewise.
14350 (CLD_DUMPED): Likewise.
14351 (CLD_TRAPPED): Likewise.
14352 (CLD_STOPPED): Likewise.
14353 (CLD_CONTINUED): Likewise.
14354 (POLL_IN): Likewise.
14355 (POLL_OUT): Likewise.
14356 (POLL_MSG): Likewise.
14357 (POLL_ERR): Likewise.
14358 (POLL_PRI): Likewise.
14359 (POLL_HUP): Likewise.
14360 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
14361 (ILL_ILLOPN): Likewise.
14362 (ILL_ILLADR): Likewise.
14363 (ILL_ILLTRP): Likewise.
14364 (ILL_PRVOPC): Likewise.
14365 (ILL_PRVREG): Likewise.
14366 (ILL_COPROC): Likewise.
14367 (ILL_BADSTK): Likewise.
14368 (FPE_INTDIV): Likewise.
14369 (FPE_INTOVF): Likewise.
14370 (FPE_FLTDIV): Likewise.
14371 (FPE_FLTOVF): Likewise.
14372 (FPE_FLTUND): Likewise.
14373 (FPE_FLTRES): Likewise.
14374 (FPE_FLTINV): Likewise.
14375 (FPE_FLTSUB): Likewise.
14376 (SEGV_MAPERR): Likewise.
14377 (SEGV_ACCERR): Likewise.
14378 (BUS_ADRALN): Likewise.
14379 (BUS_ADRERR): Likewise.
14380 (BUS_OBJERR): Likewise.
14381 (BUS_MCEERR_AR): Likewise.
14382 (BUS_MCEERR_AO): Likewise.
14383 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14384 (TRAP_TRACE): Likewise.
14385 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14386 __USE_XOPEN2K8].
14387 (CLD_KILLED): Likewise.
14388 (CLD_DUMPED): Likewise.
14389 (CLD_TRAPPED): Likewise.
14390 (CLD_STOPPED): Likewise.
14391 (CLD_CONTINUED): Likewise.
14392 (POLL_IN): Likewise.
14393 (POLL_OUT): Likewise.
14394 (POLL_MSG): Likewise.
14395 (POLL_ERR): Likewise.
14396 (POLL_PRI): Likewise.
14397 (POLL_HUP): Likewise.
14398 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
14399 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
14400
bc61d27c
JM
14401 [BZ #16670]
14402 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
14403 before #include of <time.h>.
14404 [!__USE_XOPEN2K] (__need_timespec): Likewise.
14405 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
14406 (test-xfail-UNIX98/sched.h/conform): Likewise.
14407
302949e2
MS
144082014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
14409
14410 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
14411 error absence of trapping exception support.
14412 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14413
a00f522a
JM
144142014-03-07 Joseph Myers <joseph@codesourcery.com>
14415
6f99f280
JM
14416 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
14417 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
14418 * timezone/Makefile (testdata): Move definition above include of
14419 Rules.
14420 (test-zones): New variable.
14421 (tests-special): Add zone files.
14422 (build-testdata): Use $(evaluate-test).
14423
0b20a9e8
JM
14424 * elf/Makefile (tests-special): Rename tests to end with .out.
14425 ($(objpfx)noload-mem): Likewise.
14426 ($(objpfx)tst-leaks1-mem): Likewise.
14427 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
14428 * iconv/Makefile (xtests-special): Change test-iconvconfig to
14429 $(objpfx)test-iconvconfig.out.
14430 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
14431 set -e inside subshell and redirect output to file.
14432 * iconvdata/Makefile (generated): Rename tests to end with .out.
14433 Correct type.
14434 (tests-special): Rename tests to end with .out.
14435 ($(objpfx)mtrace-tst-loading): Likewise.
14436 * intl/Makefile (generated): Likewise.
14437 (tests-special): Likewise.
14438 ($(objpfx)mtrace-tst-gettext): Likewise.
14439 * misc/Makefile (generated): Likewise.
14440 (tests-special): Likewise.
14441 ($(objpfx)tst-error1-mem): Likewise.
14442 * nptl/Makefile (tests-special): Likewise.
14443 ($(objpfx)tst-stack3-mem): Likewise.
14444 (generated): Likewise.
14445 * posix/Makefile (generated): Likewise.
14446 (tests-special): Likewise.
14447 (xtests-special): Likewise.
14448 ($(objpfx)tst-fnmatch-mem): Likewise.
14449 ($(objpfx)bug-regex2-mem): Likewise.
14450 ($(objpfx)bug-regex14-mem): Likewise.
14451 ($(objpfx)bug-regex21-mem): Likewise.
14452 ($(objpfx)bug-regex31-mem): Likewise.
14453 ($(objpfx)tst-vfork3-mem): Likewise.
14454 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
14455 ($(objpfx)tst-pcre-mem): Likewise.
14456 ($(objpfx)tst-boost-mem): Likewise.
14457 ($(objpfx)bug-ga2-mem): Likewise.
14458 ($(objpfx)bug-glob2-mem): Likewise.
14459 * resolv/Makefile (generate): Likewise.
14460 (tests-special): Likewise.
14461 (xtests-special): Likewise.
14462 (generated): Likewise.
14463 ($(objpfx)mtrace-tst-leaks): Likewise.
14464 ($(objpfx)mtrace-tst-leaks2): Likewise.
14465
265d52ab
JM
14466 * scripts/merge-test-results.sh: New file.
14467 * Makefile (tests-special-notdir): New variable.
14468 (tests): Run merge-test-results.sh.
14469 (xtests): Likewise.
14470 * Rules (tests-special-notdir): New variable.
14471 (xtests-special-notdir): Likewise.
14472 (tests): Run merge-test-results.sh
14473 (xtests): Likewise.
14474
54ee292d
JM
14475 * Makeconfig (test-xfail-name): New variable.
14476 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
14477 compute variable name for expected failures.
14478 * conform/Makefile (conformtest-headers-data): New variable.
14479 (conformtest-standards): Likewise.
14480 (conformtest-headers-ISO): Likewise.
14481 (conformtest-headers-ISO99): Likewise.
14482 (conformtest-headers-ISO11): Likewise.
14483 (conformtest-headers-POSIX): Likewise.
14484 (conformtest-headers-XPG3): Likewise.
14485 (conformtest-headers-XPG4): Likewise.
14486 (conformtest-headers-UNIX98): Likewise.
14487 (conformtest-headers-XOPEN2K): Likewise.
14488 (conformtest-headers-POSIX2008): Likewise.
14489 (conformtest-headers-XOPEN2K8): Likewise.
14490 (conformtest-header-list-base): Likewise.
14491 (conformtest-header-list-tests): Likewise.
14492 (conformtest-header-base): Likewise.
14493 (conformtest-header-tests): Likewise.
14494 (tests-special): Add $(conformtest-header-list-tests). If
14495 [$(fast-check) && !$(cross-compiling)], add
14496 $(conformtest-header-tests) instead of
14497 $(objpfx)run-conformtest.out.
14498 (generated): Add $(conformtest-header-list-base). If
14499 [$(fast-check) && !$(cross-compiling)], add
14500 $(conformtest-header-base). Remove previous setting.
14501 ($(conformtest-header-list-tests)): New target.
14502 (test-xfail-run-conformtest): Remove variable.
14503 ($(objpfx)run-conformtest.out): Remove target.
14504 (test-xfail-ISO11/complex.h/conform): New variable.
14505 (test-xfail-ISO11/stdalign.h/conform): Likewise.
14506 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
14507 (test-xfail-XPG3/varargs.h/conform): Likewise.
14508 (test-xfail-XPG4/varargs.h/conform): Likewise.
14509 (test-xfail-UNIX98/varargs.h/conform): Likewise.
14510 (test-xfail-XPG4/ndbm.h/conform): Likewise.
14511 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
14512 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
14513 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
14514 (test-xfail-XPG3/fcntl.h/conform): Likewise.
14515 (test-xfail-XPG3/ftw.h/conform): Likewise.
14516 (test-xfail-XPG3/grp.h/conform): Likewise.
14517 (test-xfail-XPG3/langinfo.h/conform): Likewise.
14518 (test-xfail-XPG3/limits.h/conform): Likewise.
14519 (test-xfail-XPG3/pwd.h/conform): Likewise.
14520 (test-xfail-XPG3/search.h/conform): Likewise.
14521 (test-xfail-XPG3/signal.h/conform): Likewise.
14522 (test-xfail-XPG3/stdio.h/conform): Likewise.
14523 (test-xfail-XPG3/stdlib.h/conform): Likewise.
14524 (test-xfail-XPG3/string.h/conform): Likewise.
14525 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
14526 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
14527 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
14528 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
14529 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
14530 (test-xfail-XPG3/sys/types.h/conform): Likewise.
14531 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
14532 (test-xfail-XPG3/termios.h/conform): Likewise.
14533 (test-xfail-XPG3/time.h/conform): Likewise.
14534 (test-xfail-XPG3/unistd.h/conform): Likewise.
14535 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
14536 (test-xfail-XPG4/fcntl.h/conform): Likewise.
14537 (test-xfail-XPG4/langinfo.h/conform): Likewise.
14538 (test-xfail-XPG4/netdb.h/conform): Likewise.
14539 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
14540 (test-xfail-XPG4/signal.h/conform): Likewise.
14541 (test-xfail-XPG4/stdio.h/conform): Likewise.
14542 (test-xfail-XPG4/stdlib.h/conform): Likewise.
14543 (test-xfail-XPG4/stropts.h/conform): Likewise.
14544 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
14545 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
14546 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
14547 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
14548 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
14549 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
14550 (test-xfail-XPG4/sys/time.h/conform): Likewise.
14551 (test-xfail-XPG4/sys/types.h/conform): Likewise.
14552 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
14553 (test-xfail-XPG4/termios.h/conform): Likewise.
14554 (test-xfail-XPG4/ucontext.h/conform): Likewise.
14555 (test-xfail-XPG4/unistd.h/conform): Likewise.
14556 (test-xfail-XPG4/utmpx.h/conform): Likewise.
14557 (test-xfail-POSIX/sched.h/conform): Likewise.
14558 (test-xfail-POSIX/signal.h/conform): Likewise.
14559 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
14560 (test-xfail-POSIX/tar.h/conform): Likewise.
14561 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
14562 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
14563 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
14564 (test-xfail-UNIX98/netdb.h/conform): Likewise.
14565 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
14566 (test-xfail-UNIX98/sched.h/conform): Likewise.
14567 (test-xfail-UNIX98/signal.h/conform): Likewise.
14568 (test-xfail-UNIX98/stdio.h/conform): Likewise.
14569 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
14570 (test-xfail-UNIX98/stropts.h/conform): Likewise.
14571 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
14572 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
14573 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
14574 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
14575 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
14576 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
14577 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
14578 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
14579 (test-xfail-UNIX98/unistd.h/conform): Likewise.
14580 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
14581 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
14582 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
14583 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
14584 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
14585 (test-xfail-XOPEN2K/math.h/conform): Likewise.
14586 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
14587 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
14588 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
14589 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
14590 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
14591 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
14592 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
14593 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
14594 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
14595 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
14596 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
14597 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
14598 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
14599 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
14600 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
14601 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
14602 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
14603 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
14604 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
14605 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
14606 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
14607 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
14608 (test-xfail-POSIX2008/signal.h/conform): Likewise.
14609 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
14610 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
14611 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
14612 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
14613 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
14614 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
14615 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
14616 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
14617 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
14618 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
14619 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
14620 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
14621 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
14622 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
14623 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
14624 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
14625 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
14626 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
14627 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
14628 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
14629 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
14630 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
14631 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
14632 (conformtest-cc-flags): Likewise.
14633 ($(conformtest-header-tests): New target.
14634 * conform/check-header-lists.sh: New file.
14635 * conform/run-conformtest.sh: Remove.
14636
a00f522a
JM
14637 * conform/conformtest.pl: Allow ' and \ in values given for
14638 constants.
14639 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
14640 inclusion.
14641 [POSIX] (sys/types.h): Likewise.
14642 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
14643 inclusion.
14644 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
14645 inclusion.
14646 * conform/data/signal.h-data (SIGIO): Remove expectation.
14647 [XPG3] (SIGBUS): Do not expect.
14648 [POSIX || XPG3] (SIGPOLL): Likewise.
14649 [POSIX || XPG3] (SIGPROF): Likewise.
14650 [POSIX || XPG3] (SIGSYS): Likewise.
14651 [XPG3] (SIGTRAP): Likewise.
14652 [POSIX || XPG3] (SIGURG): Likewise.
14653 [POSIX || XPG3] (SIGVTALRM): Likewise.
14654 [POSIX || XPG3] (SIGXCPU): Likewise.
14655 [POSIX || XPG3] (SIGXFSZ): Likewise.
14656 [POSIX] (SA_SIGINFO): Expect.
14657 [XPG3] (siginfo_t): Do not expect type or contents.
14658 [POSIX] (si_pid): Do not expect element.
14659 [POSIX] (si_uid): Likewise.
14660 [POSIX] (si_addr): Likewise.
14661 [POSIX] (si_status): Likewise.
14662 [POSIX] (si_band): Likewise.
14663 [XPG4] (si_value): Likewise.
14664 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
14665 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
14666 [POSIX || XPG3] (ILL_ILLADR): Likewise.
14667 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
14668 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
14669 [POSIX || XPG3] (ILL_PRVREG): Likewise.
14670 [POSIX || XPG3] (ILL_COPROC): Likewise.
14671 [POSIX || XPG3] (ILL_BADSTK): Likewise.
14672 [POSIX || XPG3] (FPE_INTDIV): Likewise.
14673 [POSIX || XPG3] (FPE_INTOVF): Likewise.
14674 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
14675 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
14676 [POSIX || XPG3] (FPE_FLTUND): Likewise.
14677 [POSIX || XPG3] (FPE_FLTRES): Likewise.
14678 [POSIX || XPG3] (FPE_FLTINV): Likewise.
14679 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
14680 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
14681 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
14682 [POSIX || XPG3] (BUS_ADRALN): Likewise.
14683 [POSIX || XPG3] (BUS_ADRERR): Likewise.
14684 [POSIX || XPG3] (BUS_OBJERR): Likewise.
14685 [POSIX || XPG3] (CLD_EXITED): Likewise.
14686 [POSIX || XPG3] (CLD_KILLED): Likewise.
14687 [POSIX || XPG3] (CLD_DUMPED): Likewise.
14688 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
14689 [POSIX || XPG3] (CLD_STOPPED): Likewise.
14690 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
14691 [POSIX || XPG3] (POLL_IN): Likewise.
14692 [POSIX || XPG3] (POLL_OUT): Likewise.
14693 [POSIX || XPG3] (POLL_MSG): Likewise.
14694 [POSIX || XPG3] (POLL_ERR): Likewise.
14695 [POSIX || XPG3] (POLL_PRI): Likewise.
14696 [POSIX || XPG3] (POLL_HUP): Likewise.
14697 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
14698 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
14699 (SIG*): Do not allow.
14700 [XPG3] (si_*): Likewise.
14701 [XPG3] (SI_*): Likewise.
14702 [XPG3 || XPG4] (sigev_*): Likewise.
14703 [XPG3 || XPG4] (SIGEV_*): Likewise.
14704 [XPG3 || XPG4] (sival_*): Likewise.
14705 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
14706 [POSIX || XPG3] (BUS_*): Likewise.
14707 [POSIX || XPG3] (CLD_*): Likewise.
14708 [POSIX || XPG3] (FPE_*): Likewise.
14709 [POSIX || XPG3] (ILL_*): Likewise.
14710 [POSIX || XPG3] (POLL_*): Likewise.
14711 [POSIX || XPG3] (SEGV_*): Likewise.
14712 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
14713 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
14714 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
14715 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
14716 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
14717 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
14718 Specify type and value.
14719 (TVERSLEN): Likewise.
14720 (REGTYPE): Likewise.
14721 (AREGTYPE): Likewise.
14722 (LNKTYPE): Likewise.
14723 (SYMTYPE): Likewise.
14724 (CHRTYPE): Likewise.
14725 (BLKTYPE): Likewise.
14726 (DIRTYPE): Likewise.
14727 (FIFOTYPE): Likewise.
14728 (CONTTYPE): Likewise.
14729 (TSUID): Likewise.
14730 (TSGID): Likewise.
14731 (TSVTX): Likewise.
14732 (TUREAD): Likewise.
14733 (TUWRITE): Likewise.
14734 (TUEXEC): Likewise.
14735 (TGREAD): Likewise.
14736 (TGWRITE): Likewise.
14737 (TGEXEC): Likewise.
14738 (TOREAD): Likewise.
14739 (TOWRITE): Likewise.
14740 (TOEXEC): Likewise.
14741 [POSIX] (TSVTX): Expect constant.
14742
aa97dee1
JM
147432014-03-06 Joseph Myers <joseph@codesourcery.com>
14744
f214606a
JM
14745 * Makefile (tests): Change dependencies to ....
14746 (tests-special): ... additions to this variable.
14747 (tests): Depend on $(tests-special).
14748 * Makerules (check-abi-list): New variable.
14749 (check-abi): Depend on $(check-abi-list).
14750 [$(subdir) = elf] (tests-special): Add
14751 $(objpfx)check-abi-libc.out.
14752 [$(build-shared) = yes && subdir] (tests-special): Add
14753 $(check-abi-list).
14754 [$(build-shared) = yes && subdir] (tests): Do not depend on
14755 check-abi.
14756 * Rules (tests): Depend on $(tests-special).
14757 (xtests): Depend on $(xtests-special).
14758 * catgets/Makefile (tests): Change dependencies to ....
14759 (tests-special): ... additions to this variable.
14760 * conform/Makefile (tests): Change dependencies to ....
14761 (tests-special): ... additions to this variable.
14762 * elf/Makefile (tests): Change dependencies to ....
14763 (tests-special): ... additions to this variable.
14764 * grp/Makefile (tests): Change dependencies to ....
14765 (tests-special): ... additions to this variable.
14766 * iconv/Makefile (xtests): Change dependencies to ....
14767 (xtests-special): ... additions to this variable.
14768 * iconvdata/Makefile (tests): Change dependencies to ....
14769 (tests-special): ... additions to this variable.
14770 * intl/Makefile (tests): Change dependencies to ....
14771 (tests-special): ... additions to this variable. Also add
14772 $(objpfx)tst-gettext.out.
14773 * io/Makefile (tests): Change dependencies to ....
14774 (tests-special): ... additions to this variable.
14775 * libio/Makefile (tests): Change dependencies to ....
14776 (tests-special): ... additions to this variable.
14777 * malloc/Makefile (tests): Change dependencies to ....
14778 (tests-special): ... additions to this variable.
14779 * misc/Makefile (tests): Change dependencies to ....
14780 (tests-special): ... additions to this variable.
14781 * nptl/Makefile (tests): Change dependencies to ....
14782 (tests-special): ... additions to this variable.
14783 * nptl_db/Makefile (tests): Change dependencies to ....
14784 (tests-special): ... additions to this variable.
14785 * posix/Makefile (tests): Change dependencies to ....
14786 (tests-special): ... additions to this variable.
14787 (xtests): Change dependencies to ....
14788 (xtests-special): ... additions to this variable.
14789 * resolv/Makefile (tests): Change dependencies to ....
14790 (tests-special): ... additions to this variable.
14791 (xtests): Change dependencies to ....
14792 (xtests-special): ... additions to this variable.
14793 * stdio-common/Makefile (tests): Change dependencies to ....
14794 (tests-special): ... additions to this variable.
14795 (do-tst-unbputc): Remove target.
14796 (do-tst-printf): Likewise.
14797 * stdlib/Makefile (tests): Change dependencies to ....
14798 (tests-special): ... additions to this variable.
14799 * string/Makefile (tests): Change dependencies to ....
14800 (tests-special): ... additions to this variable.
14801 * sysdeps/x86/Makefile (tests): Change dependencies to ....
14802 (tests-special): ... additions to this variable.
14803
81700b53
JM
14804 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
14805 whole file.
14806 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
14807 whole file.
14808 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
14809 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
14810
2ea18461
JM
14811 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
14812 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
14813 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
14814 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
14815 * conform/data/libgen.h-data [XPG3]: Likewise.
14816 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
14817 * conform/data/ndbm.h-data [XPG3]: Likewise.
14818 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14819 * conform/data/netdb.h-data [XPG3]: Likewise.
14820 * conform/data/netinet/in.h-data [XPG3]: Likewise.
14821 * conform/data/poll.h-data [XPG3]: Likewise.
14822 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14823 * conform/data/strings.h-data [XPG3]: Likewise.
14824 * conform/data/stropts.h-data [XPG3]: Likewise.
14825 * conform/data/sys/mman.h-data [XPG3]: Likewise.
14826 * conform/data/sys/resource.h-data [XPG3]: Likewise.
14827 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
14828 Likewise.
14829 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
14830 * conform/data/sys/time.h-data [XPG3]: Likewise.
14831 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
14832 * conform/data/sys/uio.h-data [XPG3]: Likewise.
14833 * conform/data/sys/un.h-data [XPG3]: Likewise.
14834 * conform/data/syslog.h-data [XPG3]: Likewise.
14835 * conform/data/ucontext.h-data [XPG3]: Likewise.
14836 * conform/data/utmpx.h-data [XPG3]: Likewise.
14837 * conform/data/varargs.h-data [UNIX98]: Enable file.
14838
355bc986
JM
14839 * manual/Makefile (INSTALL_INFO): Remove variable setting.
14840
215db402
JM
14841 * math/libm-test.inc (struct test_f_f_data): Move expected results
14842 into structure for each rounding mode.
14843 (struct test_ff_f_data): Likewise.
14844 (struct test_ff_f_data_nexttoward): Likewise.
14845 (struct test_fi_f_data): Likewise.
14846 (struct test_fl_f_data): Likewise.
14847 (struct test_if_f_data): Likewise.
14848 (struct test_fff_f_data): Likewise.
14849 (struct test_c_f_data): Likewise.
14850 (struct test_f_f1_data): Likewise.
14851 (struct test_fF_f1_data): Likewise.
14852 (struct test_ffI_f1_data): Likewise.
14853 (struct test_c_c_data): Likewise.
14854 (struct test_cc_c_data): Likewise.
14855 (struct test_f_i_data): Likewise.
14856 (struct test_ff_i_data): Likewise.
14857 (struct test_f_l_data): Likewise.
14858 (struct test_f_L_data): Likewise.
14859 (struct test_fFF_11_data): Likewise.
14860 (RM_): New macro.
14861 (RM_FE_DOWNWARD): Likewise.
14862 (RM_FE_TONEAREST): Likewise.
14863 (RM_FE_TOWARDZERO): Likewise.
14864 (RM_FE_UPWARD): Likewise.
14865 (RUN_TEST_LOOP_f_f): Update references to expected results.
14866 (RUN_TEST_LOOP_2_f): Likewise.
14867 (RUN_TEST_LOOP_fff_f): Likewise.
14868 (RUN_TEST_LOOP_c_f): Likewise.
14869 (RUN_TEST_LOOP_f_f1): Likewise.
14870 (RUN_TEST_LOOP_fF_f1): Likewise.
14871 (RUN_TEST_LOOP_fI_f1): Likewise.
14872 (RUN_TEST_LOOP_ffI_f1): Likewise.
14873 (RUN_TEST_LOOP_c_c): Likewise.
14874 (RUN_TEST_LOOP_cc_c): Likewise.
14875 (RUN_TEST_LOOP_f_i): Likewise.
14876 (RUN_TEST_LOOP_f_i_tg): Likewise.
14877 (RUN_TEST_LOOP_ff_i_tg): Likewise.
14878 (RUN_TEST_LOOP_f_b): Likewise.
14879 (RUN_TEST_LOOP_f_b_tg): Likewise.
14880 (RUN_TEST_LOOP_f_l): Likewise.
14881 (RUN_TEST_LOOP_f_L): Likewise.
14882 (RUN_TEST_LOOP_fFF_11): Likewise.
14883 * math/gen-libm-test.pl (parse_args): Output four copies of
14884 expected results for each test.
14885
67737b8f
JM
14886 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14887 (__ASSUME_UTIMES): Remove.
14888 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14889 (__ASSUME_UTIMES): Likewise.
14890
aa97dee1
JM
14891 * math/gen-auto-libm-tests.c: Update comment on output format.
14892 (output_for_one_input_case): Generate before-rounding and
14893 after-rounding information as conditions on output flags not
14894 floating-point format.
14895 * math/auto-libm-test-out: Regenerated.
14896 * math/gen-libm-test.pl (cond_value): New function.
14897 (or_cond_value): Use cond_value.
14898 (generate_testfile): Handle conditional exceptions.
14899
e6b6a857
JM
149002014-03-05 Joseph Myers <joseph@codesourcery.com>
14901
2f0a0f44
JM
14902 * math/libm-test.inc (max_valid_error): New variable.
14903 (init_max_error): Take new argument specifying whether function
14904 results are exactly determined. Set max_valid_error and bound
14905 other variables for errors based on this argument.
14906 (set_max_error): Do not record results above max_valid_error.
14907 (check_float_internal): Only accept errors of up to 0.5ulps if
14908 also at most max_valid_error.
14909 (START): Take new argument EXACT and pass it to init_max_error.
14910 (acos_test): Update call to START.
14911 (acos_test_tonearest): Likewise.
14912 (acos_test_towardzero): Likewise.
14913 (acos_test_downward): Likewise.
14914 (acos_test_upward): Likewise.
14915 (acosh_test): Likewise.
14916 (asin_test): Likewise.
14917 (asin_test_tonearest): Likewise.
14918 (asin_test_towardzero): Likewise.
14919 (asin_test_downward): Likewise.
14920 (asin_test_upward): Likewise.
14921 (asinh_test): Likewise.
14922 (atan_test): Likewise.
14923 (atanh_test): Likewise.
14924 (atan2_test): Likewise.
14925 (cabs_test): Likewise.
14926 (cacos_test): Likewise.
14927 (cacosh_test): Likewise.
14928 (carg_test): Likewise.
14929 (casin_test): Likewise.
14930 (casinh_test): Likewise.
14931 (catan_test): Likewise.
14932 (catanh_test): Likewise.
14933 (cbrt_test): Likewise.
14934 (ccos_test): Likewise.
14935 (ccosh_test): Likewise.
14936 (ceil_test): Likewise.
14937 (cexp_test): Likewise.
14938 (cimag_test): Likewise.
14939 (clog_test): Likewise.
14940 (clog10_test): Likewise.
14941 (conj_test): Likewise.
14942 (copysign_test): Likewise.
14943 (cos_test): Likewise.
14944 (cos_test_tonearest): Likewise.
14945 (cos_test_towardzero): Likewise.
14946 (cos_test_downward): Likewise.
14947 (cos_test_upward): Likewise.
14948 (cosh_test): Likewise.
14949 (cosh_test_tonearest): Likewise.
14950 (cosh_test_towardzero): Likewise.
14951 (cosh_test_downward): Likewise.
14952 (cosh_test_upward): Likewise.
14953 (cpow_test): Likewise.
14954 (cproj_test): Likewise.
14955 (creal_test): Likewise.
14956 (csin_test): Likewise.
14957 (csinh_test): Likewise.
14958 (csqrt_test): Likewise.
14959 (ctan_test): Likewise.
14960 (ctan_test_tonearest): Likewise.
14961 (ctan_test_towardzero): Likewise.
14962 (ctan_test_downward): Likewise.
14963 (ctan_test_upward): Likewise.
14964 (ctanh_test): Likewise.
14965 (ctanh_test_tonearest): Likewise.
14966 (ctanh_test_towardzero): Likewise.
14967 (ctanh_test_downward): Likewise.
14968 (ctanh_test_upward): Likewise.
14969 (erf_test): Likewise.
14970 (erfc_test): Likewise.
14971 (exp_test): Likewise.
14972 (exp_test_tonearest): Likewise.
14973 (exp_test_towardzero): Likewise.
14974 (exp_test_downward): Likewise.
14975 (exp_test_upward): Likewise.
14976 (exp10_test): Likewise.
14977 (exp10_test_tonearest): Likewise.
14978 (exp10_test_towardzero): Likewise.
14979 (exp10_test_downward): Likewise.
14980 (exp10_test_upward): Likewise.
14981 (pow10_test): Likewise.
14982 (exp2_test): Likewise.
14983 (expm1_test): Likewise.
14984 (expm1_test_tonearest): Likewise.
14985 (expm1_test_towardzero): Likewise.
14986 (expm1_test_downward): Likewise.
14987 (expm1_test_upward): Likewise.
14988 (fabs_test): Likewise.
14989 (fdim_test): Likewise.
14990 (floor_test): Likewise.
14991 (fma_test): Likewise.
14992 (fma_test_towardzero): Likewise.
14993 (fma_test_downward): Likewise.
14994 (fma_test_upward): Likewise.
14995 (fmax_test): Likewise.
14996 (fmin_test): Likewise.
14997 (fmod_test): Likewise.
14998 (fpclassify_test): Likewise.
14999 (frexp_test): Likewise.
15000 (hypot_test): Likewise.
15001 (ilogb_test): Likewise.
15002 (isfinite_test): Likewise.
15003 (finite_test): Likewise.
15004 (isgreater_test): Likewise.
15005 (isgreaterequal_test): Likewise.
15006 (isinf_test): Likewise.
15007 (isless_test): Likewise.
15008 (islessequal_test): Likewise.
15009 (islessgreater_test): Likewise.
15010 (isnan_test): Likewise.
15011 (isnormal_test): Likewise.
15012 (issignaling_test): Likewise.
15013 (isunordered_test): Likewise.
15014 (j0_test): Likewise.
15015 (j1_test): Likewise.
15016 (jn_test): Likewise.
15017 (ldexp_test): Likewise.
15018 (lgamma_test): Likewise.
15019 (gamma_test): Likewise.
15020 (lrint_test): Likewise.
15021 (lrint_test_tonearest): Likewise.
15022 (lrint_test_towardzero): Likewise.
15023 (lrint_test_downward): Likewise.
15024 (lrint_test_upward): Likewise.
15025 (llrint_test): Likewise.
15026 (llrint_test_tonearest): Likewise.
15027 (llrint_test_towardzero): Likewise.
15028 (llrint_test_downward): Likewise.
15029 (llrint_test_upward): Likewise.
15030 (log_test): Likewise.
15031 (log10_test): Likewise.
15032 (log1p_test): Likewise.
15033 (log2_test): Likewise.
15034 (logb_test): Likewise.
15035 (logb_test_downward): Likewise.
15036 (lround_test): Likewise.
15037 (llround_test): Likewise.
15038 (modf_test): Likewise.
15039 (nearbyint_test): Likewise.
15040 (nextafter_test): Likewise.
15041 (nexttoward_test): Likewise.
15042 (pow_test): Likewise.
15043 (pow_test_tonearest): Likewise.
15044 (pow_test_towardzero): Likewise.
15045 (pow_test_downward): Likewise.
15046 (pow_test_upward): Likewise.
15047 (remainder_test): Likewise.
15048 (drem_test): Likewise.
15049 (remainder_test_tonearest): Likewise.
15050 (drem_test_tonearest): Likewise.
15051 (remainder_test_towardzero): Likewise.
15052 (drem_test_towardzero): Likewise.
15053 (remainder_test_downward): Likewise.
15054 (drem_test_downward): Likewise.
15055 (remainder_test_upward): Likewise.
15056 (drem_test_upward): Likewise.
15057 (remquo_test): Likewise.
15058 (rint_test): Likewise.
15059 (rint_test_tonearest): Likewise.
15060 (rint_test_towardzero): Likewise.
15061 (rint_test_downward): Likewise.
15062 (rint_test_upward): Likewise.
15063 (round_test): Likewise.
15064 (scalb_test): Likewise.
15065 (scalbn_test): Likewise.
15066 (scalbln_test): Likewise.
15067 (signbit_test): Likewise.
15068 (sin_test): Likewise.
15069 (sin_test_tonearest): Likewise.
15070 (sin_test_towardzero): Likewise.
15071 (sin_test_downward): Likewise.
15072 (sin_test_upward): Likewise.
15073 (sincos_test): Likewise.
15074 (sinh_test): Likewise.
15075 (sinh_test_tonearest): Likewise.
15076 (sinh_test_towardzero): Likewise.
15077 (sinh_test_downward): Likewise.
15078 (sinh_test_upward): Likewise.
15079 (sqrt_test): Likewise.
15080 (sqrt_test_tonearest): Likewise.
15081 (sqrt_test_towardzero): Likewise.
15082 (sqrt_test_downward): Likewise.
15083 (sqrt_test_upward): Likewise.
15084 (tan_test): Likewise.
15085 (tan_test_tonearest): Likewise.
15086 (tan_test_towardzero): Likewise.
15087 (tan_test_downward): Likewise.
15088 (tan_test_upward): Likewise.
15089 (tanh_test): Likewise.
15090 (tgamma_test): Likewise.
15091 (trunc_test): Likewise.
15092 (y0_test): Likewise.
15093 (y1_test): Likewise.
15094 (yn_test): Likewise.
15095 (significand_test): Likewise.
15096
e6b6a857
JM
15097 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
15098 individual tests in comment.
15099 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
15100 (prev_max_error): New variable.
15101 (prev_real_max_error): Likewise.
15102 (prev_imag_max_error): Likewise.
15103 (compare_ulp_data): Don't refer to test names in comment.
15104 (find_test_ulps): Remove function.
15105 (find_function_ulps): Likewise.
15106 (find_complex_function_ulps): Likewise.
15107 (init_max_error): Take function name as argument. Look up ulps
15108 for that function.
15109 (print_ulps): Remove function.
15110 (print_max_error): Use prev_max_error instead of calling
15111 find_function_ulps.
15112 (print_complex_max_error): Use prev_real_max_error and
15113 prev_imag_max_error instead of calling find_complex_function_ulps.
15114 (check_float_internal): Take max_ulp parameter instead of calling
15115 find_test_ulps. Don't call print_ulps.
15116 (check_float): Update call to check_float_internal.
15117 (check_complex): Update calls to check_float_internal.
15118 (START): Pass argument to init_max_error.
15119 * math/gen-libm-test.pl (%results): Don't include "kind"
15120 information.
15121 (parse_ulps): Don't handle ulps of individual tests.
15122 (print_ulps_file): Likewise.
15123 (output_ulps): Likewise.
15124 * math/README.libm-test: Update.
15125 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
15126 individual tests.
15127 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
15128 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
15129 * sysdeps/arm/libm-test-ulps: Likewise.
15130 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
15131 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
15132 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
15133 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
15134 * sysdeps/microblaze/libm-test-ulps: Likewise.
15135 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
15136 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15137 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15138 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
15139 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15140 * sysdeps/sh/libm-test-ulps: Likewise.
15141 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15142 * sysdeps/tile/libm-test-ulps: Likewise.
15143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15144
45adef3c
JM
151452014-03-04 Joseph Myers <joseph@codesourcery.com>
15146
15147 * math/libm-test.inc (print_complex_max_error): Check separately
15148 whether real and imaginary errors are within allowed range and
15149 pass 0 to print_complex_function_ulps instead of value within
15150 allowed range.
15151
000232b9
SP
151522014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15153
d4b17258
SP
15154 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
15155 formatting.
15156 (get_handles_fopen): Likewise.
15157 (do_write_test): Likewise.
15158
091eff71
SP
15159 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
15160
fa3cd248
SP
15161 * libio/fileops.c (do_ftell): Use cached offset when
15162 available.
15163 * libio/iofwide.c (do_ftell_wide): Likewise.
15164 * libio/iofdopen.c (_IO_new_fdopen): Don't use
15165 _IO_file_attach.
15166 * libio/wfileops.c (_IO_fwide): Don't cache offset.
15167
000232b9
SP
15168 [BZ #16532]
15169 * libio/libioP.h (get_file_offset): New function.
15170 * libio/fileops.c (get_file_offset): Likewise.
15171 (do_ftell): Likewise.
15172 (_IO_new_file_seekoff): Split out ftell logic.
15173 * libio/wfileops.c (do_ftell_wide): Likewise.
15174 (_IO_wfile_seekoff): Split out ftell logic.
15175 * libio/tst-ftell-active-handler.c: New test case.
15176 * libio/Makefile (tests): Add it.
15177
116f4d1a
RM
151782014-03-03 Roland McGrath <roland@hack.frob.com>
15179
15180 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
15181 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
15182
532a6035
SP
151832014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15184
15185 [BZ #16639]
15186 * nscd/connections.c (nscd_init): Call do_exit.
15187 (start_threads): Call do_exit and notify_parent.
15188 (begin_drop_privileges): Call do_exit.
15189 (finish_drop_privileges): Likewise.
15190 * nscd/selinux.c (preserve_capabilities): Likewise.
15191 (install_real_capabilities): Likewise.
15192 (nscd_selinux_enabled): Likewise.
15193 (avc_create_thread): Likewise.
15194 (avc_alloc_lock): Likewise.
15195 (nscd_avc_init): Likewise.
15196 * nscd/nscd.c (parent_fd): New static variable.
15197 (main): Create a pipe between parent and child processes.
15198 Skip closing parent_fd.
15199 (monitor_child): New function.
15200 (do_exit): Likewise.
15201 (notify_parent): Likewise.
15202 * nscd/nscd.h (notify_parent): Likewise.
15203 (do_exit): Likewise.
15204
d6285c9f
CD
152052014-03-03 Carlos O'Donell <carlos@redhat.com>
15206
15207 * malloc/malloc.c (__libc_calloc): Revert last change.
15208
2b85d2a0
AZ
152092014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15210
15211 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15212
c7debbdf
RS
152132014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15214
15215 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
15216 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
15217 implementation.
15218 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15219 (__libc_ifunc_impl_list): Likewise.
15220 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
15221 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
15222 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
15223 * string/strrchr.c: Define STRRCHR.
15224
235eed86
OB
152252014-02-28 Ondřej Bílka <neleai@seznam.cz>
15226
15227 * benchtest/bench-strtok.c (simple_strtok): Delete.
15228 (strtok_string): Use as benchmark.
15229 * string/strtok (STRTOK): New macro.
15230
8e25d1e7
CD
152312014-02-28 Carlos O'Donell <carlos@redhat.com>
15232
ef563f92
CD
15233 * manual/threads.texi: Add header and standard comments to all
15234 functions.
15235
8e25d1e7
CD
15236 * elf/dl-lookup.c (check_match): New function.
15237 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
15238 (do_lookup_x): Remove nested function check_match. Use non-nested
15239 function check_match.
15240
ff71cc37
RM
152412014-02-28 Roland McGrath <roland@hack.frob.com>
15242
f08e9a26
RM
15243 * csu/Makefile (generated, before-compile): Use += rather than =.
15244 * catgets/Makefile (generated, generated-dirs): Likewise.
15245 * debug/Makefile (generated): Likewise.
15246 * dlfcn/Makefile (generated): Likewise.
15247 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
15248 * iconvdata/Makefile (before-compile, generated): Likewise.
15249 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
15250 * libio/Makefile (generated): Likewise.
15251 * malloc/Makefile (generated): Likewise.
15252 * manual/Makefile (generated, generated-dirs): Likewise.
15253 * misc/Makefile (generated): Likewise.
15254 * posix/Makefile (generated): Likewise.
15255 * resolv/Makefile (generated): Likewise.
15256 * sunrpc/Makefile (generated, generated-dirs): Likewise.
15257 * timezone/Makefile (generated, generated-dirs): Likewise.
15258
ff71cc37
RM
15259 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
15260
fe13a20c
AZ
152612014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15262
57f41c40
AS
15263 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
15264 power8 implementation.
15265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
15266 file: POWER8 llround ifunc implementation.
15267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
15268 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
15269 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
15270 POWER8 llround implementation.
15271
57f41c40
AS
15272 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
15273 power8 implementation.
15274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
15275 file: POWER8 llrint ifunc implementation.
15276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
15277 Add POWER8 implementation.
1ad8950a
AZ
15278 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
15279 POWER8 llrint implementation.
15280
57f41c40
AS
15281 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
15282 power8 implementation.
15283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
15284 file: POWER8 finite ifunc implementation.
15285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
15286 Add POWER8 implementation.
cac626d6
AZ
15287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
15288 Likewise.
15289 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
15290 POWER8 finite implementation.
15291 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
15292
57f41c40
AS
15293 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
15294 power8 implementation.
15295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
15296 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
15297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
15298 POWER8 implementation.
15299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
15300 Likewise.
57f41c40
AS
15301 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
15302 isinf implementation.
4393fc11
AZ
15303 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
15304
57f41c40
AS
15305 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
15306 (INIT_ARCH): Add hwcap2 initialization.
15307 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
15308 power8 implementation.
15309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
15310 file: POWER8 isnan ifunc implementation.
487972ae
AZ
15311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
15312 POWER8 implementation.
15313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
15314 Likewise.
57f41c40
AS
15315 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
15316 isnan implementation.
487972ae
AZ
15317 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
15318
7d92b787
JY
153192014-02-27 Joey Ye <joey.ye@arm.com>
15320
15321 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
15322 (_FP_NANFRAC_Q): Set to zero.
15323
1cadc858
SP
153242014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15325
15326 [BZ #16623]
15327 * math/auto-libm-test-in: New test inputs.
15328 * math/auto-libm-test-out: Regenerate.
15329 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
15330 and DA.
15331 (__cos): Likewise.
15332 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15333
f8c17e79
JM
153342014-02-27 Joseph Myers <joseph@codesourcery.com>
15335
15336 * scripts/evaluate-test.sh: Take new argument indicating whether
15337 failure is expected.
15338 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
15339 indicating whether failure is expected.
15340 * conform/Makefile (test-xfail-run-conformtest): New variable.
15341 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
15342 level.
15343 * posix/Makefile (test-xfail-annexc): New variable.
15344 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
15345
a5f891ac
JM
153462014-02-26 Joseph Myers <joseph@codesourcery.com>
15347
15348 * argp/Makefile: Include Makeconfig immediately after defining
15349 subdir.
15350 * assert/Makefile: Likewise.
15351 * benchtests/Makefile: Likewise.
15352 * catgets/Makefile: Likewise.
15353 * conform/Makefile: Likewise.
15354 * crypt/Makefile: Likewise.
15355 * csu/Makefile: Likewise.
15356 (all): Remove target.
15357 * ctype/Makefile: Include Makeconfig immediately after defining
15358 subdir.
15359 * debug/Makefile: Likewise.
15360 * dirent/Makefile: Likewise.
15361 * dlfcn/Makefile: Likewise.
15362 * gmon/Makefile: Likewise.
15363 * gnulib/Makefile: Likewise.
15364 * grp/Makefile: Likewise.
15365 * gshadow/Makefile: Likewise.
15366 * hesiod/Makefile: Likewise.
15367 * hurd/Makefile: Likewise.
15368 (all): Remove target.
15369 * iconvdata/Makefile: Include Makeconfig immediately after
15370 defining subdir.
15371 * inet/Makefile: Likewise.
15372 * intl/Makefile: Likewise.
15373 * io/Makefile: Likewise.
15374 * libio/Makefile: Likewise.
15375 (all): Remove target.
15376 * locale/Makefile: Include Makeconfig immediately after defining
15377 subdir.
15378 * login/Makefile: Likewise.
15379 * mach/Makefile: Likewise.
15380 (all): Remove target.
15381 * malloc/Makefile: Include Makeconfig immediately after defining
15382 subdir.
15383 (all): Remove target.
15384 * manual/Makefile: Include Makeconfig immediately after defining
15385 subdir.
15386 * math/Makefile: Likewise.
15387 * misc/Makefile: Likewise.
15388 * nis/Makefile: Likewise.
15389 * nss/Makefile: Likewise.
15390 * po/Makefile: Likewise.
15391 (all): Remove target.
15392 * posix/Makefile: Include Makeconfig immediately after defining
15393 subdir.
15394 * pwd/Makefile: Likewise.
15395 * resolv/Makefile: Likewise.
15396 * resource/Makefile: Likewise.
15397 * rt/Makefile: Likewise.
15398 * setjmp/Makefile: Likewise.
15399 * shadow/Makefile: Likewise.
15400 * signal/Makefile: Likewise.
15401 * socket/Makefile: Likewise.
15402 * soft-fp/Makefile: Likewise.
15403 * stdio-common/Makefile: Likewise.
15404 * stdlib/Makefile: Likewise.
15405 * streams/Makefile: Likewise.
15406 * string/Makefile: Likewise.
15407 * sunrpc/Makefile: Likewise.
15408 (all): Remove target.
15409 * sysvipc/Makefile: Include Makeconfig immediately after defining
15410 subdir.
15411 * termios/Makefile: Likewise.
15412 * time/Makefile: Likewise.
15413 * timezone/Makefile: Likewise.
15414 (all): Remove target.
15415 * wcsmbs/Makefile: Include Makeconfig immediately after defining
15416 subdir.
15417 * wctype/Makefile: Likewise.
15418
5b456e9d
SE
154192014-02-26 Steve Ellcey <sellcey@mips.com>
15420
15421 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
15422 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
15423 (libc_feholdexcept_setround_mips): Ditto.
15424 (libc_feholdsetround): New.
15425 (libc_feholdsetroundf): New.
15426 (libc_feholdsetroundl): New.
15427 (libc_feupdateenv_test_mips): New.
15428 (libc_feupdateenv_test): New.
15429 (libc_feupdateenv_testf): New.
15430 (libc_feupdateenv_testl): New.
15431 (libc_feresetround): New.
15432 (libc_feresetroundf): New.
15433 (libc_feresetroundl): New.
15434 (libc_fetestexcept_mips): New.
15435 (libc_fetestexcept): New.
15436 (libc_fetestexceptf): New.
15437 (libc_fetestexceptl): New.
15438 (HAVE_RM_CTX): New.
15439 (libc_feholdexcept_setround_mips_ctx): New.
15440 (libc_feholdexcept_setround_ctx): New.
15441 (libc_feholdexcept_setroundf_ctx): New.
15442 (libc_feholdexcept_setroundl_ctx): New.
15443 (libc_fesetenv_mips_ctx): New.
15444 (libc_fesetenv_ctx): New.
15445 (libc_fesetenv_ctxf): New.
15446 (libc_fesetenv_ctxl): New.
15447 (libc_feupdateenv_mips_ctx): New.
15448 (libc_feupdateenv_ctx): New.
15449 (libc_feupdateenvf_ctx): New.
15450 (libc_feupdateenvl_ctx): New.
15451 (libc_feholdsetround_mips_ctx): New.
15452 (libc_feholdsetround_ctx): New.
15453 (libc_feholdsetroundf_ctx): New.
15454 (libc_feholdsetroundl_ctx): New.
15455 (libc_feresetround_mips_ctx): New.
15456 (libc_feresetround_ctx): New.
15457 (libc_feresetroundf_ctx): New.
15458 (libc_feresetroundl_ctx): New.
15459
085d0e35
CD
154602014-02-26 Carlos O'Donell <carlos@redhat.com>
15461
f067bf1f
CD
15462 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
15463
085d0e35
CD
15464 * manual/ipc.texi: New file.
15465 * manual/Makefile (chapters): Add ipc.
15466 * manual/job.texi: Add "Inter-Process Communication" to next.
15467 * manual/process.texi: Add "Inter-Process Communication" to prev.
15468
86e58c08
AZ
154692014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15470
15471 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15472
4248f0da
OB
154732014-02-26 Ondřej Bílka <neleai@seznam.cz>
15474
15475 * malloc/malloc.c (__libc_calloc): Simplify implementation.
15476
cf822e3c
OB
15477 * manual/arith.texi: Fix spaces after sentences.
15478 * manual/charset.texi: Likewise.
15479 * manual/errno.texi: Likewise.
15480 * manual/install.texi: Likewise.
15481 * manual/llio.texi: Likewise.
15482 * manual/locale.texi: Likewise.
15483 * manual/maint.texi: Likewise.
15484 * manual/math.texi: Likewise.
15485 * manual/memory.texi: Likewise.
15486 * manual/message.texi: Likewise.
15487 * manual/probes.texi: Likewise.
15488 * manual/resource.texi: Likewise.
15489 * manual/signal.texi: Likewise.
15490 * manual/socket.texi: Likewise.
15491 * manual/stdio.texi: Likewise.
15492 * manual/string.texi: Likewise.
15493 * manual/time.texi: Likewise.
15494 * manual/users.texi: Likewise.
15495
ade40b10
CD
154962014-02-25 Carlos O'Donell <carlos@redhat.com>
15497
15498 [BZ #16632]
15499 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
15500 _DEFAULT_SOURCE is defined.
15501
d0503676
CD
155022014-02-25 Ulrich Drepper <drepper@gmail.com>
15503 Carlos O'Donell <carlos@redhat.com>
15504
15505 [BZ #16613]
15506 * elf/dl-tls.c (_dl_count_modids): New function.
15507 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
15508 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
15509 audit library and increment generation counter.
15510 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
15511 * elf/tst-audit9.c: New file.
15512 * elf/tst-auditmod9a.c: New file.
15513 * elf/tst-auditmod9b.c: New file.
15514 * elf/Makefile: Add rules to build and run tst-audit9.
15515
4cbf380c
FW
155162014-02-25 Florian Weimer <fweimer@redhat.com>
15517
15518 [BZ #15347]
15519 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
15520
80a56cc3
WN
155212014-02-25 Will Newton <will.newton@linaro.org>
15522
15523 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
15524 (__longjmp): Restore sp and lr before restoring callee
15525 saved registers. Add longjmp and longjmp_target
15526 SystemTap probe point.
15527 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
15528 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
15529 Define to zero to match jmpbuf layout.
15530 * sysdeps/arm/setjmp.S: Include stap-probe.h.
15531 (__sigsetjmp): Save sp and lr before saving callee
15532 saved registers. Add setjmp SystemTap probe point.
15533
3ea0f74e
SL
155342014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
15535
15536 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15537
b04acb26
AS
155382014-02-24 Andreas Schwab <schwab@suse.de>
15539
15540 [BZ #15804]
15541 * elf/pldd.c (wait_for_ptrace_stop): New function.
15542 (main): Call it after attaching.
15543
098ad55c
RM
155442014-02-22 Roland McGrath <roland@hack.frob.com>
15545
d4ec6ae1
RM
15546 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
15547 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
15548 Versions files is now verboten.
15549 * hurd/Versions (libc: GLIBC_2.0):
15550 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
15551 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
15552 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
15553 * mach/Versions: Likewise.
15554
098ad55c
RM
15555 * csu/Versions: Remove unused %include.
15556 * resolv/Versions: Likewise.
15557
acd7f096
JM
155582014-02-21 Joseph Myers <joseph@codesourcery.com>
15559
f0881698
JM
15560 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
15561 ($(objpfx)check-local-headers.out): Likewise.
15562 ($(objpfx)begin-end-check.out): Likewise.
15563 * Makerules (check-abi-%.out): Likewise.
15564 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
15565 ($(objpfx)test2.cat): Likewise.
15566 ($(objpfx)de/libc.cat): Likewise.
15567 ($(objpfx)test-gencat.out): Likewise.
15568 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
15569 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
15570 ($(objpfx)noload-mem): Likewise.
15571 ($(objpfx)tst-pathopt.out): Likewise.
15572 ($(objpfx)tst-rtld-load-self.out): Likewise.
15573 ($(objpfx)tst-array1-cmp.out): Likewise.
15574 ($(objpfx)tst-array1-static-cmp.out): Likewise.
15575 ($(objpfx)tst-array2-cmp.out): Likewise.
15576 ($(objpfx)tst-array3-cmp.out): Likewise.
15577 ($(objpfx)tst-array4-cmp.out): Likewise.
15578 ($(objpfx)tst-array5-cmp.out): Likewise.
15579 ($(objpfx)tst-array5-static-cmp.out): Likewise.
15580 ($(objpfx)check-textrel.out): Likewise.
15581 ($(objpfx)check-execstack.out): Likewise.
15582 ($(objpfx)check-localplt.out): Likewise.
15583 ($(objpfx)order2-cmp.out): Likewise.
15584 ($(objpfx)tst-leaks1-mem): Likewise.
15585 ($(objpfx)tst-leaks1-static-mem): Likewise.
15586 ($(objpfx)tst-initorder-cmp.out): Likewise.
15587 ($(objpfx)tst-initorder2-cmp.out): Likewise.
15588 ($(objpfx)tst-unused-dep.out): Likewise.
15589 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
15590 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
15591 * iconv/Makefile (test-iconvconfig): Likewise.
15592 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
15593 ($(objpfx)iconv-test.out): Likewise.
15594 ($(objpfx)tst-tables.out): Likewise.
15595 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
15596 ($(objpfx)tst-gettext.out): Likewise.
15597 ($(objpfx)tst-translit.out): Likewise.
15598 ($(objpfx)tst-gettext2.out): Likewise.
15599 ($(objpfx)tst-gettext4.out): Likewise.
15600 ($(objpfx)tst-gettext6.out): Likewise.
15601 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
15602 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
15603 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
15604 ($(objpfx)tst-fopenloc-mem.out): Likewise.
15605 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
15606 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
15607 * posix/Makefile ($(objpfx)globtest.out): Likewise.
15608 ($(objpfx)wordexp-tst.out): Likewise.
15609 ($(objpfx)annexc.out): Likewise.
15610 ($(objpfx)tst-fnmatch-mem): Likewise.
15611 ($(objpfx)bug-regex2-mem): Likewise.
15612 ($(objpfx)bug-regex14-mem): Likewise.
15613 ($(objpfx)bug-regex21-mem): Likewise.
15614 ($(objpfx)bug-regex31-mem): Likewise.
15615 ($(objpfx)tst-vfork3-mem): Likewise.
15616 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15617 ($(objpfx)tst-pcre-mem): Likewise.
15618 ($(objpfx)tst-boost-mem): Likewise.
15619 ($(objpfx)tst-getconf.out): Likewise.
15620 ($(objpfx)bug-ga2-mem): Likewise.
15621 ($(objpfx)bug-glob2-mem): Likewise.
15622 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
15623 ($(objpfx)mtrace-tst-leaks2): Likewise.
15624 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
15625 ($(objpfx)tst-printf.out): Likewise.
15626 ($(objpfx)tst-setvbuf1.out): Likewise.
15627 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
15628 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
15629 ($(objpfx)tst-fmtmsg.out): Likewise.
15630 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
15631 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
15632
acd7f096
JM
15633 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
15634 * bits/sigaction.h [__USE_MISC]: Likewise.
15635 * bits/waitstatus.h: Update #endif comments.
15636 * ctype/ctype.h: Likewise.
15637 * dirent/dirent.h: Likewise.
15638 [__USE_MISC]: Remove redundant conditionals.
15639 * grp/grp.h: Update #endif comments.
15640 [__USE_GNU]: Remove redundant conditionals.
15641 [__USE_MISC]: Likewise.
15642 * inet/netinet/in.h [__USE_GNU]: Likewise.
15643 * io/sys/stat.h [__USE_MISC]: Likewise.
15644 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
15645 * libio/bits/stdio.h: Update #endif comments.
15646 [__USE_MISC]: Remove redundant conditionals.
15647 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
15648 * libio/stdio.h: Update #endif comments.
15649 [__USE_MISC]: Remove redundant conditionals.
15650 * math/bits/math-finite.h [__USE_MISC]: Likewise.
15651 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
15652 * math/math.h: Update #else and #endif comments.
15653 [__USE_MISC]: Remove redundant conditionals.
15654 * misc/sys/uio.h: Update #endif comments.
15655 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
15656 * posix/glob.h [__USE_MISC]: Likewise.
15657 * posix/sys/types.h: Update #endif comments.
15658 [__USE_MISC]: Remove redundant conditionals.
15659 * posix/sys/wait.h: Update #endif comments.
15660 [__USE_MISC]: Remove redundant conditionals.
15661 * posix/unistd.h: Update #endif comments.
15662 [__USE_MISC]: Remove redundant conditionals.
15663 * pwd/pwd.h [__USE_GNU]: Likewise.
15664 [__USE_MISC]: Likewise.
15665 * resolv/netdb.h [__USE_GNU]: Likewise.
15666 * signal/signal.h: Update #endif comments.
15667 [__USE_MISC]: Remove redundant conditionals.
15668 * stdlib/stdlib.h: Update #else and #endif comments.
15669 [__USE_MISC]: Remove redundant conditionals.
15670 [__USE_GNU]: Likewise.
15671 * string/bits/string2.h [__USE_MISC]: Likewise.
15672 * string/string.h: Update #endif comments.
15673 [__USE_MISC]: Remove redundant conditionals.
15674 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
15675 Likewise.
15676 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
15677 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
15678 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
15679 Likewise.
15680 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
15681 Likewise.
15682 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
15683 comments.
15684 [__USE_MISC]: Remove redundant conditionals.
15685 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
15686 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
15687 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
15688 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
15689 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
15690 Likewise.
15691 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
15692 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
15693 Likewise.
15694 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
15695 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
15696 Likewise.
15697 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
15698 Likewise.
15699 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
15700 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
15701 Likewise.
15702 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
15703 Likewise.
15704 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
15705 * sysdeps/x86/bits/string.h: Update #endif comments.
15706 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
15707 conditionals.
15708 * time/sys/time.h: Update #endif comments.
15709 * time/time.h: Likewise.
15710 [__USE_MISC]: Remove redundant conditionals.
15711
a5d82e4e
YG
157122014-02-21 Yury Gribov <y.gribov@samsung.com>
15713
15714 [BZ #16600]
15715 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
15716
9a80491d
AS
157172014-02-21 Andreas Schwab <schwab@linux-m68k.org>
15718
15719 * Versions.def (librt): Add GLIBC_2.17.
15720
105fa381
AC
157212014-02-21 Adam Conrad <adconrad@0c3.net>
15722
15723 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
15724 synonym for _SYS_AUXV_H to allow direct inclusion.
15725 * sysdeps/sparc/bits/hwcap.h: Likewise.
15726 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
15727 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
15728 * sysdeps/sparc/sysdep.h: Likewise.
15729
b8cd1c4e
SP
157302014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15731
15732 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
15733
bd939d23
RS
157342014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15735
15736 * benchtests/bench-strrchr.c: Print length instead of position.
15737
5d7b57ca
JM
157382014-02-20 Joseph Myers <joseph@codesourcery.com>
15739
bc688c10
JM
15740 [BZ #16611]
15741 * sysdeps/unix/sysv/linux/kernel-features.h
15742 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
15743 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
15744 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
15745 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
15746 Likewise.
15747 [__i386__ || __powerpc__ || __sh__ || __sparc__]
15748 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15749 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
15750 (__ASSUME_SENDMMSG): Define instead of using previous
15751 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
15752 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15753 (__ASSUME_SENDMMSG_SYSCALL): Define.
15754 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15755 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
15756 Likewise.
15757 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15758 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15759 Likewise.
15760 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15761 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15762 Likewise.
15763 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
15764 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
15765 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
15766 [__ASSUME_SENDMMSG]: Change conditionals to
15767 [__ASSUME_SENDMMSG_SOCKETCALL].
15768 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15769 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
15770 Define.
15771 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15772 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
15773 Likewise.
15774 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
15775 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
15776 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
15777 [!__ASSUME_SENDMMSG]: Change conditional to
15778 [!__ASSUME_SENDMMSG_SOCKETCALL].
15779 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15780 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15781 Define.
15782
0e31b18c
JM
15783 [BZ #16610]
15784 * sysdeps/unix/sysv/linux/kernel-features.h
15785 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
15786 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
15787 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
15788 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
15789 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15790 [__i386__ || __sparc__]
15791 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15792 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
15793 (__ASSUME_RECVMMSG): Define instead of using previous
15794 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
15795 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15796 (__ASSUME_RECVMMSG_SYSCALL): Define.
15797 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15798 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15799 Likewise.
15800 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15801 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15802 Likewise.
15803 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15804 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15805 Likewise.
15806 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
15807 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15808 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15809 [__ASSUME_RECVMMSG]: Change condition to
15810 [__ASSUME_RECVMMSG_SOCKETCALL].
15811 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15812 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15813 Define.
15814 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15815 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15816 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15817 Likewise.
15818 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
15819 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15820 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15821 [!__ASSUME_RECVMMSG]: Change condition to
15822 [!__ASSUME_RECVMMSG_SOCKETCALL].
15823 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15824 (__ASSUME_RECVMMSG_SYSCALL): Define.
15825
dd481ccf
JM
15826 [BZ #16609]
15827 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
15828 __powerpc__ || __s390__ || __sh__ || __sparc__]
15829 (__ASSUME_SOCKETCALL): Define.
15830 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
15831 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
15832 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
15833 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
15834 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15835 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
15836 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
15837 (__ASSUME_ACCEPT4): Define instead of using previous
15838 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
15839 __powerpc__ || __sparc__ || __s390__)] condition.
15840 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15841 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15842 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
15843 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15844 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15845 [!__ASSUME_ACCEPT4]: Change condition to
15846 [!__ASSUME_ACCEPT4_SOCKETCALL].
15847 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15848 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
15849 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
15850 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15851 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
15852 __ASSUME_ACCEPT4_SYSCALL.
15853 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
15854 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
15855 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15856 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
15857 __ASSUME_ACCEPT4_SYSCALL.
15858 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
15859 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15860 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15861 [__ASSUME_ACCEPT4]: Change condition to
15862 [__ASSUME_ACCEPT4_SOCKETCALL].
15863 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15864 (__ASSUME_SOCKETCALL): Define.
15865 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
15866 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15867 (__ASSUME_SOCKETCALL): Define.
15868 (__ASSUME_ACCEPT4): Remove.
15869 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
15870 Define.
15871 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15872 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
15873 Likewise.
15874 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15875 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15876
5d7b57ca
JM
15877 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
15878 macro.
15879 (HWCAP_ARM_LPAE): Likewise.
15880 (HWCAP_ARM_EVTSTRM): Likewise.
15881 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
15882 Add vpfd32, lpae and evtstrm.
15883 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
15884 Increase to 22.
15885
63689d61
JM
158862014-02-19 Joseph Myers <joseph@codesourcery.com>
15887
15888 * math/auto-libm-test-in: Add tests of clog10.
15889 * math/auto-libm-test-out: Regenerated.
15890 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
15891 * sysdeps/i386/fpu/libm-test-ulps: Update.
15892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15893
ab09bf61
AS
158942014-02-18 Andreas Schwab <schwab@suse.de>
15895
15896 [BZ #16574]
15897 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
15898 Store non-zero if the second buffer was newly allocated.
15899 (send_dg): Likewise.
15900 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
15901 to send_vc and send_dg.
15902 (res_nsend): Pass NULL for ansp2_malloced.
15903 * resolv/res_query.c (__libc_res_nquery): Add parameter
15904 answerp2_malloced and pass it down to __libc_res_nsend.
15905 (res_nquery): Pass additional NULL to __libc_res_nquery.
15906 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
15907 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
15908 second answer buffer if answerp2_malloced was set.
15909 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
15910 (__libc_res_nquerydomain): Add parameter
15911 answerp2_malloced and pass it down to __libc_res_nquery.
15912 (res_nquerydomain): Pass additional NULL to
15913 __libc_res_nquerydomain.
15914 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
15915 additional NULL to __libc_res_nsend and __libc_res_nquery.
15916 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
15917 additional NULL to __libc_res_nsearch.
15918 (_nss_dns_gethostbyname4_r): Revert last change. Use new
15919 parameter of __libc_res_nsearch to check for separately allocated
15920 second buffer.
15921 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
15922 __libc_res_nquery.
15923 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
15924 additional NULL to __libc_res_nquery.
15925 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
15926 __libc_res_nsearch.
15927 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
15928 * include/resolv.h: Update prototypes of __libc_res_nquery,
15929 __libc_res_nsearch, __libc_res_nsend.
15930
a4fb7861
JM
159312014-02-18 Joseph Myers <joseph@codesourcery.com>
15932
c6af2d89
JM
15933 * math/auto-libm-test-in: Add tests of fma.
15934 * math/auto-libm-test-out: Regenerated.
15935 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
15936 (fma_towardzero_test_data): Likewise.
15937 (fma_downward_test_data): Likewise.
15938 (fma_upward_test_data): Likewise.
15939 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
15940 mpc_mode.
15941 (rounding_modes): Add values for new field.
15942 (func_calc_method): Add value mpfr_fff_f.
15943 (func_calc_desc): Add mpfr_fff_f union field.
15944 (test_function): Add field exact_args.
15945 (FUNC): Add macro argument EXACT_ARGS.
15946 (FUNC_mpfr_f_f): Update call to FUNC.
15947 (FUNC_mpfr_f_f): Likewise.
15948 (FUNC_mpfr_ff_f): Likewise.
15949 (FUNC_mpfr_if_f): Likewise.
15950 (FUNC_mpc_c_f): Likewise.
15951 (FUNC_mpc_c_c): Likewise.
15952 (test_functions): Add fma. Update calls to FUNC.
15953 (handle_input_arg): Add argument exact_args.
15954 (add_test): Update call to handle_input_arg.
15955 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
15956 (output_for_one_input_case): Update call to calc_generic_results.
15957 Recalculate exact zero results in each rounding mode.
15958
a4fb7861
JM
15959 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
15960 non-negative before setting low bit.
15961 * math/auto-libm-test-in: Mark one asin test possibly having
15962 spurious underflow.
15963 * math/auto-libm-test-out: Regenerated.
15964 * sysdeps/i386/fpu/libm-test-ulps: Update.
15965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15966
ef114eaf
DH
159672014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
15968
2b7f4f2c
SP
15969 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
15970 * sysdeps/unix/sysv/linux/microblaze: Move directory from
15971 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
15972 * README: Add missing listing for microblaze*-*-linux-gnu.
15973
8125aedc
AM
159742014-02-16 Ondřej Bílka <neleai@seznam.cz>
15975
15976 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
15977 duplicate code
15978
c70a4b1d
MF
159792014-02-16 Mike Frysinger <vapier@gentoo.org>
15980
15981 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
15982 * sysdeps/unix/sysv/linux/ia64: Move directory from
15983 ports/sysdeps/unix/sysv/linux/ia64.
15984 * README: Update listing for ia64-*-linux-gnu.
15985
591aeaf7
TD
159862014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
15987 Joseph Myers <joseph@codesourcery.com>
15988
15989 * Makeconfig (test-name): New variable.
15990 (evaluate-test): Likewise.
15991 * Makerules (do-test-clean): Remove .test-result files.
15992 (common-mostlyclean): Likewise.
15993 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
15994 * scripts/evaluate-test.sh: New file.
15995
6e89caf1
JM
159962014-02-14 Joseph Myers <joseph@codesourcery.com>
15997
7f98f180
JM
15998 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
15999 separate $(objpfx)tst-fopenloc-cmp.out and
16000 $(objpfx)tst-fopenloc-mem.out targets.
16001 (tests): Update dependencies.
16002 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
16003 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
16004 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
16005 (tst-rxspencer-no-utf8-ARGS): New variable.
16006 (tst-rxspencer-no-utf8-ENV): Likewise.
16007 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
16008 instead of $(objpfx)tst-rxspencer-mem.
16009 ($(objpfx)tst-rxspencer-mem): Change target to
16010 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
16011 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
16012 * posix/tst-rxspencer-no-utf8.c: New file.
16013
6e89caf1
JM
16014 * elf/Makefile ($(objpfx)order.out): Remove rule.
16015 [$(run-built-tests) = yes] (tests): Depend on
16016 $(objpfx)order-cmp.out.
16017 ($(objpfx)order-cmp.out): New rule.
16018 [$(run-built-tests) = yes] (tests): Depend on
16019 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
16020 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
16021 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
16022 $(objpfx)tst-array5-static-cmp.out.
16023 ($(objpfx)tst-array1.out): Remove rule.
16024 ($(objpfx)tst-array1-cmp.out): New rule.
16025 ($(objpfx)tst-array1-static.out): Remove rule.
16026 ($(objpfx)tst-array1-static-cmp.out): New rule.
16027 ($(objpfx)tst-array2.out): Remove rule.
16028 ($(objpfx)tst-array2-cmp.out): New rule.
16029 ($(objpfx)tst-array3.out): Remove rule.
16030 ($(objpfx)tst-array3-cmp.out): New rule.
16031 ($(objpfx)tst-array4.out): Remove rule.
16032 ($(objpfx)tst-array4-cmp.out): New rule.
16033 ($(objpfx)tst-array5.out): Remove rule.
16034 ($(objpfx)tst-array5-cmp.out): New rule.
16035 ($(objpfx)tst-array5-static.out): Remove rule.
16036 ($(objpfx)tst-array5-static-cmp.out): New rule.
16037 [$(run-built-tests) = yes] (tests): Depend on
16038 $(objpfx)order2-cmp.out.
16039 ($(objpfx)order2.out): Remove rule.
16040 ($(objpfx)order2-cmp.out): New rule.
16041 ($(objpfx)tst-initorder.out): Remove rule.
16042 [$(run-built-tests) = yes] (tests): Depend on
16043 $(objpfx)tst-initorder-cmp.out.
16044 ($(objpfx)tst-initorder-cmp.out): New rule.
16045 ($(objpfx)tst-initorder2.out): Remove rule.
16046 [$(run-built-tests) = yes] (tests): Depend on
16047 $(objpfx)tst-initorder2-cmp.out.
16048 ($(objpfx)tst-initorder2-cmp.out): New rule.
16049 [$(run-built-tests) = yes] (tests): Depend on
16050 $(objpfx)tst-unused-dep-cmp.out.
16051 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
16052 ($(objpfx)tst-unused-dep-cmp.out): New rule.
16053 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
16054 on $(objpfx)tst-setvbuf1-cmp.out.
16055 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
16056 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
16057 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
16058 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
16059 ($(objpfx)tst-svc.out): Remove rule.
16060 ($(objpfx)tst-svc-cmp.out): New rule.
16061
ed9a38e2
JM
160622014-02-13 Joseph Myers <joseph@codesourcery.com>
16063
16064 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
16065 * ctype/ctype.h [__USE_MISC]: Likewise.
16066 * dirent/dirent.h [__USE_MISC]: Likewise.
16067 * grp/grp.h [__USE_MISC]: Likewise.
16068 * io/fcntl.h [__USE_MISC]: Likewise.
16069 * io/sys/stat.h [__USE_MISC]: Likewise.
16070 * libio/stdio.h [__USE_MISC]: Likewise.
16071 * posix/unistd.h [__USE_MISC]: Likewise.
16072 * pwd/pwd.h [__USE_MISC]: Likewise.
16073 * stdlib.h [__USE_MISC]: Likewise.
16074 * string/bits/string2.h [__USE_MISC]: Likewise.
16075 * string/string.h [__USE_MISC]: Likewise.
16076 * time/time.h [__USE_MISC]: Likewise.
16077
d6680619
AS
160782014-02-13 Andreas Schwab <schwab@suse.de>
16079
16080 [BZ #16574]
16081 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
16082 second answer buffer if it was separately allocated.
16083
ace614b8
JM
160842014-02-12 Joseph Myers <joseph@codesourcery.com>
16085
743151ae
JM
16086 * sysdeps/mips/math-tests.h: Include <features.h>.
16087 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
16088 (ROUNDING_TESTS_long_double): Do not define.
16089 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
16090 (EXCEPTION_TESTS_long_double): Likewise.
16091 * sysdeps/mips/mips64/libm-test-ulps: Update.
16092
498afc54
JM
16093 * include/features.h (__USE_BSD): Remove macro definitions.
16094 (__USE_SVID): Likewise.
16095 (_BSD_SOURCE): Likewise.
16096 (_SVID_SOURCE): Likewise.
16097 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
16098 from definition of _DEFAULT_SOURCE.
16099 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
16100 [_DEFAULT_SOURCE].
16101 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
16102 * bits/mman.h [__USE_BSD]: Likewise.
16103 * bits/termios.h [__USE_BSD]: Likewise.
16104 * bits/waitstatus.h [__USE_BSD]: Likewise.
16105 * ctype/ctype.h [__USE_SVID]: Likewise.
16106 * dirent/dirent.h [__USE_BSD]: Likewise.
16107 * grp/grp.h [__USE_SVID]: Likewise.
16108 [__USE_BSD]: Likewise.
16109 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
16110 * io/fcntl.h [__USE_BSD]: Likewise.
16111 * io/ftw.h [__USE_BSD]: Likewise.
16112 * io/sys/stat.h [__USE_BSD]: Likewise.
16113 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
16114 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
16115 * libio/stdio.h [__USE_SVID]: Likewise.
16116 [__USE_BSD]: Likewise.
16117 * math/math.h [__USE_SVID]: Likewise.
16118 [__USE_BSD]: Likewise.
16119 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
16120 * misc/bits/syslog.h [__USE_BSD]: Likewise.
16121 * misc/search.h [__USE_SVID]: Likewise.
16122 * misc/sys/mman.h [__USE_BSD]: Likewise.
16123 * misc/sys/syslog.h [__USE_BSD]: Likewise.
16124 * misc/sys/uio.h [__USE_BSD]: Likewise.
16125 * posix/bits/unistd.h [__USE_BSD]: Likewise.
16126 * posix/glob.h [__USE_BSD]: Likewise.
16127 * posix/regex.h [__USE_BSD]: Likewise.
16128 * posix/sys/types.h [__USE_BSD]: Likewise.
16129 [__USE_SVID]: Likewise.
16130 * posix/sys/utsname.h [__USE_SVID]: Likewise.
16131 * posix/sys/wait.h [__USE_BSD]: Likewise.
16132 [__USE_SVID]: Likewise.
16133 * posix/unistd.h [__USE_BSD]: Likewise.
16134 [__USE_SVID]: Likewise.
16135 * pwd/pwd.h [__USE_SVID]: Likewise.
16136 * resolv/netdb.h [__USE_BSD]: Likewise.
16137 * setjmp/setjmp.h [__USE_BSD]: Likewise.
16138 * signal/signal.h [__USE_BSD]: Likewise.
16139 [__USE_SVID]: Likewise.
16140 * socket/sys/socket.h [__USE_BSD]: Likewise.
16141 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
16142 * stdlib/stdlib.h [__USE_BSD]: Likewise.
16143 [__USE_SVID]: Likewise.
16144 * string/bits/string2.h [__USE_BSD]: Likewise.
16145 [__USE_SVID]: Likewise.
16146 * string/bits/string3.h [__USE_BSD]: Likewise.
16147 * string/endian.h [__USE_BSD]: Likewise.
16148 * string/string.h [__USE_SVID]: Likewise.
16149 [__USE_BSD]: Likewise.
16150 * string/strings.h [__USE_BSD]: Likewise.
16151 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
16152 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
16153 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
16154 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
16155 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
16156 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
16157 Likewise.
16158 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
16159 Likewise.
16160 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
16161 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
16162 Likewise.
16163 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
16164 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
16165 Likewise.
16166 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
16167 Likewise.
16168 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
16169 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
16170 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
16171 Likewise.
16172 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
16173 Likewise.
16174 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
16175 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
16176 * termios/termios.h [__USE_BSD]: Likewise.
16177 * time/sys/time.h [__USE_BSD]: Likewise.
16178 * time/time.h [__USE_BSD]: Likewise.
16179 [__USE_SVID]: Likewise.
16180
dd7b064c
JM
16181 * Makefile (subdir_targets): Remove subdir_lint.out.
16182
a2c4c199
JM
16183 * stdio-common/Makefile (do-tst-unbputc): Remove target.
16184 (do-tst-printf): Likewise.
16185 (tests): Depend directly on $(objpfx)tst-unbputc.out and
16186 $(objpfx)tst-printf.out.
16187
8756f740
JM
16188 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
16189
1b6dd3f1
JM
16190 * Makerules (check-abi-%): Change target to
16191 $(objpfx)check-abi-%.out.
16192 (check-abi target): Update dependencies.
16193 (check-abi-pattern variable): Redirect output of diff to $@.
16194 (check-abi variable): Likewise.
16195 * elf/Makefile (check-abi): Update dependencies.
16196
ace614b8
JM
16197 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
16198 unused.
16199 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
16200 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
16201 subnormal range.
16202 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
16203 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
16204 value has largest subnormal exponent.
16205 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
16206 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
16207 * sysdeps/aarch64/soft-fp/sfp-machine.h
16208 (_FP_TININESS_AFTER_ROUNDING): New macro.
16209 * sysdeps/alpha/soft-fp/sfp-machine.h
16210 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16211 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16212 Likewise.
16213 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
16214 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16215 * sysdeps/mips/soft-fp/sfp-machine.h
16216 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16217 * sysdeps/powerpc/soft-fp/sfp-machine.h
16218 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16219 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16220 Likewise.
16221 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16222 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16223 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16224 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16225 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16226 Likewise.
16227
fbfdf9cb
DAS
162282014-02-12 Dylan Alex Simon <dylan@dylex.net>
16229
16230 [BZ #16545]
16231 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
16232 model 1.
16233
68b7efaa
RH
162342014-02-12 Richard Henderson <rth@redhat.com>
16235
c70a4b1d 16236 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
16237 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
16238 * sysdeps/unix/sysv/linux/alpha: Move directory from
16239 ports/sysdeps/unix/sysv/linux/alpha.
16240 * README: Update listing for alpha-*-linux-gnu.
16241
cb4a2928
JM
162422014-02-11 Joseph Myers <joseph@codesourcery.com>
16243
c941736c
JM
16244 * include/features.h: Update comment documenting feature test
16245 macros.
16246 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
16247 _DEFAULT_SOURCE.
16248 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
16249 (_SVID_SOURCE): Likewise.
16250 (_DEFAULT_SOURCE): Update description of default features.
16251 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
16252 with _GNU_SOURCE.
16253 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
16254 (S_ISVTX): Likewise.
16255 * manual/math.texi (Mathematical Constants): Likewise.
16256 * manual/signal.texi (Interrupted Primitives): Likewise.
16257 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
16258 * math/test-matherr.c (_SVID_SOURCE): Do not define.
16259 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
16260 Don't refer to _SVID_SOURCE in warning text.
16261
e8d8d7ec
JM
16262 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16263
cb4a2928
JM
16264 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
16265 already defined.
16266 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
16267 * sysdeps/mips/dl-lookup.c: Remove.
16268 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
16269
7e6424e3
AK
162702014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
16271
16272 [BZ #16447]
16273 * math/auto-libm-test-in: Add testcase for expl.
16274 * math/auto-libm-test-out: Regenerate.
16275 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
16276 calculation of unsafe.
16277 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
16278
75eff3fe
MS
162792014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
16280
16281 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
16282 * sysdeps/unix/sysv/linux/aarch64: Move directory from
16283 ports/sysdeps/unix/sysv/linux/aarch64.
16284 * README: Update listing for aarch64*-*-linux-gnu.
16285
d35f1e80
WN
162862014-02-11 Will Newton <will.newton@linaro.org>
16287
16288 * manual/probes.texi (Mathematical Function Probes): Use
16289 "triggered" instead of "hit".
16290
7b3436d4
WN
16291 * manual/probes.texi (Internal Probes): Add documentation
16292 of setjmp, longjmp and longjmp_target probes.
16293
b4f12ca3
WN
16294 * include/stap-probe.h: Add comment about probe argument
16295 format.
16296
c13a72b7
WN
16297 * malloc/mtrace.c (attribute_hidden): Remove unused macro
16298 definition. (tr_where, tr_freehook, tr_mallochook,
16299 tr_reallochook, tr_memalignhook): Use ANSI protoype.
16300
195b8165
DM
163012014-02-11 David S. Miller <davem@davemloft.net>
16302
16303 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
16304 processing int_tests.
16305
2ad7600b
JM
163062014-02-10 Joseph Myers <joseph@codesourcery.com>
16307
16308 * sysdeps/mips: Move directory from ports/sysdeps/mips.
16309 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
16310 * sysdeps/unix/sysv/linux/mips: Move directory from
16311 ports/sysdeps/unix/sysv/linux/mips.
16312 * README: Update listing for mips-*-linux-gnu and
16313 mips64-*-linux-gnu.
16314
73588a72
AS
163152014-02-10 Andreas Schwab <schwab@linux-m68k.org>
16316
16317 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
16318 * sysdeps/unix/sysv/linux/m68k: Move directory from
16319 ports/sysdeps/unix/sysv/linux/m68k.
16320 * README: Update listing for m68k-*-linux-gnu.
16321
4372980f
CM
163222014-02-10 Chris Metcalf <cmetcalf@tilera.com>
16323
16324 * sysdeps/tile: Move directory from ports/sysdeps/tile.
16325 * sysdeps/unix/sysv/linux/generic: Move directory from
16326 ports/sysdeps/unix/sysv/linux/generic.
16327 * sysdeps/unix/sysv/linux/tile: Move directory from
16328 ports/sysdeps/unix/sysv/linux/tile.
16329 * README: Update listing for tile*-*-linux-gnu.
16330
a1ffb40e
OB
163312014-02-10 Ondřej Bílka <neleai@seznam.cz>
16332
57f41c40
AS
16333 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
16334 __builtin_expect.
a1ffb40e
OB
16335 * benchtests/bench-memmem.c (simple_memmem): Likewise.
16336 * catgets/open_catalog.c (__open_catalog): Likewise.
16337 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
16338 * debug/confstr_chk.c: Likewise.
16339 * debug/fread_chk.c (__fread_chk): Likewise.
16340 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
16341 * debug/getgroups_chk.c: Likewise.
16342 * debug/mbsnrtowcs_chk.c: Likewise.
16343 * debug/mbsrtowcs_chk.c: Likewise.
16344 * debug/mbstowcs_chk.c: Likewise.
16345 * debug/memcpy_chk.c: Likewise.
16346 * debug/memmove_chk.c: Likewise.
16347 * debug/mempcpy_chk.c: Likewise.
16348 * debug/memset_chk.c: Likewise.
16349 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16350 * debug/strcat_chk.c (__strcat_chk): Likewise.
16351 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
16352 * debug/strncat_chk.c (__strncat_chk): Likewise.
16353 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
16354 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
16355 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
16356 * debug/wcpncpy_chk.c: Likewise.
16357 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16358 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
16359 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
16360 * debug/wcsncpy_chk.c: Likewise.
16361 * debug/wcsnrtombs_chk.c: Likewise.
16362 * debug/wcsrtombs_chk.c: Likewise.
16363 * debug/wcstombs_chk.c: Likewise.
16364 * debug/wmemcpy_chk.c: Likewise.
16365 * debug/wmemmove_chk.c: Likewise.
16366 * debug/wmempcpy_chk.c: Likewise.
16367 * debug/wmemset_chk.c: Likewise.
16368 * dirent/scandirat.c (SCANDIRAT): Likewise.
16369 * dlfcn/dladdr1.c (dladdr1): Likewise.
16370 * dlfcn/dladdr.c (dladdr): Likewise.
16371 * dlfcn/dlclose.c (dlclose_doit): Likewise.
16372 * dlfcn/dlerror.c (__dlerror): Likewise.
16373 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
16374 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
16375 * dlfcn/dlopen.c (dlopen_doit): Likewise.
16376 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
16377 * dlfcn/dlsym.c (dlsym_doit): Likewise.
16378 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
16379 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
16380 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
16381 Likewise.
16382 * elf/dl-conflict.c: Likewise.
16383 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
16384 * elf/dl-dst.h: Likewise.
16385 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
16386 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
16387 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
16388 * elf/dl-init.c (call_init, _dl_init): Likewise.
16389 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
16390 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
16391 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
16392 Likewise.
a1ffb40e
OB
16393 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
16394 Likewise.
16395 * elf/dl-minimal.c (__libc_memalign): Likewise.
16396 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
16397 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16398 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
16399 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
16400 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
16401 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
16402 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
16403 * elf/dl-writev.h (_dl_writev): Likewise.
16404 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
16405 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
16406 (dl_main): Likewise.
a1ffb40e
OB
16407 * elf/setup-vdso.h (setup_vdso): Likewise.
16408 * grp/compat-initgroups.c (compat_call): Likewise.
16409 * grp/fgetgrent.c (fgetgrent): Likewise.
16410 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
16411 * grp/putgrent.c (putgrent): Likewise.
16412 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16413 Likewise.
16414 * hurd/hurdinit.c: Likewise.
16415 * iconvdata/8bit-gap.c (struct): Likewise.
16416 * iconvdata/ansi_x3.110.c : Likewise.
16417 * iconvdata/big5.c : Likewise.
16418 * iconvdata/big5hkscs.c : Likewise.
16419 * iconvdata/cp1255.c: Likewise.
16420 * iconvdata/cp1258.c : Likewise.
16421 * iconvdata/cp932.c : Likewise.
16422 * iconvdata/euc-cn.c: Likewise.
16423 * iconvdata/euc-jisx0213.c : Likewise.
16424 * iconvdata/euc-jp.c: Likewise.
16425 * iconvdata/euc-jp-ms.c : Likewise.
16426 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
16427 * iconvdata/gb18030.c : Likewise.
16428 * iconvdata/gbbig5.c (const): Likewise.
16429 * iconvdata/gbgbk.c: Likewise.
16430 * iconvdata/gbk.c : Likewise.
16431 * iconvdata/ibm1364.c : Likewise.
16432 * iconvdata/ibm930.c : Likewise.
16433 * iconvdata/ibm932.c: Likewise.
16434 * iconvdata/ibm933.c : Likewise.
16435 * iconvdata/ibm935.c : Likewise.
16436 * iconvdata/ibm937.c : Likewise.
16437 * iconvdata/ibm939.c : Likewise.
16438 * iconvdata/ibm943.c: Likewise.
16439 * iconvdata/iso_11548-1.c: Likewise.
16440 * iconvdata/iso-2022-cn.c : Likewise.
16441 * iconvdata/iso-2022-cn-ext.c : Likewise.
16442 * iconvdata/iso-2022-jp-3.c: Likewise.
16443 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
16444 * iconvdata/iso-2022-kr.c : Likewise.
16445 * iconvdata/iso646.c (gconv_end): Likewise.
16446 * iconvdata/iso_6937-2.c : Likewise.
16447 * iconvdata/iso_6937.c : Likewise.
16448 * iconvdata/iso8859-1.c: Likewise.
16449 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
16450 * iconvdata/shift_jisx0213.c : Likewise.
16451 * iconvdata/sjis.c : Likewise.
16452 * iconvdata/t.61.c : Likewise.
16453 * iconvdata/tcvn5712-1.c : Likewise.
16454 * iconvdata/tscii.c: Likewise.
16455 * iconvdata/uhc.c : Likewise.
16456 * iconvdata/unicode.c (gconv_end): Likewise.
16457 * iconvdata/utf-16.c (gconv_end): Likewise.
16458 * iconvdata/utf-32.c (gconv_end): Likewise.
16459 * iconvdata/utf-7.c (base64): Likewise.
16460 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
16461 * iconv/gconv_close.c (__gconv_close): Likewise.
16462 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
16463 * iconv/gconv_simple.c (internal_ucs4_loop_single)
16464 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
16465 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
16466 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
16467 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
16468 * iconv/iconv.c (iconv): Likewise.
16469 * iconv/iconv_close.c: Likewise.
16470 * iconv/loop.c (SINGLE): Likewise.
16471 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
16472 * include/atomic.h: Likewise.
16473 * inet/inet6_option.c (option_alloc): Likewise.
16474 * intl/bindtextdom.c (set_binding_values): Likewise.
16475 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
16476 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
16477 * intl/localealias.c (read_alias_file): Likewise.
16478 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
16479 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
16480 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
16481 * libio/fmemopen.c (fmemopen): Likewise.
16482 * libio/iofgets.c (_IO_fgets): Likewise.
16483 * libio/iofgets_u.c (fgets_unlocked): Likewise.
16484 * libio/iofgetws.c (fgetws): Likewise.
16485 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
16486 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
16487 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
16488 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
16489 * locale/findlocale.c (_nl_find_locale): Likewise.
16490 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
16491 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
16492 Likewise.
16493 * locale/setlocale.c (setlocale): Likewise.
16494 * login/programs/pt_chown.c (main): Likewise.
16495 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
16496 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
16497 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
16498 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
16499 * math/e_exp2l.c: Likewise.
16500 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
16501 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
16502 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
16503 * math/s_catan.c (__catan): Likewise.
16504 * math/s_catanf.c (__catanf): Likewise.
16505 * math/s_catanh.c (__catanh): Likewise.
16506 * math/s_catanhf.c (__catanhf): Likewise.
16507 * math/s_catanhl.c (__catanhl): Likewise.
16508 * math/s_catanl.c (__catanl): Likewise.
16509 * math/s_ccosh.c (__ccosh): Likewise.
16510 * math/s_ccoshf.c (__ccoshf): Likewise.
16511 * math/s_ccoshl.c (__ccoshl): Likewise.
16512 * math/s_cexp.c (__cexp): Likewise.
16513 * math/s_cexpf.c (__cexpf): Likewise.
16514 * math/s_cexpl.c (__cexpl): Likewise.
16515 * math/s_clog10.c (__clog10): Likewise.
16516 * math/s_clog10f.c (__clog10f): Likewise.
16517 * math/s_clog10l.c (__clog10l): Likewise.
16518 * math/s_clog.c (__clog): Likewise.
16519 * math/s_clogf.c (__clogf): Likewise.
16520 * math/s_clogl.c (__clogl): Likewise.
16521 * math/s_csin.c (__csin): Likewise.
16522 * math/s_csinf.c (__csinf): Likewise.
16523 * math/s_csinh.c (__csinh): Likewise.
16524 * math/s_csinhf.c (__csinhf): Likewise.
16525 * math/s_csinhl.c (__csinhl): Likewise.
16526 * math/s_csinl.c (__csinl): Likewise.
16527 * math/s_csqrt.c (__csqrt): Likewise.
16528 * math/s_csqrtf.c (__csqrtf): Likewise.
16529 * math/s_csqrtl.c (__csqrtl): Likewise.
16530 * math/s_ctan.c (__ctan): Likewise.
16531 * math/s_ctanf.c (__ctanf): Likewise.
16532 * math/s_ctanh.c (__ctanh): Likewise.
16533 * math/s_ctanhf.c (__ctanhf): Likewise.
16534 * math/s_ctanhl.c (__ctanhl): Likewise.
16535 * math/s_ctanl.c (__ctanl): Likewise.
16536 * math/w_pow.c: Likewise.
16537 * math/w_powf.c: Likewise.
16538 * math/w_powl.c: Likewise.
16539 * math/w_scalb.c (sysv_scalb): Likewise.
16540 * math/w_scalbf.c (sysv_scalbf): Likewise.
16541 * math/w_scalbl.c (sysv_scalbl): Likewise.
16542 * misc/error.c (error_tail): Likewise.
16543 * misc/pselect.c (__pselect): Likewise.
16544 * nis/nis_callback.c (__nis_create_callback): Likewise.
16545 * nis/nis_call.c (__nisfind_server): Likewise.
16546 * nis/nis_creategroup.c (nis_creategroup): Likewise.
16547 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
16548 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
16549 * nis/nis_getservlist.c (nis_getservlist): Likewise.
16550 * nis/nis_lookup.c (nis_lookup): Likewise.
16551 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
16552 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
16553 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 16554 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
16555 * nis/nss_compat/compat-grp.c (getgrent_next_file)
16556 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
16557 * nis/nss_compat/compat-initgroups.c (add_group)
16558 (internal_getgrent_r): Likewise.
16559 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
16560 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
16561 * nis/nss_compat/compat-spwd.c (getspent_next_file)
16562 (internal_getspnam_r): Likewise.
16563 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
16564 (_nss_nis_getaliasbyname_r): Likewise.
16565 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
16566 (_nss_nis_getntohost_r): Likewise.
16567 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
16568 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
16569 (_nss_nis_getgrgid_r): Likewise.
16570 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
16571 (internal_nis_gethostent_r, internal_gethostbyname2_r)
16572 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
16573 (_nss_nis_gethostbyname4_r): Likewise.
16574 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
16575 (initgroups_netid): Likewise.
a1ffb40e 16576 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
16577 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
16578 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
16579 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
16580 (_nss_nis_getprotobynumber_r): Likewise.
16581 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
16582 (_nss_nis_getsecretkey): Likewise.
16583 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
16584 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
16585 (_nss_nis_getpwuid_r): Likewise.
16586 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
16587 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
16588 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
16589 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
16590 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
16591 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
16592 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
16593 Likewise.
57f41c40
AS
16594 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
16595 (_nss_nisplus_getntohost_r): Likewise.
16596 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
16597 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
16598 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
16599 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 16600 Likewise.
57f41c40
AS
16601 * nis/nss_nisplus/nisplus-initgroups.c
16602 (_nss_nisplus_initgroups_dyn): Likewise.
16603 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
16604 (_nss_nisplus_getnetbyaddr_r): Likewise.
16605 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
16606 (_nss_nisplus_getprotobynumber_r): Likewise.
16607 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
16608 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
16609 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
16610 Likewise.
57f41c40
AS
16611 * nis/nss_nisplus/nisplus-service.c
16612 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
16613 (_nss_nisplus_getservbyport_r): Likewise.
16614 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
16615 (_nss_nisplus_getspnam_r): Likewise.
16616 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
16617 Likewise.
a1ffb40e
OB
16618 * nscd/aicache.c (addhstaiX): Likewise.
16619 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
16620 * nscd/connections.c (register_traced_file, send_ro_fd)
16621 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
16622 (main_loop_epoll): Likewise.
a1ffb40e
OB
16623 * nscd/grpcache.c (addgrbyX): Likewise.
16624 * nscd/hstcache.c (addhstbyX): Likewise.
16625 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16626 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
16627 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
16628 (addinnetgrX): Likewise.
16629 * nscd/nscd-client.h (__nscd_acquire_maplock)
16630 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
16631 * nscd/nscd_getai.c (__nscd_getai): Likewise.
16632 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
16633 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
16634 Likewise.
16635 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
16636 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
16637 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
16638 (__nscd_get_map_ref): Likewise.
a1ffb40e 16639 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
16640 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
16641 Likewise.
a1ffb40e
OB
16642 * nscd/pwdcache.c (addpwbyX): Likewise.
16643 * nscd/selinux.c (preserve_capabilities): Likewise.
16644 * nscd/servicescache.c (addservbyX): Likewise.
16645 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
16646 * posix/fnmatch.c (fnmatch): Likewise.
16647 * posix/getopt.c (_getopt_internal_r): Likewise.
16648 * posix/glob.c (glob, glob_in_dir): Likewise.
16649 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
16650 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
16651 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
16652 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
16653 * resolv/res_init.c: Likewise.
16654 * resolv/res_mkquery.c (res_nmkquery): Likewise.
16655 * resolv/res_query.c (__libc_res_nquery): Likewise.
16656 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
16657 Likewise.
16658 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
16659 * stdio-common/perror.c (perror): Likewise.
16660 * stdio-common/printf_fp.c (___printf_fp): Likewise.
16661 * stdio-common/tmpnam.c (tmpnam): Likewise.
16662 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16663 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
16664 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
16665 Likewise.
a1ffb40e
OB
16666 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
16667 * stdlib/putenv.c (putenv): Likewise.
16668 * stdlib/setenv.c (__add_to_environ): Likewise.
16669 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16670 * stdlib/strtol_l.c (INTERNAL): Likewise.
16671 * string/memmem.c (memmem): Likewise.
16672 * string/strerror.c (strerror): Likewise.
16673 * string/strnlen.c (__strnlen): Likewise.
16674 * string/test-memmem.c (simple_memmem): Likewise.
16675 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
16676 * sunrpc/pm_getport.c (__get_socket): Likewise.
16677 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
16678 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
16679 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
16680 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
16681 Likewise.
16682 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
16683 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
16684 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
16685 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
16686 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
16687 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
16688 Likewise.
16689 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
16690 Likewise.
a1ffb40e
OB
16691 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
16692 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
16693 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16694 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
16695 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
16696 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
16697 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
16698 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
16699 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
16700 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
16701 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
16702 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
16703 Likewise.
16704 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
16705 Likewise.
16706 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
16707 Likewise.
16708 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
16709 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16710 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
16711 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
16712 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
16713 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
16714 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16715 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
16716 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
16717 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
16718 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
16719 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16720 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
16721 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
16722 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
16723 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
16724 Likewise.
a1ffb40e
OB
16725 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
16726 Likewise.
16727 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
16728 Likewise.
16729 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
16730 Likewise.
16731 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16732 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16733 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
16734 Likewise.
16735 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
16736 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
16737 * sysdeps/posix/opendir.c (__opendirat): Likewise.
16738 * sysdeps/posix/sleep.c: Likewise.
16739 * sysdeps/posix/tempname.c: Likewise.
16740 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
16741 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16742 Likewise.
57f41c40
AS
16743 * sysdeps/powerpc/powerpc32/dl-machine.h
16744 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
16745 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16746 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16747 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
16748 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
16749 Likewise.
16750 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
16751 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
16752 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
16753 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
16754 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
16755 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
16756 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
16757 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
16758 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16759 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
16760 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
16761 (elf_machine_lazy_rel): Likewise.
a1ffb40e 16762 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
16763 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
16764 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
16765 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
16766 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
16767 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
16768 * sysdeps/unix/grantpt.c (grantpt): Likewise.
16769 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
16770 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
16771 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
16772 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16773 Likewise.
16774 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
16775 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
16776 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
16777 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
16778 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
16779 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16780 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
16781 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
16782 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
16783 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16784 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16785 Likewise.
16786 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
16787 (__posix_fallocate64_l64): Likewise.
16788 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
16789 (posix_fallocate): Likewise.
57f41c40
AS
16790 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
16791 Likewise.
a1ffb40e 16792 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
16793 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
16794 (getifaddrs_internal): Likewise.
a1ffb40e
OB
16795 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
16796 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
16797 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
16798 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
16799 * sysdeps/unix/sysv/linux/posix_fallocate64.c
16800 (__posix_fallocate64_l64): Likewise.
16801 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
16802 Likewise.
16803 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
16804 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
16805 (__get_clockfreq): Likewise.
a1ffb40e
OB
16806 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
16807 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
16808 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
16809 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16810 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16811 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
16812 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
16813 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
16814 Likewise.
16815 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
16816 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
16817 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
16818 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
16819 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16820 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
16821 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
16822 Likewise.
16823 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16824 (posix_fallocate): Likewise.
16825 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16826 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
16827 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
16828 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
16829 (elf_machine_rela, elf_machine_rela_relative)
16830 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
16831 * time/asctime.c (asctime_internal): Likewise.
16832 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
16833 * time/tzset.c (__tzset_parse_tz): Likewise.
16834 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
16835 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
16836 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
16837 * wcsmbs/wcsmbsload.h: Likewise.
16838
f3d338c9
OB
16839 [BZ #15894]
16840 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
16841
57f41c40
AS
16842 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
16843 (arena_get2): Remove THREAD_STATS conditionals.
16844 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
16845 (__malloc_stats, int): Likewise.
bdfe308a 16846
d674667c
MF
168472014-02-08 Mike Frysinger <vapier@gentoo.org>
16848
16849 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
16850 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
16851
6349768c
MF
16852 * manual/setjmp.texi: Fix typos/grammar errors.
16853
0b7c7473
MF
16854 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
16855 Only return early when n is <= 0. Delete unused return statement.
16856
ac8cc9e3
MF
16857 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
16858 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
16859 * debug/tst-longjmp_chk3.c: New file.
16860
c5bb8e23
MF
16861 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
16862 (test_main): Replace code with set_fortify_handler call.
16863 * debug/test-strcpy_chk.c: Likewise.
16864 * debug/tst-chk1.c: Likewise.
16865 * debug/tst-longjmp_chk.c: Likewise.
16866 * test-skeleton.c: Include fcntl.h & paths.h
16867 (set_fortify_handler): Define.
16868
10444e42
MF
16869 * debug/tst-longjmp_chk.c: Add header comment and include
16870 ../test-skeleton.c.
16871 (do_test): Mark static.
16872 (TEST_FUNCTION): Define.
16873
1e805e8d
MF
16874 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
16875 (IP_PMTUDISC_INTERFACE): Likewise.
16876 (IP_MULTICAST_IF): Likewise.
16877 (IP_MULTICAST_TTL): Likewise.
16878 (IP_MULTICAST_LOOP): Likewise.
16879 (IP_ADD_MEMBERSHIP): Likewise.
16880 (IP_DROP_MEMBERSHIP): Likewise.
16881 (IP_UNBLOCK_SOURCE): Likewise.
16882 (IP_BLOCK_SOURCE): Likewise.
16883 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
16884 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
16885 (IP_MSFILTER): Likewise.
16886 (MCAST_JOIN_GROUP): Likewise.
16887 (MCAST_BLOCK_SOURCE): Likewise.
16888 (MCAST_UNBLOCK_SOURCE): Likewise.
16889 (MCAST_LEAVE_GROUP): Likewise.
16890 (MCAST_JOIN_SOURCE_GROUP): Likewise.
16891 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
16892 (MCAST_MSFILTER): Likewise.
16893 (IP_MULTICAST_ALL): Likewise.
16894 (IP_UNICAST_IF): Likewise.
16895
73f79bb7
MF
16896 * timezone/Makefile: Delete $(have-ksh) check.
16897 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
16898 * timezone/tzselect.ksh: Add +x mode bits.
16899
8da79b60
MF
16900 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
16901 (ANON_INODE_FS_MAGIC): Likewise.
16902 (BDEVFS_MAGIC): Likewise.
16903 (BINFMTFS_MAGIC): Likewise.
16904 (BTRFS_TEST_MAGIC): Likewise.
16905 (CRAMFS_MAGIC_WEND): Likewise.
16906 (DEBUGFS_MAGIC): Likewise.
16907 (ECRYPTFS_SUPER_MAGIC): Likewise.
16908 (EXT3_SUPER_MAGIC): Likewise.
16909 (EXT4_SUPER_MAGIC): Likewise.
16910 (FUTEXFS_SUPER_MAGIC): Likewise.
16911 (HOSTFS_SUPER_MAGIC): Likewise.
16912 (HUGETLBFS_MAGIC): Likewise.
16913 (MINIX3_SUPER_MAGIC): Likewise.
16914 (MTD_INODE_FS_MAGIC): Likewise.
16915 (NILFS_SUPER_MAGIC): Likewise.
16916 (OPENPROM_SUPER_MAGIC): Likewise.
16917 (PIPEFS_MAGIC): Likewise.
16918 (PSTOREFS_MAGIC): Likewise.
16919 (QNX6_SUPER_MAGIC): Likewise.
16920 (RAMFS_MAGIC): Likewise.
16921 (REISERFS_SUPER_MAGIC_STRING): Likewise.
16922 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
16923 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
16924 (SECURITYFS_MAGIC): Likewise.
16925 (SELINUX_MAGIC): Likewise.
16926 (SMACK_MAGIC): Likewise.
16927 (SOCKFS_MAGIC): Likewise.
16928 (SQUASHFS_MAGIC): Likewise.
16929 (STACK_END_MAGIC): Likewise.
16930 (TMPFS_MAGIC): Likewise.
16931 (USBDEVICE_SUPER_MAGIC): Likewise.
16932 (V9FS_MAGIC): Likewise.
16933 (XENFS_SUPER_MAGIC): Likewise.
16934 (CRAMFS_MAGIC): Fix typo in comment.
16935 (EXT2_SUPER_MAGIC): Update comment.
16936 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
16937
464263cc
JM
169382014-02-08 Joseph Myers <joseph@codesourcery.com>
16939
c6bfe5c4
JM
16940 * sysdeps/arm: Move directory from ports/sysdeps/arm.
16941 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
16942 * sysdeps/unix/sysv/linux/arm: Move directory from
16943 ports/sysdeps/unix/sysv/linux/arm.
16944 * README: Update listing for arm-*-linux-gnueabi.
16945
464263cc
JM
16946 * README: Remove mention of am33.
16947
32749f6c
RM
169482014-02-07 Roland McGrath <roland@hack.frob.com>
16949
16950 * bits/sigset.h (__sigemptyset): Use a statement expression rather
16951 than the comma operator, to avoid "rhs of comma has no effect"
16952 compiler warnings.
16953 (__sigfillset, __sigandset, __sigorset): Likewise.
16954 * include/signal.h (__sigemptyset): Likewise.
16955 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
16956
d5b396c1
AM
169572014-02-07 Allan McRae <allan@archlinux.org>
16958
16959 * version.h (RELEASE): Set to "development".
16960 (VERSION): Set to "2.19.90"
16961 * NEWS: Add 2.20 section.
16962
3bfff2ed
CD
169632014-02-06 Carlos O'Donell <carlos@redhat.com>
16964
16965 [BZ #16529]
16966 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
16967
ee7cc385
SP
169682014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16969
16970 * manual/contrib.texi: Update entry for Carlos O'Donell,
16971 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
16972
f877c4f2
CD
169732014-02-05 Carlos O'Donell <carlos@rehdat.com>
16974
27e839f6
CD
16975 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
16976
f877c4f2
CD
16977 * sysdeps/unix/sysv/linux/kernel-features.h
16978 [__LINUX_KERNEL_VERSION >= 0x020621]
16979 (__ASSUME_PROC_PID_TASK_COMM): Define.
16980
68159946
SP
169812014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16982
ba17cdbd
SP
16983 [BZ #16398]
16984 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
16985 conversion when destination buffer does not have enough space.
16986 * libio/tst-ftell-partial-wide.c: New test case.
16987 * libio/Makefile (tests): Add tst-ftell-partial-wide.
16988
68159946
SP
16989 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
16990 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
16991 Leonard and Allan McRae.
16992
2b528732
DM
169932014-02-04 David S. Miller <davem@davemloft.net>
16994
16995 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
16996 32-bit.
16997
0ff82463
AZ
169982014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16999
57f41c40
AS
17000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
17001 New file
c01603f7
AZ
17002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
17003 New file
57f41c40
AS
17004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
17005 New file.
17006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
17007 New file.
c01603f7
AZ
17008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
17009 New file.
57f41c40
AS
17010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
17011 New file.
17012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
17013 New file.
c01603f7
AZ
17014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
17015 New file.
17016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
17017 New file.
17018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
17019 New file.
17020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
17021 New file.
17022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
17023 New file.
17024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
17025 New file.
17026
170272014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17028
0ff82463
AZ
17029 * nptl/shlib-versions: Change powerpc*le start to 2.17.
17030 * shlib-versions: Likewise.
17031
1695c773
AZ
170322014-02-04 Roland McGrath <roland@hack.frob.com>
17033 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17034
17035 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
17036 (abilist-pattern): New variable, set to %-le.abilist.
17037
17038 * Makerules (abilist-pattern): New variable.
17039 (vpath): Use $(abilist-pattern) in place of %.abilist.
17040 (check-abi-% pattern rule): Likewise.
17041 (check-abi, update-abi): Likewise.
17042
6c0ce4b4
EW
170432014-02-04 Eric Wong <normalperson@yhbt.net>
17044
17045 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17046
481e3524
CD
170472014-02-03 Carlos O'Donell <carlos@redhat.com>
17048
17049 * manual/startup.texi: Add next, previous, and top entries for
17050 the `Program Arguments' and `Environment Variables' nodes.
17051
375592d3
AO
170522014-02-03 Alexandre Oliva <aoliva@redhat.com>
17053
17054 * manual/macros.texi: Add comments before MTASC-safety macros.
17055
f54838ba
AO
17056 * manual/users.texi: Document MTASC-safety properties.
17057
57f41c40
AS
17058 * manual/threads.texi (pthread_key_create, pthread_key_delete)
17059 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
17060 @deftypefun, and add @safety note.
17061 * manual/signal.texi: Move comments that analyze the above
17062 functions to their home place.
17063
fd3daba4
AM
170642014-02-03 Allan McRae <allan@archlinux.org>
17065
17066 * po/sl.po: Update Slovenian translation from translation project.
17067
597636d7
AO
170682014-02-02 Alexandre Oliva <aoliva@redhat.com>
17069
17070 * manual/time.texi (timegm): Add missing blank after @c.
17071 Reported by Joseph Myers <joseph@codesourcery.com>.
17072
ee196e3c
AO
170732014-02-01 Alexandre Oliva <aoliva@redhat.com>
17074
17075 * manual/check-safety.sh: New.
17076 * manual/Makefile ($(objpfx)stamp-summary): Run it.
17077
f8d529d5
AO
17078 * manual/terminal.texi: Document MTASC-safety properties.
17079
de55fdf4
AO
17080 * manual/filesys.texi: Document MTASC-safety properties.
17081
c3299c08
AO
17082 * manual/errno.texi: Document MTASC-safety properties.
17083
06e90b14
AO
17084 * manual/intro.texi: Document safety identifiers and
17085 conditionals.
17086
1acd4371
AO
17087 * manual/string.texi (wcstok): Fix prototype.
17088 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
17089
23e5b8cb
AO
17090 * manual/time.texi: Document MTASC-safety properties.
17091
11087373
AO
17092 * manual/string.texi: Document MTASC-safety properties.
17093
5da2c93d
AO
17094 * manual/threads.texi: Document MTASC-safety properties.
17095
171e9210
AO
17096 * manual/stdio.texi: Document MTASC-safety properties.
17097
d9e02532
AO
17098 * manual/syslog.texi: Document MTASC-safety properties.
17099
6af8bab7
AO
17100 * manual/sysinfo.texi: Document MTASC-safety properties.
17101
663b02d7
AO
17102 * manual/startup.texi: Document MTASC-safety properties.
17103
973f180b
AO
17104 * manual/socket.texi: Document MTASC-safety properties.
17105
8f3c25c8
AO
17106 * manual/signal.texi: Document MTASC-safety properties.
17107
542210fb
AO
171082014-01-31 Alexandre Oliva <aoliva@redhat.com>
17109
17110 * manual/setjmp.texi: Document MTASC-safety properties.
17111
433c45a2
AO
17112 * manual/search.texi: Document MTASC-safety properties.
17113
c8ce789c
AO
17114 * manual/resource.texi: Document MTASC-safety properties.
17115
19f5d29c
AO
17116 * manual/process.texi: Document MTASC-safety properties.
17117
e2dfb7f4
AO
17118 * manual/platform.texi: Document MTASC-safety properties.
17119
8c1413f5
AO
17120 * manual/pipe.texi: Document MTASC-safety properties.
17121
03483ada
AO
17122 * manual/pattern.texi: Document MTASC-safety properties.
17123
29e7e2df
AO
17124 * manual/message.texi: Document MTASC-safety properties.
17125
9f529d7c
AO
17126 [BZ #12751]
17127 * manual/memory.texi: Document MTASC-safety properties.
17128
27aaa791
AO
17129 * manual/math.texi: Document MTASC-safety properties.
17130
f2d58726
AO
17131 * manual/locale.texi: Document MTASC-safety properties.
17132
2cc3615c
AO
17133 * manual/llio.texi: Document MTASC-safety properties.
17134
d9f0ec97
AO
17135 * manual/libdl.texi: New.
17136
e7c4409a
AO
17137 * manual/lang.texi: Document MTASC-safety properties.
17138
27bdc63c
AO
17139 * manual/job.texi: Document MTASC-safety properties.
17140
a7b90ea9
AO
17141 * manual/getopt.texi: Document MTASC-safety properties.
17142
c49130e3
AO
17143 * manual/ctype.texi: Document MTASC-safety properties.
17144
0d23a5c1
MR
171452014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
17146
17147 [BZ #16046]
17148 * csu/libc-tls.c (static_map): Remove variable.
17149 (__libc_setup_tls): Use main executable's link map for TLS data.
17150 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
17151 casing for LM_ID_BASE and GL(dl_nns).
17152 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
17153 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
17154 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
17155 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
17156 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
17157 member.
17158 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
17159 l_phnum members.
17160
0037bb60
AO
171612014-01-30 Alexandre Oliva <aoliva@redhat.com>
17162
17163 * manual/debug.texi: Document MTASC-safety properties.
17164
409e00bd
L
171652014-01-29 H.J. Lu <hongjiu.lu@intel.com>
17166
17167 [BZ #16510]
17168 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
17169 of __x86_64__ when disabling x87 inline functions.
17170
86e60666
AO
171712014-01-29 Alexandre Oliva <aoliva@redhat.com>
17172
17173 * manual/charset.texi: Document MTASC-safety properties.
17174
76167637
AO
17175 * manual/crypt.texi: Document MTASC-safety properties.
17176
e567f2a0
AO
17177 * manual/conf.texi: Document MTASC-safety properties.
17178
b719dafd
AO
17179 * manual/arith.texi: Document MTASC-safety properties.
17180
4a16c662
AO
17181 * manual/argp.texi: Document MTASC-safety properties.
17182
0a57b83e
AO
17183 * manual/macros.texi: Introduce macros to document multi
17184 thread, asynchronous signal and asynchronous cancellation
17185 safety properties.
17186 * manual/intro.texi: Introduce the properties themselves.
17187
feab2397
KK
171882014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17189
17190 * sysdeps/sh/sh4/Makefile: New file.
17191
1c0d11bc
AS
171922014-01-27 Andreas Schwab <schwab@linux-m68k.org>
17193
17194 * math/gen-libm-test.pl ($srcdir): New variable.
17195 ($auto_input): Use it.
17196
af37a8a3
SP
171972014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17198
d7b00f98
SP
17199 [BZ #16506]
17200 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
17201 access beyond array bounds when parsing netgroups file.
17202
af37a8a3
SP
17203 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
17204 the old buffer before realloc.
17205
0c00f062
AM
172062014-01-27 Allan McRae <allan@archlinux.org>
17207
17208 * po/fr.po: Update French translation from translation project.
17209
7d69a1b0
KK
172102014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17211
17212 * sysdeps/sh/libm-test-ulps: Regenerate.
17213
6e697ff7
DM
172142014-01-24 David S. Miller <davem@davemloft.net>
17215
17216 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
17217
9cadb35c
KK
172182014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17219
17220 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
17221 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
17222
5d41dadf
SP
172232013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17224
17225 [BZ #16474]
17226 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
17227 string pointers after reallocation.
17228
0bad441c
KK
172292014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17230
17231 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
17232 __SH4A__ instead of __SH_FPU_ANY__.
17233
7007c661
KK
172342014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17235
17236 * sysdeps/sh/fpu_control.h: New file.
17237 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
17238 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
17239 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
17240 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
17241 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
17242 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
17243 * sysdeps/sh/sys/ucontext.h: Remove.
17244 * sysdeps/sh/sys: Remove directory.
17245
0f0c35e4
AK
172462014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17247
17248 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
17249 s390/sys/ucontext.h.
17250 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
17251 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
17252
4959e284
L
172532014-01-20 H.J. Lu <hongjiu.lu@intel.com>
17254
17255 [BZ #15605]
17256 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
17257
d98720e0
AZ
172582014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17259
17260 [BZ#16431]
17261 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17262 Adjust the vDSO correctly for internal calls.
17263 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
17264
91cbd0bc
AM
172652014-01-20 Allan McRae <allan@archlinux.org>
17266
17267 * po/ca.po: Update Catalan translation from translation project.
17268
7a02cfad
MF
172692014-01-16 Mike Frysinger <vapier@gentoo.org>
17270
17271 * sysdeps/s390/sotruss-lib.c: New file.
17272
736c304a
AZ
172732014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17274
17275 [BZ#16430]
6e077ee5 17276 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
17277 (__GI___gettimeofday): Alias for a different internal symbol to avoid
17278 local calls issues by not having a PLT stub required for IFUNC calls.
17279 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
17280
94d0cea0
JM
172812014-01-16 Joseph Myers <joseph@codesourcery.com>
17282
17283 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
17284 * math/test-fpucw-static.c: Likewise.
17285
980cb518
SP
172862013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17287
17288 [BZ #16453]
17289 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
17290
2393fc01
AZ
172912014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17292
17293 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
17294 implementation for powerpc.
17295
d359bcc2
OB
172962014-01-15 Ondřej Bílka <neleai@seznam.cz>
17297
17298 [BZ #14782]
17299 * sysdeps/posix/system.c (__libc_system): Do not enable
17300 asynchronous cancellation.
17301
7beb48cb
AK
173022014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17303
17304 [BZ #16427]
17305 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
17306 handling only for numbers special also in the IEEE case.
17307
c20d5bf5
AK
173082014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17309
17310 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17311
e83bd4ee
AM
173122014-01-11 Allan McRae <allan@archlinux.org>
17313
76d0ea69
AM
17314 * po/bg.po: Update Bulgarian translation from translation project.
17315
e83bd4ee
AM
17316 * po/de.po: Update German translation from translation project.
17317
bc2ba20a
RM
173182014-01-10 Roland McGrath <roland@hack.frob.com>
17319
17320 * sysdeps/generic/gcc-compat.h: New file.
17321
649ecea2
SP
173222014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17323
17324 * benchtests/asin-inputs: Correct slow inputs.
17325 * benchtests/acos-inputs: Likewise.
17326
1b19c006
AM
173272014-01-10 Allan McRae <allan@archlinux.org>
17328
a46dab08
AM
17329 * po:sv.po: Update Swedish translation from translation project.
17330
421df74a
AM
17331 * po/vi.po: Update Vietnamese translation from translation project.
17332
d61c51a7
AM
17333 * po/eo.po: Update Esperanto translation from translation project.
17334
0339a319
AM
17335 * po/cs.po: Update Czech translation from translation project.
17336
94ad3e99
AM
17337 * po/nl.po: Update Dutch translation from translation project.
17338
e349ca71
AM
17339 * po/pl.po: Update Polish translation from translation project.
17340
ddf930c1
AM
17341 * po/ru.po: Update Russian translation from translation project.
17342
1b19c006
AM
17343 * po/uk.po: Update Ukrainian translation from translation project.
17344
9f236c49
BM
173452014-01-08 Brooks Moses <bmoses@google.com>
17346
17347 * elf/dl-load.c: Fix comment typo.
17348
cd6701cf
CD
173492014-01-08 Carlos O'Donell <carlos@redhat.com>
17350
17351 * po/header.pot: Rename to...
17352 * po/pot.header: ... this.
17353 * po/Makefile: Use pot.header.
17354
66671c84
YK
173552014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
17356 Maxim Kuvyrkov <maxim@kugelworks.com>
17357
17358 [BZ #16394]
cd6701cf
CD
17359 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
17360 SRC and DEST against LEN.
66671c84 17361
38f34581
AZ
173622014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17363
17364 [BZ #16414]
17365 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
17366 implementation.
17367 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
17368
173692014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
17370
17371 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17372
4c327f2a
JM
173732014-01-08 Joseph Myers <joseph@codesourcery.com>
17374
17375 [BZ #16408]
17376 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
17377 for large positive arguments.
17378
b821f414
JM
173792014-01-07 Joseph Myers <joseph@codesourcery.com>
17380
1f0f2067
JM
17381 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17382
a5a326f6
JM
17383 * math/auto-libm-test-in: Mark various tests with
17384 xfail-rounding:ldbl-128ibm.
17385 * math/auto-libm-test-out: Regenerated.
17386
b821f414
JM
17387 [BZ #16407]
17388 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
17389 Increase overflow threshold.
17390
94c8a4bc
OB
173912014-01-07 Ondřej Bílka <neleai@seznam.cz>
17392
17393 [BZ #14286]
17394 * stdio-common/vfprintf.c: Check for integer overflow.
17395
87ded0c3
AK
173962014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17397
17398 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
17399 the first argument and return value of __tls_get_addr_internal.
17400
c5eebdd0
AK
174012014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17402
17403 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
17404 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
17405
05d138ef
AK
174062014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17407
17408 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
17409 * sysdeps/s390/rtld-global-offsets.sym: New file.
17410 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
17411 GLIBC_2.19 symbol.
17412 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
17413 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
17414 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
17415 ... this.
17416 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
17417 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
17418 ... this.
17419 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17420 Regenerate.
17421 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17422 Regenerate.
17423 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
17424 halfs of GPRs for high_gprs contexts.
17425 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
17426 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
17427 field.
17428 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
17429 uc_flags field.
17430 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
17431 64 bit versions:
17432 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
17433 for high GPRs (uc_high_gprs) and for future extensions
17434 (__reserved).
17435 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
17436 for future extensions (__reserved).
17437 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
17438 64 bit versions:
17439 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
17440 SC_HIGHGPRS offset definition.
17441 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
17442 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
17443
93a45ff1
AK
17444 * Versions.def: Add GLIBC_2.19 for libpthread.
17445 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
17446 siglongjmp for libpthread with GLIBC_2.19 symver.
17447 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
17448 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
17449 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
17450 * sysdeps/s390/__longjmp.c: New file.
17451 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
17452 * sysdeps/s390/longjmp.c: New file.
17453 * sysdeps/s390/setjmp.S: New file.
17454 * sysdeps/s390/sigjmp.S: New file.
17455 * sysdeps/s390/v1-longjmp.c: New file.
17456 * sysdeps/s390/v1-setjmp.h: New file.
17457 * sysdeps/s390/v1-sigjmp.c: New file.
17458 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
17459 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
17460 GLIBC_2.19 version.
17461 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
17462 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
17463 versioned symbols for ____longjmp_chk.
17464 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
17465 Likewise.
17466 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17467 Regenerate.
17468 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17469 Regenerate.
17470 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17471 Regenerate.
17472 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17473 Regenerate.
17474 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
17475 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
17476 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
17477 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
17478 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
17479 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
17480 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
17481 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
17482 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
17483 * sysdeps/s390/rtld-__longjmp.c: New file.
17484 * sysdeps/s390/rtld-setjmp.S: New file.
17485
eb3fc44b
JM
174862014-01-06 Joseph Myers <joseph@codesourcery.com>
17487
17488 [BZ #16400]
17489 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17490 Return -__logl (x) for small positive arguments without evaluating
17491 a polynomial.
17492
9341dde4
MF
174932014-01-06 Mike Frysinger <vapier@gentoo.org>
17494
17495 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
17496 Rename to ...
17497 (__ptrace_peeksiginfo_args): ... this.
17498 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17499 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17500 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17501
4cff0293
AM
175022014-01-06 Allan McRae <allan@archlinux.org>
17503
17504 * inet/netinet/in.h: Fix typo in comment.
17505
75595dcf
AJ
175062014-01-05 Andreas Jaeger <aj@suse.de>
17507
17508 * sysdeps/i386/fpu/libm-test-ulps: Update.
17509
79c1e109
AM
175102014-01-05 Allan McRae <allan@archlinux.org>
17511
dd804818
AM
17512 * po/libc.pot: Regenerated.
17513
79c1e109
AM
17514 * malloc/memusagestat.c: Fix gettext call formatting.
17515
0c813d1f
SK
175162014-01-04 Sami Kerola <kerolasa@iki.fi>
17517
17518 * nscd/nscd.c: Improve usage() output.
17519
20f4a8d9
MF
175202014-01-04 Mike Frysinger <vapier@gentoo.org>
17521
17522 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
17523 * sysdeps/unix/sysv/linux/configure: Regenerated.
17524 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
17525 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
17526
22562bb2
JM
175272014-01-03 Joseph Myers <joseph@codesourcery.com>
17528
17529 [BZ #16390]
17530 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17531 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
17532
d7ad2d9b
AZ
175332014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17534
17535 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
17536 extra tokens at end of #undef directive.
17537 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
17538 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
17539 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
17540
7dd009d8
JM
175412014-01-03 Joseph Myers <joseph@codesourcery.com>
17542
24db925a
JM
17543 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17544
7dd009d8
JM
17545 * math/auto-libm-test-in: Mark various tests with
17546 xfail-rounding:ldbl-128ibm.
17547 * math/auto-libm-test-out: Regenerated.
17548
396e3ecf
JM
175492014-01-02 Joseph Myers <joseph@codesourcery.com>
17550
819e5d50
JM
17551 [BZ #16386]
17552 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
17553 numbers with subnormal high part when calculating exponent.
17554
90b6a1e5
JM
17555 [BZ #16385]
17556 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
17557 fabs.
17558
396e3ecf
JM
17559 [BZ #16384]
17560 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
17561 M_LN2l.
17562 (__ieee754_acoshl): Use __log1pl not __log1p.
17563
6c8dbf00
OB
175642013-01-02 Ondřej Bílka <neleai@seznam.cz>
17565
57f41c40
AS
17566 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
17567 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
17568 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
17569 (grow_heap, heap_trim, _int_new_arena, get_free_list)
17570 (reused_arena, arena_get2): Convert to GNU style.
17571 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
17572 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
17573 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 17574 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
17575 * malloc/malloc.c (__malloc_assert, malloc_init_state)
17576 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
17577 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
17578 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
17579 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
17580 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 17581 * malloc/malloc.h: Likewise.
57f41c40
AS
17582 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
17583 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 17584 * malloc/mcheck.h: Likewise.
57f41c40
AS
17585 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
17586 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
17587 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
17588 * malloc/morecore.c (__default_morecore): Likewise.
17589 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
17590 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
17591 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
17592 (print_and_abort): Likewise.
6c8dbf00
OB
17593 * malloc/obstack.h: Likewise.
17594 * malloc/set-freeres.c (__libc_freeres): Likewise.
17595 * malloc/tst-mallocstate.c (main): Likewise.
17596 * malloc/tst-mtrace.c (main): Likewise.
17597 * malloc/tst-realloc.c (do_test): Likewise.
17598
d4124212
SP
175992013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17600
9a3c6a6f
SP
17601 [BZ #16366]
17602 * nscd/netgroupcache.c (do_notfound): New function.
17603 (addgetnetgrentX): Use it.
17604
d4124212
SP
17605 [BZ # 16365]
17606 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
17607 NSS_STATUS_NOTFOUND.
17608
97b9a009
JM
176092014-01-01 Joseph Myers <joseph@codesourcery.com>
17610
17611 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17613
d4697bc9
AM
176142014-01-01 Allan McRae <allan@archlinux.org>
17615
ddb3687f
AM
17616 * scripts/update-copyrights: Update configure input file suffix.
17617
88726d48
AM
17618 * NEWS: Update copyright year.
17619 * catgets/gencat.c: Likewise.
17620 * csu/version.c: Likewise.
17621 * debug/catchsegv.sh: Likewise.
17622 * debug/pcprofiledump.c: Likewise.
17623 * debug/xtrace.sh: Likewise.
17624 * elf/ldconfig.c: Likewise.
17625 * elf/ldd.bash.in: Likewise.
17626 * elf/pldd.c: Likewise.
17627 * elf/sotruss.ksh: Likewise.
17628 * elf/sprof.c: Likewise.
17629 * iconv/iconv_prog.c: Likewise.
17630 * iconv/iconvconfig.c: Likewise.
17631 * locale/programs/locale.c: Likewise.
17632 * locale/programs/localedef.c: Likewise.
17633 * login/programs/pt_chown.c: Likewise.
17634 * malloc/memusage.sh: Likewise.
17635 * malloc/memusagestat.c: Likewise.
17636 * malloc/mtrace.pl: Likewise.
17637 * manual/libc.texinfo: Likewise.
17638 * nscd/nscd.c: Likewise.
17639 * nss/getent.c: Likewise.
17640 * nss/makedb.c: Likewise.
17641 * posix/getconf.c: Likewise.
17642 * scripts/test-installation.pl: Likewise.
17643
d4697bc9
AM
17644 * All files with FSF copyright notices: Update copyright dates
17645 using scripts/update-copyrights.
17646 * intl/plural.c: Regenerated.
17647 * locale/programs/charmap-kw.h: Likewise.
17648 * locale/programs/locfile-kw.h: Likewise.
17649
c8590f9d
MF
176502013-12-31 Mike Frysinger <vapier@gentoo.org>
17651
17652 * sysdeps/unix/sysv/linux/configure: Regenerated.
17653 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
17654 the linux/fanotify.h header.
17655 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
17656 HAVE_LINUX_FANOTIFY_H is defined.
17657
b19221b9
SP
176582013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17659
dd1d85e5
SP
17660 * benchtests/cos-inputs: New inputs.
17661 * benchtests/sin-inputs: Likewise.
17662
1acbb90f
SP
17663 * benchtests/atan-inputs: New inputs. Fix name of multiple
17664 precision fallback inputs.
17665
4c012ed3
SP
17666 * benchtests/atanh-inputs: New inputs.
17667 * benchtests/tanh-inputs: Likewise.
17668
eff98324
SP
17669 * benchtests/acosh-inputs: New inputs.
17670 * benchtests/asinh-inputs: Likewise.
17671
ce641152
SP
17672 * benchtests/cosh-inputs: New inputs.
17673 * benchtests/sinh-inputs: Likewise.
17674
b19221b9
SP
17675 * benchtests/acos-inputs: Add more inputs.
17676 * benchtests/asin-inputs: Likewise.
17677
030a4976 176782013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 17679
030a4976 17680 [BZ #16375]
9dcc8f11
VS
17681 * manual/arith.texi: Fix spelling.
17682 * manual/charset.texi: Likewise.
17683 * manual/errno.texi: Likewise.
17684 * manual/filesys.texi: Likewise.
17685 * manual/lang.texi: Likewise.
17686 * manual/llio.texi: Likewise.
17687 * manual/locale.texi: Likewise.
17688 * manual/message.texi: Likewise.
17689 * manual/resource.texi: Likewise.
17690 * manual/search.texi: Likewise.
17691 * manual/setjmp.texi: Likewise.
17692 * manual/stdio.texi: Likewise.
17693 * manual/string.texi: Likewise.
17694 * manual/sysinfo.texi: Likewise.
17695 * manual/time.texi: Likewise.
17696
11520a57
CD
176972013-12-27 Carlos O'Donell <carlos@redhat.com>
17698
17699 * po/sl.po: New file.
17700
471103ae
MF
177012013-12-27 Mike Frysinger <vapier@gentoo.org>
17702
17703 * .gitignore: Add core/.gdbinit/.gdb_history.
17704
6c9642ed
AM
177052013-12-27 Allan McRae <allan@archlinux.org>
17706
17707 [BZ #16369]
17708 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
17709 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
17710
3f637079
BM
177112013-12-24 Brooks Moses <bmoses@google.com>
17712
17713 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
17714 all compilers that claim C++98 compliance, not just GCC.
17715 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
17716 Likewise.
17717
abc26e99
MK
177182013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
17719
17720 * NEWS: Restore accidentally deleted bug-fix entries.
17721
362b47fe
MK
177222013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
17723 Ondřej Bílka <neleai@seznam.cz>
17724
17725 [BZ #15073]
17726 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 17727 have_lock.
362b47fe 17728
b9bcbbcb
OB
177292013-12-23 Ondřej Bílka <neleai@seznam.cz>
17730
17731 [BZ #12986]
17732 * manual/stdio.texi (String Input Conversions): Clarify that character
17733 classes are not supported.
17734
fb55fcd2
AZ
177352013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17736
17737 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17738
ef7344f0
JM
177392013-12-22 Joseph Myers <joseph@codesourcery.com>
17740
4f40e4b3
JM
17741 [BZ #16337]
17742 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17743 Calculate results for small negative arguments directly rather
17744 than using reflection formula with special underflow handling.
17745
ef7344f0
JM
17746 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
17747 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
17748 sysdeps/unix/bsd/bsd4.4/syscalls.list.
17749 (fchflags): Likewise.
17750 (revoke): Likewise.
17751 (setlogin): Likewise.
17752 (sigaltstack): Likewise.
17753 (wait4): Likewise.
17754 (sigblock): Remove.
17755 (sigsetmask): Likewise.
17756 (wait3): Likewise.
17757 (waitpid): Likewise.
17758 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
17759 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
17760 file.
17761 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
17762 * sysdeps/unix/bsd/Makefile: ... here.
17763 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
17764 * sysdeps/unix/bsd/Versions: ... here.
17765 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
17766 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
17767 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
17768 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
17769 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
17770 * sysdeps/unix/bsd/sigblock.c: ... here.
17771 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
17772 * sysdeps/unix/bsd/sigsetmask.c: ... here.
17773 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
17774 * sysdeps/unix/bsd/sigvec.c: ... here.
17775 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
17776 * sysdeps/unix/bsd/tcdrain.c: ... here.
17777 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
17778 * sysdeps/unix/bsd/tcgetattr.c: ... here.
17779 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
17780 * sysdeps/unix/bsd/tcsetattr.c: ... here.
17781 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
17782 * sysdeps/unix/bsd/wait.c: ... here.
17783 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
17784 * sysdeps/unix/bsd/wait3.c: ... here.
17785 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
17786 * sysdeps/unix/bsd/waitpid.c: ... here.
17787
5b0626b9
JM
177882013-12-21 Joseph Myers <joseph@codesourcery.com>
17789
17790 [BZ #16356]
17791 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
17792 round-to-nearest for [!USE_AS_EXPM1L].
17793 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
17794 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
17795 more tests of exp and exp10. Expect some exp10 tests to miss
17796 exceptions or fail in directed rounding modes.
17797 * math/auto-libm-test-out: Regenerated.
17798 * math/libm-test.inc (exp10_tonearest_test_data): New array.
17799 (exp10_test_tonearest): New function.
17800 (exp10_towardzero_test_data): New array.
17801 (exp10_test_towardzero): New function.
17802 (exp10_downward_test_data): New array.
17803 (exp10_test_downward): New function.
17804 (exp10_upward_test_data): New array.
17805 (exp10_test_upward): New function.
17806 (main): Call the new functions.
17807 * sysdeps/i386/fpu/libm-test-ulps: Update.
17808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17809
7fda5682
JM
178102013-12-20 Joseph Myers <joseph@codesourcery.com>
17811
31e3a405
JM
17812 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17813 asinh, atan, atan2, atanh, cbrt, cos and cosh.
17814 * math/auto-libm-test-out: Regenerated.
17815 * math/libm-test.inc (acosh_test_data): Add more tests.
17816 (atanh_test_data): Likewise.
17817 (ceil_test_data): Likewise.
17818 (copysign_test_data): Likewise.
17819 * sysdeps/i386/fpu/libm-test-ulps: Update.
17820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17821
85bff96a
JM
17822 * timezone/checktab.awk: Update from tzcode 2013i.
17823 * timezone/private.h: Likewise.
17824 * timezone/scheck.c: Likewise.
17825 * timezone/tzfile.h: Likewise.
17826 * timezone/tzselect.ksh: Likewise.
17827 * timezone/zdump.c: Likewise.
17828 * timezone/zic.c: Likewise.
17829
b7867a3b
JM
17830 * math/auto-libm-test-in: Add tests of cpow.
17831 * math/auto-libm-test-out: Regenerated.
17832 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 17833 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
17834 mpc_cc_c.
17835 (func_calc_desc): Add mpc_cc_c union field.
17836 (test_functions): Add cpow.
17837 (special_fill_2pi): New function.
17838 (special_real_inputs): Add 2pi.
17839 (calc_generic_results): Handle mpc_cc_c.
17840 * sysdeps/i386/fpu/libm-test-ulps: Update.
17841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17842
7fda5682
JM
17843 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
17844 csqrt, ctan and ctanh.
17845 * math/auto-libm-test-out: Regenerated.
17846 * math/libm-test.inc (TEST_COND_x86_64): New macro.
17847 (TEST_COND_x86): Likewise.
17848 (ccos_test_data): Use AUTO_TESTS_c_c.
17849 (ccosh_test_data): Likewise.
17850 (cexp_test_data): Likewise.
17851 (clog_test_data): Likewise.
17852 (csqrt_test_data): Likewise.
17853 (ctan_test_data): Likewise.
17854 (ctan_tonearest_test_data): Likewise.
17855 (ctan_towardzero_test_data): Likewise.
17856 (ctan_downward_test_data): Likewise.
17857 (ctan_upward_test_data): Likewise.
17858 (ctanh_test_data): Likewise.
17859 (ctanh_tonearest_test_data): Likewise.
17860 (ctanh_towardzero_test_data): Likewise.
17861 (ctanh_downward_test_data): Likewise.
17862 (ctanh_upward_test_data): Likewise.
17863 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17864 mpc_c_c.
17865 (func_calc_desc): Add mpc_c_c union field.
17866 (FUNC_mpc_c_c): New macro.
17867 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
17868 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
17869 ctanh.
17870 (special_fill_min_subnorm_p120): New function.
17871 (special_real_inputs): Add min_subnorm_p120.
17872 (calc_generic_results): Handle mpc_c_c.
17873 * sysdeps/i386/fpu/libm-test-ulps: Update.
17874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17875
5ff8d60e
SP
178762013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17877
57f41c40
AS
17878 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
17879 (do_sin_slow): New functions.
17880 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
17881 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 17882
84ba214c
SP
17883 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
17884 Use M to change sign of result instead of X. Assume X is
17885 positive.
17886 (csloww1): Likewise.
17887 (__sin): Adjust.
17888 (__cos): Adjust.
17889
975195e4
SP
17890 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
17891 arguments A and DA.
17892 (__sin): Adjust.
17893 (__cos): Likewise.
17894
5ff8d60e
SP
17895 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
17896 (__cos): Likewise.
17897 (sloww1): Don't adjust sign of DX.
17898 (csloww1): Likewise.
17899 (sloww2): Use X directly and don't adjust sign of DX.
17900 (csloww2): Likewise.
17901
eb983568
JM
179022013-12-19 Joseph Myers <joseph@codesourcery.com>
17903
64a17f1a
JM
17904 * math/auto-libm-test-in: Add tests of cabs and carg.
17905 * math/auto-libm-test-out: Regenerated.
17906 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
17907 (carg_test_data): Likewise.
17908 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17909 mpc_c_f.
17910 (func_calc_desc): Add mpc_c_f union field.
17911 (test_functions): Add cabs and carg.
17912 (calc_generic_results): Handle mpc_c_f.
17913
eb983568
JM
17914 * sysdeps/powerpc/powerpc32/libgcc-compat.S
17915 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
17916 as a macro and a compat symbol.
17917 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
17918 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
17919 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
17920 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
17921 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
17922 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
17923 not use .hidden.
17924 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
17925 Likewise.
17926 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
17927 Likewise.
17928 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
17929 Likewise.
17930 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
17931 Likewise.
17932 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
17933 Likewise.
17934 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
17935 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
17936 from GLIBC_2.3.2.
17937
6eeb678a
AZ
179382013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17939
17940 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17941
6f6fc482
JM
179422013-12-19 Joseph Myers <joseph@codesourcery.com>
17943
21fea2e2
JM
17944 * manual/texinfo.tex: Update to version 2013-11-26.10 with
17945 trailing whitespace removed.
17946 * scripts/config.guess: Update to version 2013-11-29.
17947 * scripts/config.sub: Update to version 2013-10-01.
17948
6f6fc482
JM
17949 * math/auto-libm-test-in: Add tests of sincos.
17950 * math/auto-libm-test-out: Regenerated.
17951 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
17952 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17953 mpfr_f_11.
17954 (func_calc_desc): Add mpfr_f_11 union field.
17955 (test_functions): Add sincos.
17956 (calc_generic_results): Handle mpfr_f_11.
17957 * sysdeps/i386/fpu/libm-test-ulps: Update.
17958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17959
83f5c32d
AS
179602013-12-19 Andreas Schwab <schwab@suse.de>
17961
17962 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
17963 CALL_MCOUNT.
17964 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
17965 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
17966 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
17967
c688b419
JM
179682013-12-19 Joseph Myers <joseph@codesourcery.com>
17969
335ee092
JM
17970 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
17971 * sysdeps/i386/fpu/libm-test-ulps: Update.
17972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17973
f88acd39
JM
17974 [BZ #16293]
17975 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
17976 round-to-nearest mode when using frndint.
17977 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
17978 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
17979 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
17980 Likewise.
17981 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
17982 sinh test to fail.
17983 * math/auto-libm-test-out: Regenerated.
17984 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
17985 (TEST_COND_x86): Likewise.
17986 (expm1_tonearest_test_data): New array.
17987 (expm1_test_tonearest): New function.
17988 (expm1_towardzero_test_data): New array.
17989 (expm1_test_towardzero): New function.
17990 (expm1_downward_test_data): New array.
17991 (expm1_test_downward): New function.
17992 (expm1_upward_test_data): New array.
17993 (expm1_test_upward): New function.
17994 (main): Run the new test functions.
17995 * sysdeps/i386/fpu/libm-test-ulps: Update.
17996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17997
c688b419
JM
17998 * include/features.h: Update comment documenting feature test
17999 macros. Mention _DEFAULT_SOURCE in comment.
18000 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
18001 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
18002 _BSD_SOURCE and _SVID_SOURCE.
18003 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
18004 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
18005 !_SVID_SOURCE]: Likewise.
18006 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18007 (__USE_POSIX_IMPLICITLY): Define.
18008 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18009 (_POSIX_SOURCE): Undefine and redefine.
18010 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18011 (_POSIX_C_SOURCE): Likewise.
18012 * manual/creature.texi (_DEFAULT_SOURCE): Document.
18013 (Feature Test Macros): Update documentation of default features.
18014
9f6e964c
RS
180152013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18016
18017 * benchtests/Makefile: Add bench-strtok.
18018 * benchtests/bench-strtok.c: New file: strtok benchtest.
18019
ee0a148a
AM
180202013-12-19 Allan McRae <allan@archlinux.org>
18021
18022 * manual/install.texi: Suppress menu for plain text output.
18023 * INSTALL: Regenerated.
18024
b9ab448f
BM
180252013-12-18 Brooks Moses <bmoses@google.com>
18026
18027 [BZ #15846]
18028 * misc/getauxval.c: Include errno.h.
18029 (__getauxval): Set errno to ENOENT if the requested type is not
18030 found.
18031 * misc/sys/auxv.h (getauxval): Document that it may set errno;
18032 don't declare with __attribute_const__.
18033 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
18034 * manual/startup.texi: Document that getauxval sets errno.
18035
23776487
JM
180362013-12-18 Joseph Myers <joseph@codesourcery.com>
18037
f889953b
JM
18038 * math/auto-libm-test-in: Add tests of jn and yn.
18039 * math/auto-libm-test-out: Regenerated.
18040 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
18041 (yn_test_data): Likewise.
18042 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18043 mpfr_if_f.
18044 (func_calc_desc): Add mpfr_if_f union field.
18045 (FUNC_mpfr_if_f): New macro.
18046 (test_functions): Add jn and yn.
18047 (calc_generic_results): Assert type of second input for
18048 mpfr_ff_f. Handle mpfr_if_f.
18049 (output_for_one_input_case): Disable all checking for arguments
18050 fitting floating-point types in case of an integer argument.
18051 * sysdeps/i386/fpu/libm-test-ulps: Update.
18052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18053
23776487
JM
18054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18055 Don't expect fegetround reference in libm.so.
18056
cb756c6d
MS
180572013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18058
18059 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
18060 $(config-cflags-nofma).
18061
2dec468f
JM
180622013-12-18 Joseph Myers <joseph@codesourcery.com>
18063
5953eb3a
JM
18064 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
18065 * math/auto-libm-test-out: Regenerated.
18066
2dec468f
JM
18067 [BZ #16338]
18068 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
18069 to determine exponent and adjust argument to have exponent of -1.
18070 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
18071 log2.
18072 * math/auto-libm-test-out: Regenerated.
18073 * sysdeps/i386/fpu/libm-test-ulps: Update.
18074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18075
4d84e6ad
OB
180762013-12-18 Ondřej Bílka <neleai@seznam.cz>
18077
18078 * manual/probes.texi: Remove cases when per-thread arenas are
18079 disabled.
18080
1818483b
AS
180812013-12-18 Andreas Schwab <schwab@suse.de>
18082
18083 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
18084 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
18085 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
18086 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
18087 * sysdeps/i386/i686/multiarch/Makefile: Update.
18088 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
18089
25de95bf
JM
180902013-12-17 Joseph Myers <joseph@codesourcery.com>
18091
18092 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
18093 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
18094
674762d9
PE
180952013-12-17 Paul Eggert <eggert@cs.ucla.edu>
18096
ed27ed83 18097 [BZ #15968]
0748546f
PE
18098 Support TZ transition times < 00:00:00.
18099 This is needed for version-3 tz-format files; it supports time
18100 stamps past 2037 for America/Godthab (the only entry in the tz
18101 database for which this change is relevant).
18102 * manual/time.texi (TZ Variable): Document transition times
18103 from -167:59:59 through -00:00:01.
18104 * time/tzset.c (tz_rule): Time of day is now signed.
18105 (__tzset_parse_tz): Parse negative time of day.
18106
4480e934
PE
18107 Document TZ transition times >= 25:00:00.
18108 * manual/time.texi (TZ Variable): Document transition times from
18109 25:00:00 through 167:59:59. These are already supported, and this
18110 support will help with version-3 tz-format files.
18111
69947401
PE
18112 * manual/time.texi (TZ Variable): Modernize North America example
18113 to reflect current (i.e., 2007-and-later) daylight saving rules.
18114
674762d9
PE
18115 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
18116
7011c262
JM
181172013-12-17 Joseph Myers <joseph@codesourcery.com>
18118
2fc6557e
JM
18119 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
18120 * sysdeps/unix/bsd/bits/stat.h: Likewise.
18121 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
18122 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18123 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
18124 * sysdeps/unix/bsd/bsdstat.h: Likewise.
18125 * sysdeps/unix/bsd/clock.c: Likewise.
18126 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
18127 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
18128 * sysdeps/unix/bsd/init-posix.c: Likewise.
18129 * sysdeps/unix/bsd/poll.c: Likewise.
18130 * sysdeps/unix/bsd/ptsname.c: Likewise.
18131 * sysdeps/unix/bsd/seekdir.c: Likewise.
18132 * sysdeps/unix/bsd/setegid.c: Likewise.
18133 * sysdeps/unix/bsd/seteuid.c: Likewise.
18134 * sysdeps/unix/bsd/setgid.c: Likewise.
18135 * sysdeps/unix/bsd/setrgid.c: Likewise.
18136 * sysdeps/unix/bsd/setruid.c: Likewise.
18137 * sysdeps/unix/bsd/setsid.c: Likewise.
18138 * sysdeps/unix/bsd/setuid.c: Likewise.
18139 * sysdeps/unix/bsd/sigaction.c: Likewise.
18140 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
18141 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
18142 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
18143 * sysdeps/unix/bsd/telldir.c: Likewise.
18144 * sysdeps/unix/bsd/times.c: Likewise.
18145 * sysdeps/unix/bsd/usleep.c: Likewise.
18146
029c7b25
JM
18147 * misc/Makefile (install-lib): Remove libbsd-compat.a.
18148 ($(objpfx)libbsd-compat.a): Remove rule.
18149
7011c262
JM
18150 * include/features.h (__FAVOR_BSD): Do not define.
18151 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
18152 features conflicting with POSIX.
18153 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
18154 (_BSD_SOURCE): Remove description of not being a subset of other
18155 feature test macros.
18156 * manual/job.texi (getpgrp): Do not document BSD version.
18157 (getpgid): Do not document by reference to BSD getpgrp.
18158 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
18159 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
18160 * signal/signal.h [__FAVOR_BSD]: Likewise.
18161 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
18162 instead of making contents conditional on [__FAVOR_BSD].
18163 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
18164
affb6f78
AZ
181652013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18166
18167 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18168
c88769dd
JM
181692013-12-17 Joseph Myers <joseph@codesourcery.com>
18170
6432a540
JM
18171 [BZ #16314]
18172 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
18173 values below 2**-450, not 2**-500.
18174 * math/auto-libm-test-in: Don't allow spurious underflow from
18175 hypot.
18176 * math/auto-libm-test-out: Regenerated.
18177
c88769dd
JM
18178 [BZ #16316]
18179 [BZ #16330]
18180 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
18181 values of ha and hb and sort them after adjusting subnormal
18182 arguments.
18183 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
18184 Likewise.
18185 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
18186 values of ea and eb and sort them after adjusting subnormal
18187 arguments.
18188 * math/auto-libm-test-in: Do not expect some hypot tests of
18189 subnormals to fail. Add more hypot tests.
18190 * math/auto-libm-test-out: Regenerated.
18191
29618f6b
KK
181922013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18193
18194 [BZ #13304]
18195 * sysdeps/sh/s_fma.c: New file.
18196 * sysdeps/sh/s_fmaf.c: New file.
18197 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
18198 version.
18199 * sysdeps/sh/Implies: Add sh/soft-fp.
18200
eacfdfbf
RM
182012013-12-16 Roland McGrath <roland@hack.frob.com>
18202
18203 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
18204 level of indirection to members `objname', `errstring', `malloced'.
18205 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
18206 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
18207 it as the __longjmp argument (just pass 1 instead).
18208 (_dl_catch_error): Initialize C with argument pointers and address of
18209 volatile local ERRCODE rather than copying values out of C at return.
18210
ff362e5b
JM
182112013-12-16 Joseph Myers <joseph@codesourcery.com>
18212
18213 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
18214 * math/auto-libm-test-out: Regenerated.
18215 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
18216 (hypot_test_data): Likewise.
18217 (pow_test_data): Likewise.
18218 (pow_tonearest_test_data): Likewise.
18219 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18220 mpfr_ff_f.
18221 (func_calc_desc): Add mpfr_ff_f union field.
18222 (FUNC_mpfr_ff_f): New macro.
18223 (test_functions): Add atan2, hypot and pow.
18224 (special_fill_min): New function.
18225 (special_fill_minus_min): Likewise.
18226 (special_fill_min_subnorm): Likewise.
18227 (special_fill_minus_min_subnorm): Likewise.
18228 (special_real_inputs): Add min, -min, min_subnorm and
18229 -min_subnorm.
18230 (calc_generic_results): Handle mpfr_ff_f.
18231 * sysdeps/i386/fpu/libm-test-ulps: Update.
18232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18233
5764c27f
WN
182342013-12-16 Will Newton <will.newton@linaro.org>
18235
18236 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
18237 (Aligned Memory Blocks): Add documentation for aligned_alloc
18238 and suggest it as an alternative to posix_memalign.
18239 (Hooks for Malloc): Document __memalign_hook is also called
18240 for aligned_alloc. (Summary of Malloc): Add summary for
18241 aligned alloc. Document __memalign_hook is also called
18242 for aligned_alloc.
18243
0a096e44
WN
182442013-12-16 Will Newton <will.newton@linaro.org>
18245
18246 * manual/memory.texi (Malloc Examples): Clarify default
18247 alignment documentation. Suggest posix_memalign rather
18248 than memalign or valloc.
18249 (Aligned Memory Blocks): Remove suggestion to use memalign
18250 or valloc. Remove obsolete comment about BSD.
18251 Document memalign errno values and mark the function obsolete.
18252 Document posix_memalign returned error codes. Mark valloc
18253 as obsolete. (Hooks for Malloc): __memalign_hook is also
18254 called for posix_memalign and valloc.
18255 (Summary of Malloc): Add posix_memalign to function summary.
18256 __memalign_hook is also called for posix_memalign and valloc.
18257
8d561986
SP
182582013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18259
18260 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
18261 TAYLOR_SIN.
18262 (__sin): Adjust.
18263 (__cos): Likewise.
18264 (sloww): Use mynumber union. Expand ternary operator into
18265 if-else statements.
18266 (cslow): use mynumber union.
18267
73616a74
AM
182682013-12-16 Allan McRae <allan@archlinux.org>
18269
9e8ac24b
AM
18270 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
18271 * configure: Regenerated.
18272
6f8e37eb
AM
18273 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
18274
8894bad3
AM
18275 [BZ #14120]
18276 * configure.ac: Added --enable-maintainer-mode. Check for
18277 autoconf when enabled.
18278 * configure: Regenerated.
18279
73616a74
AM
18280 * nscd/nscd.service: New file.
18281 * nscd/nscd.tmpfiles: New file.
18282
584b18eb
OB
182832013-12-14 Ondřej Bílka <neleai@seznam.cz>
18284
18285 [BZ #12100]
18286 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
18287 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
18288 * sysdeps/x86_64/multiarch/strstr.c: ... here.
18289 (strstr): Add __strstr_sse2_unaligned ifunc.
18290 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
18291 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
18292 (strcasestr): Remove __strcasestr_sse42 ifunc.
18293 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
18294 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
18295 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
18296
8a5c7897
KK
182972013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18298
18299 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
18300 * sysdeps/sh/bits/fenv.h: ... here.
18301 * sysdeps/sh/sh4/fpu/bits: Remove directory.
18302
fd712ef3
AZ
183032013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18304
18305 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
18306
42fcb46c
AZ
18307 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
18308 hypotf multiarch implementations.
18309 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
18310 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
18311 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
18312 multiarch hypot for PPC64.
18313 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
18314 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
18315 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
18316 multiarch hypotf for PPC64.
18317
83efded4
AZ
18318 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
18319 modff multiarch implementations.
18320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
18321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
18322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
18323 multiarch modf for PPC64.
18324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
18325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
18326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
18327 multiarch modff for PPC64.
18328
43e246d2
AZ
18329 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
18330 and logl multiarch implementations.
18331 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
18332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
18333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
18334 multiarch logb for PPC64.
18335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
18336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
18337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
18338 multiarch logb for PPC64.
18339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
18340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
18341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
18342 multiarch logb for PPC64.
18343
8fdad123
AZ
18344 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
18345 isinff multiarch implementation.
18346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
18347 file.
18348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
18349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
18350 multiarch isinf for PPC64.
18351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
18352 file.
18353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
18354 multiarch isinff for PPC64.
18355
1481d706
AZ
18356 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
18357 finitef multiarch implementation.
18358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
18359 file.
18360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
18361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
18362 multiarch finite for PPC64.
18363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
18364 file.
18365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
18366 multiarch finitef for PPC64.
18367
5ccd5fc8
AZ
18368 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
18369 lrint multiarch implementation.
18370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
18371 file.
18372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
18373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
18374 multiarch llrint for PPC64.
18375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
18376 multiarch lrint for PPC64.
18377
2568f3fa
AZ
18378 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
18379 copysignf multiarch implementation.
18380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
18381 file.
18382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
18383 file.
18384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
18385 multiarch copysign for PPC64.
18386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
18387 multiarch copysignf for PPC64.
18388
1cb341fd
AZ
18389 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
18390 multiarch implementation.
18391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
18392 file.
18393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
18394 file.
18395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
18396 file.
18397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
18398 file.
18399 multiarch llround for PPC64.
18400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
18401 multiarch trunc for PPC64.
18402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
18403 multiarch truncf for PPC64.
18404
59a3e194
AZ
18405 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
18406 multiarch implementation.
18407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
18408 file.
18409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
18410 file.
18411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
18412 file.
18413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
18414 file.
18415 multiarch llround for PPC64.
18416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
18417 multiarch round for PPC64.
18418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
18419 multiarch roundf for PPC64.
18420
357fd3b4
AZ
18421 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
18422 multiarch implementation.
18423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
18424 file.
18425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
18426 file.
18427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
18428 file.
18429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
18430 file.
18431 multiarch llround for PPC64.
18432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
18433 multiarch floor for PPC64.
18434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
18435 multiarch floorf for PPC64.
18436
96770f12
AZ
18437 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
18438 multiarch implementation.
18439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
18440 file.
18441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
18442 file.
18443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
18444 file.
18445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
18446 file.
18447 multiarch llround for PPC64.
18448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
18449 multiarch ceil for PPC64.
18450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
18451 multiarch ceilf for PPC64.
18452
c3627f6e
AZ
18453 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
18454 multiarch implementation.
18455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
18456 file.
18457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
18458 file.
18459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
18460 file.
18461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
18462 multiarch llround for PPC64.
18463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
18464 multiarch lround for PPC64.
18465
b2284ad7
AZ
18466 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
18467 multiarch implementation.
18468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
18469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
18470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
18471 file.
18472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
18473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
18474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
18475 multiarch isnan for PPC64.
18476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
18477 multiarch isnanf for PPC64.
18478
69bbc63d
AZ
18479 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
18480 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
18481 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
18482 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
18483 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
18484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
18485
c24517c9
AZ
18486 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
18487 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18488 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18489 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18490
a52374e8
AZ
18491 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
18492 multiarch implementations.
18493 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18494 (__libc_ifunc_impl_list): Likewise.
18495 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
18496 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
18497 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
18498 multiarch stpcpy for PPC64.
18499
7f5ec113
AZ
18500 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
18501 multiarch implementations.
18502 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18503 (__libc_ifunc_impl_list): Likewise.
18504 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
18505 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
18506 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
18507 multiarch strcpy for PPC64.
18508
e28bcd42
AZ
18509 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
18510 redefine function name.
18511 (_wordcopy_fwd_dest_aligned): Likewise.
18512 (_wordcopy_bwd_aligned): Likewise.
18513 (_wordcopy_bwd_dest_aligned): Likewise.
18514 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
18515 multiarch implementations.
18516 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18517 (__libc_ifunc_impl_list): Likewise.
18518 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
18519 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
18520 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
18521 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
18522 multiarch wcscpy for PPC64.
18523
92cacfce
AZ
18524 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
18525 multiarch implementations.
18526 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18527 (__libc_ifunc_impl_list): Likewise.
18528 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
18529 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
18530 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
18531 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
18532 multiarch wcscpy for PPC64.
18533
7b714620
AZ
18534 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
18535 multiarch implementations.
18536 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18537 (__libc_ifunc_impl_list): Likewise.
18538 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
18539 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
18540 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
18541 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
18542 multiarch wcsrchr for PPC64.
18543
16fd2ae3
AZ
18544 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
18545 multiarch implementations.
18546 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18547 (__libc_ifunc_impl_list): Likewise.
18548 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
18549 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
18550 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
18551 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
18552 multiarch wcschr for PPC64.
18553
9ee2969b
AZ
18554 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
18555 multiarch implementations.
18556 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18557 (__libc_ifunc_impl_list): Likewise.
18558 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
18559 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
18560 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
18561 multiarch strchrnul for PPC64.
18562
372dc060
AZ
18563 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
18564 implementations.
18565 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18566 (__libc_ifunc_impl_list): Likewise.
18567 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
18568 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
18569 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
18570 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
18571 strchr for PPC64.
18572
24c2c3b9
AZ
18573 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
18574 implementations.
18575 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18576 (__libc_ifunc_impl_list): Likewise.
18577 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
18578 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
18579 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
18580 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
18581 strncmp for PPC64.
18582
1c92d9a0
AZ
18583 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
18584 multiarch implementations.
18585 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18586 (__libc_ifunc_impl_list): Likewise.
18587 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
18588 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
18589 strncasecmp for PPC64.
18590 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
18591 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
18592 multiarch strncasecmp_l for PPC64.
18593
17de3ee3
AZ
18594 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
18595 multiarch implementations.
18596 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18597 (__libc_ifunc_impl_list): Likewise.
18598 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
18599 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
18600 multiarch strcasecmp for PPC64.
18601 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
18602 file.
18603 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
18604 multiarch strcasecmp_l for PPC64.
18605
62982bf9
AZ
18606 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
18607 implementations.
18608 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18609 (__libc_ifunc_impl_list): Likewise.
18610 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
18611 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
18612 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
18613 strnlen for PPC64.
18614
a65f4904
AZ
18615 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
18616 implementations.
18617 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18618 (__libc_ifunc_impl_list): Likewise.
18619 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
18620 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
18621 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
18622 strlen for PPC64.
18623
1fd005ad
AZ
18624 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
18625 implementations.
18626 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18627 (__libc_ifunc_impl_list): Likewise.
18628 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
18629 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
18630 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
18631 rawmemrchr for PPC64.
18632
cd05ba91
AZ
18633 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
18634 implementation.
18635 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18636 (__libc_ifunc_impl_list): Likewise.
18637 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
18638 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
18639 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
18640 memrchr for PPC64.
18641
870f8676
AZ
18642 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
18643 implementation.
18644 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18645 (__libc_ifunc_impl_list): Likewise.
18646 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
18647 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
18648 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
18649 memchr for PPC64.
18650
f00be62b
AZ
18651 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
18652 implementation.
18653 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18654 (__libc_ifunc_impl_list): Likewise.
18655 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
18656 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
18657 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
18658 mempcpy for PPC64.
18659
8a29a3d0
AZ
18660 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
18661 avoid cretion of __bzero symbol.
18662 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
18663 Likewise.
18664 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
18665 Likewise.
18666 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
18667 Likewise.
18668 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
18669 multiarch implementations.
18670 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18671 (__libc_ifunc_impl_list): Likewise.
18672 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
18673 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
18674 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
18675 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
18676 bzero for PPC32.
18677 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
18678 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
18679 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
18680 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
18681 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
18682 memset for PPC64.
18683 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
18684
07253fcf
AZ
18685 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
18686 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
18687 implementations.
18688 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18689 (__libc_ifunc_impl_list): Likewise.
18690 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
18691 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
18692 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
18693 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
18694 memcmp for PPC64.
18695
b5beafbc
AZ
18696 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
18697 multiarch for POWER/PPC64.
18698 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
18699 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
18700 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
18701 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
18702 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
18703 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
18704 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
18705 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
18706 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
18707 memcpy for PPC64.
18708
5e6a4d4b
AZ
18709 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
18710 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
18711 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
18712 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
18713 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
18714 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
18715 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
18716 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
18717 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
18718 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
18719 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
18720 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
18721 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
18722 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
18723 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
18724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
18725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
18726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
18727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
18728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
18729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
18730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
18731
ddfab6dc
KK
187322013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18733
18734 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
18735
19b5525e
SP
187362013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18737
18738 * benchtests/Makefile (bench): Add exp2 and log2.
18739 (LDLIBS-bench-exp2): Add -lm.
18740 (LDLIBS-bench-log2): Likewise.
18741 * benchtests/exp2-inputs: New inputs file.
18742 * benchtests/log2-inputs: New inputs file.
18743 * benchtests/log-inputs: Add new inputs.
18744 * benchtests/tan-inputs: Likewise.
18745
196f7f5d
SP
187462013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18747
7a74607f
SP
18748 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
18749 definition...
57f41c40
AS
18750 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
18751 (csloww2): ... from here.
7a74607f 18752
196f7f5d
SP
18753 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
18754 instead of structures.
18755 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
18756 (POLYNOMIAL): Likewise.
18757 (TAYLOR_SLOW): Likewise.
18758 (__sin): Likewise.
18759 (__cos): Likewise.
18760 (slow1): Likewise.
18761 (slow2): Likewise.
18762 (sloww): Likewise.
18763 (sloww1); Likewise.
18764 (sloww2): Likewise.
18765 (bsloww1): Likewise.
18766 (bsloww2): Likewise.
18767 (cslow2): Likewise.
18768 (csloww): Likewise.
18769 (csloww1): Likewise.
18770 (csloww2): Likewise.
18771
0dfa665c
OB
187722013-12-10 Ondřej Bílka <neleai@seznam.cz>
18773
18774 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
18775 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
18776 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
18777 * malloc/hooks.c (realloc_check): Likewise.
18778
5782a80f
OB
18779 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
18780 * malloc/arena.c: Remove PER_THREAD conditional.
18781 [!PER_THREAD]: Remove code.
18782 (ptmalloc_unlock_all2): Likewise.
18783 (ptmalloc_init): Likewise.
18784 (_int_new_arena): Likewise.
18785 (arena_get2): Likewise.
18786 * malloc/hooks.c (__malloc_get_state): Likewise.
18787 (__malloc_set_state): Likewise.
18788 * malloc/malloc.c: Likewise.
18789 (struct malloc_state): Likewise.
18790 (struct malloc_par): Likewise.
18791 (__libc_realloc): Likewise.
18792 (__libc_mallopt): Likewise.
18793
aeb95445
AZ
187942013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18795
18796 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
18797
e8349efd
OB
187982013-12-09 Ondřej Bílka <neleai@seznam.cz>
18799
18800 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
18801 macro to a function. Check for zero perturb_byte.
18802 (_int_malloc, _int_free): Remove zero perturb_byte checks.
18803
f3eeb3fc 18804 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
18805 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
18806 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
18807 force_reg by atomic_forced_read.
18808 * malloc/arena.c (ptmalloc_init): Likewise.
18809 * malloc/hooks.c (top_check): Likewise.
18810
be2f9009
AZ
188112013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18812
18813 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18814
e7b914bd
MT
188152013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
18816
18817 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18818
9f0be4f8
JM
188192013-12-08 Joseph Myers <joseph@codesourcery.com>
18820
18821 * math/auto-libm-test-in: Add tests of lgamma.
18822 * math/auto-libm-test-out: Regenerated.
18823 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
18824 (M_LOG_2_SQRT_PIl): Likewise.
18825 (lgamma_test_data): Use AUTO_TESTS_f_f1.
18826 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18827 mpfr_f_f1.
18828 (func_calc_desc): Add mpfr_f_f1 union field.
18829 (ARGS1): New macro.
18830 (ARGS2): Likewise.
18831 (ARGS3): Likewise.
18832 (ARGS4): Likewise.
18833 (RET1): Likewise.
18834 (RET2): Likewise.
18835 (CALC): Likewise.
18836 (FUNC): Likewise.
18837 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
18838 (test_functions): Add lgamma.
18839 (calc_generic_results): Handle mpfr_f_f1.
18840 * sysdeps/i386/fpu/libm-test-ulps: Update.
18841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18842
24eeafdb
AZ
188432013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18844
18845 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
18846 __mpn_add_n for PowerPC64/POWER7.
18847 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
18848 __mpn_sub_n for PowerPC64/POWER7.
18849
4a2c0fd4
AZ
18850 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
18851 __mpn_addmul_1 for PowerPC64.
18852 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
18853 __mpn_submul_1 for PowerPC64.
18854 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
18855 for PowerPC64.
18856 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
18857 for PowerPC64.
18858
4b5b548c
FS
188592013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
18860
18861 [BZ #15089]
18862 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
18863
0a3ac0aa
AZ
188642013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18865
18866 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
18867
ccdc8438
AZ
18868 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
18869 add multiarch folders.
18870 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
18871 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
18872 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
18873 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
18874 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
18875 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
18876 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
18877 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
18878 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
18879 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
18880 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
18881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
18882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
18883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
18884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
18885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
18886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
18887
2e973d99
AZ
18888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
18889 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
18890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
18891 New file.
18892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
18893 New file.
18894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
18895 multiarch __ieee754_hypot for PowerPC32.
18896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
18897 New file.
18898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
18899 New file.
18900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
18901 multiarch __ieee754_hypotf for PowerPC32.
18902
2d9470b2
AZ
18903 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
18904 long_double_symbol only if __logbl is defined.
18905 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
18906 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
18907 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
18908 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
18909 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
18910 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
18911 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
18912 path for implementation.
18913 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
18914 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
18915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
18916 logb, and logbl multiarch implementations for PowerPC32.
18917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
18918 file.
18919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
18920 file.
18921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
18922 multiarch logb for PowerPC32.
18923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
18924 file.
18925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
18926 file.
18927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
18928 multiarch logbf for PowerPC32.
18929 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
18930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
18931 file.
18932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
18933 multiarch logbl implementation for PowerPC32.
18934
5212ffce
AZ
18935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
18936 and modff multiarch implementations.
18937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
18938 New file.
18939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
18940 New file.
18941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
18942 multiarch modf for PowerPC32.
18943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
18944 New file.
18945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
18946 New file.
18947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
18948 multiarch modff for PowerPC32.
18949
79dccf31
AZ
18950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
18951 and lrintf multiarch implementations.
18952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
18953 New file.
18954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
18955 New file.
18956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
18957 multiarch lrint for PowerPC32.
18958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
18959 file: multiarch lrintf for PowerPC32.
18960
deb66480
AZ
18961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
18962 and lroundf multiarch implementations.
18963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
18964 New file.
18965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
18966 New file.
18967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
18968 New file.
18969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
18970 multiarch lround for PowerPC32.
18971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
18972 file: multiarch lroundf for PowerPC32.
18973
264b036b
AZ
18974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
18975 copysign and copysignf multiarch implementations.
18976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
18977 New file.
18978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
18979 New file.
18980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
18981 file: multiarch copysign for PowerPC32.
18982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
18983 file: multiarch copysignf for PowerPC32.
18984
d47db6c9
AZ
18985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
18986 and truncf multiarch implementations.
18987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
18988 New file.
18989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
18990 file.
18991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
18992 multiarch trunc for PowerPC32.
18993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
18994 New file.
18995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
18996 New file.
18997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
18998 multiarch truncf for PowerPC32.
18999
ddb60b5a
AZ
19000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
19001 and roundf multiarch implementations.
19002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
19003 New file.
19004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
19005 file.
19006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
19007 multiarch round for PowerPC32.
19008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
19009 New file.
19010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
19011 New file.
19012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
19013 multiarch roundf for PowerPC32.
19014
bedcf49b
AZ
19015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
19016 and floorf multiarch implementations.
19017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
19018 New file.
19019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
19020 file.
19021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
19022 multiarch floor for PowerPC32.
19023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
19024 New file.
19025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
19026 New file.
19027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
19028 multiarch floorf for PowerPC32.
19029
35ae5b40
AZ
19030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
19031 and ceilf multiarch implementations.
19032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
19033 New file.
19034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
19035 file.
19036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
19037 multiarch ceil for PowerPC32.
19038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
19039 New file.
19040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
19041 file.
19042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
19043 multiarch ceilf for PowerPC32.
19044
ae1a4cd9
AZ
19045 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
19046 is defined.
19047 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
19048 FINITEF is defined.
19049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
19050 and finitef multiarch implementations.
19051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
19052 New file.
19053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
19054 file.
19055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
19056 multiarch finite for PowerPC32.
19057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
19058 New file.
19059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
19060 file: multiarch finitef for PowerPC32.
19061
64fffd65
AZ
19062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
19063 and isinff multiarch implementations.
19064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
19065 file.
19066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
19067 file.
19068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
19069 multiarch isinf for PowerPC32.
19070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
19071 New file.
19072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
19073 multiarch isinff for PowerPC32.
19074
8e4e7ba2
AZ
19075 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
19076 alias when __isnan is defined.
19077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
19078 and isnanf multiarch implementations.
19079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
19080 file.
19081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
19082 file.
19083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
19084 file.
19085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
19086 file.
19087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
19088 multiarch isnan for PowerPC32.
19089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
19090 New file.
19091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
19092 New file.
19093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
19094 multiarch isnanf for PowerPC32.
19095
ddba588e
AZ
19096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
19097 and sqrtf multiarch implementations.
19098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
19099 file.
19100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
19101 file.
19102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
19103 multiarch sqrt for PowerPC32.
19104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
19105 file.
19106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
19107 file.
19108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
19109 multiarch sqrtf for PowerPC32.
19110
0f96a2f0
AZ
19111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
19112 and llroundf multiarch implementations.
19113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
19114 New file.
19115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
19116 New file.
19117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
19118 New file.
19119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
19120 file: multiarch llround for PowerPC32.
19121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
19122 file: multiarch llroundf for PowerPC32.
19123
c9b5d79e
AZ
19124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
19125 multiarch PowerPC32 fpu implementations.
19126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
19127 New file.
19128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
19129 New file.
19130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
19131 multiarch llrint for PowerPC32.
19132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
19133 New file.
19134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
19135 New file.
19136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
19137 file.
19138
9cbb3aab
AZ
19139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
19140
ea5a72f8
AZ
19141 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
19142 file.
19143 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
19144 file.
19145 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
19146 file.
19147 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
19148 multiarch wordcopy for PPC32.
19149 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
19150 wordcopy objects.
19151 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19152 (__libc_ifunc_impl_list): Likewise.
19153 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
19154 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
19155 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
19156 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
19157 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
19158 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
19159
93be09e7
AZ
19160 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
19161 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
19162 file.
19163 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
19164 file.
19165 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
19166 file.
19167 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
19168 multiarch wcscpy for PPC32.
19169 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
19170 multiarch objects.
19171 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19172 (__libc_ifunc_impl_list): Likewise.
19173 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19174 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19175 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
19176 sysdeps/powerpc/power6/wcscpy.c.
19177
bb04e529
AZ
19178 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
19179 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
19180 file.
19181 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
19182 file.
19183 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
19184 file.
19185 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
19186 multiarch wcsrchr for PPC32.
19187 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19188 multiarch objects.
19189 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19190 (__libc_ifunc_impl_list): Likewise.
19191 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19192 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19193 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
19194 sysdeps/powerpc/power6/wcsrchr.c.
19195
05b5cd1c
AZ
19196 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
19197 file.
19198 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
19199 file.
19200 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
19201 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
19202 multiarch wcschr for PPc32.
19203 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19204 multiarch objects.
19205 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19206 (__libc_ifunc_impl_list): Likewise.
19207 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
19208 * sysdeps/powerpc/power6/wcschr.c: ... to here.
19209 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
19210 sysdeps/powerpc/power6/wcschr.c.
19211
ba964147
AZ
19212 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
19213 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
19214 file.
19215 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
19216 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
19217 file: multiarch strchr for PPC32.
19218 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
19219 multiarch objects.
19220 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19221 (__libc_ifunc_impl_list): Likewise.
19222
31c81aaa
AZ
19223 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
19224 name.
19225 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
19226 file.
19227 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
19228 file.
19229 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
19230 multiarch strchrnul for PPC32.
19231 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
19232 multiarch objects.
19233 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19234 (__libc_ifunc_impl_list): Likewise.
19235
0d0607d9
AZ
19236 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
19237 file.
19238 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
19239 multiarch strncasecmp for PPC32.
19240 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
19241 file.
19242 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
19243 multiarch strncasecmp_l for PPC32.
19244 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
19245 strncasecmp multiarch objects.
19246 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19247 (__libc_ifunc_impl_list): Likewise.
19248
4dfd5c86
AZ
19249 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
19250 file.
19251 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
19252 multiarch strncasecmp for PPC32.
19253 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
19254 New file.
19255 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
19256 multiarch strcasecmp_l for PPC32.
19257 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
19258 multiarch objects.
19259 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19260 (__libc_ifunc_impl_list): Likewise.
19261
a19e01a3
AZ
19262 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
19263 file.
19264 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
19265 file.
19266 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
19267 multiarch strncmp for PPC32.
19268 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
19269 multiarch objects.
19270 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19271 (__libc_ifunc_impl_list): Likewise.
19272
ae9cf7a2
AZ
19273 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
19274 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
19275 file.
19276 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
19277 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
19278 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
19279 multiarch objects.
19280 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19281 (__libc_ifunc_impl_list): Likewise.
19282
3148bb7d
AZ
19283 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
19284 file.
19285 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
19286 file.
19287 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
19288 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
19289 multiarch objects.
19290 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19291 (__libc_ifunc_impl_list): Likewise.
19292
7af8b946
AZ
19293 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
19294 file.
19295 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
19296 file.
19297 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
19298 multiarch rawmemchr for PPC32.
19299 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
19300 multiarch objects.
19301 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19302 (__libc_ifunc_impl_list): Likewise.
19303
03a6aa6a
AZ
19304 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
19305 file.
19306 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
19307 file.
19308 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
19309 file: memrchr multiarch for PPC32.
19310 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
19311 multiarch objects.
19312 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19313 (__libc_ifunc_impl_list): Likewise.
19314
1c62e6d9
AZ
19315 * string/memchr.c (__memchr): Using macro to redefine symbol name.
19316 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
19317 file.
19318 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
19319 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
19320 multiarch memchr for PPC32.
19321 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
19322 multiarch objects.
19323 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19324 (__libc_ifunc_impl_list): Likewise.
19325
87da8bdb
AZ
19326 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
19327 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
19328 file.
19329 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
19330 file.
19331 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
19332 file: multiarch mempcpy for PPC32.
19333 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
19334 multiarch objects.
19335 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19336 (__libc_ifunc_impl_list): Likewise.
19337
20ed4714
AZ
19338 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
19339 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
19340 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
19341 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
19342 multiarch bzero for PPC32.
19343 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
19344 file.
19345 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
19346 file.
19347 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
19348 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
19349 file: multiarch memset for PPC32.
19350 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
19351 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
19352 memset multiarch objects.
19353 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19354 (__libc_ifunc_impl_list): Likewise.
19355
ab3e3a46
AZ
19356 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
19357 file.
19358 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
19359 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
19360 memcmp for PPC32.
19361 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
19362 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
19363 multiarch objects.
19364 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19365 (__libc_ifunc_impl_list): Likewise.
19366
930de6f0
AZ
19367 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
19368 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
19369 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
19370 file.
19371 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
19372 file.
19373 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
19374 file.
19375 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
19376 multiarch memcpy for PPC32.
19377 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
19378 multiarch objects.
19379 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19380 (__libc_ifunc_impl_list): Likewise.
19381
4c628e00
AZ
19382 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
19383 support multiarch for POWER/PPC32.
19384 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
19385 Likewise.
19386 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
19387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
19388 Implies file to make multiarch folder appers before the fpu and
19389 default folder for power4 configuration.
19390
f4479220
SP
193912013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19392
19393 * scripts/bench.pl: Append volatile keyword to type.
19394
8517800f
KK
193952013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19396
19397 * sysdeps/sh/sotruss-lib.c: New file.
19398 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
19399
180138f1
AZ
194002013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19401
19402 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19403
bbf37bdc
JM
194042013-12-05 Joseph Myers <joseph@codesourcery.com>
19405
e47cc4e0
JM
19406 [BZ #6810]
19407 * math/w_tgamma.c: Include <errno.h>.
19408 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
19409 * math/w_tgammaf.c: Include <errno.h>.
19410 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
19411 * math/w_tgammal.c: Include <errno.h>.
19412 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
19413 * math/auto-libm-test-in: Do not allow missing errno on tgamma
19414 underflow. Add more tgamma tests.
19415 * math/auto-libm-test-out: Regenerated.
19416 * sysdeps/i386/fpu/libm-test-ulps: Update.
19417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19418
bbf37bdc
JM
19419 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
19420 sin, sinh, tan, tanh, tgamma, y0 and y1.
19421 * math/auto-libm-test-out: Regenerated.
19422 * math/libm-test.inc (TEST_COND_x86_64): New macro.
19423 (TEST_COND_x86): Likewise.
19424 (M_E2l): Remove macro.
19425 (M_E3l): Likewise.
19426 (M_2_SQRT_PIl): Likewise.
19427 (M_SQRT_PIl): Likewise.
19428 (M_1_DIV_El): Likewise.
19429 (log_test_data): Use AUTO_TESTS_f_f.
19430 (log10_test_data): Likewise.
19431 (log1p_test_data): Likewise.
19432 (log2_test_data): Likewise.
19433 (sin_test_data): Likewise.
19434 (sin_tonearest_test_data): Likewise.
19435 (sin_towardzero_test_data): Likewise.
19436 (sin_downward_test_data): Likewise.
19437 (sin_upward_test_data): Likewise.
19438 (sinh_test_data): Likewise.
19439 (sinh_tonearest_test_data): Likewise.
19440 (sinh_towardzero_test_data): Likewise.
19441 (sinh_downward_test_data): Likewise.
19442 (sinh_upward_test_data): Likewise.
19443 (tan_test_data): Likewise.
19444 (tan_tonearest_test_data): Likewise.
19445 (tan_towardzero_test_data): Likewise.
19446 (tan_downward_test_data): Likewise.
19447 (tan_upward_test_data): Likewise.
19448 (tanh_test_data): Likewise.
19449 (tgamma_test_data): Likewise.
19450 (y0_test_data): Likewise.
19451 (y1_test_data): Likewise.
19452 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
19453 (special_real_inputs): Add pi/4.
19454 * sysdeps/i386/fpu/libm-test-ulps: Update.
19455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19456
eb5ad6b9
AZ
194572013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19458
19459 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
19460 "longjmp_target" static probes.
19461 (__longjmp): Rename to __longjmp_symbol.
19462 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19463 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
19464 on which longjmp to generate.
19465 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
19466 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
19467 probe.
19468 (__sigsetjmp): Rename to __sigsetjmp_symbol.
19469 (__sigjmp_save): Rename to __sigjmp_save_symbol.
19470 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
19471 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
19472 and __sigjmp_save_symbol based on which sigsetjmp to generated.
19473 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
19474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
19475 __longjmp_symbol based on which __longjmp to generate.
19476 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
19477 probe.
19478 (setjmp): Rename to setjmp_symbol.
19479 (__sigsetjmp): Rename to __sigsetjmp_symbol.
19480 (_setjmp): Rename to _setjmp_symbol.
19481 (__sigsetjmp): Rename to __sigsetjmp_symbol.
19482 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
19483 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
19484 which setjmp to generate.
19485 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
19486 "longjmp_target" static probes.
19487
d136c6dc
SP
194882013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19489
9298ecba
SP
19490 * benchtests/README: Add note about output arguments.
19491 * benchtests/bench-sincos.c: Remove file.
19492 * benchtests/sincos-inputs: New file.
19493 * scripts/bench.pl: Identify output arguments and define
19494 static variables for them.
19495
232983e9
SP
19496 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
19497
d136c6dc
SP
19498 [BZ #15941]
19499 * Makefile (INSTALL): Add install-plain.texi as the primary
19500 dependency.
19501 * manual/install-plain.texi: New file.
19502 * manual/install.texi: Include node directive only for
19503 non-plaintext output.
19504
699ff837
JM
195052013-12-04 Joseph Myers <joseph@codesourcery.com>
19506
ab07cea8
JM
19507 * stdlib/longlong.h: Update from GCC.
19508
699ff837
JM
19509 [BZ #6807]
19510 [BZ #15901]
19511 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
19512 * math/w_j0f.c (y0f): Likewise.
19513 * math/w_j0l.c (__y0l): Likewise.
19514 * math/w_j1.c (y1): Likewise.
19515 * math/w_j1f.c (y1f): Likewise.
19516 * math/w_j1l.c (__y1l): Likewise
19517 * math/w_jn.c (yn): Likewise.
19518 * math/w_jnf.c (ynf): Likewise.
19519 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
19520 Bessel function pole errors in _POSIX_ mode. Use NAN as return
19521 value for Bessel function domain errors outside _SVID_ mode.
19522 Adjust sign of return value for yn (negative integer, 0).
19523 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
19524 by zero in return for negative x and set sign appropriately for
19525 negative n.
19526 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
19527 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
19528 * math/libm-test.inc (y0_test_data): Add more tests and adjust
19529 expectations in error cases.
19530 (y1_test_data): Likewise.
19531 (yn_test_data): Likewise.
19532 * sysdeps/i386/fpu/libm-test-ulps: Update.
19533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19534
5b118558
UW
195352013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19536
19537 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
19538 "64" to "64-v1". Add "64-v2".
19539 (abi-64-options): Rename to ...
19540 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
19541 (abi-64-condition): Rename to ...
19542 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
19543 (abi-64-ld-soname): Rename to ...
19544 (abi-64-v1-ld-soname): ... this.
19545 (abi-64-v2-options): Define.
19546 (abi-64-v2-condition): Likewise.
19547 (abi-64-v2-ld-soname): Likewise.
19548 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
19549 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
19550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
19551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
19552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
19553
61cd8fe4
UW
195542013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19555 Alan Modra <amodra@gmail.com>
19556
19557 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
19558 New versions for use with the ELFv2 ABI.
19559 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
19560 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
19561 declaration.
19562 (struct La_ppc64v2_retval): Likewise.
19563 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
19564 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
19565 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
19566 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
19567 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
19568 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19569 Do not save or restore CR.
19570 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
19571 (_dl_profile_resolve): Do no save or restore CR. Support extended
19572 return values for ELFv2 ABI. Fix location of FPR return registers.
19573 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
19574 updated values for _CALL_ELF == 2.
19575 (La_regs, La_retval, int_retval): Likewise.
19576
8b8a692c
UW
195772013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19578
19579 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
19580 (FRAME_MIN_SIZE_PARM): Likewise.
19581 (FRAME_BACKCHAIN): Likewise.
19582 (FRAME_CR_SAVE): Likewise.
19583 (FRAME_LR_SAVE): Likewise.
19584 (FRAME_TOC_SAVE): Likewise.
19585 (FRAME_PARM_SAVE): Likewise.
19586 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
19587 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
19588 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
19589 (call_mcount_parm_offset): New macro.
19590 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
19591 (PROF): Use symbolic stack frame offsets.
19592 (TAIL_CALL_SYSCALL_ERROR): Likewise.
19593 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
19594 Redefine in terms of FRAME_MIN_SIZE.
19595 (_dl_runtime_resolve): Use symbolic stack frame offsets.
19596 (_dl_profile_resolve): Likewise. Update comment.
19597 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
19598 symbols stack frame offsets.
19599 (__sigsetjmp): Likewise.
19600 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
19601 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
19602 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
19603 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
19604
19605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
19606 (FRAME_BACKCHAIN): Remove.
19607 (FRAME_CR_SAVE): Likewise.
19608 (FRAME_LR_SAVE): Likewise.
19609 (FRAME_COMPILER_DW): Likewise.
19610 (FRAME_LINKER_DW): Likewise.
19611 (FRAME_TOC_SAVE): Likewise.
19612 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
19613 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
19614 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
19615 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
19616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
19617 (CHECK_SP): Use symbolic stack frame offsets.
19618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
19619 zone" instead of caller's parameter save area for temp storage.
19620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19621 Likewise. Also, use symbolic stack frame offsets.
19622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
19623 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
19624 our own stack frame instead of the caller's.
19625 (__socket): Use symbolic stack frame offsets.
19626
122b66de
UW
196272013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19628 Alan Modra <amodra@gmail.com>
19629
19630 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
19631 Define.
57f41c40
AS
19632 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
19633 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
19634 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
19635 New function.
19636 (elf_machine_fixup_plt): Call it.
19637 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
19638 reloc arguments.
19639 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
19640 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
19641 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
19642 r2 before calling target.
19643
696caf1d
UW
196442013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19645 Alan Modra <amodra@gmail.com>
19646
19647 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
19648 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
19649 versions of macros to support ELFv2 ABI.
19650 (LOCALENTRY): New macro.
19651 (ENTRY, EALIGN): Use it.
19652 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
19653 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
19654 fall through into ENTRY entry point.
19655 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
19656 Only define if _CALL_ELF != 2.
19657
19658 (elf_machine_matches_host): Verify ABI version matches.
19659 (RTLD_START): Use LOCALENTRY.
19660 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
19661 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
19662 (PLT_ENTRY_WORDS): New macro.
19663 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
19664 (elf_machine_runtime_setup): Support ELFv2 ABI.
19665 (elf_machine_fixup_plt): Likewise.
19666 (elf_machine_plt_conflict): Likewise.
19667 (resolve_ifunc): Likewise.
19668 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
19669 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
19670 Likewise.
19671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
19672 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
19673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19674 (makecontext): Support ELFv2 ABI.
19675 * elf/elf.h (EF_PPC64_ABI): Define.
19676
d31beafa
UW
196772013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19678
57f41c40
AS
19679 * sysdeps/powerpc/powerpc64/sysdep.h
19680 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
19681 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
19682 (ENTRY) [ASSEMBLER]: ... but instead here ...
19683 (EALIGN) [ASSEMBLER]: ... and here.
19684 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
19685 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
19686 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
19687 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
19688 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
19689 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
19690 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
19691 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
19692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
19693 Use PPC64_LOAD_FUNCPTR.
19694
b525166b
UW
19695 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
19696
7ec07d9a
AM
196972013-12-04 Alan Modra <amodra@gmail.com>
19698
19699 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
19700 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
19701 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
19702 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
19703
19704 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
19705 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
19706 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
19707 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
19708 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
19709 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
19710
5162e7dd
UW
197112013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19712
19713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19714 (__makecontext): Fix incorrect CFI when backtracing out of
19715 context created via makecontext.
19716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
19717 (__setcontext): Fix incorrect CFI during switch to new context.
19718 (__novec_setcontext): Likewise.
19719
19e3372b
OB
197202013-12-04 Ondřej Bílka <neleai@seznam.cz>
19721
19722 [BZ #4772]
19723 * time/strptime_l.c (__strptime_internal): Allow modifiers
19724 in strptime.
19725 * time/tst-strptime.c (day_tests): Add testcase.
19726
ecaf142d
SP
197272013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19728
19729 * scripts/bench.pl: Skip over blank lines.
19730
fbf964ae
PE
197312013-12-04 Paul Eggert <eggert@cs.ucla.edu>
19732
19733 [BZ #926]
19734 * manual/time.texi (Calendar Time): Clarify what timezone functions
19735 use.
19736
fa60a674
AZ
197372013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19738
19739 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19740
d674f0ef
OB
197412013-12-04 Ondřej Bílka <neleai@seznam.cz>
19742
19743 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
19744 implementation.
19745 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
19746 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
19747 * debug/memset_chk.c (__memset_chk): Likewise.
19748 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
19749 * debug/strncpy_chk.c: Likewise.
19750
17dea188
JM
197512013-12-03 Joseph Myers <joseph@codesourcery.com>
19752
749008ff
JM
19753 [BZ #15268]
19754 [BZ #15425]
19755 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
19756 (__ieee754_exp): For possibly underflowing results, check size of
19757 result and force underflow exception if required.
19758 * math/auto-libm-test-in: Add more tests of exp.
19759 * math/auto-libm-test-out: Regenerated.
19760 * sysdeps/i386/fpu/libm-test-ulps: Update.
19761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19762
17dea188
JM
19763 [BZ #16283]
19764 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
19765 * math/w_exp2f.c (__exp2f): Likewise.
19766 * math/w_exp2l.c (__exp2l): Likewise.
19767 * math/auto-libm-test-in: Do not allow missing errno on exp2
19768 underflow.
19769 * math/auto-libm-test-out: Regenerated.
19770
b20de2c3
OB
197712013-12-03 Ondřej Bílka <neleai@seznam.cz>
19772
19773 [BZ #16274]
19774 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
19775 handle filename validation.
19776 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
19777 (do_open): Delete.
19778
d8e2dbe3
JM
197792013-12-03 Joseph Myers <joseph@codesourcery.com>
19780
34e16df5
JM
19781 [BZ #6786]
19782 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
19783 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
19784 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
19785 <float.h>.
19786 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
19787 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
19788 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19789 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
19790 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19791 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
19792 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19793 * math/auto-libm-test-in: Don't allow missing errno from erfc.
19794 Add more erfc tests.
19795 * math/auto-libm-test-out: Regenerated.
19796 * sysdeps/i386/fpu/libm-test-ulps: Update.
19797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19798
d8e2dbe3
JM
19799 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
19800 exp2, expm1, j0 and j1.
19801 * math/auto-libm-test-out: Regenerated.
19802 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
19803 (erfc_test_data): Likewise.
19804 (exp_test_data): Likewise.
19805 (exp_tonearest_test_data): Likewise.
19806 (exp_towardzero_test_data): Likewise.
19807 (exp_downward_test_data): Likewise.
19808 (exp_upward_test_data): Likewise.
19809 (exp10_test_data): Likewise.
19810 (exp2_test_data): Likewise.
19811 (expm1_test_data): Likewise.
19812 (j0_test_data): Likewise.
19813 (j1_test_data): Likewise.
19814 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
19815 (input_flag_type): Add flag_xfail_rounding.
19816 (input_flags): Add xfail-rounding.
19817 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
19818 (output_for_one_input_case): Handle flag_xfail_rounding.
19819 * sysdeps/i386/fpu/libm-test-ulps: Update.
19820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19821
18d14251
AJ
198222013-12-03 Aurelien Jarno <aurelien@aurel32.net>
19823
3d2e6075 19824 [BZ #16289]
18d14251
AJ
19825 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
19826 division by 0.
19827
520d437b
SP
198282013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19829
19830 [BZ #16195]
19831 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
19832 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
19833 (STAP_PROBE0): New macro.
19834 (STAP_PROBE1): Likewise.
19835 (STAP_PROBE2): Likewise.
19836 (STAP_PROBE3): Likewise.
19837 (STAP_PROBE4): Likewise.
19838
416e0145
OB
198392013-12-02 Ondřej Bílka <neleai@seznam.cz>
19840
19841 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
19842
9d17796a
SE
198432013-12-02 Steve Ellcey <sellcey@mips.com>
19844
19845 * benchtests/Makefile (bench): Add sqrt.
19846 (LDLIBS-bench-sqrt): New.
19847 * benchtests/sqrt-input: New.
19848
f524d6a8
PS
198492013-12-02 Pavel Simerda <psimerda@redhat.com>
19850
639a0ef8
PS
19851 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
19852 (GAIH_EAI): Likewise.
19853 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
19854 (gaih_inet): Likewise.
19855 (getaddrinfo): Don't use GAIH_EAI.
19856
f524d6a8
PS
19857 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
19858 (struct gaih): Remove definition.
19859
df3aedaf
SP
198602013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19861
19862 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
19863 Use HERRNOP directly.
19864
1ab19dec
AZ
198652013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19866
b42ad38d 19867 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 19868
176b0c79
JM
198692013-11-30 Joseph Myers <joseph@codesourcery.com>
19870
19871 * math/gen-auto-libm-tests.c (test_functions): Add more
19872 single-argument functions.
19873 (special_fill_pi_2): New function.
19874 (special_fill_minus_pi_2): Likewise.
19875 (special_fill_pi_6): Likewise.
19876 (special_fill_minus_pi_6): Likewise.
19877 (special_fill_pi_3): Likewise.
19878 (special_fill_2pi_3): Likewise.
19879 (special_fill_e): Likewise.
19880 (special_fill_1_e): Likewise.
19881 (special_fill_e_minus_1): Likewise.
19882 (special_real_inputs): Add more special inputs.
19883 (output_for_one_input_case): Do not require ERANGE on underflow to
19884 zero if round-to-nearest result does not underflow to zero, unless
19885 exact results required.
19886 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
19887 atan, atanh, cbrt, cos and cosh.
19888 * math/auto-libm-test-out: Regenerated.
19889 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
19890 (acos_tonearest_test_data): Likewise.
19891 (acos_towardzero_test_data): Likewise.
19892 (acos_downward_test_data): Likewise.
19893 (acos_upward_test_data): Likewise.
19894 (acosh_test_data): Likewise.
19895 (asin_test_data): Likewise.
19896 (asin_tonearest_test_data): Likewise.
19897 (asin_towardzero_test_data): Likewise.
19898 (asin_upward_test_data): Likewise.
19899 (asinh_test_data): Likewise.
19900 (atan_test_data): Likewise.
19901 (atanh_test_data): Likewise.
19902 (cbrt_test_data): Likewise.
19903 (cos_test_data): Likewise.
19904 (cos_tonearest_test_data): Likewise.
19905 (cos_towardzero_test_data): Likewise.
19906 (cos_downward_test_data): Likewise.
19907 (cos_upward_test_data): Likewise.
19908 (cosh_test_data): Likewise.
19909 (cosh_tonearest_test_data): Likewise.
19910 (cosh_towardzero_test_data): Likewise.
19911 (cosh_downward_test_data): Likewise.
19912 (cosh_upward_test_data): Likewise.
19913 * sysdeps/i386/fpu/libm-test-ulps: Update.
19914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19915
ffb536d0
JM
199162013-11-29 Joseph Myers <joseph@codesourcery.com>
19917
2a77a467
JM
19918 [BZ #6787]
19919 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
19920 * math/w_exp10f.c (__exp10f): Likewise.
19921 * math/w_exp10l.c (__exp10l): Likewise.
19922 * math/libm-test.inc (exp10_test_data): Add more tests and expect
19923 errno settings in existing tests.
19924
ea3bc4e8
JM
19925 [BZ #14032]
19926 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
19927 precision control set to double precision.
19928 * sysdeps/i386/fpu/w_sqrt.c: New file.
19929 * math/auto-libm-test-in: Add more tests.
19930 * math/auto-libm-test-out: Update.
19931
0712c9d8
JM
19932 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
19933 (sqrt_test_tonearest): New function.
19934 (sqrt_towardzero_test_data): New variable.
19935 (sqrt_test_towardzero): New function.
19936 (sqrt_downward_test_data): New variable.
19937 (sqrt_test_downward): New function.
19938 (sqrt_upward_test_data): New variable.
19939 (sqrt_test_upward): New function.
19940 (main): Call the new functions.
19941
ffb536d0
JM
19942 * math/gen-auto-libm-tests.c: New file.
19943 * math/auto-libm-test-in: Likewise.
19944 * math/auto-libm-test-out: New generated file.
19945 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
19946 variables.
19947 (%beautify): Add generated representations of zero.
19948 (top level): Set $auto_input and call parse_auto_input.
19949 (beautify): Remove trailing "f" from hex float constants.
19950 (parse_args): Handle XFAIL_TEST.
19951 (convert_condition): New function.
19952 (or_value): Likewise.
19953 (or_cond_value): Likewise.
19954 (generate_testfile): Handle AUTO_TESTS_* lines.
19955 (parse_auto_input): New function.
19956 * math/libm-test.inc (XFAIL_TEST): New macro.
19957 (ERRNO_UNCHANGED): Update value.
19958 (ERRNO_EDOM): Likewise.
19959 (ERRNO_ERANGE): Likewise.
19960 (IGNORE_RESULT): Likewise.
19961 (TEST_COND_flt_32): New macro.
19962 (TEST_COND_dbl_64): Likewise.
19963 (TEST_COND_ldbl_96_intel): Likewise.
19964 (TEST_COND_ldbl_96_m68k): Likewise.
19965 (TEST_COND_ldbl_128): Likewise.
19966 (TEST_COND_ldbl_128ibm): Likewise.
19967 (TEST_COND_long32): Likewise.
19968 (TEST_COND_long64): Likewise.
19969 (TEST_COND_before_rounding): Likewise.
19970 (TEST_COND_after_rounding): Likewise.
19971 (enable_test): Handle XFAIL_TEST flag.
19972 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
19973 with finite results.
19974 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
19975 auto-libm-test-out.
19976
acd98a8e
AK
199772013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19978 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19979
19980 [BZ #16214]
19981 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
19982 __tls_get_addr_internal instead of __tls_get_offset in order to
19983 avoid GOT pointer dependency. Make rtld export
19984 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
19985 __tls_get_addr since we are a __tls_get_offset platform.
19986 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
19987 GOT pointer being set up before.
19988 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
19989
3c1c46a6
JM
199902013-11-28 Joseph Myers <joseph@codesourcery.com>
19991
7475aef5
JM
19992 * manual/math.texi (Errors in Math Functions): Document accuracy
19993 goals.
19994
8bca7cd8
JM
19995 [BZ #15004]
19996 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
19997 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
19998 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19999 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20000 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20001 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20002 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20003 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
20004 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
20005 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20006 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20007 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20008 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20009 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20010 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
20011 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
20012
91a1f3fe
JM
20013 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
20014 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
20015 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
20016 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
20017 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
20018 Likewise.
20019 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
20020 Likewise.
20021 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
20022 Likewise.
20023 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
20024 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
20025 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
20026 atomic-feupdateenv and flt-rounds.
20027 * sysdeps/powerpc/nofpu/Versions (libc): Add
20028 __atomic_feholdexcept, __atomic_feclearexcept,
20029 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
20030 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
20031 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
20032 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
20033 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
20034 here.
20035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
20036 Update.
20037
c5df7609
JM
20038 * manual/arith.texi (FP Exceptions): Document that exceptions may
20039 not be raised when matherr is used.
20040 (Math Error Reporting): Document overflow in directed rounding
20041 modes. Document that errno may not be set when finite values are
20042 returned on overflow. Document intent to set errno on underflow
20043 only for underflow to zero.
20044
3c1c46a6
JM
20045 [BZ #16271]
20046 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
20047 round-to-nearest then adjust result for other rounding modes.
20048 * include/fenv.h (fegetround): Use libm_hidden_proto.
20049 * math/fegetround.c (fegetround): Use libm_hidden_def.
20050 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
20051 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
20052 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
20053 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
20054 Likewise.
20055 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
20056 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20057 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
20058 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
20059
5a4c6d53
SP
200602013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20061
20062 [BZ #16077]
20063 * nss/Versions (libnss_files): Add
20064 _nss_files_gethostbyname3_r.
20065 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
20066 New function.
20067 (HOST_DB_LOOKUP): Remove macro.
20068 (_nss_files_gethostbyname_r): Implement function without the
20069 HOST_DB_LOOKUP macro.
20070 (_nss_files_gethostbyname2_r): Likewise.
20071
897b98ba
OB
200722013-11-28 Ondřej Bílka <neleai@seznam.cz>
20073
20074 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
20075
6f476861
UB
200762013-11-26 Uros Bizjak <ubizjak@gmail.com>
20077
20078 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
20079 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
20080 warning.
20081
bd12ab55
AZ
200822013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20083
20084 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
20085 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
20086 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
20087 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
20088 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
20089 __fe_nomask_env_priv and attribute_hidden.
20090 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
20091 (libc_feupdateenv_test_ppc): Likewise.
20092 (libc_feresetround_ppc): Likewise.
20093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20094 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
20095 compat_symbol macro.
20096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20097 (__fe_nomask_env): Likewise.
20098 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
20099
52bb6543
OB
201002013-11-26 Ondřej Bílka <neleai@seznam.cz>
20101
20102 * string/Makefile: Remove ifunc tests.
20103 * string/test-string.h: Define TEST_IFUNC.
20104 * string/test-bcopy-ifunc.c: Remove.
20105 * string/test-bzero-ifunc.c: Likewise.
20106 * string/test-memccpy-ifunc.c: Likewise.
20107 * string/test-memchr-ifunc.c: Likewise.
20108 * string/test-memcmp-ifunc.c: Likewise.
20109 * string/test-memcpy-ifunc.c: Likewise.
20110 * string/test-memmem-ifunc.c: Likewise.
20111 * string/test-memmove-ifunc.c: Likewise.
20112 * string/test-mempcpy-ifunc.c: Likewise.
20113 * string/test-memrchr-ifunc.c: Likewise.
20114 * string/test-memset-ifunc.c: Likewise.
20115 * string/test-rawmemchr-ifunc.c: Likewise.
20116 * string/test-stpcpy-ifunc.c: Likewise.
20117 * string/test-stpncpy-ifunc.c: Likewise.
20118 * string/test-strcasecmp-ifunc.c: Likewise.
20119 * string/test-strcasestr-ifunc.c: Likewise.
20120 * string/test-strcat-ifunc.c: Likewise.
20121 * string/test-strchr-ifunc.c: Likewise.
20122 * string/test-strchrnul-ifunc.c: Likewise.
20123 * string/test-strcmp-ifunc.c: Likewise.
20124 * string/test-strcpy-ifunc.c: Likewise.
20125 * string/test-strcspn-ifunc.c: Likewise.
20126 * string/test-strlen-ifunc.c: Likewise.
20127 * string/test-strncasecmp-ifunc.c: Likewise.
20128 * string/test-strncat-ifunc.c: Likewise.
20129 * string/test-strncmp-ifunc.c: Likewise.
20130 * string/test-strncpy-ifunc.c: Likewise.
20131 * string/test-strnlen-ifunc.c: Likewise.
20132 * string/test-strpbrk-ifunc.c: Likewise.
20133 * string/test-strrchr-ifunc.c: Likewise.
20134 * string/test-strspn-ifunc.c: Likewise.
20135 * string/test-strstr-ifunc.c: Likewise.
20136
ab260039 201372013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
20138
20139 * benchtests/Makefile: Remove ifunc tests.
20140 * benchtests/bench-string.h: Define TEST_IFUNC.
20141 * benchtests/bench-bcopy-ifunc.c: Remove.
20142 * benchtests/bench-bzero-ifunc.c: Likewise.
20143 * benchtests/bench-memccpy-ifunc.c: Likewise.
20144 * benchtests/bench-memchr-ifunc.c: Likewise.
20145 * benchtests/bench-memcmp-ifunc.c: Likewise.
20146 * benchtests/bench-memcpy-ifunc.c: Likewise.
20147 * benchtests/bench-memmem-ifunc.c: Likewise.
20148 * benchtests/bench-memmove-ifunc.c: Likewise.
20149 * benchtests/bench-mempcpy-ifunc.c: Likewise.
20150 * benchtests/bench-memrchr-ifunc.c: Likewise.
20151 * benchtests/bench-memset-ifunc.c: Likewise.
20152 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
20153 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
20154 * benchtests/bench-stpcpy-ifunc.c: Likewise.
20155 * benchtests/bench-stpncpy-ifunc.c: Likewise.
20156 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
20157 * benchtests/bench-strcasestr-ifunc.c: Likewise.
20158 * benchtests/bench-strcat-ifunc.c: Likewise.
20159 * benchtests/bench-strchr-ifunc.c: Likewise.
20160 * benchtests/bench-strchrnul-ifunc.c: Likewise.
20161 * benchtests/bench-strcmp-ifunc.c: Likewise.
20162 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
20163 * benchtests/bench-strcpy-ifunc.c: Likewise.
20164 * benchtests/bench-strcspn-ifunc.c: Likewise.
20165 * benchtests/bench-strlen-ifunc.c: Likewise.
20166 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
20167 * benchtests/bench-strncat-ifunc.c: Likewise.
20168 * benchtests/bench-strncmp-ifunc.c: Likewise.
20169 * benchtests/bench-strncpy-ifunc.c: Likewise.
20170 * benchtests/bench-strnlen-ifunc.c: Likewise.
20171 * benchtests/bench-strpbrk-ifunc.c: Likewise.
20172 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 20173 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
20174 * benchtests/bench-strspn-ifunc.c: Likewise.
20175 * benchtests/bench-strstr-ifunc.c: Likewise.
20176
201772013-11-26 Ondřej Bílka <neleai@seznam.cz>
20178
ab260039
OB
20179 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
20180
d1d9eaf4 201812013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 20182
d1d9eaf4
OB
20183 * resolv/netdb.h: Use __glibc_reserved instead __unused.
20184 * rt/aio.h: Likewise.
20185 * sysdeps/gnu/bits/utmp.h: Likewise.
20186 * sysdeps/gnu/bits/utmpx.h: Likewise.
20187 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
20188 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
20189 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
20190 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
20191 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
20192 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
20193 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
20194 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
20195 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
20196 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
20197 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
20198 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
20199 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
20200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
20201 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
20202 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
20203 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
20204 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
20205 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
20206 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
20207 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
20208 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
20209 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
20210 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20211 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
20212 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20213 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
20214 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
20215 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
20216 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
20217 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
20218 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
20219 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
20220 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
20221 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
20222 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
20223 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
20224 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
20225 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
20226 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
20227 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
20228 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
20229
a7624ed9
CD
202302013-11-25 Carlos O'Donell <carlos@redhat.com>
20231
20232 [BZ #16245]
20233 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
20234 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
20235
63cfe52b
JM
202362013-11-25 Joseph Myers <joseph@codesourcery.com>
20237
20238 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
20239 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
20240 Likewise.
20241
41e8926a
AZ
202422013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20243
20244 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
20245 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
20246 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
20247 (__fesetround): Remove define.
20248 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
20249 rounding and exceptions handling.
20250 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
20251 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
20252 (__fe_nomask_env): Likewise.
20253 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
20254 __fegetround instead of fegetround.
20255 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
20256 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
20257
6851bd4d
RM
202582013-11-21 Roland McGrath <roland@hack.frob.com>
20259
070906ff
RM
20260 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
20261 it's there.
20262
6851bd4d
RM
20263 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
20264
84ae135d
MI
202652013-11-21 Meador Inge <meadori@codesourcery.com>
20266
20267 [BZ #11157]
20268 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
20269 (encrypt_r): Likewise.
20270 * malloc/obstack.h (obstack_free): Likewise.
20271 * posix/unistd.h (encrypt): Likewise.
20272
daf75146
GM
202732013-11-21 Guy Martin <gmsoft@tuxicoman.be>
20274
20275 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
20276 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
20277 DL_CALL_DT_FINI() that call the functions directly.
20278 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
20279 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
20280 * elf/dl-fini.c: Likewise.
20281
10ad46bc
OB
202822013-11-20 Ondřej Bílka <neleai@seznam.cz>
20283
20284 * malloc/hooks.c (memalign_check): Add alignment rounding.
20285 * malloc/malloc.c (_mid_memalign): New function.
20286 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
20287 Implement by calling _mid_memalign.
20288 * manual/probes.texi (Memory Allocation Probes): Remove
20289 memory_valloc_retry and memory_pvalloc_retry.
20290
f3fd2628
SP
202912013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20292
4712799f
SP
20293 * locale/programs/locarchive.c (open_archive): Add const
20294 qualifier to ARCHIVEFNAME and copy default fname to
20295 DEFAULT_FNAME.
20296
0417b20f
SP
20297 [BZ #15601]
20298 * libio/tst-widetext.input: Rename Oriya to Odia.
20299 * locale/iso-639.def: Likewise.
20300
f3fd2628
SP
20301 * manual/probes.texi (Mathematical Function Probes): Add
20302 documentation for sin, cos, asin and acos probes.
20303 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
20304 (__sin32): Add slowasin probe.
20305 (__cos32): Add slowacos probe.
20306 (__mpsin): Add slowsin probe.
20307 (__mpcos): Add slowcos probe.
20308
73c1ce4f
JM
203092013-11-19 Joseph Myers <joseph@codesourcery.com>
20310
20311 [BZ #15483]
20312 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
20313 thread-local __sim_exceptions_thread and global
20314 __sim_exceptions_global.
20315 (__sim_disabled_exceptions): Change to thread-local
20316 __sim_disabled_exceptions_thread and global
20317 __sim_disabled_exceptions_global.
20318 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
20319 and global __sim_round_mode_global.
20320 (__simulate_exceptions): Use thread-local floating-point state and
20321 set global state from it as needed.
20322 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
20323 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
20324 __sim_round_mode_thread.
20325 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
20326 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
20327 and global __sim_exceptions_global.
20328 (__sim_disabled_exceptions): Change to thread-local
20329 __sim_disabled_exceptions_thread and global
20330 __sim_disabled_exceptions_global.
20331 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
20332 and global __sim_round_mode_global.
20333 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
20334 (SIM_SET_GLOBAL): Likewise.
20335 * sysdeps/powerpc/soft-fp/sfp-machine.h
20336 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
20337 __sim_round_mode_thread.
20338 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
20339 __sim_disabled_exceptions_thread.
20340 (__sim_exceptions): Change to __sim_exceptions_thread.
20341 (__sim_disabled_exceptions): Change to
20342 __sim_disabled_exceptions_thread.
20343 (__sim_round_mode): Change to __sim_round_mode_thread.
20344 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
20345 thread-local floating-point state and set global state from it as
20346 needed.
20347 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
20348 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
20349 (__sim_disabled_exceptions): Remove extern declaration.
20350 (feenableexcept): Use thread-local floating-point state and set
20351 global state from it as needed.
20352 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
20353 extern declaration.
20354 (__sim_disabled_exceptions): Likewise.
20355 (__sim_round_mode): Likewise.
20356 (__fegetenv): Use thread-local floating-point state.
20357 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
20358 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
20359 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
20360 floating-point state and set global state from it as needed.
20361 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
20362 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
20363 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
20364 Likewise.
20365 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
20366 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
20367 Likewise.
20368 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
20369 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
20370 Use __sim_round_mode_thread.
20371 * math/test-fenv-tls.c: New file.
20372 * math/Makefile (tests): Add test-fenv-tls.
20373 ($(objpfx)test-fenv-tls): Depend on
20374 $(common-objpfx)nptl/libpthread.so.
20375
b5449b12
AS
203762013-11-19 Andreas Schwab <schwab@suse.de>
20377
20378 * locale/programs/locale.c (show_info): Decode wordarray elements.
20379 * locale/categories.def (LC_MONETARY): Add element for
20380 _NL_MONETARY_CRNCYSTR.
20381 * locale/C-monetary.c (conversion_rate): New variable.
20382 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
20383 element.
20384
e186536b
CM
203852013-11-18 Chris Metcalf <cmetcalf@tilera.com>
20386
20387 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
20388 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
20389
5c349950
PP
203902013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
20391
20392 * elf/Makefile (tst-auxv): New test.
20393 * elf/tst-auxv.c: New
20394 * elf/rtld.c (dl_main): Adjust AT_EXECFN
20395
699df45b
JM
203962013-11-18 Joseph Myers <joseph@codesourcery.com>
20397
20398 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
20399 (hidden_proto): Caller changed.
20400 (hidden_tls_proto): New macro.
20401 (libc_hidden_tls_proto): Likewise.
20402 (rtld_hidden_tls_proto): Likewise.
20403 (libm_hidden_tls_proto): Likewise.
20404 (libresolv_hidden_tls_proto): Likewise.
20405 (librt_hidden_tls_proto): Likewise.
20406 (libdl_hidden_tls_proto): Likewise.
20407 (libnss_files_hidden_tls_proto): Likewise.
20408 (libnsl_hidden_tls_proto): Likewise.
20409 (libnss_nisplus_hidden_tls_proto): Likewise.
20410 (libutil_hidden_tls_proto): Likewise.
20411
b7589107
OB
204122013-11-18 Ondřej Bílka <neleai@seznam.cz>
20413
20414 [BZ #10253]
20415 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
20416 (decompose_rpath): Defer expansion to fillin_rpath.
20417 (_dl_init_paths): Pass linkmap to fillin_rpath.
20418
250c23bd
RS
204192013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20420
20421 * benchtests/Makefile: Add strsep.
20422 * benchtests/bench-strsep.c: New file: strsep benchtest.
20423 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
20424
a7931fcf
AS
204252013-11-18 Andreas Schwab <schwab@suse.de>
20426
20427 * locale/programs/locale.c (show_info) [case byte]: Check for
20428 '\377' instead of '\177'.
20429 * locale/C-monetary.c (not_available): Always use "\377".
20430 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
20431 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
20432 detect unavailable sign_posn locale elements.
20433 * locale/localeconv.c (__localeconv): For grouping and
20434 mon_grouping handle "\177" and "\377" like no grouping.
20435 (INT_ELEM): New macro. Use it to set all numeric members.
20436 * locale/programs/ld-monetary.c (monetary_read)
20437 <tok_mon_grouping>: Normalize single -1 to the empty string.
20438 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
20439 Likewise.
20440
728dab0e
OB
204412013-11-07 Ondřej Bílka <neleai@seznam.cz>
20442
20443 [BZ #16055]
20444 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
20445 when we match (nil).
20446 * stdio-common/tst-sscanf.c (struct test): Add testcase.
20447
66294491
JM
204482013-11-16 Joseph Myers <joseph@codesourcery.com>
20449
ce665817
JM
20450 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
20451 (NO_TEST_INLINE): Update value.
20452 (ERRNO_UNCHANGED): Likewise.
20453 (ERRNO_EDOM): Likewise.
20454 (ERRNO_ERANGE): Likewise.
20455 (IGNORE_RESULT): Likewise.
20456 (check_float_internal): Check signs of NaN results if
20457 TEST_NAN_SIGN used.
20458 (check_complex): Pass TEST_NAN_SIGN flag through to second
20459 check_float_internal call.
20460 (copysign_test_data): Add tests with quiet NaNs as second
20461 argument. Use TEST_NAN_SIGN.
20462 (fabs_test_data): Add test of negative quiet NaN argument. Use
20463 TEST_NAN_SIGN.
20464 (signbit_test_data): Add tests of quiet NaN argument.
20465 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
20466
ee1466a9
JM
20467 * math/gen-libm-test.pl (show_exceptions): Take extra argument
20468 $ignore_result.
20469 (parse_args): Handle function results specified as IGNORE.
20470 * math/libm-test.inc (IGNORE_RESULT): New macro.
20471 (check_float_internal): Do not check numerical result if flag
20472 IGNORE_RESULT set.
20473 (check_complex): Pass through IGNORE_RESULT to second
20474 check_float_internal call.
20475 (check_int): Do not check numerical result if flag IGNORE_RESULT
20476 set.
20477 (check_long): Likewise.
20478 (check_bool): Likewise.
20479 (check_longlong): Likewise.
20480 (lrint_test_data): Add tests of infinite and NaN arguments.
20481 (lrint_tonearest_test_data): Likewise.
20482 (lrint_towardzero_test_data): Likewise.
20483 (lrint_downward_test_data): Likewise.
20484 (lrint_upward_test_data): Likewise.
20485 (llrint_test_data): Likewise.
20486 (llrint_tonearest_test_data): Likewise.
20487 (llrint_towardzero_test_data): Likewise.
20488 (llrint_downward_test_data): Likewise.
20489 (llrint_upward_test_data): Likewise.
20490 (lround_test_data): Likewise.
20491 (llround_test_data): Likewise.
20492
14407b7e
JM
20493 * math/libm-test.inc (NO_TEST_INLINE): New macro.
20494 (ERRNO_UNCHANGED): Update value.
20495 (ERRNO_EDOM): Likewise.
20496 (ERRNO_ERANGE): Likewise.
20497 (NO_TEST_INLINE_FLOAT): New macro.
20498 (NO_TEST_INLINE_DOUBLE): Likewise.
20499 (enable_test): New function.
20500 (RUN_TEST_f_f): Check enable_test before running test.
20501 (RUN_TEST_2_f): Likewise.
20502 (RUN_TEST_fff_f): Likewise.
20503 (RUN_TEST_c_f): Likewise.
20504 (RUN_TEST_f_f1): Likewise.
20505 (RUN_TEST_fF_f1): Likewise.
20506 (RUN_TEST_fI_f1): Likewise.
20507 (RUN_TEST_ffI_f1): Likewise.
20508 (RUN_TEST_c_c): Likewise.
20509 (RUN_TEST_cc_c): Likewise.
20510 (RUN_TEST_f_i): Likewise.
20511 (RUN_TEST_f_i_tg): Likewise.
20512 (RUN_TEST_ff_i_tg): Likewise.
20513 (RUN_TEST_f_b): Likewise.
20514 (RUN_TEST_f_b_tg): Likewise.
20515 (RUN_TEST_f_l): Likewise.
20516 (RUN_TEST_f_L): Likewise.
20517 (RUN_TEST_fFF_11): Likewise.
20518 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
20519 conditionals.
20520 (cosh_test_data): Likewise.
20521 (exp_test_data): Likewise.
20522 (expm1_test_data): Likewise.
20523 (hypot_test_data): Likewise.
20524 (pow_test_data): Likewise.
20525 (sinh_test_data): Likewise.
20526 (tanh_test_data): Likewise.
20527 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
20528 flags argument.
20529
ca07f197
JM
20530 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
20531 tests with quiet NaN input and output.
20532 (acosh_test_data): Likewise.
20533 (asin_test_data): Likewise.
20534 (asinh_test_data): Likewise.
20535 (atan_test_data): Likewise.
20536 (atanh_test_data): Likewise.
20537 (atan2_test_data): Likewise.
20538 (cbrt_test_data): Likewise.
20539 (cos_test_data): Likewise.
20540 (cosh_test_data): Likewise.
20541 (erf_test_data): Likewise.
20542 (erfc_test_data): Likewise.
20543 (exp_test_data): Likewise.
20544 (exp10_test_data): Likewise.
20545 (exp2_test_data): Likewise.
20546 (expm1_test_data): Likewise.
20547 (hypot_test_data): Likewise.
20548 (j0_test_data): Likewise.
20549 (j1_test_data): Likewise.
20550 (jn_test_data): Likewise.
20551 (lgamma_test_data): Likewise.
20552 (log_test_data): Likewise.
20553 (log10_test_data): Likewise.
20554 (log1p_test_data): Likewise.
20555 (log2_test_data): Likewise.
20556 (pow_test_data): Likewise.
20557 (scalb_test_data): Likewise.
20558 (sin_test_data): Likewise.
20559 (sincos_test_data): Likewise.
20560 (sinh_test_data): Likewise.
20561 (tan_test_data): Likewise.
20562 (tanh_test_data): Likewise.
20563 (tgamma_test_data): Likewise.
20564 (y0_test_data): Likewise.
20565 (y1_test_data): Likewise.
20566 (yn_test_data): Likewise.
20567
66294491
JM
20568 [BZ #16167]
20569 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
20570 argument being NaN and avoid computations with second argument in
20571 that case.
20572 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20573 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
20574 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20575
1820b143
CL
205762013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
20577
20578 * locale/iso-639.def: Add Chitwani Tharu (the).
20579
714bd261
AS
205802013-11-14 Andreas Schwab <schwab@suse.de>
20581
20582 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
20583 word instead of empty string.
20584
7ab44563
AZ
205852013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20586
20587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20588 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
20589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20590 (__fe_nomask_env): Likewise.
20591
e8470ea2
SE
205922013-11-13 Steve Ellcey <sellcey@mips.com>
20593
20594 * benchtests/bench-timing.h: Include time.h.
20595
17c1d9f0
L
205962013-11-13 H.J. Lu <hongjiu.lu@intel.com>
20597
20598 [BZ #15997]
20599 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
20600 to 3.4.0 for x32.
20601 * sysdeps/unix/sysv/linux/configure: Regenerated.
20602
9310c284
JM
206032013-11-13 Joseph Myers <joseph@codesourcery.com>
20604
20605 [BZ #16151]
20606 * stdlib/strtod_l.c (round_and_return): Do not consider
20607 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
20608 exponent one less than half the least subnormal exponent.
20609 * stdlib/test-strtod-round-data: Add more tests.
20610 * stdlib/tst-strtod-round.c (tests): Regenerated.
20611
7a2ad8cf
AZ
206122013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20613
20614 [BZ #14143]
20615 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
20616 (__fe_mask_env): Likewise.
20617 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
20618 libm_hidden_proto and add function prototype.
20619 (__fe_mask_env): Add function prototype.
20620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20621 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
20622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20623 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
20624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20625 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
20626
50727aa7
MS
206272013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20628
b2f386c1 20629 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
20630 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
20631
a615be46
MS
206322013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20633
20634 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
20635 of htab_find_slot().
20636
7ddace62
DM
206372013-11-11 David S. Miller <davem@davemloft.net>
20638
20639 [BZ #16150]
20640 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
20641 symbol in the non-vis3 case in static builds.
20642 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
20643 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
20644 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
20645 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
20646
9182aa67
JK
206472013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
20648
20649 [BZ #387]
20650 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
20651 it is empty.
20652
450a2e2d
AZ
206532013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20654
b2f386c1
SP
20655 * benchtests/Makefile: Add bench-strtod.
20656 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 20657
8ec3f656
AS
206582013-11-11 Andreas Schwab <schwab@suse.de>
20659
20660 [BZ #16153]
20661 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
20662 terminating NUL in key length.
20663
76a9b998
AZ
206642013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20665
20666 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20667 Add artificial ODP entry for vDSO symbol for PPC64.
20668 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
20669 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
20670
e4368156
OB
206712013-11-07 Ondřej Bílka <neleai@seznam.cz>
20672
20673 [BZ #15374]
20674 * nss/getent.c (services_keys): Recognize services starting with digit.
20675
8d6bb57c
DM
206762013-11-06 David S. Miller <davem@davemloft.net>
20677
20678 [BZ #15985]
20679 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
20680 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
20681
e256c421
WN
206822013-11-06 Will Newton <will.newton@linaro.org>
20683
20684 * manual/memory.texi (Malloc Examples): Remove register
20685 keyword from examples.
20686
f6e12daa 206872013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 20688
f6e12daa 20689 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 20690
9d880655
AS
206912013-11-04 Joseph Myers <joseph@codesourcery.com>
20692
fd2f9486 20693 [BZ #6981]
9d880655
AS
20694 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
20695 depending on [__GCC_IEC_559 > 0].
20696 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
20697 depending on [__GCC_IEC_559_COMPLEX > 0].
20698
ae129d3c
CL
206992013-11-03 Chris Leonard <cjl@sugarlabs.org>
20700
20701 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
20702 to iso-639.def.
20703
4a15c2a4 207042013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
20705
20706 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
20707
8b35e35d
OB
207082013-11-01 Ondřej Bílka <neleai@seznam.cz>
20709
20710 [BZ #16112]
20711 * malloc/malloc (malloc_info): Do not handle first bin as
20712 special case.
20713
1d70fd6c
CL
207142013-11-01 Chris Leonard <cjl@sugarlabs.org>
20715
20716 * locale/iso-639.def: Add Central Nahuatl (nhn).
20717
8c5c2600
BH
207182013-11-01 Bruno Haible <bruno@clisp.org>
20719
20720 [BZ #7003]
20721 * manual/math.texi (BSD Random): Specify range upper bound as
20722 in POSIX.
20723
da5579c2
CL
207242013-10-31 Chris Leonard <cjl@sugarlabs.org>
20725
20726 * locale/iso-639.def: Add Meadow Mari (mhr).
20727
5d30d853
OB
207282013-10-31 Ondřej Bílka <neleai@seznam.cz>
20729
20730 [BZ #14752], [BZ #15763]
20731 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
20732 Validate name.
20733 * rt/tst_shm.c: Add test for escaping directory.
20734
a4966c61
AS
207352013-10-31 Andreas Schwab <schwab@suse.de>
20736
8a43e768 20737 [BZ #15917]
a4966c61
AS
20738 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
20739 followed by 'x' as part of digit sequence.
20740 * stdio-common/tst-sscanf.c (double_tests2): New tests.
20741
28d708c4
MAP
207422013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
20743
20744 [BZ #16037]
20745 * configure.ac: allow GNU Make 4.0 and greater.
20746 * configure: Regenerated.
20747
a56ee40b
WN
207482013-10-30 Will Newton <will.newton@linaro.org>
20749
20750 [BZ #16038]
20751 * malloc/hooks.c (memalign_check): Limit alignment to the
20752 maximum representable power of two.
20753 * malloc/malloc.c (__libc_memalign): Likewise.
20754 * malloc/tst-memalign.c (do_test): Add test for very
20755 large alignment values.
20756 * malloc/tst-posix_memalign.c (do_test): Likewise.
20757
c6e4925d
OB
207582013-10-30 Ondřej Bílka <neleai@seznam.cz>
20759
20760 [BZ #11087]
20761 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
20762 (munmap_chunk): Likewise.
20763 (mremap_chunk): Likewise.
20764
207652013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 20766
8a43e768 20767 [BZ #15799]
bbea82f7
OB
20768 * stdlib/div.c (div): Remove obsolete code.
20769 * stdlib/ldiv.c (ldiv): Likewise.
20770 * stdlib/lldiv.c (lldiv): Likewise.
20771
977f4b31
SP
207722013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20773
20774 [BZ #16071]
20775 * nss/nss_files/files-XXX.c (get_contents_ret): New
20776 enumerator.
20777 (get_contents): New function.
20778 (internal_getent): Use it. Expand size of LINEBUFLEN.
20779
cb8a6dbd
MF
207802013-10-30 Mike Frysinger <vapier@gentoo.org>
20781
20782 * configure.in: Moved to ...
20783 * configure.ac: ... here. Change reference to configure.in
20784 to configure.ac.
20785 * sysdeps/arm/preconfigure.ac: ... here.
20786 configure.in to configure.ac.
20787 * sysdeps/gnu/configure.in: Moved to ...
20788 * sysdeps/gnu/configure.ac: ... here.
20789 * sysdeps/i386/configure.in: Moved to ...
20790 * sysdeps/i386/configure.ac: ... here.
20791 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
20792 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
20793 * sysdeps/mach/configure.in: Moved to ...
20794 * sysdeps/mach/configure.ac: ... here.
20795 * sysdeps/mach/hurd/configure.in: Moved to ...
20796 * sysdeps/mach/hurd/configure.ac: ... here.
20797 * sysdeps/powerpc/configure.in: Moved to ...
20798 * sysdeps/powerpc/configure.ac: ... here.
20799 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
20800 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
20801 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
20802 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
20803 * sysdeps/s390/s390-32/configure.in: Moved to ...
20804 * sysdeps/s390/s390-32/configure.ac: ... here.
20805 * sysdeps/s390/s390-64/configure.in: Moved to ...
20806 * sysdeps/s390/s390-64/configure.ac: ... here.
20807 * sysdeps/sh/configure.in: Moved to ...
20808 * sysdeps/sh/configure.ac: ... here.
20809 * sysdeps/sparc/configure.in: Moved to ...
20810 * sysdeps/sparc/configure.ac: ... here.
20811 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
20812 * sysdeps/unix/sysv/linux/configure.ac: ... here.
20813 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
20814 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
20815 * sysdeps/x86_64/configure.in: Moved to ...
20816 * sysdeps/x86_64/configure.ac: ... here.
20817 * sysdeps/x86_64/preconfigure.in: Moved to ...
20818 * sysdeps/x86_64/preconfigure.ac: ... here.
20819 * aclocal.m4: Change reference to configure.in to configure.ac.
20820 * config.h.in: Likewise.
20821 * manual/install.texi: Likewise.
20822 * manual/maint.texi: Likewise.
20823 * Makefile: Likewise.
20824 * malloc/Makefile: Likewise.
20825 * nscd/Makefile: Likewise.
20826 * Makeconfig: Change reference to configure.in and
20827 preconfigure.in to configure.ac and preconfigure.ac
20828 respectively.
20829 * INSTALL: Regenerated.
20830 * configure: Likewise.
20831 * sysdeps/gnu/configure: Likewise.
20832 * sysdeps/i386/configure: Likewise.
20833 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
20834 * sysdeps/mach/configure: Likewise.
20835 * sysdeps/mach/hurd/configure: Likewise.
20836 * sysdeps/powerpc/configure: Likewise.
20837 * sysdeps/powerpc/powerpc32/configure: Likewise.
20838 * sysdeps/powerpc/powerpc64/configure: Likewise.
20839 * sysdeps/s390/s390-32/configure: Likewise.
20840 * sysdeps/s390/s390-64/configure: Likewise.
20841 * sysdeps/sh/configure: Likewise.
20842 * sysdeps/sparc/configure: Likewise.
20843 * sysdeps/unix/sysv/linux/configure: Likewise.
20844 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
20845 * sysdeps/x86_64/configure: Likewise.
20846 * sysdeps/x86_64/preconfigure: Likewise.
20847
36a4953a
AS
208482013-10-29 Andreas Schwab <schwab@suse.de>
20849
20850 * stdio-common/Makefile (tst-swscanf-ENV): Define.
20851
c79a1204
SP
208522013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20853
dfa1b402
SP
20854 * benchtests/pow-inputs: Add new inputs.
20855
54f73d9c
SP
20856 * benchtests/exp-inputs: Add new inputs.
20857
c79a1204
SP
20858 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
20859 conditional check for return value.
20860 (__cos32): Likewise.
20861
67beb545 208622013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
20863
20864 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
20865 to provide a boost for large inputs with word alignment.
20866 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
20867 implementation based on optimized PPC64 strcpy.
20868 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
20869 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
20870 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
20871 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
20872
151659f6
OB
208732013-10-25 Ondřej Bílka <neleai@seznam.cz>
20874
482a077e 20875 [BZ #2801]
151659f6
OB
20876 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
20877
10b0f26b
OB
208782013-10-25 Ondřej Bílka <neleai@seznam.cz>
20879
20880 [BZ #14876]
20881 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
20882 * time/tst-strptime.c (day_tests): Add testcase.
20883
ca42d35e
OB
208842013-10-25 Ondřej Bílka <neleai@seznam.cz>
20885
482a077e 20886 [BZ #14029]
ca42d35e
OB
20887 * manual/pattern.texi: Acknowledge that fnmatch can fail.
20888
52e6d801
FB
208892013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
20890
20891 [BZ #16074]
20892 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
20893 MAP_FAILED on error.
20894
7cbcdb36
SP
208952013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20896
20897 [BZ #16072]
20898 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
20899 heap for large requests.
20900
894f3f10
AM
209012013-10-25 Aurelien Jarno <aurelien@aurel32.net>
20902
20903 [BZ #9954]
20904 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
20905 result if the result has no associated interface.
20906 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
20907 interface for all 127.X.Y.Z addresses.
20908
b85545a6
CL
209092013-10-24 Chris Leonard <cjl@sugarlabs.org>
20910
20911 * locale/iso-639.def: Add Ligurian (lij)
20912
d1f23d46
OB
209132013-10-21 Ondřej Bílka <neleai@seznam.cz>
20914
20915 [BZ #15825]
20916 * sunrpc/rpc_main.c: Document rpcgen -5.
20917
4db5b08f
MS
209182013-10-19 Michael Stahl <mstahl@redhat.com>
20919
20920 * elf/rtld.c (do_preload): Print the reason why preloading failed.
20921
a471e96a
OB
209222013-10-19 Ondřej Bílka <neleai@seznam.cz>
20923
d1f23d46 20924 [BZ #10278]
a471e96a
OB
20925 * posix/glob.c: Match only directories when trailing slash is present.
20926 * posix/tst-gnuglob.c (my_opendir): Do not open files.
20927 (main): Add testcase.
20928
45c30c61
OB
209292013-10-19 Ondřej Bílka <neleai@seznam.cz>
20930
20931 [BZ #15670]
20932 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
20933
484c12fb
CD
209342013-10-18 Carlos O'Donell <carlos@redhat.com>
20935
3d7dc513
CD
20936 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
20937 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
20938 AUTH_DES and cindex for FIPS 140-2.
20939 (DES Encryption): Add cindex FIPS 46-3.
20940
484c12fb
CD
20941 * locale/locarchive.h (struct locarhandle): Add fname.
20942 * locale/programs/localedef.c (main): Pass ARGV[remaining]
20943 if an optional argument was specified to --list-archive,
20944 otherwise NULL.
20945 * locale/programs/locarchive.c (show_archive_content): Take new
20946 argument fname and pass it via ah.fname to open_archive.
20947 * locale/programs/localedef.h: Update decl.
20948 (open_archive): If AH->fname is non-null, open that file
20949 rather than the default file name, and don't ignore ENOENT.
20950 (create_archive): Set AH.fname to NULL.
20951 (delete_locales_from_archive): Likewise.
20952 (add_locales_to_archive): Likewise.
20953 * locale/programs/locfile.c (write_all_categories): Likewise.
20954
3c8325fb
JM
209552013-10-18 Joseph Myers <joseph@codesourcery.com>
20956 Aldy Hernandez <aldyh@redhat.com>
20957
20958 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
20959 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
20960 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
20961 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
20962 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
20963 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
20964 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
20965 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
20966 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
20967 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
20968 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
20969 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
20970 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
20971 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
20972 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
20973 Likewise.
20974 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
20975 Likewise.
20976 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
20977 Likewise.
20978 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
20979 Likewise.
20980 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
20981 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
20982 Likewise.
20983 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
20984 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
20985 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
20986 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
20987 Likewise.
20988 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
20989 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
20990 * sysdeps/powerpc/preconfigure: Likewise.
20991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
20992 Likewise.
20993 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
20994 Replace contents of file by #include of <fenv_libc.h>.
20995 * sysdeps/powerpc/soft-fp/sfp-machine.h
20996 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
20997 and <sys/prctl.h>.
20998 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
20999 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
21000 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
21001 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
21002 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
21003 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
21004 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
21005 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
21006 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
21007 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
21008 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
21009 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
21010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
21011 Allow copysignl PLT reference to be missing.
21012
5abe0682
RS
210132013-10-18 Richard Sandiford <richard@codesourcery.com>
21014 Joseph Myers <joseph@codesourcery.com
21015
21016 [BZ #15948]
21017 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
21018 single character.
21019 (add_to_tablewc): Assert sequence of wide characters is nonempty.
21020
c7738d08
SP
210212013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21022
21023 * elf/tst-tls-dlinfo.c: Don't include tls.h.
21024 * elf/tst-tls1.c: Likewise.
21025 * elf/tst-tls10.h: Likewise.
21026 * elf/tst-tls14.c: Likewise.
21027 * elf/tst-tls2.c: Likewise.
21028 * elf/tst-tls3.c: Likewise.
21029 * elf/tst-tls4.c: Likewise.
21030 * elf/tst-tls5.c: Likewise.
21031 * elf/tst-tls6.c: Likewise.
21032 * elf/tst-tls7.c: Likewise.
21033 * elf/tst-tls8.c: Likewise.
21034 * elf/tst-tls9.c: Likewise.
21035 * elf/tst-tlsmod1.c: Likewise.
21036 * elf/tst-tlsmod13.c: Likewise.
21037 * elf/tst-tlsmod13a.c: Likewise.
21038 * elf/tst-tlsmod14a.c: Likewise.
21039 * elf/tst-tlsmod16a.c: Likewise.
21040 * elf/tst-tlsmod16b.c: Likewise.
21041 * elf/tst-tlsmod2.c: Likewise.
21042 * elf/tst-tlsmod3.c: Likewise.
21043 * elf/tst-tlsmod4.c: Likewise.
21044 * elf/tst-tlsmod5.c: Likewise.
21045 * elf/tst-tlsmod6.c: Likewise.
21046
0bfcf2c7
OB
210472013-10-18 Ondřej Bílka <neleai@seznam.cz>
21048
21049 [BZ #12486]
21050 * malloc/malloc.c: remove checks for statistics.
21051
264aad1e
OB
210522013-10-17 Ondřej Bílka <neleai@seznam.cz>
21053
21054 [BZ #15277]
21055 * inet/inet_net.c (inet_network): Detect additional invalid strings.
21056 * inet/tst-network.c: Add testcase.
21057
b957ced8
AS
210582013-10-17 Andreas Schwab <schwab@suse.de>
21059
21060 [BZ #15218]
21061 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
21062 to determine canonical name.
21063
c5d5d574
OB
210642013-10-17 Ondřej Bílka <neleai@seznam.cz>
21065
21066 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
21067 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
21068 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21069 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21070 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21071 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21072 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21073 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21074 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21075 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21076 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21077 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21078 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21079 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21080 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21081 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21082 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21083 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21084 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
21085 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21086 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21087 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21088 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21089 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
21090 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
21091 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21092 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21093 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
21094 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21095 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
21096 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21097 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21098 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
21099 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21100 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21101 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21102 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21103 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21104 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21105 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21106 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21107 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
21108 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
21109 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21110 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
21111 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21112 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21113 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
21114 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
21115 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21116 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
21117 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21118 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
21119 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
21120 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21121 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
21122 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21123 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21124
e5c2c2d0
JM
211252013-10-17 Joseph Myers <joseph@codesourcery.com>
21126
21127 [BZ #16041]
21128 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
21129 make result into a quiet NaN.
21130
51ca9e29
JM
211312013-10-16 Joseph Myers <joseph@codesourcery.com>
21132
21133 * soft-fp/adddf3.c: Fix horizontal whitespace.
21134 * soft-fp/addsf3.c: Likewise.
21135 * soft-fp/addtf3.c: Likewise.
21136 * soft-fp/divdf3.c: Likewise.
21137 * soft-fp/divsf3.c: Likewise.
21138 * soft-fp/divtf3.c: Likewise.
21139 * soft-fp/double.h: Likewise.
21140 * soft-fp/eqdf2.c: Likewise.
21141 * soft-fp/eqsf2.c: Likewise.
21142 * soft-fp/eqtf2.c: Likewise.
21143 * soft-fp/extenddftf2.c: Likewise.
21144 * soft-fp/extended.h: Likewise.
21145 * soft-fp/extendsfdf2.c: Likewise.
21146 * soft-fp/extendsftf2.c: Likewise.
21147 * soft-fp/extendxftf2.c: Likewise.
21148 * soft-fp/fixdfdi.c: Likewise.
21149 * soft-fp/fixdfsi.c: Likewise.
21150 * soft-fp/fixdfti.c: Likewise.
21151 * soft-fp/fixsfdi.c: Likewise.
21152 * soft-fp/fixsfsi.c: Likewise.
21153 * soft-fp/fixsfti.c: Likewise.
21154 * soft-fp/fixtfdi.c: Likewise.
21155 * soft-fp/fixtfsi.c: Likewise.
21156 * soft-fp/fixtfti.c: Likewise.
21157 * soft-fp/fixunsdfdi.c: Likewise.
21158 * soft-fp/fixunsdfsi.c: Likewise.
21159 * soft-fp/fixunsdfti.c: Likewise.
21160 * soft-fp/fixunssfdi.c: Likewise.
21161 * soft-fp/fixunssfsi.c: Likewise.
21162 * soft-fp/fixunssfti.c: Likewise.
21163 * soft-fp/fixunstfdi.c: Likewise.
21164 * soft-fp/fixunstfsi.c: Likewise.
21165 * soft-fp/fixunstfti.c: Likewise.
21166 * soft-fp/floatdidf.c: Likewise.
21167 * soft-fp/floatdisf.c: Likewise.
21168 * soft-fp/floatditf.c: Likewise.
21169 * soft-fp/floatsidf.c: Likewise.
21170 * soft-fp/floatsisf.c: Likewise.
21171 * soft-fp/floatsitf.c: Likewise.
21172 * soft-fp/floattidf.c: Likewise.
21173 * soft-fp/floattisf.c: Likewise.
21174 * soft-fp/floattitf.c: Likewise.
21175 * soft-fp/floatundidf.c: Likewise.
21176 * soft-fp/floatundisf.c: Likewise.
21177 * soft-fp/floatunditf.c: Likewise.
21178 * soft-fp/floatunsidf.c: Likewise.
21179 * soft-fp/floatunsisf.c: Likewise.
21180 * soft-fp/floatunsitf.c: Likewise.
21181 * soft-fp/floatuntidf.c: Likewise.
21182 * soft-fp/floatuntisf.c: Likewise.
21183 * soft-fp/floatuntitf.c: Likewise.
21184 * soft-fp/fmadf4.c: Likewise.
21185 * soft-fp/fmasf4.c: Likewise.
21186 * soft-fp/fmatf4.c: Likewise.
21187 * soft-fp/gedf2.c: Likewise.
21188 * soft-fp/gesf2.c: Likewise.
21189 * soft-fp/getf2.c: Likewise.
21190 * soft-fp/ledf2.c: Likewise.
21191 * soft-fp/lesf2.c: Likewise.
21192 * soft-fp/letf2.c: Likewise.
21193 * soft-fp/muldf3.c: Likewise.
21194 * soft-fp/mulsf3.c: Likewise.
21195 * soft-fp/multf3.c: Likewise.
21196 * soft-fp/negdf2.c: Likewise.
21197 * soft-fp/negsf2.c: Likewise.
21198 * soft-fp/negtf2.c: Likewise.
21199 * soft-fp/op-1.h: Likewise.
21200 * soft-fp/op-2.h: Likewise.
21201 * soft-fp/op-4.h: Likewise.
21202 * soft-fp/op-8.h: Likewise.
21203 * soft-fp/op-common.h: Likewise.
21204 * soft-fp/quad.h: Likewise.
21205 * soft-fp/single.h: Likewise.
21206 * soft-fp/soft-fp.h: Likewise.
21207 * soft-fp/sqrtdf2.c: Likewise.
21208 * soft-fp/sqrtsf2.c: Likewise.
21209 * soft-fp/sqrttf2.c: Likewise.
21210 * soft-fp/subdf3.c: Likewise.
21211 * soft-fp/subsf3.c: Likewise.
21212 * soft-fp/subtf3.c: Likewise.
21213 * soft-fp/truncdfsf2.c: Likewise.
21214 * soft-fp/trunctfdf2.c: Likewise.
21215 * soft-fp/trunctfsf2.c: Likewise.
21216 * soft-fp/trunctfxf2.c: Likewise.
21217 * soft-fp/unorddf2.c: Likewise.
21218 * soft-fp/unordsf2.c: Likewise.
21219 * soft-fp/unordtf2.c: Likewise.
21220
9ebb0332
JM
212212013-10-15 Joseph Myers <joseph@codesourcery.com>
21222
21223 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
21224 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
21225
4b1a6d8b
OB
212262013-10-15 Ondřej Bílka <neleai@seznam.cz>
21227
21228 * elf/dl-libc.c: Clear initfini list after freeing.
21229
1e145589
JM
212302013-10-14 Joseph Myers <joseph@codesourcery.com>
21231
21232 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
21233 * soft-fp/addsf3.c: Likewise.
21234 * soft-fp/addtf3.c: Likewise.
21235 * soft-fp/divdf3.c: Likewise.
21236 * soft-fp/divsf3.c: Likewise.
21237 * soft-fp/divtf3.c: Likewise.
21238 * soft-fp/double.h: Likewise.
21239 * soft-fp/eqdf2.c: Likewise.
21240 * soft-fp/eqsf2.c: Likewise.
21241 * soft-fp/eqtf2.c: Likewise.
21242 * soft-fp/extenddftf2.c: Likewise.
21243 * soft-fp/extended.h: Likewise.
21244 * soft-fp/extendsfdf2.c: Likewise.
21245 * soft-fp/extendsftf2.c: Likewise.
21246 * soft-fp/extendxftf2.c: Likewise.
21247 * soft-fp/fixdfdi.c: Likewise.
21248 * soft-fp/fixdfsi.c: Likewise.
21249 * soft-fp/fixdfti.c: Likewise.
21250 * soft-fp/fixsfdi.c: Likewise.
21251 * soft-fp/fixsfsi.c: Likewise.
21252 * soft-fp/fixsfti.c: Likewise.
21253 * soft-fp/fixtfdi.c: Likewise.
21254 * soft-fp/fixtfsi.c: Likewise.
21255 * soft-fp/fixtfti.c: Likewise.
21256 * soft-fp/fixunsdfdi.c: Likewise.
21257 * soft-fp/fixunsdfsi.c: Likewise.
21258 * soft-fp/fixunsdfti.c: Likewise.
21259 * soft-fp/fixunssfdi.c: Likewise.
21260 * soft-fp/fixunssfsi.c: Likewise.
21261 * soft-fp/fixunssfti.c: Likewise.
21262 * soft-fp/fixunstfdi.c: Likewise.
21263 * soft-fp/fixunstfsi.c: Likewise.
21264 * soft-fp/fixunstfti.c: Likewise.
21265 * soft-fp/floatdidf.c: Likewise.
21266 * soft-fp/floatdisf.c: Likewise.
21267 * soft-fp/floatditf.c: Likewise.
21268 * soft-fp/floatsidf.c: Likewise.
21269 * soft-fp/floatsisf.c: Likewise.
21270 * soft-fp/floatsitf.c: Likewise.
21271 * soft-fp/floattidf.c: Likewise.
21272 * soft-fp/floattisf.c: Likewise.
21273 * soft-fp/floattitf.c: Likewise.
21274 * soft-fp/floatundidf.c: Likewise.
21275 * soft-fp/floatundisf.c: Likewise.
21276 * soft-fp/floatunsidf.c: Likewise.
21277 * soft-fp/floatunsisf.c: Likewise.
21278 * soft-fp/floatuntidf.c: Likewise.
21279 * soft-fp/floatuntisf.c: Likewise.
21280 * soft-fp/floatuntitf.c: Likewise.
21281 * soft-fp/fmadf4.c: Likewise.
21282 * soft-fp/fmasf4.c: Likewise.
21283 * soft-fp/fmatf4.c: Likewise.
21284 * soft-fp/gedf2.c: Likewise.
21285 * soft-fp/gesf2.c: Likewise.
21286 * soft-fp/getf2.c: Likewise.
21287 * soft-fp/ledf2.c: Likewise.
21288 * soft-fp/lesf2.c: Likewise.
21289 * soft-fp/letf2.c: Likewise.
21290 * soft-fp/muldf3.c: Likewise.
21291 * soft-fp/mulsf3.c: Likewise.
21292 * soft-fp/multf3.c: Likewise.
21293 * soft-fp/negdf2.c: Likewise.
21294 * soft-fp/negsf2.c: Likewise.
21295 * soft-fp/negtf2.c: Likewise.
21296 * soft-fp/op-1.h: Likewise.
21297 * soft-fp/op-2.h: Likewise.
21298 * soft-fp/op-4.h: Likewise.
21299 * soft-fp/op-8.h: Likewise.
21300 * soft-fp/op-common.h: Likewise.
21301 * soft-fp/quad.h: Likewise.
21302 * soft-fp/single.h: Likewise.
21303 * soft-fp/soft-fp.h: Likewise.
21304 * soft-fp/sqrtdf2.c: Likewise.
21305 * soft-fp/sqrtsf2.c: Likewise.
21306 * soft-fp/sqrttf2.c: Likewise.
21307 * soft-fp/subdf3.c: Likewise.
21308 * soft-fp/subsf3.c: Likewise.
21309 * soft-fp/subtf3.c: Likewise.
21310 * soft-fp/truncdfsf2.c: Likewise.
21311 * soft-fp/trunctfdf2.c: Likewise.
21312 * soft-fp/trunctfsf2.c: Likewise.
21313 * soft-fp/trunctfxf2.c: Likewise.
21314 * soft-fp/unorddf2.c: Likewise.
21315 * soft-fp/unordsf2.c: Likewise.
21316 * soft-fp/unordtf2.c: Likewise.
21317
17c48a60
OB
213182013-10-14 Ondřej Bílka <neleai@seznam.cz>
21319
21320 [BZ #15672]
21321 * misc/error.c (error_tail): Fix possible buffer overflow.
21322
cabba934
OB
213232013-10-14 Aurelien Jarno <aurelien@aurel32.net>
21324
21325 [BZ #13028]
21326 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
21327 address.
21328
94bf958a
PM
213292013-10-14 P. J. McDermott <pj@pehjota.net>
21330
21331 [BZ #832]
21332 * elf/ldd.bash.in (try_trace): New function. Delete previous code
21333 testing pipefail option.
21334
71b4dea7
JM
213352013-10-12 Joseph Myers <joseph@codesourcery.com>
21336
21337 * soft-fp/double.h: Indent preprocessor directives inside #if.
21338 * soft-fp/extended.h: Likewise.
21339 * soft-fp/op-2.h: Likewise.
21340 * soft-fp/op-4.h: Likewise.
21341 * soft-fp/op-common.h: Likewise.
21342 * soft-fp/quad.h: Likewise.
21343 * soft-fp/single.h: Likewise.
21344 * soft-fp/soft-fp.h: Likewise.
21345
55602758
YC
213462013-10-12 Yuri Chornoivan <yurchor@ukr.net>
21347
21348 * iconv/iconv_prog.c: Fix typos.
21349 * stdio-common/psiginfo-data.h: Likewise.
21350
9cd83302
RT
213512013-10-12 Reuben Thomas <rrt@sc3d.org>
21352
21353 [BZ #15764]
21354 * locale/setlocale.c: Fix typo.
21355
99fd9f47
JM
213562013-10-12 Joseph Myers <joseph@codesourcery.com>
21357
b7ea74f0
JM
21358 [BZ #16036]
21359 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
21360 signaling NaN arguments.
21361 * soft-fp/unordsf2.c (__unordsf2): Likewise.
21362 * soft-fp/unordtf2.c (__unordtf2): Likewise.
21363
8a509447
JM
21364 [BZ #14910]
21365 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
21366 unordered operands.
21367 * soft-fp/gesf2.c (__gesf2): Likewise.
21368 * soft-fp/getf2.c (__getf2): Likewise.
21369 * soft-fp/ledf2.c (__ledf2): Likewise.
21370 * soft-fp/lesf2.c (__lesf2): Likewise.
21371 * soft-fp/letf2.c (__letf2): Likewise.
21372
98998e9f
JM
21373 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
21374 * soft-fp/eqsf2.c (__eqsf2): Likewise.
21375 * soft-fp/eqtf2.c (__eqtf2): Likewise.
21376 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
21377 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
21378 * soft-fp/fixdfti.c (__fixdfti): Likewise.
21379 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
21380 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
21381 * soft-fp/fixsfti.c (__fixsfti): Likewise.
21382 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
21383 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
21384 * soft-fp/fixtfti.c (__fixtfti): Likewise.
21385 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
21386 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
21387 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
21388 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
21389 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
21390 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
21391 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
21392 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
21393 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
21394 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
21395 * soft-fp/floatdisf.c (__floatdisf): Likewise.
21396 * soft-fp/floatsisf.c (__floatsisf): Likewise.
21397 * soft-fp/floattidf.c (__floattidf): Likewise.
21398 * soft-fp/floattisf.c (__floattisf): Likewise.
21399 * soft-fp/floattitf.c (__floattitf): Likewise.
21400 * soft-fp/floatundidf.c (__floatundidf): Likewise.
21401 * soft-fp/floatundisf.c (__floatundisf): Likewise.
21402 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
21403 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
21404 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
21405 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
21406 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
21407 * soft-fp/gesf2.c (__gesf2): Likewise.
21408 * soft-fp/getf2.c (__getf2): Likewise.
21409 * soft-fp/ledf2.c (__ledf2): Likewise.
21410 * soft-fp/lesf2.c (__lesf2): Likewise.
21411 * soft-fp/letf2.c (__letf2): Likewise.
21412
8edc4a11
JM
21413 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
21414 Undefine and redefine.
21415 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
21416 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
21417 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
21418 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
21419 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21420 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
21421 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21422 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
21423 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21424 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
21425 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21426 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
21427 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21428 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
21429 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21430
8399acaf
JM
21431 [BZ #16032]
21432 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
21433 without decrementing exponent if mantissa >= that for the
21434 denominator, not >.
21435 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
21436 denominator, not >. Decrement exponent in < case instead of
21437 incrementing in >= case.
21438 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
21439 without decrementing exponent if mantissa >= that for the
21440 denominator, not >.
21441
99fd9f47
JM
21442 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
21443 computing saturated result for unsigned overflow.
21444
10e1cf6b
SP
214452013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21446 Jeff Law <law@redhat.com>
21447
21448 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
21449 (atan2Mp): Add systemtap probe marker.
21450 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
21451 (__ieee754_log): Add systemtap probe marker.
21452 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
21453 (atanMp): Add systemtap probe marker.
21454 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
21455 (tanMp): Add systemtap probe marker.
21456 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
21457 (__slowexp): Add systemtap probe marker.
21458 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
21459 (__slowpow): Add systemtap probe marker.
21460 * manual/probes.texi: Document probes.
21461
3d110c7c
EB
214622013-10-11 Eric Biggers <ebiggers3@gmail.com>
21463
21464 [BZ #15362]
21465 * libio/fileops.c (_IO_new_file_write): Return count of bytes
21466 written.
21467 (_IO_new_file_xsputn): Don't return EOF if nothing has been
21468 written.
21469 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
21470 written to buffer but not flushed.
21471 * libio/iofwrite_u.c: Likewise.
21472 * libio/iopadn.c: Return bytes returned even if EOF was
21473 encountered.
21474 * libio/iowpadn.c: Likewise.
21475 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
21476 if _IO_padn does not write the whole buffer.
21477 [!COMPILE_WPRINTF] (PAD): Likewise.
21478
75b4202a
DM
214792013-10-10 David S. Miller <davem@davemloft.net>
21480
21481 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
21482 directory block.
21483
6c6352e6
JM
214842013-10-10 Joseph Myers <joseph@codesourcery.com>
21485
33b853c3
JM
21486 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
21487 instead of FSF address.
21488 * soft-fp/fixdfti.c: Likewise.
21489 * soft-fp/fixsfti.c: Likewise.
21490 * soft-fp/fixtfti.c: Likewise.
21491 * soft-fp/fixunsdfti.c: Likewise.
21492 * soft-fp/fixunssfti.c: Likewise.
21493 * soft-fp/fixunstfti.c: Likewise.
21494 * soft-fp/floattidf.c: Likewise.
21495 * soft-fp/floattisf.c: Likewise.
21496 * soft-fp/floattitf.c: Likewise.
21497 * soft-fp/floatuntidf.c: Likewise.
21498 * soft-fp/floatuntisf.c: Likewise.
21499 * soft-fp/floatuntitf.c: Likewise.
21500 * soft-fp/trunctfxf2.c: Likewise.
21501
6c6352e6
JM
21502 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
21503 * soft-fp/fixdfti.c: Likewise.
21504 * soft-fp/fixsfti.c: Likewise.
21505 * soft-fp/fixtfti.c: Likewise.
21506 * soft-fp/fixunsdfti.c: Likewise.
21507 * soft-fp/fixunssfti.c: Likewise.
21508 * soft-fp/fixunstfti.c: Likewise.
21509 * soft-fp/floattidf.c: Likewise.
21510 * soft-fp/floattisf.c: Likewise.
21511 * soft-fp/floattitf.c: Likewise.
21512 * soft-fp/floatuntidf.c: Likewise.
21513 * soft-fp/floatuntisf.c: Likewise.
21514 * soft-fp/floatuntitf.c: Likewise.
21515 * soft-fp/trunctfxf2.c: Likewise.
21516
3bf78b71
DM
215172013-10-10 David S. Miller <davem@davemloft.net>
21518
21519 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21520
6f10289e
JM
215212013-10-10 Joseph Myers <joseph@codsourcery.com>
21522
bd878fc0
JM
21523 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21524 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
21525 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
21526 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
21527 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
21528 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
21529 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
21530
6f10289e
JM
21531 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
21532 for NaNs before doing comparisons on argument.
21533 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
21534 Likewise.
21535
321e2684
WN
215362013-10-10 Will Newton <will.newton@linaro.org>
21537
21538 * malloc/hooks.c (memalign_check): Ensure the value of bytes
21539 passed to _int_memalign does not overflow.
21540
40fefba1
TR
215412013-10-10 Torvald Riegel <triegel@redhat.com>
21542
21543 * scripts/bench.pl: Add include-sources directive.
21544 * benchtests/README: Update documentation.
21545
2ae21ed2
JM
215462013-10-10 Joseph Myers <joseph@codesourcery.com>
21547
dcc2dd3f
JM
21548 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
21549 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
21550 instead of FP_INIT_ROUNDMODE.
21551 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
21552 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
21553
2ae21ed2
JM
21554 [BZ #16034]
21555 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
21556 copy class of input value.
21557 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
21558 not handle exceptions.
21559 * soft-fp/negsf2.c (__negsf2): Likewise.
21560 * soft-fp/negtf2.c (__negtf2): Likewise.
21561 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
21562
cb8f9562
JM
215632013-10-09 Joseph Myers <joseph@codesourcery.com>
21564
21565 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
21566 semicolon. From Linux kernel.
21567
5b60c59d
AB
215682013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
21569
21570 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
21571
b86835ca
YC
215722013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
21573
21574 [BZ #156]
21575 * manual/socket.texi: Added statement about buffer
21576 for gethostbyname2_r.
21577
e7044ea7
OB
215782013-10-08 Ondřej Bílka <neleai@seznam.cz>
21579
21580 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
21581 Use .p2align directive instead, throughout.
21582 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21583 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
21584 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
21585 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21586 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21587 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
21588 * sysdeps/x86_64/strchr.S: Likewise.
21589 * sysdeps/x86_64/strrchr.S: Likewise.
21590
09544cbc
SP
215912013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21592
88576635
SP
21593 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
21594
e7b2d1dd
SP
21595 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
21596
09544cbc
SP
21597 * sysdeps/generic/math_private.h (__mpsin1): Remove
21598 declaration.
21599 (__mpcos1): Likewise.
21600 (__mpsin): New argument __range_reduce.
21601 (__mpcos): Likewise.
21602 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21603 (slow): Use __mpsin and __mpcos.
21604 (slow1): Likewise.
21605 (slow2): Likewise.
21606 (sloww): Likewise.
21607 (sloww1): Likewise.
21608 (sloww2): Likewise.
21609 (bsloww): Likewise.
21610 (bsloww1): Likewise.
21611 (bsloww2): Likewise.
21612 (cslow2): Likewise.
21613 (csloww): Likewise.
21614 (csloww1): Likewise.
21615 (csloww2): Likewise.
21616 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
21617 range_reduce. Merge in __mpsin1.
21618 (__mpcos): Likewise.
21619 (__mpsin1): Remove.
21620 (__mpcos1): Likewise.
21621
7602d070
JM
216222013-10-07 Joseph Myers <joseph@codesourcery.com>
21623
21624 * locale/loadlocale.c (_nl_intern_locale_data): Use
21625 LOCFILE_ALIGNED_P.
21626 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
21627 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
21628 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
21629 obstack data is appropriately aligned.
21630 (obstack_int32_grow_fast): Likewise.
21631 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
21632 * locale/programs/locfile.c (add_locale_uint32): Likewise.
21633 (add_locale_uint32_array): Likewise.
21634
a357259b
SP
216352013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21636
21637 * benchtests/Makefile: Remove ARGLIST and RET variables.
21638 ($(objpfx)bench-%.c): Pass only function name to the script.
21639 * benchtests/README: Update documentation.
21640 * benchtests/acos-inputs: Add new directives.
21641 * benchtests/acosh-inputs: Likewise.
21642 * benchtests/asin-inputs: Likewise.
21643 * benchtests/asinh-inputs: Likewise.
21644 * benchtests/atan-inputs: Likewise.
21645 * benchtests/atanh-inputs: Likewise.
21646 * benchtests/cos-inputs: Likewise.
21647 * benchtests/cosh-inputs: Likewise.
21648 * benchtests/exp-inputs: Likewise.
21649 * benchtests/log-inputs: Likewise.
21650 * benchtests/pow-inputs: Likewise.
21651 * benchtests/rint-inputs: Likewise.
21652 * benchtests/sin-inputs: Likewise.
21653 * benchtests/sinh-inputs: Likewise.
21654 * benchtests/tan-inputs: Likewise.
21655 * benchtests/tanh-inputs: Likewise.
21656 * scripts/bench.pl: Add support for new directives.
21657
9ec1b13d
AM
216582013-10-07 Alan Modra <amodra@gmail.com>
21659
21660 * README: Fix careless merge.
21661
8b7d57cd
AM
216622013-10-05 Alan Modra <amodra@gmail.com>
21663
21664 * NEWS: Mention powerpc64le support and bugs fixed.
21665 * README: Both big-endian and little-endian powerpc64 supported.
21666
7b7bab13
ST
216672013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21668
57f41c40
AS
21669 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
21670 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
21671 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
21672 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
21673
d39baad1
RA
216742013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
21675
21676 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
21677 match prototype.
21678
cd78f7e7
JM
216792013-10-04 Joseph Myers <joseph@codesourcery.com>
21680
29d73d86
JM
21681 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
21682 Move -mhard-float appending from
21683 ports/sysdeps/powerpc/powerpc32/Makefile.
21684 [$(with-fp) = yes] (ASFLAGS): Likewise.
21685 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
21686 * sysdeps/powerpc/nofpu: Move directory from
21687 ports/sysdeps/powerpc/nofpu.
21688 * sysdeps/powerpc/soft-fp: Move directory from
21689 ports/sysdeps/powerpc/soft-fp.
21690 * sysdeps/powerpc/powerpc32/405: Move directory from
21691 ports/sysdeps/powerpc/powerpc32/405.
21692 * sysdeps/powerpc/powerpc32/440: Move directory from
21693 ports/sysdeps/powerpc/powerpc32/440.
21694 * sysdeps/powerpc/powerpc32/464: Move directory from
21695 ports/sysdeps/powerpc/powerpc32/464.
21696 * sysdeps/powerpc/powerpc32/476: Move directory from
21697 ports/sysdeps/powerpc/powerpc32/476.
21698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
21699 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
21700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
21701 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
21702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
21703 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
21704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
21705 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
21706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
21707 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
21708 * README: Update for powerpc-*-linux-gnu software floating point
21709 support in libc.
21710
e246b347
JM
21711 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
21712 case to powerpc/powerpc32*.
21713 * sysdeps/unix/sysv/linux/configure: Regenerated.
21714
89c2003e
JM
21715 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
21716 (_FPU_MASK_OM): Define as 0x04.
21717 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
21718 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
21719 0x00c10080.
21720 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
21721 0x0000003c.
21722 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
21723
cd78f7e7
JM
21724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
21725 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21726 getcontext_e500.
21727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
21728 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21729 setcontext_e500.
21730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
21731 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
21732 and setcontext_e500.
21733
c755294d
CL
217342013-10-04 Chris Leonard <cjl@sugarlabs,.org>
21735
21736 * locale/iso-3166.def: Update iso-1366.def and related occurrences
21737
e16d221c
SP
217382013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21739
21740 * manual/threads.texi (Default Thread Attributes): Fix typo.
21741
215c7d43
WN
217422013-10-04 Will Newton <will.newton@linaro.org>
21743
21744 * malloc/Makefile: Add tst-memalign.
21745 * malloc/tst-memalign.c: New file.
21746
27d0461b
WN
21747 * malloc/tst-posix_memalign.c: Add comments.
21748 (do_test): Add comments and call free on all potentially
21749 allocated pointers. Add space after cast.
21750
1bc92709
WN
21751 * malloc/tst-pvalloc.c: Add comments.
21752 (do_test): Add comments and call free on all potentially
21753 allocated pointers. Remove duplicate check for NULL pointer.
21754 Add space after cast.
21755
66a9be9d
WN
21756 * malloc/tst-valloc.c: Add comments.
21757 (do_test): Add comments and call free on all potentially
21758 allocated pointers. Remove duplicate check for NULL pointer.
21759 Add space after cast.
21760
4cb81307
AM
217612013-10-04 Alan Modra <amodra@gmail.com>
21762
21763 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21764 Use stdint types in rather than __attribute__((mode())).
21765 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21766
f8e3e9f3
AM
217672013-10-04 Alan Modra <amodra@gmail.com>
21768
21769 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21770 Correct handling of unaligned relocs for little-endian.
21771 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21772
8f9ebb08
AM
217732013-10-04 Alan Modra <amodra@gmail.com>
21774
21775 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
21776 * configure: Regenerate.
21777 * nptl/shlib-versions: Powerpc*le starts at 2.18.
21778 * shlib-versions: Likewise.
21779
0edf96c2
AM
217802013-10-04 Alan Modra <amodra@gmail.com>
21781
21782 * string/tester.c (test_memrchr): Increment reported test cycle.
21783
e0f7a380
AM
217842013-10-04 Alan Modra <amodra@gmail.com>
21785
21786 * string/test-memcpy.c (do_one_test): When reporting errors, print
21787 string address and don't overrun end of string.
21788
466b0393
AM
217892013-10-04 Alan Modra <amodra@gmail.com>
21790
21791 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
21792 insrdi. Make better use of reg selection to speed exit slightly.
21793 Schedule entry path a little better. Remove useless "are we done"
21794 checks on entry to main loop. Handle wrapping around zero address.
21795 Correct main loop count. Handle single left-over word from main
21796 loop inline rather than by using loop_small. Remove extra word
21797 case in loop_small caused by wrong loop count. Add little-endian
21798 support.
21799 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21800 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
21801 cache hint.
21802 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21803 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
21804 support. Avoid rlwimi.
21805 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
21806
3be87c77
AM
218072013-10-04 Alan Modra <amodra@gmail.com>
21808
21809 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 21810 insrdi. Formatting.
3be87c77
AM
21811 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
21812 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21813 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
21814 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21815 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21816 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
21817
759cfef3
AM
218182013-10-04 Alan Modra <amodra@gmail.com>
21819
21820 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
21821 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21822 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
21823 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
21824 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21825 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21826 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21827 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
21828 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
21829 use of regs. Use power7 mtocrf. Tidy function tails.
21830
fe6e95d7
AM
218312013-10-04 Alan Modra <amodra@gmail.com>
21832
21833 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
21834 Formatting. Consistently use rXXX register defines or rN defines.
21835 Use early exit labels that avoid restoring unused non-volatile regs.
21836 Make cr field use more consistent with rWORDn compares. Rename
21837 regs used as shift registers for unaligned loop, using rN defines
21838 for short lifetime/multiple use regs.
21839 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21840 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
21841 addi 1,1,64 to pop stack frame. Simplify return value code.
21842 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21843
664318c3
AM
218442013-10-04 Alan Modra <amodra@gmail.com>
21845
21846 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
21847 support. Correct typos, formatting. Optimize tail. Use insrdi
21848 rather than rlwimi.
21849 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
21850 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
21851 little-endian support. Correct typos.
21852 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
21853 rather than rlwimi.
21854 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
21855 in loop and entry code to keep "and." results.
21856 (strchr): Add little-endian support. Comment. Move cntlzd
21857 earlier in tail.
21858 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
21859
43b84013
AM
218602013-10-04 Alan Modra <amodra@gmail.com>
21861
21862 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
21863 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
21864 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
21865 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
21866
8a7413f9
AM
218672013-10-04 Alan Modra <amodra@gmail.com>
21868
21869 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
21870 (rTMP): Define as r11.
21871 (strcmp): Add little-endian support. Optimise tail.
21872 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
21873 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21874 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21875 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21876 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21877 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21878 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21879
33ee81de
AM
218802013-10-04 Alan Modra <amodra@gmail.com>
21881
21882 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
21883 little-endian support. Remove unnecessary "are we done" tests.
21884 Handle "s" wrapping around zero and extremely large "size".
21885 Correct main loop count. Handle single left-over word from main
21886 loop inline rather than by using small_loop. Correct comments.
21887 Delete "zero" tail, use "end_max" instead.
21888 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
21889
db9b4570
AM
218902013-10-04 Alan Modra <amodra@gmail.com>
21891
21892 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
21893 support. Don't branch over align.
21894 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
21895 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
21896 support. Rearrange tmp reg use to suit. Comment.
21897 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
21898
f7c399cf
AM
218992013-10-04 Alan Modra <amodra@gmail.com>
21900
21901 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
21902
0b2c2ace
AM
219032013-10-04 Alan Modra <amodra@gmail.com>
21904
21905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
21906 conditional form of branch and link when obtaining pc.
21907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
21908
02f04a6c
AM
219092013-10-04 Alan Modra <amodra@gmail.com>
21910
21911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
21912 HIWORD/LOWORD.
21913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
21914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
21915
9b874b2f
AM
219162013-10-04 Alan Modra <amodra@gmail.com>
21917
21918 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
21919 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
21920 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
21921 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
21922 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21923 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21924 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
21925 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21926 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
21927 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
21928
be1e5d31
AB
219292013-10-04 Anton Blanchard <anton@au1.ibm.com>
21930 Alistair Popple <alistair@ozlabs.au.ibm.com>
21931 Alan Modra <amodra@gmail.com>
21932
21933 [BZ #15723]
21934 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
21935 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
21936 _dl_hwcap access for little-endian.
21937 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
21938 destroy vmx regs when saving unaligned.
21939 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
21940 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
21941 destroy vmx regs when saving unaligned.
21942
fef13a78
AM
219432013-10-04 Alan Modra <amodra@gmail.com>
21944
21945 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
21946 Don't use a union to pack hi/low value.
21947
76a66d51
AB
219482013-10-04 Anton Blanchard <anton@au1.ibm.com>
21949
21950 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
21951 for little-endian.
21952 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21953 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
21954 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21955 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21956 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21957
6a31fe7f
AM
219582013-10-04 Alan Modra <amodra@gmail.com>
21959
21960 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
21961 constants to usual value for .cst8 section, and remove redundant
21962 high address load.
21963 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
21964 constant for 0x1p52. Load little-endian words of double from
21965 correct stack offsets.
21966
7b88401f
AM
219672013-10-04 Alan Modra <amodra@gmail.com>
21968
21969 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
21970 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
21971 words of double from correct stack offsets.
21972 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
21973 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
21974 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21975 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21976 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21977 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21978 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21979 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
21980 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
21981 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21982 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21983 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21984 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21985 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21986 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21987 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
21988 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
21989
9c008155
AM
219902013-10-04 Alan Modra <amodra@gmail.com>
21991
21992 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
21993 64-bit int/double union.
21994 (_FPU_SETCW): Likewise.
21995 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
21996 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
21997
da13146d
AM
219982013-10-04 Alan Modra <amodra@gmail.com>
21999
22000 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
22001 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
22002
603e8410
AM
220032013-10-04 Alan Modra <amodra@gmail.com>
22004
22005 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
22006 use vector int constants.
22007 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
22008
4a28b3ca
AB
220092013-10-04 Anton Blanchard <anton@au1.ibm.com>
22010
22011 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
22012 array with long long.
22013 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
22014 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
22015 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
22016 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
22017 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
22018 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
22019 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
22020 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
22021 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
22022 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
22023 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
22024 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
22025 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
22026
2ca85d2b
AB
220272013-10-04 Anton Blanchard <anton@au1.ibm.com>
22028
22029 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
22030 (__signbit): Likewise. Correct for little-endian.
22031 (__signbitl): Call __signbit.
22032 (lrint): Correct for little-endian.
22033 (lrintf): Call lrint.
22034
62a728ae
AM
220352013-10-04 Alan Modra <amodra@gmail.com>
22036
22037 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
22038 union 32-bit int array member with 64-bit int array.
22039 (t515, tm256): Double rather than long double.
22040 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
22041
32c301df
AM
220422013-10-04 Alan Modra <amodra@gmail.com>
22043
22044 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
22045 Delete.
22046 (IEEE854_LONG_DOUBLE_BIAS): Delete.
22047 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
22048 version of math_ldbl.h.
22049
650ef4bd
AM
220502013-10-04 Alan Modra <amodra@gmail.com>
22051
22052 [BZ #15734], [BZ #15735]
22053 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
22054 all uses of ieee875 long double macros and unions. Simplify test
22055 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
22056 ldbl_extract_mantissa value for ix,iy exponents. Properly
22057 normalize after ldbl_extract_mantissa, and don't add hidden bit
22058 already handled. Don't treat low word of ieee854 mantissa like
22059 low word of IBM long double and mask off bit when testing for
22060 zero.
22061 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
22062 all uses of ieee875 long double macros and unions. Simplify tests
22063 for 0.0L and inf. Correct double adjustment of k. Delete dead code
22064 adjusting ha,hb. Simplify code setting kld. Delete two600 and
22065 two1022, instead use their values. Recognise that tests for large
22066 "a" and small "b" are mutually exclusive. Rename vars. Comment.
22067 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
22068 Rewrite all uses of ieee875 long double macros and unions. Simplify
22069 test for 0.0L and nan. Correct negation.
22070 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
22071 ieee875 long double macros and unions. Correct output for large
22072 magnitude x. Correct absolute value calculation.
22073 (__erfcl): Likewise.
22074 * math/libm-test.inc: Add tests for errors discovered in IBM long
22075 double versions of fmodl, remainderl, erfl and erfcl.
22076
765714ca
AM
220772013-10-04 Alan Modra <amodra@gmail.com>
22078
22079 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
22080 all uses of ieee854 long double macros and unions. Simplify tests
22081 for long doubles that are fully specified by the high double.
22082 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
22083 Likewise.
22084 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
22085 Remove dead code too.
22086 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
22087 (__ieee754_ynl): Likewise.
22088 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
22089 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
22090 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
22091 Remove dead code too.
22092 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
22093 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
22094 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
22095 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
22096 Simplify.
22097 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
22098 Simplify.
22099 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
22100 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
22101 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
22102 Comment on variable precision.
22103 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
22104 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22105 Likewise.
22106 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22107 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
22108 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
22109 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
22110 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
22111
4ebd120c
AM
221122013-10-04 Alan Modra <amodra@gmail.com>
22113
22114 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
22115 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
22116 all uses of ieee854 long double macros and unions.
22117 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
22118 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22119 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
22120 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
22121 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
22122 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
22123 Likewise.
22124 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
22125 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22126 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
22127 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22128 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
22129 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
22130 Simplify sign and nan test too.
22131 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
22132 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
22133 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
22134 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
22135 Likewise.
22136 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
22137 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
22138 Likewise.
22139 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22140 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
22141 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
22142 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
22143 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
22144 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
22145
1b6adf88
AM
221462013-10-04 Alan Modra <amodra@gmail.com>
22147
22148 * stdio-common/printf_size.c (__printf_size): Don't use
22149 union ieee854_long_double in fpnum union.
22150 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
22151 signbit macro to retrieve sign from long double.
22152 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
22153 retrieve sign from long double.
22154 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
22155 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
22156 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
22157 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22158 * math/test-misc.c (main): Don't use union ieee854_long_double.
22159
4cf69995
AM
221602013-10-04 Alan Modra <amodra@gmail.com>
22161
22162 [BZ #15680]
22163 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
22164 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
22165 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
22166 calculation. Remove unnecessary test for denormal exponent.
22167 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
22168 Correct handling of denormals. Avoid undefined shift behaviour.
22169 Correct normalisation of low mantissa when low double is denormal.
22170 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
22171 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
22172 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
22173 Correct normalisation of low mantissa. Test for overflow of high
22174 mantissa and normalise.
22175 (ldbl_nearbyint): Use more readable constant for two52.
22176 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
22177 (__mpn_construct_long_double): Fix test for overflow of high
22178 mantissa and correct normalisation. Avoid undefined shift.
22179
9605ca6c
AM
221802013-10-04 Alan Modra <amodra@gmail.com>
22181
22182 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
22183 (union ibm_extended_long_double): Define as an array of ieee754_double.
22184 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
22185 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
22186 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
22187 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22188 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22189 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
22190 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22191 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22192 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
22193 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
22194 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
22195
975569d0
JM
221962013-10-03 Joseph Myers <joseph@codesourcery.com>
22197
d3d23756
JM
22198 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
22199 page size instead of calling getpagesize.
22200
975569d0
JM
22201 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
22202 (LOCFILE_ALIGN_MASK): Likewise.
22203 (LOCFILE_ALIGN_UP): Likewise.
22204 (LOCFILE_ALIGNED_P): Likewise.
22205 * locale/programs/ld-collate.c (collate_output): Use the new
22206 macros instead of __alignof__ (int32_t).
22207 * locale/weight.h (findidx): Likewise.
22208
b1fe1f2b
OB
222092013-10-03 Ondřej Bílka <neleai@seznam.cz>
22210
22211 [BZ #431]
22212 * manual/string.texi: Fix strncat and wcsncat.
22213
5f855e35
BM
222142013-10-03 Brooks Moses <bmoses@google.com>
22215
22216 [BZ #15915]
22217 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
22218 * Makerules: ...here, and adjust associated comments.
22219
3cef6009
WN
222202013-10-02 Will Newton <will.newton@linaro.org>
22221
22222 * malloc/Makefile: Add tst-pvalloc.
22223 * malloc/tst-pvalloc.c: New file.
22224
7815420b
WN
222252013-10-02 Will Newton <will.newton@linaro.org>
22226
22227 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
22228 improve test coverage.
22229
4868b204
WN
222302013-10-02 Will Newton <will.newton@linaro.org>
22231
22232 * malloc/Makefile: Add tst-posix_memalign.
22233 * malloc/tst-posix_memalign.c: New file.
22234
29c793b3
EB
222352013-10-01 Eric Blake <eblake@redhat.com>
22236
22237 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
22238 Use __THROWNL rather than __THROW on static functions.
22239
fd967522
PM
222402013-09-30 Petr Machata <pmachata@redhat.com>
22241
22242 * elf/elf.h (R_AARCH64_ABS16): New macro.
22243 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
22244 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
22245 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
22246 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
22247 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
22248 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
22249 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
22250 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
22251 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
22252 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
22253 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
22254 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
22255 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
22256 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
22257 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
22258 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
22259 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
22260 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
22261 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
22262 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
22263 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
22264 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
22265 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
22266 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
22267 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
22268 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
22269 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
22270 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
22271 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
22272 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
22273 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
22274 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
22275 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
22276 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
22277 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
22278 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
22279 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
22280 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
22281 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
22282 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
22283 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
22284 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
22285 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
22286 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
22287 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
22288 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
22289 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
22290 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
22291 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
22292 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
22293 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
22294 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
22295 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
22296 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
22297 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
22298 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
22299 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
22300 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
22301 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
22302 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
22303 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
22304 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
22305 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
22306 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
22307 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
22308 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
22309 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
22310 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
22311 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
22312 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
22313 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
22314 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
22315 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
22316 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
22317 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
22318 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
22319 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
22320 (R_AARCH64_TLSDESC_LDR): Likewise.
22321 (R_AARCH64_TLSDESC_ADD): Likewise.
22322 (R_AARCH64_TLSDESC_CALL): Likewise.
22323
b2179107
AS
223242013-09-30 Andreas Schwab <schwab@suse.de>
22325
22326 [BZ #15048]
22327 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
22328 the nss database lookup.
22329 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22330 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22331
47f28d0a
MF
223322013-09-28 Mike Frysinger <vapier@gentoo.org>
22333
22334 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
22335
223362013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
22337
22338 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
22339 ${Bash-specific parameter/pattern/string} parameter expansion.
22340 * sysdeps/unix/make-syscalls.sh: Likewise.
22341
f4518a17
KK
223422013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22343
22344 * sysdeps/sh/stackguard-macros.h: New file.
22345
dc1a95c7
OB
223462013-09-26 Ondřej Bílka <neleai@seznam.cz>
22347
22348 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
22349 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
22350 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
22351 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
22352 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22353 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
22354
5ebbff8f
AZ
223552013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22356
22357 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
22358 Fix thread ID register.
22359
4fd2cf9f
JM
223602013-09-25 Joseph Myers <joseph@codesourcery.com>
22361
22362 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
22363 [POSIX || UNIX98]: Require rather than permitting all symbols from
22364 <time.h>.
22365 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
22366 element of struct sched_param.
22367 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
22368 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
22369 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
22370 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
22371 constant.
22372
12c22bc4
OL
223732013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
22374
22375 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
22376 argument calculation.
22377
a03d8ea7
JM
223782013-09-24 Joseph Myers <joseph@codesourcery.com>
22379
22380 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
22381 Expect macro.
22382 [POSIX] (pthread_attr_t): Do not require type.
22383 [POSIX] (pthread_cond_t): Likewise.
22384 [POSIX] (pthread_condattr_t): Likewise.
22385 [POSIX] (pthread_key_t): Likewise.
22386 [POSIX] (pthread_mutex_t): Likewise.
22387 [POSIX] (pthread_mutexattr_t): Likewise.
22388 [POSIX] (pthread_once_t): Likewise.
22389 [POSIX] (pthread_t): Likewise.
22390 [POSIX-based standards] (pthread_atfork): Expect function.
22391
6055173a
JM
223922013-09-24 Joseph Myers <joseph@codesourcery.com>
22393 Richard Sandiford <richard@codesourcery.com>
22394
22395 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
22396 (swap_endianness_p): New extern variable.
22397 (set_big_endian): New inline function.
22398 (maybe_swap_uint32): Likewise.
22399 (maybe_swap_uint32_array): Likewise.
22400 (maybe_swap_uint32_obstack): Likewise.
22401 * locale/programs/locfile.c: Include <stdbool.h>.
22402 (swap_endianness_p): New variable.
22403 (add_locale_uint32): Call maybe_swap_uint32.
22404 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
22405 (write_locale_data): Call maybe_swap_uint32_array.
22406 * locale/programs/ld-collate.c (obstack_int32_grow): Call
22407 maybe_swap_uint32.
22408 (obstack_int32_grow_fast): Likewise.
22409 (output_weightwc): Call maybe_swap_uint32_obstack.
22410 (collate_output): Likewise.
22411 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
22412 (OPT_LITTLE_ENDIAN): Likewise.
22413 (options): Add --little-endian and --big-endian options.
22414 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
22415 * locale/programs/locarchive.c: Include "locfile.h".
22416 (GET): New macro.
22417 (SET): Likewise.
22418 (INC): Likewise.
22419 (create_archive): Use the new macros to access fields of
22420 structures directly mapped from or written to locale archives.
22421 (oldlocrecentcmp): Likewise.
22422 (enlarge_archive): Likewise.
22423 (insert_name): Likewise.
22424 (add_alias): Likewise.
22425 (add_locale): Likewise.
22426 (delete_locales_from_archive): Likewise.
22427 (show_archive_content): Likewise.
22428 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
22429 locale data.
22430
39bf0bb4
RM
224312013-09-24 Roland McGrath <roland@hack.frob.com>
22432
22433 * manual/freemanuals.texi: Updated from (newly) canonical copy at
22434 http://www.gnu.org/doc/freemanuals.texi.
22435 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
22436
f02eed10
WN
224372013-09-24 Will Newton <will.newton@linaro.org>
22438
22439 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
22440 macro.
22441
a3a6c312
JM
224422013-09-23 Joseph Myers <joseph@codesourcery.com>
22443
22444 * locale/hashval.h (compute_hashval): Interpret bytes of key as
22445 unsigned char.
22446
107375ac
MR
224472013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
22448
22449 * manual/threads.texi (POSIX Threads): Fix a typo.
22450
141f3a77
SP
224512013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22452
303e567a
SP
22453 [BZ #14547]
22454 * string/tst-strcoll-overflow.c: New test case.
22455 * string/Makefile (xtests): Add tst-strcoll-overflow.
22456 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
22457 cache if string sizes may cause integer overflow.
22458
141f3a77
SP
22459 [BZ #14547]
22460 * string/strcoll_l.c (coll_seq): New members rule, idx,
22461 save_idx and back_us.
22462 (get_next_seq_nocache): New function.
22463 (do_compare_nocache): New function.
22464 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
22465 when malloc fails.
22466
c61b4d41
CD
224672013-09-23 Carlos O'Donell <carlos@redhat.com>
22468
0b1f8e35
CD
22469 [BZ #15754]
22470 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
22471 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
22472 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
22473
c61b4d41
CD
22474 [BZ #15754]
22475 * elf/Makefile (tests): Add tst-ptrguard1.
22476 (tests-static): Add tst-ptrguard1-static.
22477 (tst-ptrguard1-ARGS): Define.
22478 (tst-ptrguard1-static-ARGS): Define.
22479 * elf/tst-ptrguard1.c: New file.
22480 * elf/tst-ptrguard1-static.c: New file.
22481 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
22482 * sysdeps/i386/stackguard-macros.h: Likewise.
22483 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
22484 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
22485 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22486 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22487 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
22488 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
22489
224902013-09-23 Hector Marco <hecmargi@upv.es>
22491 Ismael Ripoll <iripoll@disca.upv.es>
22492 Carlos O'Donell <carlos@redhat.com>
22493
22494 [BZ #15754]
22495 * sysdeps/generic/stackguard-macros.h: Define
22496 __pointer_chk_guard_local and POINTER_CHK_GUARD.
22497 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
22498 Define __pointer_chk_guard_local.
22499 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
22500 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
22501
f5f4e7b4
VV
225022013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
22503
22504 [BZ #15859]
22505 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
22506
5bb43a43
AS
225072013-09-20 Andreas Schwab <schwab@linux-m68k.org>
22508
22509 * include/string.h (__ffs): Declare as hidden.
22510 * string/ffs.c (__ffs): Define as hidden.
22511 * sysdeps/i386/ffs.c (__ffs): Likewise.
22512 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
22513 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
22514 * sysdeps/s390/ffs.c (__ffs): Likewise.
22515 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
22516
3ea5be54
AO
225172013-09-20 Alexandre Oliva <aoliva@redhat.com>
22518
ffb89e53
AO
22519 * NEWS: Mention malloc probes.
22520
322dea08
AO
22521 * malloc/arena.c (new_heap): New memory_heap_new probe.
22522 (grow_heap): New memory_heap_more probe.
22523 (shrink_heap): New memory_heap_less probe.
22524 (heap_trim): New memory_heap_free probe.
22525 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
22526 (systrim): New memory_sbrk_less probe.
22527 * manual/probes.texi: Document them.
22528
655673f3
AO
22529 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
22530 * manual/probes.texi: Document it.
22531
35fed6f1
AO
22532 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
22533 (__libc_realloc): Add memory_realloc_retry probe.
22534 (__libc_memalign): Add memory_memalign_retry probe.
22535 (__libc_valloc): Add memory_valloc_retry probe.
22536 (__libc_pvalloc): Add memory_pvalloc_retry probe.
22537 (__libc_calloc): Add memory_calloc_retry probe.
22538 * manual/probes.texi: Document them.
22539
6999d38c
AO
22540 * malloc/arena.c (get_free_list): Add probe
22541 memory_arena_reuse_free_list.
22542 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
22543 and memory_arena_reuse.
22544 (arena_get2) [!PER_THREAD]: Likewise.
22545 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
22546 memory_arena_reuse_realloc.
22547 * manual/probes.texi: Document them.
22548
0653427f
AO
22549 * malloc/malloc.c (__libc_free): Add
22550 memory_mallopt_free_dyn_thresholds probe.
22551 (__libc_mallopt): Add multiple memory_mallopt probes.
22552 * manual/probes.texi: Document them.
22553
3ea5be54
AO
22554 * malloc/malloc.c: Include stap-probe.h.
22555 (__libc_mallopt): Add memory_mallopt probe.
22556 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
22557 * manual/probes.texi: New.
22558 * manual/Makefile (chapters): Add probes.
22559 * manual/threads.texi: Set next node.
22560
e35696c3 225612013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 22562
e35696c3
CL
22563 [BZ #15963, #13985]
22564 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
22565 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
22566 Add `Chinese' to `nan' entry name.
22567
4aafb73c
SP
225682013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22569
22570 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
22571 (POLYNOMIAL): Likewise.
22572 (TAYLOR_SINCOS): Likewise.
22573 (TAYLOR_SLOW): Likewise.
22574 (__sin): Use TAYLOR_SINCOS.
22575 (__cos): Likewise.
22576 (slow): Use TAYLOR_SLOW.
22577 (sloww): Likewise.
22578 (bsloww): Likewise.
22579 (csloww): Likewise.
22580
d84f25c7
LD
225812013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22582
22583 * stdlib/strtod_l.c: Fix buffer overrun.
22584
5eea0404
SP
225852013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22586
7849ff93
SP
22587 * benchtests/Makefile (bench): Add sincos.
22588 * benchtests/bench-sincos.c: New file.
22589
cfa3c886
SP
22590 * math/libm-test.inc (cos_test_data): New test inputs.
22591 (sin_test_data): Likewise.
22592
b348e1e3
SP
22593 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
22594 macro.
22595 (__sin): Use it.
22596 (__cos): Likewise.
22597 (slow1): Likewise.
22598 (slow2): Likewise.
22599 (sloww1): Likewise.
22600 (sloww2): Likewise.
22601 (bsloww1): Likewise.
22602 (bsloww2): Likewise.
22603 (cslow2): Likewise.
22604 (csloww1): Likewise.
22605 (csloww2): Likewise.
22606
6cce25f8
SP
22607 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
22608 function.
22609 (__sin): Use it.
22610 (__cos): Likewise.
22611
5eea0404
SP
22612 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
22613 gotos.
22614 (__cos): Likewise.
22615
9c21573c
MR
226162013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
22617
22618 * config.h.in (HAVE_MIPS_NAN2008): New macro.
22619 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
22620 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
22621 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
22622 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
22623 * elf/cache.c (print_entry): Handle the new cache flags.
22624
24d22e65
JM
226252013-09-18 Joseph Myers <joseph@codesourcery.com>
22626 Aldy Hernandez <aldyh@redhat.com>
22627
22628 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
22629 Change condition to [_SOFT_FLOAT].
22630 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
22631 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
22632 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
22633 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
22634 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
22635 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
22636 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
22637 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
22638 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
22639 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
22640 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
22641 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
22642 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
22643 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
22644 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
22645 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
22646 declaration.
22647
d13ef066
JM
226482013-09-18 Joseph Myers <joseph@codesourcery.com>
22649
2e071de0
JM
22650 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
22651 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
22652 (__longjmp): Use LOAD_GP to load saved GPRs.
22653 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
22654 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
22655 (__sigsetjmp): Use SAVE_GP to save GPRs.
22656
d13ef066
JM
22657 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
22658 Do not append -msoft-float.
22659 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
22660
97a0650b
SP
226612013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22662
22663 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
22664
11ca09e9
JM
226652013-09-17 Joseph Myers <joseph@codesourcery.com>
22666
22667 [BZ #15966]
22668 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
22669 (_FPU_GETCW): Use initial "__" on variable and field names but not
22670 on macro parameter name.
22671 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
22672 parentheses around reference to macro parameter.
22673
08ffcf34
RS
226742013-09-13 Richard Sandiford <richard@codesourcery.com>
22675
22676 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
22677 prototype.
22678 (ctype_startup): Use uint32_t in cast and sizeof for
22679 ctype->charnames.
22680
ae7080d3
JL
226812013-09-11 Jia Liu <proljc@gmail.com>
22682
22683 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
22684 __daddr_t_defined.
22685 [__FreeBSD__]: Likewise.
22686
5905e7b3
OB
226872013-09-11 Ondřej Bílka <neleai@seznam.cz>
22688
22689 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
22690 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
22691 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
22692 (strchr): Remove __strchr_sse42 ifunc selection.
22693 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
22694 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
22695
b987c776
WN
226962013-09-11 Will Newton <will.newton@linaro.org>
22697
22698 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
22699 parameter to RES. Remove hardcoded 1000 value.
22700 * benchtests/bench-skeleton.c (main): Pass RES parameter
22701 to TIMING_INIT and multiply result by 1000.
22702
ddf985af
AZ
227032013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22704
22705 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22706
ffdd3181
AS
227072013-09-11 Andreas Schwab <schwab@suse.de>
22708
22709 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
22710 if not defined.
22711 (O_TMPFILE) [__USE_GNU]: Define.
22712 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
22713 Define.
22714
b73ed247
WN
227152013-09-11 Will Newton <will.newton@linaro.org>
22716
22717 [BZ #15857]
22718 * malloc/malloc.c (__libc_memalign): Check the value of bytes
22719 does not overflow.
22720
55e17aad
WN
227212013-09-11 Will Newton <will.newton@linaro.org>
22722
22723 [BZ #15856]
22724 * malloc/malloc.c (__libc_valloc): Check the value of bytes
22725 does not overflow.
22726
1159a193
WN
227272013-09-11 Will Newton <will.newton@linaro.org>
22728
22729 [BZ #15855]
22730 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
22731 does not overflow.
22732
5905e7b3 227332013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
22734
22735 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
22736 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22737 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22738 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22739 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22740
cdfc721b
AM
227412013-09-10 Allan McRae <allan@archlinux.org>
22742
aa04af00
AM
22743 [BZ #15748]
22744 * manual/arith.texi (Parsing of Floats): Clarify
22745 cross-reference.
22746
cdfc721b
AM
22747 [BZ #15849]
22748 * manual/install.texi (Running make install): Mention
22749 --enable-pt-chown.
22750 * INSTALL: Regenerated.
22751
95e7cf29
MR
227522013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22753
22754 * csu/init-first.c (_init): Remove the !SHARED condition around
22755 FPU control word initialization.
22756 * elf/dl-support.c (_dl_fpu_control): New variable.
22757 (_dl_aux_init) <AT_FPUCW>: Initialize it.
22758 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
22759 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
22760 * math/test-fpucw-static.c: New file.
22761 * math/test-fpucw-ieee.c: New file.
22762 * math/test-fpucw-ieee-static.c: New file.
22763 * math/Makefile (tests): Add `test-fpucw-ieee' and
22764 `$(tests-static)'.
22765 (tests-static): New variable.
22766 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
22767 dependency to...
22768 [($(build-shared),yes)]
22769 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
22770 ... this.
22771 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
22772 New dependency.
22773
83e43bf0
AM
227742013-09-09 Allan McRae <allan@archlinux.org>
22775
a9f5ce09
AM
22776 [BZ #15939]
22777 * manual/string.texi (Collation Functions): Fix typo in
22778 strcoll example.
22779 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
22780
34829bc2
AM
22781 [BZ #15893]
22782 * stdlib/isomac.c (get_null_defines): Fix memory leak.
22783
3932737d
AM
22784 [BZ #15892]
22785 * libio/memstream.c (open_memstream): Fix memory leak.
22786 * libio/wmemstream.c (open_wmemstream): Likewise.
22787
83e43bf0
AM
22788 [BZ #15895]
22789 * nscd/netgroupcache.c: Fix nesting of ifdefs.
22790
0c66b8e9
WN
227912013-09-09 Will Newton <will.newton@linaro.org>
22792
22793 * malloc/Makefile: Add tst-realloc to tests.
22794 * malloc/tst-realloc.c: New file.
22795
f6b00fd1
AM
227962013-09-09 Allan McRae <allan@archlinux.org>
22797
22798 [BZ #15844]
22799 * COPYING: Update from GNU website to fix FSF address.
22800 * COPYING.LIB: Likewise.
22801
eec55e16
DM
228022013-09-06 David S. Miller <davem@davemloft.net>
22803
22804 * po/zh_TW.po: Update Chinese (traditional) translation from
22805 translation project.
22806
1ecbb381
RS
228072013-09-06 Richard Sandiford <richard@codesourcery.com>
22808 Joseph Myers <joseph@codesourcery.com>
22809
22810 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
22811 "localeinfo.h".
22812 (obstack_chunk_alloc): New macro.
22813 (obstack_chunk_free): Likewise.
22814 (record_offset): New function.
22815 (init_locale_data): Likewise.
22816 (align_locale_data): Likewise.
22817 (add_locale_empty): Likewise.
22818 (add_locale_raw_data): Likewise.
22819 (add_locale_raw_obstack): Likewise.
22820 (add_locale_string): Likewise.
22821 (add_locale_wstring): Likewise.
22822 (add_locale_uint32): Likewise.
22823 (add_locale_uint32_array): Likewise.
22824 (add_locale_char): Likewise.
22825 (start_locale_structure): Likewise.
22826 (end_locale_structure): Likewise.
22827 (start_locale_prelude): Likewise.
22828 (end_locale_prelude): Likewise.
22829 (write_locale_data): Take locale_file structure rather than an
22830 iovec.
22831 * locale/programs/locfile.h: Include "obstack.h".
22832 (struct locale_file): Change to store locale file contents instead
22833 of header.
22834 (init_locale_data): New prototype.
22835 (align_locale_data): Likewise.
22836 (add_locale_empty): Likewise.
22837 (add_locale_raw_data): Likewise.
22838 (add_locale_raw_obstack): Likewise.
22839 (add_locale_string): Likewise.
22840 (add_locale_wstring): Likewise.
22841 (add_locale_uint32): Likewise.
22842 (add_locale_uint32_array): Likewise.
22843 (add_locale_char): Likewise.
22844 (start_locale_structure): Likewise.
22845 (end_locale_structure): Likewise.
22846 (start_locale_prelude): Likewise.
22847 (end_locale_prelude): Likewise.
22848 (write_locale_data): Update prototype.
22849 * locale/programs/3level.h (struct TABLE): Remove result field.
22850 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
22851 Use new locale_file interface.
22852 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
22853 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
22854 * locale/programs/ld-address.c (address_output): Use new
22855 locale_file interface.
22856 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
22857 NO_ADD_LOCALE.
22858 (collate_finish): Don't call collseq_table_finalize.
22859 (collate_output): Use new locale_file interface.
22860 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
22861 in file.
22862 (NO_FINALIZE): Change to NO_ADD_LOCALE.
22863 (TABLE): Move defines earlier in file.
22864 (ELEMENT): Likewise.
22865 (DEFAULT): Likewise.
22866 (wctrans_table_add): Move macro and inline function earlier in
22867 file.
22868 (struct wctype_table): Move type earlier in file.
22869 (add_locale_wctype_table): New static prototype.
22870 (struct locale_ctype_t): Use logical types instead of struct iovec
22871 pointers for members.
22872 (ctype_output): Use new locale_file interface.
22873 (wctype_table_finalize): Change to add_locale_wctype_table. Use
22874 new locale_file interface.
22875 (allocate_arrays): Update for use of new locale_file interface.
22876 * locale/programs/ld-identification.c (identification_output): Use
22877 new locale_file interface.
22878 * locale/programs/ld-measurement.c (measurement_output): Likewise.
22879 * locale/programs/ld-messages.c (messages_output): Likewise.
22880 * locale/programs/ld-monetary.c (monetary_output): Likewise.
22881 * locale/programs/ld-name.c (name_output): Likewise.
22882 * locale/programs/ld-numeric.c (numeric_output): Likewise.
22883 * locale/programs/ld-paper.c (paper_output): Likewise.
22884 * locale/programs/ld-telephone.c (telephone_output): Likewise.
22885 * locale/programs/ld-time.c (time_output): Likewise.
22886
e029e2e5
AZ
228872013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22888
22889 * benchtests/Makefile: Add memrchr benchmark.
22890 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
22891 benchmark as memrchr.
22892 * benchtests/bench-memrchr-ifunc.c: New file.
22893 * benchtests/bench-memrchr.c: New file.
22894
bbf6e8e4
WN
228952013-09-06 Will Newton <will.newton@linaro.org>
22896
22897 * benchtests/Makefile (string-bench): Add memcpy.
22898
6c82a2f8
CD
228992013-09-05 Carlos O'Donell <carlos@redhat.com>
22900 Cong Wang <amwang@redhat.com>
22901
e732c5f0 22902 [BZ #15850]
6c82a2f8
CD
22903 * sysdeps/unix/sysv/linux/bits/in.h
22904 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
22905 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
22906 before __USE_KERNEL_IPV6_DEFS uses.
22907 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
22908 IPPROTO_BEETPH.
22909 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
22910 sockaddr_in6, or ipv6_mreq.
22911
5430fc65
AZ
229122013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22913
22914 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
22915 memory access for final bytes in some large inputs.
22916 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
22917
4660856c
AZ
229182013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22919
22920 * string/test-memrchr.c: New file.
22921 * string/test-memrchr-ifunc.c: New file.
22922 * string/Makefile: Add new memrchr testcase.
22923
bb8ea713
MF
229242013-09-05 Mike Frysinger <vapier@gentoo.org>
22925
22926 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
22927 fanotify_init returns EPERM.
22928
b92a20b5
JM
229292013-09-04 Joseph Myers <joseph@codesourcery.com>
22930
22931 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
22932 errors.
22933 (top level): Treat second token from macro or constant entries for
22934 allowed headers as allowed.
22935 * include/complex.h: Condition internal declarations on
22936 [!_ISOMAC].
22937 * include/fenv.h: Condition include of <stdbool.h> and internal
22938 declarations on [!_ISOMAC].
7447ccd9
CL
22939
229402013-09-04 Chris Leonard <cjl@sugarlabs,.org>
22941
3e181dda 22942 [BZ #15923]
7447ccd9
CL
22943 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
22944
3f2e46a4
JM
229452013-09-04 Joseph Myers <joseph@codesourcery.com>
22946
22947 * configure.in (--enable-versioning): Remove configure option.
22948 (libc_cv_asm_symver_directive): Remove configure test.
22949 (libc_cv_ld_version_script_option): Likewise.
22950 (VERSIONING): Remove variable and AC_SUBST.
22951 (DO_VERSIONING): Remove AC_DEFINE.
22952 * configure: Regenerated.
22953 * config.h.in (DO_VERSIONING): Remove macro.
22954 * Makerules [$(versioning) = yes]: Change conditionals to
22955 [$(build-shared) = yes].
22956 * config.make.in (versioning): Remove variable.
22957 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
22958 [$(build-shared) = yes].
22959 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
22960 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
22961 * elf/Makefile [$(versioning) = yes]: Change conditionals to
22962 [$(build-shared) = yes].
22963 * extra-lib.mk [$(versioning) = yes]: Likewise.
22964 * hurd/Makefile [$(versioning) = yes]: Likewise.
22965 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
22966 [SHARED].
22967 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
22968 [SHARED].
22969 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
22970 [SHARED && !NO_HIDDEN].
22971 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
22972 [SHARED].
22973 [SHARED && DO_VERSIONING]: Likewise..
22974 * libio/Makefile [$(versioning) = yes]: Change conditionals to
22975 [$(build-shared) = yes].
22976 * manual/install.texi (--disable-versioning): Remove
22977 documentation.
22978 * INSTALL: Regenerated.
22979 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
22980 to [SHARED].
22981 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
22982 [$(build-shared) = yes].
22983 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
22984 * sysdeps/i386/i686/multiarch/strstr-c.c
22985 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
22986 [SHARED && !NO_HIDDEN].
22987 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
22988 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
22989 * sysdeps/powerpc/powerpc32/dl-machine.c
22990 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
22991 * sysdeps/powerpc/powerpc32/sysdep.h
22992 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
22993 to [SHARED && PIC && !NO_HIDDEN].
22994 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
22995 conditional to [SHARED].
22996
44558701
WN
229972013-09-04 Will Newton <will.newton@linaro.org>
22998
22999 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
23000 * benchtests/bench-string.h: Include bench-timing.h instead
23001 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
23002 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
23003 call to HP_TIMING_DIFF_INIT.
23004 * benchtests/bench-memccpy.c: Use bench-timing.h macros
23005 instead of hp-timing.h macros.
23006 * benchtests/bench-memchr.c: Likewise.
23007 * benchtests/bench-memcmp.c: Likewise.
23008 * benchtests/bench-memcpy.c: Likewise.
23009 * benchtests/bench-memmem.c: Likewise.
23010 * benchtests/bench-memmove.c: Likewise.
23011 * benchtests/bench-memset.c: Likewise.
23012 * benchtests/bench-rawmemchr.c: Likewise.
23013 * benchtests/bench-strcasecmp.c: Likewise.
23014 * benchtests/bench-strcasestr.c: Likewise.
23015 * benchtests/bench-strcat.c: Likewise.
23016 * benchtests/bench-strchr.c: Likewise.
23017 * benchtests/bench-strcmp.c: Likewise.
23018 * benchtests/bench-strcpy.c: Likewise.
23019 * benchtests/bench-strcpy_chk.c: Likewise.
23020 * benchtests/bench-strlen.c: Likewise.
23021 * benchtests/bench-strncasecmp.c: Likewise.
23022 * benchtests/bench-strncat.c: Likewise.
23023 * benchtests/bench-strncmp.c: Likewise.
23024 * benchtests/bench-strncpy.c: Likewise.
23025 * benchtests/bench-strnlen.c: Likewise.
23026 * benchtests/bench-strpbrk.c: Likewise.
23027 * benchtests/bench-strrchr.c: Likewise.
23028 * benchtests/bench-strspn.c: Likewise.
23029 * benchtests/bench-strstr.c: Likewise.
23030
cae16d66
WN
230312013-09-04 Will Newton <will.newton@linaro.org>
23032
23033 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
23034
ffa3cd7f
JM
230352013-09-03 Joseph Myers <joseph@codesourcery.com>
23036
23037 [BZ #15427]
23038 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
23039 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
23040 * math/libm-test.inc (lgamma_test_data): Add more tests.
23041 * sysdeps/i386/fpu/libm-test-ulps: Update.
23042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23043
8f02859f
OB
230442013-09-03 Ondřej Bílka <neleai@seznam.cz>
23045
23046 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
23047 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23048 Add ifunc.
23049 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23050 Add strcmp-sse2-unaligned
23051 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
23052
18d43716
MF
230532013-09-02 Mike Frysinger <vapier@gentoo.org>
23054
23055 * Versions.def (libc): Add GLIBC_2.19.
23056
ac444012
MF
230572013-09-02 Mike Frysinger <vapier@gentoo.org>
23058
23059 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
23060 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
23061
b7835e32
JM
230622013-09-02 Joseph Myers <joseph@codesourcery.com>
23063
23064 [BZ #14155]
23065 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
23066 intermediate calculations in recurrence.
23067 (__ieee754_ynf): Likewise.
23068 * math/libm-test.inc (jn_test_data): Do not allow spurious
23069 underflow exception. Add more tests.
23070 (yn_test_data): Add more tests.
23071 * sysdeps/i386/fpu/libm-test-ulps: Update.
23072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23073
8220f4f0
OB
230742013-09-02 Ondřej Bílka <neleai@seznam.cz>
23075
23076 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
23077
f24a6d08
OB
230782013-08-30 Ondřej Bílka <neleai@seznam.cz>
23079
23080 * csu/init-first.c: Fix then/than typos.
23081 * locale/programs/ld-collate.c: Likewise.
23082 * locale/programs/linereader.h: Likewise.
23083 * manual/charset.texi: Likewise.
23084 * manual/filesys.texi: Likewise.
23085 * manual/stdio.texi: Likewise.
23086 * manual/string.texi: Likewise.
23087 * stdlib/fmtmsg.c: Likewise.
23088 * sysdeps/i386/stpncpy.S: Likewise.
23089 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23090 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23091 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23092 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23093
382466e0
OB
230942013-08-30 Ondřej Bílka <neleai@seznam.cz>
23095
23096 * elf/dl-open.c: Fix typos.
23097 * iconvdata/gbbig5.c: Likewise.
23098 * iconvdata/iso-2022-jp.c: Likewise.
23099 * iconv/gconv_int.h: Likewise.
23100 * iconv/loop.c: Likewise.
23101 * nis/rpcsvc/nis.h: Likewise.
23102 * resolv/ns_name.c: Likewise.
23103 * stdio-common/vfscanf.c: Likewise.
23104 * streams/stropts.h: Likewise.
23105 * sunrpc/rpc_thread.c: Likewise.
23106 * sysdeps/i386/strpbrk.S: Likewise.
23107 * sysdeps/ieee754/k_standard.c: Likewise.
23108 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23109 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23110 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
23111 * sysdeps/mach/hurd/profil.c: Likewise.
23112 * sysdeps/s390/dl-procinfo.h: Likewise.
23113 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
23114 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
23115 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
23116 * sysdeps/x86_64/dl-trampoline.S: Likewise.
23117 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
23118
0186c6e9
OB
231192013-08-30 Ondřej Bílka <neleai@seznam.cz>
23120
23121 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
23122 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
23123
d4e16af1
OB
231242013-08-29 Ondřej Bílka <neleai@seznam.cz>
23125
23126 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
23127 aix specific files.
23128 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
23129 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
23130 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
23131 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
23132 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
23133 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
23134 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
23135 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
23136
88335980
TS
231372013-08-29 Thomas Schwinge <thomas@codesourcery.com>
23138 Roland McGrath <roland@hack.frob.com>
23139
23140 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
23141 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
23142
ed479b02
ST
231432013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
23144
23145 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
23146 __executable_start symbol instead of _start.
23147
f1cc4c86
TS
231482013-08-29 Thomas Schwinge <thomas@codesourcery.com>
23149
d821f07c
TS
23150 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
23151 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
23152 Move macros to...
23153 * sysdeps/gnu/ldsodefs.h: ... this new file.
23154
c54290cf
TS
23155 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
23156 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
23157 instead of ELFOSABI_LINUX.
23158
0007fc9b 23159 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
23160 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
23161 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
23162 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
23163 Likewise.
23164 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
23165 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
23166 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
23167 Likewise.
23168 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23169 (ibm_extended_long_double): Add ieee_nan member.
23170 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
23171 (do_test): New function.
23172
f1cc4c86
TS
23173 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
23174 TEST_TRUNC.
23175 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
23176 functions, renamed from truncdfsf_test, trunctfsf_test,
23177 trunctfdf_test.
23178 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
23179 functions.
23180 (do_test): Run all these.
23181
6f65e668
OB
231822013-08-29 Ondřej Bílka <neleai@seznam.cz>
23183
23184 * argp/argp-help.c: Fix typos.
23185 * argp/argp-parse.c: Likewise.
23186 * debug/backtracesyms.c: Likewise.
23187 * elf/elf.h: Likewise.
23188 * malloc/malloc.c: Likewise.
23189 * nis/nis_print.c: Likewise.
23190 * resolv/res_comp.c: Likewise.
23191 * stdlib/stdlib.h: Likewise.
23192 * sunrpc/clnt_tcp.c: Likewise.
23193 * sunrpc/clnt_udp.c: Likewise.
23194 * sunrpc/clnt_unix.c: Likewise.
23195 * sysdeps/unix/bsd/ptsname.c: Likewise.
23196 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
23197 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
23198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
23199 Likewise.
23200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
23201 Likewise.
23202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
23203 Likewise.
6f65e668
OB
23204 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23205
3a309239
SP
232062013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23207
23208 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
23209 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23210
3b813b29
MF
232112013-08-27 Mike Frysinger <vapier@gentoo.org>
23212
23213 [BZ #15897]
23214 * dlfcn/Makefile (tests): Add bug-dl-leaf.
23215 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
23216 ($(objpfx)bug-dl-leaf): New rule.
23217 ($(objpfx)bug-dl-leaf.so): Likewise.
23218 ($(objpfx)bug-dl-leaf.out): Likewise.
23219 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
23220 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
23221 * dlfcn/bug-dl-leaf.c: New test.
23222 * dlfcn/bug-dl-leaf-lib.c: Likewise.
23223 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
23224 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
23225 (dlclose): Likewise.
23226 (dlmopen): Likewise.
23227
8cc3269f
RM
232282013-08-27 Roland McGrath <roland@hack.frob.com>
23229
7f9d0034
RM
23230 * include/netdb.h [!_ISOMAC]:
23231 Don't include <tls.h>.
23232 (h_errno, __libc_h_errno): Move declaration and macros out of
23233 [_LIBC_REENTRANT].
23234
fb431262
RM
23235 * include/resolv.h [_RESOLV_H_]:
23236 Don't include <tls.h>.
23237 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
23238 * resolv/res_libc.c: Don't include <tls.h>.
23239 (_res): Use __attribute__ ((nocommon)) in place of
23240 __attribute__ ((section (".bss"))).
23241
bd81123a
RM
23242 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
23243 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
23244
c4e42566
RM
23245 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
23246
f890a59b
RM
23247 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
23248 only under [SIOCGIFCONF && SIOCGIFNETMASK].
23249
23250 * resolv/res_mkquery.c: Include <sys/time.h>.
23251
5d1f0a09
RM
23252 * inet/ifreq.c: Moved to ...
23253 * sysdeps/unix/ifreq.c: ... here.
23254 * inet/ifreq.c: New file, true stub version.
23255
6fcf28b3
RM
23256 * socket/sa_len.c: New file.
23257 * socket/Makefile (aux): Add it.
23258 * sysdeps/unix/sysv/linux/Makefile
23259 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
23260 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
23261 and #include <socket/sa_len.c>.
23262 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
23263 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
23264
e041fb8b
RM
23265 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
23266 * bits/socket.h: ... here.
23267
8cc3269f
RM
23268 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
23269 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
23270 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
23271
5d228a43
AS
232722013-08-27 Andreas Schwab <schwab@suse.de>
23273
45b8accc
AS
23274 [BZ #15736]
23275 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
23276 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
23277 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
23278 * string/test-strcasecmp.c (test_main): Run tests in several
23279 locales.
23280 * string/test-strncasecmp.c (test_main): Likewise.
23281
5d228a43
AS
23282 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
23283 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
23284 to __strcasecmp_nonascii and __strncasecmp_nonascii.
23285 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
23286 (__strncasecmp_ssse3) [PIC]: Likewise.
23287
59d112a4
RM
232882013-08-26 Roland McGrath <roland@hack.frob.com>
23289
53234cc3
RM
23290 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
23291
59d112a4
RM
23292 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
23293 instead of explicitly declaring xdecrypt.
23294 * nis/nss_nis/nis-publickey.c: Likewise.
23295
595aba70
SP
232962013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23297
23298 [BZ #15890]
23299 * nscd/aicache.c: Include res_hconf.h.
23300 (addhstaiX): Initialize res_hconf.
23301
ffabd393
AS
233022013-08-26 Andreas Schwab <schwab@suse.de>
23303
23304 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
23305 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
23306
e0a69f5c
SP
233072013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23308
23309 * nscd/aicache.c (addhstaiX): Fix indentation.
23310
8c12f01d
MF
233112013-08-25 Mike Frysinger <vapier@gentoo.org>
23312
23313 * configure.ac: Quote $build_pt_chown test.
23314 * configure: Regenerated.
23315
8fe89494
JM
233162013-08-23 Joseph Myers <joseph@codesourcery.com>
23317
23318 [BZ #15532]
23319 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
23320 * math/s_cexpf.c (__cexpf): Likewise.
23321 * math/s_cexpl.c (__cexpl): Likewise.
23322 * math/libm-test.inc (cexp_test_data): Correct expected return
23323 value for NaN + i0. Add another test.
23324
75b181d6
DM
233252013-08-22 David S. Miller <davem@davemloft.net>
23326
23327 * po/ca.po: Update Catalan translation from translation project.
936241e4 23328 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 23329
acd06bb1
JM
233302013-08-21 Joseph Myers <joseph@codesourcery.com>
23331
23332 [BZ #15797]
23333 * math/s_fdim.c (__fdim): Check for infinite arguments if result
23334 is infinite, not alongside NaN test.
23335 * math/s_fdimf.c (__fdimf): Likewise.
23336 * math/s_fdiml.c (__fdiml): Likewise.
23337 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
23338 errno is unchanged.
23339
c0c3f78a
OB
233402013-08-21 Ondřej Bílka <neleai@seznam.cz>
23341
23342 * argp/argp-help.c: Fix typos.
23343 * crypt/speeds.c: Likewise.
23344 * csu/check_fds.c: Likewise.
23345 * elf/dl-load.c: Likewise.
23346 * elf/dl-open.c: Likewise.
23347 * elf/reldep3.c: Likewise.
23348 * elf/reldep.c: Likewise.
23349 * elf/sprof.c: Likewise.
23350 * iconv/iconv_charmap.c: Likewise.
23351 * iconv/skeleton.c: Likewise.
23352 * iconv/strtab.c: Likewise.
23353 * io/lockf64.c: Likewise.
23354 * libio/libioP.h: Likewise.
23355 * resolv/gai_notify.c: Likewise.
23356 * resolv/ns_name.c: Likewise.
23357 * resolv/ns_samedomain.c: Likewise.
23358 * resolv/res_send.c: Likewise.
23359 * stdlib/random.c: Likewise.
23360 * sunrpc/rpc/xdr.h: Likewise.
23361 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
23362 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23363 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23364 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23365 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23366 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23367 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23368 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23369 * sysdeps/mach/hurd/check_fds.c: Likewise.
23370 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23371 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23372 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23373 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23374 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23375 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23376 * sysdeps/pthread/aio_notify.c: Likewise.
23377 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
23378 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
23379 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
23380 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23381 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
23382
46ed1038
LD
233832013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23384
23385 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
23386 version if bit_Slow_SSE4_2 is set.
23387 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23388 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23389
d400dcac
AZ
233902013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23391
23392 [BZ #15867]
23393 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
23394 trampoline stack frame information.
23395 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
23396 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
23397 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
23398 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
23399 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
23400 * sysdeps/unix/sysv/linux/powerpc/init-first.c
23401 (_libc_vdso_platform_setup): Initialize the signal trampolines.
23402 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
23403 sa_flags value.
23404 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
23405 interrupting a syscall and set with option SA_SIGINFO.
23406
42c8fdd8
JM
234072013-08-20 Joseph Myers <joseph@codesourcery.com>
23408
c980f2f4
JM
23409 [BZ #15531]
23410 * math/s_cproj.c (__cproj): Only return an infinity if one part of
23411 argument is infinite.
23412 * math/s_cprojf.c (__cprojf): Likewise.
23413 * math/s_cprojl.c (__cprojl): Likewise.
23414 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
23415 * math/libm-test.inc (cproj_test_data): Add more tests.
23416
0716c4fc
JM
23417 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
23418
42c8fdd8
JM
23419 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
23420 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
23421 size. Use __ffs to determine corresponding shift.
23422
b31469d0
JM
234232013-08-20 Joseph Myers <joseph@codesourcery.com>
23424 Roland McGrath <roland@hack.frob.com>
23425
23426 * Makefile (INSTALL): Remove trailing blank lines from output of
23427 makeinfo.
23428
4e39af6e
AK
234292013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23430
23431 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
23432 Align 32 bit compat elf_greg to 8 bytes.
23433
f315524e
AA
234342013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
23435
23436 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
23437
1326ba1a
SP
234382013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23439
23440 * string/strcoll_l.c (coll_seq): New structure.
23441 (get_next_seq_cached): New function.
23442 (get_next_seq): New function.
23443 (do_compare): New function.
23444 (STRCOLL): Use GNU style definition. Simplify implementation
23445 by using get_next_seq, get_next_seq_cached and do_compare.
23446
91ce4085
FW
234472013-08-16 Florian Weimer <fweimer@redhat.com>
23448
23449 [BZ #14699]
23450 CVE-2013-4237
23451 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
23452 member.
23453 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
23454 member.
23455 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
23456 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
23457 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
23458 conditional.
23459 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
23460 GETDENTS_64BIT_ALIGNED.
23461 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
23462 * manual/filesys.texi (Reading/Closing Directory): Document
23463 ENAMETOOLONG return value of readdir_r. Recommend readdir more
23464 strongly.
23465 * manual/conf.texi (Limits for Files): Add portability note to
23466 NAME_MAX, PATH_MAX.
23467 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
23468
ca0a6bc4
AS
234692013-08-13 Andreas Schwab <schwab@suse.de>
23470
23471 [BZ #15749]
23472 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
23473 of fabs.
23474 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
23475 LDBL_MAX_EXP >= 16384]: Add tests for it.
23476
6c1fd795
DM
234772013-08-12 David S. Miller <davem@davemloft.net>
23478
23479 * version.h (RELEASE): Set to "development".
23480 (VERSION): Set to "2.18.90".
23481 * NEWS: Add 2.19 section.
23482
31ad488d
DM
234832013-08-03 David S. Miller <davem@davemloft.net>
23484
23485 * po/ko.po: Update Korean translation from translation project.
23486
db24e684
DM
234872013-08-01 David S. Miller <davem@davemloft.net>
23488
23489 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
23490 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
23491 Bilka.
23492
f723285b
DM
234932013-07-30 David S. Miller <davem@davemloft.net>
23494
23495 * po/fr.po: Update French translation from translation project.
23496
3cbc52db
DM
234972013-07-28 David S. Miller <davem@davemloft.net>
23498
30bbc0cc
DM
23499 * po/cs.po: Update Czech translation from translation project.
23500
3cbc52db
DM
23501 * po/sv.po: Update Swedish translation from translation project.
23502
d492e6d0
DM
235032013-07-27 David S. Miller <davem@davemloft.net>
23504
f1a7f492
DM
23505 * po/eo.po: Update Esperanto translation from translation project.
23506
90e62a4a
DM
23507 * po/vi.po: Update Vietnamese translation from translation project.
23508
d492e6d0
DM
23509 * po/de.po: Update German translation from translation project.
23510
d4baa62d
DM
235112013-07-26 David S. Miller <davem@davemloft.net>
23512
641aa7b4
DM
23513 * po/bg.po: Update Bulgarian translation from translation project.
23514
d4baa62d
DM
23515 * po/nl.po: Update Dutch translation from translation project.
23516 * po/pl.po: Update Polish translation from translation project.
23517 * po/ru.po: Update Russian translation from translation project.
23518
61a9dcb9
DM
235192013-07-24 David S. Miller <davem@davemloft.net>
23520
23521 * po/libc.pot: Update.
23522
7b1f8b58
AZ
235232013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23524
23525 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
23526 variable page size.
23527 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
23528 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
23529 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
23530
a8fc7a03
AK
235312013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23532
23533 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
23534
e4608715
CD
235352013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23536 Andreas Schwab <schwab@suse.de>
23537 Roland McGrath <roland@hack.frob.com>
23538 Joseph Myers <joseph@codesourcery.com>
23539 Carlos O'Donell <carlos@redhat.com>
23540
23541 [BZ #15755]
23542 * config.h.in: Define HAVE_PT_CHOWN.
23543 * config.make.in (build-pt-chown): New variable.
23544 * configure.in (--enable-pt_chown): New configure option.
23545 * configure: Regenerate.
23546 * login/Makefile: Include Makeconfig. Build pt_chown only if
23547 build-pt-chown is enabled.
23548 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
23549 pt_chown to fix pty ownership.
23550 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
23551 CLOSE_ALL_FDS.
23552 * manual/install.texi (Configuring and compiling): Mention
23553 --enable-pt_chown. Add @findex for grantpt.
23554 * INSTALL: Regenerate.
23555
da2d62df
DM
235562013-07-20 David S. Miller <davem@davemloft.net>
23557
23558 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
23559 difference between 32-bit and 64-bit.
23560
d7e06450
CD
235612013-07-15 Carlos O'Donell <carlos@redhat.com>
23562
23563 [BZ #15711]
23564 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
23565 Avoid system header dependency with -ffreestanding.
23566 ($(objpfx)bits/syscall%d): Likewise.
23567
f959cfd7
DM
235682013-07-13 David S. Miller <davem@davemloft.net>
23569
23570 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
23571 underflows from atanl/atan2l due to bug 15319.
23572 (casinh_test_data): Likewise.
23573
c61f8513
DM
235742013-07-07 David S. Miller <davem@davemloft.net>
23575
23576 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
23577
72c90ed0
JA
235782013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
23579
23580 * sysdeps/i386/fpu/libm-test-ulps: Update.
23581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23582
52dfbe13
SP
235832013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23584
23585 * configure.in (--enable-lock-elision): Fix message text.
23586 * INSTALL: Regenerate.
23587 * configure: Regenerate.
23588
3f169543
AZ
235892013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23590
23591 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23592
521c6785
AJ
235932013-07-03 Andreas Jaeger <aj@suse.de>
23594
23595 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
23596 define.
23597 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
23598 (ptrace_peeksiginfo_args): Add.
23599 (__ptrace_peeksiginfo_flags): Add.
23600 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23601 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23602 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23603
d2cc15cb
AM
236042013-07-03 Allan McRae <allan@archlinux.org>
23605
23606 * sysdeps/i386/fpu/libm-test-ulps: Update.
23607
3aaeeca7
DM
236082013-07-02 David S. Miller <davem@davemloft.net>
23609
23610 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23611
5314ed1a
MT
236122013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
23613
23614 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23615
67338156
JM
236162013-07-02 Joseph Myers <joseph@codesourcery.com>
23617
23618 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23620
1717da59
AK
236212013-07-02 Andi Kleen <ak@linux.intel.com>
23622
23623 * config.h.in (ENABLE_LOCK_ELISION): Add.
23624 * configure.in (--enable-lock-elision): Add option.
23625 * manual/install.texi: Document --enable lock elision.
23626 * configure: Regenerate
23627 * INSTALL: Regenerate.
23628
1c81621c
L
236292013-07-02 H.J. Lu <hongjiu.lu@intel.com>
23630
23631 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
23632 SSE4.2 strcasecmp for libc.a.
23633 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
23634
77f01ab5
JM
236352013-07-02 Joseph Myers <joseph@codesourcery.com>
23636
23637 [BZ #13304]
23638 * soft-fp/op-common.h (_FP_FMA): New macro.
23639 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
23640 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
23641 (_FP_MUL_MEAT_1_imm): ... here.
23642 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
23643 (_FP_MUL_MEAT_1_wide): ... here.
23644 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
23645 (_FP_MUL_MEAT_1_hard): ... here.
23646 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
23647 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
23648 (_FP_MUL_MEAT_2_wide): ... here.
23649 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
23650 (_FP_MUL_MEAT_2_wide_3mul): ... here.
23651 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
23652 (_FP_MUL_MEAT_2_gmp): ... here.
23653 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
23654 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
23655 (_FP_MUL_MEAT_4_wide): ... here.
23656 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
23657 (_FP_MUL_MEAT_4_gmp): ... here.
23658 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
23659 (_FP_WFRACBITS_DW_S): Likewise.
23660 (_FP_WFRACXBITS_DW_S): Likewise.
23661 (_FP_HIGHBIT_DW_S): Likewise.
23662 (FP_FMA_S): Likewise.
23663 (_FP_FRAC_HIGH_DW_S): Likewise.
23664 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
23665 (_FP_WFRACBITS_DW_D): Likewise.
23666 (_FP_WFRACXBITS_DW_D): Likewise.
23667 (_FP_HIGHBIT_DW_D): Likewise.
23668 (FP_FMA_D): Likewise.
23669 (_FP_FRAC_HIGH_DW_D): Likewise.
23670 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
23671 (_FP_WFRACBITS_DW_E): Likewise.
23672 (_FP_WFRACXBITS_DW_E): Likewise.
23673 (_FP_HIGHBIT_DW_E): Likewise.
23674 (FP_FMA_E): Likewise.
23675 (_FP_FRAC_HIGH_DW_E): Likewise.
23676 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
23677 (_FP_WFRACBITS_DW_Q): Likewise.
23678 (_FP_WFRACXBITS_DW_Q): Likewise.
23679 (_FP_HIGHBIT_DW_Q): Likewise.
23680 (FP_FMA_Q): Likewise.
23681 (_FP_FRAC_HIGH_DW_Q): Likewise.
23682 * soft-fp/fmasf4.c: New file.
23683 * soft-fp/fmadf4.c: Likewise.
23684 * soft-fp/fmatf4.c: Likewise.
23685
6308fd9a
LD
236862013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23687
23688 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23689 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
23690 Silvermont.
23691 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
23692 macro.
23693 (index_Slow_SSE4_2): Likewise.
23694 (index_Prefer_PMINUB_for_stringop): Likewise.
23695 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
23696 bit_Slow_SSE4_2 is set.
23697 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23698 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23699
89cd9569
RA
237002013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23701
23702 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
23703 rtld_global._dl_hwcap2.
23704 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
23705 POWER8.
23706 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
23707 POWER8 feature descriptions defined in _dl_hwcap2.
23708 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
23709 string handling for POWER8 feature bits.
23710 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
23711 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
23712 _dl_powerpc_cap_flags.
23713 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
23714 * sysdeps/powerpc/rtld-global-offsets.sym
23715 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
23716 _dl_hwcap2 in the rtld_global_ro structure.
23717
1ae8bfe0
RA
237182013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23719
23720 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
23721 hardware capabilities in support of AT_HWCAP2.
23722 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
23723 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
23724 GLRO(dl_hwcap2).
23725 (_dl_show_auxv): Add support for calling _dl_procinfo to display
23726 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
23727 explicitly the unknown a_type display mechanism is used.
23728 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
23729 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
23730 struct member.
23731 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
23732 to macro prototype for AT_HWCAP2 support.
23733 * sysdeps/i386/dl-procinfo.h: Likewise.
23734 * sysdeps/s390/dl-procinfo.h: Likewise.
23735 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
23736 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
23737 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
23738 return -1 for unknown a_type display fallback.
23739 * sysdeps/sparc/dl-procinfo.h: Likewise.
23740 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
23741 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
23742
8fbec010
JM
237432013-06-28 Joseph Myers <joseph@codesourcery.com>
23744
23745 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
23746 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
23747
0432680e
PY
237482013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
23749
23750 [BZ #12492]
23751 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
23752 mprotect making __stack_prot writable.
23753
ce61a2ad
NF
237542013-06-28 Nathan Froyd <froydnj@codesourcery.com>
23755 Joseph Myers <joseph@codesourcery.com>
23756
23757 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
23758 as being properly aligned.
23759
f91f1c0f
MR
237602013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
23761
3d0f5d0c
MR
23762 * dlfcn/modstatic5.c: New file.
23763 * dlfcn/tststatic5.c: New file.
23764 * dlfcn/Makefile (tests): Add tststatic5.
23765 (tests-static): Likewise.
23766 (modules-names): Add modstatic5.
23767 (tststatic5-ENV): New variable.
23768 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
23769
f91f1c0f
MR
23770 [BZ #15022]
23771 * elf/dl-support.c (_dl_main_map): New variable.
23772 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
23773 (_dl_nns, _dl_load_adds): Set to 1.
23774 (_dl_initial_searchlist): Refer to _dl_main_map.
23775 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
23776 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
23777 call to _dl_get_origin.
23778 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
23779 around call_map.
23780 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
23781 * dlfcn/modstatic3.c: New file.
23782 * dlfcn/tststatic3.c: New file.
23783 * dlfcn/tststatic4.c: New file.
23784 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
23785 (tests-static): Likewise.
23786 (modules-names): Add modstatic3.
23787 (tststatic3-ENV, tststatic4-ENV): New variables.
23788 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
23789 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
23790
cbe7d24b
JM
237912013-06-26 Joseph Myers <joseph@codesourcery.com>
23792
23793 * configure.in (CC): Require GCC version 4.4 or later.
23794 * configure: Regenerated.
23795 * manual/install.texi (Tools for Compilation): Update GCC version
23796 requirement.
23797 * INSTALL: Regenerated.
23798
11b8a0e1
LD
237992013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23800
23801 [BZ #15674]
bb5bb87c
L
23802 * string/test-memcmp.c (check2): New.
23803 (main): Call check2.
23804
11b8a0e1
LD
23805 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
23806
b0037103
MR
238072013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
23808
23809 [BZ #15022]
23810 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
23811 over to...
23812 (dl_open_worker) [!SHARED]: ... here.
23813
c18c701d
RA
238142013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23815
23816 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
23817
1d17fa5f
RH
238182013-06-25 Richard Henderson <rth@redhat.com>
23819
23820 * locale/programs/locarchive.c: Include <libc-internal.h>
23821
8fcb833a
JM
238222013-06-25 Joseph Myers <joseph@codesourcery.com>
23823
23824 * manual/texinfo.tex: Update to version 2013-06-21.17, with
23825 trailing whitespace removed.
23826
17db6e8d
MF
238272013-06-24 Mike Frysinger <vapier@gentoo.org>
23828
23829 [BZ #10283]
17db6e8d
MF
23830 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
23831 * locale/programs/locarchive.c: Include libc-mmap.h.
23832 (prepare_address_space): Take two new outputs (the mmap base and len).
23833 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
23834 values.
23835 (create_archive): Declare new mmap base and len values for
23836 prepare_address_space, and store the result in ah.
23837 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
23838 (enlarge_archive): If ah->mmap_base is not NULL, use that and
23839 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23840 Declare new mmap base and len values for
23841 prepare_address_space, and store the result in new_ah.
23842 (open_archive): Declare new mmap base and len values for
23843 prepare_address_space, and store the result in ah.
23844 (close_archive): If ah->mmap_base is not NULL, use that and
23845 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23846 * sysdeps/generic/libc-mmap.h: New file.
23847
d605071e
MF
238482013-06-24 Mike Frysinger <vapier@gentoo.org>
23849
23850 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
23851 (ALIGN_UP): Likewise.
23852 (PTR_ALIGN_DOWN): Likewise.
23853 (PTR_ALIGN_UP): Likewise.
23854
2f063a6e
RA
238552013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23856
23857 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
23858 entry mapped to PPC_PLATFORM_POWER8.
23859 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
23860 POWER8.
23861 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
23862 (_dl_string_platform): Add case for exporting platform position for
23863 POWER8.
23864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
23865 search path to sysdeps/powerpc/powerpc32/power8 directory.
23866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
23867 search path to sysdeps/powerpc/powerpc64/power8 directory.
23868 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
23869 power7 directories.
23870 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
23871 power7 directories.
23872
a31ee4b3
SP
238732013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23874
a74ca98f
SP
23875 * INSTALL: Regenerate.
23876
a31ee4b3
SP
23877 * nscd/connections.c (nscd_init): Fix comment.
23878
695c378f
JM
238792013-06-22 Joseph Myers <joseph@codesourcery.com>
23880
d8412221
JM
23881 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
23882
695c378f
JM
23883 [BZ #15667]
23884 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
23885 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
23886
d1d54715
MR
238872013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
23888
23889 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
23890 DL_DST_REQ_STATIC.
23891 (DL_DST_REQ_STATIC): Remove macro.
23892
8fdda7af
JM
238932013-06-21 Joseph Myers <joseph@codesourcery.com>
23894
23895 [BZ #7006]
23896 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
23897 with a shift of 0 bits.
23898
f3bc5e5a
MR
238992013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
23900
23901 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
23902 $(tststatic-ENV).
23903
be09e8c9
KK
239042013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23905
23906 [BZ #15655]
23907 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
23908
85c2e611
AZ
239092013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23910
23911 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
23912 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
23913 accepts -fno-tree-loop-distribute-patterns.
23914 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
23915 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
23916 recursive call.
23917 * string/memset.c (memset): Likewise.
23918 * string/test-memmove.c (simple_memmove): Disable loop transformation
23919 to library calls.
23920 * string/test-memset.c (simple_memset): Likewise.
23921 * benchtests/bench-memmove.c (simple_memmove): Likewise.
23922 * benchtests/bench-memset.c (simple_memset): Likewise.
23923 * configure: Regenerated.
23924
c91e0825
JM
239252013-06-20 Joseph Myers <joseph@codesourcery.com>
23926
b8c792af
JM
23927 * math/test-misc.c (main): Ignore fesetround failure when failures
23928 of subsequent rounding tests would be ignored.
23929
c91e0825
JM
23930 [BZ #15654]
23931 * math/fedisblxcpt.c (fedisableexcept): Return 0.
23932 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
23933 * math/fegetenv.c (__fegetenv): Return 0.
23934 * math/fegetexcept.c (fegetexcept): Return 0.
23935 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
23936 FE_TONEAREST.
23937 * math/feholdexcpt.c (feholdexcept): Return 0.
23938 * math/fesetenv.c (__fesetenv): Return 0.
23939 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
23940 argument FE_TONEAREST.
23941 * math/feupdateenv.c (__feupdateenv): Return 0.
23942 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
23943
bfcacbde
RM
239442013-06-18 Roland McGrath <roland@hack.frob.com>
23945
23946 * elf/rtld-Rules (rtld-compile-command.S): New variable.
23947 (rtld-compile-command.s, rtld-compile-command.c): New variables.
23948 ($(objpfx)rtld-%.os rules): Use them.
23949
e55a9b25
AZ
239502013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23951
23952 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
23953 fields.
23954
346d65b3
RM
239552013-06-17 Roland McGrath <roland@hack.frob.com>
23956
12086fb4
RM
23957 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
23958 length of target pattern, then descending length of dependency pattern.
23959 * configure.in (AWK): Require gawk 3.1.2 or newer.
23960 * manual/install.texi (Tools for Compilation): Say that we do.
23961 * configure: Regenerated.
23962
346d65b3
RM
23963 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
23964 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
23965 * scripts/sysd-rules.awk: ... this new script.
23966 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
23967 than a glob-style pattern.
23968
1a846317
JM
239692013-06-17 Joseph Myers <joseph@codesourcery.com>
23970
23971 * math/test-misc.c (main): Do not treat incorrectly rounded
23972 conversions as failure unless ROUNDING_TESTS passes.
23973
8fc75e6f
JM
239742013-06-15 Joseph Myers <joseph@codesourcery.com>
23975
3711a167
JM
23976 [BZ #15631]
23977 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
23978 restore exception state around main square root computation, then
23979 check for inexactness explicitly.
23980
8fc75e6f
JM
23981 * math/libm-test.inc (fma_test_data): Add another test.
23982
61dd6208
SP
239832013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23984
adf23d2c
SP
23985 * manual/threads.texi (Non-POSIX Extensions): New document
23986 node. Document pthread_getattr_default_np and
23987 pthread_setattr_default_np.
23988
61dd6208
SP
23989 * Versions.def (libpthread): Add GLIBC_2.18.
23990 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
23991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23992 Likewise.
23993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23994 Likewise.
23995 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23996 Likewise.
23997 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23998 Likewise.
23999 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
24000 Likewise.
24001 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24002 Likewise.
24003 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24004 Likewise.
24005 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
24006 Likewise.
24007 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
24008 Likewise.
24009
d086fc7b
LD
240102013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24011
24012 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24013 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
24014
747ef469
SP
240152013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24016 H.J. Lu <hjl.tools@gmail.com>
24017
24018 [BZ #15627]
24019 * sysdeps/x86_64/rtld-memset.c: Remove file.
24020 * sysdeps/x86_64/rtld-memset.S: New file.
24021
1b2feed2
JM
240222013-06-14 Joseph Myers <joseph@codesourcery.com>
24023
24024 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
24025 (test_in_one_mode): Take arguments for whether the rounding mode
24026 is supported for each floating-point type.
24027 (do_test): Pass new arguments to test_in_one_mode using
24028 ROUNDING_TESTS.
24029
a58ad3f8
RM
240302013-06-13 Roland McGrath <roland@hack.frob.com>
24031
24032 * posix/tst-waitid.c (do_test): Distinguish different instances of
24033 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
24034 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
24035 before entering the kernel for waitpid.
24036
c204ab28
SP
240372013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24038
24039 * NEWS: Fix note on clock function precision. Text by Roland
24040 McGrath.
24041
f4a29fba
RM
240422013-06-13 Roland McGrath <roland@hack.frob.com>
24043
24044 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
24045 it into place only when and if the sanity check passes.
24046
1f24b9ad
JM
240472013-06-13 Joseph Myers <joseph@codesourcery.com>
24048
24049 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
24050 output for whether conversion result is exact. Take argument
24051 indicating whether type is IBM long double.
24052 (round_for_all): Change need_exact field to ibm_ld.
24053 * stdlib/tst-strtod-round.c (struct exactness): New type.
24054 (struct test): Change bool ld_ok field to struct exactness exact.
24055 (TEST): Update all definitions for change to field.
24056 (tests): Regenerate array contents.
24057 (test_in_one_mode): Take pointer to new field instead of old ld_ok
24058 field value. Check for IBM long double here.
24059 (do_test): Update calls to test_in_one_mode.
24060
58206c68
SP
240612013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24062
24063 [BZ #12515]
24064 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
24065 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
24066
2d6f4c5b 240672013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
24068
24069 [BZ #15605]
24070 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
24071 generated by the compiler on loop optimizations.
24072 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
24073 general definitions.
24074
94f2c076
JM
240752013-06-12 Joseph Myers <joseph@codesourcery.com>
24076
24077 * math/bug-nextafter.c: Include <math-tests.h>.
24078 (main): Only test for exceptions if EXCEPTION_TESTS is true for
24079 the relevant type.
24080 * math/bug-nexttoward.c: Include <math-tests.h>.
24081 (main): Only test for exceptions if EXCEPTION_TESTS is true for
24082 the relevant type.
24083 * math/test-misc.c: Include <math-tests.h>.
24084 (main): Only test for exceptions if EXCEPTION_TESTS is true for
24085 the relevant type.
24086
e0e50a0a
AJ
240872013-06-12 Andreas Jaeger <aj@suse.de>
24088
24089 * po/ia.po: Update Interlingua translation from translation
24090 project.
24091
25061094
SP
240922013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24093
24094 * include/fenv.h: Include stdbool.h.
24095 (struct rm_ctx): New structure.
24096 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
24097 Define macro.
24098 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
24099 (SET_RESTORE_ROUNDF): Likewise.
24100 (SET_RESTORE_ROUNDL): Likewise.
24101 (SET_RESTORE_ROUND_NOEX): Likewise.
24102 (SET_RESTORE_ROUND_NOEXF): Likewise.
24103 (SET_RESTORE_ROUND_NOEXL): Likewise.
24104 (SET_RESTORE_ROUND_53BIT): Likewise.
24105 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
24106 (libc_feresetround_noexf_ctx): Likewise.
24107 (libc_feresetround_noexl_ctx): Likewise.
24108 (libc_feholdsetround_53bit_ctx): Likewise.
24109 (libc_feresetround_53bit_ctx): Likewise.
24110 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
24111 (libc_feholdexcept_setround_sse_ctx): New function.
24112 (libc_fesetenv_sse_ctx): Likewise.
24113 (libc_feupdateenv_sse_ctx): Likewise.
24114 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
24115 (libc_feholdexcept_setround_387_ctx): Likewise.
24116 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
24117 (libc_feholdsetround_387_prec_ctx): Likewise.
24118 (libc_feholdsetround_387_ctx): Likewise.
24119 (libc_feholdsetround_387_53bit_ctx): Likewise.
24120 (libc_feholdsetround_sse_ctx): Likewise.
24121 (libc_feresetround_sse_ctx): Likewise.
24122 (libc_feresetround_387_ctx): Likewise.
24123 (libc_feupdateenv_387_ctx): Likewise.
24124 (libc_feholdexcept_setroundf_ctx): Define macro.
24125 (libc_fesetenvf_ctx): Likewise.
24126 (libc_feupdateenvf_ctx): Likewise.
24127 (libc_feholdsetroundf_ctx): Likewise.
24128 (libc_feresetroundf_ctx): Likewise.
24129 (libc_feholdexcept_setround_ctx): Likewise.
24130 (libc_fesetenv_ctx): Likewise.
24131 (libc_feupdateenv_ctx): Likewise.
24132 (libc_feholdsetround_ctx): Likewise.
24133 (libc_feresetround_ctx): Likewise.
24134 (libc_feholdexcept_setroundl_ctx): Likewise.
24135 (libc_feupdateenvl_ctx): Likewise.
24136 (libc_feholdsetroundl_ctx): Likewise.
24137 (libc_feresetroundl_ctx): Likewise.
24138 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
24139 (libc_feresetround_53bit_ctx): Likewise.
24140
59b30555
SP
241412013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24142
24143 * locale/iso-639.def: Convert to UTF-8.
24144
f1d73d30
JM
241452013-06-11 Joseph Myers <joseph@codesourcery.com>
24146
24147 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
24148 (EXCEPTION_TESTS_double): Likewise.
24149 (EXCEPTION_TESTS_long_double): Likewise.
24150 (EXCEPTION_TESTS): Likewise.
24151 * math/libm-test.inc (test_exceptions): Only test exceptions if
24152 EXCEPTION_TESTS (FLOAT).
24153
94aca5e7
SP
241542013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24155
24156 * benchtests/Makefile (string-bench): Add strcpy_chk and
24157 stpcpy_chk.
24158 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
24159 * benchtests/bench-stpcpy_chk.c: New file.
24160 * benchtests/bench-strcpy_chk-ifunc.c: New file.
24161 * benchtests/bench-strcpy_chk.c: New file.
24162 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
24163 code.
24164 (do_test): Likewise.
24165
fac0c5f2
RA
241662013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24167
24168 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
24169 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
24170 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
24171 with tabs where appropriate.
24172 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
24173 dl-procinfo.h.
24174 [PPC_PLATFORM_PPC440]: Likewise.
24175 [PPC_PLATFORM_PPC464]: Likewise.
24176 [PPC_PLATFORM_PPC476]: Likewise.
24177 (_dl_string_platform): Add support for detecting ppc405, ppc440,
24178 ppc464, and ppc476 platform strings merging from ports/
24179 dl-procinfo.h.
24180
f22bc486
AS
241812013-06-11 Andreas Schwab <schwab@suse.de>
24182
24183 [BZ #14991]
24184 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
24185 (from_ucs4_idx): Regenerate.
24186 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
24187 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
24188 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
24189 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
24190 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
24191 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
24192 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
24193 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
24194 from FROM_LOOP and TO_LOOP specific macros.
24195 (BODY): Handle combining characters.
24196 * iconvdata/BIG5HKSCS.irreversible: Update.
24197 * iconvdata/BIG5HKSCS.precomposed: New file.
24198 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
24199 characters.
24200 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
24201
c1f75dc3
SP
242022013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24203
4eacded2
SP
24204 * include/sys/time.h: Fix indentation and add copyright header.
24205
fec799f8
SP
24206 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
24207 (do_test): Likewise.
24208 * string/test-memchr.c (do_one_test): Likewise.
24209 (do_test): Likewise.
24210 * string/test-memcmp.c (do_one_test): Likewise.
24211 (do_test): Likewise.
24212 * string/test-memcpy.c (do_one_test): Likewise.
24213 (do_test): Likewise.
24214 * string/test-memmem.c (do_one_test): Likewise.
24215 (do_test): Likewise.
24216 (do_random_tests): Likewise.
24217 * string/test-memmove.c (do_one_test): Likewise.
24218 (do_test): Likewise.
24219 * string/test-memset.c (do_one_test): Likewise.
24220 (do_test): Likewise.
24221 * string/test-rawmemchr.c (do_one_test): Likewise.
24222 (do_test): Likewise.
24223 * string/test-strcasecmp.c (do_one_test): Likewise.
24224 (do_test): Likewise.
24225 * string/test-strcasestr.c (do_one_test): Likewise.
24226 (do_test): Likewise.
24227 * string/test-strcat.c (do_one_test): Likewise.
24228 (do_test): Likewise.
24229 * string/test-strchr.c (do_one_test): Likewise.
24230 (do_test): Likewise.
24231 * string/test-strcmp.c (do_one_test): Likewise.
24232 (do_test): Likewise.
24233 * string/test-strcpy.c (do_one_test): Likewise.
24234 (do_test): Likewise.
24235 * string/test-string.h: Likewise.
24236 (test_init): Likewise.
24237 * string/test-strlen.c (do_one_test): Likewise.
24238 (do_test): Likewise.
24239 * string/test-strncasecmp.c (do_one_test): Likewise.
24240 (do_test): Likewise.
24241 * string/test-strncat.c (do_one_test): Likewise.
24242 (do_test): Likewise.
24243 * string/test-strncmp.c (do_one_test): Likewise.
24244 (do_test_limit): Likewise.
24245 (do_test): Likewise.
24246 * string/test-strncpy.c (do_one_test): Likewise.
24247 (do_test): Likewise.
24248 * string/test-strnlen.c (do_one_test): Likewise.
24249 (do_test): Likewise.
24250 * string/test-strpbrk.c (do_one_test): Likewise.
24251 (do_test): Likewise.
24252 * string/test-strrchr.c (do_one_test): Likewise.
24253 (do_test): Likewise.
24254 * string/test-strspn.c (do_one_test): Likewise.
24255 (do_test): Likewise.
24256 * string/test-strstr.c (do_one_test): Likewise.
24257 (do_test): Likewise.
24258
97020474
SP
24259 * benchtests/Makefile (string-bench): Add string benchmarks.
24260 * benchtests/bench-bcopy-ifunc.c: New file.
24261 * benchtests/bench-bcopy.c: New file.
24262 * benchtests/bench-bzero-ifunc.c: New file.
24263 * benchtests/bench-bzero.c: New file.
24264 * benchtests/bench-memccpy-ifunc.c: New file.
24265 * benchtests/bench-memccpy.c: New file.
24266 * benchtests/bench-memchr-ifunc.c: New file.
24267 * benchtests/bench-memchr.c: New file.
24268 * benchtests/bench-memcmp-ifunc.c: New file.
24269 * benchtests/bench-memcmp.c: New file.
24270 * benchtests/bench-memmem-ifunc.c: New file.
24271 * benchtests/bench-memmem.c: New file.
24272 * benchtests/bench-memmove-ifunc.c: New file.
24273 * benchtests/bench-memmove.c: New file.
24274 * benchtests/bench-mempcpy-ifunc.c: New file.
24275 * benchtests/bench-mempcpy.c: New file.
24276 * benchtests/bench-memset-ifunc.c: New file.
24277 * benchtests/bench-memset.c: New file.
24278 * benchtests/bench-rawmemchr-ifunc.c: New file.
24279 * benchtests/bench-rawmemchr.c: New file.
24280 * benchtests/bench-stpcpy-ifunc.c: New file.
24281 * benchtests/bench-stpcpy.c: New file.
24282 * benchtests/bench-stpncpy-ifunc.c: New file.
24283 * benchtests/bench-stpncpy.c: New file.
24284 * benchtests/bench-strcasecmp-ifunc.c: New file.
24285 * benchtests/bench-strcasecmp.c: New file.
24286 * benchtests/bench-strcasestr-ifunc.c: New file.
24287 * benchtests/bench-strcasestr.c: New file.
24288 * benchtests/bench-strcat-ifunc.c: New file.
24289 * benchtests/bench-strcat.c: New file.
24290 * benchtests/bench-strchr-ifunc.c: New file.
24291 * benchtests/bench-strchr.c: New file.
24292 * benchtests/bench-strchrnul-ifunc.c: New file.
24293 * benchtests/bench-strchrnul.c: New file.
24294 * benchtests/bench-strcmp-ifunc.c: New file.
24295 * benchtests/bench-strcmp.c: New file.
24296 * benchtests/bench-strcpy-ifunc.c: New file.
24297 * benchtests/bench-strcpy.c: New file.
24298 * benchtests/bench-strcspn-ifunc.c: New file.
24299 * benchtests/bench-strcspn.c: New file.
24300 * benchtests/bench-strlen-ifunc.c: New file.
24301 * benchtests/bench-strlen.c: New file.
24302 * benchtests/bench-strncasecmp-ifunc.c: New file.
24303 * benchtests/bench-strncasecmp.c: New file.
24304 * benchtests/bench-strncat-ifunc.c: New file.
24305 * benchtests/bench-strncat.c: New file.
24306 * benchtests/bench-strncmp-ifunc.c: New file.
24307 * benchtests/bench-strncmp.c: New file.
24308 * benchtests/bench-strncpy-ifunc.c: New file.
24309 * benchtests/bench-strncpy.c: New file.
24310 * benchtests/bench-strnlen-ifunc.c: New file.
24311 * benchtests/bench-strnlen.c: New file.
24312 * benchtests/bench-strpbrk-ifunc.c: New file.
24313 * benchtests/bench-strpbrk.c: New file.
24314 * benchtests/bench-strrchr-ifunc.c: New file.
24315 * benchtests/bench-strrchr.c: New file.
24316 * benchtests/bench-strspn-ifunc.c: New file.
24317 * benchtests/bench-strspn.c: New file.
24318 * benchtests/bench-strstr-ifunc.c: New file.
24319 * benchtests/bench-strstr.c: New file.
24320
c1f75dc3
SP
24321 * benchtests/Makefile: Disable parallel execution of targets.
24322 (string-bench): Add memcpy.
24323 (benchset): New variable to store a list of benchmark sets.
24324 (bench-func): Renamed from bench.
24325 (bench-set): New target.
24326 (bench): Depend on bench-func and bench-set.
24327 * benchtests/README: Add section on benchmark sets.
24328 * benchtests/bench-memcpy-ifunc.c: New file.
24329 * benchtests/bench-memcpy.c: New file.
24330 * benchtests/bench-string.h: New file.
24331
50fd745b
AS
243322013-06-11 Andreas Schwab <schwab@suse.de>
24333
24334 [BZ #15577]
24335 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
24336 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
24337 values in the triple.
24338 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
24339 terminator in the group key.
24340
3ee7e9fe
AJ
243412013-06-11 Andreas Jaeger <aj@suse.de>
24342
24343 * po/zh_TW.po: Update Chinese (traditional) translation from
24344 translation project.
24345
89fb6835
SP
243462013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24347
24348 * include/time.h (__clock_gettime): Add libc_hidden_proto.
24349 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
24350 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
24351 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24352 (clock_getcpuclockid): Likewise.
24353 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
24354 Add weak_alias and libc_hidden_def.
24355 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
24356 * rt/clock_gettime.c (clock_gettime): Rename to
24357 __clock_gettime. Add weak_alias and libc_hidden_def.
24358 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
24359 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
24360 __clock_nanosleep. Add weak_alias and libc_hidden_def.
24361 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
24362 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
24363 Likewise.
24364 * rt/clock_settime.c (clock_settime): Rename to
24365 __clock_settime. Add weak_alias and libc_hidden_def.
24366 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
24367
0efa6f8b
JM
243682013-06-10 Joseph Myers <joseph@codesourcery.com>
24369
b8c61b4b
JM
24370 * mach/err_boot.sub: Remove trailing whitespace.
24371 * mach/err_ipc.sub: Likewise.
24372 * mach/err_mach.sub: Likewise.
24373
0efa6f8b
JM
24374 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
24375 (ROUNDING_TESTS_double): Likewise.
24376 (ROUNDING_TESTS_long_double): Likewise.
24377 (ROUNDING_TESTS): Likewise.
24378 * math/libm-test.inc: Include <math-tests.h>.
24379 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
24380 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
24381 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
24382 (IF_ROUND_INIT_FE_UPWARD): Likewise.
24383
50b818bf
SP
243842013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24385
24386 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
24387 of assigning.
24388
60d2f8f3
JM
243892013-06-08 Joseph Myers <joseph@codesourcery.com>
24390
4902d2c3
JM
24391 * sysdeps/gnu/errlist.awk: Do not generate space at end of
24392 otherwise empty TRANS lines.
24393 * sysdeps/gnu/errlist.c: Regenerated.
24394
60d2f8f3
JM
24395 * catgets/gencat.c (error_print): Use (void) in function
24396 definition.
24397 * crypt/crypt_util.c (__init_des): Likewise.
24398 * crypt/speeds.c (Stop): Likewise.
24399 (main): Likewise.
24400 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
24401 * inet/ruserpass.c (token): Likewise.
24402 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
24403 * intl/localealias.c (extend_alias_table): Likewise.
24404 * intl/plural-exp.c (init_germanic_plural): Likewise.
24405 * libio/fcloseall.c (__fcloseall): Likewise.
24406 * libio/genops.c (_IO_flush_all): Likewise.
24407 (_IO_flush_all_linebuffered): Likewise.
24408 (_IO_cleanup): Likewise.
24409 (_IO_iter_begin): Likewise.
24410 (_IO_iter_end): Likewise.
24411 (_IO_list_lock): Likewise.
24412 (_IO_list_unlock): Likewise.
24413 (_IO_list_resetlock): Likewise.
24414 * libio/getchar.c (getchar): Likewise.
24415 * libio/getchar_u.c (getchar_unlocked): Likewise.
24416 * libio/getwchar.c (getwchar): Likewise.
24417 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
24418 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
24419 * login/getpt.c (__getpt): Likewise.
24420 * login/tst-utmp.c (main): Likewise.
24421 * malloc/hooks.c (__malloc_check_init): Likewise.
24422 * malloc/malloc.c (__malloc_stats): Likewise.
24423 * malloc/mtrace.c (tr_break): Likewise.
24424 (mtrace): Likewise.
24425 (muntrace): Likewise.
24426 * misc/fstab.c (endfsent): Likewise.
24427 * misc/getclktck.c (__getclktck): Likewise.
24428 * misc/getdtsz.c (__getdtablesize): Likewise.
24429 * misc/gethostid.c (gethostid): Likewise.
24430 * misc/getpagesize.c (__getpagesize): Likewise.
24431 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
24432 (__get_nprocs): Likewise.
24433 (__get_phys_pages): Likewise.
24434 (__get_avphys_pages): Likewise.
24435 * misc/getttyent.c (getttyent): Likewise.
24436 (setttyent): Likewise.
24437 (endttyent): Likewise.
24438 * misc/getusershell.c (getusershell): Likewise.
24439 (endusershell): Likewise.
24440 (setusershell): Likewise.
24441 (initshells): Likewise.
24442 * misc/hsearch.c (__hdestroy): Likewise.
24443 * misc/sync.c (sync): Likewise.
24444 * misc/syslog.c (closelog_internal): Likewise.
24445 (closelog): Likewise.
24446 * misc/ttyslot.c (ttyslot): Likewise.
24447 * misc/vhangup.c (vhangup): Likewise.
24448 * posix/fork.c (__fork): Likewise.
24449 * posix/getegid.c (__getegid): Likewise.
24450 * posix/geteuid.c (__geteuid): Likewise.
24451 * posix/getgid.c (__getgid): Likewise.
24452 * posix/getpid.c (__getpid): Likewise.
24453 * posix/getppid.c (__getppid): Likewise.
24454 * posix/getuid.c (__getuid): Likewise.
24455 * posix/pause.c (pause): Likewise.
24456 * posix/setpgrp.c (setpgrp): Likewise.
24457 * posix/setsid.c (__setsid): Likewise.
24458 * posix/test-vfork.c (noop): Likewise.
24459 * resolv/gethnamaddr.c (_endhtent): Likewise.
24460 (_gethtent): Likewise.
24461 (ht_endhostent): Likewise.
24462 (gethostent): Likewise.
24463 (dns_service): Likewise.
24464 * stdlib/drand48.c (drand48): Likewise.
24465 * stdlib/lrand48.c (lrand48): Likewise.
24466 * stdlib/mrand48.c (mrand48): Likewise.
24467 * stdlib/rand.c (rand): Likewise.
24468 * stdlib/random.c (__random): Likewise.
24469 * stdlib/setenv.c (clearenv): Likewise.
24470 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
24471 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
24472 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
24473 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
24474 (__get_nprocs): Likewise.
24475 (__get_phys_pages): Likewise.
24476 (__get_avphys_pages): Likewise.
24477 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
24478 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
24479 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
24480 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
24481 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
24482 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
24483 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
24484 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
24485 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
24486 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
24487 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
24488 * sysdeps/mach/hurd/sync.c (sync): Likewise.
24489 * sysdeps/posix/clock.c (clock): Likewise.
24490 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
24491 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
24492 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
24493 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
24494 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
24495 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
24496 (__get_nprocs_conf): Likewise.
24497 (__get_phys_pages): Likewise.
24498 (__get_avphys_pages): Likewise.
24499 * time/clock.c (clock): Likewise.
24500 * time/tzset.c (__tzname_max): Likewise.
24501
2e09a79a
JM
245022013-06-07 Joseph Myers <joseph@codesourcery.com>
24503
24504 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
24505 (__bswap_32): Do not use "register".
24506 * crypt/crypt.c (_ufc_doit_r): Likewise.
24507 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
24508 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
24509 * gmon/gmon.c (__monstartup): Likewise.
24510 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
24511 * hurd/hurdmalloc.c (more_memory): Likewise.
24512 (malloc): Likewise.
24513 (free): Likewise.
24514 (realloc): Likewise.
24515 (malloc_fork_prepare): Likewise.
24516 (malloc_fork_parent): Likewise.
24517 (malloc_fork_child): Likewise.
24518 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
24519 (_svcauth_des): Likewise.
24520 * inet/inet_lnaof.c (inet_lnaof): Likewise.
24521 * inet/inet_net.c (inet_network): Likewise.
24522 * inet/inet_netof.c (inet_netof): Likewise.
24523 * inet/rcmd.c (__validuser2_sa): Likewise.
24524 * io/fts.c (fts_open): Likewise.
24525 (fts_load): Likewise.
24526 (fts_close): Likewise.
24527 (fts_read): Likewise.
24528 (fts_children): Likewise.
24529 (fts_build): Likewise.
24530 (fts_stat): Likewise.
24531 (fts_sort): Likewise.
24532 (fts_alloc): Likewise.
24533 (fts_lfree): Likewise.
24534 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
24535 (_IO_file_xsgetn): Likewise.
24536 (_IO_file_xsgetn_mmap): Likewise.
24537 * libio/iofopncook.c (_IO_cookie_read): Likewise.
24538 (_IO_cookie_write): Likewise.
24539 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
24540 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
24541 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
24542 * malloc/obstack.c (_obstack_begin): Likewise.
24543 (_obstack_begin_1): Likewise.
24544 (_obstack_newchunk): Likewise.
24545 (_obstack_allocated_p): Likewise.
24546 (obstack_free): Likewise.
24547 (_obstack_memory_used): Likewise.
24548 * misc/getttyent.c (getttynam): Likewise.
24549 (getttyent): Likewise.
24550 (skip): Likewise.
24551 (value): Likewise.
24552 * misc/getusershell.c (initshells): Likewise.
24553 * misc/syslog.c (__vsyslog_chk): Likewise.
24554 * misc/ttyslot.c (ttyslot): Likewise.
24555 * nis/nis_hash.c (__nis_hash): Likewise.
24556 * posix/fnmatch_loop.c (FCT): Likewise.
24557 * posix/getconf.c (print_all): Likewise.
24558 (main): Likewise.
24559 * posix/getopt.c (exchange): Likewise.
24560 * posix/glob.c (globfree): Likewise.
24561 (prefix_array): Likewise.
24562 (__glob_pattern_type): Likewise.
24563 * resolv/arpa/nameser.h (NS_GET16): Likewise.
24564 (NS_GET32): Likewise.
24565 (NS_PUT16): Likewise.
24566 (NS_PUT32): Likewise.
24567 * resolv/gethnamaddr.c (getanswer): Likewise.
24568 (gethostbyname2): Likewise.
24569 (gethostbyaddr): Likewise.
24570 (_gethtent): Likewise.
24571 (_gethtbyname2): Likewise.
24572 (_gethtbyaddr): Likewise.
24573 * resolv/ns_print.c (dst_s_get_int16): Likewise.
24574 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
24575 * resolv/res_init.c (__res_vinit): Likewise.
24576 (net_mask): Likewise.
24577 * resolv/res_mkquery.c (outchar): Likewise.
24578 (PRINT): Likewise.
24579 * stdio-common/printf_fp.c (outchar): Likewise.
24580 (PRINT): Likewise.
24581 * stdio-common/printf_fphex.c (outchar): Likewise.
24582 (PRINT): Likewise.
24583 * stdio-common/printf_size.c (outchar): Likewise.
24584 (PRINT): Likewise.
24585 * stdio-common/test_rdwr.c (main): Likewise.
24586 * stdio-common/tfformat.c (matches): Likewise.
24587 * stdio-common/vfprintf.c (outchar): Likewise.
24588 (printf_unknown): Likewise.
24589 (buffered_vfprintf): Likewise.
24590 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
24591 * stdio-common/xbug.c (AppendToBuffer): Likewise.
24592 (ReadFile): Likewise.
24593 * stdlib/qsort.c (SWAP): Likewise.
24594 (_quicksort): Likewise.
24595 * stdlib/setenv.c (__add_to_environ): Likewise.
24596 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
24597 * stdlib/strtol_l.c (__strtol_l): Likewise.
24598 * stdlib/tst-strtod.c (main): Likewise.
24599 * stdlib/tst-strtol.c (main): Likewise.
24600 * stdlib/tst-strtoll.c (main): Likewise.
24601 * string/bits/string2.h (__strcmp_cc): Likewise.
24602 (__strcmp_cg): Likewise.
24603 (__strcspn_c1): Likewise.
24604 (__strcspn_c2): Likewise.
24605 (__strcspn_c3): Likewise.
24606 (__strspn_c1): Likewise.
24607 (__strspn_c2): Likewise.
24608 (__strspn_c3): Likewise.
24609 (__strsep_1c): Likewise.
24610 (__strsep_2c): Likewise.
24611 (__strsep_3c): Likewise.
24612 * string/memccpy.c (__memccpy): Likewise.
24613 * string/stpcpy.c (__stpcpy): Likewise.
24614 * string/strcmp.c (strcmp): Likewise.
24615 * string/strrchr.c (strrchr): Likewise.
24616 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
24617 Likewise.
24618 * sysdeps/mach/hurd/getcwd.c
24619 (_hurd_canonicalize_directory_name_internal): Likewise.
24620 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
24621 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
24622 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
24623 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
24624 Likewise, in both definitions.
24625 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
24626 definitions.
24627 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
24628 64] (__bswap_64): Likewise.
24629 * time/test_time.c (main): Likewise.
24630 * time/tzfile.c (__tzfile_read): Likewise.
24631 (__tzfile_compute): Likewise.
24632 * time/tzset.c (__tzset_parse_tz): Likewise.
24633 (tzset_internal): Likewise.
24634 (compute_change): Likewise.
24635 * wcsmbs/wcscat.c (__wcscat): Likewise.
24636 * wcsmbs/wcschr.c (wcschr): Likewise.
24637 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
24638 * wcsmbs/wcscspn.c (wcscspn): Likewise.
24639 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
24640 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
24641 * wcsmbs/wcsspn.c (wcsspn): Likewise.
24642 * wcsmbs/wcsstr.c (wcsstr): Likewise.
24643 * wcsmbs/wmemchr.c (wmemchr): Likewise.
24644 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
24645 * wcsmbs/wmemset.c (wmemset): Likewise.
24646
9e54314b
JM
246472013-06-06 Joseph Myers <joseph@codesourcery.com>
24648
24649 * scripts/config.guess: Update to version 2013-05-16.
24650 * scripts/config.sub: Update to version 2013-04-24.
24651 * scripts/install-sh: Update to version 2011-11-20.07.
24652 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
24653 * scripts/move-if-change: Update to version 2012-01-06 07:23.
24654
350635a5
OB
246552013-06-06 Ondřej Bílka <neleai@seznam.cz>
24656
24657 * debug/fgetws_u_chk.c: Fix leading whitespaces.
24658 * elf/sln.c: Likewise.
24659 * hurd/hurd/ioctl.h: Likewise.
24660 * hurd/hurdmalloc.c: Likewise.
24661 * hurd/xattr.c: Likewise.
24662 * include/shlib-compat.h: Likewise.
24663 * inet/ruserpass.c: Likewise.
24664 * libio/iofgets_u.c: Likewise.
24665 * libio/iofgetws_u.c: Likewise.
24666 * locale/programs/ld-identification.c: Likewise.
24667 * locale/programs/ld-time.c: Likewise.
24668 * mach/msg-destroy.c: Likewise.
24669 * nss/nss_files/files-netgrp.c: Likewise.
24670 * resolv/res_data.c: Likewise.
24671 * soft-fp/op-1.h: Likewise.
24672 * soft-fp/op-2.h: Likewise.
24673 * soft-fp/op-4.h: Likewise.
24674 * soft-fp/op-common.h: Likewise.
24675 * stdio-common/printf_fphex.c: Likewise.
24676 * stdlib/strtod_l.c: Likewise.
24677 * sunrpc/rpc/clnt.h: Likewise.
24678 * sysdeps/generic/framestate.c: Likewise.
24679 * sysdeps/i386/bsd-_setjmp.S: Likewise.
24680 * sysdeps/i386/bsd-setjmp.S: Likewise.
24681 * sysdeps/i386/__longjmp.S: Likewise.
24682 * sysdeps/i386/setjmp.S: Likewise.
24683 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24684 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24685 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24686 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24687 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24688 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24689 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24690 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24691 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24692 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24693 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24694 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24695 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24696 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24697 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24698 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24699 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24700 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
24701 * sysdeps/ieee754/support.c: Likewise.
24702 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24703 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
24704 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
24705 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
24706 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
24707 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
24708 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
24709 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
24710 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
24711 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
24712 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
24713 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
24714 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
24715 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
24716 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
24717 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
24718 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
24720
44a988af
OB
247212013-06-05 Ondřej Bílka <neleai@seznam.cz>
24722
25506f09 24723 * posix/transbug.c: Remove executable mode.
44a988af 24724
9c84384c
JM
247252013-06-05 Joseph Myers <joseph@codesourcery.com>
24726
24727 * crypt/speeds.c: Remove trailing whitespace.
24728 * dlfcn/default.c: Likewise.
24729 * elf/ifuncdep2.c: Likewise.
24730 * elf/ifuncmain1.c: Likewise.
24731 * elf/ifuncmain1vis.c: Likewise.
24732 * elf/testobj.h: Likewise.
24733 * elf/tst-stackguard1.c: Likewise.
24734 * gmon/sys/gmon.h: Likewise.
24735 * hurd/hurdmsg.c: Likewise.
24736 * hurd/new-fd.c: Likewise.
24737 * hurd/ports-get.c: Likewise.
24738 * iconvdata/ibm1008_420.c: Likewise.
24739 * inet/tst-getni1.c: Likewise.
24740 * inet/tst-getni2.c: Likewise.
24741 * libio/ioungetc.c: Likewise.
24742 * libio/wfiledoalloc.c: Likewise.
24743 * manual/libm-err-tab.pl: Likewise.
24744 * math/w_dremf.c: Likewise.
24745 * misc/ftruncate.c: Likewise.
24746 * posix/bug-glob2.c: Likewise.
24747 * posix/tst-pcre.c: Likewise.
24748 * posix/wait4.c: Likewise.
24749 * resolv/README: Likewise.
24750 * resolv/res_debug.h: Likewise.
24751 * resolv/tst-inet_ntop.c: Likewise.
24752 * setjmp/bug269-setjmp.c: Likewise.
24753 * soft-fp/extended.h: Likewise.
24754 * soft-fp/op-1.h: Likewise.
24755 * soft-fp/op-2.h: Likewise.
24756 * soft-fp/op-4.h: Likewise.
24757 * soft-fp/op-8.h: Likewise.
24758 * soft-fp/testit.c: Likewise.
24759 * stdio-common/bug16.c: Likewise.
24760 * stdlib/random.c: Likewise.
24761 * sunrpc/rpcsvc/rquota.x: Likewise.
24762 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
24763 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24764 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24765 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24766 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24767 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24768 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24769 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24770 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24771 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24772 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24773 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24774 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24775 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24776 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24777 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24778 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24779 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24780 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24781 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24782 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24783 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24784 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
24785 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24786 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24787 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24788 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24789 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24790 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24791 * sysdeps/ieee754/s_lib_version.c: Likewise.
24792 * sysdeps/mach/hurd/check_fds.c: Likewise.
24793 * sysdeps/mach/hurd/getsockname.c: Likewise.
24794 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
24795 * sysdeps/mach/hurd/recvfrom.c: Likewise.
24796 * sysdeps/powerpc/bits/link.h: Likewise.
24797 * sysdeps/powerpc/dl-procinfo.c: Likewise.
24798 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
24799 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
24800 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
24801 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24802 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24803 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
24804 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24805 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
24806 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
24807 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
24808 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24809 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
24810 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
24811 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
24812 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
24813 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24814 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24815 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
24816 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24817 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24818 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
24819 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24820 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24821 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
24822 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24823 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24824 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24825 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24826 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24827 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24828 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24829 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24830 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24831 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
24832 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24833 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
24834 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24835 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
24836 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
24837 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
24838 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
24839 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
24840 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
24841 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24842 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
24843 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
24844 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24845 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
24846 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
24847 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24848 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24849 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24850 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24851 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
24852 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
24853 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
24854 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24855 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
24856 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
24857 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
24858 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
24859 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
24860 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24861 * sysdeps/powerpc/sysdep.h: Likewise.
24862 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24863 * sysdeps/s390/s390-64/sub_n.S: Likewise.
24864 * sysdeps/sh/dl-trampoline.S: Likewise.
24865 * sysdeps/sh/memset.S: Likewise.
24866 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
24867 * sysdeps/sh/strlen.S: Likewise.
24868 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
24869 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
24870 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
24871 * sysdeps/sparc/sparc32/rem.S: Likewise.
24872 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
24873 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
24874 * sysdeps/sparc/sparc32/strchr.S: Likewise.
24875 * sysdeps/sparc/sparc32/udiv.S: Likewise.
24876 * sysdeps/sparc/sparc32/urem.S: Likewise.
24877 * sysdeps/sparc/sparc64/add_n.S: Likewise.
24878 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24879 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
24880 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
24881 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
24882 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
24883 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
24884 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
24885 * sysdeps/unix/bsd/times.c: Likewise.
24886 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
24887 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
24888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
24889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
24890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
24891 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
24892 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
24893 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
24894 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
24895 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
24896 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
24897 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
24898 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
24899 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24900 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
24901 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
24902 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
24903 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
24904 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
24905 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
24906 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
24907 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
24908 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24909 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
24910 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
24911 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
24912 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
24913 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24914 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
24915 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
24916 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
24917 * sysdeps/x86_64/strcspn.S: Likewise.
24918
869378a5
RA
249192013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24920
24921 * locale/C-translit.h: Revert #include <stdint.h> because this is a
24922 generated file. Regenerate properly from gen-translit.pl.
24923 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
24924 locale/C-translit.h.
24925
840e2943
AS
249262013-06-05 Andreas Schwab <schwab@suse.de>
24927
24928 [BZ #15100]
24929 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
24930 week as 6 instead of -1.
24931 * time/tst-strptime.c (day_tests): Add test case.
24932
4c60cb0c
SP
249332013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24934
24935 * sysdeps/generic/math_private.h
24936 (libc_feholdexcept_setround_53bit): Replace with
24937 libc_feholdsetround_53bit.
24938 (libc_feupdateenv_53bit): Replace with
24939 libc_feresetround_53bit.
24940 (SET_RESTORE_ROUND_53BIT): Adjust.
24941
d180203e
SP
249422013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24943
96df079a
SP
24944 * string/test-strchrnul.c: Add copyright header.
24945
d180203e
SP
24946 * posix/tst-getaddrinfo4.c: Increase test timeout.
24947
8b0ccb2d
CD
249482013-06-03 Carlos O'Donell <carlos@redhat.com>
24949
24950 [BZ #15536]
24951 * math/libm-test.inc (MAX_EXP): Remove
24952 (MIN_EXP): Define.
24953 (ulp): Use MIN_EXP - MANT_DIG.
24954 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
24955
3b3c4d40
CD
249562013-05-31 Carlos O'Donell <carlos@redhat.com>
24957
24958 * po/be.po: Revert last change.
24959 * po/zh_CN.po: Likewise.
24960 * po/header.pot: Likewise.
24961
fab7ce3f
JM
249622013-05-31 Joseph Myers <joseph@codesourcery.com>
24963
24964 * Makefile ($(common-objpfx)linkobj/libc.so): Define
24965 link-libc-deps to empty as target-specific variable.
24966 * Makerules (link-libc-args): New variable.
24967 (libc-for-link): Likewise.
24968 (link-libc-deps): Likewise.
24969 (lib%.so): Depend on $(link-libc-deps). Link with
24970 $(link-libc-args).
24971 (build-module): Link with $(link-libc-args).
24972 (build-module-asneeded): Likewise.
24973 (build-module-helper-objlist): Filter out $(link-libc-deps) from
24974 list of objects.
24975 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
24976 target-specific variable.
24977 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
24978 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
24979 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
24980 libc.
24981 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
24982 libc and ld.so.
24983 ($(objpfx)libpcprofile.so): Likewise.
24984 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
24985 libc_nonshared.a.
24986 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
24987 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
24988 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
24989 $(link-libc-deps).
24990 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
24991 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
24992 * login/Makefile ($(objpfx)libutil.so): Likewise.
24993 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
24994 * math/Makefile ($(objpfx)libm.so): Likewise.
24995 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
24996 $(objpfx)libnsl.so): Define libc-for-link as target-specific
24997 variable instead of depending directly on libc.
24998 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
24999 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
25000 $(link-libc-deps).
25001 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
25002 libc.
25003 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
25004 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
25005 ($(objpfx)libanl.so): Likewise.
25006 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
25007 ld.so.
25008 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
25009 $(link-libc-deps).
25010 * sysdeps/i386/fpu/Makefile: Remove file.
25011 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
25012 ($(objpfx)libm.so): Remove dependency on ld.so.
25013
eca5920c
PF
250142013-05-30 Patsy Franklin <pfrankli@redhat.com>
25015
25016 [BZ # 15553]
25017 * nis/yp_xdr.c (XDRMAXNAME): Define.
25018 (XDRMAXRECORD): Define.
25019 (xdr_domainname): Use XDRMAXNAME.
25020 (xdr_mapname): Likewise.
25021 (xdr_peername): Likewise.
25022 (xdr_keydat): Use XDRMAXRECORD.
25023 (xdr_valdat): Likewise.
25024
250252013-05-30 Jeff Law <law@redhat.com>
96945714
JL
25026
25027 [BZ #14256]
25028 * manual/errno.texi (ESTALE): Update to account for more than
25029 just NFS file systems.
25030 * sysdeps/gnu/errlist.c: Regenerated.
25031
b9375348
SP
250322013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25033
25034 [BZ #15465]
25035 * elf/Makefile (tests): Add tst-null-argv.
25036 (modules-names): Add tst-null-argv-lib.
25037 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
25038 (tst-null-argv-ENV): Set environment for tst-null-argv.
25039 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
25040 (RTLD_PROGNAME): New macro.
25041 * elf/tst-null-argv.c: New test case.
25042 * elf/tst-null-argv-lib.c: Library for test case.
25043 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
25044 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
25045 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
25046 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
25047 * elf/dl-init.c (call_init): Likewise.
25048 (_dl_init): Likewise.
25049 * elf/dl-load.c (print_search_path): Likewise.
25050 (_dl_map_object): Likewise.
25051 * elf/dl-lookup.c (do_lookup_x): Likewise.
25052 (add_dependency): Likewise.
25053 (_dl_lookup_symbol_x): Likewise.
25054 (_dl_debug_bindings): Likewise.
25055 * elf/dl-open.c (_dl_show_scope): Likewise.
25056 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
25057 * elf/dl-version.c (match_symbol): Likewise.
25058 (_dl_check_map_versions): Likewise.
25059 * elf/rtld.c (dl_main): Likewise.
25060 (print_unresolved): Use RTLD_PROGNAME.
25061 (print_missing_version): Likewise.
25062 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
25063 (elf_machine_rela): Likewise.
25064 * sysdeps/powerpc/powerpc32/dl-machine.c
25065 (__process_machine_rela): Likewise.
25066 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25067 Likewise.
25068 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
25069 Likewise.
25070 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
25071 Likewise.
25072 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25073 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
25074 Likewise.
25075 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
25076 Likewise.
25077 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
25078
8a9f20c8
CD
250792013-05-28 Carlos O'Donell <carlos@redhat.com>
25080
25081 * po/be.po: Add descriptive title.
25082 * po/zh_CN.po: Likewise.
25083 * po/header.pot: Likewise.
25084
0e60d68e
MF
250852013-05-28 Mike Frysinger <vapier@gentoo.org>
25086
25087 * locale/programs/locarchive.c (create_archive): Inlucde fname in
25088 error message.
25089 (enlarge_archive): Likewise.
25090
56b672e9
BN
250912013-05-28 Ben North <ben@redfrontdoor.org>
25092
25093 * manual/arith.texi (frexp): It is the magnitude of the return
25094 value which lies in [0.5, 1), not the return value itself.
25095
5e056687
AZ
250962013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25097
25098 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25099
2b66ef5d
TS
251002013-05-26 Thomas Schwinge <thomas@codesourcery.com>
25101
528c2405
TS
25102 * stdio-common/bug26.c (main): Correct fscanf template.
25103
07b4c13d
TS
25104 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
25105 declare _dl_skip_args.
25106
ec9dd97c
TS
25107 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
25108 Don't declare.
25109
2b66ef5d
TS
25110 * manual/platform.texi: Add missing @end deftypefun.
25111
4f8dfe27
JM
251122013-05-24 Joseph Myers <joseph@codesourcery.com>
25113
0323d086
JM
25114 [BZ #15529]
25115 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
25116 bit of mantissa of 2^16382.
25117 * math/libm-test.inc (hypot_test_data): Add more tests.
25118
dd4259b9
JM
25119 * math/libm-test.inc: Add drem and pow10 to list of tested
25120 functions.
25121 (pow10_test): New function.
25122 (drem_test): Likewise.
25123 (drem_test_tonearest): Likewise.
25124 (drem_test_towardzero): Likewise.
25125 (drem_test_downward): Likewise.
25126 (drem_test_upward): Likewise.
25127 (main): Call the new functions.
25128
4f8dfe27
JM
25129 * math/libm-test.inc (finite_test_data): Remove.
25130 (finite_test): Run tests from isfinite_test_data.
25131 (gamma_test_data): Remove.
25132 (gamma_test): Run tests from lgamma_test_data.
25133 * sysdeps/i386/fpu/libm-test-ulps: Update.
25134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25135
d116b7c4
AZ
251362013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25137
25138 * manual/platform.texi: Add PowerPC PPR function set documentation.
25139 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
25140 implementation.
25141
e96e3767
CD
251422013-05-24 Carlos O'Donell <carlos@redhat.com>
25143
25144 * math/libm-test.inc (MAX_EXP): Define.
25145 (ULPDIFF): Define.
25146 (ulp): New function.
25147 (check_float_internal): Use ULPDIFF.
25148 (cpow_test): Disable failing test.
25149 (check_ulp): Test ulp() implemetnation.
25150 (main): Call check_ulp before starting tests.
25151
b679a606
JM
251522013-05-24 Joseph Myers <joseph@codesourcery.com>
25153
e8bdba36
JM
25154 * math/gen-libm-test.pl (generate_testfile): Do not handle
25155 START_DATA and END_DATA.
25156 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
25157 END_DATA.
25158 (acos_tonearest_test_data): Likewise.
25159 (acos_towardzero_test_data): Likewise.
25160 (acos_downward_test_data): Likewise.
25161 (acos_upward_test_data): Likewise.
25162 (acosh_test_data): Likewise.
25163 (asin_test_data): Likewise.
25164 (asin_tonearest_test_data): Likewise.
25165 (asin_towardzero_test_data): Likewise.
25166 (asin_downward_test_data): Likewise.
25167 (asin_upward_test_data): Likewise.
25168 (asinh_test_data): Likewise.
25169 (atan_test_data): Likewise.
25170 (atanh_test_data): Likewise.
25171 (atan2_test_data): Likewise.
25172 (cabs_test_data): Likewise.
25173 (cacos_test_data): Likewise.
25174 (cacosh_test_data): Likewise.
25175 (carg_test_data): Likewise.
25176 (casin_test_data): Likewise.
25177 (casinh_test_data): Likewise.
25178 (catan_test_data): Likewise.
25179 (catanh_test_data): Likewise.
25180 (cbrt_test_data): Likewise.
25181 (ccos_test_data): Likewise.
25182 (ccosh_test_data): Likewise.
25183 (ceil_test_data): Likewise.
25184 (cexp_test_data): Likewise.
25185 (cimag_test_data): Likewise.
25186 (clog_test_data): Likewise.
25187 (clog10_test_data): Likewise.
25188 (conj_test_data): Likewise.
25189 (copysign_test_data): Likewise.
25190 (cos_test_data): Likewise.
25191 (cos_tonearest_test_data): Likewise.
25192 (cos_towardzero_test_data): Likewise.
25193 (cos_downward_test_data): Likewise.
25194 (cos_upward_test_data): Likewise.
25195 (cosh_test_data): Likewise.
25196 (cosh_tonearest_test_data): Likewise.
25197 (cosh_towardzero_test_data): Likewise.
25198 (cosh_downward_test_data): Likewise.
25199 (cosh_upward_test_data): Likewise.
25200 (cpow_test_data): Likewise.
25201 (cproj_test_data): Likewise.
25202 (creal_test_data): Likewise.
25203 (csin_test_data): Likewise.
25204 (csinh_test_data): Likewise.
25205 (csqrt_test_data): Likewise.
25206 (ctan_test_data): Likewise.
25207 (ctan_tonearest_test_data): Likewise.
25208 (ctan_towardzero_test_data): Likewise.
25209 (ctan_downward_test_data): Likewise.
25210 (ctan_upward_test_data): Likewise.
25211 (ctanh_test_data): Likewise.
25212 (ctanh_tonearest_test_data): Likewise.
25213 (ctanh_towardzero_test_data): Likewise.
25214 (ctanh_downward_test_data): Likewise.
25215 (ctanh_upward_test_data): Likewise.
25216 (erf_test_data): Likewise.
25217 (erfc_test_data): Likewise.
25218 (exp_test_data): Likewise.
25219 (exp_tonearest_test_data): Likewise.
25220 (exp_towardzero_test_data): Likewise.
25221 (exp_downward_test_data): Likewise.
25222 (exp_upward_test_data): Likewise.
25223 (exp10_test_data): Likewise.
25224 (exp2_test_data): Likewise.
25225 (expm1_test_data): Likewise.
25226 (fabs_test_data): Likewise.
25227 (fdim_test_data): Likewise.
25228 (finite_test_data): Likewise.
25229 (floor_test_data): Likewise.
25230 (fma_test_data): Likewise.
25231 (fma_towardzero_test_data): Likewise.
25232 (fma_downward_test_data): Likewise.
25233 (fma_upward_test_data): Likewise.
25234 (fmax_test_data): Likewise.
25235 (fmin_test_data): Likewise.
25236 (fmod_test_data): Likewise.
25237 (fpclassify_test_data): Likewise.
25238 (frexp_test_data): Likewise.
25239 (gamma_test_data): Likewise.
25240 (hypot_test_data): Likewise.
25241 (ilogb_test_data): Likewise.
25242 (isfinite_test_data): Likewise.
25243 (isgreater_test_data): Likewise.
25244 (isgreaterequal_test_data): Likewise.
25245 (isinf_test_data): Likewise.
25246 (isless_test_data): Likewise.
25247 (islessequal_test_data): Likewise.
25248 (islessgreater_test_data): Likewise.
25249 (isnan_test_data): Likewise.
25250 (isnormal_test_data): Likewise.
25251 (issignaling_test_data): Likewise.
25252 (isunordered_test_data): Likewise.
25253 (j0_test_data): Likewise.
25254 (j1_test_data): Likewise.
25255 (jn_test_data): Likewise.
25256 (ldexp_test_data): Likewise.
25257 (lgamma_test_data): Likewise.
25258 (lrint_test_data): Likewise.
25259 (lrint_tonearest_test_data): Likewise.
25260 (lrint_towardzero_test_data): Likewise.
25261 (lrint_downward_test_data): Likewise.
25262 (lrint_upward_test_data): Likewise.
25263 (llrint_test_data): Likewise.
25264 (llrint_tonearest_test_data): Likewise.
25265 (llrint_towardzero_test_data): Likewise.
25266 (llrint_downward_test_data): Likewise.
25267 (llrint_upward_test_data): Likewise.
25268 (log_test_data): Likewise.
25269 (log10_test_data): Likewise.
25270 (log1p_test_data): Likewise.
25271 (log2_test_data): Likewise.
25272 (logb_test_data): Likewise.
25273 (logb_downward_test_data): Likewise.
25274 (lround_test_data): Likewise.
25275 (llround_test_data): Likewise.
25276 (modf_test_data): Likewise.
25277 (nearbyint_test_data): Likewise.
25278 (nextafter_test_data): Likewise.
25279 (nexttoward_test_data): Likewise.
25280 (pow_test_data): Likewise.
25281 (pow_tonearest_test_data): Likewise.
25282 (pow_towardzero_test_data): Likewise.
25283 (pow_downward_test_data): Likewise.
25284 (pow_upward_test_data): Likewise.
25285 (remainder_test_data): Likewise.
25286 (remainder_tonearest_test_data): Likewise.
25287 (remainder_towardzero_test_data): Likewise.
25288 (remainder_downward_test_data): Likewise.
25289 (remainder_upward_test_data): Likewise.
25290 (remquo_test_data): Likewise.
25291 (rint_test_data): Likewise.
25292 (rint_tonearest_test_data): Likewise.
25293 (rint_towardzero_test_data): Likewise.
25294 (rint_downward_test_data): Likewise.
25295 (rint_upward_test_data): Likewise.
25296 (round_test_data): Likewise.
25297 (scalb_test_data): Likewise.
25298 (scalbn_test_data): Likewise.
25299 (scalbln_test_data): Likewise.
25300 (signbit_test_data): Likewise.
25301 (sin_test_data): Likewise.
25302 (sin_tonearest_test_data): Likewise.
25303 (sin_towardzero_test_data): Likewise.
25304 (sin_downward_test_data): Likewise.
25305 (sin_upward_test_data): Likewise.
25306 (sincos_test_data): Likewise.
25307 (sinh_test_data): Likewise.
25308 (sinh_tonearest_test_data): Likewise.
25309 (sinh_towardzero_test_data): Likewise.
25310 (sinh_downward_test_data): Likewise.
25311 (sinh_upward_test_data): Likewise.
25312 (sqrt_test_data): Likewise.
25313 (tan_test_data): Likewise.
25314 (tan_tonearest_test_data): Likewise.
25315 (tan_towardzero_test_data): Likewise.
25316 (tan_downward_test_data): Likewise.
25317 (tan_upward_test_data): Likewise.
25318 (tanh_test_data): Likewise.
25319 (tgamma_test_data): Likewise.
25320 (trunc_test_data): Likewise.
25321 (y0_test_data): Likewise.
25322 (y1_test_data): Likewise.
25323 (yn_test_data): Likewise.
25324 (significand_test_data): Likewise.
25325
b679a606
JM
25326 * math/gen-libm-test.pl (@functions): Remove variable.
25327 (generate_testfile): Don't handle START and END lines.
25328 * math/libm-test.inc (START): New macro.
25329 (END): Likewise.
25330 (END_COMPLEX): Likewise.
25331 (acos_test): Use END macro without arguments.
25332 (acos_test_tonearest): Likewise.
25333 (acos_test_towardzero): Likewise.
25334 (acos_test_downward): Likewise.
25335 (acos_test_upward): Likewise.
25336 (acosh_test): Likewise.
25337 (asin_test): Likewise.
25338 (asin_test_tonearest): Likewise.
25339 (asin_test_towardzero): Likewise.
25340 (asin_test_downward): Likewise.
25341 (asin_test_upward): Likewise.
25342 (asinh_test): Likewise.
25343 (atan_test): Likewise.
25344 (atanh_test): Likewise.
25345 (atan2_test): Likewise.
25346 (cabs_test): Likewise.
25347 (cacos_test): Use END_COMPLEX macro without arguments.
25348 (cacosh_test): Likewise.
25349 (carg_test): Use END macro without arguments.
25350 (casin_test): Use END_COMPLEX macro without arguments.
25351 (casinh_test): Likewise.
25352 (catan_test): Likewise.
25353 (catanh_test): Likewise.
25354 (cbrt_test): Use END macro without arguments.
25355 (ccos_test): Use END_COMPLEX macro without arguments.
25356 (ccosh_test): Likewise.
25357 (ceil_test): Use END macro without arguments.
25358 (cexp_test): Use END_COMPLEX macro without arguments.
25359 (cimag_test): Use END macro without arguments.
25360 (clog_test): Use END_COMPLEX macro without arguments.
25361 (clog10_test): Likewise.
25362 (conj_test): Likewise.
25363 (copysign_test): Use END macro without arguments.
25364 (cos_test): Likewise.
25365 (cos_test_tonearest): Likewise.
25366 (cos_test_towardzero): Likewise.
25367 (cos_test_downward): Likewise.
25368 (cos_test_upward): Likewise.
25369 (cosh_test): Likewise.
25370 (cosh_test_tonearest): Likewise.
25371 (cosh_test_towardzero): Likewise.
25372 (cosh_test_downward): Likewise.
25373 (cosh_test_upward): Likewise.
25374 (cpow_test): Use END_COMPLEX macro without arguments.
25375 (cproj_test): Likewise.
25376 (creal_test): Use END macro without arguments.
25377 (csin_test): Use END_COMPLEX macro without arguments.
25378 (csinh_test): Likewise.
25379 (csqrt_test): Likewise.
25380 (ctan_test): Likewise.
25381 (ctan_test_tonearest): Likewise.
25382 (ctan_test_towardzero): Likewise.
25383 (ctan_test_downward): Likewise.
25384 (ctan_test_upward): Likewise.
25385 (ctanh_test): Likewise.
25386 (ctanh_test_tonearest): Likewise.
25387 (ctanh_test_towardzero): Likewise.
25388 (ctanh_test_downward): Likewise.
25389 (ctanh_test_upward): Likewise.
25390 (erf_test): Use END macro without arguments.
25391 (erfc_test): Likewise.
25392 (exp_test): Likewise.
25393 (exp_test_tonearest): Likewise.
25394 (exp_test_towardzero): Likewise.
25395 (exp_test_downward): Likewise.
25396 (exp_test_upward): Likewise.
25397 (exp10_test): Likewise.
25398 (exp2_test): Likewise.
25399 (expm1_test): Likewise.
25400 (fabs_test): Likewise.
25401 (fdim_test): Likewise.
25402 (finite_test): Likewise.
25403 (floor_test): Likewise.
25404 (fma_test): Likewise.
25405 (fma_test_towardzero): Likewise.
25406 (fma_test_downward): Likewise.
25407 (fma_test_upward): Likewise.
25408 (fmax_test): Likewise.
25409 (fmin_test): Likewise.
25410 (fmod_test): Likewise.
25411 (fpclassify_test): Likewise.
25412 (frexp_test): Likewise.
25413 (gamma_test): Likewise.
25414 (hypot_test): Likewise.
25415 (ilogb_test): Likewise.
25416 (isfinite_test): Likewise.
25417 (isgreater_test): Likewise.
25418 (isgreaterequal_test): Likewise.
25419 (isinf_test): Likewise.
25420 (isless_test): Likewise.
25421 (islessequal_test): Likewise.
25422 (islessgreater_test): Likewise.
25423 (isnan_test): Likewise.
25424 (isnormal_test): Likewise.
25425 (issignaling_test): Likewise.
25426 (isunordered_test): Likewise.
25427 (j0_test): Likewise.
25428 (j1_test): Likewise.
25429 (jn_test): Likewise.
25430 (ldexp_test): Likewise.
25431 (lgamma_test): Likewise.
25432 (lrint_test): Likewise.
25433 (lrint_test_tonearest): Likewise.
25434 (lrint_test_towardzero): Likewise.
25435 (lrint_test_downward): Likewise.
25436 (lrint_test_upward): Likewise.
25437 (llrint_test): Likewise.
25438 (llrint_test_tonearest): Likewise.
25439 (llrint_test_towardzero): Likewise.
25440 (llrint_test_downward): Likewise.
25441 (llrint_test_upward): Likewise.
25442 (log_test): Likewise.
25443 (log10_test): Likewise.
25444 (log1p_test): Likewise.
25445 (log2_test): Likewise.
25446 (logb_test): Likewise.
25447 (logb_test_downward): Likewise.
25448 (lround_test): Likewise.
25449 (llround_test): Likewise.
25450 (modf_test): Likewise.
25451 (nearbyint_test): Likewise.
25452 (nextafter_test): Likewise.
25453 (nexttoward_test): Likewise.
25454 (pow_test): Likewise.
25455 (pow_test_tonearest): Likewise.
25456 (pow_test_towardzero): Likewise.
25457 (pow_test_downward): Likewise.
25458 (pow_test_upward): Likewise.
25459 (remainder_test): Likewise.
25460 (remainder_test_tonearest): Likewise.
25461 (remainder_test_towardzero): Likewise.
25462 (remainder_test_downward): Likewise.
25463 (remainder_test_upward): Likewise.
25464 (remquo_test): Likewise.
25465 (rint_test): Likewise.
25466 (rint_test_tonearest): Likewise.
25467 (rint_test_towardzero): Likewise.
25468 (rint_test_downward): Likewise.
25469 (rint_test_upward): Likewise.
25470 (round_test): Likewise.
25471 (scalb_test): Likewise.
25472 (scalbn_test): Likewise.
25473 (scalbln_test): Likewise.
25474 (signbit_test): Likewise.
25475 (sin_test): Likewise.
25476 (sin_test_tonearest): Likewise.
25477 (sin_test_towardzero): Likewise.
25478 (sin_test_downward): Likewise.
25479 (sin_test_upward): Likewise.
25480 (sincos_test): Likewise.
25481 (sinh_test): Likewise.
25482 (sinh_test_tonearest): Likewise.
25483 (sinh_test_towardzero): Likewise.
25484 (sinh_test_downward): Likewise.
25485 (sinh_test_upward): Likewise.
25486 (sqrt_test): Likewise.
25487 (tan_test): Likewise.
25488 (tan_test_tonearest): Likewise.
25489 (tan_test_towardzero): Likewise.
25490 (tan_test_downward): Likewise.
25491 (tan_test_upward): Likewise.
25492 (tanh_test): Likewise.
25493 (tgamma_test): Likewise.
25494 (trunc_test): Likewise.
25495 (y0_test): Likewise.
25496 (y1_test): Likewise.
25497 (yn_test): Likewise.
25498 (significand_test): Likewise.
25499
bae143d2
OB
255002013-05-24 Ondřej Bílka <neleai@seznam.cz>
25501
25502 [BZ #15381]
25503 * libio/genops.c (_IO_no_init): Initialize wide struct info.
25504
9323d39b
EM
255052013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
25506
d4ea44a0 25507 [BZ #14894]
9323d39b
EM
25508 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
25509 __ppc_mdoio and __ppc_mdoom.
25510 * manual/platform.texi: Document new functions __ppc_yield,
25511 __ppc_mdoio and __ppc_mdoom.
25512
13e23af7
CD
255132013-05-22 Carlos O'Donell <carlos@redhat.com>
25514
25515 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
25516 (main): Mention "tls" pseudo-hwcap is legacy.
25517 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
25518
351fe550
JM
255192013-05-22 Joseph Myers <joseph@codesourcery.com>
25520
25521 * math/gen-libm-test.pl (parse_args): Output only string of
25522 arguments as text for test name, not full call or descriptions of
25523 tests for extra outputs.
25524 (generate_testfile): Do not pass function name to parse_args.
25525 Generate this_func variable from START.
25526 * math/libm-test.inc (struct test_f_f_data): Rename test_name
25527 field to arg_str.
25528 (struct test_ff_f_data): Likewise.
25529 (test_ff_f_data_nexttoward): Likewise.
25530 (struct test_fi_f_data): Likewise.
25531 (struct test_fl_f_data): Likewise.
25532 (struct test_if_f_data): Likewise.
25533 (struct test_fff_f_data): Likewise.
25534 (struct test_c_f_data): Likewise.
25535 (struct test_f_f1_data): Likewise. Remove field extra_name.
25536 (struct test_fF_f1_data): Likewise.
25537 (struct test_ffI_f1_data): Likewise.
25538 (struct test_c_c_data): Rename test_name field to arg_str.
25539 (struct test_cc_c_data): Likewise.
25540 (struct test_f_i_data): Likewise.
25541 (struct test_ff_i_data): Likewise.
25542 (struct test_f_l_data): Likewise.
25543 (struct test_f_L_data): Likewise.
25544 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
25545 and extra2_name.
25546 (COMMON_TEST_SETUP): New macro.
25547 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
25548 (COMMON_TEST_CLEANUP): Likewise.
25549 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
25550 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
25551 macros.
25552 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
25553 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
25554 macros.
25555 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
25556 (RUN_TEST_fff_f): Take argument string. Call new setup and
25557 cleanup macros.
25558 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
25559 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
25560 macros.
25561 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
25562 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
25563 macros.
25564 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
25565 (RUN_TEST_fF_f1): Take argument string. Call new setup and
25566 cleanup macros.
25567 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
25568 (RUN_TEST_fI_f1): Take argument string. Call new setup and
25569 cleanup macros.
25570 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
25571 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
25572 cleanup macros.
25573 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
25574 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
25575 macros.
25576 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
25577 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
25578 macros.
25579 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
25580 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
25581 macros.
25582 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
25583 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
25584 cleanup macros.
25585 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
25586 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
25587 cleanup macros.
25588 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
25589 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
25590 macros.
25591 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
25592 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
25593 cleanup macros.
25594 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
25595 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
25596 macros.
25597 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
25598 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
25599 macros.
25600 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
25601 (RUN_TEST_fFF_11): Take argument string. Call new setup and
25602 cleanup macros.
25603 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
25604
85118d4d
EBM
256052013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
25606
25607 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
25608 to _sifields.sigfault.
25609 (si_addr_lsb): Define new macro.
25610 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
25611 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25612 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
25613
7a44c18f
CD
256142013-05-03 Carlos O'Donell <carlos at redhat.com>
25615
25616 [BZ #15441]
25617 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
25618 returns -1.
25619 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
25620 null return -1.
25621 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
25622 loading the domain.
25623
b50a7181
JM
256242013-05-22 Joseph Myers <joseph@codesourcery.com>
25625
25626 * math/gen-libm-test.pl (parse_args): Do not include expected
25627 result in test name.
25628 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
25629 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25630 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25631 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25632 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25634
051063c8
SP
256352013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
25636
3ce9e010
SP
25637 * benchtests/Makefile: Sort function entries.
25638
051063c8
SP
25639 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
25640 tanh, asinh, acosh, atanh.
25641 * benchtests/acos-inputs: New file.
25642 * benchtests/acosh-inputs: New file.
25643 * benchtests/asin-inputs: New file.
25644 * benchtests/asinh-inputs: New file.
25645 * benchtests/atanh-inputs: New file.
25646 * benchtests/cosh-inputs: New file.
25647 * benchtests/log-inputs: New file.
25648 * benchtests/sinh-inputs: New file.
25649 * benchtests/tanh-inputs: New file.
25650
47c22455
DL
256512013-05-21 Dmitry V. Levin <ldv@altlinux.org>
25652
25653 [BZ #15339]
25654 * posix/tst-getaddrinfo4.c: New test.
25655 * posix/Makefile (tests): Add it.
25656
3d04f5db
SP
256572013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25658
25659 [BZ #15339]
25660 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
25661 when no services were used.
25662 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
25663 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
25664
d5dd6189
AS
256652013-05-21 Andreas Schwab <schwab@suse.de>
25666
25667 [BZ #15014]
25668 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
25669 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
25670 successful.
25671 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
25672 redundant variable declarations and reallocation of buffer when
25673 parsing as IPv6 address. Always set NSS status when called from
25674 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
25675 buffer too small. Correct computation of needed size.
25676 * nss/Makefile (tests): Add test-digits-dots.
25677 * nss/test-digits-dots.c: New test.
25678
fef94eab
SP
256792013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25680
25681 * benchtests/Makefile: Remove instructions for adding
25682 benchmark tests.
25683 * benchtests/README: New file to explain how to execute and
25684 enhance the benchmark tests.
25685
e39adf43
AS
256862013-05-21 Andreas Schwab <schwab@suse.de>
25687
25688 [BZ #15493]
25689 * setjmp/Makefile (tests): Add tst-sigsetjmp.
25690 * setjmp/tst-sigsetjmp.c: New test.
25691
b2b671b6
OB
256922013-05-20 Ondřej Bílka <neleai@seznam.cz>
25693
25694 * sysdeps/x86_64/memset.S (memset): New implementation.
25695 (__bzero): Likewise.
25696 (__memset_tail): New function.
25697
2d48b41c
OB
256982013-05-20 Ondřej Bílka <neleai@seznam.cz>
25699
25700 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
25701 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
25702 __memcpy_sse2_unaligned ifunc selection.
25703 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25704 Add memcpy-sse2-unaligned.S.
25705 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25706 Add: __memcpy_sse2_unaligned.
25707
f16cc3eb
JM
257082013-05-19 Joseph Myers <joseph@codesourcery.com>
25709
3e694268
JM
25710 [BZ #15490]
25711 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25712 math_force_eval before restoring floating-point envrionment.
25713 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
25714 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
25715 Likewise.
25716 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
25717 <math_private.h>.
25718 (__nearbyintl): Use math_force_eval before restoring
25719 floating-point environment.
25720 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
25721
db62a907
JM
25722 * math/gen-libm-test.pl (special_functions): Remove.
25723 (parse_args): Don't handle TEST_extra. Handle functions with no
25724 return value.
25725 * math/libm-test.inc (struct test_sincos_data): Replace with
25726 struct test_fFF_11_data.
25727 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
25728 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
25729 (sincos_test_data): Change element type to struct
25730 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
25731 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
25732 RUN_TEST_LOOP_sincos.
25733 * math/README.libm-test: Don't mention special handling of
25734 individual functions.
25735 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
25736 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25737 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25738 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25739 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25741
f16cc3eb
JM
25742 * math/gen-libm-test.pl (get_variable): Remove function.
25743 (parse_args): Don't show pointer parameters to call in test
25744 names. Use "extra output N" in test names for extra outputs
25745 rather than naming variables.
25746
3779b5b6
JM
257472013-05-18 Joseph Myers <joseph@codesourcery.com>
25748
2ee094ff
JM
25749 [BZ #15488]
25750 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
25751 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
25752 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
25753 double tests.
25754 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
25755 disable.
25756 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
25757 check_long_double.
25758
3779b5b6
JM
25759 * math/gen-libm-test.pl (@tests): Remove variable.
25760 ($count): Likewise.
25761 (new_test): Remove function.
25762 (show_exceptions): New function.
25763 (special_functions): Use show_exceptions instead of new_test.
25764 (parse_args): Likewise.
25765 (generate_testfile): Pass only function name in generated call to
25766 print_max_error or print_complex_max_error.
25767 (get_ulps): Do not handle complex tests specially.
25768 (output_test): Rename to ...
25769 (get_all_ulps_for_test): ... this. Return a string rather than
25770 printing to a file. Require ulps to be present.
25771 (output_ulps): Generate arrays rather than #defines.
25772 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
25773 (struct ulp_data): New type.
25774 (BUILD_COMPLEX_ULP): Remove macro.
25775 (compare_ulp_data): New function.
25776 (find_ulps): Likewise.
25777 (find_test_ulps): Likewise.
25778 (find_function_ulps): Likewise.
25779 (find_complex_function_ulps): Likewise.
25780 (print_max_error): Determine allowed ulps using
25781 find_function_ulps.
25782 (print_complex_max_error): Determine allowed ulps using
25783 find_complex_function_ulps.
25784 (check_float_internal): Determine max ulps using find_test_ulps.
25785 (check_float): Do not take max_ulp parameter. Update call to
25786 check_float_internal.
25787 (check_complex): Likewise.
25788 (check_int): Do not take max_ulp parameter.
25789 (check_long): Likewise.
25790 (check_bool): Likewise.
25791 (check_longlong): Likewise.
25792 (struct test_f_f_data): Remove max_ulp field.
25793 (struct test_ff_f_data): Likewise.
25794 (struct test_ff_f_data_nexttoward): Likewise.
25795 (struct test_fi_f_data): Likewise.
25796 (struct test_fl_f_data): Likewise.
25797 (struct test_if_f_data): Likewise.
25798 (struct test_fff_f_data): Likewise.
25799 (struct test_c_f_data): Likewise.
25800 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
25801 (struct test_fF_f1_data): Likewise.
25802 (struct test_ffI_f1_data): Likewise.
25803 (struct test_c_c_data): Remove max_ulp field.
25804 (struct test_cc_c_data): Likewise.
25805 (struct test_f_i_data): Likewise.
25806 (struct test_ff_i_data): Likewise.
25807 (struct test_f_l_data): Likewise.
25808 (struct test_f_L_data): Likewise.
25809 (struct test_sincos_data): Likewise.
25810 (RUN_TEST_f_f): Do not handle ulps.
25811 (RUN_TEST_LOOP_f_f): Likewise.
25812 (RUN_TEST_2_f): Likewise.
25813 (RUN_TEST_LOOP_2_f): Likewise.
25814 (RUN_TEST_fff_f): Likewise.
25815 (RUN_TEST_LOOP_fff_f): Likewise.
25816 (RUN_TEST_c_f): Likewise.
25817 (RUN_TEST_LOOP_c_f): Likewise.
25818 (RUN_TEST_f_f1): Likewise.
25819 (RUN_TEST_LOOP_f_f1): Likewise.
25820 (RUN_TEST_fF_f1): Likewise.
25821 (RUN_TEST_LOOP_fF_f1): Likewise.
25822 (RUN_TEST_fI_f1): Likewise.
25823 (RUN_TEST_LOOP_fI_f1): Likewise.
25824 (RUN_TEST_ffI_f1): Likewise.
25825 (RUN_TEST_LOOP_ffI_f1): Likewise.
25826 (RUN_TEST_c_c): Likewise.
25827 (RUN_TEST_LOOP_c_c): Likewise.
25828 (RUN_TEST_cc_c): Likewise.
25829 (RUN_TEST_LOOP_cc_c): Likewise.
25830 (RUN_TEST_f_i): Likewise.
25831 (RUN_TEST_LOOP_f_i): Likewise.
25832 (RUN_TEST_f_i_tg): Likewise.
25833 (RUN_TEST_LOOP_f_i_tg): Likewise.
25834 (RUN_TEST_ff_i_tg): Likewise.
25835 (RUN_TEST_LOOP_ff_i_tg): Likewise.
25836 (RUN_TEST_f_b): Likewise.
25837 (RUN_TEST_LOOP_f_b): Likewise.
25838 (RUN_TEST_f_b_tg): Likewise.
25839 (RUN_TEST_LOOP_f_b_tg): Likewise.
25840 (RUN_TEST_f_l): Likewise.
25841 (RUN_TEST_LOOP_f_l): Likewise.
25842 (RUN_TEST_f_L): Likewise.
25843 (RUN_TEST_LOOP_f_L): Likewise.
25844 (RUN_TEST_sincos): Likewise.
25845 (RUN_TEST_LOOP_sincos): Likewise.
25846
8269107f
JM
258472013-05-17 Joseph Myers <joseph@codesourcery.com>
25848
bb38759d
JM
25849 [BZ #15480]
25850 [BZ #15485]
25851 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
25852 main case of finite arguments, set rounding mode to FE_TONEAREST
25853 and discard exceptions.
25854 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
25855 exceptions.
25856 (remainder_tonearest_test_data): New variable.
25857 (remainder_test_tonearest): New function.
25858 (remainder_towardzero_test_data): New variable.
25859 (remainder_test_towardzero): New function.
25860 (remainder_downward_test_data): New variable.
25861 (remainder_test_downward): New function.
25862 (remainder_upward_test_data): New variable.
25863 (remainder_test_upward): New function.
25864 (main): Call the new test functions.
25865
a00bdcf0
JM
25866 * math/libm-test.inc (struct test_f_f1_data): Remove field
25867 extra_init.
25868 (struct test_fF_f1_data): Likewise.
25869 (struct test_ffI_f1_data): Likewise.
25870 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
25871 based on value of EXTRA_EXPECTED.
25872 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
25873 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
25874 EXTRA_VAR based on value of EXTRA_EXPECTED.
25875 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
25876 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
25877 EXTRA_VAR based on value of EXTRA_EXPECTED.
25878 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
25879 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
25880 EXTRA_VAR based on value of EXTRA_EXPECTED.
25881 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
25882 * math/gen-libm-test.pl (parse_args): Don't output initializers
25883 for extra output values.
25884
de407f79
JM
25885 * math/libm-test.inc (check_int): Expect result to be exactly
25886 equal to expected value and do not handle ulps.
25887 (check_long): Likewise.
25888 (check_longlong): Likewise.
25889
8269107f
JM
25890 * math/libm-test.inc (ceil_test_data): Test for "inexact"
25891 exceptions.
25892 (cimag_test_data): Likewise.
25893 (conj_test_data): Likewise.
25894 (copysign_test_data): Likewise.
25895 (cproj_test_data): Likewise.
25896 (creal_test_data): Likewise.
25897 (fabs_test_data): Likewise.
25898 (fdim_test_data): Likewise.
25899 (finite_test_data): Likewise.
25900 (floor_test_data): Likewise.
25901 (fmax_test_data): Likewise.
25902 (fmin_test_data): Likewise.
25903 (fmod_test_data): Likewise.
25904 (fpclassify_test_data): Likewise.
25905 (frexp_test_data): Likewise.
25906 (ilogb_test_data): Likewise.
25907 (isfinite_test_data): Likewise.
25908 (isgreater_test_data): Likewise.
25909 (isgreaterequal_test_data): Likewise.
25910 (isinf_test_data): Likewise.
25911 (isless_test_data): Likewise.
25912 (islessequal_test_data): Likewise.
25913 (islessgreater_test_data): Likewise.
25914 (isnan_test_data): Likewise.
25915 (isnormal_test_data): Likewise.
25916 (issignaling_test_data): Likewise.
25917 (isunordered_test_data): Likewise.
25918 (ldexp_test_data): Likewise.
25919 (lrint_test_data): Likewise.
25920 (lrint_test_data) [TEST_FLOAT]: Disable one test.
25921 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
25922 (lrint_tonearest_test_data): Test for "inexact" exceptions.
25923 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25924 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
25925 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25926 test input.
25927 (lrint_towardzero_test_data): Test for "inexact" exceptions.
25928 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25929 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
25930 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
25931 that test input.
25932 (lrint_downward_test_data): Test for "inexact" exceptions.
25933 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25934 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
25935 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25936 test input.
25937 (lrint_upward_test_data): Test for "inexact" exceptions.
25938 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
25939 test input.
25940 (llrint_test_data): Test for "inexact" exceptions.
25941 (llrint_test_data) [TEST_FLOAT]: Disable one test.
25942 (llrint_tonearest_test_data): Test for "inexact" exceptions.
25943 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25944 (llrint_towardzero_test_data): Test for "inexact" exceptions.
25945 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25946 (llrint_downward_test_data): Test for "inexact" exceptions.
25947 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25948 (llrint_upward_test_data): Test for "inexact" exceptions.
25949 (logb_test_data): Likewise.
25950 (logb_downward_test_data): Likewise.
25951 (nextafter_test_data): Likewise.
25952 (nexttoward_test_data): Likewise.
25953 (remainder_test_data): Likewise.
25954 (remquo_test_data): Likewise.
25955 (scalbn_test_data): Likewise.
25956 (scalbln_test_data): Likewise.
25957 (signbit_test_data): Likewise.
25958 (sqrt_test_data): Likewise.
25959 (significand_test_data): Likewise.
25960
48a18de1
SP
259612013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25962
25963 [BZ #15424]
25964 * benchtests/bench-modf.c (struct args): Mark arg0 as
25965 volatile.
25966 * scripts/bench.pl: Mark members of struct args as volatile.
25967
13d3b41a
AZ
259682013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25969
68191c1d 25970 [BZ # 15497]
13d3b41a
AZ
25971 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
25972 negative infinity on POWER6 or lower.
25973 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
25974
2848b105
MR
259752013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
25976
25977 [BZ #15442]
25978 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
25979 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
25980 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
25981 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
25982 (_FP_SETQNAN): New macro.
25983 (_FP_SETQNAN_SEMIRAW): Likewise.
25984 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
25985 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
25986 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
25987 (FP_EXTEND): Use _FP_FRAC_SNANP.
25988 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
25989 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
25990 into account.
25991 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
25992 New macro.
25993 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
25994 Likewise.
25995
323e5cb7
JM
259962013-05-16 Joseph Myers <joseph@codesourcery.com>
25997
c58b274f
JM
25998 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
25999 with DIVIDE_BY_ZERO_EXCEPTION.
26000 (gamma_test_data): Likewise.
26001 (lgamma_test_data): Likewise.
26002 (log_test_data): Likewise.
26003 (log10_test_data): Likewise.
26004 (log2_test_data): Likewise.
26005 (tgamma_test_data): Likewise.
26006
0ab34904
JM
26007 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
26008 (acos_test_tonearest): Likewise.
26009 (acos_test_towardzero): Likewise.
26010 (acos_test_downward): Likewise.
26011 (acos_test_upward): Likewise.
26012 (acosh_test): Likewise.
26013 (asin_test): Likewise.
26014 (asin_test_tonearest): Likewise.
26015 (asin_test_towardzero): Likewise.
26016 (asin_test_downward): Likewise.
26017 (asin_test_upward): Likewise.
26018 (asinh_test): Likewise.
26019 (atan_test): Likewise.
26020 (atanh_test): Likewise.
26021 (atan2_test): Likewise.
26022 (cabs_test): Likewise.
26023 (cacos_test): Likewise.
26024 (cacosh_test): Likewise.
26025 (casin_test): Likewise.
26026 (casinh_test): Likewise.
26027 (catan_test): Likewise.
26028 (catanh_test): Likewise.
26029 (cbrt_test): Likewise.
26030 (ccos_test): Likewise.
26031 (ccosh_test): Likewise.
26032 (cexp_test): Likewise.
26033 (clog_test): Likewise.
26034 (clog10_test): Likewise.
26035 (cos_test): Likewise.
26036 (cos_test_tonearest): Likewise.
26037 (cos_test_towardzero): Likewise.
26038 (cos_test_downward): Likewise.
26039 (cos_test_upward): Likewise.
26040 (cosh_test): Likewise.
26041 (cosh_test_tonearest): Likewise.
26042 (cosh_test_towardzero): Likewise.
26043 (cosh_test_downward): Likewise.
26044 (cosh_test_upward): Likewise.
26045 (cpow_test): Likewise.
26046 (csin_test): Likewise.
26047 (csinh_test): Likewise.
26048 (csqrt_test): Likewise.
26049 (ctan_test): Likewise.
26050 (ctan_test_tonearest): Likewise.
26051 (ctan_test_towardzero): Likewise.
26052 (ctan_test_downward): Likewise.
26053 (ctan_test_upward): Likewise.
26054 (ctanh_test): Likewise.
26055 (ctanh_test_tonearest): Likewise.
26056 (ctanh_test_towardzero): Likewise.
26057 (ctanh_test_downward): Likewise.
26058 (ctanh_test_upward): Likewise.
26059 (erf_test): Likewise.
26060 (erfc_test): Likewise.
26061 (exp_test): Likewise.
26062 (exp_test_tonearest): Likewise.
26063 (exp_test_towardzero): Likewise.
26064 (exp_test_downward): Likewise.
26065 (exp_test_upward): Likewise.
26066 (exp10_test): Likewise.
26067 (exp2_test): Likewise.
26068 (expm1_test): Likewise.
26069 (fmod_test): Likewise.
26070 (gamma_test): Likewise.
26071 (hypot_test): Likewise.
26072 (j0_test): Likewise.
26073 (j1_test): Likewise.
26074 (jn_test): Likewise.
26075 (lgamma_test): Likewise.
26076 (log_test): Likewise.
26077 (log10_test): Likewise.
26078 (log1p_test): Likewise.
26079 (log2_test): Likewise.
26080 (logb_test_downward): Likewise.
26081 (pow_test): Likewise.
26082 (pow_test_tonearest): Likewise.
26083 (pow_test_towardzero): Likewise.
26084 (pow_test_downward): Likewise.
26085 (pow_test_upward): Likewise.
26086 (remainder_test): Likewise.
26087 (remquo_test): Likewise.
26088 (sin_test): Likewise.
26089 (sin_test_tonearest): Likewise.
26090 (sin_test_towardzero): Likewise.
26091 (sin_test_downward): Likewise.
26092 (sin_test_upward): Likewise.
26093 (sincos_test): Likewise.
26094 (sinh_test): Likewise.
26095 (sinh_test_tonearest): Likewise.
26096 (sinh_test_towardzero): Likewise.
26097 (sinh_test_downward): Likewise.
26098 (sinh_test_upward): Likewise.
26099 (sqrt_test): Likewise.
26100 (tan_test): Likewise.
26101 (tan_test_tonearest): Likewise.
26102 (tan_test_towardzero): Likewise.
26103 (tan_test_downward): Likewise.
26104 (tan_test_upward): Likewise.
26105 (tanh_test): Likewise.
26106 (tgamma_test): Likewise.
26107 (y0_test): Likewise.
26108 (y1_test): Likewise.
26109 (yn_test): Likewise.
26110
323e5cb7
JM
26111 * math/gen-libm-test.pl (adjust_arg): Remove function.
26112 (special_function): Remove argument $in_func. Only handle
26113 generating output for tables of tests, not inside functions.
26114 (parse_args): Likewise.
26115 (generate_testfile): Remove variable $in_func. Update call to
26116 parse_args.
26117 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
26118 (MINUS_ZERO_INIT): Rename macro to minus_zero.
26119 (PLUS_INFTY_INIT): Rename macro to plus_infty.
26120 (MINUS_INFTY_INIT): Rename macro to minus_infty.
26121 (QNAN_VALUE_INIT): Rename macro to qnan_value.
26122 (MAX_VALUE_INIT): Rename macro to max_value.
26123 (MIN_VALUE_INIT): Rename macro to min_value.
26124 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
26125 (plus_zero): Remove variable.
26126 (minus_zero): Likewise.
26127 (plus_infty): Likewise.
26128 (minus_infty): Likewise.
26129 (qnan_value): Likewise.
26130 (max_value): Likewise.
26131 (min_value): Likewise.
26132 (min_subnorm_value): Likewise.
26133
e054f494
RA
261342013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26135
26136 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
26137 uint64_t or uint32_t usage.
26138 * crypt/sha256-block.c: Likewise.
26139 * crypt/sha256-crypt.c: Likewise.
26140 * crypt/sha256.c: Likewise.
26141 * crypt/sha512-block.c: Likewise.
26142 * crypt/sha512-crypt.c: Likewise.
26143 * crypt/sha512.c: Likewise.
26144 * debug/backtrace-tst.c: Likewise.
26145 * debug/pcprofiledump.c: Likewise.
26146 * elf/cache.c: Likewise.
26147 * elf/dl-cache.c: Likewise.
26148 * elf/dl-misc.c: Likewise.
26149 * elf/dl-profile.c: Likewise.
26150 * elf/dl-support.c: Likewise.
26151 * elf/ldconfig.c: Likewise.
26152 * elf/sprof.c: Likewise.
26153 * iconv/dummy-repertoire.c: Likewise.
26154 * iconv/iconv_charmap.c: Likewise.
26155 * iconv/skeleton.c: Likewise.
26156 * iconvdata/8bit-generic.c: Likewise.
26157 * iconvdata/cp737.h: Likewise.
26158 * iconvdata/cp775.h: Likewise.
26159 * iconvdata/ibm1008.h: Likewise.
26160 * iconvdata/ibm1025.h: Likewise.
26161 * iconvdata/ibm1046.h: Likewise.
26162 * iconvdata/ibm1097.h: Likewise.
26163 * iconvdata/ibm1112.h: Likewise.
26164 * iconvdata/ibm1122.h: Likewise.
26165 * iconvdata/ibm1123.h: Likewise.
26166 * iconvdata/ibm1124.h: Likewise.
26167 * iconvdata/ibm1129.h: Likewise.
26168 * iconvdata/ibm1130.h: Likewise.
26169 * iconvdata/ibm1132.h: Likewise.
26170 * iconvdata/ibm1133.h: Likewise.
26171 * iconvdata/ibm1137.h: Likewise.
26172 * iconvdata/ibm1140.h: Likewise.
26173 * iconvdata/ibm1141.h: Likewise.
26174 * iconvdata/ibm1142.h: Likewise.
26175 * iconvdata/ibm1143.h: Likewise.
26176 * iconvdata/ibm1144.h: Likewise.
26177 * iconvdata/ibm1145.h: Likewise.
26178 * iconvdata/ibm1146.h: Likewise.
26179 * iconvdata/ibm1147.h: Likewise.
26180 * iconvdata/ibm1148.h: Likewise.
26181 * iconvdata/ibm1149.h: Likewise.
26182 * iconvdata/ibm1153.h: Likewise.
26183 * iconvdata/ibm1154.h: Likewise.
26184 * iconvdata/ibm1155.h: Likewise.
26185 * iconvdata/ibm1156.h: Likewise.
26186 * iconvdata/ibm1157.h: Likewise.
26187 * iconvdata/ibm1158.h: Likewise.
26188 * iconvdata/ibm1160.h: Likewise.
26189 * iconvdata/ibm1161.h: Likewise.
26190 * iconvdata/ibm1162.h: Likewise.
26191 * iconvdata/ibm1163.h: Likewise.
26192 * iconvdata/ibm1164.h: Likewise.
26193 * iconvdata/ibm1166.h: Likewise.
26194 * iconvdata/ibm1167.h: Likewise.
26195 * iconvdata/ibm12712.h: Likewise.
26196 * iconvdata/ibm1390.h: Likewise.
26197 * iconvdata/ibm1399.h: Likewise.
26198 * iconvdata/ibm16804.h: Likewise.
26199 * iconvdata/ibm4517.h: Likewise.
26200 * iconvdata/ibm4899.h: Likewise.
26201 * iconvdata/ibm4909.h: Likewise.
26202 * iconvdata/ibm4971.h: Likewise.
26203 * iconvdata/ibm5347.h: Likewise.
26204 * iconvdata/ibm803.h: Likewise.
26205 * iconvdata/ibm856.h: Likewise.
26206 * iconvdata/ibm901.h: Likewise.
26207 * iconvdata/ibm902.h: Likewise.
26208 * iconvdata/ibm9030.h: Likewise.
26209 * iconvdata/ibm9066.h: Likewise.
26210 * iconvdata/ibm921.h: Likewise.
26211 * iconvdata/ibm922.h: Likewise.
26212 * iconvdata/ibm9448.h: Likewise.
26213 * iconvdata/isiri-3342.h: Likewise.
26214 * iconvdata/jis0201.h: Likewise.
26215 * include/link.h: Likewise.
26216 * include/netdb.h: Likewise.
26217 * inet/check_native.c: Likewise.
26218 * inet/check_pf.c: Likewise.
26219 * inet/getipv4sourcefilter.c: Likewise.
26220 * inet/getnameinfo.c: Likewise.
26221 * inet/getsourcefilter.c: Likewise.
26222 * inet/htonl.c: Likewise.
26223 * inet/setipv4sourcefilter.c: Likewise.
26224 * inet/setsourcefilter.c: Likewise.
26225 * inet/test-inet6_opt.c: Likewise.
26226 * inet/tst-network.c: Likewise.
26227 * locale/C-collate.c: Likewise.
26228 * locale/C-ctype.c: Likewise.
26229 * locale/C-time.c: Likewise.
26230 * locale/C-translit.h: Likewise.
26231 * locale/loadarchive.c: Likewise.
26232 * locale/programs/3level.h: Likewise.
26233 * locale/programs/charmap.c: Likewise.
26234 * locale/programs/charmap.h: Likewise.
26235 * locale/programs/ld-address.c: Likewise.
26236 * locale/programs/ld-collate.c: Likewise.
26237 * locale/programs/ld-ctype.c: Likewise.
26238 * locale/programs/ld-identification.c: Likewise.
26239 * locale/programs/ld-measurement.c: Likewise.
26240 * locale/programs/ld-messages.c: Likewise.
26241 * locale/programs/ld-monetary.c: Likewise.
26242 * locale/programs/ld-name.c: Likewise.
26243 * locale/programs/ld-numeric.c: Likewise.
26244 * locale/programs/ld-paper.c: Likewise.
26245 * locale/programs/ld-telephone.c: Likewise.
26246 * locale/programs/ld-time.c: Likewise.
26247 * locale/programs/linereader.c: Likewise.
26248 * locale/programs/locale.c: Likewise.
26249 * locale/programs/locarchive.c: Likewise.
26250 * locale/programs/locfile.h: Likewise.
26251 * locale/programs/repertoire.c: Likewise.
26252 * locale/programs/simple-hash.c: Likewise.
26253 * locale/programs/simple-hash.h: Likewise.
26254 * malloc/memusage.c: Likewise.
26255 * malloc/memusagestat.c: Likewise.
26256 * nis/nis_defaults.c: Likewise.
26257 * nis/nis_hash.c: Likewise.
26258 * nis/nis_print.c: Likewise.
26259 * nis/nis_xdr.c: Likewise.
26260 * nscd/connections.c: Likewise.
26261 * nscd/hstcache.c: Likewise.
26262 * nscd/nscd_gethst_r.c: Likewise.
26263 * nscd/nscd_getserv_r.c: Likewise.
26264 * nscd/nscd_helper.c: Likewise.
26265 * nscd/servicescache.c: Likewise.
26266 * nss/makedb.c: Likewise.
26267 * nss/nss_db/db-XXX.c: Likewise.
26268 * nss/nss_db/db-initgroups.c: Likewise.
26269 * nss/nss_db/db-netgrp.c: Likewise.
26270 * nss/nss_files/files-network.c: Likewise.
26271 * nss/nss_files/files-parse.c: Likewise.
26272 * posix/bug-regex5.c: Likewise.
26273 * posix/fnmatch_loop.c: Likewise.
26274 * posix/regcomp.c: Likewise.
26275 * posix/regexec.c: Likewise.
26276 * posix/tst-rfc3484-2.c: Likewise.
26277 * posix/tst-rfc3484-3.c: Likewise.
26278 * posix/tst-rfc3484.c: Likewise.
26279 * resolv/nss_dns/dns-canon.c: Likewise.
26280 * resolv/nss_dns/dns-network.c: Likewise.
26281 * resolv/res_init.c: Likewise.
26282 * resolv/res_mkquery.c: Likewise.
26283 * resolv/tst-aton.c: Likewise.
26284 * stdlib/cxa_atexit.c: Likewise.
26285 * stdlib/cxa_finalize.c: Likewise.
26286 * stdlib/gen-fpioconst.c: Likewise.
26287 * stdlib/strtol_l.c: Likewise.
26288 * string/tst-endian.c: Likewise.
26289 * sunrpc/auth_des.c: Likewise.
26290 * sunrpc/clnt_udp.c: Likewise.
26291 * sunrpc/rtime.c: Likewise.
26292 * sunrpc/svcauth_des.c: Likewise.
26293 * sunrpc/xdr.c: Likewise.
26294 * sunrpc/xdr_intXX_t.c: Likewise.
26295 * sunrpc/xdr_rec.c: Likewise.
26296 * sysdeps/generic/ldconfig.h: Likewise.
26297 * sysdeps/generic/ldsodefs.h: Likewise.
26298 * sysdeps/generic/memusage.h: Likewise.
26299 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
26300 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
26301 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
26302 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26303 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26304 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26305 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
26306 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
26307 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26308 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26309 * sysdeps/posix/getaddrinfo.c: Likewise.
26310 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26311 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26312 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26313 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26314 * sysdeps/powerpc/test-gettimebase.c: Likewise.
26315 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
26316 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
26317 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
26318 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
26319 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
26320 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26321 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26322 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
26323 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
26324 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
26325 * sysdeps/x86_64/dl-tls.h: Likewise.
26326 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
26327 * time/alt_digit.c: Likewise.
26328 * time/era.c: Likewise.
26329 * wcsmbs/tst-c16c32-1.c: Likewise.
26330
8c75f674
JM
263312013-05-16 Joseph Myers <joseph@codesourcery.com>
26332
26333 * math/libm-test.inc (struct test_sincos_data): New type.
26334 (RUN_TEST_LOOP_sincos): New macro.
26335 (sincos_test_data): New variable.
26336 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
26337
e6e49e59
RH
263382013-05-16 Richard Henderson <rth@redhat.com>
26339
26340 * math/atest-exp2.c (LIMB64): New macro.
26341 (CONSTSZ): New macro.
26342 (mp_exp1, mp_exp_m1, mp_log2): New variables.
26343 (hexdig): Move ...
26344 (print_mpn_fp): ... to function scope.
26345 (read_mpn_hex): Remove.
26346 (get_log2): Remove.
26347 (exp2_mpn): Use mp_log2.
26348 (main): Use mp_exp1.
26349
15c7c18d
JM
263502013-05-16 Joseph Myers <joseph@codesourcery.com>
26351
105a07df
JM
26352 * math/libm-test.inc: Remove comment about not testing "inexact"
26353 exceptions.
26354 (INEXACT_EXCEPTION): New macro.
26355 (NO_INEXACT_EXCEPTION): Likewise.
26356 (INVALID_EXCEPTION_OK): Update value.
26357 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26358 (OVERFLOW_EXCEPTION_OK): Likewise.
26359 (UNDERFLOW_EXCEPTION_OK): Likewise.
26360 (IGNORE_ZERO_INF_SIGN): Likewise.
26361 (ERRNO_UNCHANGED): Likewise.
26362 (ERRNO_EDOM): Likewise.
26363 (ERRNO_ERANGE): Likewise.
26364 (test_exceptions): Handle testing "inexact" exceptions.
26365 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
26366 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
26367 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
26368 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
26369 INEXACT_EXCEPTION.
26370 (rint_towardzero_test_data): Likewise.
26371 (rint_downward_test_data): Likewise.
26372 (rint_upward_test_data): Likewise.
26373
e9eee333
JM
26374 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
26375 with OVERFLOW_EXCEPTION.
26376 (exp10_test_data): Likewise.
26377 (exp2_test_data): Likewise.
26378 (expm1_test_data): Likewise.
26379 (lgamma_test_data): Likewise.
26380 (pow_test_data): Likewise.
26381 (tgamma_test_data): Likewise.
26382 (yn_test_data): Remove duplicate test of overflow.
26383
1c38ff73
JM
26384 * math/libm-test.inc (struct test_cc_c_data): New type.
26385 (RUN_TEST_LOOP_cc_c): New macro.
26386 (cpow_test_data): New variable.
26387 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
26388
15c7c18d
JM
26389 * math/libm-test.inc (struct test_f_L_data): New type.
26390 (RUN_TEST_LOOP_f_L): New macro.
26391 (llrint_test_data): New variable.
26392 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
26393 (llrint_tonearest_test_data): New variable.
26394 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
26395 (llrint_towardzero_test_data): New variable.
26396 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
26397 (llrint_downward_test_data): New variable.
26398 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
26399 (llrint_upward_test_data): New variable.
26400 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
26401 (llround_test_data): New variable.
26402 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
26403
f137ff13
PC
264042013-05-13 Peter Collingbourne <pcc@google.com>
26405
26406 * math/atest-exp2.c (get_log2): Remove const attribute.
26407
3608cb24
JM
264082013-05-15 Joseph Myers <joseph@codesourcery.com>
26409
26410 * math/libm-test.inc (struct test_f_l_data): New type.
26411 (RUN_TEST_LOOP_f_l): New macro.
26412 (lrint_test_data): New variable.
26413 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
26414 (lrint_tonearest_test_data): New variable.
26415 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
26416 (lrint_towardzero_test_data): New variable.
26417 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
26418 (lrint_downward_test_data): New variable.
26419 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
26420 (lrint_upward_test_data): New variable.
26421 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
26422 (lround_test_data): New variable.
26423 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
26424
39b1f617
PC
264252013-05-15 Peter Collingbourne <pcc@google.com>
26426
1deff3dc
PC
26427 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
26428 (EXTRACT_WORDS64) Use where appropriate.
26429 (INSERT_WORDS64) Likewise.
26430
791f3ba0
PC
26431 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
26432 constraints with x constraints.
26433 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
26434
39b1f617
PC
26435 * malloc/obstack.c (_obstack_compat): Add initializer.
26436
12fba011
EM
264372013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
26438
26439 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
26440 si_trapno and add si_addr_lsb to _sifields.sigfault.
26441 (si_trapno): Remove macro.
26442 (si_addr_lsb): Define new macro.
26443 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26444
d369f531
JM
264452013-05-15 Joseph Myers <joseph@codesourcery.com>
26446
b861c6c4
JM
26447 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
26448 instead of TEST_f_l.
26449 (llrint_test_tonearest): Likewise.
26450 (llrint_test_towardzero): Likewise.
26451 (llrint_test_downward): Likewise.
26452 (llrint_test_upward): Likewise.
26453 (llround_test): Likewise.
26454
7abeee12
JM
26455 * math/libm-test.inc (struct test_f_i_data): Add comment.
26456 (RUN_TEST_LOOP_f_b): New macro.
26457 (RUN_TEST_LOOP_f_b_tg): Likewise.
26458 (finite_test_data): New variable.
26459 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
26460 (isfinite_test_data): New variable.
26461 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26462 (isinf_test_data): New variable.
26463 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26464 (isnan_test_data): New variable.
26465 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26466 (isnormal_test_data): New variable.
26467 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26468 (issignaling_test_data): New variable.
26469 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26470 (signbit_test_data): New variable.
26471 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26472
cbe8c4d3
JM
26473 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
26474 with INVALID_EXCEPTION.
26475 (acosh_test_data): Likewise.
26476 (asin_test_data): Likewise.
26477 (atanh_test_data): Likewise.
26478 (fmod_test_data): Likewise.
26479 (log_test_data): Likewise.
26480 (log10_test_data): Likewise.
26481 (log2_test_data): Likewise.
26482 (pow_test_data): Likewise.
26483 (sqrt_test_data): Likewise.
26484 (y0_test_data): Likewise.
26485 (y1_test_data): Likewise.
26486 (yn_test_data): Likewise.
26487
5575c0e5
JM
26488 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
26489 function contents.
26490
d369f531
JM
26491 * math/libm-test.inc (struct test_ff_i_data): New type.
26492 (RUN_TEST_LOOP_ff_i_tg): New macro.
26493 (isgreater_test_data): New variable.
26494 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26495 (isgreaterequal_test_data): New variable.
26496 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26497 (isless_test_data): New variable.
26498 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26499 (islessequal_test_data): New variable.
26500 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26501 (islessgreater_test_data): New variable.
26502 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26503 (isunordered_test_data): New variable.
26504 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26505
781fd748
DM
265062013-05-14 David S. Miller <davem@davemloft.net>
26507
26508 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26509
87aa21df
JM
265102013-05-14 Joseph Myers <joseph@codesourcery.com>
26511
5e908270
JM
26512 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
26513
f71172e5
JM
26514 * math/libm-test.inc (struct test_fF_f1_data): Change type of
26515 extra_test to int.
26516 (struct test_f_i_data): Change type of max_ulp to int.
26517
8cfa635a
JM
26518 * math/libm-test.inc (test_ffI_f1_data): New type.
26519 (RUN_TEST_LOOP_ffI_f1): New macro.
26520 (remquo_test_data): New variable.
26521 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
26522
2bcb36b2
JM
26523 * setjmp/tst-setjmp-fp.c: New file.
26524 * setjmp/Makefile (tests): Add tst-setjmp-fp.
26525 (link-libm): New variable.
26526 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
26527
acbd839a
JM
26528 * math/libm-test.inc (struct test_f_i_data): New type.
26529 (RUN_TEST_LOOP_f_i): New macro.
26530 (RUN_TEST_LOOP_f_i_tg): Likewise.
26531 (fpclassify_test_data): New variable.
26532 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
26533 (ilogb_test_data): New variable.
26534 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
26535
e414d745
JM
26536 * math/libm-test.inc (scalbln_test): Correct function name in END
26537 call.
26538
d9c2a0fd
JM
26539 * math/libm-test.inc (struct test_f_f1_data): Add comment.
26540 (RUN_TEST_LOOP_fI_f1): New macro.
26541 (frexp_test_data): New variable.
26542 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
26543
9dc9095d
JM
26544 * math/libm-test.inc (struct test_fF_f1_data): New type.
26545 (RUN_TEST_LOOP_fF_f1): New macro.
26546 (modf_test_data): New variable.
26547 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
26548
87aa21df
JM
26549 * math/libm-test.inc (struct test_f_f1_data): New type.
26550 (RUN_TEST_LOOP_f_f1): New macro.
26551 (gamma_test_data): New variable.
26552 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
26553 (lgamma_test_data): New variable.
26554 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
26555
141af660
CD
265562013-05-13 Carlos O'Donell <carlos@redhat.com>
26557
26558 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
26559 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
26560 (main): Comment "tls" pseudo-hwcap.
26561
6d33265c
JM
265622013-05-13 Joseph Myers <joseph@codesourcery.com>
26563
68fc074c
JM
26564 * math/libm-test.inc (struct test_fl_f_data): New type.
26565 (RUN_TEST_LOOP_fl_f): New variable.
26566 (scalbln_test_data): New variable.
26567 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
26568
243216e1
JM
26569 * math/libm-test.inc (struct test_fi_f_data): New type.
26570 (RUN_TEST_LOOP_fi_f): New macro.
26571 (ldexp_test_data): New variable.
26572 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
26573 (scalbn_test_data): New variable.
26574 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
26575
6a1992e2
JM
26576 * math/libm-test.inc (struct test_c_f_data): New type.
26577 (RUN_TEST_LOOP_c_f): New macro.
26578 (cabs_test_data): New variable.
26579 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
26580 (carg_test_data): New variable.
26581 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
26582 (cimag_test_data): New variable.
26583 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
26584 (creal_test_data): New variable.
26585 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
26586
0e400df5
JM
26587 * math/libm-test.inc (struct test_if_f_data): New type.
26588 (RUN_TEST_LOOP_if_f): New macro.
26589 (jn_test_data): New variable.
26590 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
26591 (yn_test_data): New variable.
26592 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
26593
6d33265c
JM
26594 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
26595
f98ece5f
AZ
265962013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26597
26598 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
26599 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
26600
0f7d347b
SP
266012013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26602
43fe811b
SP
26603 * benchtests/Makefile (CPPFLAGS-nonlib): Add
26604 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
26605 (bench-deps): Add bench-timing.h.
26606 * benchtests-bench-skeleton.c: Include bench-timing.h.
26607 (main): Use TIMING_* macros instead of clock_gettime.
26608 * benchtests/bench-timing.h: New file.
26609
0f7d347b
SP
26610 [BZ #14582]
26611 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
26612 Renamed from _LIB_VERSION.
26613 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
26614
601a3a5f
JM
266152013-05-12 Joseph Myers <joseph@codesourcery.com>
26616
4f184d30
JM
26617 * math/libm-test.inc (struct test_fff_f_data): New type.
26618 (RUN_TEST_LOOP_fff_f): New macro.
26619 (fma_test_data): New variable.
26620 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
26621 (fma_towardzero_test_data): New variable.
26622 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
26623 (fma_downward_test_data): New variable.
26624 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
26625 (fma_upward_test_data): New variable.
26626 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
26627
08198877
JM
26628 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
26629 (struct test_c_c_data): New type.
26630 (RUN_TEST_LOOP_c_c): New macro.
26631 (cacos_test_data): New variable.
26632 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
26633 (cacosh_test_data): New variable.
26634 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
26635 (casin_test_data): New variable.
26636 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
26637 (casinh_test_data): New variable.
26638 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
26639 (catan_test_data): New variable.
26640 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
26641 (catanh_test_data): New variable.
26642 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
26643 (ccos_test_data): New variable.
26644 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
26645 (ccosh_test_data): New variable.
26646 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
26647 (cexp_test_data): New variable.
26648 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
26649 (clog_test_data): New variable.
26650 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
26651 (clog10_test_data): New variable.
26652 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
26653 (conj_test_data): New variable.
26654 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
26655 (cproj_test_data): New variable.
26656 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
26657 (csin_test_data): New variable.
26658 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
26659 (csinh_test_data): New variable.
26660 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
26661 (csqrt_test_data): New variable.
26662 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
26663 (ctan_test_data): New variable.
26664 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
26665 (ctan_tonearest_test_data): New variable.
26666 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26667 (ctan_towardzero_test_data): New variable.
26668 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26669 (ctan_downward_test_data): New variable.
26670 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26671 (ctan_upward_test_data): New variable.
26672 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26673 (ctanh_test_data): New variable.
26674 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
26675 (ctanh_tonearest_test_data): New variable.
26676 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26677 (ctanh_towardzero_test_data): New variable.
26678 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26679 (ctanh_downward_test_data): New variable.
26680 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26681 (ctanh_upward_test_data): New variable.
26682 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26683 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
26684 of BUILD_COMPLEX.
26685
601a3a5f
JM
26686 * math/libm-test.inc (struct test_ff_f_data): New type.
26687 (struct test_ff_f_data_nexttoward): Likewise.
26688 (RUN_TEST_LOOP_2_f): New macro.
26689 (RUN_TEST_LOOP_ff_f): Likewise.
26690 (atan2_test_data): New variable.
26691 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
26692 (copysign_test_data): New variable.
26693 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
26694 (fdim_test_data): New variable.
26695 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
26696 (fmax_test_data): New variable.
26697 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
26698 (fmin_test_data): New variable.
26699 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
26700 (fmod_test_data): New variable.
26701 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
26702 (hypot_test_data): New variable.
26703 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
26704 (nextafter_test_data): New variable.
26705 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
26706 (nexttoward_test_data): New variable.
26707 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
26708 (pow_test_data): New variable.
26709 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
26710 (pow_tonearest_test_data): New variable.
26711 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
26712 (pow_towardzero_test_data): New variable.
26713 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
26714 (pow_downward_test_data): New variable.
26715 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
26716 (pow_upward_test_data): New variable.
26717 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
26718 (remainder_test_data): New variable.
26719 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
26720 (scalb_test_data): New variable.
26721 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
26722 * sysdeps/i386/fpu/libm-test-ulps: Update.
26723
74c57478
JM
267242013-05-11 Joseph Myers <joseph@codesourcery.com>
26725
8329e4da
JM
26726 * math/libm-test.inc (fma_test): Use max_value instead of local
26727 variable fltmax.
26728 (nextafter_test): Likewise.
26729
74c57478
JM
26730 * math/libm-test.inc (acos_towardzero_test_data): New variable.
26731 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26732 (acos_downward_test_data): New variable.
26733 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26734 (acos_upward_test_data): New variable.
26735 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26736 (acosh_test_data): New variable.
26737 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
26738 (asin_test_data): New variable.
26739 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
26740 (asin_tonearest_test_data): New variable.
26741 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26742 (asin_towardzero_test_data): New variable.
26743 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26744 (asin_downward_test_data): New variable.
26745 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26746 (asin_upward_test_data): New variable.
26747 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26748 (asinh_test_data): New variable.
26749 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
26750 (atan_test_data): New variable.
26751 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
26752 (atanh_test_data): New variable.
26753 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
26754 (cbrt_test_data): New variable.
26755 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
26756 (ceil_test_data): New variable.
26757 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
26758 (cos_test_data): New variable.
26759 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
26760 (cos_tonearest_test_data): New variable.
26761 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26762 (cos_towardzero_test_data): New variable.
26763 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26764 (cos_downward_test_data): New variable.
26765 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26766 (cos_upward_test_data): New variable.
26767 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26768 (cosh_test_data): New variable.
26769 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
26770 (cosh_tonearest_test_data): New variable.
26771 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26772 (cosh_towardzero_test_data): New variable.
26773 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26774 (cosh_downward_test_data): New variable.
26775 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26776 (cosh_upward_test_data): New variable.
26777 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26778 (erf_test_data): New variable.
26779 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
26780 (erfc_test_data): New variable.
26781 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
26782 (exp_test_data): New variable.
26783 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
26784 (exp_tonearest_test_data): New variable.
26785 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26786 (exp_towardzero_test_data): New variable.
26787 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26788 (exp_downward_test_data): New variable.
26789 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26790 (exp_upward_test_data): New variable.
26791 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26792 (exp10_test_data): New variable.
26793 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
26794 (exp2_test_data): New variable.
26795 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
26796 (expm1_test_data): New variable.
26797 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
26798 (fabs_test_data): New variable.
26799 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
26800 (floor_test_data): New variable.
26801 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
26802 (j0_test_data): New variable.
26803 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
26804 (j1_test_data): New variable.
26805 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
26806 (log_test_data): New variable.
26807 (log_test): Run tests with RUN_TEST_LOOP_f_f.
26808 (log10_test_data): New variable.
26809 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
26810 (log1p_test_data): New variable.
26811 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
26812 (log2_test_data): New variable.
26813 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
26814 (logb_test_data): New variable.
26815 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
26816 (logb_downward_test_data): New variable.
26817 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26818 (nearbyint_test_data): New variable.
26819 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
26820 (rint_test_data): New variable.
26821 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
26822 (rint_tonearest_test_data): New variable.
26823 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26824 (rint_towardzero_test_data): New variable.
26825 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26826 (rint_downward_test_data): New variable.
26827 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26828 (rint_upward_test_data): New variable.
26829 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26830 (round_test_data): New variable.
26831 (round_test): Run tests with RUN_TEST_LOOP_f_f.
26832 (sin_test_data): New variable.
26833 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
26834 (sin_tonearest_test_data): New variable.
26835 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26836 (sin_towardzero_test_data): New variable.
26837 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26838 (sin_downward_test_data): New variable.
26839 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26840 (sin_upward_test_data): New variable.
26841 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26842 (sinh_test_data): New variable.
26843 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
26844 (sinh_tonearest_test_data): New variable.
26845 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26846 (sinh_towardzero_test_data): New variable.
26847 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26848 (sinh_downward_test_data): New variable.
26849 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26850 (sinh_upward_test_data): New variable.
26851 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26852 (sqrt_test_data): New variable.
26853 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
26854 (tan_test_data): New variable.
26855 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
26856 (tan_tonearest_test_data): New variable.
26857 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26858 (tan_towardzero_test_data): New variable.
26859 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26860 (tan_downward_test_data): New variable.
26861 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26862 (tan_upward_test_data): New variable.
26863 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26864 (tanh_test_data): New variable.
26865 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
26866 (tgamma_test_data): New variable.
26867 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
26868 (trunc_test_data): New variable.
26869 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
26870 (y0_test_data): New variable.
26871 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
26872 (y1_test_data): New variable.
26873 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
26874 (significand_test_data): New variable.
26875 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
26876
7187d844
CG
268772013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
26878
26879 [BZ #12387]
26880 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
26881
f63fae73
PT
268822013-05-10 Pino Toscano <toscano.pino@tiscali.it>
26883
26884 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
26885
8a67a4b3
AJ
268862013-05-10 Andreas Jaeger <aj@suse.de>
26887
26888 [BZ #15448]
26889 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
26890 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
26891
51df539d
JM
268922013-05-10 Joseph Myers <joseph@codesourcery.com>
26893
26894 * math/gen-libm-test.pl (adjust_arg): New function.
26895 (special_functions): Handle generating output in both functions
26896 and arrays.
26897 (parse_args): Likewise.
26898 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
26899 $in_func argument to parse_args.
26900 * math/libm-test.inc (struct test_f_f_data): New type.
26901 (IF_ROUND_INIT_): New macro.
26902 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
26903 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26904 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26905 (IF_ROUND_INIT_FE_UPWARD): Likewise.
26906 (ROUND_RESTORE_): Likewise.
26907 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
26908 (ROUND_RESTORE_FE_TONEAREST): Likewise.
26909 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
26910 (ROUND_RESTORE_FE_UPWARD): Likewise.
26911 (RUN_TEST_LOOP_f_f): New macro.
26912 (acos_test_data): New variable.
26913 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
26914 (acos_tonearest_test_data): New variable.
26915 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26916
5c637fe5
SP
269172013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26918
26919 * benchtests/bench-skeleton.c (startup): Fix coding style.
26920
ab2b9461
JM
269212013-05-10 Joseph Myers <joseph@codesourcery.com>
26922
26923 [BZ #6809]
26924 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
26925 negative infinity argument.
26926 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
26927 negative infinity argument.
26928 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
26929 negative infinity argument.
26930 * math/libm-test.inc (tgamma_test): Expect errno to be set for
26931 domain errors.
26932
4c0fe6fe
FW
269332013-05-10 Florian Weimer <fweimer@redhat.com>
26934
26935 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
26936 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
26937 * iconv/iconv_prog.c (main): Likewise.
26938 * locale/programs/charmap-dir.c (charmap_readdir)
26939 (fopen_uncompressed): Likewise.
26940 * locale/programs/locfile.c (siblings_uncached)
26941 (write_locale_data): Use lstat64 instead of lstat.
26942 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
26943 stat.
26944
a3375d29
AJ
269452013-05-10 Andreas Jaeger <aj@suse.de>
26946
26947 [BZ #15395]
26948 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
26949 localization.
26950 Include <locale.h>.
26951
36129722
CD
269522013-05-09 Carlos O'Donell <carlos@redhat.com>
26953
26954 * elf/dl-close.c (_dl_close_worker): Add comments.
26955
faa7f811
JM
269562013-05-09 Joseph Myers <joseph@codesourcery.com>
26957
ed41ffef
JM
26958 [BZ #15359]
26959 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
26960 high part of pi/2.
26961 (__ieee754_rem_pio2l): Update comments.
26962
d0213cd0
JM
26963 [BZ #15429]
26964 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
26965 high part of pi/2.
26966 (__ieee754_rem_pio2l): Update comments.
26967
0d3e777a
JM
26968 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
26969 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
26970
24f56066
JM
26971 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
26972 M_PI_4l.
26973
faa7f811
JM
26974 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
26975 (M_PI_34_LOG10El): Likewise.
26976 (M_PI2_LOG10El): Likewise.
26977 (M_PI4_LOG10El): Likewise.
26978 (M_PI_LOG10El): Likewise.
26979
e9a5e0fd
AZ
269802013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26981
26982 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26983
d8cd06db
JM
269842013-05-08 Joseph Myers <joseph@codesourcery.com>
26985
a0d9f9d7
JM
26986 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
26987 (MINUS_ZERO_INIT): Likewise.
26988 (PLUS_INFTY_INIT): Likewise.
26989 (MINUS_INFTY_INIT): Likewise.
26990 (QNAN_VALUE_INIT): Likewise.
26991 (MAX_VALUE_INIT): Likewise.
26992 (MIN_VALUE_INIT): Likewise.
26993 (MIN_SUBNORM_VALUE_INIT): Likewise.
26994 (plus_zero): Initialize with PLUS_ZERO_INIT.
26995 (minus_zero): Initialize with MINUS_ZERO_INIT.
26996 (plus_infty): Initialize with PLUS_INFTY_INIT.
26997 (minus_infty): Initialize with MINUS_INFTY_INIT.
26998 (qnan_value): Initialize with QNAN_VALUE_INIT.
26999 (max_value): Initialize with MAX_VALUE_INIT.
27000 (min_value): Initialize with MIN_VALUE_INIT.
27001 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
27002
ae08db3b
JM
27003 * math/libm-test.inc (RUN_TEST_if_f): New macro.
27004 (jn_test): Use TEST_if_f instead of TEST_ff_f.
27005 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
27006 (yn_test): Use TEST_if_f instead of TEST_ff_f.
27007
f44bf14a
JM
27008 * math/libm-test.inc (RUN_TEST_f_f): New macro.
27009 (RUN_TEST_2_f): Likewise.
27010 (RUN_TEST_ff_f): Likewise.
27011 (RUN_TEST_fi_f): Likewise.
27012 (RUN_TEST_fl_f): Likewise.
27013 (RUN_TEST_fff_f): Likewise.
27014 (RUN_TEST_c_f): Likewise.
27015 (RUN_TEST_f_f1): Likewise.
27016 (RUN_TEST_fF_f1): Likewise.
27017 (RUN_TEST_fI_f1): Likewise.
27018 (RUN_TEST_ffI_f1): Likewise.
27019 (RUN_TEST_c_c): Likewise.
27020 (RUN_TEST_cc_c): Likewise.
27021 (RUN_TEST_f_i): Likewise.
27022 (RUN_TEST_f_i_tg): Likewise.
27023 (RUN_TEST_ff_i_tg): Likewise.
27024 (RUN_TEST_f_b): Likewise.
27025 (RUN_TEST_f_b_tg): Likewise.
27026 (RUN_TEST_f_l): Likewise.
27027 (RUN_TEST_f_L): Likewise.
27028 (RUN_TEST_sincos): Likewise.
27029 * math/gen-libm-test.pl (new_test): Take new argument to indicate
27030 whether to show exceptions. Do not include ");\n" in return
27031 value.
27032 (special_functions): Output call to RUN_TEST_sincos instead of
27033 check_float calls. Update calls to new_test.
27034 (parse_args): Output call to single RUN_TEST_* macro instead of
27035 check_* calls and other assignments. Update calls to new_test.
27036
d8cd06db
JM
27037 [BZ #2546]
27038 [BZ #2560]
27039 [BZ #5159]
27040 [BZ #15426]
27041 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
27042 input to result for tgamma overflow.
27043 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
27044 (gamma_coeff): New variable.
27045 (NCOEFF): New macro.
27046 (gamma_positive): New function.
27047 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
27048 underflow here. Use gamma_positive instead of exp (lgamma) for
27049 other arguments.
27050 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
27051 (gamma_coeff): New variable.
27052 (NCOEFF): New macro.
27053 (gammaf_positive): New function.
27054 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
27055 underflow here. Use gamma_positive instead of exp (lgamma) for
27056 other arguments.
27057 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
27058 (gamma_coeff): New variable.
27059 (NCOEFF): New macro.
27060 (gammal_positive): New function.
27061 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
27062 underflow here. Use gamma_positive instead of exp (lgamma) for
27063 other arguments.
27064 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
27065 (gamma_coeff): New variable.
27066 (NCOEFF): New macro.
27067 (gammal_positive): New function.
27068 (__ieee754_gammal_r): Handle positive infinity, overflow and
27069 underflow here. Handle NaN the same as positive infinity. Remove
27070 check x < 0xffffffff for negative integers. Use gamma_positive
27071 instead of exp (lgamma) for other arguments.
27072 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
27073 (gamma_coeff): New variable.
27074 (NCOEFF): New macro.
27075 (gammal_positive): New function.
27076 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
27077 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
27078 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
27079 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
27080 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
27081 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
27082 * sysdeps/generic/math_private.h (__gamma_productf): New
27083 prototype.
27084 (__gamma_product): Likewise.
27085 (__gamma_productl): Likewise.
27086 * math/Makefile (libm-calls): Add gamma_product.
27087 * math/libm-test.inc (tgamma_test): Add more tests.
27088 * sysdeps/i386/fpu/libm-test-ulps: Update.
27089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27090
bb7cf681
OB
270912013-05-08 Ondřej Bílka <neleai@seznam.cz>
27092
27093 * benchtests/bench-skeleton.c (main): Preheat CPU.
27094
ba853947
AJ
270952013-05-07 Aurelien Jarno <aurelien@aurel32.net>
27096
27097 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
27098
8347c74c
RM
270992013-05-07 Roland McGrath <roland@hack.frob.com>
27100
27101 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
27102 and _dl_skip_args_internal.
27103
e8dd4791
CD
271042013-05-07 Carlos O'Donell <carlos@redhat.com>
27105
27106 * manual/message.texi (Message Translation): Talk about users.
27107 Message to key mapping impacts design.
27108
c7405830
RM
271092013-05-06 Roland McGrath <roland@hack.frob.com>
27110
a9173057
RM
27111 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
27112
976e2f03
RM
27113 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
27114
9723ffc5
RM
27115 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
27116 * sysdeps/wordsize-64/glob64.c: ... here.
27117
962e6658
RM
27118 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
27119 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
27120 New macros.
27121
ee586a6d
RM
27122 * debug/getlogin_r_chk.c: Moved to ...
27123 * login/getlogin_r_chk.c: ... here.
27124 * debug/Makefile (routines): Move getlogin_r_chk to ...
27125 * login/Makefile (routines): ... here.
27126 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
27127 * login/Versions (libc: GLIBC_2.4): ... here.
27128
355f9165
RM
27129 * io/poll.c (__poll): Renamed from poll.
27130 Add libc_hidden_def.
27131 (poll): Define as weak alias.
27132
bd9ffde6
RM
27133 * debug/ptsname_r_chk.c: Moved to ...
27134 * login/ptsname_r_chk.c: ... here.
27135 * debug/Makefile (routines): Move ptsname_r_chk to ...
27136 * login/Makefile (routines): ... here.
27137 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
27138 * login/Versions (libc: GLIBC_2.4): ... here.
27139
8fb16a04
RM
27140 * posix/getlogin.c: Moved to ...
27141 * login/getlogin.c: ... here.
27142 * posix/getlogin_r.c: Moved to ...
27143 * login/getlogin_r.c: ... here.
27144 * posix/getlogin_r.c: Moved to ...
27145 * login/getlogin_r.c: ... here.
27146 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
27147 * login/Makefile (routines): ... here.
27148 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
27149 * login/Versions (libc: GLIBC_2.0): ... here.
27150
b99b892f
RM
27151 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
27152 (setrlimit): Define as weak alias.
27153
c7405830
RM
27154 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
27155 Call __ names for open, ftruncate, and close.
27156 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
27157 (truncate): Define as weak alias.
27158
5bf96de5
JM
271592013-05-06 Joseph Myers <joseph@codesourcery.com>
27160
9ea3513c
JM
27161 * math/gen-libm-test.pl (parse_args): Initialize x before each
27162 test of frexp, modf and remquo.
27163
5bf96de5
JM
27164 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
27165 test signgam value.
27166
16e616a7
AZ
271672013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27168
27169 [BZ #15418]
27170 [BZ #15419]
27171 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
27172 internal tests.
27173 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27174
d5e82754
RM
271752013-05-06 Roland McGrath <roland@hack.frob.com>
27176
27177 * elf/dl-writev.h: New file.
27178 * elf/dl-misc.c: Include it.
27179 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
27180 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
27181
a7548d41
JM
271822013-05-04 Joseph Myers <joseph@codesourcery.com>
27183
b7dab1e4
JM
27184 * math/libm-test.inc (noXFails): Remove variable.
27185 (noXPasses): Likewise.
27186 (BUILD_COMPLEX_INT): Remove macro.
27187 (print_screen): Remove xfail argument.
27188 (print_screen_max_error): Likewise.
27189 (update_stats): Likewise.
27190 (print_max_error): Likewise. Update calls to other affected
27191 functions.
27192 (print_complex_max_error): Likewise.
27193 (test_single_exception): Update calls to print_screen.
27194 (test_single_errno): Likewise.
27195 (check_float_internal): Remove xfail argument. Update calls to
27196 other affected functions.
27197 (check_float): Likewise.
27198 (check_complex): Likewise.
27199 (check_int): Likewise.
27200 (check_long): Likewise.
27201 (check_bool): Likewise.
27202 (check_longlong): Likewise.
27203 (main): Don't print noXFails and noXPasses.
27204 * math/gen-libm-test.pl (top level): Don't mention expected
27205 failure handling in comment.
27206 (new_test): Don't handle expected failures.
27207 (parse_args): Don't mention expected failure handling in comment.
27208 (generate_testfile): Don't handle expected failures.
27209 (parse_ulps): Likewise.
27210 (print_ulps_file): Likewise.
27211 (get_failure): Remove function.
27212 (output_test): Don't handle expected failures.
27213 * make/README.libm-test: Don't mention expected failure handling.
27214
a7548d41
JM
27215 * math/libm-test.inc (plus_zero): Make const. Add initializer.
27216 (minus_zero): Likewise.
27217 (plus_infty): Likewise.
27218 (minus_infty): Likewise.
27219 (qnan_value): Likewise.
27220 (max_value): Likewise.
27221 (min_value): Likewise.
27222 (min_subnorm_value): Likewise.
27223 (initialize): Do not initialize those variables dynamically.
27224
60bfd54c
RM
272252013-05-03 Roland McGrath <roland@hack.frob.com>
27226
cc0e6ed8
RM
27227 * io/open.c (__open_2): Moved to ...
27228 * io/open_2.c: ... this new file.
27229 * io/open64.c (__open64_2): Moved to ...
27230 * io/open64_2.c: ... this new file.
27231 * io/openat.c (__openat_2): Moved to ...
27232 * io/openat_2.c: ... this new file.
27233 * io/openat64.c (__openat64_2): Moved to ...
27234 * io/openat64_2.c: ... this new file.
27235 * io/Makefile (routines): Add them.
27236 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
27237 * sysdeps/unix/sysv/linux/open_2.c: File removed.
27238 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
27239 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
27240 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
27241 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
27242 (__openat64): Add hidden_ver.
27243 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
27244 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
27245
60bfd54c
RM
27246 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
27247 Separately conditionalize setting of GLRO(dl_sysinfo) so
27248 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
27249 as well, but the actual setting is only under [NEED_DL_SYSINFO].
27250
83e7640f
AZ
272512013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27252
27253 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
27254 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
27255 definition.
27256 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
27257 * sysdeps/unix/sysv/linux/powerpc/init-first.c
27258 (_libc_vdso_platform_setup): Add __vdso_time initialization.
27259 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
27260 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
27261
d5dc2af3
JM
272622013-05-03 Joseph Myers <joseph@codesourcery.com>
27263
c31a5b1e
JM
27264 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
27265 test signgam value.
27266
d5dc2af3
JM
27267 * math/libm-test.inc (hypot_test): Do not use
27268 IGNORE_ZERO_INF_SIGN.
27269
164fd39d
AJ
272702013-05-03 Andreas Jaeger <aj@suse.de>
27271
27272 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
27273 Linux 3.9.
27274 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
27275 (PF_MAX): Adjust for VSOCK change.
27276
8237f48c
AZ
272772013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27278
27279 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27280
9df02941
CD
272812013-05-02 Carlos O'Donell <carlos@redhat.com>
27282
27283 [BZ #15264]
27284 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
27285 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
27286 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
27287
d422395e
DM
272882013-05-02 David S. Miller <davem@davemloft.net>
27289
27290 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27291
a07c5731
OB
272922013-05-01 Ondřej Bílka <neleai@seznam.cz>
27293
27294 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
27295
1324e37f
RM
272962013-05-01 Roland McGrath <roland@hack.frob.com>
27297
27298 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
27299
0695940b
RS
273002013-05-01 Richard Smith <richard@metafoo.co.uk>
27301
bb5f27ad 27302 [BZ #14952]
0695940b
RS
27303 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
27304 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27305 Use __attribute__ ((__gnu_inline__)).
27306 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27307 Don't use __attribute__ ((__gnu_inline__)).
27308
10de07f5
JM
273092013-05-01 Joseph Myers <joseph@codesourcery.com>
27310
27311 [BZ #15423]
27312 * math/s_catan.c (__catan): Handle small real or imaginary part of
27313 input specially to avoid spurious underflow.
27314 * math/s_catanf.c (__catanf): Likewise.
27315 * math/s_catanh.c (__catanh): Likewise.
27316 * math/s_catanhf.c (__catanhf): Likewise.
27317 * math/s_catanhl.c (__catanhl): Likewise.
27318 * math/s_catanl.c (__catanl): Likewise.
27319 * math/libm-test.inc (catan_test): Add more tests.
27320 (catanh_test): Likewise.
27321 * sysdeps/i386/fpu/libm-test-ulps: Update.
27322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27323
cb4d5414
AZ
273242013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27325
27326 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27327
caf84319
JM
273282013-04-30 Joseph Myers <joseph@codesourcery.com>
27329
27330 [BZ #15416]
27331 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
27332 accurately for denominator in atan2.
27333 * math/s_catanf.c (__catanf): Likewise.
27334 * math/s_catanh.c (__catanh): Likewise.
27335 * math/s_catanhf.c (__catanhf): Likewise.
27336 * math/s_catanhl.c (__catanhl): Likewise.
27337 * math/s_catanl.c (__catanl): Likewise.
27338 * math/libm-test.inc (catan_test): Add more tests.
27339 (catanh_test): Likewise.
27340 * sysdeps/i386/fpu/libm-test-ulps: Update.
27341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27342
d569c6ee
SP
273432013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27344
6dbe713d
SP
27345 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
27346
f0ee064b
SP
27347 * benchtests/Makefile (bench): Remove slow benchmarks.
27348 * benchtests/atan-inputs: Add slow benchmark inputs.
27349 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
27350 (BENCH_FUNC): Accept variant offset.
27351 (VARIANT): Define.
27352 * benchtests/bench-skeleton.c (main): Run benchmark for each
27353 variant.
27354 * benchtests/cos-inputs: Add slow benchmark inputs.
27355 * benchtests/exp-inputs: Likewise.
27356 * benchtests/pow-inputs: Likewise.
27357 * benchtests/sin-inputs: Likewise.
27358 * benchtests/slowatan-inputs: Remove.
27359 * benchtests/slowatan.c: Remove.
27360 * benchtests/slowcos-inputs: Remove.
27361 * benchtests/slowcos.c: Remove.
27362 * benchtests/slowexp-inputs: Remove.
27363 * benchtests/slowexp.c: Remove.
27364 * benchtests/slowpow-inputs: Remove.
27365 * benchtests/slowpow.c: Remove.
27366 * benchtests/slowsin-inputs: Remove.
27367 * benchtests/slowsin.c: Remove.
27368 * benchtests/slowtan-inputs: Remove.
27369 * benchtests/slowtan.c: Remove.
27370 * benchtests/tan-inputs: Add slow benchmark inputs.
27371 * scripts/bench.pl: Parse comments and directives.
27372
d569c6ee
SP
27373 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
27374 in CPPFLAGS.
27375 ($(objpfx)bench-%.c): Remove *-ITER.
27376 * benchtests/bench-modf.c: Remove definition of ITER.
27377 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
27378 (main): Loop for DURATION seconds instead of fixed number of
27379 iterations.
27380 * scripts/bench.pl: Don't expect iterations in parameters.
27381
a6a242fe
RM
273822013-04-29 Roland McGrath <roland@hack.frob.com>
27383
27384 * io/fchdir.c (__fchdir): Renamed from fchdir.
27385 (fchdir): Define as weak alias.
27386
f2da7793
JM
273872013-04-29 Joseph Myers <joseph@codesourcery.com>
27388
27389 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
27390 (ERRNO_EDOM): Likewise.
27391 (ERRNO_ERANGE): Likewise.
27392 (noErrnoTests): New variable.
27393 (init_max_error): Set errno to 0.
27394 (test_single_errno): New function.
27395 (test_errno): Likewise.
27396 (check_float_internal): Call test_errno. Set errno to 0.
27397 (check_complex): Refer to errno tests in comment.
27398 (check_int): Call test_errno. Set errno to 0.
27399 (check_long): Likewise.
27400 (check_bool): Likewise.
27401 (check_longlong): Likewise.
27402 (cos_test): Use ERRNO_* flags for errno tests instead of
27403 check_int.
27404 (expm1_test): Likewise.
27405 (fmod_test): Likewise.
27406 (ilogb_test): Likewise.
27407 (lgamma_test): Likewise.
27408 (pow_test): Likewise.
27409 (remainder_test): Likewise.
27410 (sin_test): Likewise.
27411 (tan_test): Likewise.
27412 (yn_test): Likewise.
27413 (initialize): Set errno to 0.
27414 (main): Print number of errno tests.
27415 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
27416
b1a36ceb
AJ
274172013-04-29 Andreas Jaeger <aj@suse.de>
27418
c3ed8088
AJ
27419 [BZ #15084]
27420 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
27421 and RES_USEVC.
27422
f1a24198
AJ
27423 [BZ #15085]
27424 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
27425 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
27426 unimplemented.
27427
9ce3b2cb
AJ
27428 [BZ #15380]
27429 * stdlib/random.c (__initstate): Return NULL if
27430 __initstate fails.
27431
f1a24198 27432 [BZ #15086]
b1a36ceb
AJ
27433 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
27434 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
27435 RES_SNGLKUPREOP.
27436
7e7b6f36
AZ
274372013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27438
27439 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27440
4d14f449
JM
274412013-04-29 Joseph Myers <joseph@codesourcery.com>
27442
27443 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
27444 of individual tests.
27445 (casin_test): Likewise.
27446 (casinh_test): Likewise.
27447
5b4217d7
JM
274482013-04-27 Joseph Myers <joseph@codesourcery.com>
27449
27450 [BZ #15409]
27451 * math/s_catan.c (__catan): Handle arguments with large real or
27452 imaginary part separately without squaring.
27453 * math/s_catanf.c (__catanf): Likewise.
27454 * math/s_catanh.c (__catanh): Likewise.
27455 * math/s_catanhf.c (__catanhf): Likewise.
27456 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27457 and redefine.
27458 (__catanhl): Handle arguments with large real or imaginary part
27459 separately without squaring.
27460 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27461 and redefine.
27462 (__catanl): Handle arguments with large real or imaginary part
27463 separately without squaring.
27464 * math/libm-test.inc (catan_test): Add more tests.
27465 (catanh_test): Likewise.
27466 * sysdeps/i386/fpu/libm-test-ulps: Update.
27467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27468
4220c3ef
AJ
274692013-04-27 Andreas Jaeger <aj@suse.de>
27470
27471 [BZ #15007]
27472 * stdlib/stdlib.h: Update guards for qecvt.
27473 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
27474 <stdlib.h>.
27475
4721b2d1
AM
274762013-04-27 Allan McRae <allan@archlinux.org>
27477
27478 * sysdeps/i386/fpu/libm-test-ulps: Update.
27479
f0302940
JM
274802013-04-26 Joseph Myers <joseph@codesourcery.com>
27481
9457fd95
JM
27482 [BZ #15406]
27483 * math/s_catan.c: Include <float.h>.
27484 (__catan): Ensure underflow exception occurs for underflowed
27485 result.
27486 * math/s_catanf.c: Include <float.h>.
27487 (__catanf): Ensure underflow exception occurs for underflowed
27488 result.
27489 * math/s_catanh.c: Include <float.h>.
27490 (__catanh): Ensure underflow exception occurs for underflowed
27491 result.
27492 * math/s_catanhf.c: Include <float.h>.
27493 (__catanhf): Ensure underflow exception occurs for underflowed
27494 result.
27495 * math/s_catanhl.c: Include <float.h>.
27496 (__catanhl): Ensure underflow exception occurs for underflowed
27497 result.
27498 * math/s_catanl.c: Include <float.h>.
27499 (__catanl): Ensure underflow exception occurs for underflowed
27500 result.
27501 * math/libm-test.inc (catan_test): Add more tests.
27502 (catanh_test): Likewise.
27503
f0302940
JM
27504 [BZ #15405]
27505 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
27506 underflowed result.
27507 * math/s_ccoshf.c (__ccoshf): Likewise.
27508 * math/s_ccoshl.c (__ccoshl): Likewise.
27509 * math/s_csin.c (__csin): Likewise.
27510 * math/s_csinf.c (__csinf): Likewise.
27511 * math/s_csinh.c (__csinh): Likewise.
27512 * math/s_csinhf.c (__csinhf): Likewise.
27513 * math/s_csinhl.c (__csinhl): Likewise.
27514 * math/s_csinl.c (__csinl): Likewise.
27515 * math/libm-test.inc (ccos_test): Add more tests.
27516 (ccosh_test): Likewise.
27517 (csin_test): Likewise.
27518 (csinh_test): Likewise.
27519
aa630f59
AZ
275202013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27521
27522 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
27523 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
27524 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
27525 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
27526 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
27527 powerpc/power5+/fpu folders.
27528 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
27529
27530
1b835983
MT
275312013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
27532
27533 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27534
73709b26
JM
275352013-04-25 Joseph Myers <joseph@codesourcery.com>
27536
27537 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
27538 additions to variable.
27539 [$(config-machine) = x86_64] (modules-names): Likewise.
27540 ($(objpfx)tst-audit3): Remove dependency.
27541 ($(objpfx)tst-audit3.out): Likewise.
27542 ($(objpfx)tst-audit4): Likewise.
27543 ($(objpfx)tst-audit4.out): Likewise.
27544 ($(objpfx)tst-audit5): Likewise.
27545 ($(objpfx)tst-audit5.out): Likewise.
27546 ($(objpfx)tst-audit6): Likewise.
27547 ($(objpfx)tst-audit6.out): Likewise.
27548 ($(objpfx)tst-audit7): Likewise.
27549 ($(objpfx)tst-audit7.out): Likewise.
27550 (tst-audit3-ENV): Remove variable.
27551 (tst-audit4-ENV): Likewise.
27552 (tst-audit5-ENV): Likewise.
27553 (tst-audit6-ENV): Likewise.
27554 (tst-audit7-ENV): Likewise.
27555 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
27556 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
27557 addition to variable.
27558 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
27559 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
27560 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
27561 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
27562 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
27563 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
27564 tst-audit3, tst-audit4 and tst-audit5.
27565 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
27566 tst-audit6 and tst-audit7.
27567 [$(subdir) = elf] (modules-names): Add audit modules for those
27568 tests.
27569 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
27570 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
27571 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
27572 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
27573 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
27574 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
27575 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
27576 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
27577 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
27578 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
27579 [$(subdir) = elf] (tst-audit3-ENV): New variable.
27580 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
27581 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
27582 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
27583 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
27584 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
27585 Likewise.
27586 [$(subdir) = elf && $(config-cflags-avx) = yes]
27587 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
27588 [$(subdir) = elf && $(config-cflags-avx) = yes]
27589 (CFLAGS-tst-auditmod4a.c): Likewise.
27590 [$(subdir) = elf && $(config-cflags-avx) = yes]
27591 (CFLAGS-tst-auditmod4b.c): Likewise.
27592 [$(subdir) = elf && $(config-cflags-avx) = yes]
27593 (CFLAGS-tst-auditmod6b.c): Likewise.
27594 [$(subdir) = elf && $(config-cflags-avx) = yes]
27595 (CFLAGS-tst-auditmod6c.c): Likewise.
27596 [$(subdir) = elf && $(config-cflags-avx) = yes]
27597 (CFLAGS-tst-auditmod7b.c): Likewise.
27598 * elf/tst-audit3.c: Move to ...
27599 * sysdeps/x86_64/tst-audit3.c: ... here.
27600 * elf/tst-audit4.c: Move to ...
27601 * sysdeps/x86_64/tst-audit4.c: ... here.
27602 * elf/tst-audit5.c: Move to ...
27603 * sysdeps/x86_64/tst-audit5.c: ... here.
27604 * elf/tst-audit6.c: Move to ...
27605 * sysdeps/x86_64/tst-audit6.c: ... here.
27606 * elf/tst-audit7.c: Move to ...
27607 * sysdeps/x86_64/tst-audit7.c: ... here.
27608 * elf/tst-auditmod3a.c: Move to ...
27609 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
27610 * elf/tst-auditmod3b.c: Move to ...
27611 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
27612 * elf/tst-auditmod4a.c: Move to ...
27613 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
27614 * elf/tst-auditmod4b.c: Move to ...
27615 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
27616 * elf/tst-auditmod5a.c: Move to ...
27617 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
27618 * elf/tst-auditmod5b.c: Move to ...
27619 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
27620 * elf/tst-auditmod6a.c: Move to ...
27621 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
27622 * elf/tst-auditmod6b.c: Move to ...
27623 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
27624 * elf/tst-auditmod6c.c: Move to ...
27625 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
27626 * elf/tst-auditmod7a.c: Move to ...
27627 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
27628 * elf/tst-auditmod7b.c: Move to ...
27629 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
27630
1ef74943
PP
276312013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
27632
27633 [BZ #15366]
27634 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
27635 define unconditionally.
27636 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
27637 define unconditionally.
27638 (INT8_C, INT16_C, etc.): Likewise.
27639
93fd48c5
MR
276402013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
27641
ae9552cf
MR
27642 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
27643 __ehdr_start with hidden visibility.
27644
93fd48c5
MR
27645 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
27646
418601aa
CD
276472013-04-24 Carlos O'Donell <carlos@redhat.com>
27648
27649 * math/libm-test.inc (cos_test): Use accurate hex constants.
27650 (sincost_test): Likewise.
27651
2f38fbfe
JM
276522013-04-24 Joseph Myers <joseph@codesourcery.com>
27653
5e221800
JM
27654 * math/libm-test.inc (catan_test): Add more tests.
27655 (catanh_test): Likewise.
27656
77f143fd
JM
27657 * math/s_catanf.c (__catanf): Use suffixed floating-point
27658 constants.
27659 * math/s_catanhf.c (__catanhf): Likewise.
27660 * math/s_catanhl.c (__catanhl): Likewise.
27661 * math/s_catanl.c (__catanl): Likewise.
27662
2f38fbfe
JM
27663 [BZ #15394]
27664 * math/s_catan.c (__catan): Calculate imaginary part of result
27665 with log1p not log unless computing log of number close to 0.
27666 * math/s_catanf.c (__catanf): Likewise.
27667 * math/s_catanl.c (__catanl): Likewise.
27668 * math/s_catanh.c (__catanh): Calculate real part of result with
27669 log1p not log unless computing log of number close to 0.
27670 * math/s_catanhf.c (__catanhf): Likewise.
27671 * math/s_catanhl.c (__catanhl): Likewise.
27672 * math/libm-test.inc (catan_test): Add more tests.
27673 (catanh_test): Likewise.
27674 * sysdeps/i386/fpu/libm-test-ulps: Update.
27675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27676
45d69176
SP
276772013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
27678
27679 * benchtests/Makefile: Mention files in which fast and slow
27680 paths of math functions are implemented.
27681
87f51853
RM
276822013-04-23 Roland McGrath <roland@hack.frob.com>
27683
27684 * sysdeps/posix/timespec_get.c: New file.
27685
3c026539
AZ
276862013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27687
27688 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
27689 POWER.
27690 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
27691 for POWER.
27692 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
27693 powerpc/power5/fpu folders.
27694 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
27695 * benchtests/Makefile: Add modf testcase.
27696 * benchtests/bench-modf.c: New file: Benchmark test for mo
27697
ff491d14
SP
276982013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
27699
27700 [BZ #14888]
27701 * time/Makefile (tests): Add tst-strptime-whitespace.
27702 * time/strptime_l.c (get_number): Use ISSPACE.
27703 (__strptime_internal): Likewise.
27704 * time/tst-strptime-whitespace.c: New test case.
27705
7ed3f4e8
AS
277062013-04-23 Andreas Schwab <schwab@linux-m68k.org>
27707
27708 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
27709 member.
27710 (_nss_files_init): Set it here.
27711
5c95f7b6
HC
277122013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
27713
27714 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
27715 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
27716 unsigned.
27717
d34c9158
JBG
277182013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
27719
27720 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
27721
2169712d
SP
277222013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27723
27724 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
27725 size just once.
27726
29c5de99
DM
277272013-04-21 David S. Miller <davem@davemloft.net>
27728
27729 * po/ru.po: Update Russion translation from translation project.
27730
ccdad15d
AC
277312013-04-17 Adam Conrad <adconrad@0c3.net>
27732
27733 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
27734 and setfsgid.
27735
0f122b8d
CD
277362013-04-17 Carlos O'Donell <carlos@redhat.com>
27737
5c5b07da 27738 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 27739 * configure: Regenerate.
5c5b07da 27740 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
27741 Add example to error message.
27742 * sysdeps/i386/configure: Regenerate.
27743
037714dd
SP
277442013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27745
27746 * benchtests/Makefile (bench): Add cos, tan, slowcos and
27747 slowtan.
27748 * benchtests/cos-inputs: New file.
27749 * benchtests/slowcos-inputs: New file.
27750 * benchtests/slowcos.c: New file.
27751 * benchtests/slowtan-inputs: New file.
27752 * benchtests/slowtan.c: New file.
27753 * benchtests/tan-inputs: New file.
27754
e913141d
RM
277552013-04-16 Roland McGrath <roland@hack.frob.com>
27756
27757 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
27758 considered kosher.
27759
a2964074
SP
277602013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27761
4856bcd2
SP
27762 * benchtests/Makefile: Include cppflags-iterator.mk to add
27763 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
27764
a2964074
SP
27765 * Makefile.in (bench-clean): New target.
27766 * benchtests/Makefile (bench-clean): Likewise.
27767
9fbf9aca
DH
277682013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
27769
27770 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
27771
207d1e2a
TS
277722013-04-15 Thomas Schwinge <thomas@codesourcery.com>
27773
27774 * stdio-common/tstdiomisc.c: Fix coding-style violation.
27775
306dfba9
AS
277762013-04-15 Andreas Schwab <schwab@suse.de>
27777
27778 * nscd/grpcache.c (cache_addgr): Properly check for short write.
27779 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27780 * nscd/pwdcache.c (cache_addpw): Likewise.
27781 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
27782 more than recsize.
27783
206a6699
SP
277842013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27785
27786 * benchtests/Makefile (bench): Write all output to
27787 bench-out.tmp together.
27788
0582f6b3
AS
277892013-04-15 Andreas Schwab <schwab@suse.de>
27790
27791 * nscd/nscd.c (main): Don't fork again after closing files.
27792
acb4325f
SP
277932013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27794
5cb26d0a
SP
27795 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
27796
acb4325f
SP
27797 * benchtests/Rules (bench-deps): Collect dependencies into a
27798 single variable. Add Makefile to dependencies.
27799 ($(objpfx)bench-%.c): Depend on bench-deps.
27800
47792506
RM
278012013-04-12 Roland McGrath <roland@hack.frob.com>
27802 Xavier Roche <roche+kml2@exalead.com>
27803
27804 [BZ #15361]
27805 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
27806 just that it's a file descriptor.
27807 * manual/llio.texi (Synchronizing AIO Operations): Update description
27808 for EBADF error from aio_fsync.
27809
8fc1bee5
SP
278102013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
27811
27812 * Rules (bench): Move target definition...
27813 * benchtests/Makefile: ... here.
27814
aba5e333
CD
278152013-04-11 Carlos O'Donell <carlos@redhat.com>
27816
27817 * math/libm-test.inc (cos_test): Fix PI/2 test.
27818 (sincos_test): Likewise.
27819 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
27820 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
27821
273cdee8
AS
278222013-04-11 Andreas Schwab <schwab@suse.de>
27823
6ecec3b6
AS
27824 [BZ #13988]
27825 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
27826 accept exponent character only when digits were seen.
27827 * stdio-common/Makefile (tests): Add bug26.
27828 * stdio-common/bug26.c: New file.
27829
273cdee8
AS
27830 [BZ #14293]
27831 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
27832 non-freeable.
27833
8da491f5
SP
278342013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27835
01dc6df9
SP
27836 * Makeconfig (rtld-prefix): Define built linker prefix.
27837 * Rules (run-bench): Use it.
27838 * math/Makefile (run-regen-ulps): Likewise.
27839
8da491f5
SP
27840 * Rules (bench): Remove eval.
27841
abe7f530
SP
278422013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27843 Roland McGrath <roland@hack.frob.com>
27844 Ondrej Bilka <neleai@seznam.cz>
27845
27846 [BZ #15346]
27847 * time/getdate.c: Include ctype.h and alloca.h.
27848 (__getdate_r): Trim leading and trailing spaces of input.
27849 * time/tst-getdate.c (tests): Add tests with leading and
27850 trailing spaces.
27851
61c23e62
RM
278522013-04-08 Roland McGrath <roland@hack.frob.com>
27853
27854 [BZ #14280]
27855 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
27856 when computing value.
27857
7208a313
CD
278582013-04-06 Carlos O'Donell <carlos@redhat.com>
27859
085b2d41
CD
27860 * math/README.libm-test (How can I generate "libm-test-ulps"?):
27861 Use testrun.sh to run libm tests.
27862
7208a313
CD
27863 [BZ #15309]
27864 * elf/dl-open.c (dl_open_worker): memset all of seen array.
27865
872c0acd
MM
278662013-04-06 Marko Myllynen <myllynen@redhat.com>
27867
27868 [BZ #15264]
27869 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
27870
26510bdd
CD
278712013-04-06 Carlos O'Donell <carlos@redhat.com>
27872
27873 * Makefile.in (regen-ulps): New target.
27874 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
27875 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
27876 [ifneq (no,$(PERL)] (regen-ulps): New target.
27877 [ifeq (no,$(PERL)] (regen-ulps): New target.
27878 * math/libm-test.inc (ulps_file_name): Define.
27879 (output_dir): New variable.
27880 (options): Add "output-dir" option.
27881 (parse_opt): Handle 'o' case.
27882 (main): If output_dir is non-NULL use it as a prefix
27883 otherwise use "".
27884 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
27885
a01f19c8
CD
278862013-04-06 Carlos O'Donell <carlos@redhat.com>
27887
27888 [BZ #10060, #10062]
27889 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
27890 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
27891 fail configure if __sync_val_compare_and_swap is not inlined.
27892 * sysdeps/i386/configure: Regenerate.
27893 * configure.in: Build for i686 when configured for i386.
27894 * configure: Regenerate.
27895 * README: Remove i386 reference.
27896
b7a329a5
CD
278972013-04-06 Carlos O'Donell <carlos@redhat.com>
27898
27899 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
27900 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27901
bf0f50df
TS
279022013-04-05 Thomas Schwinge <thomas@codesourcery.com>
27903
ee091edf
TS
27904 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
27905 (lmsnanval): New variables.
27906 (F): Add conversion tests.
27907 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
27908 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
27909
a8b792d6
TS
27910 * stdio-common/tstdiomisc.c (F): Properly collect individual
27911 tests' results.
27912
a1cbf437
TS
27913 [BZ #14686, #15336]
27914 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
27915 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
27916 Instead, use input NaN values or generate a qNaN by arithmetic
27917 operation. Also fix bugs to comply with the standard.
27918 * math/libm-test.inc (remainder_test): Add more tests.
27919
8b43a0c9
TS
27920 [BZ #15335, #15342]
27921 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
27922 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
27923 input NaN values or generate a qNaN by arithmetic operation.
27924
d91da4ce
TS
27925 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
27926 unreachable code.
27927
bf0f50df
TS
27928 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
27929 definitions.
27930
05e166c8
JM
279312013-04-03 Joseph Myers <joseph@codesourcery.com>
27932
27933 [BZ #14478]
27934 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
27935 underflowed result.
27936 * math/s_cexpf.c (__cexpf): Likewise.
27937 * math/s_cexpl.c (__cexpl): Likewise.
27938 * math/libm-test.inc (cexp_test): Add more tests.
27939
1cef1b19
AS
279402013-04-03 Andreas Schwab <schwab@suse.de>
27941
27942 [BZ #15330]
27943 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
27944 order arrays from heap if bigger than alloca cutoff.
27945
74d87055
TS
279462013-04-03 Thomas Schwinge <thomas@codesourcery.com>
27947
27948 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
27949 (SNAN_TESTS_double): Refer to GCC PR56831.
27950 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
27951 GCC PR56828.
27952
d755bba4
SP
279532013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
27954
90d5d5bb
SP
27955 * Rules (bench): Move bench.out after the run is complete.
27956
73e0cd5d
SP
27957 * Rules (bench): Echo currently running benchmark.
27958
64aabd4b
SP
27959 * benchtests/Makefile (bench): Add atan and slowatan.
27960 * benchtests/atan-inputs: New file.
27961 * benchtests/slowatan-inputs: New file.
27962 * benchtests/slowatan.c: New file.
27963
c871eccd
SP
27964 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
27965 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
27966 its value.
27967
d755bba4
SP
27968 [BZ #15305]
27969 * sysdeps/unix/sysv/linux/kernel-features.h
27970 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
27971 __ASSUME_XFS_RESTRICTED_CHOWN.
27972 * sysdeps/unix/sysv/linux/pathconf.c
27973 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
27974 Save and restore errno.
27975
52ce4860
JM
279762013-04-02 Joseph Myers <joseph@codesourcery.com>
27977
27978 [BZ #15327]
27979 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
27980 arguments using __kernel_casinh.
27981 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
27982 arguments using __kernel_casinhf.
27983 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
27984 arguments using __kernel_casinhl.
27985 * math/libm-test.inc (cacosh_test): Add more tests.
27986 * sysdeps/i386/fpu/libm-test-ulps: Update.
27987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27988
81f311c2
SP
279892013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
27990
e7906a47
SP
27991 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
27992 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
27993
92e3664b
SP
27994 * bench/Makefile (bench): Add sin and slowsin.
27995 * benchtests/sin-inputs: New file.
27996 * benchtests/slowsin-inputs: New file.
27997 * benchtests/slowsin.c: New file.
27998
81f311c2
SP
27999 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
28000 (bench): Add slowexp and slowpow.
28001 (exp-ITER): Increase iterations.
28002 (pow-ITER): Likewise.
28003 * benchtests/exp-inputs: Change input.
28004 * benchtests/pow-inputs: Likewise.
28005 * benchtests/slowexp-inputs: New file.
28006 * benchtests/slowexp.c: New file.
28007 * benchtests/slowpow-inputs: New file.
28008 * benchtests/slowpow.c: New file.
28009
ab0f1aa9
AZ
280102013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28011
28012 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
28013 instructions.
28014 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28015 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
28016 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
28017 * benchtests/Makefile: Add rint benchtest.
28018 * benchtests/rint-inputs: Input for rint benchtest.
28019
57267616
TS
280202013-04-02 Thomas Schwinge <thomas@codesourcery.com>
28021
28022 * Versions.def (libm): Add GLIBC_2.18.
28023 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
28024 hidden libm prototypes.
28025 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
28026 * math/Makefile (libm-calls): Add s_issignaling.
28027 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
28028 __issignalingf, __issignalingl. Adjust all libm.abilist files.
28029 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
28030 declaration.
28031 * math/math.h [__USE_GNU] (issignaling): New macro.
28032 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
28033 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
28034 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
28035 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
28036 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
28037 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
28038 * manual/arith.texi (issignaling): New section.
28039 * manual/libm-err-tab.pl (@all_functions): Update comment.
28040 * math/gen-libm-test.pl (parse_args): Apply special handling for
28041 issignaling.
28042 * math/libm-test.inc (print_float, issignaling_test): New
28043 functions.
28044 (check_float_internal): Add issignaling checks.
28045 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
28046 default definition.
28047 * sysdeps/powerpc/math-tests.h: New file.
28048 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
28049 tests.
28050 * math/test-snan.c (TEST_FUNC): Likewise.
28051
6142896d
DM
280522013-03-30 David S. Miller <davem@davemloft.net>
28053
28054 * po/de.po: Update from translation team.
28055
ccc8cadf
JM
280562013-03-30 Joseph Myers <joseph@codesourcery.com>
28057
28058 [BZ #10357]
28059 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28060 imaginary part less than 1.0 and real part less than 0.5
28061 specially.
28062 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28063 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28064 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
28065 (cacos_test): Add more tests.
28066 (casin_test): Likewise.
28067 (casinh_test): Likewise.
28068 * sysdeps/i386/fpu/libm-test-ulps: Update.
28069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28070
0f6a8d4b
SP
280712013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28072
0d1029de
SP
28073 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
28074 ONE with its value.
28075
c2d94018
SP
28076 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
28077 (__pow_mp): Replace ONE and MONE with their values.
28078 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28079 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
28080 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28081 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
28082 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28083 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28084
27ec37f1
SP
28085 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
28086
a64d7e0e
SP
28087 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
28088 (__pow_mp): Replace ZERO and MZERO with their values.
28089 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
28090 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28091 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28092 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28093 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28094 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
28095 (__sqr): Likewise.
28096
d26dd3eb
SP
28097 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
28098
0f6a8d4b
SP
28099 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
28100
e57b0c61
RM
281012013-03-28 Roland McGrath <roland@hack.frob.com>
28102
28103 * include/stdlib.h [!SHARED] (__call_tls_dtors):
28104 Declare with __attribute__ ((weak)).
28105 * stdlib/exit.c (__libc_atexit) [!SHARED]:
28106 Call __call_tls_dtors only if it's not NULL.
28107
356b3480
RM
281082013-03-28 Roland McGrath <roland@hack.frob.com>
28109
288f7d79
RM
28110 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
28111 didn't do it already, then set _dl_phdr and _dl_phnum based on the
28112 magic __ehdr_start linker symbol if it's defined.
28113 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
28114 them up here if it was already done.
28115
dc0a0263
RM
28116 * elf/dl-support.c (_dl_phdr): Make pointer to const.
28117 (_dl_aux_init): Use const in cast when setting it.
28118 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
28119 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
28120 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
28121
3d3436ae
RM
28122 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
28123 Declare them here.
28124 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
28125 * csu/libc-tls.c: Nor here.
28126 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
28127
356b3480
RM
28128 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
28129 (__libc_message): Never call vsyslog.
28130
b0f1246a
AM
281312013-03-28 Alan Modra <amodra@gmail.com>
28132
28133 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
28134 Define as empty.
28135 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
28136 Likewise.
28137
fbbe2b9a
AZ
281382013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28139
28140 [BZ #15214]
28141 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
28142 underflow.
28143 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28144
1728ab37
SP
281452013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28146
7a86be6e
SP
28147 [BZ #15304]
28148 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
28149 Don't add gid passed as argument.
28150
1728ab37
SP
28151 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
28152
3a7182a1
JM
281532013-03-27 Joseph Myers <joseph@codesourcery.com>
28154
28155 [BZ #15307]
28156 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28157 imaginary part between 1.0 and 1.5 and real part less than 0.5
28158 specially.
28159 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28160 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28161 * math/libm-test.inc (cacos_test): Add more tests.
28162 (casin_test): Likewise.
28163 (casinh_test): Likewise.
28164 * sysdeps/i386/fpu/libm-test-ulps: Update.
28165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28166
6f2e90e7
SP
281672013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28168
5739f705
SP
28169 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
28170 constants.
28171 (norm): Likewise.
28172 (denorm): Likewise.
28173 (__dbl_mp): Likewise.
28174 (add_magnitudes): Likewise.
28175 (sub_magnitudes): Likewise.
28176 (__add): Likewise.
28177 (__sub): Likewise.
28178 (__mul): Likewise.
28179 (__sqr): Likewise.
28180 (__inv): Likewise.
28181 (__dvd): Likewise.
28182
e375e83d
SP
28183 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
28184 commented code.
28185 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
28186 (__dubcos): Likewise.
28187 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
28188 (__ieee754_acos): Likewise.
28189 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
28190 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
28191 (__exp1): Likewise.
28192 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28193 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28194 (log1): Likewise.
28195 (my_log2): Likewise.
28196 (checkint): Likewise.
28197 * sysdeps/ieee754/dbl-64/e_remainder.c
28198 (__ieee754_remainder): Likewise.
28199 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28200 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
28201 (bsloww): Likewise.
28202 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28203
6f2e90e7
SP
28204 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
28205 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
28206 MANTISSA_STORE_T to store computations on mantissa. Use
28207 macros for rounding and division.
28208 (denorm): Likewise.
28209 (__dbl_mp): Likewise.
28210 (add_magnitudes): Likewise.
28211 (sub_magnitudes): Likewise.
28212 (__mul): Likewise.
28213 (__sqr): Likewise.
28214 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
28215 powers of two in terms of TWOPOW macro.
28216 (mp_no): Make type of mantissa as MANTISSA_T.
28217 [!RADIXI]: Define RADIXI.
28218 [!TWO52]: Define TWO52.
28219 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
28220
fce14d4e
AZ
282212013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28222
28223 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
28224 llroundl symbol when building for PPC32.
28225
9ad027fb
MW
282262013-03-24 Mark H Weaver <mhw@netris.org>
28227
28228 * manual/arith.texi (Normalization Functions): Fix prototypes for
28229 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
28230
e42a38dd
AZ
282312013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28232
28233 [BZ #13889]
28234 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
28235 high value to check if expl overflow.
28236 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
28237 to check for underflow and overflow.
28238 * math/libm-test.inc: Add exp test.
28239
2e0fb521
DL
282402013-03-21 Dmitry V. Levin <ldv@altlinux.org>
28241
28242 [BZ #11120]
28243 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
28244 with NOT_IN_libc.
28245
b5784d95
AZ
282462013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28247
28248 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
28249 symbol.
28250
5aa4a1a1
TS
282512013-03-21 Thomas Schwinge <thomas@codesourcery.com>
28252
bdef0be7
TS
28253 * math/gen-libm-test.pl (parse_args, special_functions): Properly
28254 wrap blocks consisting of several statements.
28255
5aa4a1a1
TS
28256 * sysdeps/generic/math-tests.h: New file.
28257 * sysdeps/i386/fpu/math-tests.h: Likewise.
28258 * math/test-snan.c: Include it.
28259 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
28260
98c48fe5
JM
282612013-03-21 Joseph Myers <joseph@codesourcery.com>
28262
28263 [BZ #15285]
28264 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
28265 (__ieee754_j0l): Do not improve calculations using cos of twice
28266 input for inputs above LDBL_MAX / 2.0L.
28267 (__ieee754_y0l): Likewise.
28268 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
28269 (__ieee754_j1l): Do not improve calculations using cos of twice
28270 input for inputs above LDBL_MAX / 2.0L.
28271 (__ieee754_y1l): Likewise.
28272 * math/libm-test.inc (j0_test): Add another test.
28273 (j1_test): Likewise.
28274 (y0_test): Likewise.
28275 (y1_test): Likewise.
28276 * sysdeps/i386/fpu/libm-test-ulps: Update.
28277
3775a8bc
SP
282782013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28279
28280 * Rules ($(objpfx)bench-%.c): Include code from a C source
28281 file.
28282
0a1b2ae6
JM
282832013-03-21 Joseph Myers <joseph@codesourcery.com>
28284
28285 [BZ #15287]
28286 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28287 imaginary part 1.0 and real part less than 0.5 specially.
28288 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28289 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28290 * math/libm-test.inc (cacos_test): Add more tests.
28291 (casin_test): Likewise.
28292 (casinh_test): Likewise.
28293 * sysdeps/i386/fpu/libm-test-ulps: Update.
28294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28295
b33d4ce4
SP
282962013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28297
28298 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
28299 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
28300
bef0b507
JM
283012013-03-20 Joseph Myers <joseph@codesourcery.com>
28302
28303 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
28304 * config.make.in (config-cflags-sse4): Remove variable.
28305 (config-cflags-avx): Likewise.
28306 (config-cflags-sse2avx): Likewise.
28307 (config-cflags-novzeroupper): Likewise.
28308 (config-asflags-i686): Likewise.
28309 (have-mfma4): Likewise.
28310 (have-as-vis3): Likewise.
28311 (MIG): Likewise.
28312 * configure.in (MIG): Do not AC_SUBST.
28313 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
28314 (libc_cv_cc_sse4): Do not AC_SUBST.
28315 (libc_cv_cc_avx): Likewise.
28316 (libc_cv_cc_sse2avx): Likewise.
28317 (libc_cv_cc_novzeroupper): Likewise.
28318 (libc_cv_cc_fma4): Likewise.
28319 (libc_cv_as_i686): Likewise.
28320 (libc_cv_sparc_as_vis3): Likewise.
28321 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
28322 LIBC_CONFIG_VAR.
28323 (config-asflags-i686): Likewise.
28324 (config-cflags-avx): Likewise.
28325 (config-cflags-sse2avx): Likewise.
28326 (have-mfma4): Likewise.
28327 (config-cflags-novzeroupper): Likewise.
28328 * sysdeps/mach/configure.in (MIG): Likewise.
28329 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
28330 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
28331 LIBC_CONFIG_VAR.
28332 (config-cflags-avx): Likewise.
28333 (config-cflags-sse2avx): Likewise.
28334 (have-mfma4): Likewise.
28335 (config-cflags-novzeroupper): Likewise.
28336 * configure: Regenerated.
28337 * sysdeps/i386/configure: Likewise.
28338 * sysdeps/mach/configure: Likewise.
28339 * sysdeps/sparc/configure: Likewise.
28340 * sysdeps/x86_64/configure: Likewise.
28341
912cc4b3
RM
283422013-03-20 Roland McGrath <roland@hack.frob.com>
28343
28344 [BZ #14812]
28345 * locale/programs/localedef.c (options): Put N_ translation marker
28346 on argument names, not just descriptions.
28347
04eed2b0
MS
283482013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28349
28350 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
28351
a065ceff
OB
283522013-03-20 Ondřej Bílka <neleai@seznam.cz>
28353
9bb2a810 28354 [BZ #14176]
a065ceff
OB
28355 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
28356
a600e5ce
RM
283572013-03-19 Roland McGrath <roland@hack.frob.com>
28358
28359 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
28360 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
28361 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
28362 [!BEFORE_ABORT] (before_abort): New function.
28363 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
28364 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
28365 (writev_for_fatal): New function.
28366 (WRITEV_FOR_FATAL): New macro; call that.
28367 (backtrace_and_maps): New function.
28368 (BEFORE_ABORT): New macro; call that.
28369 (struct str_list): Type removed.
28370 (__libc_message, __libc_fatal): Functions removed.
28371 Include <sysdeps/posix/libc_fatal.c> instead.
28372
6b18bea6
JM
283732013-03-19 Joseph Myers <joseph@codesourcery.com>
28374
28375 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
28376 constants.
28377 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
28378 double constants.
28379
aaa8cb4b
AS
283802013-03-19 Andreas Schwab <schwab@suse.de>
28381
44673770
AS
28382 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
28383 * sysdeps/gnu/configure: Regenerate.
28384
aaa8cb4b
AS
28385 * configure.in: Substitute libc_cv_rtlddir.
28386 * configure: Regenerate.
28387 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
28388 * Makeconfig (rtlddir, inst_rtlddir): New variables.
28389 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
28390 * elf/Makefile (install-others, CFLAGS-interp.c)
28391 (ldso_install, common-ldd-rewrite): Likewise.
28392 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
28393 $(inst_slibdir)/$(rtld-installed-name).
28394 * scripts/rellns-sh: Add -p option.
28395 * Makerules (make-shlib-link): Use rellns-sh to get relative name
28396 for source.
28397
d3cfc668
SP
283982013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28399
28400 * manual/nptl.texi: Renamed to ...
28401 * manual/threads.texi: ... this.
28402 * manual/Makefile (chapters): Update.
28403
0e2b9cdd
RM
284042013-03-18 Roland McGrath <roland@hack.frob.com>
28405
28406 [BZ #14812]
28407 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
28408 on argument names, not just descriptions.
0e2b9cdd
RM
28409 * malloc/memusagestat.c (options): Likewise.
28410 * nss/getent.c (options): Likewise.
63270c24
RM
28411
284122013-03-18 Benno Schulenberg <bensberg@justemail.net>
28413
28414 [BZ #14812]
28415 * iconv/iconv_prog.c (options): Put N_ translation marker
28416 on argument names, not just descriptions.
28417 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 28418
b2e1393c
OB
284192013-03-18 Ondrej Bilka <neleai@seznam.cz>
28420
28421 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
28422 implementation which is faster on all x86_64 architectures.
28423 Tested on AMD, Intel Nehalem, SNB, IVB.
28424 * sysdeps/x86_64/strnlen.S: Likewise.
28425
28426 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28427 Remove all multiarch strlen and strnlen versions.
28428 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
28429 Remove strlen and strnlen related parts.
28430
28431 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
28432 Inline strlen part.
28433 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
28434
28435 * sysdeps/x86_64/multiarch/strlen.S: Remove.
28436 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
28437 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
28438 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
28439 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28440 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
28441
ec4ff04d
CD
284422013-03-17 Carlos O'Donell <carlos@redhat.com>
28443
28444 * manual/memory.texi (Malloc Tunable Parameters):
28445 Sort parameters alphabetically. Add comments for missing entries.
28446
cd18e90a
DM
284472013-03-17 David S. Miller <davem@davemloft.net>
28448
28449 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28450
2a185d32
JM
284512013-03-16 Joseph Myers <joseph@codesourcery.com>
28452
d2f9799e
JM
28453 [BZ #15283]
28454 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
28455 for arguments at most half maximum finite value.
28456 * math/libm-test.inc (j0_test): Add more tests.
28457 (j1_test): Likewise.
28458 (y0_test): Likewise.
28459 (y1_test): Likewise.
28460 * sysdeps/i386/fpu/libm-test-ulps: Update.
28461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28462
2a185d32
JM
28463 [BZ #14155]
28464 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
28465 1 / x and functions P and Q for arguments above 0x1p256L.
28466 (__ieee754_y0l): Likewise.
28467 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
28468 (__ieee754_y1l): Likewise.
28469 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
28470 (j1_test): Likewise.
28471 (y0_test): Likewise.
28472 (y1_test): Likewise.
28473
6cbec759
TS
284742013-03-16 Thomas Schwinge <thomas@codesourcery.com>
28475
28476 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
28477 variable.
28478
bc16e260
RM
284792013-03-15 Roland McGrath <roland@hack.frob.com>
28480
aefc9b8c
RM
28481 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
28482 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
28483 zero since it's initialized to EXEC_PAGESIZE.
28484
bc16e260
RM
28485 * sysdeps/unix/sysv/linux/ldsodefs.h
28486 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
28487 * sysdeps/generic/ldsodefs.h: ... here.
28488
a57da955
TS
284892013-03-15 Thomas Schwinge <thomas@codesourcery.com>
28490
af00a34d
TS
28491 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
28492
495ded2c
TS
28493 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
28494 math/test-snan.c.
28495 * math/test-snan.c: Renamed from
28496 sysdeps/powerpc/fpu/test-powerpc-snan.c.
28497 * math/Makefile (tests): Add test-snan.
28498 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
28499 test-powerpc-snan.
28500
777b0332
TS
28501 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
28502 SUFFIX. Initialize qNaN_var with __builtin_nan family of
28503 functions.
28504 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
28505 __builtin_nan family of functions.
28506 * math/libm-test.inc (initialize): Initialize qnan_value with
28507 __builtin_nan family of functions.
28508 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
28509 Remove variables.
28510 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
28511 Remove functions.
28512 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
28513 storage class. Initialize qNaN_var and sNaN_var with
28514 __builtin_nan and __builtin_nans families of functions,
28515 respectively.
28516
64d063b8
TS
28517 * math/libm-test.inc (acosh_test): Also test with qNaN input.
28518 (sqrt_test): Remove duplicate test with qNaN input.
28519 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
28520 (round_test, signbit_test, significand_test): Note missing +/-Inf
28521 as well as qNaN tests.
28522
67e971f1
TS
28523 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
28524 qNaN_var. Fix a few strings, too.
28525 * math/libm-test.inc (nan_value): Rename to qnan_value.
28526 * math/gen-libm-test.pl (%beautify): Adjust to that.
28527 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
28528 * math/test-misc.c (main): Likewise.
28529 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
28530 to __qnan_bytes, and __qnan_union, respectively.
28531 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
28532 Likewise.
28533 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
28534 and lqnanval, respectively.
28535 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
28536 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
28537 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
28538 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
28539
64487e12
TS
28540 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
28541 * math/test-misc.c (main) [__x86_64__]: Enable test for long
28542 doubles.
28543
e015e27b
TS
28544 * math/test-misc.c (main): Fix copy'n'pastos.
28545 * misc/tst-efgcvt.c (special): Likewise.
28546
a57da955
TS
28547 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
28548 Remove declarations.
28549
1e380345
SP
285502013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28551
28552 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
28553 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
28554 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
28555 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
28556
ef26eece
AZ
285572013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28558
28559 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
28560 macro to return vdso values correctly in IFUNC implementations.
28561 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
28562 Optimization by using IFUNC.
28563
8cfdb7e0
SP
285642013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28565 Richard Henderson <rth@redhat.com>
28566 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28567
28568 * Makefile.in (bench): New target.
28569 * NEWS: Mention the benchmark framework.
28570 * Rules (bench): Likewise.
28571 (binaries-bench): Generate binaries for functions to
28572 benchmark.
28573 * benchtests/Makefile: New makefile for benchmark tests.
28574 * benchtests/bench-skeleton.c: New skeleton file for benchmark
28575 programs.
28576 * benchtests/exp-inputs: New input file for EXP function.
28577 * benchtests/pow-inputs: New input file for POW function.
28578 * scripts/bench.pl: New script to generate source files for
28579 benchmark programs.
28580
bcda9880
SP
285812013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28582
d22ca8cd
SP
28583 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
28584 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
28585 computations on mantissa. Use macros for rounding and
28586 division.
28587 (denorm): Likewise.
28588 (__dbl_mp): Likewise.
28589 (add_magnitudes): Likewise.
28590 (sub_magnitudes): Likewise.
28591 (__mul): Likewise.
28592 (__sqr): Likewise.
28593 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
28594 powers of two in terms of TWOPOW macro.
28595 (mp_no): Make type of mantissa as MANTISSA_T.
28596 [!RADIXI]: Define RADIXI.
28597 [!TWO52]: Define TWO52.
28598 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
28599
bcda9880
SP
28600 * manual/nptl.texi (cindex): Modify threads to pthreads.
28601
06d5adfb
JM
286022013-03-15 Joseph Myers <joseph@codesourcery.com>
28603
28604 * sysdeps/x86_64/preconfigure: Regenerated.
28605
41c7328e
JM
286062013-03-14 Joseph Myers <joseph@codesourcery.com>
28607
28608 [BZ #14155]
28609 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
28610 0x1p28 and above.
28611 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
28612 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
28613 0x1p28 and above.
28614 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
28615 * math/libm-test.inc (j0_test): Do not allow one spurious
28616 underflow exception.
28617 (y1_test): Likewise.
28618
e25cfa60
SP
286192013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28620
0409959c
SP
28621 * manual/Makefile (chapters): Add nptl.
28622 * manual/debug.texi (Debugging Support): Add link to Threads
28623 chapter.
28624 * manual/nptl.texi: New file.
28625
e25cfa60
SP
28626 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
28627
58a1335e
PB
286282013-03-14 Petr Baudis <pasky@ucw.cz>
28629
28630 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
28631 for non-NULL pointer before the memory validity test. Pointed
28632 out by Holger Brunck <holger.brunck@keymile.com>.
28633
9dc7c64f
AS
286342013-03-13 Andreas Schwab <schwab@suse.de>
28635
28636 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
28637 instead of .os.
28638
54206aa6
JM
286392013-03-13 Joseph Myers <joseph@codesourcery.com>
28640
28641 * timezone/zic.c: Update from tzcode 2013b.
28642
e98cdb38
CD
286432013-03-12 Carlos O'Donell <carlos@redhat.com>
28644
28645 * manual/install.texi (Configuring and compiling):
28646 Mention i686 and i586.
28647 * INSTALL: Regenerate.
28648
9967e003
RM
286492013-03-12 Roland McGrath <roland@hack.frob.com>
28650
28651 * sysdeps/init_array/elf-init.c: New file.
28652 * csu/elf-init.c
28653 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
28654 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
28655
28656 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
28657 __gmon_start__ as global, but as static with a .preinit_array pointer.
28658 * sysdeps/init_array/gmon-start.c: New file. Use that.
28659 * sysdeps/init_array/crti.S: New file, empty except for comments.
28660 * sysdeps/init_array/crtn.S: Likewise.
28661
e6b5a293 286622013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
28663
28664 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
28665 definining bcopy.
80f844c9
OB
28666 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28667 Remove Prefer_SSE_for_memop.
28668 * sysdeps/x86_64/multiarch/init-arch.h: Remove
28669 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
28670 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
28671 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
28672 memset-x86-64.
80f844c9 28673 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 28674 Remove bzero, memset ifunc support.
80f844c9
OB
28675 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
28676 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
28677 * sysdeps/x86_64/multiarch/memset.S: Likewise.
28678 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28679
fb6b0fcb
AS
286802013-03-11 Andreas Schwab <schwab@suse.de>
28681
28682 [BZ #15234]
28683 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
28684 by SHLIB_COMPAT.
28685 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
28686 (GLIBC_2.16): Remove pthread_atfork.
28687
3e6bd4b1
PP
286882013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
28689
28690 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
28691 (ptestcases.h): Likewise.
28692
222d7f00
RM
286932013-03-08 Roland McGrath <roland@hack.frob.com>
28694
28695 * Makeconfig ($(common-objpfx)config.status): Depend on
28696 sysdeps/*/preconfigure{,.in} too.
28697
1ba4f030
JM
286982013-03-08 Joseph Myers <joseph@codesourcery.com>
28699
a222d91a
JM
28700 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
28701 (__free_hook): Use void * instead of __malloc_ptr_t.
28702 (__malloc_hook): Likewise.
28703 (__realloc_hook): Likewise.
28704 (__memalign_hook): Likewise.
28705 (__after_morecore_hook): Likewise.
28706 * malloc/arena.c (save_malloc_hook): Likewise.
28707 (save_free_hook): Likewise.
28708 * malloc/hooks.c (malloc_hook_ini): Likewise.
28709 (realloc_hook_ini): Likewise.
28710 (memalign_hook_ini): Likewise.
28711 * malloc/malloc.c (malloc_hook_ini): Likewise.
28712 (realloc_hook_ini): Likewise.
28713 (memalign_hook_ini): Likewise.
28714 (__free_hook): Likewise.
28715 (__malloc_hook): Likewise.
28716 (__realloc_hook): Likewise.
28717 (__memalign_hook): Likewise.
28718 (__libc_malloc): Likewise.
28719 (__libc_free): Likewise.
28720 (__libc_realloc): Likewise.
28721 (__libc_memalign): Likewise.
28722 (__libc_valloc): Likewise.
28723 (__libc_pvalloc): Likewise.
28724 (__libc_calloc): Likewise.
28725 (__posix_memalign): Likewise.
28726 * malloc/morecore.c (__sbrk): Likewise.
28727 (__default_morecore): Likewise.
28728
5cc45e10
JM
28729 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
28730
dd54b864
JM
28731 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
28732 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
28733 __malloc_ptrdiff_t.
28734
1ba4f030
JM
28735 * malloc/malloc.h (__malloc_size_t): Remove macro.
28736 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
28737 __malloc_size_t.
28738 (old_memalign_hook): Likewise.
28739 (old_realloc_hook): Likewise.
28740 (struct hdr): Likewise.
28741 (flood): Likewise.
28742 (mallochook): Likewise.
28743 (memalignhook): Likewise.
28744 (reallochook): Likewise.
28745 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
28746 (tr_old_realloc_hook): Likewise.
28747 (tr_old_memalign_hook): Likewise.
28748 (tr_mallochook): Likewise.
28749 (tr_reallochook): Likewise.
28750 (tr_memalignhook): Likewise.
28751
edf66e57
AZ
287522013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28753
28754 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
28755 default_ldbl_pack and using as default implementation.
28756 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
28757 implementation.
28758 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
28759 redundant definition.
28760 (ldbl_insert_mantissa): Likewise.
28761 (ldbl_canonicalize): Likewise.
28762 (ldbl_nearbyint): Likewise.
28763 (ldbl_pack): Rename to ldbl_pack_ppc.
28764 (ldbl_unpack): Rename to ldbl_unpack_ppc.
28765 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
28766 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
28767
6d9145d8
SP
287682013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
28769
28770 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
28771 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
28772 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
28773 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
28774 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
28775 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
28776 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
28777 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
28778
4dd4e157
AJ
287792013-03-07 Andreas Jaeger <aj@suse.de>
28780
28781 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28782 bits/mman-linux.h.
28783
adbb8027
SP
287842013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
28785
ce544b5b
SP
28786 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
28787 Include mpa.h and declare __MPEXP.
28788 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
28789 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28790 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28791 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
28792 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28793 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28794 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
28795
4cc149fd
SP
28796 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
28797 (__slowpow): Use long double EXPL and LOGL functions to
28798 compute POW.
28799 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28800 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28801 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
28802 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28803 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28804 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
28805
e6ebd4a7
SP
28806 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
28807 intermediate variable to calculate exponent.
28808 (__sqr): Likewise.
28809 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
28810 Likewise.
28811 (__sqr): Likewise.
28812
82a9811d
SP
28813 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
28814 [!NO__SQR]: Define __sqr.
28815 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
28816 and NO__SQR. Remove all code except __mul and __sqr. Include
28817 sysdeps/ieee754/dbl-64/mpa.c.
28818 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28819
adbb8027
SP
28820 [BZ #12723]
28821 * posix/Makefile (tests): Add tst-pathconf.
28822 * posix/tst-pathconf.c: New test case.
28823 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
28824 _PC_PIPE_BUF.
28825 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
28826
39120df9
PF
288272013-03-06 Patsy Franklin <pfrankli@redhat.com>
28828
28829 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
28830
67525cb8
AJ
288312013-03-06 Andreas Jaeger <aj@suse.de>
28832
664a9ce4
AJ
28833 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
28834 definition via __MAP_ANONYMOUS.
28835
8e39047d
AJ
28836 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
28837 it's not part of Linux headers.
28838
67525cb8
AJ
28839 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
28840 (MAP_HUGE_MASK): Define.
28841
28842 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28843 Define.
28844 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28845 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28846 Define.
28847 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28848 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28849 Define.
28850 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28851 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
28852 Define.
28853 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28854
28855 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
28856 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
28857 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
28858 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
28859 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
28860 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
28861
28862 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
28863 Handle f2fs.
28864
28865 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28866 Handle f2fs and efivarfs.
28867
28868 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
28869 f2fs.
28870
28871 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
28872 (EFIVARFS_MAGIC): Add.
28873 (F2FS_LINK_MAX): Add.
28874
e1b42695
PP
288752013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28876
28877 * stdio-common/vfprintf.c: Replace __builtin_expect with
28878 __glibc_unlikely.
28879
2d67d91a
JM
288802013-03-06 Joseph Myers <joseph@codesourcery.com>
28881
28882 [BZ #13550]
28883 * sysdeps/generic/bp-sym.h: Remove file.
28884 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
28885 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
28886 <bp-sym.h> and <bp-asm.h>.
28887 (__longjmp): Don't use BP_SYM.
28888 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
28889 and <bp-asm.h>.
28890 (memcpy): Don't use BP_SYM.
28891 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
28892 <bp-sym.h> and <bp-asm.h>.
28893 (memcpy): Don't use BP_SYM.
28894 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
28895 <bp-asm.h>.
28896 (memcpy): Don't use BP_SYM.
28897 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
28898 <bp-asm.h>.
28899 (memset): Don't use BP_SYM.
28900 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28901 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28902 (__bzero): Don't use BP_SYM.
28903 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28904 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28905 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
28906 <bp-sym.h> and <bp-asm.h>.
28907 (memcmp): Don't use BP_SYM. Remove comment about bounded
28908 pointers.
28909 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
28910 <bp-sym.h> and <bp-asm.h>.
28911 (memcpy): Don't use BP_SYM.
28912 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
28913 <bp-sym.h> and <bp-asm.h>.
28914 (memset): Don't use BP_SYM.
28915 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28916 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28917 (__bzero): Don't use BP_SYM.
28918 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28919 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28920 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
28921 <bp-sym.h> and <bp-asm.h>.
28922 (strncmp): Don't use BP_SYM. Remove comment about bounded
28923 pointers.
28924 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
28925 <bp-sym.h> and <bp-asm.h>.
28926 (memcpy): Don't use BP_SYM.
28927 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
28928 <bp-sym.h> and <bp-asm.h>.
28929 (memset): Don't use BP_SYM.
28930 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28931 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28932 (__bzero): Don't use BP_SYM.
28933 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28934 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28935 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
28936 <bp-sym.h> and <bp-asm.h>.
28937 (__memchr): Don't use BP_SYM.
28938 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
28939 <bp-sym.h> and <bp-asm.h>.
28940 (memcmp): Don't use BP_SYM. Remove comment about bounded
28941 pointers.
28942 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
28943 <bp-sym.h> and <bp-asm.h>.
28944 (memcpy): Don't use BP_SYM.
28945 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
28946 <bp-sym.h> and <bp-asm.h>.
28947 (__mempcpy): Don't use BP_SYM.
28948 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
28949 <bp-sym.h> and <bp-asm.h>.
28950 (__memrchr): Don't use BP_SYM.
28951 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
28952 <bp-sym.h> and <bp-asm.h>.
28953 (memset): Don't use BP_SYM.
28954 (__bzero): Likewise.
28955 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
28956 <bp-sym.h> and <bp-asm.h>.
28957 (__rawmemchr): Don't use BP_SYM.
28958 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
28959 <bp-sym.h> and <bp-asm.h>.
28960 (__STRCMP): Don't use BP_SYM.
28961 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
28962 <bp-sym.h> and <bp-asm.h>.
28963 (strchr): Don't use BP_SYM.
28964 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
28965 <bp-sym.h> and <bp-asm.h>.
28966 (__strchrnul): Don't use BP_SYM.
28967 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
28968 <bp-sym.h> and <bp-asm.h>.
28969 (strlen): Don't use BP_SYM.
28970 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
28971 <bp-sym.h> and <bp-asm.h>.
28972 (strncmp): Don't use BP_SYM. Remove comment about bounded
28973 pointers.
28974 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
28975 <bp-sym.h> and <bp-asm.h>.
28976 (__strnlen): Don't use BP_SYM.
28977 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
28978 <bp-sym.h> and <bp-asm.h>.
28979 (__GI__setjmp): Don't use BP_SYM.
28980 (_setjmp): Likewise.
28981 (__sigsetjmp): Likewise.
28982 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
28983 (L(start_addresses)): Don't use BP_SYM.
28984 (_start): Likewise.
28985 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
28986 <bp-asm.h>.
28987 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
28988 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
28989 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28990 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28991 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
28992 <bp-asm.h>.
28993 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
28994 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
28995 about bounded pointers.
28996 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28997 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28998 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
28999 <bp-asm.h>.
29000 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
29001 about bounded pointers. Remove GKM FIXME comments.
29002 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29003 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
29004 <bp-asm.h>.
29005 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
29006 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
29007 Remove GKM FIXME comments.
29008 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29009 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29010 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
29011 <bp-asm.h>.
29012 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
29013 about bounded pointers. Remove GKM FIXME comment.
29014 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
29015 and <bp-asm.h>.
29016 (strncmp): Don't use BP_SYM. Remove comment about bounded
29017 pointers.
29018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
29019 <bp-sym.h> and <bp-asm.h>.
29020 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
29021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
29022 <bp-sym.h> and <bp-asm.h>.
29023 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
29024 comment.
29025
cdcf361f
PP
290262013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29027
29028 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
29029 call free(NULL).
29030
3c4a2b15
DM
290312013-03-05 David S. Miller <davem@davemloft.net>
29032
29033 * po/es.po: Update from translation team.
29034
cdcf361f 290352013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
29036
29037 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
29038 <bits/mman-linux.h>.
29039 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29040 is fine.
29041 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
29042 <bits/mman-linux.h> to end of file.
29043 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29044 is fine.
29045 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
29046 <bits/mman-linux.h> to end of file.
29047 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29048 is fine.
29049 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
29050 <bits/mman-linux.h> to end of file.
29051
29052 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
29053 (MCL_CURRENT, MCL_FUTURE): Define here.
29054
5f67c04f
AK
290552013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29056
8a4473cc 29057 [BZ #15232]
5f67c04f
AK
29058 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
29059 attribute_hidden.
29060 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29061
c3e94a95
AK
290622013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29063
29064 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
29065 fourth parameter needed for rt_sigprocmask syscall.
29066 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
29067 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
29068 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
29069 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
29070 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
29071 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
29072
cfb6382a
JM
290732013-03-04 Joseph Myers <joseph@codesourcery.com>
29074
29075 [BZ #13550]
29076 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
29077 comment about bounded pointers.
29078 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
29079 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
29080
539d8e01
AJ
290812013-03-04 Andreas Jaeger <aj@suse.de>
29082
29083 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
29084 common definitions.
29085
29086 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
29087 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
29088 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
29089 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29090 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
29091 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29092
2e167a70 290932013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
29094
29095 [BZ #15055]
29096 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
29097 __ieee754_sqrl instead of __sqrl.
29098
68508633
JM
290992013-03-01 Joseph Myers <joseph@codesourcery.com>
29100
29101 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
29102 * sysdeps/powerpc/fpu_control.h: ... here.
29103 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
29104 * sysdeps/powerpc/bits/fenvinline.h: ... here.
29105 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
29106 * sysdeps/powerpc/bits/mathinline.h: ... here.
29107
7775448e
RM
291082013-03-01 Roland McGrath <roland@hack.frob.com>
29109
29110 * elf/dl-hwcaps.c (_dl_important_hwcaps):
29111 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
29112 to just [NEED_DL_SYSINFO_DSO].
29113 * elf/dl-support.c: Likewise.
29114 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
29115 * elf/rtld.c (dl_main): Likewise.
29116 * elf/setup-vdso.h (setup_vdso): Likewise.
29117 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
29118 * sysdeps/unix/sysv/linux/dl-sysdep.c
29119 (_dl_discover_osversion): Likewise.
29120
4e9b5995
CD
291212013-03-01 Carlos O'Donell <carlos@redhat.com>
29122
29123 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
29124 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
29125
e23872c8
SP
291262013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
29127
e5c74c63
SP
29128 * NEWS: Mention libm performance improvements and non-x86 PI
29129 futex support.
29130
e23872c8
SP
29131 * csu/libc-start.c (__pthread_initialize_minimal): Change
29132 function arguments.
29133 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
29134
b5510883
JM
291352013-02-28 Joseph Myers <joseph@codesourcery.com>
29136
29137 [BZ #13550]
29138 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
29139 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
29140 <bp-sym.h> and <bp-asm.h>.
29141 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29142 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
29143 and <bp-asm.h>.
29144 (memcpy): Don't use BP_SYM.
29145 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
29146 <bp-asm.h>.
29147 (__mpn_add_n): Don't use BP_SYM.
29148 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
29149 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
29150 and <bp-asm.h>.
29151 (__mpn_addmul_1): Don't use BP_SYM.
29152 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29153 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
29154 <bp-sym.h>.
29155 (_setjmp): Don't use BP_SYM.
29156 (__novmx_setjmp): Likewise.
29157 (__GI__setjmp): Likewise.
29158 (__vmx_setjmp): Likewise.
29159 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
29160 <bp-sym.h>.
29161 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
29162 (__bzero): Don't use BP_SYM.
29163 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29164 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29165 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
29166 <bp-sym.h> and <bp-asm.h>.
29167 (memcpy): Don't use BP_SYM.
29168 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
29169 <bp-sym.h> and <bp-asm.h>.
29170 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29171 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
29172 <bp-sym.h> and <bp-asm.h>.
29173 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29174 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
29175 <bp-asm.h>.
29176 (__mpn_lshift): Don't use BP_SYM.
29177 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29178 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
29179 <bp-asm.h>.
29180 (memset): Don't use BP_SYM.
29181 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29182 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29183 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
29184 <bp-asm.h>.
29185 (__mpn_mul_1): Don't use BP_SYM.
29186 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29187 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
29188 <bp-sym.h> and <bp-asm.h>.
29189 (memcmp): Don't use BP_SYM.
29190 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
29191 <bp-sym.h> and <bp-asm.h>.
29192 (memcpy): Don't use BP_SYM.
29193 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
29194 <bp-sym.h> and <bp-asm.h>.
29195 (memset): Don't use BP_SYM.
29196 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
29197 <bp-sym.h> and <bp-asm.h>.
29198 (strncmp): Don't use BP_SYM.
29199 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
29200 <bp-sym.h> and <bp-asm.h>.
29201 (memcpy): Don't use BP_SYM.
29202 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
29203 <bp-sym.h> and <bp-asm.h>.
29204 (memset): Don't use BP_SYM.
29205 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
29206 <bp-sym.h> and <bp-asm.h>.
29207 (__memchr): Don't use BP_SYM.
29208 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
29209 <bp-sym.h> and <bp-asm.h>.
29210 (memcmp): Don't use BP_SYM.
29211 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
29212 <bp-sym.h> and <bp-asm.h>.
29213 (memcpy): Don't use BP_SYM.
29214 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
29215 <bp-sym.h> and <bp-asm.h>.
29216 (__mempcpy): Don't use BP_SYM.
29217 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
29218 <bp-sym.h> and <bp-asm.h>.
29219 (__memrchr): Don't use BP_SYM.
29220 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
29221 <bp-sym.h> and <bp-asm.h>.
29222 (memset): Don't use BP_SYM.
29223 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
29224 <bp-sym.h> and <bp-asm.h>.
29225 (__rawmemchr): Don't use BP_SYM.
29226 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
29227 <bp-sym.h> and <bp-asm.h>.
29228 (__STRCMP): Don't use BP_SYM.
29229 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
29230 <bp-sym.h> and <bp-asm.h>.
29231 (strchr): Don't use BP_SYM.
29232 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
29233 <bp-sym.h> and <bp-asm.h>.
29234 (__strchrnul): Don't use BP_SYM.
29235 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
29236 <bp-sym.h> and <bp-asm.h>.
29237 (strlen): Don't use BP_SYM.
29238 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
29239 <bp-sym.h> and <bp-asm.h>.
29240 (strncmp): Don't use BP_SYM.
29241 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
29242 <bp-sym.h> and <bp-asm.h>.
29243 (__strnlen): Don't use BP_SYM.
29244 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
29245 <bp-asm.h>.
29246 (__mpn_rshift): Don't use BP_SYM.
29247 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29248 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
29249 <bp-sym.h> and <bp-asm.h>.
29250 (__sigsetjmp): Don't use BP_SYM.
29251 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
29252 (L(start_addresses)): Don't use BP_SYM.
29253 (_start): Likewise.
29254 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
29255 <bp-asm.h>.
29256 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
29257 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29258 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29259 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
29260 <bp-asm.h>.
29261 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
29262 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29263 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29264 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
29265 <bp-asm.h>.
29266 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
29267 comments.
29268 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29269 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
29270 <bp-asm.h>.
29271 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
29272 FIXME comments.
29273 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29274 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29275 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
29276 <bp-asm.h>.
29277 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
29278 comment.
29279 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
29280 and <bp-asm.h>.
29281 (strncmp): Don't use BP_SYM,
29282 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
29283 <bp-asm.h>.
29284 (__mpn_sub_n): Don't use BP_SYM.
29285 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29286 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
29287 and <bp-asm.h>.
29288 (__mpn_submul_1): Don't use BP_SYM.
29289 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
29291 <bp-sym.h> and <bp-asm.h>.
29292 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
29293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
29294 <bp-sym.h> and <bp-asm.h>.
29295 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
29296 comment.
29297
8d19fe64
SP
292982013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29299
29300 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
29301 Use ZK to minimize writes to Z.
29302 (sub_magnitudes): Simplify code a bit.
29303 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
29304 Use ZK to minimize writes to Z.
29305 (sub_magnitudes): Simplify code a bit.
29306
85bd816a
RM
293072013-02-27 Roland McGrath <roland@hack.frob.com>
29308
29309 * csu/gmon-start.c: Add special exception to license text.
29310
b5977bf2
RH
293112013-02-27 Richard Henderson <rth@redhat.com>
29312
29313 * scripts/config.guess: Update from config.git.
29314 * scripts/config.sub: Likewise.
29315
11d6e2f2
SP
293162013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29317
09c14ed2
SP
29318 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
29319
a688864e
SP
29320 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
29321
6295157a
SP
29322 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
29323
b8de2202
SP
29324 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
29325
11d6e2f2
SP
29326 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
29327
7e80ddb8
RM
293282013-02-26 Roland McGrath <roland@hack.frob.com>
29329
29330 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
29331 [$(build-shared = yes].
7e80ddb8 29332
7da6d9ed
SP
293332013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29334
45f05884
SP
29335 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
29336 (__mul): Reduce iterations for calculating mantissa.
29337
2236d359
SP
29338 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
29339 MPTWO.
29340 (__mpranred): Likewise.
29341
7da6d9ed
SP
29342 [BZ #15160]
29343 * malloc/memusagestat.c (main): Draw graphs for heap and stack
29344 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
29345
b7688c42
PE
293462013-02-26 Paul Eggert <eggert@cs.ucla.edu>
29347
29348 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
29349 Define __attribute__.
29350
53a5c423
SP
293512013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29352
29353 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
29354 unused.
29355 * posix/regex_internal.h (__attribute): Remove.
29356 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
29357 (re_string_context_at): Likewise.
29358 (bitset_not): Use __attribute__ and mark function as possibly
29359 unused.
29360 (bitset_merge): Likewise.
29361 (bitset_mask): Likewise.
29362 (re_string_char_size_at): Likewise.
29363 (re_string_wchar_at): Likewise.
29364 (re_string_elem_size_at): Likewise.
29365
60f5a8b5
SP
293662013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29367
2a983a2e
SP
29368 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
29369 code.
29370 (cc32): Likewise.
29371
e69804d1
SP
29372 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
29373 (__acr): Likewise.
29374 (__cpy): Likewise.
29375 (norm): Likewise.
29376 (denorm): Likewise.
29377 (__dbl_mp): Likewise.
29378 (add_magnitudes): Likewise.
29379 (sub_magnitudes): Likewise.
29380 (__mul): Likewise.
29381 (__inv): Likewise.
29382
2f22a1e8
SP
29383 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
29384 style.
29385
8930ddc7
SP
29386 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
29387 style.
29388
dc60cb11
SP
29389 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
29390 code.
29391
60f5a8b5
SP
29392 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
29393 up changes with default code.
29394 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
29395 Likewise.
29396
b4d1fd33
AM
293972013-02-24 Allan McRae <allan@archlinux.org>
29398
faf6f8bc
AM
29399 * manual/socket.texi (The Internet Namespace): Order menu items
29400 to match that in the file.
29401
b4d1fd33
AM
29402 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
29403 node listing of the info page menu.
29404
2366713d
JM
294052013-02-21 Joseph Myers <joseph@codesourcery.com>
29406
29407 [BZ #13550]
29408 * sysdeps/i386/bp-asm.h: Remove file.
29409 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
29410 (PARMS): Do not use macros from bp-asm.h.
29411 (S1): Likewise.
29412 (S2): Likewise.
29413 (SIZE): Likewise.
29414 (__mpn_add_n): Do not use BP_SYM
29415 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
29416 "bp-asm.h".
29417 (PARMS): Do not use macros from bp-asm.h.
29418 (S1): Likewise.
29419 (SIZE): Likewise.
29420 (__mpn_addmul_1): Do not use BP_SYM
29421 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
29422 "bp-asm.h".
29423 (PARMS): Do not use macros from bp-asm.h.
29424 (SIGMSK): Likewise.
29425 (_setjmp): Likewise. Do not use BP_SYM.
29426 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
29427 "bp-asm.h".
29428 (PARMS): Do not use macros from bp-asm.h.
29429 (SIGMSK): Likewise.
29430 (setjmp): Likewise. Do not use BP_SYM.
29431 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
29432 "bp-asm.h".
29433 (PARMS): Do not use macros from bp-asm.h.
29434 (__frexp): Do not use BP_SYM.
29435 (frexp): Likewise.
29436 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
29437 "bp-asm.h".
29438 (PARMS): Do not use macros from bp-asm.h.
29439 (__frexpf): Do not use BP_SYM.
29440 (frexpf): Likewise.
29441 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
29442 "bp-asm.h".
29443 (PARMS): Do not use macros from bp-asm.h.
29444 (__frexpl): Do not use BP_SYM.
29445 (frexpl): Likewise.
29446 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
29447 "bp-asm.h".
29448 (PARMS): Do not use macros from bp-asm.h.
29449 (__remquo): Do not use BP_SYM.
29450 (remquo): Likewise.
29451 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
29452 "bp-asm.h".
29453 (PARMS): Do not use macros from bp-asm.h.
29454 (__remquof): Do not use BP_SYM.
29455 (remquof): Likewise.
29456 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
29457 "bp-asm.h".
29458 (PARMS): Do not use macros from bp-asm.h.
29459 (__remquol): Do not use BP_SYM.
29460 (remquol): Likewise.
29461 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
29462 "bp-asm.h".
29463 (PARMS): Do not use macros from bp-asm.h.
29464 (DEST): Likewise.
29465 (SRC): Likewise.
29466 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
29467 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
29468 "bp-asm.h".
29469 (PARMS): Do not use macros from bp-asm.h.
29470 (strlen): Do not use BP_SYM.
29471 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
29472 "bp-asm.h".
29473 (PARMS): Do not use macros from bp-asm.h.
29474 (S1): Likewise.
29475 (S2): Likewise.
29476 (SIZE): Likewise.
29477 (__mpn_add_n): Do not use BP_SYM.
29478 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
29479 "bp-asm.h".
29480 (PARMS): Do not use macros from bp-asm.h.
29481 (S1): Likewise.
29482 (SIZE): Likewise.
29483 (__mpn_addmul_1): Do not use BP_SYM.
29484 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
29485 weak_alias.
29486 (bzero): Likewise.
29487 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
29488 "bp-asm.h".
29489 (PARMS): Do not use macros from bp-asm.h.
29490 (S): Likewise.
29491 (SIZE): Likewise.
29492 (__mpn_lshift): Do not use BP_SYM.
29493 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
29494 "bp-asm.h".
29495 (PARMS): Do not use macros from bp-asm.h.
29496 (DEST): Likewise.
29497 (SRC): Likewise.
29498 (LEN): Likewise.
29499 (memcpy): Likewise. Do not use BP_SYM.
29500 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
29501 libc_hidden_def and weak_alias.
29502 (mempcpy): Do not use BP_SYM in weak_alias.
29503 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
29504 "bp-asm.h".
29505 (PARMS): Do not use macros from bp-asm.h.
29506 (DEST): Likewise.
29507 (LEN): Likewise.
29508 [!BZERO_P] (CHR): Likewise.
29509 (memset): Likewise. Do not use BP_SYM.
29510 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
29511 "bp-asm.h".
29512 (PARMS): Do not use macros from bp-asm.h.
29513 (S1): Likewise.
29514 (SIZE): Likewise.
29515 (__mpn_mul_1): Do not use BP_SYM.
29516 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
29517 "bp-asm.h".
29518 (PARMS): Do not use macros from bp-asm.h.
29519 (S): Likewise.
29520 (SIZE): Likewise.
29521 (__mpn_rshift): Do not use BP_SYM.
29522 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
29523 "bp-asm.h".
29524 (PARMS): Do not use macros from bp-asm.h.
29525 (STR): Likewise.
29526 (CHR): Likewise.
29527 (strchr): Likewise. Do not use BP_SYM.
29528 (index): Do not use BP_SYM in weak_alias.
29529 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
29530 "bp-asm.h".
29531 (PARMS): Do not use macros from bp-asm.h.
29532 (DEST): Likewise.
29533 (SRC): Likewise.
29534 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
29535 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
29536 "bp-asm.h".
29537 (PARMS): Do not use macros from bp-asm.h.
29538 (strlen): Do not use BP_SYM.
29539 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
29540 "bp-asm.h".
29541 (PARMS): Do not use macros from bp-asm.h.
29542 (S1): Likewise.
29543 (S2): Likewise.
29544 (SIZE): Likewise.
29545 (__mpn_sub_n): Do not use BP_SYM.
29546 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
29547 "bp-asm.h".
29548 (PARMS): Do not use macros from bp-asm.h.
29549 (S1): Likewise.
29550 (SIZE): Likewise.
29551 (__mpn_submul_1): Do not use BP_SYM.
29552 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
29553 "bp-asm.h".
29554 (PARMS): Do not use macros from bp-asm.h.
29555 (S1): Likewise.
29556 (S2): Likewise.
29557 (SIZE): Likewise.
29558 (__mpn_add_n): Do not use BP_SYM.
29559 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
29560 weak_alias.
29561 (bzero): Likewise.
29562 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
29563 "bp-asm.h".
29564 (PARMS): Do not use macros from bp-asm.h.
29565 (BLK2): Likewise.
29566 (LEN): Likewise.
29567 (memcmp): Do not use BP_SYM.
29568 (bcmp): Do not use BP_SYM in weak_alias.
29569 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
29570 "bp-asm.h".
29571 (PARMS): Do not use macros from bp-asm.h.
29572 (DEST): Likewise.
29573 (SRC): Likewise.
29574 (LEN): Likewise.
29575 (memcpy): Likewise. Do not use BP_SYM.
29576 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
29577 "bp-asm.h".
29578 (PARMS): Do not use macros from bp-asm.h.
29579 (DEST): Likewise.
29580 (SRC): Likewise.
29581 (LEN): Likewise.
29582 (memmove): Likewise. Do not use BP_SYM.
29583 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
29584 "bp-asm.h".
29585 (PARMS): Do not use macros from bp-asm.h.
29586 (DEST): Likewise.
29587 (SRC): Likewise.
29588 (LEN): Likewise.
29589 (__mempcpy): Likewise. Do not use BP_SYM.
29590 (mempcpy): Do not use BP_SYM in weak_alias.
29591 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
29592 "bp-asm.h".
29593 (PARMS): Do not use macros from bp-asm.h.
29594 (DEST): Likewise.
29595 (LEN): Likewise.
29596 [!BZERO_P] (CHR): Likewise.
29597 (memset): Likewise. Do not use BP_SYM.
29598 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
29599 "bp-asm.h".
29600 (PARMS): Do not use macros from bp-asm.h.
29601 (STR2): Likewise.
29602 (strcmp): Do not use BP_SYM.
29603 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
29604 "bp-asm.h".
29605 (PARMS): Do not use macros from bp-asm.h.
29606 (STR): Likewise.
29607 (DELIM): Likewise.
29608 [USE_AS_STRTOK_R] (SAVE): Likewise.
29609 (FUNCTION): Likewise. Do not use BP_SYM.
29610 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
29611 aliases.
29612 (strtok_r): Likewise.
29613 (__GI___strtok_r): Likewise.
29614 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
29615 (PARMS): Do not use macros from bp-asm.h.
29616 (S): Likewise.
29617 (SIZE): Likewise.
29618 (__mpn_lshift): Do not use BP_SYM.
29619 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
29620 (PARMS): Do not use macros from bp-asm.h.
29621 (STR): Likewise.
29622 (CHR): Likewise.
29623 (__memchr): Do not use BP_SYM.
29624 (memchr): Do not use BP_SYM in weak_alias.
29625 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
29626 (PARMS): Do not use macros from bp-asm.h.
29627 (BLK2): Likewise.
29628 (LEN): Likewise.
29629 (memcmp): Do not use BP_SYM.
29630 (bcmp): Do not use BP_SYM in weak_alias.
29631 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
29632 (PARMS): Do not use macros from bp-asm.h.
29633 (S1): Likewise.
29634 (SIZE): Likewise.
29635 (__mpn_mul_1): Do not use BP_SYM.
29636 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
29637 "bp-asm.h".
29638 (PARMS): Do not use macros from bp-asm.h.
29639 (STR): Likewise.
29640 (CHR): Likewise.
29641 (__rawmemchr): Do not use BP_SYM.
29642 (rawmemchr): Do not use BP_SYM in weak_alias.
29643 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
29644 (PARMS): Do not use macros from bp-asm.h.
29645 (S): Likewise.
29646 (SIZE): Likewise.
29647 (__mpn_rshift): Do not use BP_SYM.
29648 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
29649 (PARMS): Do not use macros from bp-asm.h.
29650 (SIGMSK): Likewise.
29651 (__sigsetjmp): Likewise. Do not use BP_SYM.
29652 * sysdeps/i386/start.S: Do not include "bp-sym.h".
29653 (_start): Do not use BP_SYM.
29654 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
29655 (PARMS): Do not use macros from bp-asm.h.
29656 (DEST): Likewise.
29657 (SRC): Likewise.
29658 (__stpcpy): Likewise. Do not use BP_SYM.
29659 (stpcpy): Do not use BP_SYM in weak_alias.
29660 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
29661 "bp-asm.h".
29662 (PARMS): Do not use macros from bp-asm.h.
29663 (DEST): Likewise.
29664 (SRC): Likewise.
29665 (LEN): Likewise.
29666 (__stpncpy): Likewise. Do not use BP_SYM.
29667 (stpncpy): Do not use BP_SYM in weak_alias.
29668 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
29669 (PARMS): Do not use macros from bp-asm.h.
29670 (STR): Likewise.
29671 (CHR): Likewise.
29672 (strchr): Likewise. Do not use BP_SYM.
29673 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
29674 "bp-asm.h".
29675 (PARMS): Do not use macros from bp-asm.h.
29676 (STR): Likewise.
29677 (CHR): Likewise.
29678 (__strchrnul): Likewise. Do not use BP_SYM.
29679 (strchrnul): Do not use BP_SYM in weak_alias.
29680 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
29681 "bp-asm.h".
29682 (PARMS): Do not use macros from bp-asm.h.
29683 (STOP): Likewise.
29684 (strcspn): Do not use BP_SYM.
29685 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
29686 "bp-asm.h".
29687 (PARMS): Do not use macros from bp-asm.h.
29688 (STR): Likewise.
29689 (STOP): Likewise.
29690 (strpbrk): Likewise. Do not use BP_SYM.
29691 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
29692 "bp-asm.h".
29693 (PARMS): Do not use macros from bp-asm.h.
29694 (STR): Likewise.
29695 (CHR): Likewise.
29696 (strrchr): Likewise. Do not use BP_SYM.
29697 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
29698 (PARMS): Do not use macros from bp-asm.h.
29699 (SKIP): Likewise.
29700 (strspn): Do not use BP_SYM.
29701 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
29702 (PARMS): Do not use macros from bp-asm.h.
29703 (STR): Likewise.
29704 (DELIM): Likewise.
29705 (SAVE): Likewise.
29706 (FUNCTION): Likewise. Do not use BP_SYM.
29707 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
29708 aliases.
29709 (strtok_r): Likewise.
29710 (__GI___strtok_r): Likewise.
29711 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
29712 (PARMS): Do not use macros from bp-asm.h.
29713 (S1): Likewise.
29714 (S2): Likewise.
29715 (SIZE): Likewise.
29716 (__mpn_sub_n): Do not use BP_SYM.
29717 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
29718 "bp-asm.h".
29719 (PARMS): Do not use macros from bp-asm.h.
29720 (S1): Likewise.
29721 (SIZE): Likewise.
29722 (__mpn_submul_1): Do not use BP_SYM.
29723 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
29724 <bp-sym.h>.
29725 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
29726 and <bp-asm.h>.
29727 (PARMS): Do not use macros from bp-asm.h.
29728 (FLAGS): Likewise.
29729 (PTID): Likewise.
29730 (TLS): Likewise.
29731 (CTID): Likewise.
29732 (__clone): Do not use BP_SYM.
29733 (clone): Do not use BP_SYM in weak_alias.
29734 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
29735 and <bp-asm.h>.
29736 (PARMS): Do not use macros from bp-asm.h.
29737 (LEN): Likewise.
29738 (__mmap64): Do not use BP_SYM.
29739 (mmap64): Do not use BP_SYM in weak_alias.
29740 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29741 <bp-sym.h> and <bp-asm.h>.
29742 (PARMS): Do not use macros from bp-asm.h.
29743 (__posix_fadvise64_l64): Do not use BP_SYM.
29744 * sysdeps/unix/sysv/linux/i386/semtimedop.S
29745 (PARMS): Do not use macros from bp-asm.h.
29746 (NSOPS): Likewise.
29747 (semtimedop): Do not use BP_SYM.
29748 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
29749 and <bp-asm.h>.
29750
582a3cff
AM
297512013-02-21 Allan McRae <allan@archlinux.org>
29752
29753 * manual/message.texi (Charset conversion in gettext):
29754 Move @end statement to beginning of line.
29755
bab8a695
SP
297562013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29757
80945231
SP
29758 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
29759 static.
29760 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
29761 Likewise.
29762
bab8a695
SP
29763 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
29764 (denorm): Likewise.
29765 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
29766 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
29767
e21d7aa7
AK
297682013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29769
29770 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
29771 tail-call to the resolved function if pltexit isn't needed.
29772
4c7a4263
SP
297732013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29774
29775 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
29776 or Y being zero as being unlikely.
29777 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29778 Likewise.
29779
41f49342
CD
297802013-02-20 Carlos O'Donell <carlos@redhat.com>
29781
29782 * manual/nss.texi (System Databases and Name Service Switch):
29783 Remove frobnicate @pxref.
29784
50022a93
TS
297852013-02-20 Thomas Schwinge <thomas@codesourcery.com>
29786
29787 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29788 __attribute__ ((unused)) to __attribute__ ((__unused__)).
29789
08cbd996
PM
297902013-02-20 Petr Machata <pmachata@redhat.com>
29791
29792 * elf/elf.h (R_ARM_TARGET1): New macro.
29793 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
29794 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
29795 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
29796 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
29797 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
29798 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
29799 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
29800 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
29801 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
29802 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
29803 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
29804 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
29805 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
29806 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
29807 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
29808 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
29809 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
29810 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
29811 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
29812 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
29813 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
29814 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
29815 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
29816 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
29817 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
29818 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
29819 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
29820 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
29821 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
29822 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
29823 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
29824 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
29825 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
29826 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
29827 (R_ARM_THM_GOT_BREL12): Likewise.
29828 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
29829 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
29830 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
29831 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
29832 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
29833 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
29834 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
29835 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
29836 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
29837
c7b275d6
TS
298382013-02-20 Thomas Schwinge <thomas@codesourcery.com>
29839
29840 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29841 __attribute_used__ to __attribute__ ((unused)).
29842
20cd7fb3
SP
298432013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29844
29845 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
29846 powerpc mpa.c.
29847 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
29848 comment formatting.
29849 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
29850
92945b52
JM
298512013-02-19 Joseph Myers <joseph@codesourcery.com>
29852
29853 [BZ #13550]
29854 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
29855 Remove macro.
29856 (ENTER): Remove both macro definitions.
29857 (LEAVE): Likewise.
29858 (CHECK_BOUNDS_LOW): Likewise.
29859 (CHECK_BOUNDS_HIGH): Likewise.
29860 (CHECK_BOUNDS_BOTH): Likewise.
29861 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
29862 (RETURN_BOUNDED_POINTER): Likewise.
29863 (RETURN_NULL_BOUNDED_POINTER): Likewise.
29864 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
29865 (POP_ERRNO_LOCATION_RETURN): Likewise.
29866 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
29867 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29868 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
29869 macros.
29870 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29871 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
29872 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
29873 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
29874 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
29875 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
29876 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
29877 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
29878 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
29879 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
29880 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
29881 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
29882 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29883 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
29884 removed macros.
29885 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29886 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
29887 macros.
29888 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29889 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
29890 * sysdeps/i386/i586/memset.S (memset): Likewise.
29891 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
29892 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29893 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
29894 macros.
29895 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29896 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
29897 Change uses of L(2) to L(out).
29898 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
29899 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
29900 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
29901 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29902 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
29903 removed macros.
29904 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29905 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
29906 macros.
29907 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29908 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
29909 (RETURN): Do not use macro LEAVE.
29910 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
29911 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
29912 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
29913 * sysdeps/i386/i686/memset.S (memset): Likewise.
29914 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
29915 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
29916 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29917 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
29918 Likewise.
29919 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29920 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
29921 L(1_2) and L(1_3) into L(1).
29922 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29923 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
29924 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29925 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
29926 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29927 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
29928 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
29929 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29930 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
29931 macros.
29932 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
29933 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29934 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
29935 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
29936 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
29937 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29938 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
29939 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
29940 * sysdeps/i386/strcspn.S (strcspn): Likewise.
29941 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
29942 * sysdeps/i386/strrchr.S (strrchr): Likewise.
29943 * sysdeps/i386/strspn.S (strspn): Likewise.
29944 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
29945 conditional code.
29946 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29947 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
29948 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29949 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
29950 L(1_3) into L(1_1).
29951 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
29952 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29953 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
29954 macros.
29955 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29956
2389741a
JJ
299572013-02-19 Jakub Jelinek <jakub@redhat.com>
29958
29959 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
29960 macro.
29961
2016b3cd
SP
299622013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29963
e4f22324
SP
29964 * math/atest-exp.c (exp_mpn): Remove ROUND.
29965 * math/atest-exp2.c (exp_mpn): Likewise.
29966 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
29967
2016b3cd
SP
29968 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
29969 * stdlib/tst-tls-atexit-lib.c: Likewise.
29970 * stdlib/tst-tls-atexit.c: Likewise.
29971
4be9b544
MF
299722013-02-18 Mike Frysinger <vapier@gentoo.org>
29973
29974 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
29975 and __attribute_alloc_size__.
29976
2f62b9ee
MF
299772013-02-18 Mike Frysinger <vapier@gentoo.org>
29978
29979 * include/programs/xmalloc.h: Change __attribute_alloc_size to
29980 __attribute_alloc_size__.
29981 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
29982 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
29983
6ff444c4
MF
299842013-02-18 Mike Frysinger <vapier@gentoo.org>
29985
29986 * include/programs/xmalloc.h: New file.
29987 * catgets/gencat.c: Include it.
29988 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
29989 * elf/pldd.c: Likewise.
29990 * iconv/iconv_charmap.c: Likewise.
29991 * iconv/iconvconfig.c: Likewise.
29992 * iconv/strtab.c: Likewise.
29993 * locale/programs/locale.c: Likewise.
29994 * locale/programs/localedef.h: Likewise.
29995 * locale/programs/simple-hash.c: Likewise.
29996 * nscd/nscd.h: Likewise.
29997 * nss/makedb.c: Likewise.
29998 * sysdeps/generic/ldconfig.h: Likewise.
29999
be179c8a
SP
300002013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30001
ba384f6e
SP
30002 * Versions.def: Add GLIBC_2.18.
30003 * include/link.h (struct link_map): New member l_tls_dtor_count.
30004 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
30005 (__call_tls_dtors): Likewise.
30006 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
30007 __cxa_thread_atexit_impl.
30008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30009 Likewise.
30010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30011 Likewise.
30012 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
30013 Likewise.
30014 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
30015 Likewise.
30016 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30017 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
30018 Likewise.
30019 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
30020 Likewise.
30021 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30022 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
30023 Likewise.
30024 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
30025 (tests): Add test case tst-tls-atexit.
30026 (modules-names): Add shared library for tst-tls-atexit.
85891aca 30027 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
30028 (GLIBC_PRIVATE): Add __call_tls_dtors.
30029 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
30030 for libstdc++.
30031 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
30032 * stdlib/tst-tls-atexit.c: New test case.
30033 * stdlib/tst-tls-atexit-lib.c: New test case.
30034
ffaa74cf 30035 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 30036
be179c8a
SP
30037 * elf/Versions (ld): Add _dl_find_dso_for_object.
30038 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
30039 * elf/dl-open.c (_dl_find_dso_for_object): New function.
30040 (dl_open_worker): Use _dl_find_dso_for_object.
30041 * elf/dl-sym.c (do_sym): Likewise.
30042 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
30043
f78b5caa
AK
300442013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30045
30046 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
30047 Syntactic changes only.
30048 (_dl_runtime_profile): Do a tail-call to the resolved function.
30049
29691210
JM
300502013-02-17 Joseph Myers <joseph@codesourcery.com>
30051
30052 [BZ #13550]
30053 * sysdeps/x86_64/bp-asm.h: Remove file.
30054 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
30055 <bp-sym.h> and <bp-asm.h>.
30056 (__clone): Do not use BP_SYM.
30057 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
30058 <bp-sym.h> and <bp-asm.h>.
30059 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30060 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
30061 "bp-asm.h".
30062 (_setjmp): Do not use BP_SYM.
30063 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
30064 "bp-asm.h".
30065 (setjmp): Do not use BP_SYM.
30066 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
30067 libc_hidden_def.
30068 (mempcpy): Do not use BP_SYM in weak_alias.
30069 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
30070 "bp-asm.h".
30071 (strchr): Do not use BP_SYM.
30072 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
30073 "bp-asm.h".
30074 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
30075 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
30076 (_start): Do not use BP_SYM.
30077 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
30078 "bp-asm.h".
30079 (strcat): Do not use BP_SYM.
30080 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
30081 "bp-asm.h".
30082 (STRCMP): Do not use BP_SYM.
30083 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
30084 "bp-asm.h".
30085 (STRCPY): Do not use BP_SYM.
30086 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
30087 "bp-asm.h".
30088 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
30089 "bp-asm.h".
30090 (FUNCTION): Do not use BP_SYM.
30091 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
30092 weak_alias.
30093 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
30094
f238fd19
AJ
300952013-02-17 Andreas Jaeger <aj@suse.de>
30096
30097 * time/Versions: Sort entries.
30098 * string/Versions: Likewise.
30099 * resolv/Versions: Likewise.
30100 * posix/Versions: Likewise.
30101 * iconv/Versions: Likewise.
30102 * elf/Versions: Likewise.
30103 * wcsmbs/Versions: Likewise.
30104
bd07f23c 301052013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 30106
22af19f9
SP
30107 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
30108 loop termination condition.
30109
4709fe76
SP
30110 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
30111 variable to calculate EZ.
30112 (__sqr): Likewise.
2d0e0f29
SP
30113
30114 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
30115 the lower precision input.
30116
daaa7713
JM
301172013-02-15 Joseph Myers <joseph@codesourcery.com>
30118
30119 [BZ #13550]
30120 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
30121 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
30122 (run-via-rtld-prefix): Do not handle %-bp tests.
30123 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
30124 (all-object-suffixes): Remove .ob.
30125 (bppfx): Remove variable.
30126 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
30127 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
30128 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
30129 [$(build-bounded) = yes] (libtype.ob): Likewise.
30130 * Makerules (elide-routines.ob): Remove variable.
30131 (do-tests-clean): Do not handle *-bp.out.
30132 (common-mostlyclean): Do not handle *-bp and *-bp.out.
30133 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
30134 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
30135 (tests): Do not include $(tests-bp.out).
30136 (xtests): Do not include $(xtests-bp.out).
30137 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
30138 [$(build-bounded) = yes] ($(addprefix
30139 $(objpfx),$(binaries-bounded))): Remove rule.
30140 ($(objpfx)%-bp.out): Remove rule.
30141 * config.make.in (build-bounded): Remove variable.
30142 * crypt/Makefile [$(build-bounded) = yes]
30143 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
30144 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
30145 append to variable.
30146 [$(build-bounded) = yes] (install-lib): Likewise.
30147 [$(build-bounded) = yes] (generated): Likewise.
30148 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
30149 Remove rule.
30150 * intl/Makefile [$(build-bounded) = yes]
30151 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
30152 * math/Makefile [$(build-bounded) = yes]
30153 ($(tests:%=$(objpfx)%-bp): Likewise.
30154 * misc/Makefile [$(build-bounded) = yes]
30155 ($(objpfx)tst-tsearch-bp): Likewise.
30156 * nptl/Makeconfig (bounded-thread-library): Remove variable.
30157 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
30158 Remove dependency.
30159 * string/Makefile (o-objects.ob): Remove variable.
30160 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
30161 (CFLAGS-.ob): Remove variable.
30162 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
30163 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
30164 both definitions of variable.
30165 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
30166 (ASFLAGS-.ob): Remove variable.
30167
e97ed6dd
JM
301682013-02-14 Joseph Myers <joseph@codesourcery.com>
30169
2bdd4ca6
JM
30170 [BZ #13550]
30171 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
30172 Remove __BOUNDED_POINTERS__ from condition.
30173 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
30174 * string/bits/string2.h [!__NO_STRING_INLINES &&
30175 !__BOUNDED_POINTERS__]: Likewise.
30176 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
30177 Likewise.
30178 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
30179 Remove conditional code.
30180 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
30181 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
30182 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
30183 condition.
30184
e97ed6dd
JM
30185 [BZ #13550]
30186 * csu/libc-start.c: Do not include <bp-sym.h>.
30187 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
30188 * elf/dl-open.c: Do not include <bp-sym.h>.
30189 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
30190 * math/fegetenv.c: Do not include <bp-sym.h>.
30191 (fegetenv): Do not use BP_SYM in versioned symbols.
30192 * nptl/sysdeps/pthread/bits/libc-lockP.h
30193 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
30194 <bp-sym.h>.
30195 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30196 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
30197 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30198 (__pthread_mutex_destroy): Likewise.
30199 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30200 (__pthread_mutex_lock): Likewise.
30201 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30202 (__pthread_mutex_trylock): Likewise.
30203 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30204 (__pthread_mutex_unlock): Likewise.
30205 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30206 (__pthread_mutexattr_init): Likewise.
30207 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30208 (__pthread_mutexattr_destroy): Likewise.
30209 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30210 (__pthread_mutexattr_settype): Likewise.
30211 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30212 (__pthread_rwlock_init): Likewise.
30213 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30214 (__pthread_rwlock_destroy): Likewise.
30215 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30216 (__pthread_rwlock_rdlock): Likewise.
30217 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30218 (__pthread_rwlock_tryrdlock): Likewise.
30219 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30220 (__pthread_rwlock_wrlock): Likewise.
30221 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30222 (__pthread_rwlock_trywrlock): Likewise.
30223 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30224 (__pthread_rwlock_unlock): Likewise.
30225 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30226 (__pthread_key_create): Likewise.
30227 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30228 (__pthread_setspecific): Likewise.
30229 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30230 (__pthread_getspecific): Likewise.
30231 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
30232 Likewise.
30233 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30234 (_pthread_cleanup_push_defer): Likewise.
30235 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30236 (_pthread_cleanup_pop_restore): Likewise.
30237 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30238 (pthread_setcancelstate): Likewise.
30239 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
30240 <bp-sym.h>.
30241 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
30242 (memchr): Do not use BP_SYM in weak_alias.
30243 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
30244 (fegetenv): Do not use BP_SYM in versioned symbols.
30245 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
30246 (fesetenv): Do not use BP_SYM in versioned symbols.
30247 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30248 (feupdateenv): Do not use BP_SYM in versioned symbols.
30249 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30250 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30251 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
30252 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
30253 (open64): Do not use BP_SYM in weak_alias.
30254 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
30255 (fegetenv): Do not use BP_SYM in versioned symbols.
30256 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
30257 (fesetenv): Do not use BP_SYM in versioned symbols.
30258 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30259 (feupdateenv): Do not use BP_SYM in versioned symbols.
30260 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
30261 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
30262 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
30263 (feraiseexcept): Do not use BP_SYM in versioned symbols.
30264 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30265 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30266 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
30267 <bp-sym.h>.
30268 (__libc_start_main): Do not use BP_SYM.
30269
d6752ccd
SP
302702013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30271
cb57ce60
SP
30272 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
30273 redundant return line.
30274 (norm): Likewise.
30275 (denorm): Likewise.
30276 (dbl_mp): Likewise.
30277 (sub_magnitudes): Likewise.
30278 (__add): Likewise.
30279 (__sub): Likewise.
30280 (__mul): Likewise.
30281 (__inv): Likewise.
30282 (__dvd): Likewise.
30283 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
30284 (norm): Likewise.
30285 (denorm): Likewise.
30286 (dbl_mp): Likewise.
30287 (sub_magnitudes): Likewise.
30288 (__add): Likewise.
30289 (__sub): Likewise.
30290 (__mul): Likewise.
30291 (__inv): Likewise.
30292 (__dvd): Likewise.
30293
f414520d
SP
30294 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
30295 instead of __mul.
30296 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
30297 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
30298 (cc32): Likewise.
30299
d6752ccd
SP
30300 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
30301 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
30302 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
30303 of __mul for squares.
30304 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
30305 function
30306 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
30307 Likewise.
30308 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
30309 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30310
70d9946a
JM
303112013-02-13 Joseph Myers <joseph@codesourcery.com>
30312
30313 [BZ #13550]
30314 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
30315 code.
30316 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
30317 prototype or function definition. Rename ubp_* variables and
30318 parameters. Remove argv definitions conditional on
30319 [__BOUNDED_POINTERS__].
30320 * debug/backtrace.c (__backtrace): Do not use __unbounded.
30321 * elf/dl-runtime.c (_dl_fixup): Likewise.
30322 * include/set-hooks.h (RUN_HOOK): Likewise.
30323 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
30324 definition.
30325 * string/strcpy.c (strcpy): Do not use __unbounded.
30326 * sysdeps/generic/frame.h (struct layout): Likewise.
30327 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
30328 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
30329 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
30330 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
30331 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
30332 (__backtrace): Likewise.
30333 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
30334 use __ptrvalue.
30335 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
30336 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
30337 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
30338 Likewise.
30339 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
30340 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
30341 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
30342 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30343 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
30344 Do not use __unbounded.
30345 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
30346 Rename __unboundedrlimits parameter to rlimits in prototype.
30347 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
30348 Do not use __unbounded.
30349 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
30350 not use __ptrvalue.
30351 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30352 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
30353 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30354 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
30355 __ptrvalue or __unbounded.
30356 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
30357 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
30358 use __unbounded.
30359 (__new_msgctl): Do not use __ptrvalue.
30360 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
30361 __unbounded.
30362 (__libc_msgrcv): Do not use __ptrvalue.
30363 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
30364 startup_info): Do not use __unbounded.
30365 (__libc_start_main): Likewise. Rename ubp_* variables and
30366 parameters. Remove argv definitions conditional on
30367 [__BOUNDED_POINTERS__].
30368 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
30369 __ptrvalue.
30370 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
30371 use __unbounded.
30372 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
30373 or __ptrvalue.
30374 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
30375 use __unbounded.
30376 (__new_shmctl): Do not use __ptrvalue.
30377 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
30378 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
30379 Likewise.
30380 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
30381 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
30382 (__libc_sigaction): Likewise.
30383 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
30384 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
30385 Likewise.
30386 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30387
cc7834d6
OB
303882013-02-13 Ondřej Bílka <neleai@seznam.cz>
30389
ffb1ec7b 30390 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
30391
30392 * string/mempcpy.c: Implement by calling memcpy.
30393
bdf02814
SP
303942013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
30395
c2af38aa
SP
30396 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
30397
4e92d59e
SP
30398 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
30399 evaluation.
30400
909279a5
SP
30401 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
30402 values in the mantissa.
30403
bdf02814
SP
30404 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
30405 minimize writes to Z.
30406 (sub_magnitudes): Simplify code a bit.
30407
cd525923
RM
304082013-02-12 Roland McGrath <roland@hack.frob.com>
30409
30410 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
30411 from the message. The linker prefixes all warnings with that already.
30412
7e2f0d2d
AS
304132013-02-12 Andreas Schwab <schwab@suse.de>
30414
a445af0b
AS
30415 [BZ #15078]
30416 * posix/regexec.c (extend_buffers): Add parameter min_len.
30417 (check_matching): Pass minimum needed length.
30418 (clean_state_log_if_needed): Likewise.
30419 (get_subexp): Likewise.
30420 * posix/Makefile (tests): Add bug-regex34.
30421 (bug-regex34-ENV): Define.
30422 * posix/bug-regex34.c: New file.
30423
7e2f0d2d
AS
30424 [BZ #11561]
30425 * posix/regcomp.c (parse_bracket_exp): When looking up collating
30426 elements compare against the byte sequence of it, not its name.
30427 * posix/Makefile (tests): Add bug-regex35.
30428 (bug-regex35-ENV): Define.
30429 * posix/bug-regex35.c: New file.
30430
a175b684
TV
304312013-02-11 Tom de Vries <tom@codesourcery.com>
30432
30433 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
30434 comment.
30435 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
30436 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
30437 (CHECK_EOL): Add undef.
30438
310998fe 304392013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
30440
30441 * bits/stdlib-bsearch.h: New file.
30442 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 30443 * stdlib/stdlib.h: Likewise.
41eda41d 30444
8ded91fb
RM
304452013-02-11 Roland McGrath <roland@hack.frob.com>
30446
30447 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
30448 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
30449 declaration.
30450 * manual/search.texi (Array Search Function): Add missing const in
30451 lfind prototype.
30452 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
30453 declaration to use rlim_t.
30454 (Basic Scheduling Functions): Remove erroneous const from
30455 sched_getparam prototype. Remove erroneous * from
30456 sched_get_priority_max and sched_get_priority_min prototypes.
30457 (Resource Usage): Fix summary @comment on vtimes to refer to
30458 sys/vtimes.h rather than vtimes.h.
30459 Add missing *s in vtimes prototype.
30460 (Limits on Resources): Fix ulimit prototype to return long int.
30461 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
30462 prototypes to use long int rather than double.
30463 (BSD Random): Fix initstate and setstate to use char *, not void *.
30464 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
30465 prototype to make second argument 'struct aiocb64 *const[]'.
30466 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
30467 (Status of AIO Operations): Remove erroneous const in aio_return and
30468 aio_return64 prototypes.
30469 (Synchronizing I/O): Fix sync prototype to return void.
30470 * manual/startup.texi (Suboptions): Remove an erroneous const in
30471 getsubopt prototype.
30472 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
30473 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
30474 use size_t rather than int.
30475 (Scanning All Users): Likewise for getpwent_r.
30476 (Setting Groups): Add missing const to setgroups prototype.
30477 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
30478 * manual/socket.texi (Host Names): Fix gethostbyaddr and
30479 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
30480 'const void *' rather than 'const char *'.
30481 (Host Address Functions): Likewise for inet_ntop.
30482 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
30483 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
30484 ssize_t for return value.
30485 (Sending Data): Likewise for send, sendto, sendmsg.
30486 (Socket Option Functions): Add a missing const in setsockopt prototype.
30487 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
30488 use wchar_t for the argument.
30489 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
30490 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
30491 take no arguments.
30492 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
30493 double/float/long double for second argument.
30494 Fix return types of significand, significandf, significandl.
30495 * manual/filesys.texi (Setting Permissions): Use mode_t for second
30496 argument in fchmod prototype.
30497 (File Owner): Use uid_t and gid_t in fchown prototype.
30498 (File Times): Add const to utimes, futimes, and lutimes prototypes.
30499 (Making Special Files): Use mode_t and dev_t in mknod prototype.
30500 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
30501 use 'const struct dirent **' as argument types to CMP function pointer
30502 argument.
30503 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
30504 (File Times): Fix summary magic @comment for struct utimbuf and utime
30505 to refer to utime.h, not time.h.
30506 * manual/string.texi (Argz Functions): Add missing const in
30507 argz_extract and argz_next prototypes.
30508 (Finding Tokens in a String): Likewise for basename.
30509 (String/Array Comparison): Fix typo in wcscasecmp prototype.
30510 (Copying and Concatenation): Fix typo in wmemmove prototype.
30511 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
30512 (Signal Stack): Remove erroneous const in sigstack prototype.
30513 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
30514 prototype.
30515 (Simple Calendar Time): Likewise for stime.
30516 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
30517 prototype.
30518 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
30519 say sys/sysctl.h instead.
30520 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
30521 and vsyslog prototypes.
30522
fe77fe6d
TV
305232013-02-11 Tom de Vries <tom@codesourcery.com>
30524
30525 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
30526 Remove.
30527
3a09b620
RM
305282013-02-11 Roland McGrath <roland@hack.frob.com>
30529
30530 * misc/sys/mman.h: Fix typo in mremap comment.
30531
550a0b89
RM
305322013-02-08 Roland McGrath <roland@hack.frob.com>
30533
30534 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
30535 the '\0' terminator.
30536
a2da1673
JM
305372013-02-08 Joseph Myers <joseph@codesourcery.com>
30538
30539 [BZ #13550]
30540 * debug/segfault.c: Don't include <bp-checks.h>.
30541 * sysdeps/generic/bp-checks.h: Remove file.
30542 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
30543 (__GETDENTS): Don't use CHECK_N.
30544 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
30545 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
30546 (__getgroups): Don't use CHECK_N.
30547 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
30548 (setgroups): Don't use CHECK_N.
30549 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
30550 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
30551 (__libc_msgrcv): Don't use CHECK_N.
30552 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
30553 (__libc_msgsnd): Don't use CHECK_N.
30554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
30555 <bp-checks.h>.
30556 (__libc_pread): Don't use CHECK_N.
30557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
30558 include <bp-checks.h>.
30559 (__libc_pread64): Don't use CHECK_N.
30560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
30561 include <bp-checks.h>.
30562 (__libc_pwrite): Don't use CHECK_N.
30563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
30564 include <bp-checks.h>.
30565 (__libc_pwrite64): Don't use CHECK_N.
30566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
30567 <bp-checks.h>.
30568 (__libc_pread): Don't use CHECK_N.
30569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
30570 include <bp-checks.h>.
30571 (__libc_pread64): Don't use CHECK_N.
30572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
30573 include <bp-checks.h>.
30574 (__libc_pwrite): Don't use CHECK_N.
30575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
30576 include <bp-checks.h>.
30577 (__libc_pwrite64): Don't use CHECK_N.
30578 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
30579 (do_pread): Don't use CHECK_N.
30580 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
30581 (do_pread64): Don't use CHECK_N.
30582 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
30583 (do_pwrite): Don't use CHECK_N.
30584 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
30585 (do_pwrite64): Don't use CHECK_N.
30586 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
30587 (__libc_readv): Don't use CHECK_N.
30588 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
30589 (semop): Don't use CHECK_N.
30590 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
30591 <bp-checks.h>.
30592 (semtimedop): Don't use CHECK_N.
30593 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
30594 (__libc_pread): Don't use CHECK_N.
30595 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
30596 <bp-checks.h>.
30597 (__libc_pread64): Don't use CHECK_N.
30598 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
30599 <bp-checks.h>.
30600 (__libc_pwrite): Don't use CHECK_N.
30601 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
30602 <bp-checks.h>.
30603 (__libc_pwrite64): Don't use CHECK_N.
30604 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
30605 <bp-checks.h>.
30606 (__libc_msgrcv): Don't use CHECK_N.
30607 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
30608 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
30609 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
30610 (__libc_writev): Don't use CHECK_N.
30611
b84660a8
RM
306122013-02-08 Roland McGrath <roland@hack.frob.com>
30613
7f3e75f8
RM
30614 * string/strcpy.c: Removed unused variable.
30615
b84660a8
RM
30616 * Makeconfig (+sysdep-includes): Define with := rather than =.
30617 Use an existing include/ subdir of each sysdeps dir before it.
30618
471514d3
CD
306192013-02-08 Carlos O'Donell <carlos@redhat.com>
30620
30621 * nscd/connection.c (register_traced_file): Comment function.
30622 [HAVE_INOTIFY] (union __inev): Define.
30623 [HAVE_INOTIFY] (inotify_check_files): New function.
30624 [HAVE_INOTIFY] (clear_db_cache): Likewise.
30625 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
30626 clear_db_cache.
30627 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
30628
b2d3c3be
CD
306292013-02-08 Carlos O'Donell <carlos@redhat.com>
30630
30631 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
30632 loaded if not already and that a failure is permanent.
30633
b39949d2
CD
306342013-02-08 Carlos O'Donell <carlos@redhat.com>
30635
ddacd1db 30636 [BZ #15006]
b39949d2
CD
30637 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
30638 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
30639
b2c9eff4
JM
306402013-02-08 Joseph Myers <joseph@codesourcery.com>
30641
f3aae3f3
JM
30642 [BZ #13550]
30643 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
30644 (CHECK_1_NULL_OK): Likewise.
30645 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
30646 (__fxstat): Do not use CHECK_1.
30647 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
30648 <bp-checks.h>.
30649 (___fxstat64): Do not use CHECK_1.
30650 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
30651 <bp-checks.h>.
30652 (__fxstatat): Do not use CHECK_1.
30653 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
30654 <bp-checks.h>.
30655 (__fxstatat64): Do not use CHECK_1.
30656 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
30657 <bp-checks.h>.
30658 (__fxstat): Do not use CHECK_1.
30659 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
30660 <bp-checks.h>.
30661 (__fxstatat): Do not use CHECK_1.
30662 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
30663 <bp-checks.h>.
30664 (__getresgid): Do not use CHECK_1.
30665 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
30666 <bp-checks.h>.
30667 (__getresuid): Do not use CHECK_1.
30668 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
30669 <bp-checks.h>.
30670 (__lxstat): Do not use CHECK_1.
30671 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
30672 <bp-checks.h>.
30673 (__old_msgctl): Do not use CHECK_1.
30674 (__new_msgctl): Likewise.
30675 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
30676 <bp-checks.h>.
30677 (__new_setrlimit): Do not use CHECK_1.
30678 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
30679 <bp-checks.h>.
30680 (__old_shmctl): Do not use CHECK_1.
30681 (__new_shmctl): Likewise.
30682 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
30683 <bp-checks.h>.
30684 (__xstat): Do not use CHECK_1.
30685 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
30686 (__lxstat): Do not use CHECK_1.
30687 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
30688 <bp-checks.h>.
30689 (___lxstat64): Do not use CHECK_1.
30690 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
30691 (__old_msgctl): Do not use CHECK_1.
30692 (__new_msgctl): Likewise.
30693 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
30694 <bp-checks.h>.
30695 (__gettimeofday): Do not use CHECK_1.
30696 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
30697 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
30698 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
30699 <bp-checks.h>.
30700 (__gettimeofday): Do not use CHECK_1.
30701 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
30702 (__old_shmctl): Do not use CHECK_1_NULL_OK.
30703 (__new_shmctl): Do not use CHECK_1.
30704 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
30705 <bp-checks.h>.
30706 (do_sigtimedwait): Do not use CHECK_1.
30707 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
30708 <bp-checks.h>.
30709 (do_sigwaitinfo): Do not use CHECK_1.
30710 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
30711 <bp-checks.h>.
30712 (msgctl): Do not use CHECK_1.
30713 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
30714 <bp-checks.h>.
30715 (shmctl): Do not use CHECK_1.
30716 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
30717 (ustat): Do not use CHECK_1.
30718 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
30719 <bp-checks.h>.
30720 (__fxstat): Do not use CHECK_1.
30721 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
30722 <bp-checks.h>.
30723 (__fxstatat): Do not use CHECK_1.
30724 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
30725 <bp-checks.h>.
30726 (__lxstat): Do not use CHECK_1.
30727 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
30728 <bp-checks.h>.
30729 (__xstat): Do not use CHECK_1.
30730 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
30731 (__xstat): Do not use CHECK_1.
30732 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
30733 (___xstat64): Do not use CHECK_1.
30734
b2c9eff4
JM
30735 [BZ #13550]
30736 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
30737 definitions.
30738 (CHECK_BOUNDS_HIGH): Likewise.
30739 * string/strcpy.c: Do not include <bp-checks.h>.
30740 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
30741
f1d70dad
RM
307422013-02-07 Roland McGrath <roland@hack.frob.com>
30743
30744 * nscd/nscd-client.h (__nscd_drop_map_ref):
30745 Add __attribute__ ((unused)).
30746 * nis/nss-nisplus.h (niserr2nss): Likewise.
30747
30748 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
30749 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
30750
30751 * csu/libc-tls.c (init_static_tls, init_slotinfo):
30752 Remove inline keyword.
30753 * include/rounding-mode.h (round_away): Likewise.
30754 * libio/wfileops.c (adjust_wide_data): Likewise.
30755 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
30756 (__m128i_strloadu_tolower): Likewise.
30757 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
30758 (__m128i_strloadu_tolower): Likewise.
30759 * time/mktime.c (ydhms_diff): Likewise.
30760 * locale/elem-hash.h (elem_hash): Likewise.
30761 * locale/setlocale.c (setdata): Likewise.
30762 * posix/regex_internal.h (re_string_char_size_at): Likewise.
30763 (re_string_wchar_at): Likewise.
30764 (bitset_not, bitset_merge, bitset_mask): Likewise.
30765 [!(__GNUC__ > 3)] (inline): Remove macro.
30766 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
30767 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
30768 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
30769 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
30770 * string/memcmp.c (memcmp_bytes): Likewise.
30771 * locale/programs/locarchive.c (compute_hashval): Likewise.
30772 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
30773 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
30774 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
30775 * nss/getent.c (print_rpc, print_protocols): Likewise.
30776 (print_passwd, print_group, print_aliases): Likewise.
30777 * nis/nss-nisplus.h (niserr2nss): Likewise.
30778 * nscd/connections.c (restart_p): Likewise.
30779 Change return type to bool.
30780
eab55bfb
RM
307812013-02-05 Roland McGrath <roland@hack.frob.com>
30782
7bd642f5
RM
30783 * Makeconfig (all-Depend-files): Add existing
30784 $(sorted-subdirs:=/Depend) files.
30785 (all-subdirs): Remove nss.
30786 * sysdeps/unix/inet/Subdirs: Add it here instead.
30787 * hesiod/Depend: New file.
30788
573c29b2
RM
30789 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
30790 instead of calling alloca.
30791
b2e25af0
RM
30792 * io/lseek.c (__lseek): Rename to __libc_lseek.
30793 Define __lseek as an alias.
30794
eab55bfb
RM
30795 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
30796
9a0d1941
CD
307972013-02-04 Carlos O'Donell <carlos@redhat.com>
30798
30799 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
30800 else clause and remove check for non-standard endianness.
30801
b83bbec4
DM
308022013-02-04 David S. Miller <davem@davemloft.net>
30803
30804 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30805
6277fdab
JM
308062013-02-04 Joseph Myers <joseph@codesourcery.com>
30807
30808 [BZ #13550]
30809 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
30810 (__ubp_memchr): Remove prototype.
30811 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
30812 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30813 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
30814 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30815 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
30816 Remove alias.
30817 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
30818 (__ubp_memchr): Likewise.
30819 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
30820 (__ubp_memchr): Likewise.
30821 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
30822 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
30823 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
30824 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
30825 CHECK_STRING.
30826 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
30827 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
30828 (__getcwd): Do not use CHECK_STRING.
30829 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30830 <bp-checks.h>.
30831 (__real_chown): Do not use CHECK_STRING.
30832 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
30833 <bp-checks.h>.
30834 (fchownat): Do not use CHECK_STRING.
30835 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
30836 CHECK_STRING.
30837 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
30838 <bp-checks.h>.
30839 (__lchown): Do not use CHECK_STRING.
30840 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30841 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30842 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30843 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
30844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30845 include <bp-checks.h>.
30846 (truncate64): Do not use CHECK_STRING.
30847 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
30848 <bp-checks.h>.
30849 (__real_chown): Do not use CHECK_STRING.
30850 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
30851 <bp-checks.h>.
30852 (__lchown): Do not use CHECK_STRING.
30853 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30854 <bp-checks.h>.
30855 (__chown): Do not use CHECK_STRING.
30856 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
30857 <bp-checks.h>.
30858 (truncate64): Do not use CHECK_STRING.
30859 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
30860 Likewise.
30861 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
30862 (__xmknod): Do not use CHECK_STRING.
30863 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
30864 <bp-checks.h>.
30865 (__xmknodat): Do not use CHECK_STRING.
30866 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30867 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
30868
903ae060
AS
308692013-02-04 Andreas Schwab <schwab@suse.de>
30870
30871 [BZ #14142]
30872 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
30873 * include/netdb.h: Likewise for h_errno.
30874 * elf/tst-stackguard1.c: Include <tls.h>.
30875
542f9466
JK
308762013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
30877
30878 * elf/link.h (struct link_map): Extend the l_addr comment.
30879 * include/link.h (struct link_map): Likewise.
30880
e782a927
JM
308812013-02-01 Joseph Myers <joseph@codesourcery.com>
30882
30883 [BZ #13550]
30884 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
30885 (BOUNDED_1): Remove macro.
30886 * debug/backtrace.c: Don't include <bp-checks.h>.
30887 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
30888 (__backtrace): Likewise.
30889 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
30890 <bp-checks.h>.
30891 (__backtrace): Don't use BOUNDED_1.
30892 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
30893 <bp-checks.h>.
30894 (__backtrace): Don't use BOUNDED_1.
30895 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
30896 (__backtrace): Don't use BOUNDED_1.
30897 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
30898 (shmat): Don't use BOUNDED_N.
30899
8cf28c5e
JM
309002013-01-31 Joseph Myers <joseph@codesourcery.com>
30901
3a7ac8a0
JM
30902 [BZ #13550]
30903 * sysdeps/generic/bp-start.h: Remove file.
30904 * csu/libc-start.c: Don't include <bp-start.h>.
30905 (LIBC_START_MAIN): Set up __environ directly instead of using
30906 INIT_ARGV_and_ENVIRON.
30907 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
30908 <bp-start.h>.
30909
f3499f95
JM
30910 [BZ #13550]
30911 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
30912 definitions.
30913 (CHECK_FCNTL): Likewise.
30914 (CHECK_N_PAGES): Likewise.
30915
32a45bea
JM
30916 [BZ #13550]
30917 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
30918 definitions.
30919 (CHECK_SIGSET_NULL_OK): Likewise.
30920 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
30921 <bp-checks.h>.
30922 (sigpending): Don't use CHECK_SIGSET.
30923 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
30924 <bp-checks.h>.
30925 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30926 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
30927 <bp-checks.h>.
30928 (do_sigsuspend): Don't use CHECK_SIGSET.
30929 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
30930 use CHECK_SIGSET.
30931 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
30932 (do_sigwait): Don't use CHECK_SIGSET.
30933 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
30934 use CHECK_SIGSET.
30935 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
30936 include <bp-checks.h>.
30937 (sigpending): Don't use CHECK_SIGSET.
30938 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
30939 include <bp-checks.h>.
30940 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30941 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
30942 <bp-checks.h>.
30943 (sigpending): Don't use CHECK_SIGSET.
30944 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
30945 <bp-checks.h>.
30946 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30947
2e8a5c8c
JM
30948 [BZ #13550]
30949 * sysdeps/generic/bp-semctl.h: Remove file.
30950 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
30951 <bp-checks.h> and <bp-semctl.h>.
30952 (__old_semctl): Don't use CHECK_SEMCTL.
30953 (__new_semctl): Likewise.
30954 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
30955 and <bp-semctl.h>.
30956 (__old_semctl): Don't use CHECK_SEMCTL.
30957 (__new_semctl): Likewise.
30958 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
30959 <bp-checks.h> and <bp-semctl.h>.
30960 (__old_semctl): Don't use CHECK_SEMCTL.
30961 (__new_semctl): Likewise.
30962 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
30963 <bp-checks.h> and <bp-semctl.h>.
30964 (semctl): Don't use CHECK_SEMCTL.
30965
c2d54929
JM
30966 [BZ #13550]
30967 * Makerules (elide-bp-thunks): Remove variable.
30968 (elide-routines.oS): Don't use $(elide-bp-thunks).
30969 (elide-routines.os): Likewise.
30970 (elide-routines.o): Likewise.
30971 (elide-routines.op): Likewise.
30972 (elide-routines.og): Likewise.
30973 (objects): Don't use $(bp-thunks).
30974 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
30975 include.
30976 (common-generated): Do not add s-proto-bp.d.
30977 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
30978 (int): Likewise.
30979 (typ): Likewise.
30980 Do not generate makefile rules for bounded-pointer thunks.
30981 * sysdeps/generic/bp-thunks.h: Remove file.
30982 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
30983 * sysdeps/unix/s-proto-bp.S: Likewise.
30984
8cf28c5e
JM
30985 [BZ #15062]
30986 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
30987 parts of result separately when argument is not close to line from
30988 -i to i and one part of argument is small.
30989 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30990 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30991 * math/libm-test.inc (cacos_test): Add more tests.
30992 (casin_test): Likewise.
30993 (casinh_test): Likewise.
30994 * sysdeps/i386/fpu/libm-test-ulps: Update.
30995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30996
c4e33b8d
DM
309972013-01-31 David S. Miller <davem@davemloft.net>
30998
30999 * po/de.po: Update from translation team.
31000
3b60b421
MK
310012013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
31002
31003 * time/tzfile.c: Include stdint.h for SIZE_MAX.
31004
bb931195
TS
310052013-01-25 Thomas Schwinge <thomas@codesourcery.com>
31006
b5a5da23
TS
31007 * configure.in (_AC_PROG_CC_C89): New definition.
31008 * configure: Regenerate.
31009
bb931195
TS
31010 * configure.in (AC_PROG_CPP): New definition.
31011 * configure: Regenerate.
31012
8c53a12c
JM
310132013-01-23 Joseph Myers <joseph@codesourcery.com>
31014
31015 * debug/tst-backtrace.h: New file.
31016 * debug/tst-backtrace2.c: Include tst-backtrace.h.
31017 (ret): Remove variable.
31018 (x): Likewise.
31019 (FAIL): Remove macro.
31020 (NO_INLINE): Likewise.
31021 (fn1): Use match function instead of strstr.
31022 * debug/tst-backtrace3.c: Include tst-backtrace.h.
31023 (ret): Remove variable.
31024 (x): Likewise.
31025 (FAIL): Remove macro.
31026 (NO_INLINE): Likewise.
31027 (fn): Use match function instead of strstr.
31028 * debug/tst-backtrace4.c: Include tst-backtrace.h.
31029 (ret): Remove variable.
31030 (x): Likewise.
31031 (FAIL): Remove macro.
31032 (NO_INLINE): Likewise.
31033 (handle_signal): Use match function instead of strstr.
31034 * debug/tst-backtrace5.c: Include tst-backtrace.h.
31035 (ret): Remove variable.
31036 (x): Likewise.
31037 (FAIL): Remove macro.
31038 (NO_INLINE): Likewise.
31039 (handle_signal): Use match function instead of strstr.
31040
4858fa2a
RM
310412013-01-23 Roland McGrath <roland@hack.frob.com>
31042
31043 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
31044
bae8e7f5
DM
310452013-01-23 David S. Miller <davem@davemloft.net>
31046
31047 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
31048 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
31049 argument of CAS if possible.
31050 * sysdeps/sparc/sparc64/bits/atomic.h
31051 (__arch_compare_and_exchange_val_32_acq): Likewise.
31052 (__arch_compare_and_exchange_val_64_acq): Likewise.
31053
9cbbc4ae
PT
310542013-01-23 Pino Toscano <toscano.pino@tiscali.it>
31055
31056 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
31057 * sysdeps/posix/ulimit.c: ... this.
92a601b8 31058 Include <limits.h>.
67b3f58c 31059 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 31060
5655a0b5
AC
310612013-01-23 Adam Conrad <adconrad@0c3.net>
31062
31063 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
31064 (LDFLAGS-tst-array5): Likewise.
31065
052aff95
JM
310662013-01-23 Joseph Myers <joseph@codesourcery.com>
31067
31068 [BZ #15036]
31069 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
31070 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
31071 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
31072 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
31073
7c1e01aa
DM
310742013-01-21 David S. Miller <davem@davemloft.net>
31075
31076 * sysdeps/sparc/backtrace.c: New file.
31077 * sysdeps/sparc/sparc32/backtrace.h: New file.
31078 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
31079 * sysdeps/sparc/sparc64/backtrace.h: New file.
31080 * sysdeps/sparc/sparc64/backtrace.c: Delete.
31081 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
31082 -funwind-tables.
31083
ab087e0a
AS
310842013-01-21 Andreas Schwab <schwab@suse.de>
31085
31086 [BZ #15020]
31087 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
31088 closed its stdout.
31089
ed689c2f
AS
310902013-01-20 Andreas Schwab <schwab@linux-m68k.org>
31091
31092 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
31093 "mpa2.h".
31094 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31095
31d470ac
JM
310962013-01-18 Joseph Myers <joseph@codesourcery.com>
31097 Mark Mitchell <mark@codesourcery.com>
31098 Tom de Vries <tom@codesourcery.com>
31099 Paul Pluzhnikov <ppluzhnikov@google.com>
31100
31101 * debug/tst-backtrace2.c: New file.
31102 * debug/tst-backtrace3.c: Likewise.
31103 * debug/tst-backtrace4.c: Likewise.
31104 * debug/tst-backtrace5.c: Likewise.
31105 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
31106 (CFLAGS-tst-backtrace3.c): Likewise.
31107 (CFLAGS-tst-backtrace4.c): Likewise.
31108 (CFLAGS-tst-backtrace5.c): Likewise.
31109 (LDFLAGS-tst-backtrace2): Likewise.
31110 (LDFLAGS-tst-backtrace3): Likewise.
31111 (LDFLAGS-tst-backtrace4): Likewise.
31112 (LDFLAGS-tst-backtrace5): Likewise.
31113 (tests): Add new tests tst-backtrace2, tst-backtrace3,
31114 tst-backtrace4 and tst-backtrace5.
31115
90567f30 311162013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
31117 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31118
31119 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
31120 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
31121 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
31122 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
31123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31124 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
31125 "+r" and remove output regs list as redundant. Add explicit inline
31126 asm to specify register of return val to work around compiler codegen
31127 bug. Remove (int) cast on return value. Add return type parameter to
31128 use in macro so that this macro does not truncate return value for
31129 64-bit values.
31130 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
31131 pass to INTERNAL_VSYSCALL_NCS.
31132 (INLINE_VSYSCALL): Add 'long int' as return type to
31133 INTERNAL_VSYSCALL_NCS macro invocation.
31134 (INTERNAL_VSYSCALL): Add 'long int' as return type to
31135 INTERNAL_VSYSCALL_NCS macro invocation.
31136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31137
d3b9ea61
SP
311382013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31139
0b57daeb
SP
31140 [BZ #14496]
31141 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
31142 Fix application of SIMD FP exception mask.
31143
caa99d06
SP
31144 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
31145 mp_no from a power of two.
31146 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
31147 __mpexp_twomm1. Use __pow_mp.
31148
d3b9ea61
SP
31149 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
31150 multiplication.
31151
1dbaee3c
DM
311522013-01-17 David S. Miller <davem@davemloft.net>
31153
31154 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31155
728d7b43
JM
311562013-01-17 Joseph Myers <joseph@codesourcery.com>
31157
31158 [BZ #15023]
31159 * include/complex.h: Condition contents on [!_COMPLEX_H].
31160 (__kernel_casinhf): New prototype.
31161 (__kernel_casinh): Likewise.
31162 (__kernel_casinhl): Likewise.
31163 * math/Makefile (libm_calls): Add k_casinh.
31164 * math/k_casinh.c: New file.
31165 * math/k_casinhf.c: Likewise.
31166 * math/k_casinhl.c: Likewise.
31167 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
31168 finite nonzero arguments.
31169 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
31170 finite nonzero arguments.
31171 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
31172 finite nonzero arguments.
31173 * math/s_casinh.c: Do not include <float.h>.
31174 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
31175 * math/s_casinhf.c: Do not include <float.h>.
31176 (__casinhf): Move code for finite nonzero arguments to
31177 k_casinhf.c.
31178 * math/s_casinhl.c: Do not include <float.h>.
31179 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
31180 redefine.
31181 (__casinhl): Move code for finite nonzero arguments to
31182 k_casinhl.c.
31183 * math/libm-test.inc (cacos_test): Add more tests.
31184 * sysdeps/i386/fpu/libm-test-ulps: Update.
31185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31186
2a26ef3a
PT
311872013-01-17 Pino Toscano <toscano.pino@tiscali.it>
31188
31189 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
31190 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
31191 [!HAVE_MREMAP]: Remove [defined linux] case.
31192 * malloc/arena.c: Do not include <malloc-sysdep.h>.
31193
a897655d
SP
311942013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
31195
31196 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
31197
881ebe89 311982013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
31199
31200 * elf/elf.h (R_386_SIZE32): New relocation.
31201 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
31202 R_386_SIZE32.
31203 (elf_machine_rela): Likewise.
31204 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31205 R_X86_64_SIZE64 and R_X86_64_SIZE32.
31206
59981e9b
JM
312072013-01-17 Joseph Myers <joseph@codesourcery.com>
31208
31209 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
31210 (FP_FAST_FMA): Do not define.
31211 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
31212 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
31213 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
31214 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
31215 !_SOFT_FLOAT]: Likewise.
31216 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
31217 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
31218 value.
31219 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
31220 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
31221 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
31222 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
31223 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
31224 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
31225 file.
31226
cfa8054f
AS
312272013-01-16 Andreas Schwab <schwab@suse.de>
31228
31229 [BZ #14327]
31230 * include/stdlib.h (__mktemp): Add declaration.
31231 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
31232 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
31233
dd930cc5
SP
312342013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31235
881ebe89
SP
31236 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
31237 definitions.
31238 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
31239 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
31240 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
31241 definitions here.
31242 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
31243 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
31244 definitions.
31245 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
31246 and ONE.
31247 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
31248 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
31249 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
31250 definitions.
31251 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
31252 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
31253 definitions.
31254 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 31255
dd930cc5
SP
31256 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
31257
c19a9f89
DM
312582013-01-15 David S. Miller <davem@davemloft.net>
31259
1aa61767
DM
31260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31261 trunc{,f} to libm-sysdep_routes.
31262 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
31264 file.
31265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
31266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
31267 file.
31268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
31269 file.
31270 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
31271 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
31272 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
31273 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
31274 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
31275 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
31276 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
31277 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
31278
c42d5e98
DM
31279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31280 nearbyint{,f} to libm-sysdep_routes.
31281 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
31283 New file.
31284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
31285 file.
31286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
31287 New file.
31288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
31289 file.
31290 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
31291 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
31292 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
31293 file.
31294 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
31295 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
31296 file.
31297 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
31298 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
31299 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
31300
c19a9f89
DM
31301 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
31302 libc_feholdexcept and libc_fesetenv.
31303
357679d2
MF
313042013-01-15 Mike Frysinger <vapier@gentoo.org>
31305
31306 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
31307
65a82e3d
DM
313082013-01-14 David S. Miller <davem@davemloft.net>
31309
8b954ab9
DM
31310 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
31311 (SPARC_ASM_VIS2_IFUNC): Likewise.
31312 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
31313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
31314 use of 'siam' instruction.
31315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
31316 Likewise.
31317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
31318 Likewise.
31319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
31320 Likewise.
31321 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
31322 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
31323 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
31324 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
31325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
31326 file.
31327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
31328 file.
31329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
31330 file.
31331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
31332 file.
31333 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
31334 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
31335 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
31336 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
31337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
31338 new VIS2 routines.
31339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
31340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
31342 Likewise.
31343 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
31344 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
31345 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
31346 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
31347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
31348 routines to libm-sysdep_routines.
31349 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31350
65a82e3d
DM
31351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31352 fdim/fdimf to libm-sysdep_routines.
31353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
31354 file.
31355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
31356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
31357 file.
31358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
31359 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
31360 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
31361 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
31362 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
31363 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
31364 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
31365
e34ab705
SP
313662013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31367
2a91b573
SP
31368 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
31369 to optimize copies.
31370
1066a534
SP
31371 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
31372 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31373 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31374
e34ab705
SP
31375 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
31376 local variable MPTWO.
31377 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
31378 Likewise.
31379
aba5e596
MF
313802013-01-13 Mike Frysinger <vapier@gentoo.org>
31381
31382 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
31383 GLOB_NOESCAPE.
31384
e557e9e5
MF
313852013-01-13 Mike Frysinger <vapier@gentoo.org>
31386
31387 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
31388
0428cec9
MF
313892013-01-13 Mike Frysinger <vapier@gentoo.org>
31390
31391 * manual/pattern.texi (glob_t): Document gl_flags.
31392 (glob64_t): Likewise.
31393
8794a964
DM
313942013-01-11 David S. Miller <davem@davemloft.net>
31395
66438c3f
RM
31396 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
31397 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
31398 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
31399 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
31400 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
31401 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
31402 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
31403 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
31404 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
31405 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
31406 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
31407 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
31408 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
31409
4ae4244d
DM
31410 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
31411 sparc V9 rather than using V8 code.
31412 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31413 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31414
8794a964
DM
31415 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
31416 Move to...
31417 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
31418 Here.
31419
6270516e
RM
314202013-01-11 Roland McGrath <roland@hack.frob.com>
31421
31422 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
31423 not in the main loop.
31424 * configure: Regenerated.
31425
6a57d931
JM
314262013-01-11 Joseph Myers <joseph@codesourcery.com>
31427
31428 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
31429 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
31430 to just #else.
31431 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
31432 [!__GLIBC_HAVE_LONG_LONG] case.
31433 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
31434 condition to just #else.
31435 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
31436 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
31437 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
31438 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
31439 unconditional.
31440 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
31441 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31442 #elif condition to just #else.
31443 * sysdeps/unix/sysv/linux/sys/sysmacros.h
31444 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
31445 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31446 #elif condition to just #else.
31447
0e8529e9
SE
314482013-01-11 Steve Ellcey <sellcey@mips.com>
31449
31450 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
31451 (EF_MIPS_ARCH_64): Fix value.
31452 (EF_MIPS_ARCH_32R2): New.
31453 (EF_MIPS_ARCH_64R2): New.
31454
740b3dbe
L
314552013-01-11 H.J. Lu <hongjiu.lu@intel.com>
31456
31457 * Makeconfig (+link-pie-before-libc): New.
31458 (+link-pie-after-libc): Likewise.
31459 (+link-pie-tests): Likewise.
31460 (+link-pie): Rewritten.
31461 (link-before-libc): Remove $(config-LDFLAGS).
31462 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
31463 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
31464 (config-LDFLAGS): Renamed to ...
31465 (rtld-LDFLAGS): This.
31466 (rtld-tests-LDFLAGS): New macro.
31467 (link-libc-rpath-link): Likewise.
31468 (link-libc-tests-rpath-link): Likewise.
31469 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
31470 (link-libc): Prepand $(link-libc-rpath-link).
31471 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
31472 (test-program-prefix): New macro.
31473 (test-via-rtld-prefix): Likewise.
31474 (test-program-cmd): Likewise.
31475 (host-test-program-cmd): Likewise.
31476 * Makefile ($(common-objpfx)testrun.sh): Replace
31477 $(run-program-prefix) with $(test-program-prefix).
31478 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
31479 $(rtld-LDFLAGS).
31480 ($(common-objpfx)shlib.lds): Likewise.
31481 (build-module-helper): Likewise.
31482 ($(common-objpfx)format.lds): Likewise.
31483 * Rules (binaries-pie-tests): New.
31484 (binaries-pie-notests): Likewise.
31485 (binaries-pie): Rewritten.
31486 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
31487 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
31488 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
31489 (make-test-out): Replace $(host-built-program-cmd) with
31490 $(host-test-program-cmd).
31491 * config.make.in (build-hardcoded-path-in-tests): New variable.
31492 * configure.in (--enable-hardcoded-path-in-tests): New configure
31493 option.
31494 (hardcoded_path_in_tests): New AC_SUBST.
31495 * configure: Regenerated.
31496 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
31497 $(built-program-cmd) with $(test-program-cmd).
31498 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
31499 (test_program_cmd): This.
31500 * elf/Makefile ($(objpfx)order.out): Run test with
31501 $(test-program-prefix).
31502 ($(objpfx)order2.out): Likewise.
31503 ($(objpfx)tst-initorder.out): Likewise.
31504 ($(objpfx)tst-initorder2.out): Likewise.
31505 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
31506 $(test-program-cmd).
31507 ($(objpfx)tst-array1-static.out): Likewise.
31508 ($(objpfx)tst-array2.out): Likewise.
31509 ($(objpfx)tst-array3.out): Likewise.
31510 ($(objpfx)tst-array4.out): Likewise.
31511 ($(objpfx)tst-array5.out): Likewise.
31512 ($(objpfx)tst-array5-static.out): Likewise.
31513 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
31514 $(test-program-cmd).
31515 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
31516 $(run-program-prefix) with $(test-program-prefix).
31517 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
31518 (test_program_prefix): This.
31519 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
31520 $(run-program-prefix) with $(test-program-prefix).
31521 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
31522 (test_program_prefix): This.
31523 * iconvdata/tst-tables.sh: Likewise.
31524 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
31525 $(run-program-prefix) with $(test-program-prefix).
31526 ($(objpfx)tst-translit.out): Likewise.
31527 ($(objpfx)tst-gettext2.out): Likewise.
31528 ($(objpfx)tst-gettext4.out): Likewise.
31529 ($(objpfx)tst-gettext6.out): Likewise.
31530 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
31531 (test_program_prefix): This.
31532 * intl/tst-gettext2.sh: Likewise.
31533 * intl/tst-gettext4.sh Likewise.
31534 * intl/tst-gettext6.sh: Likewise.
31535 * intl/tst-translit.sh: Likewise.
31536 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
31537 with $(test-program-cmd).
31538 * libio/Makefile ($(objpfx)test-freopen.out): Replace
31539 $(run-program-prefix) with $(test-program-prefix).
31540 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
31541 (test_program_prefix): This.
31542 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
31543 $(run-program-prefix) with $(test-program-prefix).
31544 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
31545 (test_program_prefix): This.
31546 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
31547 * posix/Makefile ($(objpfx)globtest.out): Replace
31548 $(run-via-rtld-prefix) and $(test-wrapper) with
31549 $(test-program-prefix) and $(test-via-rtld-prefix).
31550 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
31551 $(test-program-prefix).
31552 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
31553 $(host-test-program-cmd).
31554 (tst-spawn-ARGS): Likewise.
31555 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
31556 $(test-program-prefix).
31557 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
31558 (test_via_rtld_prefix): This.
31559 (test_wrapper): Renamed to ...
31560 (test_program_prefix): This.
31561 (run_program_prefix): Replaced by test_program_prefix.
31562 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
31563 (test_program_prefix): This.
31564 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
31565 with $(host-test-program-cmd).
31566 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
31567 $(run-program-prefix) with $(test-program-prefix).
31568 ($(objpfx)tst-printf.out): Likewise.
31569 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
31570 $(test-program-cmd).
31571 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
31572 (test_program_prefix): This.
31573 * stdio-common/tst-unbputc.sh: Likewise.
31574 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
31575 $(run-program-prefix) with $(test-program-prefix).
31576 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
31577 (test_program_prefix): This.
31578 * string/Makefile ($(objpfx)tst-svc.out): Replace
31579 $(built-program-cmd) with $(test-program-cmd).
31580
c6fe55cf
AJ
315812013-01-11 Andreas Jaeger <aj@suse.de>
31582
31583 [BZ #15003]
31584 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
31585 value. Sync with Linux 3.7.
31586
9e6919c8
DM
315872013-01-10 David S. Miller <davem@davemloft.net>
31588
31589 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
31590 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31591 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31592
1c9f1a02
RM
315932013-01-10 Roland McGrath <roland@hack.frob.com>
31594
31595 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
31596 never set.
31597 * configure: Regenerated.
31598
b9de2dde
DM
315992013-01-10 David S. Miller <davem@davemloft.net>
31600
31601 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
31602 sparc V9 rather than using V8 code.
31603 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31604 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31605
e7f68ef4
RM
316062013-01-10 Roland McGrath <roland@hack.frob.com>
31607
31608 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
31609 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
31610 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
31611 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
31612 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
31613 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
31614 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
31615 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
31616 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
31617 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
31618 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
31619 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
31620 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
31621 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
31622 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
31623 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
31624 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
31625 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
31626 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
31627 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
31628 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
31629 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
31630 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
31631 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
31632 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
31633 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
31634 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
31635
5a47cc9c
DM
316362013-01-10 David S. Miller <davem@davemloft.net>
31637
31638 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31639
4cf8f209
L
316402013-01-10 H.J. Lu <hongjiu.lu@intel.com>
31641
31642 * posix/Makefile (tests-static): New variable.
31643 (tests): Add $(tests-static).
31644 (tst-exec-static-ARGS): New variable.
31645 (tst-spawn-static-ARGS): Likewise.
31646 * posix/tst-exec-static.c: New file.
31647 * posix/tst-spawn-static.c: Likewise.
31648 * posix/tst-exec.c: Support run directly.
31649 * posix/tst-spawn.c: Likewise.
31650
fed0faa1
JM
316512013-01-10 Joseph Myers <joseph@codesourcery.com>
31652
828beb13
JM
31653 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
31654 long.
31655 * math/bits/mathcalls.h (llrint): Likewise.
31656 (llround): Likewise.
31657 * stdlib/stdlib.h (struct drand48_data): Likewise.
31658 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
31659 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
31660 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
31661 Likewise.
31662 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
31663 Likewise.
31664 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
31665 (elf_greg_t): Likewise.
31666 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
31667 (__jmp_buf): Likewise.
31668 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
31669 definitions.
31670 (llrint): Likewise, for all definitions.
31671 (llrintl): Likewise.
31672
fed0faa1
JM
31673 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
31674 Remove [__GNUC__] condition.
31675 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
31676 condition to just [__USE_ISOC99].
31677 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
31678
1a20cb20
L
316792013-01-10 H.J. Lu <hongjiu.lu@intel.com>
31680
31681 [BZ #14200]
31682 * sysdeps/unix/sysv/linux/x86/bits/environments.h
31683 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
31684 defined.
31685 (_POSIX_V6_ILP32_OFF32): Likewise.
31686 (_XBS5_ILP32_OFF32): Likewise.
31687 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
31688 (__ILP32_OFFBIG_LDFLAGS): Likewise.
31689
751b85f7
SP
316902013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31691
7490eb81
SP
31692 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
31693
751b85f7
SP
31694 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
31695 doubles __mpexp_twomm1. Adjust usage.
31696 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
31697 Remove.
31698
988197f0
AS
316992013-01-10 Andreas Schwab <schwab@suse.de>
31700
31701 [BZ #14964]
31702 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
31703 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
31704
e83d7298
DM
317052013-01-09 David S. Miller <davem@davemloft.net>
31706
034ed64b 31707 [BZ #15003]
57f41c40
AS
31708 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
31709 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
31710 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
31711 (TCP_FASTOPEN): Define.
e83d7298
DM
31712 (tcp_repair_opt): New structure.
31713 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
31714 enum values.
57f41c40
AS
31715 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
31716 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
31717 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
31718 (tcp_cookie_transactions): New structure.
31719
d5e0b9bd
AB
317202013-01-09 Anton Blanchard <anton@samba.org>
31721
31722 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
31723 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
31724 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
31725 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
31726
0c07e3ea
JM
317272013-01-09 Joseph Myers <joseph@codesourcery.com>
31728
31729 * include/features.h (__USE_ANSI): Remove.
31730
232f7002
RM
317312013-01-09 Roland McGrath <roland@hack.frob.com>
31732
ad98e30c
RM
31733 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
31734
232f7002
RM
31735 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
31736
950c99ca
SP
317372013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
31738
b5792741
SP
31739 * sysdeps/s390/fpu/libm-test-ulps: Update.
31740
47cf2278
SP
31741 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31742
950c99ca
SP
31743 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
31744 (__acr): Likewise.
31745 (__cpy): Likewise.
31746 (norm): Likewise.
31747 (denorm): Likewise.
31748 (__mp_dbl): Likewise.
31749 (__dbl_mp): Likewise.
31750 (add_magnitudes): Likewise.
31751 (sub_magnitudes): Likewise.
31752 (__add): Likewise.
31753 (__sub): Likewise.
31754 (__mul): Likewise.
31755 (__inv): Likewise.
31756 (__dvd): Likewise.
31757 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
31758 (__acr): Likewise.
31759 (__cpy): Likewise.
31760 (norm): Likewise.
31761 (denorm): Likewise.
31762 (__mp_dbl): Likewise.
31763 (__dbl_mp): Likewise.
31764 (add_magnitudes): Likewise.
31765 (sub_magnitudes): Likewise.
31766 (__add): Likewise.
31767 (__sub): Likewise.
31768 (__mul): Likewise.
31769 (__inv): Likewise.
31770 (__dvd): Likewise.
31771 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
31772 (__acr): Likewise.
31773 (__cpy): Likewise.
31774 (norm): Likewise.
31775 (denorm): Likewise.
31776 (__mp_dbl): Likewise.
31777 (__dbl_mp): Likewise.
31778 (add_magnitudes): Likewise.
31779 (sub_magnitudes): Likewise.
31780 (__add): Likewise.
31781 (__sub): Likewise.
31782 (__mul): Likewise.
31783 (__inv): Likewise.
31784 (__dvd): Likewise.
31785
eede9df9
JM
317862013-01-08 Joseph Myers <joseph@codesourcery.com>
31787
31788 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
31789 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
31790 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
31791 2 && __USE_EXTERN_INLINES]: Likewise.
31792
c40ea3d9
AJ
317932013-01-08 Andreas Jaeger <aj@suse.de>
31794
31795 [BZ# 14985]
31796 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
31797 Remove.
31798 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31799 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31800
2ccdea26
AB
318012013-01-07 Anton Blanchard <anton@samba.org>
31802
31803 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
31804 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
31805 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
31806 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
31807 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
31808 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31809 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
31810 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
31811 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31812 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31813 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31814 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31815 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31816 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31817 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
31818 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31819 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31820 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31821 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
31822 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
31823 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
31824 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
31825 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31826 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
31827 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
31828 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
31829 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31830 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31831 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
31832 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31833 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
31834 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31835 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31836 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31837 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31838 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31839 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31840 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31841 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
31842 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
31843 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
31844 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31845 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31846
a9708fed
JM
318472013-01-07 Joseph Myers <joseph@codesourcery.com>
31848
375607b9
JM
31849 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
31850 (__MALLOC_PMT): Likewise.
31851 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
31852 [__GNUC__], only on [_LIBC].
31853 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31854 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
31855 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31856 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
31857 forward declaration.
31858 (realloc_hook_ini): Likewise.
31859 (memalign_hook_ini): Likewise.
31860 (__libc_memalign): Do not use __MALLOC_PMT in variable
31861 declaration.
31862 (__libc_valloc): Likewise.
31863 (__libc_pvalloc): Likewise.
31864 (__libc_calloc): Likewise.
31865 (__posix_memalign): Likewise.
31866
a9708fed
JM
31867 [BZ #14996]
31868 * math/s_casinh.c: Include <float.h>.
31869 (__casinh): Do not do computation with squaring and square root
31870 for large arguments.
31871 * math/s_casinhf.c: Include <float.h>.
31872 (__casinhf): Do not do computation with squaring and square root
31873 for large arguments.
31874 * math/s_casinhl.c: Include <float.h>.
31875 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
31876 (__casinhl): Do not do computation with squaring and square root
31877 for large arguments.
31878 * math/libm-test.inc (casin_test): Add more tests.
31879 (casinh_test): Likewise.
31880 * sysdeps/i386/fpu/libm-test-ulps: Update.
31881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31882
afec409a
L
318832013-01-04 H.J. Lu <hongjiu.lu@intel.com>
31884
31885 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
31886 (__x86_64_raw_data_cache_size): Likewise.
31887 (__x86_64_data_cache_size_half): Likewise.
31888 (__x86_64_raw_data_cache_size_half): Likewise.
31889 (__x86_64_shared_cache_size): Likewise.
31890 (__x86_64_raw_shared_cache_size): Likewise.
31891 (__x86_64_shared_cache_size_half): Likewise.
31892 (__x86_64_raw_shared_cache_size_half): Likewise.
31893 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
31894 to ...
31895 (__x86_data_cache_size): This.
31896 (__x86_64_raw_data_cache_size): Renamed to ...
31897 (__x86_raw_data_cache_size): This.
31898 (__x86_64_data_cache_size_half): Renamed to ...
31899 (__x86_data_cache_size_half): This.
31900 (__x86_64_raw_data_cache_size_half): Renamed to ...
31901 (__x86_raw_data_cache_size_half): This.
31902 (__x86_64_shared_cache_size): Renamed to ...
31903 (__x86_shared_cache_size): This.
31904 (__x86_64_raw_shared_cache_size): Renamed to ...
31905 (__x86_raw_shared_cache_size): This.
31906 (__x86_64_shared_cache_size_half): Renamed to ...
31907 (__x86_shared_cache_size_half): This.
31908 (__x86_64_raw_shared_cache_size_half): Renamed to ...
31909 (__x86_raw_shared_cache_size_half): This.
31910 * sysdeps/x86_64/memcpy.S: Updated.
31911 * sysdeps/x86_64/memset.S: Likewise.
31912 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
31913 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31914 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31915
0b3986d0
DM
319162013-01-04 David S. Miller <davem@davemloft.net>
31917
31918 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31919
e47686e9
AS
319202013-01-04 Andreas Schwab <schwab@linux-m68k.org>
31921
d643bac1
AS
31922 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
31923 1 to avoid redefinition warning.
31924 (__USE_GNU): Don't define.
31925 (init_signaling_nan): Protoize.
31926
e47686e9
AS
31927 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31928
b18decba
SP
319292013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31930
fffb407f
SP
31931 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
31932 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
31933 (__cpymn): Likewise.
31934 (norm): Remove commented code.
31935 (denorm): Likewise.
31936 (__mp_dbl): Likewise.
31937 (__inv): Likewise.
31938 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
31939 (__cpymn): Likewise.
31940 (norm): Remove commented code.
31941 (denorm): Likewise.
31942 (__mp_dbl): Likewise.
31943 (__inv): Likewise.
31944
b18decba
SP
31945 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
31946 mp_no value for 1.0 and 2.0.
31947 (norm): Use RADIXI instead of radixi.d.
31948 (denorm): Likewise.
31949 (__mul): Use 0.0 instead of zero.d.
31950 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
31951 mp_no value for 1.0 and 2.0.
31952 (norm): Use RADIXI instead of radixi.d.
31953 (denorm): Likewise.
31954 (__mul): Use 0.0 instead of zero.d.
31955
cdc1c96f
JM
319562013-01-04 Joseph Myers <joseph@codesourcery.com>
31957
31958 [BZ #14994]
31959 * math/s_casinh.c (__casinh): Reduce finite argument to first
31960 quadrant then set signs of results at the end.
31961 * math/s_casinhf.c (__casinhf): Likewise.
31962 * math/s_casinhl.c (__casinhl): Likewise.
31963 * math/libm-test.inc (casin_test): Add more tests.
31964 (casinh_test): Likewise.
31965 * sysdeps/i386/fpu/libm-test-ulps: Update.
31966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31967
302913e1
SP
319682013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31969
6420d207
SP
31970 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
31971
a9e48ab4
SP
31972 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
31973
b7837264
SP
31974 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
31975 declarations.
31976 (denorm): Likewise.
31977 (__mp_dbl): Likewise.
31978 (__inv): Likewise.
31979
f8af25d2
SP
31980 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
31981 and adjust the header comment.
31982
302913e1
SP
31983 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
31984 variable name from declaration.
31985
5d7dd1ca
L
319862013-01-03 H.J. Lu <hongjiu.lu@intel.com>
31987
31988 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31989 Initialize COMMON_CPUID_INDEX_7 element.
31990 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
31991 (CPUID_RTM): Likewise.
31992 (HAS_RTM): Likewise.
31993 (COMMON_CPUID_INDEX_7): New enum.
31994
2f5f40f4
AS
319952013-01-03 Andreas Schwab <schwab@linux-m68k.org>
31996
31997 [BZ #14981]
31998 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
31999 size is zero, record memory as freed.
32000
4056f4a0
AJ
320012013-01-03 Andreas Jaeger <aj@suse.de>
32002
32003 * po/ia.po: Add new Interlingua translation.
32004
ab15736f 320052012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
32006
32007 * locale/programs/localedef.c: Fix description of '--posix' flag.
32008
568035b7
JM
320092013-01-02 Joseph Myers <joseph@codesourcery.com>
32010
e6898b8d
JM
32011 * NEWS: Update dates in second copyright notice.
32012 * README: Update copyright dates in example.
32013 * manual/libc.texinfo: Update copyright dates.
32014 * scripts/test-installation.pl: Update copyright date in --version
32015 output.
32016
0e2f9562
JM
32017 * hurd/ctty-input.c: Fix copyright notice formatting.
32018 * hurd/ctty-output.c: Likewise.
32019 * hurd/dtable.c: Likewise.
32020 * hurd/hurd-raise.c: Likewise.
32021 * hurd/hurdprio.c: Likewise.
32022 * hurd/msgportdemux.c: Likewise.
32023 * misc/sys/file.h: Likewise.
32024 * misc/sys/ioctl.h: Likewise.
32025 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
32026 * sysdeps/mach/hurd/chdir.c: Likewise.
32027 * sysdeps/mach/hurd/fchdir.c: Likewise.
32028 * sysdeps/mach/hurd/rename.c: Likewise.
32029 * sysdeps/mach/hurd/rmdir.c: Likewise.
32030 * sysdeps/mach/hurd/seekdir.c: Likewise.
32031 * sysdeps/mach/hurd/setsid.c: Likewise.
32032 * sysdeps/posix/wait3.c: Likewise.
32033
568035b7
JM
32034 * All files with FSF copyright notices: Update copyright dates
32035 using scripts/update-copyrights.
32036 * intl/plural.c: Regenerated.
32037 * locale/programs/charmap-kw.h: Likewise.
32038 * locale/programs/locfile-kw.h: Likewise.
32039
da08f647
SP
320402013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
32041
0f5477af
SP
32042 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
32043 four values.
32044
44e0d4c2
SP
32045 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
32046 calculation loop and add branch prediction.
32047
4d55b4e5
SP
32048 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
32049 check access beyond bounds of m1np.
32050
da08f647
SP
32051 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
32052 MPTWO.
32053 (__inv): Remove local variable MPTWO to use the global
32054 constant.
32055 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
32056 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
32057 variable MPTWO.
32058 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
32059 MP3HALFS static const.
32060
8e051029
DM
320612013-01-01 David S. Miller <davem@davemloft.net>
32062
32063 * po/ca.po: Update from translation team.
32064
f4cf5f2d
JM
320652013-01-01 Joseph Myers <joseph@codesourcery.com>
32066
32067 * scripts/update-copyrights: New file.
32068 * Makeconfig: Reformat copyright notice.
32069 * ctype/ctype.h: Likewise.
32070 * debug/swprintf_chk.c: Likewise.
32071 * elf/dl-cache.c: Likewise.
32072 * elf/dl-debug.c: Likewise.
32073 * elf/dl-object.c: Likewise.
32074 * grp/initgroups.c: Likewise.
32075 * hurd/Makefile: Likewise.
32076 * hurd/hurd/signal.h: Likewise.
32077 * hurd/hurdfault.c: Likewise.
32078 * hurd/hurdioctl.c: Likewise.
32079 * hurd/hurdlookup.c: Likewise.
32080 * hurd/intr-msg.c: Likewise.
32081 * iconv/gconv_open.c: Likewise.
32082 * libio/swprintf.c: Likewise.
32083 * locale/lc-ctype.c: Likewise.
32084 * locale/nl_langinfo.c: Likewise.
32085 * mach/Machrules: Likewise.
32086 * mach/Makefile: Likewise.
32087 * malloc/obstack.h: Likewise.
32088 * manual/Makefile: Likewise.
32089 * manual/tsort.awk: Likewise.
32090 * misc/bits/stab.def: Likewise.
32091 * nis/nis_print_group_entry.c: Likewise.
32092 * nis/nis_table.c: Likewise.
32093 * nis/nss_compat/compat-pwd.c: Likewise.
32094 * nis/nss_compat/compat-spwd.c: Likewise.
32095 * po/Makefile: Likewise.
32096 * posix/fnmatch.c: Likewise.
32097 * posix/regex.h: Likewise.
32098 * resolv/Makefile: Likewise.
32099 * resolv/nss_dns/dns-network.c: Likewise.
32100 * resolv/res_hconf.c: Likewise.
32101 * scripts/gen-sorted.awk: Likewise.
32102 * soft-fp/soft-fp.h: Likewise.
32103 * stdio-common/printf.h: Likewise.
32104 * stdlib/monetary.h: Likewise.
32105 * stdlib/random.c: Likewise.
32106 * stdlib/random_r.c: Likewise.
32107 * sysdeps/generic/Makefile: Likewise.
32108 * sysdeps/gnu/Makefile: Likewise.
32109 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32110 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32111 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32112 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32113 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32114 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32115 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32116 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32117 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32118 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32119 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32120 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32121 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32122 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32123 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
32124 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32125 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32126 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32127 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32128 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32129 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32130 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32131 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32132 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
32133 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
32134 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
32135 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
32136 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
32137 * sysdeps/mach/hurd/errnos.awk: Likewise.
32138 * sysdeps/mach/hurd/fork.c: Likewise.
32139 * sysdeps/mach/hurd/getcwd.c: Likewise.
32140 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
32141 * sysdeps/mach/hurd/mmap.c: Likewise.
32142 * sysdeps/mach/hurd/utimes.c: Likewise.
32143 * sysdeps/mach/hurd/xmknod.c: Likewise.
32144 * sysdeps/posix/profil.c: Likewise.
32145 * sysdeps/posix/readdir_r.c: Likewise.
32146 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32147 * sysdeps/powerpc/bits/setjmp.h: Likewise.
32148 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
32149 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32150 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32151 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
32152 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32153 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32154 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32155 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
32156 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32157 * sysdeps/pthread/lio_listio.c: Likewise.
32158 * sysdeps/sparc/dl-procinfo.h: Likewise.
32159 * sysdeps/unix/i386/sysdep.S: Likewise.
32160 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
32161 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
32162 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
32163 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
32164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32165 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
32166 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
32167 * sysdeps/unix/sysv/linux/speed.c: Likewise.
32168 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
32169 * sysdeps/wordsize-32/divdi3.c: Likewise.
32170 * time/sys/time.h: Likewise.
32171 * wcsmbs/Makefile: Likewise.
32172
0549fbba
DM
321732013-01-01 David S. Miller <davem@davemloft.net>
32174
a141f1a7
DM
32175 * po/fr.po: Update from translation team.
32176
0549fbba
DM
32177 * catgets/gencat.c: Update copyright year.
32178 * csu/version.c: Likewise.
32179 * debug/catchsegv.sh: Likewise.
32180 * debug/pcprofiledump.c: Likewise.
32181 * debug/xtrace.sh: Likewise.
32182 * elf/ldconfig.c: Likewise.
32183 * elf/ldd.bash.in: Likewise.
32184 * elf/pldd.c: Likewise.
32185 * elf/sotruss.ksh: Likewise.
32186 * elf/sprof.c: Likewise.
32187 * iconv/iconv_prog.c: Likewise.
32188 * iconv/iconvconfig.c: Likewise.
32189 * locale/programs/locale.c: Likewise.
32190 * locale/programs/localedef.c: Likewise.
32191 * login/programs/pt_chown.c: Likewise.
32192 * malloc/memusage.sh: Likewise.
32193 * malloc/memusagestat.c: Likewise.
32194 * malloc/mtrace.pl: Likewise.
32195 * nscd/nscd.c: Likewise.
32196 * nss/getent.c: Likewise.
32197 * nss/makedb.c: Likewise.
32198 * posix/getconf.c: Likewise.
32199
18ea052c
SP
322002012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32201
32202 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
32203 numbers.
32204
9c89fca6
MF
322052012-12-30 Mike Frysinger <vapier@gentoo.org>
32206
32207 * math/bits/mathcalls.h (modf): Use __nonnull.
32208
085ec079
SP
322092012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
32210
32211 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
32212 (split): Use macro CN instead of the bare value.
32213 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
32214 could be used.
32215 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
32216 instead of the bare value.
32217 (power1): Likewise.
32218
6d9f97e1
SP
322192012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32220
d63f73be
SP
32221 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
32222 __ATAN_TWOM.
32223 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32224
6d9f97e1
SP
32225 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
32226 their values.
32227 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32228 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32229 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
32230 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
32231
4c4febf5
AJ
322322012-12-28 Andreas Jaeger <aj@suse.de>
32233
af5843ef
AJ
32234 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
32235 values are from Linux 3.7.
32236
4c4febf5
AJ
32237 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
32238 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
32239
99136f82
SP
322402012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32241
2f216c3c 32242 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
32243 TRUE case.
32244
99136f82
SP
32245 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
32246 (norm): Likewise.
32247 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
32248 variables with preprocessor constants.
32249 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32250 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32251 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32252
7fffbdff
BH
322532012-12-27 Bruno Haible <bruno@clisp.org>
32254
32255 [BZ #14317]
32256 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
32257 only if needed.
32258
b76eb5f0
SP
322592012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32260
31a7fe5c
SP
32261 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
32262 and use variable directly.
32263 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
32264
b76eb5f0
SP
32265 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
32266 MPONE.
32267 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
32268 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
32269 variable MPONE.
32270 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32271 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32272 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
32273 include directive. Remove local variable MPONE.
32274 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
32275 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
32276 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32277
2c8bfe7d
DM
322782012-12-25 David S. Miller <davem@davemloft.net>
32279
32280 * version.h (RELEASE): Set to "development".
32281 (VERSION): Set to "2.17.90".
32282 * NEWS: Add 2.18 section.
32283
147d03b0
DM
322842012-12-21 David S. Miller <davem@davemloft.net>
32285
32286 * po/hr.po: Update from translation team.
32287
a8ebb2b9
AK
322882012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32289
32290 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
32291
95b4f1b6
SE
322922012-12-19 Steve Ellcey <sellcey@mips.com>
32293
b2d94007 32294 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 32295
cedb2a90
MS
322962012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32297
32298 * manual/contrib.texi (Contributors): Spelling correction.
32299
bbf527d6
DM
323002012-12-15 David S. Miller <davem@davemloft.net>
32301
32302 * po/ru.po: Update from translation team.
32303
bc38c906
DM
323042012-12-13 David S. Miller <davem@davemloft.net>
32305
85429b1a
DM
32306 * NEWS: Mention IFUNC testsuite enhancements.
32307
d283e353
DM
32308 * po/pl.po: Update from translation team.
32309 * po/bg.po: Likewise.
32310
bc38c906
DM
32311 * manual/contrib.texi (Contributors): Update entries for Hongjiu
32312 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
32313
a181b0d7
DM
323142012-12-11 David S. Miller <davem@davemloft.net>
32315
4641d57e
DM
32316 * po/sv.po: Update from translation team.
32317
f7bc6495
DM
32318 * po/vi.po: Update from translation team.
32319
6fc9048f
DM
32320 * po/cs.po: Update from translation team.
32321
a181b0d7
DM
32322 * po/de.po: Update from translation team.
32323 * po/eo.po: Likewise.
32324 * po/nl.po: Likewise.
32325
f70bfe80
SP
323262012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
32327
3c8b4190
SP
32328 [BZ #14246]
32329 * manual/argp.texi (Argp Helper Functions): Move node to follow
32330 Argp Parsing State.
32331
f70bfe80
SP
32332 [BZ #14872]
32333 * manual/conf.texi (Limits on File System Capacity): Mention if
32334 terminating null is included in the max size.
32335
188f0adf
AJ
323362012-12-10 Andreas Jaeger <aj@suse.de>
32337
32338 * po/cs.po: Update from translation team.
32339
56e7d3ad
SP
323402012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
32341
32342 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
32343 void pointer and cast to uintptr_t.
32344 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
32345 path.
32346 * sysdeps/s390/s390-64/memcpy.S: Likewise.
32347 * sysdeps/s390/s390-64/memset.S: Likewise.
32348
76f2d2ea 323492012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
32350
32351 [BZ #14833]
32352 * menual/message.texi (Message Translation): Fix typos.
32353 (Helper programs for gettext): Likewise.
32354
67cbf9a2
AS
323552012-12-07 Andreas Schwab <schwab@linux-m68k.org>
32356
32357 [BZ #14898]
32358 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
32359 Change to -1.
32360
682d0e9a
DM
323612012-12-07 David S. Miller <davem@davemloft.net>
32362
32363 * po/libc.pot: Update.
32364
573cd484
RH
323652012-12-07 Richard Henderson <rth@redhat.com>
32366
7e9da188 32367 [BZ #10114]
573cd484
RH
32368 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
32369 normal/normal case to before the switch.
32370 (_FP_DIV): Likewise.
32371
e933a943
MF
323722012-12-06 Carlos O'Donell <carlos@systemhalted.org>
32373 Mike Frysinger <vapier@gentoo.org>
32374
32375 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
32376 check for __NR_fadvise64_64.
32377
82123268
CM
323782012-12-06 Chris Metcalf <cmetcalf@tilera.com>
32379
32380 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
32381 0, not just to plain "0" as a statement.
32382 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
32383 with cw.
32384
d9814526
JM
323852012-12-06 Joseph Myers <joseph@codesourcery.com>
32386
32387 * NEWS: Use sourceware.org in Bugzilla URL.
32388
7728c574
SP
323892012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
32390
f16946dd
SP
32391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
32392 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
32393
5704bbcb
SP
32394 * stdio-common/tst-put-error.c (do_test): Add newline to the
32395 padded test to ensure flush.
32396
17aa0516
JL
323972012-12-05 Jeff Law <law@redhat.com>
32398
32399 * sunrpc/etc.rpc (fedfs_admin): Add entry.
32400
363313b5
JM
324012012-12-05 Joseph Myers <joseph@codesourcery.com>
32402
effbd42a
JM
32403 * README: Don't refer to ports add-on as distributed separately.
32404 Mention AArch64 in list of systems supported in the ports add-on.
32405
87600365
JM
32406 * LICENSES: Add more non-FSF copyright and license notices.
32407
a0d7066a
JM
32408 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
32409 ((unused)).
32410
66ca5a5b
JM
32411 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
32412
363313b5
JM
32413 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
32414 10000 as width of padded output.
32415
b37984ad
JM
324162012-12-04 Joseph Myers <joseph@codesourcery.com>
32417
9003570a
JM
32418 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
32419
b37984ad
JM
32420 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
32421 variable LX with __attribute__ ((unused)).
32422 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
32423 Likewise.
32424 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
32425 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32426 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
32427 with __attribute__ ((unused)).
32428
c8df52ec
DM
324292012-12-04 David S. Miller <davem@abraco.davemloft.net>
32430
32431 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
32432
b3b099af
JM
324332012-12-04 Joseph Myers <joseph@codesourcery.com>
32434
c33aa6e3
JM
32435 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
32436 (CFLAGS-nldbl-acos.c): New variable.
32437 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
32438 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
32439 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
32440 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
32441 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
32442 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
32443 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
32444 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
32445 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
32446 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
32447 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
32448 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
32449 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
32450 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
32451 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
32452 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
32453 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
32454 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
32455 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
32456 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
32457 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
32458 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
32459 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
32460 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
32461 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
32462 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
32463 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
32464 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
32465 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
32466 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
32467 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
32468 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
32469 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
32470 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
32471 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
32472 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
32473 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
32474 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
32475 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
32476 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
32477 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
32478 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
32479 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
32480 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
32481 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
32482 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
32483 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
32484 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
32485 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
32486 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
32487 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
32488 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
32489 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
32490 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
32491 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
32492 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
32493 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
32494 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
32495 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
32496 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
32497 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
32498 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
32499 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
32500 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
32501 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
32502 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
32503 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
32504 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
32505 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
32506 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
32507 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
32508 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
32509 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
32510 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
32511 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
32512 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
32513 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
32514 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
32515 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
32516 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
32517 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
32518 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
32519 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
32520 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
32521 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
32522 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
32523 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
32524 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
32525 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
32526 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
32527 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
32528 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
32529 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
32530 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
32531 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
32532 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
32533 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
32534
20f0018d
JM
32535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32536 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
32537
b3b099af
JM
32538 [BZ #14914]
32539 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
32540 whole low double instead of just low 47 bits when splitting values
32541 into two parts.
32542
029264d1
AM
325432012-12-03 Allan McRae <allan@archlinux.org>
32544
32545 * manual/stdio.texi (Predefined Printf Handlers): Remove
32546 @hsep and @vsep usage.
32547
c9d6789e
MF
325482012-12-03 Mike Frysinger <vapier@gentoo.org>
32549
32550 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
32551 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
32552
4b7634a5
JL
325532012-12-03 Jeff Law <law@redhat.com>
32554
32555 * time/sys/time.h (settimeofday): Do not mark TV argument
32556 as __nonnull.
32557
eb6cbd24
MF
325582012-12-01 Mike Frysinger <vapier@gentoo.org>
32559
32560 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
32561 when currently writing and seek to current position when not.
32562 * libio/Makefile (tests): Remove bug-fclose1.
32563 * libio/bug-fclose1.c: Delete.
32564
f638872a
JM
325652012-12-01 Joseph Myers <joseph@codesourcery.com>
32566
32567 * manual/arith.texi (feenableexcept): Fix typo.
32568 (fedisableexcept): Likewise.
32569
48085d14
RM
325702012-11-30 Roland McGrath <roland@hack.frob.com>
32571
32572 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
32573 second, differently-typed declaration, rather than a cast.
32574
1a538b9f
SP
325752012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32576
32577 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
32578 * include/rpc/svc.h: ... here.
32579
d07f2ff1 325802012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
32581
32582 [BZ #13013]
32583 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
32584 depending n and resplen2 to catch cases where answer
32585 equals answerp2.
32586
c93ec1f0
CD
325872012-11-29 Carlos O'Donell <carlos@systemhalted.org>
32588
32589 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
32590 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
32591
37db69de
MF
325922012-11-29 Mike Frysinger <vapier@gentoo.org>
32593
32594 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
32595
e10c4e4f
RM
325962012-11-29 Roland McGrath <roland@hack.frob.com>
32597
32598 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
32599
2af1b328
JL
326002012-11-28 Jeff Law <law@redhat.com>
32601
32602 [BZ #13761]
32603 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
32604 dataset_temporary. Track alloca usage into alloca_used.
32605 If dataset is large allocate and release it via malloc/free.
32606
111db5b1
FW
326072012-06-04 Florian Weimer <fweimer@redhat.com>
32608
f06cc227 32609 [BZ #14197]
111db5b1
FW
32610 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
32611
dd694abd
DM
326122012-11-28 David S. Miller <davem@davemloft.net>
32613
32614 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32615
9984dd01
JM
326162012-11-28 Joseph Myers <joseph@codesourcery.com>
32617
32618 [BZ #14803]
32619 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
32620 of pi/2 rounded to nearest to 64 bits.
32621 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
32622 nearest to 64 bits.
32623 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
32624 bits.
32625
14bc93a9
JL
326262012-11-28 Jeff Law <law@redhat.com>
32627 Martin Osvald <mosvald@redhat.com>
32628
32629 [BZ #14889]
32630 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
32631 * sunrpc/svc.c: Include time.h.
32632 (__svc_accept_failed): New function.
32633 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
32634 any reason other than EINTR, call __svc_accept_failed.
32635 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
32636 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
32637
e3c6aa3a
AS
326382012-11-28 Andreas Schwab <schwab@suse.de>
32639
32640 * scripts/abilist.awk: Also handle indirect functions in .opd
32641 section.
32642
1bead169
JM
326432012-11-28 Joseph Myers <joseph@codesourcery.com>
32644
32645 [BZ #13881]
32646 * sysdeps/x86/fpu/powl_helper.c: New file.
32647 * sysdeps/x86/fpu/Makefile: Likewise.
32648 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
32649 (p3): New object.
32650 (__ieee754_powl): Use __powl_helper for finite arguments except
32651 integer exponents below 8.
32652 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
32653 (p3): New object.
32654 (__ieee754_powl): Use __powl_helper for finite arguments except
32655 integer exponents below 8.
32656 * math/libm-test.inc (pow_test): Add more tests and enable some
32657 previously disabled tests.
32658 * sysdeps/i386/fpu/libm-test-ulps: Update.
32659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32660
0817d63d
SP
326612012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32662 Carlos O'Donell <carlos_odonell@mentor.com>
32663
32664 * nss/makedb.c (is_prime): Assert that input is odd and greater
32665 than 4. Note that fact in a comment too.
32666 (next_prime): Add 4 to input.
32667
de2fd463
SP
326682012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32669
32670 [BZ #11741]
32671 * libio/Makefile (tests): Add test case tst-fwrite-error.
32672 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
32673 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
32674 * libio/tst-fwrite-error.c: New test case.
32675
c515fb51
L
326762012-11-26 H.J. Lu <hongjiu.lu@intel.com>
32677
32678 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
32679 before casting to void *.
32680 * include/libc-internal.h (__pointer_type): New macro.
32681 (__integer_if_pointer_type_sub): Likewise.
32682 (__integer_if_pointer_type): Likewise.
32683 (cast_to_integer): Likewise.
32684 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
32685 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
32686 before casting to atomic64_t.
32687 (atomic_exchange_acq): Likewise.
32688 (__arch_exchange_and_add_body): Likewise.
32689 (__arch_add_body): Likewise.
32690 (atomic_add_negative): Likewise.
32691 (atomic_add_zero): Likewise.
32692
4cf77aa9
JM
326932012-11-26 Joseph Myers <joseph@codesourcery.com>
32694
32695 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
32696 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
32697 (add_fdes): Likewise.
32698 (linear_search_fdes): Likewise.
32699 (binary_search_unencoded_fdes): Likewise.
32700
d260b3b4
AS
327012012-11-26 Andreas Schwab <schwab@linux-m68k.org>
32702
32703 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
32704
67060746
AC
327052012-11-24 Adam Conrad <adconrad@0c3.net>
32706
32707 * configure.in: Autodetect C++ header directories.
32708 * configure: Regenerated.
32709
800938a1
MF
327102012-11-23 Mike Frysinger <vapier@gentoo.org>
32711
32712 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
32713
4e6e34e6
AS
327142012-11-23 Andreas Schwab <schwab@linux-m68k.org>
32715
32716 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32717
7c7feb47
JM
327182012-11-22 Joseph Myers <joseph@codesourcery.com>
32719
7184dcdf
JM
32720 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
32721 LDBL_MANT_DIG == 106]: Disable some tests.
32722 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32723 Likewise.
32724 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32725 Likewise.
32726
0a42601f
JM
32727 [BZ #14871]
32728 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
32729 input for small inputs. Return +/- pi/2 for large inputs.
32730 * math/libm-test.inc (atan_test): Add more tests.
32731
79c9b9fe
JM
32732 * sysdeps/generic/unwind-dw2-fde-glibc.c
32733 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
32734 __attribute__ ((unused)).
32735
c60d3bf2
JM
32736 [BZ #14645]
32737 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
32738 x * y if x and y are nonzero and z is zero.
32739
ef1e0867
JM
32740 [BZ #14811]
32741 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
32742 nonzero exponents with absolute value below 0x1p-117 to +/-
32743 0x1p-117.
32744
1468ded3
JM
32745 [BZ #14869]
32746 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
32747 up arguments below 2**-450, not just those below 2**-500.
32748 * math/libm-test.inc (hypot_test): Add another test.
32749
8e27e3cc
JM
32750 [BZ #14868]
32751 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
32752 Return a+b for ratio over 2**120, not 2**60.
32753 * math/libm-test.inc (hypot_test): Add another test.
32754
c9c0279b
JM
32755 * math/libm-test.inc (clog_test): Use
32756 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
32757 (clog10_test): Likewise.
32758
7c7feb47
JM
32759 [BZ #6778]
32760 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
32761
fff1530e
AS
327622012-11-22 Andreas Schwab <schwab@suse.de>
32763
32764 * sysdeps/i386/fpu/libm-test-ulps: Update.
32765
94558d30
PT
327662012-11-22 Pino Toscano <toscano.pino@tiscali.it>
32767
32768 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
32769 printf output with newline.
32770
7e1be741
L
327712012-11-21 H.J. Lu <hongjiu.lu@intel.com>
32772
6bfea974
L
32773 [BZ #14865]
32774 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
32775 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
32776 -z nodlopen, -z initfirst and -z execstack support.
32777 * configure: Regenerated.
32778
7e1be741
L
32779 * elf/elf.h (DF_1_NODIRECT): New macro.
32780 (DF_1_IGNMULDEF): Likewise.
32781 (DF_1_NOKSYMS): Likewise.
32782 (DF_1_NOHDR): Likewise.
32783 (DF_1_EDITED): Likewise.
32784 (DF_1_NORELOC): Likewise.
32785 (DF_1_SYMINTPOSE): Likewise.
32786 (DF_1_GLOBAUDIT): Likewise.
32787 (DF_1_SINGLETON): Likewise.
32788 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
32789 DT_1_SUPPORTED_MASK bits.
32790 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
32791
105ce2ce
CD
327922012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
32793
32794 * sysdeps/unix/make-syscalls.sh: Document prefixes.
32795
123be9de
TS
327962012-11-20 Thomas Schwinge <thomas@codesourcery.com>
32797
d072f3f7
TS
32798 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
32799 macro.
32800
123be9de
TS
32801 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
32802 (sendmmsg): Move declarations...
32803 * socket/sys/socket.h: ... here.
32804 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
32805 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
32806 include it from...
32807 * socket/recvmmsg.c: ... this new file.
32808 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
32809 (sendmmsg): Rename to __sendmmsg, create weak alias and make
32810 definition of __sendmmsg hidden.
32811 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
32812 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
32813 Move ENOSYS stub into and include it from...
32814 * socket/sendmmsg.c: ... this new file.
32815 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
32816 (sysdep_routines): Move recvmmsg and sendmmsg...
32817 * socket/Makefile (routines): ... here.
32818 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
32819 (GLIBC_PRIVATE): Add __sendmmsg.
32820 * include/sys/socket.h (__sendmmsg): Add declarations.
32821 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
32822 sendmmsg.
32823
cf9a5d18
JM
328242012-11-20 Joseph Myers <joseph@codesourcery.com>
32825
32826 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
32827 variable I1 with __attribute__ ((unused)).
32828 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
32829
ecd4caf9
JM
328302012-11-19 Joseph Myers <joseph@codesourcery.com>
32831
be14d48f
JM
32832 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
32833 DUMMY variables with __attribute__ ((unused)).
32834
ecd4caf9
JM
32835 * bits/byteswap.h: Include <bits/types.h>.
32836 (__bswap_64): Use __uint64_t instead of unsigned long long int.
32837
986cab95
PT
328382012-11-19 Pino Toscano <toscano.pino@tiscali.it>
32839
32840 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
32841 string_t. Do not manually set errno.
32842 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
32843 length with __strnlen. Make sure to both set errno and return it on
32844 failure.
32845
6d33cc9d
DM
328462012-11-19 David S. Miller <davem@davemloft.net>
32847
32848 With help from Joseph Myers.
32849 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
32850 very large arguments properly.
32851 * math/libm-test.inc (atan_test): New tests.
32852 (atan2_test): New tests.
32853 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32854 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32855
ee663277
JM
328562012-11-19 Joseph Myers <joseph@codesourcery.com>
32857
877f2d8e
JM
32858 [BZ #14856]
32859 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
32860 Define to 3.
32861
116fc08a
JM
32862 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
32863 [POSIX] (EADDRNOTAVAIL): Likewise.
32864 [POSIX] (EAFNOSUPPORT): Likewise.
32865 [POSIX] (EALREADY): Likewise.
32866 [POSIX] (ECONNABORTED): Likewise.
32867 [POSIX] (ECONNREFUSED): Likewise.
32868 [POSIX] (ECONNRESET): Likewise.
32869 [POSIX] (EDESTADDRREQ): Likewise.
32870 [POSIX] (EDQUOT): Likewise.
32871 [POSIX] (EHOSTUNREACH): Likewise.
32872 [POSIX] (EIDRM): Likewise.
32873 [POSIX] (EISCONN): Likewise.
32874 [POSIX] (ELOOP): Likewise.
32875 [POSIX] (EMULTIHOP): Likewise.
32876 [POSIX] (ENETDOWN): Likewise.
32877 [POSIX] (ENETUNREACH): Likewise.
32878 [POSIX] (ENOBUFS): Likewise.
32879 [POSIX] (ENODATA): Likewise.
32880 [POSIX] (ENOLINK): Likewise.
32881 [POSIX] (ENOMSG): Likewise.
32882 [POSIX] (ENOPROTOOPT): Likewise.
32883 [POSIX] (ENOSR): Likewise.
32884 [POSIX] (ENOSTR): Likewise.
32885 [POSIX] (ENOTCONN): Likewise.
32886 [POSIX] (ENOTSOCK): Likewise.
32887 [POSIX] (EOPNOTSUPP): Likewise.
32888 [POSIX] (EOVERFLOW): Likewise.
32889 [POSIX] (EPROTO): Likewise.
32890 [POSIX] (EPROTONOSUPPORT): Likewise.
32891 [POSIX] (EPROTOTYPE): Likewise.
32892 [POSIX] (ESTALE): Likewise.
32893 [POSIX] (ETIME): Likewise.
32894 [POSIX] (ETXTBSY): Likewise.
32895 [POSIX] (EWOULDBLOCK): Likewise.
32896 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
32897 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
32898 [POSIX] (SEEK_CUR): Likewise.
32899 [POSIX] (SEEK_END): Likewise.
32900 [POSIX || UNIX98] (mode_t): Do not require.
32901 [POSIX] (off_t): Likewise.
32902 [POSIX] (pid_t): Likewise.
32903 [POSIX] (sys/stat.h): Do not allow header.
32904 [POSIX] (unistd.h): Likewise.
32905 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
32906 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
32907 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
32908 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
32909 require.
32910 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
32911 sigevent): Specify elements.
32912 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
32913 entry.
32914 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
32915 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
32916
a483863f
JM
32917 * conform/data/cpio.h-data [POSIX]: Disable whole file.
32918 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
32919 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
32920 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
32921 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
32922 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
32923 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
32924 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
32925 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
32926 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
32927 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
32928 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
32929 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
32930 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
32931 Likewise.
32932 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
32933 Likewise.
32934 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
32935 Likewise.
32936 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
32937 Likewise.
32938 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
32939 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
32940 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
32941 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
32942 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
32943 Specify lower bound on value.
32944 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
32945 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
32946 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
32947 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
32948 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
32949 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
32950 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
32951 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
32952 value.
32953 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
32954 as optional.
32955 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
32956 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
32957 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
32958 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
32959 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
32960 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
32961 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
32962 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
32963 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
32964 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
32965 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
32966 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
32967 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
32968 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
32969 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
32970 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
32971 entry.
32972 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
32973 optional.
32974 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
32975 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
32976 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
32977 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
32978 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
32979 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
32980 Likewise.
32981 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
32982 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
32983 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
32984 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
32985 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
32986 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
32987 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
32988 as optional.
32989 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
32990 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
32991 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
32992 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
32993 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
32994 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
32995 specify as optional.
32996 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
32997 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
32998 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
32999 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
33000 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
33001 [XPG3] (NL_LANGMAX): Likewise.
33002 [POSIX || XPG3] (NL_MSGMAX): Likewise.
33003 [POSIX || XPG3] (NL_NMAX): Likewise.
33004 [POSIX || XPG3] (NL_SETMAX): Likewise.
33005 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
33006 [XPG3] (NZERO): Likewise.
33007 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
33008 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
33009 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
33010 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
33011 (REG_ERANGE): Expect.
33012 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
33013 optional-constant.
33014 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
33015 Use (void) in prototype.
33016 [POSIX] (*_t): Allow.
33017 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
33018 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
33019 (WRDE_BADVAL): Expect.
33020
5ba924e3
JM
33021 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
33022 expect.
33023 [XPG3 || XPG4] (O_RSYNC): Likewise.
33024 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
33025 Likewise.
33026 [XPG3 || XPG4] (pthread_sigmask): Likewise.
33027 [XPG3 || XPG4] (sigqueue): Likewise.
33028 [XPG3 || XPG4] (sigtimedwait): Likewise.
33029 [XPG3 || XPG4] (sigwaitinfo): Likewise.
33030 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
33031 [XPG3 || XPG4] (vsnprintf): Likewise.
33032 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
33033 Likewise.
33034 [XPG3 || XPG4] (blksize_t): Likewise.
33035 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
33036 Likewise.
33037 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
33038 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
33039 [XPG3 || XPG4] (struct itimerspec): Likewise.
33040 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
33041 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
33042 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
33043 [XPG3 || XPG4] (clockid_t): Likewise.
33044 [XPG3 || XPG4] (timer_t): Likewise.
33045 [XPG3 || XPG4] (clock_getres): Likewise.
33046 [XPG3 || XPG4] (clock_gettime): Likewise.
33047 [XPG3 || XPG4] (clock_settime): Likewise.
33048 [XPG3 || XPG4] (nanosleep): Likewise.
33049 [XPG3 || XPG4] (timer_create): Likewise.
33050 [XPG3 || XPG4] (timer_delete): Likewise.
33051 [XPG3 || XPG4] (timer_gettime): Likewise.
33052 [XPG3 || XPG4] (timer_getoverrun): Likewise.
33053 [XPG3 || XPG4] (timer_settime): Likewise.
33054 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
33055 [XPG3 || XPG4] (getlogin_r): Likewise.
33056 [XPG3 || XPG4] (pread): Likewise.
33057 [XPG3 || XPG4] (pthread_atfork): Likewise.
33058 [XPG3 || XPG4] (pwrite): Likewise.
33059
ee663277
JM
33060 [BZ #14835]
33061 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
33062 <bits/siginfo.h>.
33063
942caa16
PT
330642012-11-19 Pino Toscano <toscano.pino@tiscali.it>
33065
e19af380
PT
33066 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
33067 finalizing MALLSTREAM.
33068
942caa16
PT
33069 * sysdeps/mach/hurd/syncfs.c: New file.
33070
cfde9b46
SP
330712012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
33072
33073 [BZ #14719]
33074 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
33075 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
33076 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
33077 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
33078 (_nss_dns_gethostbyname4_r): Likewise.
33079 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
33080 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
33081
f6da27e5
PH
330822012-11-19 Peng Haitao <penght@cn.fujitsu.com>
33083
33084 [BZ #13763]
33085 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
33086
6665d4a2
SM
330872012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
33088
1f51ee92
SM
33089 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
33090 * elf/cache.c (print_entry): Print ",AArch64" for
33091 FLAG_AARCH64_LIB64
33092
6665d4a2
SM
33093 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
33094 * elf/cache.c (print_entry): Print ",hard-float" for
33095 FLAG_ARM_LIBHF.
33096
05b227bd
DM
330972012-11-18 David S. Miller <davem@davemloft.net>
33098
33099 With help from Joseph Myers.
33100 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
33101 cutoff to 2**-13.
33102 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
33103 cutoff to 2**-25.
33104 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
33105 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
33106 small.
33107 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
33108 * math/libm-test.inc (y0_test): New tests.
33109 (y1_test): New tests.
33110 * sysdeps/i386/fpu/libm-test-ulps: Update.
33111 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33112 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33113
786b0b67
AS
331142012-11-18 Andreas Schwab <schwab@linux-m68k.org>
33115
33116 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
33117 64-bit targets.
33118 * configure: Regenerated.
33119
8e18b86d
DM
331202012-11-17 David S. Miller <davem@davemloft.net>
33121
33122 [BZ #14811]
33123 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
33124 nonzero exponents with absolute value below 0x1p-128 to +/-
33125 0x1p-128.
33126
531f1ae0
JM
331272012-11-17 Joseph Myers <joseph@codesourcery.com>
33128
12df29e2
JM
33129 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
33130
150dc1a0
JM
33131 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
33132
531f1ae0
JM
33133 * posix/getconf-speclist.c: New file.
33134 * posix/posix-envs.def: Likewise.
33135 * posix/confstr.c (START_ENV_GROUP): New macro.
33136 (END_ENV_GROUP): Likewise.
33137 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
33138 (KNOWN_PRESENT_ENV_STRING): Likewise.
33139 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
33140 (UNKNOWN_ENVIRONMENT): Likewise.
33141 (confstr): Include posix-envs.def instead of handling
33142 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
33143 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
33144 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
33145 (END_ENV_GROUP): Likewise.
33146 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
33147 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
33148 (UNKNOWN_ENVIRONMENT): Likewise.
33149 (__sysconf): Include posix-envs.def instead of handling associated
33150 cases directly here.
33151 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
33152 preprocessing getconf-speclist.c rather than running getconf or
33153 generating empty file.
33154
a93f9cbc
PT
331552012-11-16 Pino Toscano <toscano.pino@tiscali.it>
33156
33157 * scripts/check-local-headers.sh: Ignore 'mach' headers.
33158
d64d9f87
AL
331592012-11-16 Andrej Lajovic <natrij@gmail.com>
33160
33161 [BZ #14672]
33162 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
33163
447885eb
DM
331642012-11-16 David S. Miller <davem@davemloft.net>
33165
33166 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
33167 smaller than LDBL_EPSILON/2.0L, just return xm1.
33168
bcbf9830
L
331692012-11-16 H.J. Lu <hongjiu.lu@intel.com>
33170
33171 * elf/tst-array1.c (init): Set constructor priority to 1000.
33172 (fini): Set destructor priority to 1000.
33173 * elf/tst-array2dep.c: Likewise.
33174
2b766585
SP
331752012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33176
33177 [BZ #11741]
33178 * libio/fileops.c (_IO_new_file_write): Correctly return error.
33179 (_IO_new_file_xsputn): Also return EOF if none of the input
33180 data was written when overflow failed.
33181 * libio/iopadn.c (_IO_padn): Likewise.
33182 * libio/iowpadn.c (_IO_wpadn): Likewise.
33183 * stdio-common/tst-put-error.c: Add copyright notice.
33184 (do_test): Add case for printing padded string.
33185 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
33186 _IO_padn returned error.
33187 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
33188 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
33189 return EOF.
33190
b1848fde
SP
331912012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33192
33193 * libio/libioP.h: Add comment note that the references to C++
33194 bits are now obsolete.
33195
2fd89785
MS
331962012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33197
33198 * math/libm-test.inc (check_complex): Use asprintf.
33199
e3ea5409
JM
332002012-11-14 Joseph Myers <joseph@codesourcery.com>
33201
33202 * debug/pcprofiledump.c (print_version): Update copyright year.
33203 * malloc/memusagestat.c (print_version): Likewise.
33204
2e64d265
L
332052012-11-14 H.J. Lu <hongjiu.lu@intel.com>
33206
33207 [BZ #14831]
33208 * elf/Makefile (tests): Add tst-audit8.
33209 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
33210 ($(objpfx)tst-audit8.out): New target.
33211 (tst-audit8-ENV): New variable.
33212 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
33213 audit if l_reloc_result is NULL.
33214 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
33215 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
33216 * elf/tst-audit8.c: New file.
33217
c485e4d2
MS
332182012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33219
33220 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
33221 * misc/Makefile (CFLAGS-select.c): Define.
33222 * posix/Makefile (CFLAGS-pause.c): Define.
33223
3a0d900a
DM
332242012-11-13 David S. Miller <davem@davemloft.net>
33225
33226 * crypt/Makefile: Move test targets after toplevel Rules
33227 inclusion. Grab any necessary sysdep routines when linking.
33228 * crypt/md5.c (md5_process_block): Remove define, we will always
33229 name it __md5_process_block.
33230 (md5_finish_ctx): Update md5_process_block call.
33231 (md5_stream): Likewise.
33232 (md5_process_bytes): Likewise.
33233 (md5_process_block): Rename to __md5_process_block and move to ...
33234 * crypt/md5-block.c: ... here.
33235 * crypt/sha256.c (sha256_process_block): Move to ...
33236 * crypt/sha256-block.c: ... here.
33237 * crypt/sha512.c (sha512_process_block): Move to ...
33238 * crypt/sha512-block.c: ... here.
33239 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
33240 path.
33241 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
33242 * sysdeps/sparc/sparc64/multiarch/Makefile
33243 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
33244 crypt subdir.
33245 (localedef-aux): Add md5 crypto assembler when in locale subdir.
33246 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
33247 multiarch changes.
33248 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
33249 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
33250 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
33251 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
33252 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
33253 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
33254 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
33255 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
33256 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
33257 file.
33258 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
33259 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
33260 file.
33261 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
33262
8ca89318
JM
332632012-11-13 Joseph Myers <joseph@codesourcery.com>
33264
e27d476a
JM
33265 * timezone/tzselect.ksh: Update from tzcode git revision
33266 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
33267 * timezone/zdump.c: Likewise.
33268 * timezone/zic.c: Likewise.
33269 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
33270 in TZVERSION setting, not $(PKGVERSION).
33271 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
33272 REPORT_BUGS_TO settings.
33273
8ca89318
JM
33274 [BZ #14838]
33275 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
33276 macro.
33277
47594329
MS
332782012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33279
33280 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
33281 detection to immediately after _FP_ROUND().
33282 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
33283 bits are 0.
33284
640ac3f1
DM
332852012-11-11 David S. Miller <davem@davemloft.net>
33286
33287 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
33288 inttypes.h
33289 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
33290 __close rather than their public counterparts.
33291
3d2577bb
JM
332922012-11-10 Joseph Myers <joseph@codesourcery.com>
33293
33294 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
33295 file.
33296 [UNIX98] (sem_timedwait): Do not expect.
33297 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
33298 [XPG4 || UNIX98] (sockatmark): Do not expect.
33299 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
33300 (clock_getcpuclockid): Do not expect.
33301 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
33302 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
33303 Do not expect.
33304 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
33305 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
33306 [UNIX98] (vwscanf): Likewise.
33307 [UNIX98] (vswscanf): Likewise.
33308
fb1ae1ee
JM
333092012-11-09 Joseph Myers <joseph@codesourcery.com>
33310
9ec6f8bd
JM
33311 * timezone/version.h: Remove file.
33312 * timezone/README: Do not refer to version.h.
33313 * timezone/Makefile ($(objpfx)zic.o): New dependency on
33314 $(objpfx)version.h.
33315 ($(objpfx)zdump.o): Likewise.
c3f81911 33316 ($(objpfx)version.h): New target.
9ec6f8bd 33317
0aa8f8a1
JM
33318 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
33319 2012i.
33320 * timezone/README: Don't mention modification to tzselect.ksh.
33321 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
33322 work on unmodified tzselect.ksh. Substitute version numbers in
33323 tzselect.ksh.
33324
4e87147f
JM
33325 * Makefile (format-me): Remove.
33326 (INSTALL): Adjust indentation. Use commands directly instead of
33327 using $(format-me).
33328
8b748aed
JM
33329 * aclocal.m4 (ACX_PKGVERSION): New macro.
33330 (ACX_BUGURL): Likewise.
33331 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
33332 (PKGVERSION): New AC_DEFINE_UNQUOTED.
33333 (REPORT_BUGS_TO): Likewise.
33334 * configure: Regenerated.
33335 * config.h.in (PKGVERSION): New macro.
33336 (REPORT_BUGS_TO): Likewise.
33337 * config.make.in (PKGVERSION): New variable.
33338 (PKGVERSION_TEXI): Likewise.
33339 (REPORT_BUGS_TO): Likewise.
33340 (REPORT_BUGS_TEXI): Likewise.
33341 * Makefile (format-me): Use -I$(common-objpfx)manual.
33342 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
33343 ($(common-objpfx)manual/%): New target.
33344 (manual/%): Remove target.
33345 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
33346 (print_version): Use PKGVERSION.
33347 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
33348 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
33349 and REPORT_BUGS_TO.
33350 ($(objpfx)xtrace): Likewise.
33351 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
33352 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
33353 (print_version): Use PKGVERSION.
33354 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
33355 (do_version): Use PKGVERSION.
33356 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
33357 REPORT_BUGS_TO.
33358 (common-ldd-rewrite): Likewise.
33359 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
33360 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
33361 (print_version): Use PKGVERSION.
33362 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
33363 * elf/pldd.c (argp_program_bug_address): Remove variable.
33364 (more_help): New function.
33365 (argp): Use more_help.
33366 (print_version): Use PKGVERSION.
33367 * elf/sln.c (main): Use PKGVERSION.
33368 (usage): Use REPORT_BUGS_TO.
33369 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
33370 (top level): Use PKGVERSION.
33371 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
33372 (print_version): Use PKGVERSION.
33373 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
33374 (print_version): Use PKGVERSION.
33375 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
33376 (print_version): Use PKGVERSION.
33377 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
33378 (print_version): Use PKGVERSION.
33379 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
33380 (print_version): Use PKGVERSION.
33381 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
33382 (print_version): Use PKGVERSION.
33383 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
33384 and BUGURL.
33385 ($(objpfx)memusage): Likewise.
33386 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
33387 (do_version): Use PKGVERSION.
33388 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
33389 (print_version): Use PKGVERSION.
33390 * malloc/mtrace.pl ($PACKAGE): Remove variable.
33391 ($PKGVERSION): New variable.
33392 ($REPORT_BUGS_TO): Likewise.
33393 (usage): Use $REPORT_BUGS_TO.
33394 (top level): Use $PKGVERSION.
33395 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
33396 ($(objpfx)pkgvers.texi): New rule.
33397 ($(objpfx)stamp-pkgvers): Likewise.
33398 * manual/install.texi: Include pkgvers.texi.
33399 (--with-pkgversion): Document new configure option.
33400 (--with-bugurl): Likewise.
33401 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
33402 than necessarily for this particular distribution. Use
33403 REPORT_BUGS_TO for where to report bugs.
33404 * INSTALL: Regenerated.
33405 * manual/libc.texinfo: Include pkgvers.texi.
33406 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
33407 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
33408 (print_version): Use PKGVERSION.
33409 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
33410 (print_version): Use PKGVERSION.
33411 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
33412 (print_version): Use PKGVERSION.
33413 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
33414 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
33415 macro.
33416 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
33417 (print_version): Use PKGVERSION.
33418 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
33419 (print_version): Use PKGVERSION.
33420 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
33421 and PKGVERSION.
33422
92e4b6a9
JM
33423 * timezone/checktab.awk: Update from tzcode 2012i.
33424 * timezone/ialloc.c: Likewise.
33425 * timezone/private.h: Likewise.
33426 * timezone/scheck.c: Likewise.
33427 * timezone/tzfile.h: Likewise.
33428 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
33429 (TZVERSION): Hardcode tzcode version number.
33430 * timezone/zdump.c: Update from tzcode 2012i.
33431 * timezone/zic.c: Likewise.
33432 * timezone/version.h: New file.
33433 * timezone/README: Describe version.h. Update upstream location.
33434
9bde902c
JM
33435 [BZ #14824]
33436 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
33437 (mktemp): Enable declaration.
33438 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
33439 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
33440 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
33441 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
33442 Likewise.
33443 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
33444 Likewise.
33445 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
33446 Likewise.
33447 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
33448 Likewise.
33449 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
33450 Likewise.
33451 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
33452 Likewise.
33453
fb1ae1ee
JM
33454 [BZ #14821]
33455 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
33456 offset in buffer as u_int32_t not u_long. Consistently use memcpy
33457 for copies of such integer values.
33458 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33459 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33460
2c1adbcb
AJ
334612012-11-09 Andreas Jaeger <aj@suse.de>
33462
33463 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
33464 definitions and declarations that are provided by
33465 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
33466
d0f8457e
AK
334672012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33468
3a235abb 33469 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
33470 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
33471 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
33472 definition.
33473
57241e26
MS
334742012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33475
33476 * elf/elf.h: Update comment before AArch64 relocations.
33477
60e8270d
DM
334782012-11-07 David S. Miller <davem@davemloft.net>
33479
33480 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
33481 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33482 (__start_context): Declare.
33483 (__makecontext_ret): Delete.
33484 (__makecontext): Hook up __start_context instead of
33485 __makecontext_ret.
33486 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
33487 (sysdep_routines): Add __start_context when in stdlib.
33488
0fbb0fbc
JM
334892012-11-07 Joseph Myers <joseph@codesourcery.com>
33490
33491 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
33492 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
33493 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
33494 hardcoded "nm".
33495 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
33496 (READELF): New variable. Use it instead of hardcoded "readelf".
33497
eb48db7e
L
334982012-11-07 H.J. Lu <hongjiu.lu@intel.com>
33499
33500 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
33501 * sysdeps/x86/Makefile: Here.
33502 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
33503 * sysdeps/x86/tst-xmmymm.sh: This.
33504
05bcf62a
JM
335052012-11-07 Joseph Myers <joseph@codesourcery.com>
33506
c4b6cf53
JM
33507 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
33508 expectations.
33509 [UNIX98] (pthread_barrier_t): Do not expect.
33510 [UNIX98] (pthread_barrierattr_t): Likewise.
33511 [UNIX98] (pthread_spinlock_t): Likewise.
33512 [UNIX98] (pthread_barrier_destroy): Likewise.
33513 [UNIX98] (pthread_barrier_init): Likewise.
33514 [UNIX98] (pthread_barrier_wait): Likewise.
33515 [UNIX98] (pthread_barrierattr_destroy): Likewise.
33516 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
33517 [UNIX98] (pthread_barrierattr_init): Likewise.
33518 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
33519 [UNIX98] (pthread_getcpuclockid): Likewise.
33520 [UNIX98] (pthread_mutex_timedlock): Likewise.
33521 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
33522 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
33523 [UNIX98] (pthread_sigmask): Likewise.
33524 [UNIX98] (pthread_spin_destroy): Likewise.
33525 [UNIX98] (pthread_spin_init): Likewise.
33526 [UNIX98] (pthread_spin_lock): Likewise.
33527 [UNIX98] (pthread_spin_trylock): Likewise.
33528 [UNIX98] (pthread_spin_unlock): Likewise.
33529 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
33530 Do not expect.
33531 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
33532 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
33533 [XPG3 || XPG4] (pthread_cond_t): Likewise.
33534 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
33535 [XPG3 || XPG4] (pthread_key_t): Likewise.
33536 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
33537 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
33538 [XPG3 || XPG4] (pthread_once_t): Likewise.
33539 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
33540 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
33541 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
33542 [XPG3 || XPG4] (pthread_t): Likewise.
33543
cbe6e120
JM
33544 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
33545 not expect.
33546 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
33547
1b126443
JM
33548 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
33549 Change function return type to int.
33550
b961a573
JM
33551 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
33552 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
33553 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
33554 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
33555 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
33556 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
33557 [!POSIX] (posix_madvise): Likewise.
33558 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
33559 && !UNIX98].
33560 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
33561 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
33562 (mode_t): Likewise.
33563 (posix_mem_offset): Likewise.
33564 (posix_typed_mem_get_info): Likewise.
33565 (posix_typed_mem_open): Likewise.
33566
9e188909
JM
33567 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
33568 Change condition to [XOPEN2K8].
33569
05bcf62a
JM
33570 * conform/conformtest.pl: Preprocess allow-header data with -x c
33571 instead of from stdin.
33572 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
33573 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
33574 [C99-based standards] (cerfc): Likewise.
33575 [C99-based standards] (cexp2): Likewise.
33576 [C99-based standards] (cexpm1): Likewise.
33577 [C99-based standards] (clog10): Likewise.
33578 [C99-based standards] (clog1p): Likewise.
33579 [C99-based standards] (clog2): Likewise.
33580 [C99-based standards] (clgamma): Likewise.
33581 [C99-based standards] (ctgamma): Likewise.
33582 [C99-based standards] (cerff): Likewise.
33583 [C99-based standards] (cerfcf): Likewise.
33584 [C99-based standards] (cexp2f): Likewise.
33585 [C99-based standards] (cexpm1f): Likewise.
33586 [C99-based standards] (clog10f): Likewise.
33587 [C99-based standards] (clog1pf): Likewise.
33588 [C99-based standards] (clog2f): Likewise.
33589 [C99-based standards] (clgammaf): Likewise.
33590 [C99-based standards] (ctgammaf): Likewise.
33591 [C99-based standards] (cerfl): Likewise.
33592 [C99-based standards] (cerfcl): Likewise.
33593 [C99-based standards] (cexp2l): Likewise.
33594 [C99-based standards] (cexpm1l): Likewise.
33595 [C99-based standards] (clog10l): Likewise.
33596 [C99-based standards] (clog1pl): Likewise.
33597 [C99-based standards] (clog2l): Likewise.
33598 [C99-based standards] (clgammal): Likewise.
33599 [C99-based standards] (ctgammal): Likewise.
33600 * conform/data/inttypes.h-data [C99-based standards]: Include
33601 stdint.h-data. Remove all expectations for stdint.h contents.
33602 [C99-based standards] (PRI*): Do not allow.
33603 [C99-based standards] (SCN*): Likewise.
33604 [C99-based standards] (*_t): Likewise.
33605 [C99-based-standards] (PRId8): Expect macro.
33606 [C99-based-standards] (PRIi8): Likewise.
33607 [C99-based-standards] (PRIo8): Likewise.
33608 [C99-based-standards] (PRIu8): Likewise.
33609 [C99-based-standards] (PRIx8): Likewise.
33610 [C99-based-standards] (PRIX8): Likewise.
33611 [C99-based-standards] (SCNd8): Likewise.
33612 [C99-based-standards] (SCNi8): Likewise.
33613 [C99-based-standards] (SCNo8): Likewise.
33614 [C99-based-standards] (SCNu8): Likewise.
33615 [C99-based-standards] (SCNx8): Likewise.
33616 [C99-based-standards] (PRIdLEAST8): Likewise.
33617 [C99-based-standards] (PRIiLEAST8): Likewise.
33618 [C99-based-standards] (PRIoLEAST8): Likewise.
33619 [C99-based-standards] (PRIuLEAST8): Likewise.
33620 [C99-based-standards] (PRIxLEAST8): Likewise.
33621 [C99-based-standards] (PRIXLEAST8): Likewise.
33622 [C99-based-standards] (SCNdLEAST8): Likewise.
33623 [C99-based-standards] (SCNiLEAST8): Likewise.
33624 [C99-based-standards] (SCNoLEAST8): Likewise.
33625 [C99-based-standards] (SCNuLEAST8): Likewise.
33626 [C99-based-standards] (SCNxLEAST8): Likewise.
33627 [C99-based-standards] (PRIdFAST8): Likewise.
33628 [C99-based-standards] (PRIiFAST8): Likewise.
33629 [C99-based-standards] (PRIoFAST8): Likewise.
33630 [C99-based-standards] (PRIuFAST8): Likewise.
33631 [C99-based-standards] (PRIxFAST8): Likewise.
33632 [C99-based-standards] (PRIXFAST8): Likewise.
33633 [C99-based-standards] (SCNdFAST8): Likewise.
33634 [C99-based-standards] (SCNiFAST8): Likewise.
33635 [C99-based-standards] (SCNoFAST8): Likewise.
33636 [C99-based-standards] (SCNuFAST8): Likewise.
33637 [C99-based-standards] (SCNxFAST8): Likewise.
33638 [C99-based-standards] (PRId16): Likewise.
33639 [C99-based-standards] (PRIi16): Likewise.
33640 [C99-based-standards] (PRIo16): Likewise.
33641 [C99-based-standards] (PRIu16): Likewise.
33642 [C99-based-standards] (PRIx16): Likewise.
33643 [C99-based-standards] (PRIX16): Likewise.
33644 [C99-based-standards] (SCNd16): Likewise.
33645 [C99-based-standards] (SCNi16): Likewise.
33646 [C99-based-standards] (SCNo16): Likewise.
33647 [C99-based-standards] (SCNu16): Likewise.
33648 [C99-based-standards] (SCNx16): Likewise.
33649 [C99-based-standards] (PRIdLEAST16): Likewise.
33650 [C99-based-standards] (PRIiLEAST16): Likewise.
33651 [C99-based-standards] (PRIoLEAST16): Likewise.
33652 [C99-based-standards] (PRIuLEAST16): Likewise.
33653 [C99-based-standards] (PRIxLEAST16): Likewise.
33654 [C99-based-standards] (PRIXLEAST16): Likewise.
33655 [C99-based-standards] (SCNdLEAST16): Likewise.
33656 [C99-based-standards] (SCNiLEAST16): Likewise.
33657 [C99-based-standards] (SCNoLEAST16): Likewise.
33658 [C99-based-standards] (SCNuLEAST16): Likewise.
33659 [C99-based-standards] (SCNxLEAST16): Likewise.
33660 [C99-based-standards] (PRIdFAST16): Likewise.
33661 [C99-based-standards] (PRIiFAST16): Likewise.
33662 [C99-based-standards] (PRIoFAST16): Likewise.
33663 [C99-based-standards] (PRIuFAST16): Likewise.
33664 [C99-based-standards] (PRIxFAST16): Likewise.
33665 [C99-based-standards] (PRIXFAST16): Likewise.
33666 [C99-based-standards] (SCNdFAST16): Likewise.
33667 [C99-based-standards] (SCNiFAST16): Likewise.
33668 [C99-based-standards] (SCNoFAST16): Likewise.
33669 [C99-based-standards] (SCNuFAST16): Likewise.
33670 [C99-based-standards] (SCNxFAST16): Likewise.
33671 [C99-based-standards] (PRId32): Likewise.
33672 [C99-based-standards] (PRIi32): Likewise.
33673 [C99-based-standards] (PRIo32): Likewise.
33674 [C99-based-standards] (PRIu32): Likewise.
33675 [C99-based-standards] (PRIx32): Likewise.
33676 [C99-based-standards] (PRIX32): Likewise.
33677 [C99-based-standards] (SCNd32): Likewise.
33678 [C99-based-standards] (SCNi32): Likewise.
33679 [C99-based-standards] (SCNo32): Likewise.
33680 [C99-based-standards] (SCNu32): Likewise.
33681 [C99-based-standards] (SCNx32): Likewise.
33682 [C99-based-standards] (PRIdLEAST32): Likewise.
33683 [C99-based-standards] (PRIiLEAST32): Likewise.
33684 [C99-based-standards] (PRIoLEAST32): Likewise.
33685 [C99-based-standards] (PRIuLEAST32): Likewise.
33686 [C99-based-standards] (PRIxLEAST32): Likewise.
33687 [C99-based-standards] (PRIXLEAST32): Likewise.
33688 [C99-based-standards] (SCNdLEAST32): Likewise.
33689 [C99-based-standards] (SCNiLEAST32): Likewise.
33690 [C99-based-standards] (SCNoLEAST32): Likewise.
33691 [C99-based-standards] (SCNuLEAST32): Likewise.
33692 [C99-based-standards] (SCNxLEAST32): Likewise.
33693 [C99-based-standards] (PRIdFAST32): Likewise.
33694 [C99-based-standards] (PRIiFAST32): Likewise.
33695 [C99-based-standards] (PRIoFAST32): Likewise.
33696 [C99-based-standards] (PRIuFAST32): Likewise.
33697 [C99-based-standards] (PRIxFAST32): Likewise.
33698 [C99-based-standards] (PRIXFAST32): Likewise.
33699 [C99-based-standards] (SCNdFAST32): Likewise.
33700 [C99-based-standards] (SCNiFAST32): Likewise.
33701 [C99-based-standards] (SCNoFAST32): Likewise.
33702 [C99-based-standards] (SCNuFAST32): Likewise.
33703 [C99-based-standards] (SCNxFAST32): Likewise.
33704 [C99-based-standards] (PRId64): Likewise.
33705 [C99-based-standards] (PRIi64): Likewise.
33706 [C99-based-standards] (PRIo64): Likewise.
33707 [C99-based-standards] (PRIu64): Likewise.
33708 [C99-based-standards] (PRIx64): Likewise.
33709 [C99-based-standards] (PRIX64): Likewise.
33710 [C99-based-standards] (SCNd64): Likewise.
33711 [C99-based-standards] (SCNi64): Likewise.
33712 [C99-based-standards] (SCNo64): Likewise.
33713 [C99-based-standards] (SCNu64): Likewise.
33714 [C99-based-standards] (SCNx64): Likewise.
33715 [C99-based-standards] (PRIdLEAST64): Likewise.
33716 [C99-based-standards] (PRIiLEAST64): Likewise.
33717 [C99-based-standards] (PRIoLEAST64): Likewise.
33718 [C99-based-standards] (PRIuLEAST64): Likewise.
33719 [C99-based-standards] (PRIxLEAST64): Likewise.
33720 [C99-based-standards] (PRIXLEAST64): Likewise.
33721 [C99-based-standards] (SCNdLEAST64): Likewise.
33722 [C99-based-standards] (SCNiLEAST64): Likewise.
33723 [C99-based-standards] (SCNoLEAST64): Likewise.
33724 [C99-based-standards] (SCNuLEAST64): Likewise.
33725 [C99-based-standards] (SCNxLEAST64): Likewise.
33726 [C99-based-standards] (PRIdFAST64): Likewise.
33727 [C99-based-standards] (PRIiFAST64): Likewise.
33728 [C99-based-standards] (PRIoFAST64): Likewise.
33729 [C99-based-standards] (PRIuFAST64): Likewise.
33730 [C99-based-standards] (PRIxFAST64): Likewise.
33731 [C99-based-standards] (PRIXFAST64): Likewise.
33732 [C99-based-standards] (SCNdFAST64): Likewise.
33733 [C99-based-standards] (SCNiFAST64): Likewise.
33734 [C99-based-standards] (SCNoFAST64): Likewise.
33735 [C99-based-standards] (SCNuFAST64): Likewise.
33736 [C99-based-standards] (SCNxFAST64): Likewise.
33737 [C99-based-standards] (PRIdMAX): Likewise.
33738 [C99-based-standards] (PRIiMAX): Likewise.
33739 [C99-based-standards] (PRIoMAX): Likewise.
33740 [C99-based-standards] (PRIuMAX): Likewise.
33741 [C99-based-standards] (PRIxMAX): Likewise.
33742 [C99-based-standards] (PRIXMAX): Likewise.
33743 [C99-based-standards] (SCNdMAX): Likewise.
33744 [C99-based-standards] (SCNiMAX): Likewise.
33745 [C99-based-standards] (SCNoMAX): Likewise.
33746 [C99-based-standards] (SCNuMAX): Likewise.
33747 [C99-based-standards] (SCNxMAX): Likewise.
33748 [C99-based-standards] (PRIdPTR): Likewise.
33749 [C99-based-standards] (PRIiPTR): Likewise.
33750 [C99-based-standards] (PRIoPTR): Likewise.
33751 [C99-based-standards] (PRIuPTR): Likewise.
33752 [C99-based-standards] (PRIxPTR): Likewise.
33753 [C99-based-standards] (PRIXPTR): Likewise.
33754 [C99-based-standards] (SCNdPTR): Likewise.
33755 [C99-based-standards] (SCNiPTR): Likewise.
33756 [C99-based-standards] (SCNoPTR): Likewise.
33757 [C99-based-standards] (SCNuPTR): Likewise.
33758 [C99-based-standards] (SCNxPTR): Likewise.
33759 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
33760 allow.
33761 * conform/data/stdint.h-data: Update comments to clarify
33762 requirements.
33763 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
33764 type.
33765 [C99-based standards] (INT8_MAX): Likewise.
33766 [C99-based standards] (INT16_MIN): Likewise.
33767 [C99-based standards] (INT16_MAX): Likewise.
33768 [C99-based standards] (INT32_MIN): Likewise.
33769 [C99-based standards] (INT32_MAX): Likewise.
33770 [C99-based standards] (INT64_MIN): Likewise.
33771 [C99-based standards] (INT64_MAX): Likewise.
33772 [C99-based standards] (UINT8_MAX): Likewise.
33773 [C99-based standards] (UINT16_MAX): Likewise.
33774 [C99-based standards] (UINT32_MAX): Likewise.
33775 [C99-based standards] (UINT64_MAX): Likewise.
33776 [C99-based standards] (INT_LEAST8_MIN): Likewise.
33777 [C99-based standards] (INT_LEAST8_MAX): Likewise.
33778 [C99-based standards] (INT_LEAST16_MIN): Likewise.
33779 [C99-based standards] (INT_LEAST16_MAX): Likewise.
33780 [C99-based standards] (INT_LEAST32_MIN): Likewise.
33781 [C99-based standards] (INT_LEAST32_MAX): Likewise.
33782 [C99-based standards] (INT_LEAST64_MIN): Likewise.
33783 [C99-based standards] (INT_LEAST64_MAX): Likewise.
33784 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
33785 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
33786 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
33787 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
33788 [C99-based standards] (INT_FAST8_MIN): Likewise.
33789 [C99-based standards] (INT_FAST8_MAX): Likewise.
33790 [C99-based standards] (INT_FAST16_MIN): Likewise.
33791 [C99-based standards] (INT_FAST16_MAX): Likewise.
33792 [C99-based standards] (INT_FAST32_MIN): Likewise.
33793 [C99-based standards] (INT_FAST32_MAX): Likewise.
33794 [C99-based standards] (INT_FAST64_MIN): Likewise.
33795 [C99-based standards] (INT_FAST64_MAX): Likewise.
33796 [C99-based standards] (UINT_FAST8_MAX): Likewise.
33797 [C99-based standards] (UINT_FAST16_MAX): Likewise.
33798 [C99-based standards] (UINT_FAST32_MAX): Likewise.
33799 [C99-based standards] (UINT_FAST64_MAX): Likewise.
33800 [C99-based standards] (INTPTR_MIN): Likewise.
33801 [C99-based standards] (INTPTR_MAX): Likewise.
33802 [C99-based standards] (UINTPTR_MAX): Likewise.
33803 [C99-based standards] (INTMAX_MIN): Likewise.
33804 [C99-based standards] (INTMAX_MAX): Likewise.
33805 [C99-based standards] (UINTMAX_MAX): Likewise.
33806 [C99-based standards] (PTRDIFF_MIN): Likewise.
33807 [C99-based standards] (PTRDIFF_MAX): Likewise.
33808 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
33809 [C99-based standards] (SIZE_MAX): Likewise.
33810 [C99-based standards] (WCHAR_MAX): Likewise.
33811 [C99-based standards] (WINT_MAX): Likewise.
33812 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
33813 constraint on value.
33814 [C99-based standards] (WCHAR_MIN): Likewise.
33815 [C99-based standards] (WINT_MIN): Likewise.
33816 [C99-based standards] (*_t): Allow.
33817 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
33818 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
33819 Include math.h-data and complex.h-data. Remove all expectations
33820 of math.h and complex.h contents.
33821 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
33822 at end of line.
33823 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
33824 (struct tm): Expect tag.
33825 [C99-based-standards] (wcstof): Expect function.
33826 [C99-based-standards] (wcstold): Likewise.
33827 [C99-based-standards] (wcstoll): Likewise.
33828 [C99-based-standards] (wcstoull): Likewise.
33829 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
33830 macro-int-constant. Specify type.
33831 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
33832 constraint on value.
33833 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33834 Specify type.
33835 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
33836 Specify value.
33837 [ISO C standards]: Do not allow headers.
33838 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
33839 wcs[abcdefghijklmnopqrstuvwxyz]*.
33840 [ISO C standards] (*_t): Do not allow.
33841 * conform/data/wctype.h-data [C99-based standards] (iswblank):
33842 Expect function.
33843 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
33844 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33845 Specify type.
33846 [ISO C standards]: Do not allow headers.
33847 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
33848 is[abcdefghijklmnopqrstuvwxyz]*.
33849 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
33850 to[abcdefghijklmnopqrstuvwxyz]*.
33851 [ISO C standards] (*_t): Do not allow.
33852 * conform/data/stdalign.h-data: New file.
33853 * conform/data/stdbool.h-data: Likewise.
33854 * conform/data/stdnoreturn.h-data: Likewise.
33855
7514feb8
RM
338562012-11-07 Roland McGrath <roland@hack.frob.com>
33857
33858 [BZ #14815]
33859 * manual/filesys.texi (Directory Entries): Typo fix.
33860 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
33861
19b2ecfc
MS
338622012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33863
33864 * elf/elf.h (EM_AARCH64): New macro.
33865 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
33866 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
33867 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
33868 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
33869 (R_AARCH64_TLSDESC): Likewise.
33870 (NT_ARM_TLS): Likewise.
33871 (NT_ARM_HW_BREAK): Likewise.
33872 (NT_ARM_HW_WATCH): Likewise.
33873
60e235ee
JM
338742012-11-07 Joseph Myers <joseph@codesourcery.com>
33875
33876 [BZ #14811]
33877 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
33878 (__ieee754_powl): Saturate nonzero exponents with absolute value
33879 below 0x1p-79 to +/- 0x1p-79.
33880 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
33881 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
33882 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
33883 nonzero exponents with absolute value below 0x1p-32 to +/-
33884 0x1p-32.
33885 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
33886 (__ieee754_powl): Saturate nonzero exponents with absolute value
33887 below 0x1p-79 to +/- 0x1p-79.
33888 * math/libm-test.inc (pow_test): Add more tests.
33889
0ab234b7
AK
338902012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33891
33892 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
33893 _dl_s390_cap_flags with kernel. Increase string length.
33894 (_dl_s390_platforms): Add z196 and zEC12.
33895
45832f74
JM
338962012-11-07 Joseph Myers <joseph@codesourcery.com>
33897
33898 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
33899 Change XOPEN21K to XOPEN2K.
33900
19218757
MK
339012012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
33902
33903 * string/memmove.c: Use memcpy when possible.
33904
c5f45721
AJ
339052012-11-06 Andreas Jaeger <aj@suse.de>
33906
33907 * po/eo.po: Update from translation team.
33908
82477c28
JM
339092012-11-06 Joseph Myers <joseph@codesourcery.com>
33910
33911 [BZ #14793]
33912 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
33913 exponent and small x and y exponents, scale x or y up. Increase
33914 by 2 the exponent used in scaling up.
33915 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33916 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33917 * math/libm-test.inc (fma_test): Add more tests.
33918 (fma_test_towardzero): Likewise.
33919 (fma_test_downward): Likewise.
33920 (fma_test_upward): Likewise.
33921
99252c8c
JM
339222012-11-05 Joseph Myers <joseph@codesourcery.com>
33923
acfa885f
JM
33924 [BZ #14805]
33925 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
33926 fenv_t *.
33927
99252c8c
JM
33928 [BZ #14801]
33929 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
33930 namespace for names of struct fields.
33931 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
33932 fenv_t fields.
33933 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
33934 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
33935
d6d98dea
ST
339362012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
33937
33938 [BZ #3665]
33939 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
33940
e10bb107
TS
339412012-11-04 Thomas Schwinge <thomas@codesourcery.com>
33942
33943 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
33944 PTR_DEMANGLE.
33945
33946 [BZ #5246]
33947 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
33948 PTR_DEMANGLE.
33949
a0c2940d
JM
339502012-11-04 Joseph Myers <joseph@codesourcery.com>
33951
33952 [BZ #14797]
33953 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
33954 definitely overflow as x * y not x * y + z.
33955 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33956 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33957 * math/libm-test.inc (fma_test): Add more tests.
33958 (fma_test_towardzero): Likewise.
33959 (fma_test_downward): Likewise.
33960 (fma_test_upward): Likewise.
33961
b830319d
TS
339622012-11-04 Thomas Schwinge <thomas@codesourcery.com>
33963
33964 [BZ #157]
33965
33966 * include/stub-tag.h: Remove file.
33967 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
33968 '#include' of it.
33969 * manual/maint.texi (Porting): Don't reference it.
33970 * Makerules ($(objpfx)stubs): Likewise.
33971 * dirent/closedir.c: Don't include <stub-tag.h>.
33972 * dirent/dirfd.c: Likewise.
33973 * dirent/fdopendir.c: Likewise.
33974 * dirent/getdents.c: Likewise.
33975 * dirent/getdents64.c: Likewise.
33976 * dirent/opendir.c: Likewise.
33977 * dirent/readdir.c: Likewise.
33978 * dirent/readdir64.c: Likewise.
33979 * dirent/readdir64_r.c: Likewise.
33980 * dirent/readdir_r.c: Likewise.
33981 * dirent/rewinddir.c: Likewise.
33982 * dirent/seekdir.c: Likewise.
33983 * dirent/telldir.c: Likewise.
33984 * gmon/profil.c: Likewise.
33985 * grp/setgroups.c: Likewise.
33986 * inet/if_index.c: Likewise.
33987 * io/access.c: Likewise.
33988 * io/chdir.c: Likewise.
33989 * io/chmod.c: Likewise.
33990 * io/chown.c: Likewise.
33991 * io/close.c: Likewise.
33992 * io/dup.c: Likewise.
33993 * io/dup2.c: Likewise.
33994 * io/dup3.c: Likewise.
33995 * io/euidaccess.c: Likewise.
33996 * io/faccessat.c: Likewise.
33997 * io/fchdir.c: Likewise.
33998 * io/fchmod.c: Likewise.
33999 * io/fchmodat.c: Likewise.
34000 * io/fchown.c: Likewise.
34001 * io/fchownat.c: Likewise.
34002 * io/fcntl.c: Likewise.
34003 * io/flock.c: Likewise.
34004 * io/fstatfs.c: Likewise.
34005 * io/fstatfs64.c: Likewise.
34006 * io/fstatvfs.c: Likewise.
34007 * io/fstatvfs64.c: Likewise.
34008 * io/futimens.c: Likewise.
34009 * io/fxstat.c: Likewise.
34010 * io/fxstat64.c: Likewise.
34011 * io/fxstatat.c: Likewise.
34012 * io/fxstatat64.c: Likewise.
34013 * io/getcwd.c: Likewise.
34014 * io/isatty.c: Likewise.
34015 * io/lchmod.c: Likewise.
34016 * io/lchown.c: Likewise.
34017 * io/link.c: Likewise.
34018 * io/linkat.c: Likewise.
34019 * io/lseek.c: Likewise.
34020 * io/lseek64.c: Likewise.
34021 * io/lxstat64.c: Likewise.
34022 * io/mkdir.c: Likewise.
34023 * io/mkdirat.c: Likewise.
34024 * io/mkfifo.c: Likewise.
34025 * io/mkfifoat.c: Likewise.
34026 * io/open.c: Likewise.
34027 * io/open64.c: Likewise.
34028 * io/openat.c: Likewise.
34029 * io/openat64.c: Likewise.
34030 * io/pipe.c: Likewise.
34031 * io/pipe2.c: Likewise.
34032 * io/poll.c: Likewise.
34033 * io/posix_fadvise.c: Likewise.
34034 * io/posix_fadvise64.c: Likewise.
34035 * io/posix_fallocate.c: Likewise.
34036 * io/posix_fallocate64.c: Likewise.
34037 * io/read.c: Likewise.
34038 * io/readlink.c: Likewise.
34039 * io/readlinkat.c: Likewise.
34040 * io/rmdir.c: Likewise.
34041 * io/sendfile.c: Likewise.
34042 * io/sendfile64.c: Likewise.
34043 * io/statfs.c: Likewise.
34044 * io/statfs64.c: Likewise.
34045 * io/statvfs.c: Likewise.
34046 * io/statvfs64.c: Likewise.
34047 * io/symlink.c: Likewise.
34048 * io/symlinkat.c: Likewise.
34049 * io/ttyname.c: Likewise.
34050 * io/ttyname_r.c: Likewise.
34051 * io/umask.c: Likewise.
34052 * io/unlink.c: Likewise.
34053 * io/unlinkat.c: Likewise.
34054 * io/utime.c: Likewise.
34055 * io/utimensat.c: Likewise.
34056 * io/write.c: Likewise.
34057 * io/xmknod.c: Likewise.
34058 * io/xmknodat.c: Likewise.
34059 * io/xstat.c: Likewise.
34060 * io/xstat64.c: Likewise.
34061 * login/getpt.c: Likewise.
34062 * login/grantpt.c: Likewise.
34063 * login/unlockpt.c: Likewise.
34064 * math/e_acoshl.c: Likewise.
34065 * math/e_acosl.c: Likewise.
34066 * math/e_asinl.c: Likewise.
34067 * math/e_atan2l.c: Likewise.
34068 * math/e_atanhl.c: Likewise.
34069 * math/e_coshl.c: Likewise.
34070 * math/e_expl.c: Likewise.
34071 * math/e_fmodl.c: Likewise.
34072 * math/e_gammal_r.c: Likewise.
34073 * math/e_hypotl.c: Likewise.
34074 * math/e_j0l.c: Likewise.
34075 * math/e_j1l.c: Likewise.
34076 * math/e_jnl.c: Likewise.
34077 * math/e_lgammal_r.c: Likewise.
34078 * math/e_log10l.c: Likewise.
34079 * math/e_log2l.c: Likewise.
34080 * math/e_logl.c: Likewise.
34081 * math/e_powl.c: Likewise.
34082 * math/e_rem_pio2l.c: Likewise.
34083 * math/e_sinhl.c: Likewise.
34084 * math/e_sqrtl.c: Likewise.
34085 * math/fclrexcpt.c: Likewise.
34086 * math/fedisblxcpt.c: Likewise.
34087 * math/feenablxcpt.c: Likewise.
34088 * math/fegetenv.c: Likewise.
34089 * math/fegetexcept.c: Likewise.
34090 * math/fegetround.c: Likewise.
34091 * math/feholdexcpt.c: Likewise.
34092 * math/fesetenv.c: Likewise.
34093 * math/fesetround.c: Likewise.
34094 * math/feupdateenv.c: Likewise.
34095 * math/fgetexcptflg.c: Likewise.
34096 * math/fraiseexcpt.c: Likewise.
34097 * math/fsetexcptflg.c: Likewise.
34098 * math/ftestexcept.c: Likewise.
34099 * math/k_cosl.c: Likewise.
34100 * math/k_rem_pio2l.c: Likewise.
34101 * math/k_sinl.c: Likewise.
34102 * math/k_tanl.c: Likewise.
34103 * math/s_asinhl.c: Likewise.
34104 * math/s_atanl.c: Likewise.
34105 * math/s_cbrtl.c: Likewise.
34106 * math/s_erfl.c: Likewise.
34107 * math/s_expm1l.c: Likewise.
34108 * math/s_log1pl.c: Likewise.
34109 * math/s_tanhl.c: Likewise.
34110 * misc/acct.c: Likewise.
34111 * misc/brk.c: Likewise.
34112 * misc/chflags.c: Likewise.
34113 * misc/chroot.c: Likewise.
34114 * misc/fchflags.c: Likewise.
34115 * misc/fgetxattr.c: Likewise.
34116 * misc/flistxattr.c: Likewise.
34117 * misc/fremovexattr.c: Likewise.
34118 * misc/fsetxattr.c: Likewise.
34119 * misc/fsync.c: Likewise.
34120 * misc/ftruncate.c: Likewise.
34121 * misc/futimes.c: Likewise.
34122 * misc/futimesat.c: Likewise.
34123 * misc/getdomain.c: Likewise.
34124 * misc/getdtsz.c: Likewise.
34125 * misc/gethostid.c: Likewise.
34126 * misc/gethostname.c: Likewise.
34127 * misc/getloadavg.c: Likewise.
34128 * misc/getpagesize.c: Likewise.
34129 * misc/getsysstats.c: Likewise.
34130 * misc/getxattr.c: Likewise.
34131 * misc/gtty.c: Likewise.
34132 * misc/ioctl.c: Likewise.
34133 * misc/lgetxattr.c: Likewise.
34134 * misc/listxattr.c: Likewise.
34135 * misc/llistxattr.c: Likewise.
34136 * misc/lremovexattr.c: Likewise.
34137 * misc/lsetxattr.c: Likewise.
34138 * misc/lutimes.c: Likewise.
34139 * misc/madvise.c: Likewise.
34140 * misc/mincore.c: Likewise.
34141 * misc/mlock.c: Likewise.
34142 * misc/mlockall.c: Likewise.
34143 * misc/mmap.c: Likewise.
34144 * misc/mprotect.c: Likewise.
34145 * misc/msync.c: Likewise.
34146 * misc/munlock.c: Likewise.
34147 * misc/munlockall.c: Likewise.
34148 * misc/munmap.c: Likewise.
34149 * misc/preadv.c: Likewise.
34150 * misc/preadv64.c: Likewise.
34151 * misc/ptrace.c: Likewise.
34152 * misc/pwritev.c: Likewise.
34153 * misc/pwritev64.c: Likewise.
34154 * misc/readv.c: Likewise.
34155 * misc/reboot.c: Likewise.
34156 * misc/remap_file_pages.c: Likewise.
34157 * misc/removexattr.c: Likewise.
34158 * misc/revoke.c: Likewise.
34159 * misc/select.c: Likewise.
34160 * misc/setdomain.c: Likewise.
34161 * misc/setegid.c: Likewise.
34162 * misc/seteuid.c: Likewise.
34163 * misc/sethostid.c: Likewise.
34164 * misc/sethostname.c: Likewise.
34165 * misc/setregid.c: Likewise.
34166 * misc/setreuid.c: Likewise.
34167 * misc/setxattr.c: Likewise.
34168 * misc/sstk.c: Likewise.
34169 * misc/stty.c: Likewise.
34170 * misc/swapoff.c: Likewise.
34171 * misc/swapon.c: Likewise.
34172 * misc/sync.c: Likewise.
34173 * misc/syncfs.c: Likewise.
34174 * misc/syscall.c: Likewise.
34175 * misc/truncate.c: Likewise.
34176 * misc/ualarm.c: Likewise.
34177 * misc/usleep.c: Likewise.
34178 * misc/ustat.c: Likewise.
34179 * misc/utimes.c: Likewise.
34180 * misc/vhangup.c: Likewise.
34181 * misc/writev.c: Likewise.
34182 * posix/_exit.c: Likewise.
34183 * posix/alarm.c: Likewise.
34184 * posix/execve.c: Likewise.
34185 * posix/fexecve.c: Likewise.
34186 * posix/fork.c: Likewise.
34187 * posix/fpathconf.c: Likewise.
34188 * posix/getaddrinfo.c: Likewise.
34189 * posix/getegid.c: Likewise.
34190 * posix/geteuid.c: Likewise.
34191 * posix/getgid.c: Likewise.
34192 * posix/getgroups.c: Likewise.
34193 * posix/getlogin.c: Likewise.
34194 * posix/getlogin_r.c: Likewise.
34195 * posix/getpgid.c: Likewise.
34196 * posix/getpid.c: Likewise.
34197 * posix/getppid.c: Likewise.
34198 * posix/getresgid.c: Likewise.
34199 * posix/getresuid.c: Likewise.
34200 * posix/getsid.c: Likewise.
34201 * posix/getuid.c: Likewise.
34202 * posix/glob64.c: Likewise.
34203 * posix/nanosleep.c: Likewise.
34204 * posix/pathconf.c: Likewise.
34205 * posix/pause.c: Likewise.
34206 * posix/posix_madvise.c: Likewise.
34207 * posix/pread.c: Likewise.
34208 * posix/pread64.c: Likewise.
34209 * posix/pwrite.c: Likewise.
34210 * posix/pwrite64.c: Likewise.
34211 * posix/sched_getaffinity.c: Likewise.
34212 * posix/sched_getp.c: Likewise.
34213 * posix/sched_gets.c: Likewise.
34214 * posix/sched_primax.c: Likewise.
34215 * posix/sched_primin.c: Likewise.
34216 * posix/sched_rr_gi.c: Likewise.
34217 * posix/sched_setaffinity.c: Likewise.
34218 * posix/sched_setp.c: Likewise.
34219 * posix/sched_sets.c: Likewise.
34220 * posix/sched_yield.c: Likewise.
34221 * posix/setgid.c: Likewise.
34222 * posix/setlogin.c: Likewise.
34223 * posix/setpgid.c: Likewise.
34224 * posix/setresgid.c: Likewise.
34225 * posix/setresuid.c: Likewise.
34226 * posix/setsid.c: Likewise.
34227 * posix/setuid.c: Likewise.
34228 * posix/sleep.c: Likewise.
34229 * posix/spawni.c: Likewise.
34230 * posix/sysconf.c: Likewise.
34231 * posix/times.c: Likewise.
34232 * posix/wait.c: Likewise.
34233 * posix/wait3.c: Likewise.
34234 * posix/wait4.c: Likewise.
34235 * posix/waitpid.c: Likewise.
34236 * resolv/gai_sigqueue.c: Likewise.
34237 * resource/getpriority.c: Likewise.
34238 * resource/getrlimit.c: Likewise.
34239 * resource/getrusage.c: Likewise.
34240 * resource/nice.c: Likewise.
34241 * resource/setpriority.c: Likewise.
34242 * resource/setrlimit.c: Likewise.
34243 * resource/ulimit.c: Likewise.
34244 * rt/aio_cancel.c: Likewise.
34245 * rt/aio_fsync.c: Likewise.
34246 * rt/aio_read.c: Likewise.
34247 * rt/aio_sigqueue.c: Likewise.
34248 * rt/aio_suspend.c: Likewise.
34249 * rt/aio_write.c: Likewise.
34250 * rt/clock_getres.c: Likewise.
34251 * rt/clock_gettime.c: Likewise.
34252 * rt/clock_nanosleep.c: Likewise.
34253 * rt/clock_settime.c: Likewise.
34254 * rt/lio_listio.c: Likewise.
34255 * rt/mq_close.c: Likewise.
34256 * rt/mq_getattr.c: Likewise.
34257 * rt/mq_notify.c: Likewise.
34258 * rt/mq_open.c: Likewise.
34259 * rt/mq_receive.c: Likewise.
34260 * rt/mq_send.c: Likewise.
34261 * rt/mq_setattr.c: Likewise.
34262 * rt/mq_timedreceive.c: Likewise.
34263 * rt/mq_timedsend.c: Likewise.
34264 * rt/mq_unlink.c: Likewise.
34265 * rt/shm_open.c: Likewise.
34266 * rt/shm_unlink.c: Likewise.
34267 * rt/timer_create.c: Likewise.
34268 * rt/timer_delete.c: Likewise.
34269 * rt/timer_getoverr.c: Likewise.
34270 * rt/timer_gettime.c: Likewise.
34271 * rt/timer_settime.c: Likewise.
34272 * setjmp/__longjmp.c: Likewise.
34273 * setjmp/setjmp.c: Likewise.
34274 * signal/kill.c: Likewise.
34275 * signal/killpg.c: Likewise.
34276 * signal/raise.c: Likewise.
34277 * signal/sigaction.c: Likewise.
34278 * signal/sigaltstack.c: Likewise.
34279 * signal/sigblock.c: Likewise.
34280 * signal/sigignore.c: Likewise.
34281 * signal/sigintr.c: Likewise.
34282 * signal/signal.c: Likewise.
34283 * signal/sigpause.c: Likewise.
34284 * signal/sigpending.c: Likewise.
34285 * signal/sigqueue.c: Likewise.
34286 * signal/sigreturn.c: Likewise.
34287 * signal/sigset.c: Likewise.
34288 * signal/sigsetmask.c: Likewise.
34289 * signal/sigstack.c: Likewise.
34290 * signal/sigsuspend.c: Likewise.
34291 * signal/sigtimedwait.c: Likewise.
34292 * signal/sigvec.c: Likewise.
34293 * signal/sigwait.c: Likewise.
34294 * signal/sigwaitinfo.c: Likewise.
34295 * signal/sysv_signal.c: Likewise.
34296 * socket/accept.c: Likewise.
34297 * socket/accept4.c: Likewise.
34298 * socket/bind.c: Likewise.
34299 * socket/connect.c: Likewise.
34300 * socket/getpeername.c: Likewise.
34301 * socket/getsockname.c: Likewise.
34302 * socket/getsockopt.c: Likewise.
34303 * socket/isfdtype.c: Likewise.
34304 * socket/listen.c: Likewise.
34305 * socket/recv.c: Likewise.
34306 * socket/recvfrom.c: Likewise.
34307 * socket/recvmsg.c: Likewise.
34308 * socket/send.c: Likewise.
34309 * socket/sendmsg.c: Likewise.
34310 * socket/sendto.c: Likewise.
34311 * socket/setsockopt.c: Likewise.
34312 * socket/shutdown.c: Likewise.
34313 * socket/sockatmark.c: Likewise.
34314 * socket/socket.c: Likewise.
34315 * socket/socketpair.c: Likewise.
34316 * stdio-common/ctermid.c: Likewise.
34317 * stdio-common/cuserid.c: Likewise.
34318 * stdio-common/remove.c: Likewise.
34319 * stdio-common/rename.c: Likewise.
34320 * stdio-common/renameat.c: Likewise.
34321 * stdio-common/tempname.c: Likewise.
34322 * stdlib/getcontext.c: Likewise.
34323 * stdlib/makecontext.c: Likewise.
34324 * stdlib/setcontext.c: Likewise.
34325 * stdlib/swapcontext.c: Likewise.
34326 * stdlib/system.c: Likewise.
34327 * streams/fattach.c: Likewise.
34328 * streams/fdetach.c: Likewise.
34329 * streams/getmsg.c: Likewise.
34330 * streams/getpmsg.c: Likewise.
34331 * streams/putmsg.c: Likewise.
34332 * streams/putpmsg.c: Likewise.
34333 * sysdeps/unix/bsd/getpt.c: Likewise.
34334 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
34335 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
34336 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
34337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
34338 Likewise.
34339 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
34340 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
34341 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
34342 * sysvipc/msgctl.c: Likewise.
34343 * sysvipc/msgget.c: Likewise.
34344 * sysvipc/msgrcv.c: Likewise.
34345 * sysvipc/msgsnd.c: Likewise.
34346 * sysvipc/semctl.c: Likewise.
34347 * sysvipc/semget.c: Likewise.
34348 * sysvipc/semop.c: Likewise.
34349 * sysvipc/semtimedop.c: Likewise.
34350 * sysvipc/shmat.c: Likewise.
34351 * sysvipc/shmctl.c: Likewise.
34352 * sysvipc/shmdt.c: Likewise.
34353 * sysvipc/shmget.c: Likewise.
34354 * termios/tcdrain.c: Likewise.
34355 * termios/tcflow.c: Likewise.
34356 * termios/tcflush.c: Likewise.
34357 * termios/tcgetattr.c: Likewise.
34358 * termios/tcgetpgrp.c: Likewise.
34359 * termios/tcsendbrk.c: Likewise.
34360 * termios/tcsetattr.c: Likewise.
34361 * termios/tcsetpgrp.c: Likewise.
34362 * time/adjtime.c: Likewise.
34363 * time/clock.c: Likewise.
34364 * time/getitimer.c: Likewise.
34365 * time/gettimeofday.c: Likewise.
34366 * time/setitimer.c: Likewise.
34367 * time/settimeofday.c: Likewise.
34368 * time/stime.c: Likewise.
34369 * time/time.c: Likewise.
34370
343712012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 34372
a20492cf
PT
34373 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
34374 /usr/old/bin.
34375
72e182e3
PT
34376 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
34377 instead of spaces.
34378 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
34379
fbeafede
JM
343802012-11-03 Joseph Myers <joseph@codesourcery.com>
34381
5b5b04d6
JM
34382 [BZ #14796]
34383 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
34384 FE_TONEAREST before applying Dekker multiplication and Knuth
34385 addition. Clear inexact exceptions and check for exact zero
34386 results afterwards.
34387 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34388 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34389 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34390 * math/libm-test.inc (fma_test): Add more tests.
34391 (fma_test_towardzero): Likewise.
34392 (fma_test_downward): Likewise.
34393 (fma_test_upward): Likewise.
34394 * sysdeps/generic/math_private.h (default_libc_fesetround): New
34395 function.
34396 (libc_fesetround): New macro.
34397 (libc_fesetroundf): Likewise.
34398 (libc_fesetroundl): Likewise.
34399 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
34400 function.
34401 (libc_fesetround_387): Likewise.
34402 (libc_fesetroundf): New macro.
34403 (libc_fesetround): Likewise.
34404 (libc_fesetroundl): Likewise.
34405 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
34406 function.
34407 (libc_fesetroundf): New macro.
34408 (libc_fesetround): Likewise.
34409 (libc_fesetroundl): Likewise.
34410 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
34411 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
34412 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
34413 libm_hidden_ver.
34414 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
34415 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
34416 libm_hidden_def.
34417 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
34418 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
34419 libm_hidden_ver.
34420 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
34421 libm_hidden_def.
34422
fbeafede
JM
34423 [BZ #3439]
34424 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
34425 integer constant usable in #if and use that to give value to enum
34426 constant.
34427 (FE_DIVBYZERO): Likewise.
34428 (FE_UNDERFLOW): Likewise.
34429 (FE_OVERFLOW): Likewise.
34430 (FE_INVALID): Likewise.
34431 (FE_INVALID_SNAN): Likewise.
34432 (FE_INVALID_ISI): Likewise.
34433 (FE_INVALID_IDI): Likewise.
34434 (FE_INVALID_ZDZ): Likewise.
34435 (FE_INVALID_IMZ): Likewise.
34436 (FE_INVALID_COMPARE): Likewise.
34437 (FE_INVALID_SOFTWARE): Likewise.
34438 (FE_INVALID_SQRT): Likewise.
34439 (FE_INVALID_INTEGER_CONVERSION): Likewise.
34440 (FE_TONEAREST): Likewise.
34441 (FE_TOWARDZERO): Likewise.
34442 (FE_UPWARD): Likewise.
34443 (FE_DOWNWARD): Likewise.
34444 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
34445 (FE_DIVBYZERO): Likewise.
34446 (FE_OVERFLOW): Likewise.
34447 (FE_UNDERFLOW): Likewise.
34448 (FE_INEXACT): Likewise.
34449 (FE_TONEAREST): Likewise.
34450 (FE_DOWNWARD): Likewise.
34451 (FE_UPWARD): Likewise.
34452 (FE_TOWARDZERO): Likewise.
34453 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
34454 (FE_UNDERFLOW): Likewise.
34455 (FE_OVERFLOW): Likewise.
34456 (FE_DIVBYZERO): Likewise.
34457 (FE_INVALID): Likewise.
34458 (FE_TONEAREST): Likewise.
34459 (FE_TOWARDZERO): Likewise.
34460 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
34461 (FE_OVERFLOW): Likewise.
34462 (FE_UNDERFLOW): Likewise.
34463 (FE_DIVBYZERO): Likewise.
34464 (FE_INEXACT): Likewise.
34465 (FE_TONEAREST): Likewise.
34466 (FE_TOWARDZERO): Likewise.
34467 (FE_UPWARD): Likewise.
34468 (FE_DOWNWARD): Likewise.
34469 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
34470 (FE_DIVBYZERO): Likewise.
34471 (FE_OVERFLOW): Likewise.
34472 (FE_UNDERFLOW): Likewise.
34473 (FE_INEXACT): Likewise.
34474 (FE_TONEAREST): Likewise.
34475 (FE_DOWNWARD): Likewise.
34476 (FE_UPWARD): Likewise.
34477 (FE_TOWARDZERO): Likewise.
34478
105ca950
CM
344792012-11-02 Chris Metcalf <cmetcalf@tilera.com>
34480
34481 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
34482
a542b389
AS
344832012-11-03 Andreas Schwab <schwab@linux-m68k.org>
34484
34485 * scripts/cross-test-ssh.sh (command): Use newlines to separate
34486 commands. Quote $PWD.
34487 (blacklist_exports): Don't use remove_newlines. Replace "declare
34488 -x" by "export".
34489 (remove_newlines): Remove.
34490
f62c8abc
L
344912012-11-02 H.J. Lu <hongjiu.lu@intel.com>
34492
34493 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
34494 * stdlib/stdlib.h (atof): Moved to ...
34495 * include/bits/stdlib-float.h: Here. New file.
34496 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
34497 * stdlib/bits/stdlib-float.h: New file.
34498 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
34499 -mno-sse -mno-mmx.
34500 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
34501 <xmmintrin.h>.
34502
0155d5b2
JM
345032012-11-02 Joseph Myers <joseph@codesourcery.com>
34504
a68d0680
JM
34505 * conform/conformtest.pl (@headers): Add fenv.h.
34506 * conform/data/fenv.h-data: New file.
34507 * include/fenv.h [_ISOMAC]: Disable all contents of file except
34508 include of <math/fenv.h>.
34509
caf7f573
JM
34510 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
34511 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
34512 && !UNIX98]. Enables tests for XOPEN2K8.
34513 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
34514 POSIX2008]: Likewise.
34515
6c073ad6
JM
34516 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
34517 (struct rusage): Do not expect type or its members.
34518
0155d5b2
JM
34519 [BZ #3439]
34520 * math/math.h (FP_NAN): Define macro to integer constant usable in
34521 #if and use that to give value to enum constant.
34522 (FP_INFINITE): Likewise.
34523 (FP_ZERO): Likewise.
34524 (FP_SUBNORMAL): Likewise.
34525 (FP_NORMAL): Likewise.
34526
b5dcacb4
AS
345272012-11-02 Andreas Schwab <schwab@linux-m68k.org>
34528
34529 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
34530 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
34531 arguments.
34532
f7934be8
RM
345332012-11-02 Roland McGrath <roland@hack.frob.com>
34534
34535 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
34536 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
34537 autoconf-time if not.
34538 * configure.in: Remove AC_PREREQ.
34539
d7d08bde
TMQMF
345402012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34541
34542 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
34543 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
34544 of the internal implementation.
34545
dcdae19a
JM
345462012-11-02 Joseph Myers <joseph@codesourcery.com>
34547
34548 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
34549 except include of <misc/sys/syslog.h>.
34550
d6cffd3e
AS
345512012-11-01 Andreas Schwab <schwab@linux-m68k.org>
34552
34553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
34554 function returns with a NULL context exit with zero.
34555
b3563932
TMQMF
345562012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34557
34558 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
34559
b288a93d
L
345602012-11-01 H.J. Lu <hongjiu.lu@intel.com>
34561
34562 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
34563 (run_program_cmd): This.
34564 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
34565 (tst_langinfo): New variable. Use it.
34566
a2421a68
SAS
345672012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
34568
34569 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
34570 floating point opcodes.
34571
6f796e1b
TS
345722012-11-01 Thomas Schwinge <thomas@codesourcery.com>
34573
7402596b
TS
34574 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
34575 variable.
34576
d0d4f868
TS
34577 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
34578
6f796e1b
TS
34579 * sysdeps/mach/hurd/powerpc: Remove directory.
34580 * sysdeps/mach/powerpc: Likewise.
34581
4da224a2
AS
345822012-11-01 Andreas Schwab <schwab@linux-m68k.org>
34583
34584 * scripts/check-local-headers.sh: Ignore c++ headers.
34585
341dd673
TS
345862012-11-01 Thomas Schwinge <thomas@codesourcery.com>
34587
34588 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
34589 __libc_cleanup_region_start argument.
34590
473611b2
JM
345912012-11-01 Joseph Myers <joseph@codesourcery.com>
34592
34593 [BZ #14784]
34594 [BZ #14785]
34595 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
34596 x * y using scaling, not as x * y + z.
34597 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34598 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34599 * math/libm-test.inc (fma_test): Add more tests.
34600 (fma_test_towardzero): Likewise.
34601 (fma_test_downward): Likewise.
34602 (fma_test_upward): Likewise.
34603
4078da3d
TS
346042012-11-01 Thomas Schwinge <thomas@codesourcery.com>
34605
34606 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
34607
903252aa
JM
346082012-10-31 Joseph Myers <joseph@codesourcery.com>
34609
34610 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
34611 New variable.
34612
cbc818d0
TS
346132012-10-31 Thomas Schwinge <thomas@codesourcery.com>
34614
34615 * rt/tst-shm.c (worker): Correct checking for mmap failure.
34616
5a03cb1e
AS
346172012-10-31 Andreas Schwab <schwab@linux-m68k.org>
34618
34619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34620 Fix sort order.
34621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34622 Likewise.
34623
90aff2ff
TMQMF
346242012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34625
34626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34627 Fix the order of the list for glibc 2.17.
34628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34629 Likewise.
34630
1818fcb7
AS
346312012-10-31 Andreas Schwab <schwab@linux-m68k.org>
34632
34633 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34634
ef82f4da
JM
346352012-10-31 Joseph Myers <joseph@codesourcery.com>
34636
16a0e2ec
JM
34637 [BZ #14610]
34638 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
34639 for low part of x being zero before using __atanl (y).
34640 * math/libm-test.inc (atan2_test): Add another test.
34641
0eb69512
JM
34642 * manual/install.texi (Configuring and compiling): Document
34643 general use of test-wrapper and test-wrapper-env.
34644 * INSTALL: Regenerated.
34645
ef82f4da
JM
34646 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
34647 (__fma): Do not extract and scale down low bits on after-rounding
34648 systems when result rounded to normal precision would have normal
34649 exponent.
34650 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
34651 (__fmal): Do not extract and scale down low bits on after-rounding
34652 systems when result rounded to normal precision would have normal
34653 exponent.
34654 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
34655 (__fmal): Do not extract and scale down low bits on after-rounding
34656 systems when result rounded to normal precision would have normal
34657 exponent.
34658 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
34659 macro.
34660 (fma_test): Add more tests.
34661 (fma_test_towardzero): Likewise.
34662 (fma_test_downward): Likewise.
34663 (fma_test_upward): Likewise.
34664
954ef0d9
L
346652012-10-30 H.J. Lu <hongjiu.lu@intel.com>
34666
34667 * sysdeps/i386/tininess.h: Renamed to ...
34668 * sysdeps/x86/tininess.h: This.
34669 * sysdeps/x86_64/tininess.h: Removed.
34670
df61ffb2
JM
346712012-10-30 Joseph Myers <joseph@codesourcery.com>
34672
34673 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
34674 input. Use $(build-program-cmd).
34675 ($(objpfx)tst-array1-static.out): Likewise.
34676 ($(objpfx)tst-array2.out): Likewise.
34677 ($(objpfx)tst-array3.out): Likewise.
34678 ($(objpfx)tst-array4.out): Likewise.
34679 ($(objpfx)tst-array5.out): Likewise.
34680 ($(objpfx)tst-array5-static.out): Likewise.
34681
01767843
CM
346822012-10-30 Chris Metcalf <cmetcalf@tilera.com>
34683
47cc1490
CM
34684 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
34685 if defined.
34686
01767843
CM
34687 * nss/nsswitch.h (nss_interface_function): Provide new
34688 macro for use with NSS functions.
34689 * grp/initgroups.c: Use new macro.
34690 * nss/getXXbyYY.c: Likewise.
34691 * nss/getXXbyYY_r.c: Likewise.
34692 * nss/getXXent.c: Likewise.
34693 * nss/getXXent_r.c: Likewise.
34694 * sysdeps/posix/getaddrinfo.c: Likewise.
34695
8321aa97
AJ
346962012-10-30 Andreas Jaeger <aj@suse.de>
34697
34698 * po/ru.po: Update Russion translation from translation project.
34699
2a27fd6d
JM
347002012-10-30 Joseph Myers <joseph@codesourcery.com>
34701
8627a232
JM
34702 [BZ #14152]
34703 [BZ #14783]
34704 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
34705 result and shift together with sticky bit instead of replicating
34706 round-to-nearest rounding.
34707 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34708 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34709 * math/libm-test.inc (fma_test): Add more tests. Do not permit
34710 missing underflow exceptions.
34711 (fma_test_towardzero): Add more tests.
34712 (fma_test_downward): Likewise.
34713 (fma_test_upward): Likewise.
34714
2a27fd6d
JM
34715 [BZ #14047]
34716 * sysdeps/generic/tininess.h: New file.
34717 * sysdeps/i386/tininess.h: Likewise.
34718 * sysdeps/sh/tininess.h: Likewise.
34719 * sysdeps/x86_64/tininess.h: Likewise.
34720 * stdlib/tst-strtod-underflow.c: Likewise.
34721 * stdlib/tst-tininess.c: Likewise.
34722 * stdlib/strtod_l.c: Include <tininess.h>.
34723 (round_and_return): Do not set errno for exact underflow cases.
34724 Force an underflow exception when setting errno for underflow.
34725 Determine underflow based on rounding to normal precision if
34726 TININESS_AFTER_ROUNDING.
34727 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
34728 ERANGE for exact underflow cases.
34729 * stdlib/Makefile (tests): Add tst-tininess and
34730 tst-strtod-underflow.
34731 ($(objpfx)tst-tininess): Use $(link-libm).
34732 ($(objpfx)tst-strtod-underflow): Likewise.
34733
e7170363
AJ
347342012-10-30 Andreas Jaeger <aj@suse.de>
34735
e5088dc6
AJ
34736 [BZ#14767]
34737 * elf/Makefile (tests): Remove conditional for have-initfini-array
34738 since this is now always required and the variable does not exist
34739 anymore.
34740 (tests-static): Likewise.
34741 (modules-names): Likewise.
34742
e7170363 34743 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
34744
34745 * elf/tst-array1.c (fini_array): Make writeable so that it can be
34746 merged with constructor/destructor.
34747 (init_array): Likewise.
34748 * elf/tst-array2dep.c (fini_array): Likewise.
34749 (init_array): Likewise.
34750
60457d8a
MF
347512012-10-29 Mike Frysinger <vapier@gentoo.org>
34752
34753 * manual/message.texi: Delete @cartouche tags.
34754
8bece752
PT
347552012-10-29 Pino Toscano <toscano.pino@tiscali.it>
34756
94ce799f
PT
34757 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
34758 EOPNOTSUPP.
34759 * sysdeps/mach/hurd/fsync.c: Likewise.
34760
8bece752
PT
34761 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
34762 [_POSIX_REALTIME_SIGNALS]: Change condition to
34763 [_POSIX_REALTIME_SIGNALS > 0].
34764
86ebe6b1
AJ
347652012-10-27 Andreas Jaeger <aj@suse.de>
34766
34767 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
34768 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
34769 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
34770 [__WORDSIZE != 64]: Likewise.
34771
54399c08
L
347722012-10-26 H.J. Lu <hongjiu.lu@intel.com>
34773
34774 * iconvdata/tst-table.sh: Remove ${SHELL}.
34775 * iconvdata/tst-tables.sh: Likewise.
34776
e2211bed
DM
347772012-10-25 David S. Miller <davem@davemloft.net>
34778
34779 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34780 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
34781 of strtoull.
34782
f303f97c
DM
34783 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
34784 ifunc-impl-list.c
34785 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34786 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
34787 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
34788 file.
34789
1e9d84cd
RM
347902012-10-25 Roland McGrath <roland@hack.frob.com>
34791
34792 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34793 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
34794 __getdirentries.
34795
df381762
JM
347962012-10-25 Joseph Myers <joseph@codesourcery.com>
34797 Jim Blandy <jimb@codesourcery.com>
34798
34799 * scripts/cross-test-ssh.sh: New file.
34800 * manual/install.texi (Configuring and compiling): Document use of
34801 cross-test-ssh.sh.
34802 * INSTALL: Regenerated.
34803
bff64913
PT
348042012-10-25 Pino Toscano <toscano.pino@tiscali.it>
34805
34806 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
34807 EOPNOTSUPP.
34808
25fe8932
JM
348092012-10-25 Joseph Myers <joseph@codesourcery.com>
34810
34811 * Makeconfig (run-program-prefix): Fix comment.
34812
cc1290d0
JM
348132012-10-24 Joseph Myers <joseph@codesourcery.com>
34814 Jim Blandy <jimb@codesourcery.com>
34815
34816 * Makeconfig (test-wrapper): New variable,
34817 (test-wrapper-env): Likewise.
34818 [$(cross-compiling) = yes && $(test-wrapper) != ""]
34819 (run-built-tests): Define to yes.
34820 (run-program-prefix): Use $(test-wrapper).
34821 (built-program-cmd): Likewise.
34822 * Rules (make-test-out): Use $(test-wrapper-env) and
34823 $(host-built-program-cmd).
34824 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
34825 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
34826 tst-pathopt.sh.
34827 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
34828 $(test-wrapper-env) to tst-rtld-load-self.sh.
34829 ($(objpfx)order2.out): Use $(test-wrapper).
34830 ($(objpfx)tst-initorder.out): Likewise.
34831 ($(objpfx)tst-initorder2.out): Likewise.
34832 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
34833 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
34834 (test_wrapper_env): New variable. Use it to run ld.so.
34835 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
34836 Use it to run ld.so.
34837 (test_wrapper_env): Likewise.
34838 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
34839 $(test-wrapper) to run-iconv-test.sh.
34840 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
34841 (ICONV): Use $test_wrapper.
34842 * posix/Makefile ($(objpfx)globtest.out): Pass
34843 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
34844 globtest.sh, not $(run-program-prefix).
34845 * posix/globtest.sh (run_via_rtld_prefix): New variable.
34846 (test_wrapper): Likewise.
34847 (test_wrapper_env): Likewise. Use it to run globtest with HOME
34848 set together with run_via_rtld_prefix.
34849 (run_program_prefix): Define in terms of test_wrapper and
34850 run_via_rtld_prefix.
34851
6e6249d0
RM
348522012-10-24 Roland McGrath <roland@hack.frob.com>
34853
34854 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
34855 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
34856 Targets removed.
34857
34858 [BZ #14743]
34859 * include/time.h: Remove librt_hidden_proto (clock_gettime).
34860 Declare __clock_getres, __clock_gettime, __clock_settime,
34861 __clock_nanosleep, and __clock_getcpuclockid.
34862 * rt/clock_gettime.c: Define __clock_gettime as an alias.
34863 Remove librt_hidden_def (clock_gettime).
34864 * sysdeps/unix/clock_gettime.c: Likewise.
34865 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
34866 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
34867 * rt/clock_getres.c: Define __clock_getres as an alias.
34868 * sysdeps/posix/clock_getres.c: Likewise.
34869 * rt/clock_settime.c: Define __clock_settime as an alias.
34870 * sysdeps/unix/clock_settime.c: Likewise.
34871 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
34872 * sysdeps/unix/clock_nanosleep.c: Likewise.
34873 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
34874 * rt/clock-compat.c: New file.
34875 * rt/Makefile (librt-routines): Add clock-compat and move
34876 $(clock-routines) to ...
34877 (routines): ... here, new variable.
34878 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
34879 Don't add get_clockfreq here.
34880 * rt/Versions (libc: GLIBC_2.17): New version set.
34881 Add clock_* symbols here.
34882 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
34883 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
34884 (GLIBC_2.17): Add clock_* symbols.
34885 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
34886 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
34887 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34889 Likewise.
34890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34891 Likewise.
34892 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34893 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
34894 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
34895 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
34896 * NEWS: Mention the move.
34897
34898 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
34899 Use __open, __read, __close rather than their public counterparts.
34900 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34901 (__get_clockfreq_via_cpuinfo): Likewise.
34902 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
34903 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
34904
34905 * config.h.in (HAVE_IFUNC): New #undef.
34906 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
34907 was successful.
34908 * configure: Regenerated.
34909
0cae3f4b
MF
349102012-10-24 Mike Frysinger <vapier@gentoo.org>
34911
34912 * configure.in: Move READELF check to start of file.
34913 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
34914 libc_cv_asm_gnu_indirect_function in the process.
34915 * configure: Regenerated.
34916
8175a253
MF
349172012-10-24 Mike Frysinger <vapier@gentoo.org>
34918
34919 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
34920 send the output to /dev/null.
34921 (libc_cv_cc_with_libunwind): Likewise.
34922 (libc_cv_as_noexecstack): Likewise.
34923 * configure: Regenerate.
34924
0708a7d1
JM
349252012-10-24 Joseph Myers <joseph@codesourcery.com>
34926
10b40d85
JM
34927 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
34928
0708a7d1
JM
34929 * posix/globtest.sh (TMPDIR): Do not set.
34930 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
34931 (testout): Likewise.
34932
9fddec1a
AJ
349332012-10-24 Andreas Jaeger <aj@suse.de>
34934
3a8db22f
AJ
34935 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
34936 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
34937 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
34938 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
34939 posix_fadvise64, posix_fallocate64.
34940
9fddec1a
AJ
34941 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
34942 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
34943 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
34944 Likewise.
34945 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
34946 Likewise.
34947 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
34948
34949 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
34950 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
34951 <bits/fcntl-linux.h>.
34952 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
34953
34954 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
34955 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
34956 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
34957 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
34958 [__WORDSIZE != 64]: Likewise.
34959
ebfd1bbd
JM
349602012-10-23 Joseph Myers <joseph@codesourcery.com>
34961
03ac099f
JM
34962 * Makeconfig (run-built-tests): New variable.
34963 * Rules [$(cross-compiling) = yes]: Change condition to
34964 [$(run-built-tests) = no].
34965 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
34966 to [$(run-built-tests) = yes].
34967 * elf/Makefile [$(cross-compiling) = no]: Likewise
34968 * grp/Makefile [$(cross-compiling) = no]: Likewise.
34969 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
34970 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
34971 * intl/Makefile [$(cross-compiling) = no]: Likewise.
34972 * io/Makefile [$(cross-compiling) = no]: Likewise.
34973 * libio/Makefile [$(cross-compiling) = no]: Likewise.
34974 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
34975 * misc/Makefile [$(cross-compiling) = no]: Likewise.
34976 * posix/Makefile [$(cross-compiling) = no]: Likewise.
34977 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
34978 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
34979 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
34980 * string/Makefile [$(cross-compiling) = no]: Likewise.
34981
ebfd1bbd
JM
34982 * posix/Makefile ($(objpfx)globtest.out): Pass
34983 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
34984 $(rtld-installed-name).
34985 * posix/globtest.sh (elf_objpfx): Remove variable.
34986 (rtld_installed_name): Likewise.
34987 (library_path): Likewise.
34988 (run_program_prefix): New variable. Use for running globtest
34989 binary.
34990
166bca24
JB
349912012-10-23 Jim Blandy <jimb@codesourcery.com>
34992 Joseph Myers <joseph@codesourcery.com>
34993
34994 * Makeconfig (host-built-program-cmd): New variable.
34995 * elf/Makefile (tst-stackguard1-ARGS): Use
34996 $(host-built-program-cmd).
34997 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
34998 (tst-spawn-ARGS): Likewise.
34999 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
35000
88866099
JM
350012012-10-23 Joseph Myers <joseph@codesourcery.com>
35002 Jim Blandy <jimb@codesourcery.com>
35003
35004 * Makeconfig (run-via-rtld-prefix): New variable.
35005 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
35006 (built-program-cmd): Likewise.
35007
b4b4c296
AJ
350082012-10-22 Andreas Jaeger <aj@suse.de>
35009
35010 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
35011 __O_RSYNC if it exists, otherwise to O_SYNC.
35012
6fb54a22
JB
350132012-10-22 Jim Blandy <jimb@codesourcery.com>
35014 Joseph Myers <joseph@codesourcery.com>
35015
35016 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
35017 /dev/null.
35018 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
35019 from /dev/null
35020 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
35021 /dev/null.
35022
481b90b9
AJ
350232012-10-22 Andreas Jaeger <aj@suse.de>
35024
2a0e2669
AJ
35025 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
35026 Define always.
35027 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
35028
76e38f9a
AJ
35029 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35030 bits/fcntl-linux.h.
35031
7cd37b43
AJ
35032 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
35033 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
35034
481b90b9
AJ
35035 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
35036 to __O_LARGEFILE.
35037 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
35038 to __O_LARGEFILE.
35039
aba75984
JB
350402012-10-21 Jim Blandy <jimb@codesourcery.com>
35041 Joseph Myers <joseph@codesourcery.com>
35042
35043 * config.make.in (NM): New variable.
35044
88d4247f
AJ
350452012-10-21 Andreas Jaeger <aj@suse.de>
35046
35047 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
35048 definitions and declarations that are provided by
35049 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35050
f2eed205
L
350512012-10-20 H.J. Lu <hongjiu.lu@intel.com>
35052
35053 [BZ #14683]
35054 * elf/Makefile (tests-static): Add tst-leaks1-static.
35055 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
35056 ($(objpfx)tst-leaks1-static): New rule.
35057 ($(objpfx)tst-leaks1-static-mem): Likewise.
35058 (tst-leaks1-static-ENV): New macro.
35059 * elf/dl-open.c (dl_open_worker): Check the main application
35060 only if SHARED is defined.
35061 * elf/tst-leaks1-static.c: New file.
35062
335e6931
AJ
350632012-10-20 Andreas Jaeger <aj@suse.de>
35064
35065 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
35066 generic values for Linux.
35067 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
35068 and declarations that are provided by <bits/fcntl-linux.h> and
35069 include <bits/fcntl-linux.h>.
35070 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35071 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35072
ac5c94d3
RM
350732012-10-20 Roland McGrath <roland@hack.frob.com>
35074
35075 * io/fcntl.h: Move include of <bits/types.h> to the top and
35076 include it unconditionally.
35077
de54b33a
L
350782012-10-20 H.J. Lu <hongjiu.lu@intel.com>
35079
228cfb01
L
35080 * wcsmbs/Makefile (tests-ifunc): New variable.
35081 (tests): Add $(tests-ifunc).
35082 * wcsmbs/test-wcschr-ifunc.c: New file.
35083 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
35084 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
35085 * wcsmbs/test-wcslen-ifunc.c: Likewise.
35086 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
35087 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
35088
69f07e5f
L
35089 * string/Makefile (tests-ifunc): New variable.
35090 (tests): Add $(tests-ifunc).
35091 * string/test-memccpy.c (TEST_NAME): New macro.
35092 * string/test-memchr.c (TEST_NAME): Likewise.
35093 * string/test-memcmp.c (TEST_NAME): Likewise.
35094 * string/test-memcpy.c (TEST_NAME): Likewise.
35095 * string/test-memmem.c (TEST_NAME): Likewise.
35096 * string/test-memmove.c (TEST_NAME): Likewise.
35097 * string/test-memset.c (TEST_NAME): Likewise.
35098 * string/test-rawmemchr.c (TEST_NAME): Likewise.
35099 * string/test-stpcpy.c (TEST_NAME): Likewise.
35100 * string/test-stpncpy.c (TEST_NAME): Likewise.
35101 * string/test-strcasecmp.c (TEST_NAME): Likewise.
35102 * string/test-strcasestr.c (TEST_NAME): Likewise.
35103 * string/test-strcat.c (TEST_NAME): Likewise.
35104 * string/test-strchr.c (TEST_NAME): Likewise.
35105 * string/test-strcmp.c(TEST_NAME): Likewise.
35106 * string/test-strcpy.c (TEST_NAME): Likewise.
35107 * string/test-strcspn.c (TEST_NAME): Likewise.
35108 * string/test-strlen.c (TEST_NAME): Likewise.
35109 * string/test-strncasecmp.c (TEST_NAME): Likewise.
35110 * string/test-strncmp.c (TEST_NAME): Likewise.
35111 * string/test-strncpy.c (TEST_NAME): Likewise.
35112 * string/test-strnlen.c (TEST_NAME): Likewise.
35113 * string/test-strpbrk.c (TEST_NAME): Likewise.
35114 * string/test-strrchr.c (TEST_NAME): Likewise.
35115 * string/test-strspn.c (TEST_NAME): Likewise.
35116 * string/test-strstr.c (TEST_NAME): Likewise.
35117 * string/test-bcopy-ifunc.c: New file.
35118 * string/test-bzero-ifunc.c: Likewise.
35119 * string/test-memccpy-ifunc.c: Likewise.
35120 * string/test-memchr-ifunc.c: Likewise.
35121 * string/test-memcmp-ifunc.c: Likewise.
35122 * string/test-memcpy-ifunc.c: Likewise.
35123 * string/test-memmem-ifunc.c: Likewise.
35124 * string/test-memmove-ifunc.c: Likewise.
35125 * string/test-mempcpy-ifunc.c: Likewise.
35126 * string/test-memset-ifunc.c: Likewise.
35127 * string/test-rawmemchr-ifunc.c: Likewise.
35128 * string/test-stpcpy-ifunc.c: Likewise.
35129 * string/test-stpncpy-ifunc.c: Likewise.
35130 * string/test-strcasecmp-ifunc.c: Likewise.
35131 * string/test-strcasestr-ifunc.c: Likewise.
35132 * string/test-strcat-ifunc.c: Likewise.
35133 * string/test-strchr-ifunc.c: Likewise.
35134 * string/test-strchrnul-ifunc.c: Likewise.
35135 * string/test-strcmp-ifunc.c: Likewise.
35136 * string/test-strcpy-ifunc.c: Likewise.
35137 * string/test-strcspn-ifunc.c: Likewise.
35138 * string/test-strlen-ifunc.c: Likewise.
35139 * string/test-strncasecmp-ifunc.c: Likewise.
35140 * string/test-strncat-ifunc.c: Likewise.
35141 * string/test-strncmp-ifunc.c: Likewise.
35142 * string/test-strncpy-ifunc.c: Likewise.
35143 * string/test-strnlen-ifunc.c: Likewise.
35144 * string/test-strpbrk-ifunc.c: Likewise.
35145 * string/test-strrchr-ifunc.c: Likewise.
35146 * string/test-strspn-ifunc.c: Likewise.
35147 * string/test-strstr-ifunc.c: Likewise.
35148
de54b33a
L
35149 * debug/Makefile (tests-ifunc): New variable.
35150 (tests): Add $(tests-ifunc).
35151 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
35152 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
35153 * debug/test-stpcpy_chk-ifunc.c: New file.
35154 * debug/test-strcpy_chk-ifunc.c: Likewise.
35155
88481c16
SP
351562012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
35157
35158 [BZ #13601]
35159 * elf/dl-load.c (open_verify): Retry read if the entire ELF
35160 header is not read in.
35161
135948bd
JM
351622012-10-19 Joseph Myers <joseph@codesourcery.com>
35163
89f1c388
JM
35164 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
35165 script to $(SHELL) as $<. Pass $(common-objpfx) to script
35166 directly. Pass built executable to script as
35167 $(built-program-cmd).
35168 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
35169 $testprogram without using LD_LIBRARY_PATH and $ldso.
35170
e40a0d21
JM
35171 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
35172 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
35173 $(rtld-installed-name).
35174 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
35175 (rtld_installed_name): Likewise.
35176 (library_path): Likewise.
35177 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
35178 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
35179 $(run-program-prefix) to tst-tables.sh.
35180 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
35181 it to run tst-table-from and tst-table-to.
35182 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
35183 Pass it to tst-table.sh.
35184 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
35185 $(run-program-prefix) to tst-gettext.sh.
35186 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
35187 tst-translit.sh.
35188 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
35189 tst-gettext2.sh.
35190 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
35191 to run tst-gettext.
35192 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
35193 to run tst-gettext2.
35194 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
35195 to run tst-translit.
35196 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
35197 $(run-program-prefix) to tst-mtrace.sh.
35198 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
35199 to run tst-mtrace.
35200 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
35201 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
35202 $(rtld-installed-name).
35203 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
35204 (rtld_installed_name): Likewise.
35205 (run_program_prefix): New variable. Use it to run wordexp-test.
35206
728e272a
JM
35207 * Makeconfig (ARCH): Remove all definitions.
35208 (machine): Likewise.
35209 [ARCH]: Remove conditional code.
35210 [!objdir]: Give error.
35211 [!objdir] (objpfx): Remove.
35212 [!objdir] (common-objpfx): Likewise.
35213 [!objdir] (common-objdir): Likewise.
35214 * configure.in (config_makefile): Remove. Hardcode Makefile in
35215 AC_CONFIG_FILES call.
35216 * configure: Regenerated.
35217
d528cdcf
JM
35218 [BZ #13888]
35219 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
35220 or TMPDIR.
35221 (testout): Likewise.
35222
135948bd
JM
35223 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
35224 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
35225 $(rtld-installed-name).
35226 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
35227 (rtld_installed_name): Likwise.
35228 (runit): Remove function.
35229 (run_getconf): New variable, Use it for running getconf binary.
35230
38c78296
L
352312012-10-18 H.J. Lu <hongjiu.lu@intel.com>
35232
35233 [BZ #14716]
35234 * string/test-memmem.c (check_result): New function.
35235 (do_one_test): Use it.
35236 (check1): New function.
35237 (test_main): Use it.
35238
d077f65f
MT
352392012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
35240
35241 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
35242
ced52c71
JM
352432012-10-18 Joseph Myers <joseph@codesourcery.com>
35244
35245 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
35246 (_G_LSEEK64): Likewise.
35247 (_G_MMAP64): Likewise.
35248 (_G_FSTAT64): Likewise.
35249 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
35250 (_G_LSEEK64): Likewise.
35251 (_G_MMAP64): Likewise.
35252 (_G_FSTAT64): Likewise.
35253 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
35254 unconditional. Call __mmap64 directly.
35255 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
35256 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
35257 __lseek64 directly.
35258 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
35259 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
35260 __mmap64 directly.
35261 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
35262 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
35263 __lseek64 directly.
35264 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
35265 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
35266 __lseek64 directly.
35267 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
35268 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
35269 __lseek64 directly.
35270 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
35271 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
35272 __fxstat64 directly.
35273 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
35274 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
35275 unconditional.
35276 (freopen64) [!_G_OPEN64]: Remove conditional code.
35277 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
35278 unconditional.
35279 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
35280 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
35281 unconditional.
35282 (ftello64) [!_G_LSEEK64]: Remove conditional code.
35283 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
35284 unconditional.
35285 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35286 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
35287 unconditional.
35288 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
35289 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
35290 unconditional.
35291 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35292 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
35293 unconditional.
35294 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35295 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
35296 unconditional.
35297 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35298
b741de23
SP
352992012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
35300
35301 [BZ #12140]
35302 * manual/memory.texi (Malloc Tunable Parameters): Add note
35303 about free list pointers overwriting some perturb bytes.
35304 Wording suggested by Roland McGrath.
35305
f9b9d9c9
JM
353062012-10-17 Joseph Myers <joseph@codesourcery.com>
35307
35308 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
35309 (lgamma_test): Likewise.
35310 (tgamma_test): Likewise.
35311
172a631a
FW
353122012-10-16 Florian Weimer <fweimer@redhat.com>
35313
35314 [BZ #14700]
35315 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
35316 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
35317
e9f37252
MK
353182012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
35319
35320 * NEWS: Mention BZ #14716.
35321 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
35322 when removing AVAILABLE1_USES_J macro.
35323
d394eb74
L
353242012-10-12 H.J. Lu <hongjiu.lu@intel.com>
35325
35326 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
35327 (__bswap_64): __uint64_t for unsigned 64-bit int.
35328
ca38dc17
AS
353292012-10-12 Andreas Schwab <schwab@linux-m68k.org>
35330
35331 * include/string.h (memmem): Declare libc hidden alias.
35332 * string/memmem.c (memmem): Define libc hidden alias.
35333 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
35334 __read, __close instead of open, read, close.
35335
9a387d1f
L
353362012-10-11 H.J. Lu <hongjiu.lu@intel.com>
35337
ac49ecaf
L
35338 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
35339 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
35340 global and hidden.
35341 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
35342 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
35343 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
35344 Likewise.
35345 (__rawmemchr_sse2): Likewise.
35346 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
35347 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
35348 (__strchr_sse2): Likewise.
35349 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
35350 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
35351 (__strcasecmp_sse2): Likewise.
35352 (__strncasecmp_sse2): Likewise.
35353 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
35354 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
35355 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
35356 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
35357 (__strrchr_sse2): Likewise.
35358 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
35359 ifunc-impl-list.c.
35360 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
35361 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
35362 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
35363 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
35364 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
35365 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
35366 * sysdeps/x86_64/multiarch/memset.S: Likewise.
35367 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35368 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
35369 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
35370 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
35371 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
35372 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
35373 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
35374 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
35375 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
35376 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
35377 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
35378 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
35379 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
35380 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
35381 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
35382 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
35383 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
35384 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
35385 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35386 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
35387 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
35388 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
35389 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
35390
b090e8ea
L
35391 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
35392 global and hidden.
35393 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
35394 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
35395 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
35396 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
35397 Likewise.
35398 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
35399 Likewise.
35400 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
35401 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
35402 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
35403 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
35404 ifunc-impl-list.c.
35405 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35406 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35407 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35408 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35409 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35410 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35411 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35412 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35413 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35414 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35415 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35416 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35417 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35418 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
35419 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
35420 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35421 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
35422 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
35423 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35424 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35425 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35426 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35427 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35428 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35429 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35430 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
35431 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
35432 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
35433 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
35434 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35435 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
35436 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35437 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35438 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
35439 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35440 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35441 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35442 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35443 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35444 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35445 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
35446
11dd4af6
L
35447 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
35448 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
35449 * include/ifunc-impl-list.h: New file.
35450 * misc/ifunc-impl-list.c: Likewise.
35451 * misc/Makefile (routines): Add ifunc-impl-list.
35452 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
35453 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
35454 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
35455 TEST_NAME]: New variables.
11dd4af6
L
35456 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
35457 are defined.
35458 (test_init): Call __libc_ifunc_impl_list to initialize
35459 func_list if TEST_IFUNC and TEST_NAME are defined.
35460
9a387d1f
L
35461 * string/Makefile (strop-tests): Add bcopy and bzero.
35462 * string/test-bcopy.c: New file.
35463 * string/test-bzero.c: Likewise.
35464 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
35465 defined.
35466 * string/test-memset.c: Support bzero test if TEST_BZERO is
35467 defined.
35468 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
35469 __libc_memmove.
35470 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
35471 __libc_memset.
35472 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
35473 of memset.
35474
472371b9
JM
354752012-10-10 Joseph Myers <joseph@codesourcery.com>
35476
1e4a9536
JM
35477 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
35478 * configure: Regenerated.
35479
d173d12e
JM
35480 * Makeconfig (+link-static-before-libc): Don't include
35481 $(link-static-libc).
35482
472371b9
JM
35483 * libio/libio.h (_IO_pos_t): Remove.
35484
89a3ad0b
AO
354852012-10-10 Alexandre Oliva <aoliva@redhat.com>
35486
35487 * NEWS: Add note about FIPS mode. Wording suggested by Roland
35488 McGrath.
35489
e7451425
AO
354902012-10-10 Alexandre Oliva <aoliva@redhat.com>
35491
35492 * crypt/crypt-entry.c: Include fips-private.h.
35493 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
35494 * crypt/md5c-test.c (main): Tolerate disabled MD5.
35495 * sysdeps/unix/sysv/linux/fips-private.h: New file.
35496 * sysdeps/generic/fips-private.h: New file, dummy fallback.
35497
4ba74a35
AO
354982012-10-10 Alexandre Oliva <aoliva@redhat.com>
35499
35500 * crypt/crypt-private.h: Include stdbool.h.
35501 (_ufc_setup_salt_r): Return bool.
35502 * crypt/crypt-entry.c: Include errno.h.
35503 (__crypt_r): Return NULL with EINVAL for bad salt.
35504 * crypt/crypt_util.c (bad_for_salt): New.
35505 (_ufc_setup_salt_r): Check that salt is long enough and within
35506 the specified alphabet.
35507 * crypt/badsalttest.c: New file.
35508 * crypt/Makefile (tests): Add it.
35509 ($(objpfx)badsalttest): New.
35510
f96f1242
MK
355112012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
35512
35513 * NEWS: Add entry for BZ #14602.
35514
0e8e0c1c
JM
355152012-10-09 Joseph Myers <joseph@codesourcery.com>
35516
35517 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
35518 type-generic.
35519 * math/libm-test.inc: Update comment listing what functions and
35520 macros are tested.
35521 (isgreater_test): New function.
35522 (isgreaterequal_test): Likewise.
35523 (isless_test): Likewise.
35524 (islessequal_test): Likewise.
35525 (islessgreater_test): Likewise.
35526 (isunordered_test): Likewise.
35527 (main): Call the new functions.
35528
273edc5e
RM
355292012-10-09 Roland McGrath <roland@hack.frob.com>
35530
b8493de0
RM
35531 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
35532 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
35533 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
35534 * sysdeps/i386/configure: Regenerated.
35535 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
35536 * sysdeps/mach/configure: Regenerated.
35537 * sysdeps/mach/hurd/configure: Regenerated.
35538 * sysdeps/powerpc/configure: Regenerated.
35539 * sysdeps/powerpc/powerpc32/configure: Regenerated.
35540 * sysdeps/powerpc/powerpc64/configure: Regenerated.
35541 * sysdeps/s390/s390-32/configure: Regenerated.
35542 * sysdeps/s390/s390-64/configure: Regenerated.
35543 * sysdeps/sh/configure: Regenerated.
35544 * sysdeps/sparc/configure: Regenerated.
35545 * sysdeps/unix/sysv/linux/configure: Regenerated.
35546 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
35547 * sysdeps/x86_64/configure: Regenerated.
35548
273edc5e
RM
35549 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
35550 defined. Don't check if MAP is NULL.
35551
c8450f70
JM
355522012-10-09 Joseph Myers <joseph@codesourcery.com>
35553
35554 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
35555 (_G_stat64): Likewise.
35556 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
35557 (_G_stat64): Likewise.
35558 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
35559 instead of struct _G_stat64.
35560 * libio/fileops.c (mmap_remap_check): Likewise.
35561 (decide_maybe_mmap): Likewise.
35562 (_IO_new_file_seekoff): Likewise.
35563 (_IO_file_stat): Likewise.
35564 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
35565 _G_off64_t.
35566 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
35567 instead of struct _G_stat64.
35568 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
35569
57e605ba
MK
355702012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
35571
35572 [BZ #14602]
35573 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35574 Replace with ...
35575 (CHECK_EOL): New macro.
35576 (two_way_short_needle): Check beginning of haystack for EOL. Use
35577 CHECK_EOL.
35578 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35579 Replace with CHECK_EOL.
35580 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35581 Replace with CHECK_EOL.
35582
ef1bb361
JM
355832012-10-08 Joseph Myers <joseph@codesourcery.com>
35584
35585 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
35586 type-generic.
35587 * math/libm-test.inc: Update comment listing what functions and
35588 macros are tested.
35589 (finite_test): New function.
35590 (isinf_test): Likewise.
35591 (isnan_test): Likewise.
35592 (fpclassify_test): Test subnormal input.
35593 (isfinite_test): Likewise.
35594 (isnormal_test): Likewise.
35595 (main): Call the new functions.
35596
55f11534
JN
355972012-10-08 Jonathan Nieder <jrnieder@gmail.com>
35598
35599 [BZ #14660]
35600 * Makerules (%.dynsym): Force C locale when running
35601 $(OBJDUMP) --dynamic-syms.
35602
1ab29350
AS
356032012-10-08 Andreas Schwab <schwab@linux-m68k.org>
35604
35605 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
35606 <stdint.h>.
35607
f1ecb7ef
DM
356082012-10-06 David S. Miller <davem@davemloft.net>
35609
35610 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
35611 upper 32-bits of the length value in %o2 since we use branch-on-register
35612 tests which consider the entire 64-bit register.
35613
5d41d91a
L
356142012-10-06 H.J. Lu <hongjiu.lu@intel.com>
35615
35616 * string/test-strstr.c (check2): Add a test for page boundary.
35617
3baddb72
DM
356182012-10-05 David S. Miller <davem@davemloft.net>
35619
35620 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
35621 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
35622 file.
35623 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
35624 sysdep_routines.
35625 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
35626 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
35627 and bzero when HWCAP_SPARC_CRYPTO is present.
35628
9cee5585
L
356292012-10-05 H.J. Lu <hongjiu.lu@intel.com>
35630
d7e0dab9
L
35631 [BZ #14602]
35632 * string/test-strstr.c (check2): New function.
35633 (test_main): Call check2.
35634
03759f47
L
35635 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
35636 and bug-strchr1.
35637 * string/bug-strcasestr1.c (do_test): Moved to ...
35638 * string/test-strcasestr.c (check1): Here. New function.
35639 (do_one_test): Break out result checking code into ...
35640 (check_result): This. New function.
35641 (do_one_test): Call check_result.
35642 (test_main): Call check1.
35643 * string/bug-strchr1.c (do_test): Moved to ...
35644 * string/test-strchr.c (check1): Here. New function.
35645 (do_one_test): Break out result checking code into ...
35646 (check_result): This. New function.
35647 (do_one_test): Call check_result.
35648 (test_main): Call check1.
35649 * string/bug-strstr1.c (main): Moved to ...
046f153e 35650 * string/test-strstr.c (check1): Here. New function.
03759f47
L
35651 (do_one_test): Break out result checking code into ...
35652 (check_result): This. New function.
35653 (do_one_test): Call check_result.
35654 (test_main): Call check1.
35655 * string/bug-strcasestr1.c: Removed.
35656 * string/bug-strchr1.c: Likewise.
35657 * string/bug-strstr1.c: Likewise.
35658
53cea63e
L
35659 * elf/Makefile (dl-routines): Add hwcaps.
35660 * elf/dl-support.c (_dl_important_hwcaps): Removed.
35661 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
35662 (_dl_important_hwcaps): Moved to ...
35663 * elf/dl-hwcaps.c: Here. New file.
35664 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
35665
9cee5585 35666 [BZ #14557]
bb859b06
L
35667 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
35668 if IS_IN_rtld isn't defined.
35669
9cee5585
L
35670 * elf/dl-support.c (_dl_sysinfo_map): New.
35671 Include "get-dynamic-info.h" and "setup-vdso.h".
35672 (_dl_non_dynamic_init): Call setup_vdso.
35673 * elf/dynamic-link.h: Don't include <assert.h>.
35674 (elf_get_dynamic_info): Moved to ...
35675 * elf/get-dynamic-info.h: Here. New file.
35676 * elf/dynamic-link.h: Include "get-dynamic-info.h".
35677 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
35678 * elf/setup-vdso.h: Here. New file.
35679 * elf/rtld.c: Include "setup-vdso.h".
35680 (dl_main): Call setup_vdso.
35681
23c31b76
JM
356822012-10-05 Joseph Myers <joseph@codesourcery.com>
35683
28234b07
JM
35684 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
35685 creal in comment listing functions tested. List finite, isinf,
35686 isnan, isless, islessequal, isgreater, isgreaterequal,
35687 islessgreater, isunordered, lgamma_r and pow10 as functions and
35688 macros not tested. Mention which functions not tested are aliases
35689 for other functions. Fix typo. Note that signs of NaNs are not
35690 tested.
35691
23c31b76
JM
35692 * scripts/config.guess: Update from config.git.
35693 * scripts/config.sub: Likewise.
35694
9043e228
RM
356952012-10-04 Roland McGrath <roland@hack.frob.com>
35696
35697 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
35698 * misc/madvise.c (madvise): Renamed to __madvise.
35699 Make madvise a weak alias.
35700 * include/sys/mman.h: Declare __madvise.
35701 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
35702 * sysdeps/unix/syscalls.list
35703 (madvise): Make __madvise the strong name, and madvise a weak alias.
35704 * sysdeps/unix/sysv/linux/syscalls.list
35705 (madvise, mmap): Remove redundant entries.
35706 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
35707 * malloc/malloc.c (mtrim): Likewise.
35708 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
35709
f57f8055
RM
357102012-10-03 Roland McGrath <roland@hack.frob.com>
35711
35712 * sysdeps/mach/hurd/dl-cache.c: File removed.
35713 * config.h.in (USE_LDCONFIG): New #undef.
35714 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
35715 * configure: Regenerated.
35716 * elf/Makefile (dl-routines): Add dl-cache only under
35717 [$(use-ldconfig) = yes].
35718 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
35719 cache on [USE_LDCONFIG].
35720 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
35721 [USE_LDCONFIG].
35722 * elf/rtld.c (dl_main): Likewise.
35723
5bb0c10a
PT
357242012-10-03 Pino Toscano <toscano.pino@tiscali.it>
35725
35726 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
35727 _SC_LEVEL4_CACHE_LINESIZE.
35728
010188c6
RM
357292012-10-03 Roland McGrath <roland@hack.frob.com>
35730
35731 * sysdeps/unix/bsd/confstr.h: File removed.
35732
b6c5ec07
AO
357332012-10-02 Alexandre Oliva <aoliva@redhat.com>
35734
35735 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
35736 sys/sdt-config.h.
35737
408223d4
RM
357382012-10-02 Roland McGrath <roland@hack.frob.com>
35739
35740 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
35741 Make 'mapoff' field ElfW(Off) rather than off_t.
35742
bb9510dc
DL
357432012-10-02 Dmitry V. Levin <ldv@altlinux.org>
35744
fc997c6e
DL
35745 * nscd/Makefile: Remove nscd-cflags and all its users.
35746 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
35747 (CFLAGS-nonlib): Add compiler flags for nscd modules.
35748
bb9510dc
DL
35749 [BZ #10631]
35750 * malloc.c (malloc_printerr): Clarify error message.
35751
05699367
L
357522012-10-02 H.J. Lu <hongjiu.lu@intel.com>
35753
35754 [BZ #14648]
35755 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35756 Set bit_FMA_Usable if FMA is supported.
35757 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
35758 macro.
35759 (bit_FMA4_Usable): Updated.
35760 (index_FMA_Usable): New macro.
35761 (CPUID_FMA): Likewise
35762 (HAS_FMA): Defined with bit_FMA_Usable.
35763
51367701
RM
357642012-10-01 Roland McGrath <roland@hack.frob.com>
35765
35766 * bits/types.h (__swblk_t): Type removed.
35767 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
35768 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
35769 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35770 (__SWBLK_T_TYPE): Likewise.
35771 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35772 (__SWBLK_T_TYPE): Likewise.
35773 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35774 (__SWBLK_T_TYPE): Likewise.
35775 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35776 (__SWBLK_T_TYPE): Likewise.
35777
4d57bf63 357782012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 35779 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
35780
35781 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
35782 (xdr_mapname): Use YPMAXMAP as maxsize.
35783 (xdr_peername): Use YPMAXPEER as maxsize.
35784 (xdr_keydat): Use YPAXRECORD as maxsize.
35785 (xdr_valdat): Use YPMAXRECORD as maxsize.
35786
93c65d43
RM
357872012-10-01 Roland McGrath <roland@hack.frob.com>
35788
497a03d6
RM
35789 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
35790
93c65d43
RM
35791 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
35792 * csu/init-first.c: ... here.
35793 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
35794 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
35795 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
35796 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
35797 * sysdeps/i386/init-first.c: File removed.
35798 * sysdeps/sh/init-first.c: File removed.
35799
bec749fd
JM
358002012-10-01 Joseph Myers <joseph@codesourcery.com>
35801
35802 [BZ #14645]
35803 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
35804 if x * y might underflow to zero and z is zero.
35805 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35806 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35807 * math/libm-test.inc (min_subnorm_value): New variable.
35808 (fma_test): Add more tests.
35809 (fma_test_towardzero): Likewise.
35810 (fma_test_downward): Likewise
35811 (fma_test_upward): Likewise.
35812 (initialize): Set min_subnorm_value.
35813
8ec5b013
JM
358142012-09-29 Joseph Myers <joseph@codesourcery.com>
35815
35816 [BZ #14638]
35817 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
35818 0 + 0.
35819 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
35820 mode for addition resulting in exact zero.
35821 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
35822 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
35823 exact 0 + 0.
35824 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35825 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35826 * math/libm-test.inc (fma_test): Add more tests.
35827 (fma_test_towardzero): New function.
35828 (fma_test_downward): Likewise.
35829 (fma_test_upward): Likewise.
35830 (main): Call the new functions.
35831
b1fa802e
DM
358322012-09-28 David S. Miller <davem@davemloft.net>
35833
35834 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
35835
d3b9fd9e
RM
358362012-09-28 Roland McGrath <roland@hack.frob.com>
35837
ea4d37b3
RM
35838 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
35839 instead of SIGALRM.
35840
ac51c949
RM
35841 * sysdeps/gnu/_G_config.h: Moved to ...
35842 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
35843 * sysdeps/mach/hurd/_G_config.h: Moved to ...
35844 * sysdeps/generic/_G_config.h: ... here.
35845
28c195f7
RM
35846 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
35847
848917f9
RM
35848 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
35849
6bacf05b
RM
35850 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
35851 Conditionalize target on [libnss_test1.so-version].
35852
91363dbb
RM
35853 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
35854
cc87f7d8
RM
35855 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
35856 (elfobjdir): Move out of conditionals.
35857
b1c608fe
RM
35858 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
35859 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
35860 (__nss_lookup_function): Conditionalize label remove_from_tree on
35861 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 35862
1d9a6d96
DM
358632012-09-28 David S. Miller <davem@davemloft.net>
35864
35865 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
35866 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
35867 file.
35868 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
35869 sysdep_routines.
35870 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
35871 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
35872 when HWCAP_SPARC_CRYPTO is present.
35873
72581615
PT
358742012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35875
35876 * io/tst-mknodat.c: Create a FIFO instead of a socket.
35877
715a900c
JL
358782012-09-28 Andreas Schwab <schwab@linux-m68k.org>
35879
35880 [BZ #6530]
35881 * stdio-common/vfprintf.c (process_string_arg): Revert
35882 2000-07-22 change.
35883
358842011-09-28 Jonathan Nieder <jrnieder@gmail.com>
35885
35886 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
35887 for testcase.
35888 * stdio-common/tst-sprintf.c: Include <locale.h>
35889 (main): Test sprintf's handling of incomplete multibyte
35890 characters.
35891
9bac1d86
L
358922012-09-28 H.J. Lu <hongjiu.lu@intel.com>
35893
35894 * elf/dl-runtime.c (VERSYMIDX): Removed.
35895 * elf/dl-version.c (VERSYMIDX): Likewise.
35896 * elf/do-rel.h (VERSYMIDX): Likewise.
35897 (VALIDX): Likewise.
35898 * elf/dynamic-link.h (VERSYMIDX): Likewise.
35899 * elf/rtld.c (VALIDX): Likewise.
35900 (ADDRIDX): Likewise.
9bac1d86
L
35901 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
35902 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
35903 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
35904 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
35905 (VALIDX): Likewise.
35906 (ADDRIDX): Likewise.
9bac1d86 35907
b31606c0
PT
359082012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35909
35910 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
35911
11541177
JL
359122012-09-28 Dmitry V. Levin <ldv@altlinux.org>
35913
35914 [BZ #11438]
35915 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
35916 to global scope.
35917 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
35918 addresses are in the same scope as 192.0.2/24.
35919 * posix/gai.conf: Document new scope table defaults.
35920
adb26fae
SP
359212012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35922
35923 [BZ #5298]
35924 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
35925 for ftell. Compute offsets from write pointers instead.
35926 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
35927
4573c6b0
SP
359282012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35929
35930 [BZ #14543]
35931 * libio/Makefile (tests): New test case tst-fseek.
35932 * libio/tst-fseek.c: New test case to verify that fseek/ftell
35933 combination works in wide mode.
35934 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
35935 state when the external buffer state changes.
35936
aa9bbfe6
DM
359372012-09-27 David S. Miller <davem@davemloft.net>
35938
35939 [BZ #14376]
35940 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
35941 pass reloc->r_addend in as the 'high' argument to
35942 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
35943
784421e7
DM
35944 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35945
c39bc8b8
PT
359462012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35947
35948 * rt/tst-aio2.c: Include <pthread.h>.
35949 * rt/tst-aio3.c: Likewise.
35950
1ccc2399
SE
359512012-09-27 Steve Ellcey <sellcey@mips.com>
35952
35953 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
35954
31ed4153
L
359552012-09-27 H.J. Lu <hongjiu.lu@intel.com>
35956
25f5f885
L
35957 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
35958 contents on [SHARED].
31ed4153 35959
b7bfe116
MP
359602012-09-26 Marek Polacek <polacek@redhat.com>
35961
35962 [BZ #14530]
35963 [BZ #13741]
35964 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
35965 for C++ and GCC <4.3 as well as for non GCC compilers.
35966
43c4edba
MT
359672012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
35968
35969 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35970
6a1bf82f
RM
359712012-09-25 Roland McGrath <roland@hack.frob.com>
35972
35973 * Makefile.in (all, install): Declare with .PHONY.
35974 Reported by Michael Hope <michael.hope@linaro.org>.
35975
8ad11b9a
TMQMF
359762012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35977
35978 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
35979 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
35980 system header.
35981 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
35982 Likewise.
35983 (sydep_routines): Add the new and the internal functions.
35984 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
35985 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
35986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
35987 (GLIBC_2.17): Add the new function.
35988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
35989 (GLIBC_2.17): Likewise.
35990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
35991 (GLIBC_2.17): Likewise.
35992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
35993 (GLIBC_2.17): Likewise.
35994 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
35995
7e2fca8d
AM
359962012-09-25 Alan Modra <amodra@gmail.com>
35997
35998 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
35999 Add release barrier before setting once_control to say
36000 initialisation is done. Add hints on lwarx. Use macro in
36001 place of isync.
36002 (clear_once_control): Add release barrier.
36003
b87c4b24
JM
360042012-09-25 Joseph Myers <joseph@codesourcery.com>
36005
d032e0d2
JM
36006 [BZ #13629]
36007 * math/s_clog.c (__clog): Handle more values close to |z| = 1
36008 specially.
36009 * math/s_clog10.c (__clog10): Likewise.
36010 * math/s_clog10f.c (__clog10f): Likewise.
36011 * math/s_clog10l.c (__clog10l): Likewise.
36012 * math/s_clogf.c (__clogf): Likewise.
36013 * math/s_clogl.c (__clogl): Likewise.
36014 * math/Makefile (libm-calls): Add x2y2m1.
36015 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
36016 (__x2y2m1): Likewise.
36017 (__x2y2m1l): Likewise.
36018 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
36019 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
36020 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
36021 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
36022 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
36023 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
36024 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
36025 * sysdeps/i386/fpu/libm-test-ulps: Update.
36026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36027
b87c4b24
JM
36028 [BZ #14621]
36029 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
36030 int as type of variable DEPTH.
36031 (glob): Use size_t instead of int as type of variables NEWCOUNT
36032 and OLD_PATHC.
36033
6d3bf199
LD
360342012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36035
22bf5c17
LD
36036 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
36037 Add s_sincosf-sse2.
36038 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
36039 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
36040 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
36041 macros for using routine as __sincosf_ia32.
36042 Use macro for function declaration and weak_alias.
36043 * sysdeps/i386/fpu/libm-test-ulps: Update.
36044
36045 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
36046 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36047
36048 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
36049 subnormal argument.
36050 * math/s_cexpf.c (__cexpf): Likewise.
36051 * math/s_csinf.c (__csinf): Likewise.
36052 * math/s_csinhf.c (__csinhf): Likewise.
36053 * math/s_ctanf.c (__ctanf): Likewise.
36054 * math/s_ctanhf.c (__ctanhf): Likewise.
36055 * math/s_ccosh.c (__ccoshf): Likewise.
36056 * math/s_cexp.c (__cexpl): Likewise.
36057 * math/s_csin.c (__csin): Likewise.
36058 * math/s_csinh.c (__csinh): Likewise.
36059 * math/s_ctan.c (__ctan): Likewise.
36060 * math/s_ctanh.c (ctanh): Likewise.
36061 * math/s_ccoshl.c (__ccoshl): Likewise.
36062 * math/s_cexpl.c (__cexpl): Likewise.
36063 * math/s_csinl.c (__csinl): Likewise.
36064 * math/s_csinhl.c (__csinhl): Likewise.
36065 * math/s_ctanl.c (__ctanl): Likewise.
36066 * math/s_ctanhl.c (__ctanhl): Likewise.
36067
203e5603
JM
360682012-09-25 Joseph Myers <joseph@codesourcery.com>
36069
36070 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
36071 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
36072 (_IO_off_t): Define to __off_t, not _G_off_t.
36073 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
36074 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
36075 (_IO_wint_t): Define to wint_t, not _G_wint_t.
36076 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
36077 type of __dummy and __dummy2 fields.
36078 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
36079 (_G_ssize_t): Likewise.
36080 (_G_off_t): Likewise.
36081 (_G_pid_t): Likewise.
36082 (_G_uid_t): Likewise.
36083 (_G_wchar_t): Likewise.
36084 (_G_wint_t): Likewise.
36085 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
36086 (_G_ssize_t): Likewise.
36087 (_G_off_t): Likewise.
36088 (_G_pid_t): Likewise.
36089 (_G_uid_t): Likewise.
36090 (_G_wchar_t): Likewise.
36091 (_G_wint_t): Likewise.
36092 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
36093 (_G_ssize_t): Likewise.
36094 (_G_off_t): Likewise.
36095 (_G_pid_t): Likewise.
36096 (_G_uid_t): Likewise.
36097 (_G_wchar_t): Likewise.
36098 (_G_wint_t): Likewise.
36099
9fab36eb
SP
361002012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36101
36102 * malloc/arena.c: Include malloc-sysdep.h.
36103 (shrink_heap): Use check_may_shrink_heap to decide if madvise
36104 is sufficient to shrink the heap or an unmap is needed.
36105 * sysdeps/generic/malloc-sysdep.h: New file. Define
36106 new function check_may_shrink_heap.
36107 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
36108 new function check_may_shrink_heap.
36109
2b4f00d1
SP
361102012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36111
36112 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
36113 comments.
36114
9a9028b1
DL
361152012-09-24 Dmitry V. Levin <ldv@altlinux.org>
36116
57c69bef
DL
36117 * catgets/test-gencat.sh: Add "set -e".
36118 * elf/tst-pathopt.sh: Likewise.
36119 * grp/tst_fgetgrent.sh: Likewise.
36120 * iconvdata/run-iconv-test.sh: Likewise.
36121 * intl/tst-gettext.sh: Likewise.
36122 * intl/tst-gettext2.sh: Likewise.
36123 * intl/tst-gettext4.sh: Likewise.
36124 * intl/tst-gettext6.sh: Likewise.
36125 * intl/tst-translit.sh: Likewise.
36126 * io/ftwtest-sh: Likewise.
36127 * libio/test-freopen.sh: Likewise.
36128 * malloc/tst-mtrace.sh: Likewise.
36129 * posix/globtest.sh: Likewise.
36130 * posix/tst-getconf.sh: Likewise.
36131 * posix/wordexp-tst.sh: Likewise.
36132 * stdio-common/tst-printf.sh: Likewise.
36133 * stdio-common/tst-unbputc.sh: Likewise.
36134 * stdlib/tst-fmtmsg.sh: Likewise.
36135 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
36136 * catgets/Makefile: Do not specify -e option when running
36137 testsuite shell scripts.
36138 * elf/Makefile: Likewise.
36139 * grp/Makefile: Likewise.
36140 * iconvdata/Makefile: Likewise.
36141 * intl/Makefile: Likewise.
36142 * io/Makefile: Likewise.
36143 * libio/Makefile: Likewise.
36144 * malloc/Makefile: Likewise.
36145 * posix/Makefile: Likewise.
36146 * stdio-common/Makefile: Likewise.
36147 * stdlib/Makefile: Likewise.
36148 * sysdeps/x86_64/Makefile: Likewise.
36149
9a9028b1
DL
36150 * io/ftwtest-sh: Add copyright header.
36151 * posix/globtest.sh: Likewise.
36152 * posix/tst-getconf.sh: Likewise.
36153 * posix/wordexp-tst.sh: Likewise.
36154 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
36155
ced6f16e
L
361562012-09-24 H.J. Lu <hongjiu.lu@intel.com>
36157
94b32c39
L
36158 [BZ #13679]
36159 * Makeconfig (+link): Defined as $(+link-static) if
36160 $(build-shared) isn't yes.
36161 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
36162 isn't yes.
36163 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
36164
189e935b
L
36165 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
36166
ced6f16e
L
36167 [BZ #14562]
36168 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
36169 new chunk size with MALLOC_ALIGN_MASK.
36170
a9f8e53a
JM
361712012-09-24 Joseph Myers <joseph@codesourcery.com>
36172
36173 [BZ #5044]
36174 * stdio-common/printf_fphex.c: Include <stdbool.h> and
36175 <rounding-mode.h>.
36176 (__printf_fphex): Determine rounding using get_rounding_mode and
36177 round_away.
36178 * stdio-common/tst-printf-round.c (struct hex_test): New
36179 structure.
36180 (hex_tests): New variable.
36181 (test_hex_in_one_mode): New function.
36182 (do_test): Also run tests for hex float output.
36183
43153109
JM
361842012-09-21 Joseph Myers <joseph@codesourcery.com>
36185
36186 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36187 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36188 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
36189 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36190 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36191 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
36192 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36193 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36194
8a26625d
JM
361952012-09-20 Joseph Myers <joseph@codesourcery.com>
36196
36197 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
36198 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
36199 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
36200 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
36201
f3fd569c
DL
362022012-09-19 Dmitry V. Levin <ldv@altlinux.org>
36203
36204 [BZ #14579]
36205 * elf/rtld.c (dl_main): Limit the check for self loading to normal
36206 mode only.
36207 * elf/tst-rtld-load-self.sh: New test.
36208 * elf/Makefile: Run it.
36209
63bbedd4
JM
362102012-09-18 Joseph Myers <joseph@codesourcery.com>
36211
36212 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
36213 (tst-writev-ENV): Remove.
36214 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
36215
626f8b6a
CM
362162012-09-17 Chris Metcalf <cmetcalf@tilera.com>
36217
36218 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
36219
b7aaa4d6
JM
362202012-09-17 Joseph Myers <joseph@codesourcery.com>
36221
36222 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
36223 unconditional.
36224 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
36225 Likewise.
36226 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
36227 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
36228 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
36229 Likewise.
36230
65513990
L
362312012-09-14 H.J. Lu <hongjiu.lu@intel.com>
36232
36233 [BZ #14587]
36234 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
36235 * config.make.in (have-cpp-asm-debuginfo): Removed.
36236 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
36237 * configure: Regenerated.
36238
784761be
JM
362392012-09-14 Joseph Myers <joseph@codesourcery.com>
36240
36241 [BZ #5044]
36242 * stdio-common/printf_fp.c: Include <stdbool.h> and
36243 <rounding-mode.h>.
36244 (___printf_fp): Determine rounding using get_rounding_mode and
36245 round_away.
36246 * stdio-common/tst-printf-round.c: New file.
36247 * stdio-common/Makefile (tests): Add tst-printf-round.
36248 (link-libm): New variable.
36249 ($(objpfx)tst-printf-round): Depend in $(link-libm).
36250
9503345f
L
362512012-09-13 H.J. Lu <hongjiu.lu@intel.com>
36252
36253 [BZ #14576]
36254 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
36255 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
36256 Likewise.
36257 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
36258 Likewise.
36259
ad35fc00
JM
362602012-09-13 Joseph Myers <joseph@codesourcery.com>
36261
36262 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
36263 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36264 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36265 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36266
6c9b0f68
JM
362672012-09-12 Joseph Myers <joseph@codesourcery.com>
36268
36269 [BZ #14518]
36270 * include/rounding-mode.h: New file.
36271 * sysdeps/generic/get-rounding-mode.h: Likewise.
36272 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
36273 * stdlib/strtod_l.c: Include <rounding-mode.h>.
36274 (MAX_VALUE): New macro.
36275 (MIN_VALUE): Likewise.
36276 (overflow_value): New function.
36277 (underflow_value): Likewise.
36278 (round_and_return): Use overflow_value and underflow_value to
36279 determine return values in overflow and underflow cases. Use
36280 round_away to determine rounding depending on rounding mode.
36281 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
36282 determine return values in overflow and underflow cases.
36283 * stdlib/tst-strtod-round.c: Include <fenv.h>.
36284 (struct test_results): New structure.
36285 (struct test): Use struct test_results to store expected results
36286 for all rounding modes.
36287 (TEST): Include expected results for all rounding modes.
36288 (test_in_one_mode): New function.
36289 (do_test): Use test_in_one_mode to compute and check results.
36290 Check results for all rounding modes.
36291 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
36292 $(link-libm).
36293
19fcedd5
AM
362942012-12-09 Allan McRae <allan@archlinux.org>
36295
1e9d84cd 36296 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 36297
8bbfd2f1
JM
362982012-09-11 Joseph Myers <joseph@codesourcery.com>
36299
36300 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
36301 (_G_int32_t): Likewise.
36302 (_G_uint16_t): Likewise.
36303 (_G_uint32_t): Likewise.
36304 (_G_HAVE_BOOL): Likewise.
36305 (_G_HAVE_ATEXIT): Likewise.
36306 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36307 (_G_HAVE_IO_FILE_OPEN): Likewise.
36308 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
36309 (_G_int32_t): Likewise.
36310 (_G_uint16_t): Likewise.
36311 (_G_uint32_t): Likewise.
36312 (_G_HAVE_BOOL): Likewise.
36313 (_G_HAVE_ATEXIT): Likewise.
36314 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36315 (_G_HAVE_IO_FILE_OPEN): Likewise.
36316 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
36317 (_G_int32_t): Likewise.
36318 (_G_uint16_t): Likewise.
36319 (_G_uint32_t): Likewise.
36320 (_G_HAVE_BOOL): Likewise.
36321 (_G_HAVE_ATEXIT): Likewise.
36322 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36323 (_G_HAVE_IO_FILE_OPEN): Likewise.
36324
b1dc5912
L
363252012-09-11 H.J. Lu <hongjiu.lu@intel.com>
36326
36327 * csu/libc-tls.c: Update copyright years.
36328
0e886ef9
JM
363292012-09-10 Joseph Myers <joseph@codesourcery.com>
36330
28361c5e
JM
36331 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
36332 [!_G_USING_THUNKS]: Remove conditional code.
36333 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
36334 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
36335
0e886ef9
JM
36336 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
36337 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
36338 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36339 (_G_VTABLE_LABEL_PREFIX): Likewise.
36340 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36341 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36342 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36343 (_G_VTABLE_LABEL_PREFIX): Likewise.
36344 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36345 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36346 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36347 (_G_VTABLE_LABEL_PREFIX): Likewise.
36348 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36349
bcba7aa2
L
363502012-09-10 H.J. Lu <hongjiu.lu@intel.com>
36351
36352 * libio/Makefile: Include ../Makeconfig before tests.
36353 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
36354 only if $(build-shared) is yes.
36355
06585ee8
L
36356 * iconv/gconv_db.c: Update copyright years.
36357
80ccd52c
LD
363582012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36359
36360 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
36361 unwind info if defined PIC. Fix special cases description.
36362 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
36363
36364 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
36365 DP_HI_MASK entry.
36366 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
36367
691bc9c1
L
363682012-09-07 H.J. Lu <hongjiu.lu@intel.com>
36369
3d9b46b3
L
36370 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
36371
de2139a9
L
36372 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
36373 is NULL.
36374
5ca78dd0
L
36375 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
36376 (LDLIBS-tst-chk4): This.
36377 (LDFLAGS-tst-chk5): Renamed to ...
36378 (LDLIBS-tst-chk5): This.
36379 (LDFLAGS-tst-chk6): Renamed to ...
36380 (LDLIBS-tst-chk6): This.
36381 (LDFLAGS-tst-lfschk4): Renamed to ...
36382 (LDLIBS-tst-lfschk4): This.
36383 (LDFLAGS-tst-lfschk5): Renamed to ...
36384 (LDLIBS-tst-lfschk5): This.
36385 (LDFLAGS-tst-lfschk6): Renamed to ...
36386 (LDLIBS-tst-lfschk6): This.
36387
691bc9c1
L
36388 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
36389 on $(common-objpfx)soversions.mk.
36390
65cafb1c
JM
363912012-09-07 Joseph Myers <joseph@codesourcery.com>
36392
36393 [BZ #10014]
36394 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
36395 example host name.
36396
c78ab094
SP
363972012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
36398
36399 * malloc/arena.c (arena_get_retry): New function that gets
36400 another arena for the caller to try its request on.
36401 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
36402 current arena cannot fulfill the request.
36403 (__libc_memalign): Likewise.
36404 (__libc_memalign): Likewise.
36405 (__libc_pvalloc): Likewise.
36406 (__libc_calloc): Likewise.
36407
01f49f59
JT
364082012-09-05 John Tobey <john.tobey@gmail.com>
36409
36410 [BZ #13542]
36411 * manual/arith.texi (Operations on Complex): Fix description
36412 of carg branch cut.
36413
4c23fed5
JM
364142012-09-06 Joseph Myers <joseph@codesourcery.com>
36415
1d3c8572
JM
36416 [BZ #10014]
36417 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
36418 host name.
36419
4c23fed5
JM
36420 [BZ #10038]
36421 * manual/memory.texi (Memory): Make order of menu items match
36422 order of sections.
36423
04570aaa
L
364242012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36425
36426 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
36427 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
36428 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
36429
b80af2f4
L
364302012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36431
36432 * csu/libc-tls.c (static_dtv): Renamed to ...
36433 (_dl_static_dtv): This. Make it global.
36434 (_dl_initial_dtv): Removed.
36435 (__libc_setup_tls): Updated.
36436 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
36437 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
36438 DL_INITIAL_DTV.
36439
2abe9f15
PM
364402012-09-06 Petr Machata <pmachata@redhat.com>
36441
36442 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
36443 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
36444 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
36445 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
36446
0948c3af
L
364472012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36448
36449 [BZ #14545]
36450 * csu/libc-tls.c (_dl_initial_dtv): New variable.
36451 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
36452 freeing dtv[-1].
36453
a5055ad1
L
364542012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36455
36456 [BZ #14544]
36457 * Makeconfig (link-static-before-libc): Replace $(+prector)
36458 with $(+prectorT).
36459 (link-static-after-libc): Replace $(+postctor) with
36460 $(+postctorT).
36461 (link-bounded): Replace $(+prector)/$(+postctor) with
36462 $(+prectorT)/$(+postctorT).
36463 (+prectorT): New macro.
36464 (+postctorT): Likewise.
36465
ed8c2ecd
JM
364662012-09-06 Joseph Myers <joseph@codesourcery.com>
36467
36468 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
36469 (round_str): Handle values above the maximum for IBM long double
36470 as inexact.
36471 * stdlib/tst-strtod-round.c (tests): Regenerated.
36472
14c996c8
AK
364732012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36474
36475 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
36476 assembler flag.
36477 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
36478 zarch_nohighgprs around the zarch optimized routines.
36479 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
36480 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
36481 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
36482 for zarch.
36483
430d6ce6
DM
364842012-09-05 David S. Miller <davem@davemloft.net>
36485
36486 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36487
57f41c40
AS
36488 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
36489 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
36490 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
36491 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
36492 entries.
36493
24d4e01b
AO
364942012-09-05 Alexandre Oliva <aoliva@redhat.com>
36495
36496 * malloc/arena.c: Fold copyright years.
36497 * malloc/mcheck.c, malloc/memusage.c: Likewise.
36498
61d58174
AO
364992012-09-05 Alexandre Oliva <aoliva@redhat.com>
36500
36501 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
36502
20196a5e
AO
365032012-09-05 Alexandre Oliva <aoliva@redhat.com>
36504
36505 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
36506
5c447383
AO
365072012-09-05 Alexandre Oliva <aoliva@redhat.com>
36508
36509 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
36510 change internal state upon failure.
36511
fad64255
AO
365122012-09-05 Alexandre Oliva <aoliva@redhat.com>
36513
36514 * malloc/mcheck.c (mcheck_check_all): Fix typo.
36515 * malloc/memusage.c (mmap): Likewise.
36516 (mmap64, mremap): Likewise. Adjust name in comment.
36517
1ffb8c90
SP
365182012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
36519
36520 * libio/fileops.c: Fix typos in comments.
36521 * libio/oldfileops.c: Likewise.
36522 * libio/wfileops.c: Likewise.
36523
6ef9cc37
SP
365242012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
36525
36526 [BZ #1349]
36527 * malloc/Makefile (tests): Add tst-malloc-usable test case.
36528 (tst-malloc-usable-ENV): Set environment for test case.
36529 * malloc/hooks.c (malloc_check_get_size): New function to get
36530 requested size.
36531 * malloc/malloc.c (musable): Use malloc_check_get_size.
36532 * malloc/tst-malloc-usable.c: New test case.
36533
4d038ae3
AS
365342012-09-05 Andreas Schwab <schwab@linux-m68k.org>
36535
36536 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
36537
c4e85184
AM
365382012-09-05 Allan McRae <allan@archlinux.org>
36539
b9dafc56 36540 [BZ #13966]
c4e85184
AM
36541 * configure.in (CXX_SYSINCLUDES): Use compiler output to
36542 determine header location.
36543 * configure: Regenerated.
36544
e1343020
AS
365452012-09-05 Andreas Schwab <schwab@linux-m68k.org>
36546
36547 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
36548 float format.
36549 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
36550 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
36551 format.
e1343020
AS
36552 (test): Regenerate.
36553
0a9f1987
DM
365542012-09-04 David S. Miller <davem@davemloft.net>
36555
36556 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
36557 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
36558 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
36559
29237804
FW
365602012-09-04 Florian Weimer <fweimer@redhat.com>
36561
36562 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
36563 failures.
36564
edb3cb88
FW
36565 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
36566
60160d83
JM
365672012-09-04 Joseph Myers <joseph@codesourcery.com>
36568
36569 [BZ #9914]
36570 * libio/iogetdelim.c: Include <limits.h>.
36571 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
36572 + len + 1 would overflow.
36573
bcd6c8dc
AJ
365742012-09-03 Andreas Jaeger <aj@suse.de>
36575
36576 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36577 * sysdeps/i386/fpu/libm-test-ulps: Update.
36578
4ffffbd2
LD
365792012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36580
36581 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
36582 Add s_sinf-sse2, s_conf-sse2.
36583
36584 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
36585 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
36586 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
36587 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
36588
36589 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
36590 for using routine as __sinf_ia32.
36591 Use macro for function declaration and weak_alias.
36592 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
36593 for using routine as __cosf_ia32.
36594 Use macro for function declaration and weak_alias.
36595
36596 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
36597 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
36598
36599 * sysdeps/x86_64/fpu/s_sinf.S: New file.
36600 * sysdeps/x86_64/fpu/s_cosf.S: New file.
36601 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36602
36603 * math/libm-test.inc (cos_test): Add more test cases.
36604 (sin_test): Likewise.
36605 (sincos_test): Likewise.
36606
511fa286
AK
366072012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36608
36609 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
36610 (IFUNC_RESOLVE): Make pointers to the specialized implementations
36611 hidden.
36612 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
36613
5f30cfec
L
366142012-09-02 H.J. Lu <hongjiu.lu@intel.com>
36615
36616 [BZ #14538]
36617 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
36618 first element of the GOT.
36619 (elf_machine_load_address): Return the difference between
36620 the runtime address of _DYNAMIC and elf_machine_dynamic ().
36621
0786794f
AM
366222012-09-01 Allan McRae <allan@archlinux.org>
36623
5f30cfec
L
36624 [BZ #13412]
36625 * configure.in (AWK): Require gawk version 3.0 or later.
36626 * configure: Regenerated.
0786794f 36627
26889eac
JM
366282012-09-01 Joseph Myers <joseph@codesourcery.com>
36629
36630 * sysdeps/unix/sysv/linux/kernel-features.h
36631 (__ASSUME_POSIX_CPU_TIMERS): Remove.
36632 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
36633 [__NR_clock_getres]: Make code unconditional.
36634 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
36635 (clock_getcpuclockid): Remove code left unreachable by removal of
36636 conditionals.
36637 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
36638 code unconditional.
36639 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
36640 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36641 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
36642 Make code unconditional.
36643 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
36644 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36645 * sysdeps/unix/sysv/linux/clock_settime.c
36646 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
36647 conditional code.
36648 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
36649 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36650
d22e28b0
L
366512012-08-29 H.J. Lu <hongjiu.lu@intel.com>
36652
36653 [BZ #14476]
36654 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
36655 scripts/test-installation.pl.
36656
36657 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
36658 and $ld_so_version if it is set.
36659
050af9c4
SP
366602012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
36661
36662 [BZ #14516]
36663 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
36664 failure if reading from procfs failed.
36665 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
36666
ad845c0b
JM
366672012-08-27 Joseph Myers <joseph@codesourcery.com>
36668
36669 * sysdeps/unix/sysv/linux/kernel-features.h
36670 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
36671 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36672 Remove conditional code.
36673 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36674 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
36675 Remove conditional code.
36676 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36677 * sysdeps/unix/sysv/linux/i386/fxstat.c
36678 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36679 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36680 * sysdeps/unix/sysv/linux/i386/fxstatat.c
36681 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36682 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36683 * sysdeps/unix/sysv/linux/i386/lxstat.c
36684 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36685 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36686 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
36687 Remove conditional code.
36688 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36689 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36690 Remove conditional code.
36691 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36692 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
36693 <kernel-features.h>.
36694 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
36695 Remove.
36696 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
36697 Remove conditional code.
36698 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36699 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
36700 Remove conditional.
36701
5dbf56af
MF
367022012-08-27 Mike Frysinger <vapier@gentoo.org>
36703
36704 [BZ #5400]
36705 * NEWS: Add fixed bug number.
36706
d6e70f43
JM
367072012-08-27 Joseph Myers <joseph@codesourcery.com>
36708
7efb4737
JM
36709 [BZ #14519]
36710 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
36711 underflowing exponent in case of negative sign.
36712 * stdlib/tst-strtod-round-data: Add more tests.
36713 * stdlib/tst-strtod-round.c (tests): Regenerated.
36714
af92131a
JM
36715 [BZ #3479]
36716 * stdlib/strtod_l.c (NDIG): Remove.
36717 (HEXNDIG): Likewise.
36718 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
36719 smallest representable value.
36720 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
36721 lie within an exact representation of 1/2 ulp of the result.
36722 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
36723 unconditionally.
36724 (TENS_P9_IDX): Define unconditionally.
36725 (TENS_P9_SIZE): Likewise.
36726 (TENS_P10_IDX): Likewise.
36727 (TENS_P10_SIZE): Likewise.
36728 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
36729 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
36730 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
36731 entries for 10^2^13 and 10^2^14.
36732 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
36733 (TENS_P13_IDX): Define.
36734 (TENS_P13_SIZE): Likewise.
36735 (TENS_P14_IDX): Likewise.
36736 (TENS_P14_SIZE): Likewise.
36737 (_fpioconst_pow10): Change array size to
36738 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
36739 unconditional.
36740 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
36741 1024]: Add entries for 10^2^13 and 10^2^14.
36742 [LAST_POW10 > _LAST_POW10]: Remove #error.
36743 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
36744 (_fpioconst_pow10): Change array size to
36745 FPIOCONST_POW10_ARRAY_SIZE.
36746 * stdlib/gen-fpioconst.c: New file.
36747 * stdlib/gen-tst-strtod-round.c: Likewise.
36748 * stdlib/tst-strtod-round-data: Likewise.
36749 * stdlib/tst-strtod-round.c: Likewise.
36750 * stdlib/Makefile (tests): Add tst-strtod-round.
36751
d6e70f43
JM
36752 [BZ #14459]
36753 * stdlib/strtod_l.c: Include <stdint.h>.
36754 (NDEBUG): Do not define.
36755 (round_and_return): Change EXPONENT parameter to type intmax_t.
36756 Rearrange calculations to avoid internal overflow possibilities.
36757 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
36758 Rearrange calculations to avoid internal overflow possibilities.
36759 Assert that number fits inside MPNSIZE limbs.
36760 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
36761 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
36762 calculations and add assertions to avoid internal overflow
36763 possibilities. Add casts to avoid signed/unsigned operations.
36764 * stdlib/tst-strtod-overflow.c: New file.
36765 * stdlib/Makefile (tests): Add tst-strtod-overflow.
36766
1f529f7d
MP
367672012-08-25 Marek Polacek <polacek@redhat.com>
36768
36769 * time/time.h: Fix some typos in comments.
36770
59a629f1
RM
367712012-08-23 Roland McGrath <roland@hack.frob.com>
36772
36773 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
36774 * posix/tst-rfc3484-2.c: Likewise.
36775 * posix/tst-rfc3484-3.c: Likewise.
36776
d3bafbc9
SM
367772012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
36778
36779 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
36780 (EF_ARM_ABI_FLOAT_HARD): Likewise.
36781
4efcc022
JM
367822012-08-23 Joseph Myers <joseph@codesourcery.com>
36783
36784 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
36785 #include of fxstatat64.c.
36786
3cc3ef96
RM
367872012-08-22 Roland McGrath <roland@hack.frob.com>
36788
f04e2132
RM
36789 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
36790 * shadow/getspent_r.c: Likewise.
36791 * shadow/getspnam.c: Likewise.
36792 * shadow/getspnam_r.c: Likewise.
36793 * gshadow/getsgent.c: Likewise.
36794 * gshadow/getsgent_r.c: Likewise.
36795 * gshadow/getsgnam.c: Likewise.
36796 * gshadow/getsgnam_r.c: Likewise.
36797 * inet/getnetbyad.c: Likewise.
36798 * inet/getnetbyad_r.c: Likewise.
36799 * inet/getnetbynm.c: Likewise.
36800 * inet/getnetbynm_r.c: Likewise.
36801 * inet/getnetent.c: Likewise.
36802 * inet/getnetent_r.c: Likewise.
36803 * inet/getproto.c: Likewise.
36804 * inet/getproto_r.c: Likewise.
36805 * inet/getprtent.c: Likewise.
36806 * inet/getprtent_r.c: Likewise.
36807 * inet/getprtname.c: Likewise.
36808 * inet/getprtname_r.c: Likewise.
36809 * inet/getrpcbyname.c: Likewise.
36810 * inet/getrpcbyname_r.c: Likewise.
36811 * inet/getrpcbynumber.c: Likewise.
36812 * inet/getrpcbynumber_r.c: Likewise.
36813 * inet/getrpcent.c: Likewise.
36814 * inet/getrpcent_r.c: Likewise.
36815 * inet/getaliasent.c: Likewise.
36816 * inet/getaliasent_r.c: Likewise.
36817 * inet/getaliasname.c: Likewise.
36818 * inet/getaliasname_r.c: Likewise.
36819 * nscd/getgrgid_r.c: Likewise.
36820 * nscd/getgrnam_r.c: Likewise.
36821 * nscd/gethstbyad_r.c: Likewise.
36822 * nscd/gethstbynm3_r.c: Likewise.
36823 * nscd/getpwnam_r.c: Likewise.
36824 * nscd/getpwuid_r.c: Likewise.
36825 * nscd/getsrvbynm_r.c: Likewise.
36826 * nscd/getsrvbypt_r.c: Likewise.
36827 * nscd/gai.c: Likewise.
36828
c53d909c
RM
36829 * configure.in (build_nscd): New substituted variable, set
36830 by --disable-build-nscd and defaults to $use_nscd.
36831 * configure: Regenerated.
36832 * config.make.in (build-nscd): New substituted variable.
36833 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
36834 Change conditional to require [$(build-nscd) = yes] as well.
36835 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
36836
3cc3ef96
RM
36837 [BZ# 13696]
36838 * configure.in (use_nscd): New substituted variable, set by
36839 --disable-nscd. If enabled, define USE_NSCD.
36840 * configure: Regenerated.
36841 * config.h.in: Add USE_NSCD.
36842 * config.make.in (use-nscd): New substituted variable.
36843 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
36844 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
36845 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
36846 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
36847 (CFLAGS-getgrnam_r.c): Likewise.
36848 (CFLAGS-initgroups.c): Likewise.
36849 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
36850 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
36851 Variables removed.
36852 * inet/getnetgrent_r.c
36853 (nscd_setnetgrent): New function, broken out of ...
36854 (setnetgrent): ... here. Call it.
36855 (innetgr): Conditionalize nscd bits on [USE_NSCD].
36856 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
36857 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
36858 * nscd/Makefile (routines, aux): Move definitions after include of
36859 Makeconfig. Conditionalize on [$(use-nscd) != no].
36860 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
36861 Conditionalize on [USE_NSCD].
36862 (is_nscd, nscd_init_cb): Likewise.
36863 (nss_load_library): Conditionalize init callback on [USE_NSCD].
36864 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
36865 * nss/nss_db/db-init.c: Likewise.
36866 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
36867 [USE_NSCD].
36868 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
36869 (make_request): Use it.
36870 (cache_valid_p): New function.
36871 (__check_pf): Use it.
36872 * NEWS: Add item for --disable-nscd.
36873
07e51550
DL
368742012-08-22 Dmitry V. Levin <ldv@altlinux.org>
36875
36876 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
36877 to support sed >= 4.2.1-20-ga9bf076.
36878 * configure: Regenerated.
36879
35a5b08b
RM
368802012-08-22 Roland McGrath <roland@hack.frob.com>
36881
36882 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
36883 Conditionalize whole body on [IREL].
36884
8479f23a
JL
368852012-08-22 Jeff Law <law@redhat.com>
36886
36887 [BZ #14505]
36888 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
36889 if the family is PF_UNSPEC.
36890
48da0b21
MF
368912012-08-22 Mike Frysinger <vapier@gentoo.org>
36892
36893 * Makerules (lib-version): Rename from V.
36894 (install-lib-nosubdir): Change V to lib-version.
36895
15d0da8c
WS
368962012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
36897
36898 [BZ #14252]
36899 * powerpc32/power6/wcschr.c: New file.
36900 * powerpc32/power6/wcscpy.c: New file.
36901 * powerpc32/power6/wcsrchr.c: New file.
36902 * powerpc64/power6/wcschr.c: New file.
36903 * powerpc64/power6/wcscpy.c: New file.
36904 * powerpc64/power6/wcsrchr.c: New file.
36905
bcca0895
MK
369062012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
36907
36908 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
36909 (two_way_short_needle): Use it.
5a4aaa33
RM
36910 * string/strstr.c (AVAILABLE1_USES_J): Define.
36911 * string/strcasestr.c: Likewise.
99677e57
MK
36912
36913 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
36914 array references.
36915 * string/strcasestr.c (TOLOWER): Make side-effect safe.
36916
400726de
MK
36917 [BZ #11607]
36918 * NEWS: Add an entry.
36919 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
36920 define their defaults.
36921 (two_way_short_needle): Detect end-of-string on-the-fly.
36922 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
36923 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
36924 * string/bug-strcasestr1.c: New test.
36925 * string/Makefile: Run it.
36926
20a71f2c
MK
369272012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
36928
36929 [BZ #11607]
36930 * string/str-two-way.h (two_way_short_needle): Optimize matching of
36931 the first character.
36932
21ad0558
RM
369332012-08-21 Roland McGrath <roland@hack.frob.com>
36934
36935 * csu/elf-init.c (__libc_csu_irel): Function removed.
36936 * csu/libc-start.c (apply_irel): New function.
36937 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
36938
0e1d9911
JM
369392012-08-21 Joseph Myers <joseph@codesourcery.com>
36940
36941 * sysdeps/unix/sysv/linux/kernel-features.h
36942 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
36943 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
36944 <kernel-features.h>.
36945 [__NR_fadvise64_64]: Make code unconditional.
36946 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
36947 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36948 !__NR_fadvise64_64)]: Likewise.
36949 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36950 !__NR_fadvise64_64))]: Likewise.
36951 [__NR_fadvise64]: Make code unconditional.
36952 [!__NR_fadvise64]: Remove conditional code.
36953 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
36954 <kernel-features.h>.
36955 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36956 unconditional.
36957 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36958 conditional code.
36959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
36960 not include <kernel-features.h>.
36961 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36962 unconditional.
36963 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36964 conditional code.
36965 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
36966 include <kernel-features.h>.
36967 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36968 unconditional.
36969 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36970 conditional code.
36971
14a50c9d
WS
369722012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36973
36974 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
36975 slight instruction rearrangements per scrollpipe analysis.
36976 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
36977
c0f4faf0
RM
369782012-08-20 Roland McGrath <roland@hack.frob.com>
36979
696da859
RM
36980 * manual/syslog.texi (syslog; vsyslog, closelog):
36981 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
36982 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
36983
c0f4faf0
RM
36984 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
36985 DSOCAPS to match condition on defining it.
36986
348363b2
JM
369872012-08-20 Joseph Myers <joseph@codesourcery.com>
36988
a35cbf28
JM
36989 * sysdeps/unix/sysv/linux/kernel-features.h
36990 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
36991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
36992 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36993 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
36995 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36996 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
36998 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36999 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37000
445f7ecd
JM
37001 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
37002 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
37003
348363b2
JM
37004 * sysdeps/unix/sysv/linux/kernel-features.h
37005 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
37006 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
37007 unconditional.
37008 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37009 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
37010 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
37011 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37012 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
37013 Make code unconditional.
37014 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37015 (__mmap64) [!__NR_mmap2]: Likewise.
37016 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
37017 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
37018 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37019 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
37020 [__NR_mmap2]: Make code unconditional.
37021 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37022 (__mmap64) [!__NR_mmap2]: Likewise.
37023
bc5bc0e5
AK
370242012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37025
37026 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
37027
88d506de
AJ
370282012-08-18 Andreas Jaeger <aj@suse.de>
37029
37030 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
37031
493387d2
MF
370322012-08-18 Mike Frysinger <vapier@gentoo.org>
37033
37034 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
37035 * include/unistd.h (__have_sock_cloexec): Likewise.
37036 (__have_pipe2): Likewise.
37037 (__have_dup3): Likewise.
37038
a277af22
MF
370392012-08-18 Mike Frysinger <vapier@gentoo.org>
37040
37041 [BZ #9685]
37042 * include/unistd.h (__have_pipe2): Change define into an extern int.
37043 (__have_dup3): Likewise.
37044 * socket/have_sock_cloexec.c: Include fcntl.h.
37045 (__have_pipe2): New variable.
37046 (__have_dup3): Likewise.
37047
fdab8fd3
MF
370482012-08-17 Mike Frysinger <vapier@gentoo.org>
37049
37050 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
37051
31035e80
MP
370522012-08-17 Marek Polacek <polacek@redhat.com>
37053
37054 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
37055 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
37056
3bd9e993
RM
370572012-08-17 Roland McGrath <roland@hack.frob.com>
37058
c91c505f
RM
37059 * configure.in: Add AC_SUBST for sysheaders.
37060 * configure: Regenerated.
37061 * config.make.in (sysheaders): New substituted variable.
37062
7c6f9d53
RM
37063 * sysdeps/unix/mkfifo.c: Moved ...
37064 * sysdeps/posix/mkfifo.c: ... here.
37065 * sysdeps/unix/mkfifoat.c: Moved ...
37066 * sysdeps/posix/mkfifoat.c: ... here.
37067
37068 * sysdeps/unix/utime.c: Moved ...
37069 * sysdeps/posix/utime.c: ... here.
37070
37071 * sysdeps/unix/time.c: Moved ...
37072 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
37073 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
37074 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
37075
37076 * sysdeps/unix/nice.c: Moved ...
37077 * sysdeps/posix/nice.c: ... here.
37078
37079 * sysdeps/unix/alarm.c: Moved ...
37080 * sysdeps/posix/alarm.c: ... here.
37081
3bd9e993
RM
37082 * intl/Makefile ($(codeset_mo)): Depend on the input file.
37083
d1f09384
JL
370842012-08-17 Jeff Law <law@redhat.com>
37085
37086 * intl/Makefile (codeset_mo): New variable.
37087 ($(codeset_mo)): New target.
37088 (tst-codeset.out): Depend on that. Remove explicit rule.
37089 (tst-gettext3.out, tst-gettext5.out): Likewise.
37090 (LOCPATH-ENV, tst-codeset-ENV): New variables.
37091 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
37092 * intl/tst-codeset.sh: Remove.
37093 * intl/tst-gettext3.sh: Likewise.
37094 * intl/tst-gettext5.sh: Likewise.
37095
2ae1ae5c
RM
370962012-08-17 Roland McGrath <roland@hack.frob.com>
37097
c31fdb83
RM
37098 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
37099 * sysdeps/unix/syscalls.list: ... here.
37100
a0844057
RM
37101 * sysdeps/posix/getaddrinfo.c
37102 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
37103 (gaiconf_init, gaiconf_reload): Use them.
37104 [!_STATBUF_ST_NSEC]
37105 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
37106 Define using time_t rather than struct timespec.
37107
750c1f2a
RM
37108 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
37109 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
37110 Macros removed.
37111 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
37112 [!NO_THREADS].
37113 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
37114 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
37115 Likewise.
37116
2ae1ae5c
RM
37117 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
37118 __libc_cleanup_push argument.
37119
e66a42f5
RM
37120 * bits/param.h: New file.
37121 * misc/sys/param.h: New file.
37122 * include/sys/param.h: New file.
37123 * misc/Makefile (headers): Add bits/param.h.
37124 * sysdeps/generic/sys/param.h: File removed.
37125 * sysdeps/unix/sysv/linux/bits/param.h: New file.
37126 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
37127 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 37128 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 37129
b7c08a66
RM
37130 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
37131 last change.
37132
b2e1c562
RM
37133 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
37134 [_IO_MTSAFE_IO].
37135 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
37136 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
37137 New macros.
37138
c75ccd4c
RM
37139 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
37140 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
37141 rather than -D_IO_MTSAFE_IO conditionally.
37142 * stdio-common/Makefile (CPPFLAGS): Likewise.
37143 * wcsmbs/Makefile (CPPFLAGS): Likewise.
37144 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
37145 Use $(libio-mtsafe).
37146 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
37147 of -D_IO_MTSAFE_IO.
37148 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
37149 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
37150 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
37151 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
37152 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
37153 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
37154 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
37155 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
37156 (CFLAGS-fread_u_chk.c): Likewise.
37157 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
37158 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
37159 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
37160 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
37161 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
37162 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
37163 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
37164 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
37165 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
37166
37167 * libio/Makefile: Test [$(libc-reentrant) = yes]
37168 instead of [$(filter %REENTRANT, $(defines)) nonempty].
37169
37170 * Makeconfig
37171 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
37172 * sysdeps/pthread/configure: File removed.
37173 * sysdeps/pthread/Makeconfig: New file.
37174 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
37175 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
37176
d9195db8
GB
371772012-08-16 Gary Benson <gbenson@redhat.com>
37178
37179 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
37180 unmapping the first object in a namespace.
37181
86466cd9
RM
371822012-08-16 Roland McGrath <roland@hack.frob.com>
37183
37184 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
37185 (__internal_setnetgrent): ... this. Add internal_function to
37186 definition. Add libc_hidden_def.
37187 (setnetgrent): Update caller.
37188 (internal_endnetgrent): Renamed to ...
37189 (__internal_endnetgrent): ... this. Add internal_function to
37190 definition. Add libc_hidden_def.
37191 (endnetgrent): Update caller.
37192 (internal_getnetgrent_r): Renamed to ...
37193 (__internal_getnetgrent_r): ... this. Add internal_function to
37194 definition. Add libc_hidden_def.
37195 (__getnetgrent_r): Update caller.
37196 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
37197
c3c8283c
JM
371982012-08-16 Joseph Myers <joseph@codesourcery.com>
37199
37200 * stdlib/longlong.h: Update from GCC.
37201
db1ee0a8
RM
372022012-08-16 Roland McGrath <roland@hack.frob.com>
37203
37204 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
37205 on _QL, which is set by umul_ppmm but never used.
37206 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
37207 variables, which are set by GMP macros but never used.
37208 * stdio-common/_itowa.c (_itowa): Likewise.
37209 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
37210 * stdlib/mod_1.c (mpn_mod_1): Likewise.
37211
30f69637
CD
372122012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
37213
37214 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
37215 struct La_sh_regs is not constant.
37216 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
37217 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
37218 and struct La_sparc64_regs are not constant.
37219
93a78ac4
JM
372202012-08-16 Joseph Myers <joseph@codesourcery.com>
37221
37222 * sysdeps/unix/sysv/linux/kernel-features.h
37223 (__ASSUME_POSIX_TIMERS): Remove.
37224 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37225 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37226 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
37227 Make code unconditional.
37228 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37229 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
37230 Make code unconditional.
37231 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37232 * sysdeps/unix/sysv/linux/clock_nanosleep.c
37233 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
37234 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37235 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
37236 Make code unconditional.
37237 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37238 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
37239 (__libc_missing_posix_timers): Remove.
37240
dd924cd7
RM
372412012-08-15 Roland McGrath <roland@hack.frob.com>
37242
4b4f2771
RM
37243 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
37244 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
37245
601c888b
RM
37246 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
37247
176790a7
RM
37248 * elf/dl-sym.c: Include <stdlib.h>.
37249
329bc018
RM
37250 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
37251 constants, which avoids warnings in 32-bit builds.
37252
e04e272d
RM
37253 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
37254 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
37255
952bf94a
RM
37256 * misc/lseek.c: File moved to ...
37257 * io/lseek.c: ... here.
37258
7c99b50a
RM
37259 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
37260
dd924cd7
RM
37261 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
37262 shifting LEN more than 31 bits at once.
37263
b3f479a8
LD
372642012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37265
37266 [BZ #14195]
8c4ae0d4
RM
37267 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
37268 segmentation fault for a case of two empty input strings.
b3f479a8
LD
37269 * string/test-strncasecmp.c (check1): Renamed to...
37270 (bz12205): ...this.
37271 (bz14195): Add new testcase for two empty input strings and N > 0.
37272 (test_main): Call new testcase, adapt for renamed function.
37273
9c55864e
AJ
372742012-08-15 Andreas Jaeger <aj@suse.de>
37275
37276 [BZ #14090]
37277 * crypt/md5test2.c: New test, based on test supplied by Serge
37278 Belyshev <belyshev@depni.sinp.msu.ru>.
37279 * crypt/Makefile (xtests): Add md5test-giant..
37280 * crypt/Makefile ($(objpfx)md5test-giant): Add.
37281
02dcb6c5
PE
372822012-08-15 Paul Eggert <eggert@cs.ucla.edu>
37283
37284 [BZ #14090]
37285 * crypt/md5.c (md5_process_block): Don't assume the buffer
37286 length is less than 2**32.
37287 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
37288 length is less than 2**64.
37289
a3f95dcc
RM
372902012-08-15 Roland McGrath <roland@hack.frob.com>
37291
be75d758
RM
37292 * string/str-two-way.h: Include <sys/param.h>.
37293 (MAX): Macro removed.
37294
7312ca90
RM
37295 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
37296 Move #define and #undef of memmove to just before and after
37297 including <string.h>.
37298
9a0a5486
RM
37299 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
37300 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
37301 and after including <string.h>. Move declarations of
37302 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
37303 to before #include "string/memmove.c".
37304
67cc348d
RM
37305 * include/dirent.h: Declare __getdirentries.
37306
a3f95dcc
RM
37307 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
37308 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
37309
ca98e171
MF
373102012-08-14 Mike Frysinger <vapier@gentoo.org>
37311
37312 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
37313 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
37314 * sysdeps/i386/configure: Regenerated.
37315 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
37316 STABS_CURRENT_FILE, and STABS_FUN.
37317 (END): Remove call to STABS_FUN_END.
37318 (STABS_CURRENT_FILE1): Delete.
37319 (STABS_CURRENT_FILE): Likewise.
37320 (STABS_FUN): Likewise.
37321 (STABS_FUN_END): Likewise.
37322 (STABS_FUN2): Likewise.
37323 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
37324 * sysdeps/x86_64/configure: Regenerated.
37325
5908bf46
RM
373262012-08-14 Roland McGrath <roland@hack.frob.com>
37327
37328 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 37329 * elf/dl-lookup.c: Likewise.
5908bf46 37330
f2c05b9e
JM
373312012-08-14 Joseph Myers <joseph@codesourcery.com>
37332
37333 * sysdeps/unix/sysv/linux/kernel-features.h
37334 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
37335 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
37336 unconditionally.
37337 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
37338 unconditionally.
37339 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
37340 condition on __ASSUME_CLONE_THREAD_FLAGS.
37341
e11f5155
AJ
373422012-08-14 Andreas Jaeger <aj@suse.de>
37343
37344 * sysdeps/i386/fpu/libm-test-ulps: Update.
37345
51a9ba86
MK
373462012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
37347
2fdd4f78
AJ
37348 * include/atomic.h (atomic_exchange_and_add): Split into ...
37349 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
37350 New atomic macros.
51a9ba86 37351
ba6cba9e
MT
373522012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
37353
37354 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37355
42443a47
JL
373562012-08-13 Jeff Law <law@redhat.com>
37357
37358 * manual/stdio.texi (snprintf): Clarify handling of the trailing
37359 null byte in the output string.
37360
121dce05
JM
373612012-08-10 Joseph Myers <joseph@codesourcery.com>
37362
37363 * sysdeps/unix/sysv/linux/kernel-features.h
37364 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
37365 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
37366 (__ASSUME_ARG_MAX_STACK_BASED): Define.
37367 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
37368 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
37369 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
37370 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
37371
bf51f568
JL
373722012-08-09 Jeff Law <law@redhat.com>
37373
37374 [BZ #13939]
37375 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
37376 When avoid_arena is set, don't retry in the that arena. Pick the
37377 next one, whatever it might be.
37378 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
37379 (arena_lock): Pass in new parameter to arena_get2.
37380 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
37381 arena_get2.
37382 (__libc_malloc): Unify retrying after main arena failure with
37383 __libc_memalign version.
37384 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
37385
f85fa270
L
373862012-08-09 H.J. Lu <hongjiu.lu@intel.com>
37387
37388 [BZ #14166]
37389 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
37390 to __redirect_strstr.
37391 (__strstr_sse42): Use typeof __redirect_strstr.
37392 (__strstr_ia32): Likewise.
37393 (__libc_strstr): New prototype.
37394 (strstr): Renamed to ...
37395 (__libc_strstr): This.
37396 (strstr): New strong alias of __libc_strstr.
37397 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37398 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
37399 __redirect_time.
37400 Include <time.h>.
37401 (__libc_time): New prototype.
37402 (time_ifunc): Replace time with __libc_time.
37403 (time): New strong alias and hidden definition of __libc_time.
37404 (__GI_time): Remove strong alias.
37405 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
37406 Include <stddef.h>.
37407 (memmove): Redefined to __redirect_memmove.
37408 (__memmove_sse2): Use typeof __redirect_memmove.
37409 (__memmove_ssse3): Likewise.
37410 (__memmove_ssse3_back): Likewise.
37411 (__libc_memmove): New prototype.
37412 (memmove): Renamed to ...
37413 (__libc_memmove): This.
37414 (memmove): New strong alias of __libc_memmove.
37415
33b4a91e
MS
374162012-08-08 Mark Salter <msalter@redhat.com>
37417
37418 * elf/elf.h
37419 (R_MN10300_TLS_GD): Define.
37420 (R_MN10300_TLS_LD): Likewise.
37421 (R_MN10300_TLS_LDO): Likewise.
37422 (R_MN10300_TLS_GOTIE): Likewise.
37423 (R_MN10300_TLS_IE): Likewise.
37424 (R_MN10300_TLS_LE): Likewise.
37425 (R_MN10300_TLS_DTPMOD): Likewise.
37426 (R_MN10300_TLS_DTPOFF): Likewise.
37427 (R_MN10300_TLS_TPOFF): Likewise.
37428 (R_MN10300_SYM_DIFF): Likewise.
37429 (R_MN10300_ALIGN): Likewise.
37430 (R_MN10300_NUM): Update.
37431
b36137f1
JM
374322012-08-08 Joseph Myers <joseph@codesourcery.com>
37433
37434 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
37435 Remove.
37436
cdd915fd
RM
374372012-08-08 Roland McGrath <roland@hack.frob.com>
37438
a2433aac
RM
37439 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
37440
cdd915fd
RM
37441 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
37442 sysdeps/unix -> sysdeps/posix move.
37443 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
37444
bf9b740a
AM
374452012-08-07 Allan McRae <allan@archlinux.org>
37446
37447 [BZ #14303]
37448 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
37449 (SUNOS_CPP): Likewise.
37450 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
37451 not found.
37452 (open_input): Call CPP using execvp.
37453
93df14ee
JM
374542012-08-07 Joseph Myers <joseph@codesourcery.com>
37455
37456 * sysdeps/unix/sysv/linux/kernel-features.h
37457 (__ASSUME_PROT_GROWSUPDOWN): Remove.
37458 (__ASSUME_NO_CLONE_DETACHED): Likewise.
37459 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
37460 (__ASSUME_WAITID_SYSCALL): Likewise.
37461 * sysdeps/unix/sysv/linux/dl-execstack.c
37462 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
37463 code unconditional.
37464 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
37465 conditional code.
37466 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
37467 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
37468 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
37469 code.
37470 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
37471 unconditional.
37472 [__ASSUME_WAITID_SYSCALL]: Likewise.
37473 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
37474
d34689de
RM
374752012-08-07 Roland McGrath <roland@hack.frob.com>
37476
a281decc
RM
37477 * sysdeps/unix/closedir.c: Renamed to ...
37478 * sysdeps/posix/closedir.c: ... here.
37479 * sysdeps/unix/dirfd.c: Renamed to ...
37480 * sysdeps/posix/dirfd.c: ... here.
37481 * sysdeps/unix/dirstream.h: Renamed to ...
37482 * sysdeps/posix/dirstream.h: ... here.
37483 * sysdeps/unix/fdopendir.c: Renamed to ...
37484 * sysdeps/posix/fdopendir.c: ... here.
37485 * sysdeps/unix/opendir.c: Renamed to ...
37486 * sysdeps/posix/opendir.c: ... here.
37487 * sysdeps/unix/readdir.c: Renamed to ...
37488 * sysdeps/posix/readdir.c: ... here.
37489 * sysdeps/unix/readdir_r.c: Renamed to ...
37490 * sysdeps/posix/readdir_r.c: ... here.
37491 * sysdeps/unix/rewinddir.c: Renamed to ...
37492 * sysdeps/posix/rewinddir.c: ... here.
37493 * sysdeps/unix/seekdir.c: Renamed to ...
37494 * sysdeps/posix/seekdir.c: ... here.
37495 * sysdeps/unix/telldir.c: Renamed to ...
37496 * sysdeps/posix/telldir.c: ... here.
37497 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
37498 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
37499 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
37500 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
37501
22895b47
RM
37502 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
37503 * bits/fcntl.h: ... here.
37504
707a53b6
RM
37505 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
37506 not 0.
37507 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
37508 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
37509 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
37510 (struct flock): Move l_start, l_len to the beginning.
37511 Use __pid_t for l_pid.
37512 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
37513 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
37514 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
37515 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
37516 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
37517 [__USE_LARGEFILE64] (struct flock64): New type.
37518 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
37519
f0bd3e25
RM
37520 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
37521 * bits/dirent.h: ... here.
37522
d34689de
RM
37523 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
37524 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
37525
6dad2c06
JM
375262012-08-07 Joseph Myers <joseph@codesourcery.com>
37527
37528 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37529 Change from 2.6.0 to 2.6.16.
37530 * sysdeps/unix/sysv/linux/configure: Regenerated.
37531 * sysdeps/unix/sysv/linux/kernel-features.h
37532 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
37533 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
37534 version.
37535 (__ASSUME_UTIMES): Likewise.
37536 (__ASSUME_CLONE_STOPPED): Remove.
37537 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
37538 architectures, not kernel version.
37539 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
37540 (__ASSUME_NO_CLONE_DETACHED): Likewise.
37541 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
37542 (__ASSUME_WAITID_SYSCALL): Likewise.
37543 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
37544 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
37545 * README: State 2.6.16 as minimum Linux kernel version. Do not
37546 refer to older versions.
37547
03af9520
RM
375482012-08-06 Roland McGrath <roland@hack.frob.com>
37549
8e49df1d
RM
37550 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
37551 Define alphasort64 as an alias.
37552 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
37553 Define versionsort64 as an alias.
37554 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
37555 Define scandir64 as an alias.
37556 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
37557 Define scandirat64 as an alias.
37558 * dirent/alphasort64.c (alphasort64):
37559 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
37560 * dirent/versionsort64.c: Likewise.
37561 * dirent/scandir64.c: Likewise.
37562 * dirent/scandirat64.c: Likewise.
37563 * sysdeps/wordsize-64/alphasort.c: File removed.
37564 * sysdeps/wordsize-64/alphasort64.c: File removed.
37565 * sysdeps/wordsize-64/scandir.c: File removed.
37566 * sysdeps/wordsize-64/scandir64.c: File removed.
37567 * sysdeps/wordsize-64/scandirat.c: File removed.
37568 * sysdeps/wordsize-64/scandirat64.c: File removed.
37569 * sysdeps/wordsize-64/versionsort.c: File removed.
37570 * sysdeps/wordsize-64/versionsort64.c: File removed.
37571 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
37572 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
37573 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
37574 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
37575 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
37576 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
37577 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
37578 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
37579
37580 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
37581 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
37582 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
37583 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37584 [defined __arch64__ || defined __sparcv9]
37585 (__INO_T_MATCHES_INO64_T): New macro.
37586 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37587 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
37588 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
37589 * sysdeps/unix/sysv/linux/bits/dirent.h
37590 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
37591 (_DIRENT_MATCHES_DIRENT64): New macro.
37592
03af9520
RM
37593 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
37594 Define lockf64 as an alias.
37595 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
37596 Define fseeko64 as an alias.
37597 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
37598 Define ftello64 as an alias.
37599 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
37600 Define _IO_fgetpos64 and fgetpos64 as aliases.
37601 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
37602 Define _IO_fsetpos64 and fsetpos64 as aliases.
37603 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
37604 Conditionalize body on this.
37605 * libio/fseeko64.c: Likewise.
37606 * libio/ftello64.c: Likewise.
37607 * libio/iofgetpos64.c: Likewise.
37608 * libio/iofsetpos64.c: Likewise.
37609 * sysdeps/wordsize-64/lockf.c: File removed.
37610 * sysdeps/wordsize-64/lockf64.c: File removed.
37611 * sysdeps/wordsize-64/fseeko.c: File removed.
37612 * sysdeps/wordsize-64/fseeko64.c: File removed.
37613 * sysdeps/wordsize-64/ftello.c: File removed.
37614 * sysdeps/wordsize-64/ftello64.c: File removed.
37615 * sysdeps/wordsize-64/iofgetpos.c: File removed.
37616 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
37617 * sysdeps/wordsize-64/iofsetpos.c: File removed.
37618 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
37619 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
37620 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
37621 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
37622 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
37623 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
37624 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
37625 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
37626 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
37627 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
37628 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
37629
37630 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
37631 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
37632 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
37633 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37634 [defined __arch64__ || defined __sparcv9]
37635 (__OFF_T_MATCHES_OFF64_T): New macro.
37636 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37637 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
37638 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37639 (__OFF_T_MATCHES_OFF64_T): New macro.
37640
c5757acd
L
376412012-08-06 H.J. Lu <hongjiu.lu@intel.com>
37642
37643 * stdlib/secure-getenv.c (__secure_getenv): Replace
37644 GLIBC_2_16 with GLIBC_2_17.
37645
3a31811e
L
376462012-08-06 H.J. Lu <hongjiu.lu@intel.com>
37647
37648 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
37649 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
37650
faa2bccb
DM
376512012-08-03 David S. Miller <davem@davemloft.net>
37652
37653 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37654
85fe1997
JM
376552012-08-03 Joseph Myers <joseph@codesourcery.com>
37656
37657 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
37658 Remove.
37659 (__ASSUME_CORRECT_SI_PID): Likewise.
37660 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
37661 (__ASSUME_TMPFS_NAME): Likewise.
37662 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
37663 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
37664 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
37665 (HAVE_AUX_SECURE): Make definition unconditional.
37666 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
37667 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
37668
4f75b7a0
RM
376692012-08-03 Roland McGrath <roland@hack.frob.com>
37670
37671 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
37672 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
37673 * sysdeps/mach/hurd/eloop-threshold.h: New file.
37674 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
37675 __eloop_threshold instead of SYMLOOP_MAX.
37676
37677 * sysdeps/generic/eloop-threshold.h: New file.
37678 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
37679 of MAXSYMLINKS.
37680 * elf/chroot_canon.c (chroot_canon): Likewise.
37681
7aab07e4
JM
376822012-08-03 Joseph Myers <joseph@codesourcery.com>
37683
37684 [BZ #13717]
37685 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37686 Change to 2.6.0 everywhere.
37687 * sysdeps/unix/sysv/linux/configure: Regenerated.
37688 * sysdeps/unix/sysv/linux/kernel-features.h
37689 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
37690 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
37691 kernel versions.
37692 (__ASSUME_POSIX_TIMERS): Define unconditionally.
37693 (__ASSUME_FUTEX_REQUEUE): Remove.
37694 (__ASSUME_STATFS64): Define unconditionally.
37695 (__ASSUME_AT_SECURE): Likewise.
37696 (__ASSUME_CORRECT_SI_PID): Likewise.
37697 (__ASSUME_TGKILL): Define without depending on kernel version for
37698 i386.
37699 (__ASSUME_UTIMES): Likewise.
37700 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
37701 kernel version.
37702 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
37703 (__ASSUME_TMPFS_NAME): Likewise.
37704 * README: Update reference to Linux kernel versions.
37705
b67e9372
MP
377062012-08-02 Marek Polacek <polacek@redhat.com>
37707
1f529f7d 37708 [BZ# 14150]
b67e9372
MP
37709 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
37710 libc_cv_asm_type_prefix with %.
37711 * configure: Regenerated.
d2441631
RM
37712 * include/libc-symbols.h: Remove comment about
37713 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
37714 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
37715 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
37716 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
37717 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
37718 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
37719 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
37720 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
37721 * elf/tst-unique2mod1.c: Likewise.
37722 * elf/tst-unique1mod2.c: Likewise.
37723 * elf/tst-unique1mod1.c: Likewise.
37724 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
37725 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
37726 Replace ASM_TYPE_DIRECTIVE with .type.
37727 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37728 * sysdeps/i386/sysdep.h: Likewise.
37729 * sysdeps/x86_64/sysdep.h: Likewise.
37730 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
37731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37732 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 37733 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
37734 * sysdeps/powerpc/powerpc32/sysdep.h:
37735 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
37736 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
37737 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
37738 * sysdeps/i386/fpu/e_powf.S: Likewise.
37739 * sysdeps/i386/fpu/e_expl.S: Likewise.
37740 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37741 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37742 * sysdeps/i386/fpu/e_pow.S: Likewise.
37743 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37744 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37745 * sysdeps/i386/fpu/s_expm1.S: Likewise.
37746 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37747 * sysdeps/i386/fpu/e_log2.S: Likewise.
37748 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37749 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37750 * sysdeps/i386/fpu/e_powl.S: Likewise.
37751 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37752 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37753 * sysdeps/i386/fpu/e_logl.S: Likewise.
37754 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37755 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37756 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37757 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37758 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37759 * sysdeps/i386/fpu/e_log.S: Likewise.
37760 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37761 * sysdeps/i386/fpu/e_logf.S: Likewise.
37762 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37763 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37764 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37765 * sysdeps/i386/fpu/e_log10.S: Likewise.
37766 * sysdeps/i386/fpu/s_frexp.S: Likewise.
37767 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37768 * sysdeps/i386/fpu/s_asinh.S: Likewise.
37769 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37770 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37771 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
37772 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37773 * sysdeps/i386/i686/strtok.S: Likewise.
37774 * sysdeps/i386/i386-mcount.S: Likewise.
37775 * sysdeps/i386/strtok.S: Likewise.
37776 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
37777 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37778 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37779 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37780 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37781 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37782 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37783 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37784 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37785 * sysdeps/x86_64/_mcount.S: Likewise.
37786 * sysdeps/x86_64/strtok.S: Likewise.
37787 * sysdeps/sh/_mcount.S: Likewise.
37788
2747bf9a
RM
377892012-08-01 Roland McGrath <roland@hack.frob.com>
37790
37791 * libio/iofopen.c: Include <fcntl.h>.
37792 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
37793 (_IO_fopen64, fopen64): Define as aliases.
37794 * libio/iofopen64.c: Include <fcntl.h>.
37795 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
37796 Conditionalize body on this.
37797 * sysdeps/wordsize-64/iofopen.c: File removed.
37798 * sysdeps/wordsize-64/iofopen64.c: File removed.
37799
3fb791b8
MP
378002012-08-01 Marek Polacek <polacek@redhat.com>
37801
37802 * libc/Makeconfig: Use elf in place of binfmt-subdir.
37803 Use dlfcn directly instead of a variable.
37804 (binfmt-subdir): Do not define.
37805 (dlfcn): Likewise.
37806
a9f1039f
JM
378072012-08-01 Joseph Myers <joseph@codesourcery.com>
37808
23bddc06
JM
37809 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
37810 Remove all definitions.
37811 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
37812 <kernel-features.h>.
37813 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37814 (miss_F_GETOWN_EX): Remove all definitions.
37815 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
37816 macro definition.
37817 [!__ASSUME_FCNTL64]: Remove conditional code.
37818 [__ASSUME_FCNTL64]: Make code unconditional.
37819 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
37820 <kernel-features.h>.
37821 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37822 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
37823 (lockf64) [__NR_fcntl64]: Make code unconditional.
37824 (lockf64) [__ASSUME_FCNTL64]: Likewise.
37825
a9f1039f
JM
37826 * sysdeps/unix/sysv/linux/kernel-features.h
37827 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
37828 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
37829 Make code unconditional.
37830 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37831 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
37833 [__NR_vfork]: Make code unconditional.
37834 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37835 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
37837 [__NR_vfork]: Make code unconditional.
37838 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37839 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37840
09c0ee5f
RM
378412012-08-01 Roland McGrath <roland@hack.frob.com>
37842
48aec5b9
RM
37843 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
37844 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
37845
cd97c966
RM
37846 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37847 Define mkstemp64 as an alias.
3f55550c
RM
37848 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37849 Define mkstemps64 as an alias.
cd97c966
RM
37850 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37851 Define mkostemp64 as an alias.
b8625cfc
RM
37852 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37853 Define mkostemps64 as an alias.
cd97c966
RM
37854 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
37855 Conditionalize body on this.
37856 * misc/mkostemp64.c: Likewise.
b8625cfc 37857 * misc/mkostemps64.c: Likewise.
3f55550c 37858 * misc/mkstemps64.c: Likewise.
cd97c966
RM
37859 * sysdeps/wordsize-64/mkstemp64.c: File removed.
37860 * sysdeps/wordsize-64/mkostemp64.c: File removed.
37861 * sysdeps/wordsize-64/mkostemp.c: File removed.
37862 * sysdeps/wordsize-64/mkstemp.c: File removed.
37863 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
37864 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
37865 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
37866 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
37867
09c0ee5f
RM
37868 [BZ #14138]
37869 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
37870 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
37871 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
37872 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
37873
37874 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
37875 compat_symbol macros from <shlib-compat.h> rather than the underlying
37876 default_symbol_version and symbol_version macros, so that DEFAULT
37877 lines in shlib-versions are respected.
37878 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
37879
7e66ee51
FW
378802012-08-01 Florian Weimer <fweimer@redhat.com>
37881
37882 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
37883 Declare with warn_unused_result.
37884 (setgid, setregid, setegid, setresgid): Likewise.
37885 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
37886 Likewise.
37887 * WUR-REPORT: Remove set*id functions.
37888
d2a54255
PT
378892012-07-31 Pino Toscano <toscano.pino@tiscali.it>
37890
37891 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
37892
7ecdb005
RM
378932012-07-31 Roland McGrath <roland@hack.frob.com>
37894
b4180a5e 37895 [BZ #10191]
789bd351
RM
37896 * include/sys/socket.h (__libc_accept, __libc_accept4):
37897 Add attribute_hidden.
37898 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
37899
40ce302d
RM
37900 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
37901 use of PTR_MANGLE.
37902 * inet/getnetgrent_r.c (setup): Likewise.
37903
7ecdb005
RM
37904 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
37905
e2eabb2c
DM
379062012-07-31 David S. Miller <davem@davemloft.net>
37907
37908 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37909
d0419dbf
JM
379102012-07-31 Joseph Myers <joseph@codesourcery.com>
37911
37912 [BZ #13629]
37913 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
37914 value between 1.0 and 2.0 and smaller part has absolute value less
37915 than 1.0.
37916 * math/s_clog10.c (__clog10): Likewise.
37917 * math/s_clog10f.c (__clog10f): Likewise.
37918 * math/s_clog10l.c (__clog10l): Likewise.
37919 * math/s_clogf.c (__clogf): Likewise.
37920 * math/s_clogl.c (__clogl): Likewise.
37921 * math/libm-test.inc (clog_test): Add more tests.
37922 (clog10_test): Likewise.
37923 * sysdeps/i386/fpu/libm-test-ulps: Update.
37924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37925
2bc13872
FW
379262012-07-31 Florian Weimer <fweimer@redhat.com>
37927
37928 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
37929 Exit with zero in case no suitable GID is found, and write a
37930 message to standard error.
37931
bea9b193
RM
379322012-07-30 Roland McGrath <roland@hack.frob.com>
37933
37934 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
37935 rather than to 1.
37936 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
37937 (MAXPATHLEN): Removed.
37938 (NOGROUP, NODEV): New macros.
37939 (setbit, clrbit, isset, isclr): New macros.
37940 (howmany, roundup, powerof2): New macros.
37941 (DEV_BSIZE): New macro.
37942
37943 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
37944 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
37945
37946 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
37947 definition on [!__NO_LONG_DOUBLE_MATH].
37948
37949 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
37950 PTR_MANGLE and PTR_DEMANGLE.
37951
37952 * socket/accept4.c (accept4): Rename to __libc_accept4.
37953 Define accept4 as a weak alias.
37954
37955 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
37956 on [_DIRENT_HAVE_D_TYPE].
37957 * io/ftw.c (ftw_dir): Likewise.
37958
37959 * io/xmknod.c (__xmknod): Don't check PATH for being null.
37960
37961 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
37962
37963 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
37964 Use the BSD numbers rather than the arbitrary ones we had.
37965 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
37966 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
37967 (SIGXCPU, SIGXFSZ): New macros.
37968 (_NSIG): Now 32.
37969
37970 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
37971 initializer on [_LIBC_REENTRANT].
37972
37973 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
37974 definitions inside [_POSIX_MAPPED_FILES].
37975
37976 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
37977
37978 * dirent/opendir.c: Include <fcntl.h>.
37979
37980 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
37981 (__libc_getspecific): Likewise.
37982 (__libc_key_create): Likewise.
37983
37984 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
37985 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
37986 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
37987 (tmpfile64): Define as alias.
37988 * sysdeps/wordsize-64/tmpfile.c: File removed.
37989 * sysdeps/wordsize-64/tmpfile64.c: File removed.
37990 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
37991 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
37992
37993 * stdio-common/vfscanf.c: Include <stdbool.h>.
37994 * nss/makedb.c: Likewise.
37995 * stdio-common/_i18n_number.h: Likewise.
37996 * argp/argp-help.c: Likewise.
37997 * posix/wordexp.c: Likewise.
37998 * sysdeps/posix/spawni.c: Likewise.
37999 * nss/nss_files/files-initgroups.c: Likewise.
38000 * stdio-common/reg-modifier.c: Include <stdlib.h>.
38001 * nss/nss_files/files-initgroups.c: Likewise.
38002 * nss/nss_db/db-netgrp.c: Likewise.
38003 * nss/nss_db/db-initgroups.c: Likewise.
38004 * io/fchmodat.c: Include <sys/stat.h>.
38005
38006 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
38007 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
38008
38009 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
38010 [HAVE_MMAP].
38011
38012 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
38013 Add multiple inclusion protection.
38014
e5abc686
DM
380152012-07-27 David S. Miller <davem@davemloft.net>
38016
38017 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38018
815e6fa3
GB
380192012-07-27 Gary Benson <gbenson@redhat.com>
38020
38021 [BZ #14298]
38022 * elf/rtld.c: Include <stap-probe.h>.
38023 (dl_main): Added static probes "init_start" and "init_complete".
38024 * elf/dl-load.c: Include <stap-probe.h>.
38025 (lose): Take new parameter "nsid".
38026 Added static probe "map_failed".
38027 (_dl_map_object_from_fd): Pass namespace id to lose.
38028 Added static probe "map_start".
38029 (open_verify): Pass namespace id to lose.
38030 * elf/dl-open.c: Include <stap-probe.h>.
38031 (dl_open_worker) Added static probes "map_complete", "reloc_start"
38032 and "reloc_complete".
38033 * elf/dl-close.c: Include <stap-probe.h>.
38034 (_dl_close_worker): Added static probes "unmap_start" and
38035 "unmap_complete".
38036 * elf/rtld-debugger-interface.txt: New file documenting the above.
38037
9f98c16c
RM
380382012-07-26 Roland McGrath <roland@hack.frob.com>
38039
38040 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
38041 rather than a string variable.
38042 * sunrpc/rpc_main.c (h_output): Likewise.
38043 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
38044
f3c22df3
PT
380452012-07-26 Pino Toscano <toscano.pino@tiscali.it>
38046
38047 * inet/check_native.c: New file.
38048
3129cfc6
JM
380492012-07-26 Joseph Myers <joseph@codesourcery.com>
38050
da865e95
JM
38051 [BZ #13629]
38052 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
38053 if larger part has absolute value 1.0.
38054 * math/s_clog10.c (__clog10): Likewise.
38055 * math/s_clog10f.c (__clog10f): Likewise.
38056 * math/s_clog10l.c (__clog10l): Likewise.
38057 * math/s_clogf.c (__clogf): Likewise.
38058 * math/s_clogl.c (__clogl): Likewise.
38059 * math/libm-test.inc (clog_test): Add more tests.
38060 (clog10_test): Likewise.
38061 * sysdeps/i386/fpu/libm-test-ulps: Update.
38062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38063
3129cfc6
JM
38064 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
38065 (pltexit): Likewise.
38066 (La_regs): Likewise.
38067 (La_retval): Likewise.
38068 (int_retval): Likewise.
38069 Update #error for removed macros to refer only to definitions in
38070 tst-audit.h.
38071 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
38072 macro.
38073 (pltexit): Likewise.
38074 (La_regs): Likewise.
38075 (La_retval): Likewise.
38076 (int_retval): Likewise.
38077 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
38078 macro.
38079 (pltexit): Likewise.
38080 (La_regs): Likewise.
38081 (La_retval): Likewise.
38082 (int_retval): Likewise.
38083 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
38084 macro.
38085 (pltexit): Likewise.
38086 (La_regs): Likewise.
38087 (La_retval): Likewise.
38088 (int_retval): Likewise.
38089 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
38090 macro.
38091 (pltexit): Likewise.
38092 (La_regs): Likewise.
38093 (La_retval): Likewise.
38094 (int_retval): Likewise.
38095 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
38096 macro.
38097 (pltexit): Likewise.
38098 (La_regs): Likewise.
38099 (La_retval): Likewise.
38100 (int_retval): Likewise.
38101 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
38102 macro.
38103 (pltexit): Likewise.
38104 (La_regs): Likewise.
38105 (La_retval): Likewise.
38106 (int_retval): Likewise.
38107 * sysdeps/generic/tst-audit.h: Update comment to refer only to
38108 macro definitions in tst-audit.h.
38109 * sysdeps/i386/tst-audit.h: New file.
38110 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
38111 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
38112 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
38113 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
38114 * sysdeps/sh/tst-audit.h: Likewise.
38115 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
38116 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
38117 * sysdeps/x86_64/tst-audit.h: Likewise.
38118
bfc07087
AJ
381192012-07-26 Andreas Jaeger <aj@suse.de>
38120
b1b2aaf8
AJ
38121 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
38122 ptrace.
38123
38124 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
38125 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
38126 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
38127 PTRACE_O_MASK.
38128 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
38129 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
38130 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
38131
bfc07087
AJ
38132 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
38133 value.
38134
38135 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
38136 _sigsys.
38137 (si_call_addr, si_syscall, si_arch): Define new macro.
38138 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
38139 _sigsys.
38140 (si_call_addr, si_syscall, si_arch): Define new marcro.
38141 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
38142 _sigsys.
38143 (si_call_addr, si_syscall, si_arch): Define new macro.
38144 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
38145 _sigsys.
38146 (si_call_addr, si_syscall, si_arch): Define new macro.
38147
89b4b02f
JM
381482012-07-25 Joseph Myers <joseph@codesourcery.com>
38149
38150 [BZ #13717]
38151 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38152 Change to 2.4.21 where previously 2.4.1.
38153 * sysdeps/unix/sysv/linux/configure: Regenerated.
38154 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
38155 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
38156 Linux kernel version.
38157 (__ASSUME_STD_AUXV): Remove.
38158 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
38159 kernel version.
38160 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
38161 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
38162 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
38163 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
38164 (__ASSUME_NETLINK_SUPPORT): Likewise.
38165 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
38166 (__no_netlink_support): Remove conditional definition.
38167 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
38168 Remove.
38169 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38170 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
38171 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
38172 (if_nameindex_ioctl): Remove.
38173 (if_nameindex_netlink): Do not handle __no_netlink_support.
38174 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38175 code.
38176 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
38177 Remove conditional code.
38178 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38179 code.
38180 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
38181 unconditional.
38182 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38183 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
38184 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
38185 Remove.
38186 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
38187 [!__ASSUME_STD_AUXV]: Remove conditional code.
38188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
38189 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
38190 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
38191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
38192 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
38193 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38194 code.
38195 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38197 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
38198 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38199 conditional code.
38200 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
38202 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38203 code.
38204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38205 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38206 conditional code.
38207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
38208 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38209 code unconditional.
38210 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38211 conditional code.
38212 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38213 unconditional.
38214 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38215 conditional code.
38216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38217 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38218 unconditional.
38219 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38220 conditional code.
38221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
38222 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38223 code unconditional.
38224 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38225 conditional code.
38226 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38227 unconditional.
38228 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38229 conditional code.
38230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
38231 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38232 code unconditional.
38233 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38234 conditional code.
38235 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38236 unconditional.
38237 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38238 conditional code.
38239
842a39cd
AS
382402012-07-25 Andreas Schwab <schwab@linux-m68k.org>
38241
38242 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
38243 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
38244 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
38245 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
38246 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
38247 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
38248 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
38249 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
38250 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
38251 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
38252 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
38253 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
38254 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
38255 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
38256 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
38257 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
38258 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
38259 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
38260 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
38261 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
38262 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
38263 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
38264 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
38265
84b3fd84
FW
382662012-07-25 Florian Weimer <fweimer@redhat.com>
38267
38268 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
38269 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
38270 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
38271 Introduce __libc_secure_getenv.
0c7936d5
FW
38272 * stdlib/Versions (2.17): Add secure_getenv
38273 (GLIBC_PRIVATE): Add __libc_secure_getenv.
38274 * stdlib/secure-getenv.c: Rename __secure_getenv to
38275 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
38276 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
38277 * stdlib/tst-secure-getenv.c: New.
38278 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
38279 * manual/startup.texi (Environment Access): Document
38280 secure_getenv.
84b3fd84
FW
38281 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
38282 __libc_secure_getenv.
38283 * inet/ruserpass.c (ruserpass): Likewise.
38284 * malloc/mtrace.c (mtrace): Likewise.
38285 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 38286 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
38287 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
38288 * sysdeps/posix/tempname.c: Likewise. Evaluate
38289 HAVE_SECURE_GETENV.
38290 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 38291 __secure_getenv to __libc_secure_getenv.
84b3fd84 38292 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
38293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38294 Likewise.
38295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38296 Likewise.
38297 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
38298 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
38299 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38300 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
38301 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
38302 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38303 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 38304
56e49b71
JM
383052012-07-25 Joseph Myers <joseph@codesourcery.com>
38306
38307 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
38308 (struct La_i86_retval): Likewise.
38309 (struct La_x86_64_regs): Likewise.
38310 (struct La_x86_64_retval): Likewise.
38311 (struct La_x32_regs): Likewise.
38312 (struct La_x32_retval): Likewise.
38313 (struct La_ppc32_regs): Likewise.
38314 (struct La_ppc32_retval): Likewise.
38315 (struct La_ppc64_regs): Likewise.
38316 (struct La_ppc64_retval): Likewise.
38317 (struct La_sh_regs): Likewise.
38318 (struct La_sh_retval): Likewise.
38319 (struct La_s390_32_regs): Likewise.
38320 (struct La_s390_32_retval): Likewise.
38321 (struct La_s390_64_regs): Likewise.
38322 (struct La_s390_64_retval): Likewise.
38323 (struct La_sparc32_regs): Likewise.
38324 (struct La_sparc32_retval): Likewise.
38325 (struct La_sparc64_regs): Likewise.
38326 (struct La_sparc64_retval): Likewise.
38327 (struct audit_ifaces): Remove architecture-specific pltenter and
38328 pltexit members.
38329 * sysdeps/i386/ldsodefs.h: New file.
38330 * sysdeps/powerpc/ldsodefs.h: Likewise.
38331 * sysdeps/s390/ldsodefs.h: Likewise.
38332 * sysdeps/sh/ldsodefs.h: Likewise.
38333 * sysdeps/sparc/ldsodefs.h: Likewise.
38334 * sysdeps/x86_64/ldsodefs.h: Likewise.
38335
354691b7
MP
383362012-07-25 Marek Polacek <polacek@redhat.com>
38337
38338 [BZ #6808]
38339 * math/libm-test.inc (yn_test): Add another test.
38340 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
38341 to ERANGE when the result is +-Inf.
38342 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
38343 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
38344 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
38345 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
38346
bf9e2071
JM
383472012-07-24 Joseph Myers <joseph@codesourcery.com>
38348
38349 * conform/data/time.h-data (NULL): Use macro-constant. Require
38350 equal to 0.
38351 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
38352 clock_t.
38353 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
38354
57633811
TS
383552012-07-23 Thomas Schwinge <thomas@codesourcery.com>
38356
38357 * configure.in <sysdeps resolving>: Correct printing
38358 Implies_before.
38359 * configure: Regenerate.
38360
c23c33b0
TS
383612012-07-22 Thomas Schwinge <thomas@codesourcery.com>
38362
38363 * math/w_ilogb.c: Include <limits.h>.
38364 * math/w_ilogbl.c: Likewise.
38365
b5982523
JM
383662012-07-20 Joseph Myers <joseph@codesourcery.com>
38367
38368 * manual/lang.texi (__va_copy): Document primarily as ISO C99
38369 va_copy. Document allowing for unavailable va_copy only as
38370 pre-C99 compatibility.
38371 * manual/string.texi (Copying and Concatenation): Use va_copy
38372 instead of __va_copy in concat example.
38373
ac4ea442
PT
383742012-07-20 Pino Toscano <toscano.pino@tiscali.it>
38375
38376 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
38377 (__sendto): Use create_address_port. Initialize APORT and deallocate
38378 it if not null.
38379
f98eafbd
PT
38380 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
38381 with O_NOLINK passed to __file_name_lookup.
38382
898c7aab
PT
38383 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
38384 with O_NOLINK passed to __file_name_lookup.
38385
0ced335a
PT
38386 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
38387 negative N or less than NGIDS.
38388
b3404dbd
PT
38389 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
38390 type to string_t. Set ERANGE as errno and return it if NAME is not big
38391 enough. Use memcpy instead of strncpy.
38392
0f48659e
JM
383932012-07-20 Joseph Myers <joseph@codesourcery.com>
38394
38395 * elf/Makefile (check-data): Remove.
38396 (localplt.data): New vpath directive.
38397 ($(objpfx)check-localplt.out): Use localplt.data from vpath
38398 instead of $(check-data).
38399 * scripts/data/localplt-generic.data: Move to ...
38400 * sysdeps/generic/localplt.data: ... here.
38401 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
38402 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
38403 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
38404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
38405 ... here.
38406 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
38407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
38408 ... here.
38409 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
38410 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
38411 ... here.
38412 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
38413 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
38414 ... here.
38415 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
38416 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
38417 ... here.
38418 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
38419 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
38420 ... here.
38421
d37cbdaa
AZ
384222012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38423
38424 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
38425 PPC32 and PPC64 files.
38426 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
38427 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
38428
46f85fc2
AK
384292012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38430
38431 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
38432 __makecontext_ret to ...
38433 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
38434 ... here and call exit if uc_link is NULL. New file.
38435 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
38436 __makecontext_ret.S.
38437 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
38438 __makecontext_ret to ...
38439 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
38440 ... here and call exit if uc_link is NULL. New file.
38441 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
38442 __makecontext_ret.S.
38443
08f43f9b
AK
384442012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38445
38446 * elf/elf.h (R_390_IRELATIVE): New definition.
38447 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
38448 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
38449 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
38450 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
38451 (elf_machine_lazy_rel): Likewise.
38452 * sysdeps/s390/dl-irel.h: New file.
38453 * sysdeps/s390/s390-64/memcpy.S: New asm code.
38454 * sysdeps/s390/s390-64/memset.S: New asm code.
38455 * sysdeps/s390/s390-64/memcmp.S: New asm code.
38456 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
38457 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
38458 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
38459 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
38460 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
38461 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
38462 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
38463 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
38464 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
38465 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
38466 * sysdeps/s390/s390-32/memcpy.S: New asm code.
38467 * sysdeps/s390/s390-32/memset.S: New asm code.
38468 * sysdeps/s390/s390-32/memcmp.S: New asm code.
38469
3b05db33
MP
384702012-07-17 Marek Polacek <polacek@redhat.com>
38471
38472 [BZ #14349]
38473 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
38474 * sysdeps/s390/s390-64/configure.in: Likewise.
38475 * sysdeps/sparc/configure.in: Likewise.
38476 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
38477 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
38478 * sysdeps/i386/configure.in: Likewise.
38479 * sysdeps/x86_64/configure.in: Likewise.
38480 * sysdeps/sh/configure.in: Likewise.
38481 * sysdeps/s390/s390-32/configure: Regenerated.
38482 * sysdeps/s390/s390-64/configure: Likewise.
38483 * sysdeps/x86_64/configure: Likewise.
38484 * sysdeps/sh/configure: Likewise.
38485 * sysdeps/powerpc/powerpc64/configure: Likewise.
38486 * sysdeps/powerpc/powerpc32/configure: Likewise.
38487 * sysdeps/sparc/configure: Likwise.
38488 * sysdeps/i386/configure: Likewise.
38489
a66877c6
MP
38490 * elf/dl-open.c: Comment fixes.
38491
cfc82fd8
JM
384922012-07-17 Joseph Myers <joseph@codesourcery.com>
38493
bd29910a
JM
38494 * Makefile [CXX] (check-data): Remove.
38495 [CXX] (c++-types.data): New vpath directive.
38496 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
38497 vpath. Do not allow for C++ type data being missing.
38498 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
38499 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
38500 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
38501 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
38502 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
38503 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
38504 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
38505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
38506 ... here.
38507 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
38508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
38509 ... here.
38510 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
38511 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
38512 ... here.
38513 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
38514 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
38515 ... here.
38516 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
38517 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
38518 ... here.
38519 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
38520 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
38521 ... here.
38522 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
38523 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
38524 ... here.
38525 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
38526 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
38527
cfc82fd8
JM
38528 * elf/tls-macros.h (TLS_LE): Move architecture-specific
38529 definitions to architecture-specific files.
38530 (TLS_IE): Likewise.
38531 (TLS_LD): Likewise.
38532 (TLS_GD): Likewise.
38533 * sysdeps/i386/tls-macros.h: New file.
38534 * sysdeps/powerpc/tls-macros.h: Likewise.
38535 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
38536 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
38537 * sysdeps/sh/tls-macros.h: Likewise.
38538 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
38539 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
38540 * sysdeps/x86_64/tls-macros.h: Likewise.
38541
f7db3170
TS
385422012-07-17 Thomas Schwinge <thomas@codesourcery.com>
38543
07cbfc23
TS
38544 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
38545 zero value for regular exit case.
38546
f7db3170
TS
38547 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
38548 (__start_context): Preserve zero value for regular exit case.
38549
dc97c227
TS
385502012-07-17 Thomas Schwinge <thomas@codesourcery.com>
38551 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38552
38553 * manual/setjmp.texi (setcontext): Clarify normal process
38554 termination when uc_link is the null pointer.
38555 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
38556 exit call.
38557
d0cd7d02
AS
385582012-07-16 Andreas Schwab <schwab@linux-m68k.org>
38559
38560 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
38561 preprocessor. Test for each exception mask separately.
38562
dd318934
AJ
385632012-07-16 Andreas Jaeger <aj@suse.de>
38564
38565 * po/ru.po: Update from translation team.
38566
8048311a
JM
385672012-07-15 Joseph Myers <joseph@codesourcery.com>
38568
38569 * conform/data/string.h-data (NULL): Use macro-constant. Require
38570 equal to 0.
38571 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
38572 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
38573 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
38574 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
38575 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38576
b637d46e
AJ
385772012-07-13 Andreas Jaeger <aj@suse.de>
38578
38579 * po/fr.po: Update from translation team.
38580
541428fe
MP
385812012-07-12 Marek Polacek <polacek@redhat.com>
38582
38583 [BZ #14173]
38584 * math/libm-test.inc (yn_test): Add test for BZ #14173.
38585 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
38586 loop condition.
38587
ec332e94
JM
385882012-07-12 Joseph Myers <joseph@codesourcery.com>
38589
38590 [BZ #13717]
38591 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38592 Change to 2.4.1 where previously 2.4.0.
38593 * sysdeps/unix/sysv/linux/configure: Regenerated.
38594 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
38595 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
38596 version.
38597 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
38598 (__ASSUME_AT_CLKTCK): Remove.
38599 (__ASSUME_AT_PAGESIZE): Likewise.
38600 (__ASSUME_AT_XID): Likewise.
38601 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
38602 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
38603 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
38604 unconditionally.
38605 (HAVE_AUX_PAGESIZE): Likewise.
38606 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
38607 [__ASSUME_AT_CLKTCK]: Make code unconditional.
38608 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
38609
7b6e99be
JB
386102012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
38611
38612 [BZ #14307]
38613 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
38614 the temporary buffer used to invoke __gethostbyname2_r,
38615 __gethostbyaddr_r and gethostbyname4_r to make room for struct
38616 host_data / struct gaih_addrtuple.
38617 * resolv/nss_dns/dns-host.c (global scope): Move definition of
38618 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
38619 header file nss/nsswitch.h.
38620 * nss/nsswitch.h (global scope): Add definition of implementation
38621 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
38622 resolv/nss_dns/dns-host.c).
38623
608404eb
AJ
386242012-07-11 Andreas Jaeger <aj@suse.de>
38625
38626 * po/fr.po: Update from translation team.
38627
71220aca
AJ
38628 * po/sv.po: Update from translation team
38629 * po/fr.po: Another update from translation team.
38630
28cfe843
AZ
386312012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38632
38633 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
38634 for subnormals or multiply small sinh result by itself.
38635 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38636 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38637
6b90f981
DM
386382012-07-11 David S. Miller <davem@davemloft.net>
38639
38640 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38641
c6825772
AS
386422012-07-10 Andreas Schwab <schwab@linux-m68k.org>
38643
38644 [BZ #14347]
38645 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
38646 (INTERNAL_MARK): Shift it here.
38647
7b8e0d49
MP
386482012-07-10 Marek Polacek <polacek@redhat.com>
38649
38650 [BZ #14151]
38651 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
38652 libc_cv_asm_global_directive with .globl.
38653 * configure: Regenerated.
38654 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
38655 with .globl.
38656 * sysdeps/i386/configure: Regenerated.
38657 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
38658 with .globl.
38659 * sysdeps/x86_64/configure: Regenerated.
38660 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
38661 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
38662 * elf/tst-unique2mod2.c: Likewise.
38663 * elf/tst-unique2mod1.c: Likewise.
38664 * elf/tst-unique1mod2.c: Likewise.
38665 * elf/tst-unique1mod1.c: Likewise.
38666 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38667 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38668 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38669 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38670 * sysdeps/mach/sysdep.h: Likewise.
38671 * sysdeps/i386/sysdep.h: Likewise.
38672 * sysdeps/i386/i386-mcount.S: Likewise.
38673 * sysdeps/x86_64/_mcount.S: Likewise.
38674 * sysdeps/x86_64/sysdep.h: Likewise.
38675 * sysdeps/sh/_mcount.S: Likewise.
38676 * sysdeps/sh/sysdep.h: Likewise.
38677 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
38678 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
38679 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
38680 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38681 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
38682 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
38683 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
38684 * locale/localeinfo.h: Likewise.
38685 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
38686 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
38687
6c55cda3
RM
386882012-07-09 Roland McGrath <roland@hack.frob.com>
38689
38690 [BZ #14336]
38691 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
38692 system".
38693 * manual/message.texi (The Uniforum approach): Likewise.
38694 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
38695 (glibc iconv Implementation): Likewise.
38696
638a572e
JM
386972012-07-09 Joseph Myers <joseph@codesourcery.com>
38698
38699 [BZ #14337]
38700 * math/s_clog.c (__clog): Avoid scaling a value down where that
38701 could result in underflow.
38702 * math/s_clog10.c (__clog10): Likewise.
38703 * math/s_clog10f.c (__clog10f): Likewise.
38704 * math/s_clog10l.c (__clog10l): Likewise.
38705 * math/s_clogf.c (__clogf): Likewise.
38706 * math/s_clogl.c (__clogl): Likewise.
38707 * math/libm-test.inc (clog_test): Add more tests.
38708 (clog10_test): Likewise.
38709 * sysdeps/i386/fpu/libm-test-ulps: Update.
38710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38711
261f4859
AS
387122012-07-06 Andreas Schwab <schwab@linux-m68k.org>
38713
0abaf3e4
AS
38714 [BZ #14283]
38715 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
38716 by 7 not 8 to examine high bit of fractional part.
38717
261f4859
AS
38718 [BZ #14042]
38719 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
38720 for call to __mcount_internal.
38721 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
38722 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
38723 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
38724
f17ac40d
JM
387252012-07-06 Joseph Myers <joseph@codesourcery.com>
38726
9ad63c23
JM
38727 [BZ #14154]
38728 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
38729 approximation for values within 0x1p-13f of an odd multiple of
38730 pi/4.
38731 * math/libm-test.inc (tan_test): Do not allow spurious underflow
38732 exception. Add more tests.
38733 * sysdeps/i386/fpu/libm-test-ulps: Update.
38734
f17ac40d
JM
38735 [BZ #6778]
38736 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
38737 inputs and return -1 for them. Do not check for +Inf in case not
38738 reachable for +Inf.
38739 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
38740 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
38741 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38742 and return -1 for them. Do not check for +Inf in case not
38743 reachable for +Inf.
38744 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
38745 define.
38746 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38747 and return -1 for them. Do not check for +Inf in case not
38748 reachable for +Inf.
38749 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
38750 spurious underflow.
38751 * sysdeps/i386/fpu/libm-test-ulps: Update.
38752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38753
fb21f89b
MF
387542012-07-06 Mike Frysinger <vapier@gentoo.org>
38755
38756 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
38757
cdfe2c5e
JM
387582012-07-05 Joseph Myers <joseph@codesourcery.com>
38759
38760 [BZ #14157]
38761 [BZ #14331]
38762 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
38763 could result in spurious underflow. Scale down values above
38764 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
38765 * math/s_csqrtf.c (__csqrtf): Likewise.
38766 * math/s_csqrtl.c (__csqrtl): Likewise.
38767 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
38768 spurious underflow.
38769 * sysdeps/i386/fpu/libm-test-ulps: Update.
38770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38771
70d35b67
AS
387722012-07-04 Andreas Schwab <schwab@linux-m68k.org>
38773
704bc459
AS
38774 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
38775 xopen-msg.sed.
38776 * catgets/xopen-msg.awk: New file.
38777 * catgets/xopen-msg.sed: Removed.
38778
70d35b67
AS
38779 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
38780 po2text.sed.
38781 * intl/po2test.awk: New file.
38782 * intl/po2test.sed: Removed.
38783
ca61cf32
JM
387842012-07-04 Joseph Myers <joseph@codesourcery.com>
38785
38786 [BZ #14328]
38787 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
38788 or multiply small sinh result by itself.
38789 * math/s_ctanf.c (__ctanf): Likewise.
38790 * math/s_ctanh.c (__ctanh): Likewise.
38791 * math/s_ctanhf.c (__ctanhf): Likewise.
38792 * math/s_ctanhl.c (__ctanhl): Likewise.
38793 * math/s_ctanl.c (__ctanl): Likewise.
38794 * math/libm-test.inc (ctan_test_tonearest): New function.
38795 (ctan_test_towardzero): Likewise.
38796 (ctan_test_downward): Likewise.
38797 (ctan_test_upward): Likewise.
38798 (ctanh_test_tonearest): Likewise.
38799 (ctanh_test_towardzero): Likewise.
38800 (ctanh_test_downward): Likewise.
38801 (ctanh_test_upward): Likewise.
38802 (main): Call these new functions.
38803 * sysdeps/i386/fpu/libm-test-ulps: Update.
38804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38805
ca48a46a
MF
388062012-07-03 Mike Frysinger <vapier@gentoo.org>
38807
38808 * .gitignore: Delete /ports entry.
38809
9d63d37d
AJ
388102012-07-03 Andreas Jaeger <aj@suse.de>
38811
38812 * po/bg.po: Update from translation team.
38813 * po/cs.po: Likewise.
38814 * po/de.po: Likewise.
38815 * po/hr.po: Likewise.
38816 * po/nl.pl: Likewise.
38817 * po/pl.po: Likewise.
38818 * po/vi.po: Likewise.
38819
370ca3d2
JM
388202012-07-03 Joseph Myers <joseph@codesourcery.com>
38821
95f5a9a8
JM
38822 * Makeconfig [!+link] (+link-before-libc): New variable.
38823 [!+link] (+link-after-libc): Likewise.
38824 [!+link] (+link-tests): Likewise.
38825 [!+link] (+link): Define in terms of $(+link-before-libc) and
38826 $(+link-after-libc).
38827 [!+link-static] (+link-static-before-libc): New variable.
38828 [!+link-static] (+link-static-after-libc): Likewise.
38829 [!+link-static] (+link-static-tests): Likewise.
38830 [!+link-static] (+link-static): Define in terms of
38831 $(+link-static-before-libc) and $(+link-static-after-libc).
38832 [build-shared] (link-libc-before-gnulib): New variable.
38833 [build-shared] (link-libc-tests): Likewise.
38834 [build-shared] (link-libc): Define in terms of
38835 $(link-libc-before-gnulib).
38836 [!build-shared] (link-libc-tests): New variable.
38837 (link-libc-static-tests): New variable.
38838 [!gnulib] (gnulib-arch): New variable.
38839 [!gnulib] (gnulib-tests): Likewise.
38840 [!gnulib] (static-gnulib-arch): Likewise.
38841 [!gnulib] (static-gnulib-tests): Likewise.
38842 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
38843 Define with "=" instead of ":=".
38844 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
38845 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
38846 * Rules (binaries-all-notests): New variable.
38847 (binaries-all-tests): Likewise.
38848 (binaries-static-notests): Likewise.
38849 (binaries-static-tests): Likewise.
38850 (binaries-all): Define using $(binaries-all-notests) and
38851 $(binaries-all-tests).
38852 (binaries-static): Define using $(binaries-static-notests) and
38853 $(binaries-static-tests).
38854 (binaries-shared-tests): New variable.
38855 (binaries-shared-notests): Likewise.
38856 (binaries-shared): Remove variable.
38857 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
38858 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
38859 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
38860 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
38861 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
38862 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
38863 * elf/Makefile (sln-modules): New variable.
38864 (extra-objs): Add $(sln-modules:=.o).
38865 (ldconfig-modules): Add static-stubs.
38866 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
38867 * elf/static-stubs.c: New file.
38868
7a845b2c
JM
38869 [BZ #14283]
38870 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
38871 by 7 not 8 to examine high bit of fractional part. Use volatile
38872 variables when splitting into final array of floats if
38873 __FLT_EVAL_METHOD__ != 0.
38874 * math/libm-test.inc (cos_test): Add another test.
38875 (sin_test): Likewise.
38876 * sysdeps/i386/fpu/libm-test-ulps: Update.
38877
e2283f38
JM
38878 [BZ #14273]
38879 * math/libm-test.inc (cosh_test): Add more tests.
38880
370ca3d2
JM
38881 * version.h (RELEASE): Set to "development".
38882 (VERSION): Set to "2.16.90".
38883
ee9247c3
CD
388842012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
38885
38886 * NEWS: Update copyright. Remove last-updated date.
38887 Mention math library bug fixes and timezone data changes.
38888 * README: Mention GNU/Hurd, x32, and HPPA support status.
38889
4648c381
TS
388902012-06-28 Thomas Schwinge <thomas@codesourcery.com>
38891
38892 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
38893
aac78a43
AJ
388942012-06-27 Andreas Jaeger <aj@suse.de>
38895
38896 * manual/contrib.texi (Contributors): Add Samuel Thibault.
38897
ed3dbfad
AJ
388982012-06-25 Andreas Jaeger <aj@suse.de>
38899
38900 * sysdeps/s390/fpu/libm-test-ulps: Update.
38901
4d0ee855
AS
389022012-06-23 Andreas Schwab <schwab@linux-m68k.org>
38903 Thomas Schwinge <thomas@codesourcery.com>
38904
38905 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
38906 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
38907 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
38908 fanotify_mark.
38909
af1bce34
TS
389102012-06-23 Thomas Schwinge <thomas@codesourcery.com>
38911
a9fa33ba
TS
38912 * sysdeps/mach/start.c: Remove file.
38913 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
38914 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
38915 * sysdeps/sh/init-first.c: Likewise.
38916
58f902b8
TS
38917 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
38918 registers for frame unwinding purposes, add CFI directives.
38919 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38920 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
38921 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
38922 Likewise.
38923
1518f58b
TS
38924 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
38925 __fortify_fail returning.
38926 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38927
db9b5059
TS
38928 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
38929 sysdeps/sh/____longjmp_chk.S.
38930 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
38931 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
38932 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
38933 (gen-as-const-headers): Append sigaltstack-offsets.sym.
38934
967705fe
TS
38935 * sysdeps/sh/abort-instr.h: New file.
38936 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
38937 process in case exit returns.
38938
a9def8c4
TS
38939 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
38940 initialize the GOT register before use.
38941
2a649725
TS
38942 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
38943 calculation of ARGC > 4.
38944
af1bce34
TS
38945 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
38946 meaningful names to some local labels.
38947
d230f50a
KK
389482012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38949 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38950
38951 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
38952 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
38953 (__arch_compare_and_exchange_val_16_acq): Likewise.
38954 (__arch_compare_and_exchange_val_32_acq): Likewise.
38955 (atomic_exchange_and_add): Fix gUSA sequence.
38956 (atomic_add): Likewise.
38957 (atomic_add_negative): Likewise.
38958 (atomic_add_zero): Likewise.
38959 (atomic_bit_test_set): Likewise.
38960
0479b305
AS
389612012-06-22 Andreas Schwab <schwab@redhat.com>
38962
38963 [BZ #13579]
38964 * include/link.h (struct link_map): Add l_free_initfini.
38965 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
38966 l_initfini.
38967 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
38968 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
38969 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
38970 set.
38971
0e3933b9
CD
389722012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
38973
38974 * configure.in: Use AC_LANG_SOURCE.
38975 * configure: Regenerate.
38976
4248b1b1
RM
389772012-06-22 Roland McGrath <roland@hack.frob.com>
38978
38979 * configure.in (libc_cv_localstatedir): New substituted variable.
38980 * configure: Regenerated.
38981 * config.make.in (localstatedir): New variable, substituted from
38982 libc_cv_localstatedir.
38983 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
38984 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
38985 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
38986 * sysdeps/gnu/configure: Regenerated.
38987
006dd861
JL
389882012-06-21 Jeff Law <law@redhat.com>
38989
38990 [BZ #14277]
38991 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
38992 free. Simplify list management for _LIBC case.
38993
79662d42
JM
389942012-06-21 Joseph Myers <joseph@codesourcery.com>
38995
b7abb4bf
JM
38996 [BZ #14273]
38997 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
38998 Clear sign bit of 64-bit integer value before comparing against
38999 overflow value.
39000
79662d42
JM
39001 * sysdeps/mach/configure: Regenerated.
39002
1f150908
L
390032012-06-21 H.J. Lu <hongjiu.lu@intel.com>
39004
39005 [BZ #14278]
39006 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
39007
28363bbf
JL
390082012-06-21 Jeff Law <law@redhat.com>
39009
39010 [BZ #13882]
39011 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
39012 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 39013 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
39014 * elf/dl-open.c (dl_open_worker): Likewise.
39015
09615db4
CD
390162012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
39017
39018 * scripts/list-sources.sh: Scan PORTS for translations.
39019 * po/libc.pot: Regenerated.
39020
2174c6dd
AJ
390212012-06-21 Andreas Jaeger <aj@suse.de>
39022
39023 [BZ #12194]
39024 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
39025 warning.
39026 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
39027 * bits/byteswap-16.h (__bswap_16): Likewise.
39028 * bits/byteswap.h (__bswap_constant_16): Likewise.
39029
3ee947b1
L
390302012-06-18 H.J. Lu <hongjiu.lu@intel.com>
39031
39032 [BZ #14117]
a2f34833
L
39033 * sysdeps/i386/fpu_control.h: Removed.
39034 * sysdeps/x86_64/fpu_control.h: Moved to ...
39035 * sysdeps/x86/fpu_control.h: Here.
39036
3ee947b1
L
39037 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
39038 (_FPU_SETCW): Likewise.
39039
ed1825f8
L
390402012-06-15 H.J. Lu <hongjiu.lu@intel.com>
39041
25f1282a
L
39042 [BZ #14117]
39043 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
39044 * sysdeps/x86/fpu/bits/mathinline.h: This.
39045 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
39046
ed1825f8
L
39047 [BZ #14050]
39048 [BZ #14117]
39049 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
39050 functions if __x86_64__ is defined.
39051
36d54b74
CLT
390522012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
39053
39054 * string/endian.h: Add !__ASSEMBLER__ condition for including
39055 conversion interfaces.
39056
10285c21
JM
390572012-06-15 Joseph Myers <joseph@codesourcery.com>
39058
39059 [BZ #14241]
39060 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
39061 of ABS(x) in calculating zero to negative powers other than odd
39062 integers.
39063 * math/libm-test.inc (pow_test): Add more tests.
39064
06c5abbd
AJ
390652012-06-15 Andreas Jaeger <aj@suse.de>
39066
39067 * manual/contrib.texi (Contributors): Update entry of Liubov
39068 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
39069 Machado Filho.
39070
a3aeac40
CH
390712012-06-15 Cyril Hrubis <metan@ucw.cz>
39072
39073 * string/string.h: Add __wur to GNU version of strerror_r.
39074
49bdf4c1
L
390752012-06-14 H.J. Lu <hongjiu.lu@intel.com>
39076
39077 [BZ #14229]
39078 * string/Makefile (tests): Add tst-strtok_r.
39079 * string/tst-strtok_r.c: New file.
39080 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
39081 RAX_LP/RDX_LP on SAVE_PTR.
39082
834f9b8d
RM
390832012-06-14 Roland McGrath <roland@hack.frob.com>
39084
39085 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
39086
75fa1921
JM
390872012-06-14 Joseph Myers <joseph@codesourcery.com>
39088
39089 * libm_test.inc (csqrt_test): Allow more spurious underflow
39090 exceptions.
39091 (j0_test): Likewise.
39092 (j1_test): Likewise.
39093 (y0_test): Likewise.
39094 (y1_test): Likewise.
39095
771766df
CD
390962012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
39097
39098 * po/Makefile (libc.pot): Use UTF-8 charset.
39099
ceb9e56b
PP
391002012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
39101
39102 [BZ #14210]
39103 Suppress sign-conversion warning from FD_SET.
39104 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
39105 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
39106 not unsigned long int.
39107 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
39108
ddb28975
L
391092012-06-12 H.J. Lu <hongjiu.lu@intel.com>
39110
39111 [BZ #14050]
39112 [BZ #14117]
39113 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
39114 __extern_always_inline instead of __extern_inline.
39115 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
39116 (__signbit): Likewise.
39117 (__signbitl): Support C++ namespace.
39118 (lrintf): New inline function.
39119 (lrint): Likewise.
39120 (llrintf): Likewise.
39121 (llrint): Likewise.
39122 (fmaxf): Likewise.
39123 (fmax): Likewise.
39124 (fminf): Likewise.
39125 (fmin): Likewise.
39126 (rint): Likewise.
39127 (rintf): Likewise.
39128 (ceil): Likewise.
39129 (ceilf): Likewise.
39130 (floor): Likewise.
39131 (floorf): Likewise.
39132 (nearbyint): Likewise.
39133 (nearbyintf): Likewise.
39134
d7b4fb26
TS
391352012-06-12 Thomas Schwinge <thomas@codesourcery.com>
39136
39137 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
39138 non-default versions.
39139
eb55f5c2
RM
391402012-06-11 Roland McGrath <roland@hack.frob.com>
39141
39142 [BZ #14218]
39143 * manual/argp.texi (Argp): Reword argp_parse description slightly.
39144
366af02c
TS
391452012-06-09 Thomas Schwinge <thomas@codesourcery.com>
39146
99ff6e5c
TS
39147 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
39148 (FE_UPWARD, FE_DOWNWARD): Don't define.
39149 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
39150 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39151
366af02c
TS
39152 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
39153 reading it.
39154 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
39155 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39156
793ea851
KK
391572012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39158
39159 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
39160 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
39161 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
39162 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
39163
a728a38f
L
391642012-06-06 H.J. Lu <hongjiu.lu@intel.com>
39165
39166 [BZ #14117]
c08010c7
L
39167 * sysdeps/i386/fpu/bits/fenv.h: Removed.
39168 * sysdeps/i386/fpu/Implies: New file.
39169 * sysdeps/x86_64/fpu/Implies: Likewise.
39170 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
39171 * sysdeps/x86/fpu/bits/fenv.h: This.
39172
a728a38f
L
39173 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
39174 __SSE_MATH__.
39175
6e230d11
SP
391762012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
39177
39178 [BZ #14134]
39179 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
39180 character 0xffff that matches the last element of the
39181 conversion table.
39182
1b671feb
AZ
391832012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39184
39185 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
39186 fmodl commit.
39187
6043738b
AZ
391882012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39189
39190 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
39191 values higher than 25.6283.
39192
34ae0b32
AZ
391932012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39194
39195 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
39196 subnormal exponent extraction and add some __builtin_expect.
39197 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
39198 Fix for subnormal mantissa calculation.
39199
1214ec8f
MF
392002012-06-04 Mike Frysinger <vapier@gentoo.org>
39201
39202 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
39203 cpu2 is -1 and errno is not ENOSYS.
39204
f3d1f93c
L
392052012-06-04 H.J. Lu <hongjiu.lu@intel.com>
39206
39207 [BZ #14117]
0e4a3cd7
L
39208 * sysdeps/i386/i486/bits/string.h: Renamed to ...
39209 * sysdeps/x86/bits/string.h: This.
39210 * sysdeps/x86_64/bits/string.h: Removed.
39211
6704c645
L
39212 * sysdeps/i386/i486/bits/string.h: Define inline functions only
39213 if not compiling for x86-64, but compiling for >= i486.
39214
48495318
L
39215 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
39216 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
39217
14adcbfc
L
39218 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
39219 New macro from Linux kernel 3.4.0.
39220 (FP_XSTATE_MAGIC2): Likewise.
39221 (FP_XSTATE_MAGIC2_SIZE): Likewise.
39222 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
39223 (struct _fpx_sw_bytes): New struct.
39224 (struct _xsave_hdr): Likewise.
39225 (struct _ymmh_state): Likewise.
39226 (struct _xstate): Likewise.
39227
68e408ab
L
39228 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
39229 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
39230 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
39231 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
39232 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
39233 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
39234
f3d1f93c
L
39235 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
39236 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
39237 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
39238 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
39239 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
39240 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
39241
d9dc34cd
TMQMF
392422012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39243
39244 [BZ #13743]
39245 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
39246 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
39247 (sysdep_headers): Include sys/platform/ppc.h.
39248 * sysdeps/powerpc/test-gettimebase.c: Test for
39249 __ppc_get_timebase() to catch future ISA opcode/insn changes.
39250 * manual/Makefile (appendices): Include platform.texi.
39251 * manual/contrib.texi (Contributors): Update @node pointers.
39252 * manual/maint.texi (Maintenance): Likewise.
39253 (Platform): New node.
39254 * manual/platform.texi: New file. Document the new features.
39255
4af3879c
SP
392562012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
39257 Jakub Jelinek <jakub@redhat.com>
39258
39259 [BZ #14188]
39260 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
39261 where __builtin_expect is unavailable.
39262
2fd6ff13
DM
392632012-06-03 David S. Miller <davem@davemloft.net>
39264
39265 * stdlib/longlong.h: Updated from GCC.
39266
173f7220
AS
392672012-06-02 Andreas Schwab <schwab@linux-m68k.org>
39268
39269 [BZ #14042]
39270 * sysdeps/powerpc/powerpc32/mcount.c: New file.
39271 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
39272 __mcount_internal.
39273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
39274 (GLIBC_2.16): Likewise.
39275
f34a1c6f
L
392762012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39277
39278 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
39279
88a4576f
JM
392802012-06-01 Joseph Myers <joseph@codesourcery.com>
39281
ea32bcdd
JM
39282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
39283 (default-abi): New variable.
39284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
39285 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
39286 variable.
39287 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
39288 Likewise.
39289 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
39290 Likewise.
39291 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
39292 Likewise.
39293
88a4576f
JM
39294 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
39295 definition. Document in comment.
39296
402fe938
DM
392972012-06-01 David S. Miller <davem@davemloft.net>
39298
39299 * stdlib/longlong.h: Updated from GCC.
39300
3553723f
L
393012012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39302
39303 [BZ #14117]
3bd872c4
L
39304 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
39305 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
39306 sys/debugreg.h sys/io.h here.
39307 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
39308 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
39309 sys/io.h.
39310 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
39311 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
39312 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
39313 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
39314 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
39315 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
39316
3553723f
L
39317 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
39318 Define only if __x86_64__ is defined.
39319
4842e4fe
JM
393202012-06-01 Joseph Myers <joseph@codesourcery.com>
39321
c5bfe3d5
JM
39322 [BZ #14048]
39323 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
39324 Use int64_t for variable i.
39325 * math/libm-test.inc (fmod_test): Add more tests.
39326
4842e4fe
JM
39327 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
39328 z computation is not scheduled after fetestexcept.
39329 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
39330 Use math_force_eval instead of asm to ensure calculation scheduled
39331 before exception test.
39332 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
39333 Ensure a1 + u.d computation is not scheduled after fetestexcept.
39334
efb73488
AJ
393352012-06-01 Aurelien Jarno <aurelien@aurel32.net>
39336
39337 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
39338 computation is not scheduled after fetestexcept.
39339
29bcce7c
L
393402012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39341
39342 [BZ #14117]
39343 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
39344 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
39345
73a68f94
AZ
393462012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39347
39348 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
39349 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39350
67b6df78
L
393512012-05-31 H.J. Lu <hongjiu.lu@intel.com>
39352
edf2933a 39353 [BZ #14117]
ebc64a18
L
39354 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
39355 <bits/wordsize.h>.
39356 (__WCHAR_MIN): Support __WORDSIZE == 64.
39357 (__WCHAR_MAX): Likewise.
39358
edf2933a
L
39359 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
39360 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
39361
57c6cf40
L
39362 [BZ #14183]
39363 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
39364 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
39365
67b6df78 39366 [BZ #14117]
8eb6281e
L
39367 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
39368 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
39369
aac639f4
L
39370 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
39371 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
39372
67b6df78
L
39373 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
39374 Defined to 1 if __x86_64__ isn't defined.
39375 (_STAT_VER_LINUX_OLD): New.
39376 (st_atime): Remove duplicate.
39377 (st_mtime): Likewise.
39378 (st_ctime): Likewise.
39379
1c2cfe81
DM
393802012-05-31 David S. Miller <davem@davemloft.net>
39381
39382 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
39383 entries.
39384
5be8418c
AS
393852012-06-01 Andreas Schwab <schwab@linux-m68k.org>
39386
e7725326
AS
39387 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
39388 gen-libm-test.pl.
39389
5be8418c
AS
39390 [BZ #14132]
39391 * elf/dl-reloc.c: Include <_itoa.h>.
39392 (_dl_reloc_bad_type): Remove use of INTUSE.
39393 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
39394 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
39395 * stdio-common/psiginfo.c (psiginfo): Likewise.
39396 * stdio-common/psignal.c (psignal): Likewise.
39397 * string/strsignal.c (strsignal): Likewise.
39398 * include/signal.h (_sys_siglist): Declare hidden proto.
39399 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
39400 INTVARDEF with libc_hidden_data_def.
39401 * stdio-common/itoa-udigits.c: Likewise.
39402 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
39403 (_itoa_lower_digits_internal): Remove declaration.
39404 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
39405 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
39406 (_sys_sigabbrev_internal): Remove aliases.
39407 (_sys_siglist): Define hidden alias.
39408
507352f1
MT
394092012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
39410
39411 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39412 bits/sysctl.h.
39413
42bbb1c3
L
394142012-05-31 H.J. Lu <hongjiu.lu@intel.com>
39415
39416 [BZ #14117]
6bd784b6
L
39417 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
39418 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
39419
8bca20f0
L
39420 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
39421 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
39422 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
39423 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
39424 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
39425 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
39426
f9e890a9
L
39427 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
39428 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
39429 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
39430
471101a1
L
39431 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
39432 with __addr.
39433 (insw): Likewise.
39434 (insl): Likewise.
39435 (outsb): Likewise.
39436 (outsw): Likewise.
39437 (outsl): Likewise.
39438
6451c862
L
39439 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
39440 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
39441 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
39442
a254b8c9
L
39443 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
39444 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
39445 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
39446 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
39447 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
39448 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
39449
b8dfdd92
L
39450 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
39451 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
39452
578cd270
L
39453 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
39454 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
39455
de662f5f
L
39456 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
39457 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
39458 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
39459
25653439
L
39460 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
39461 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
39462 to ...
39463 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
39464
6bad24a0
L
39465 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
39466 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
39467 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
39468
42bbb1c3
L
39469 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
39470 for x86-64.
39471 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
39472
2d10d547
JM
394732012-05-31 Joseph Myers <joseph@codesourcery.com>
39474
39475 * math/math.h (M_El): Use two more decimal places.
39476 (M_LOG2El): Likewise.
39477 (M_LOG10El): Likewise.
39478 (M_LN2l): Likewise.
39479 (M_LN10l): Likewise.
39480 (M_PIl): Likewise.
39481 (M_PI_2l): Likewise.
39482 (M_PI_4l): Likewise.
39483 (M_1_PIl): Likewise.
39484 (M_2_PIl): Likewise.
39485 (M_2_SQRTPIl): Likewise.
39486 (M_SQRT2l): Likewise.
39487 (M_SQRT1_2l): Likewise.
39488
f230c29b
DM
394892012-05-31 David S. Miller <davem@davemloft.net>
39490
39491 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
39492 values between float registers.
39493 * sysdeps/sparc/sparc64/memset.S: Likewise.
39494 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39495
fed806c3
MF
394962012-05-31 Mike Frysinger <vapier@gentoo.org>
39497
39498 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
39499 -D_FORTIFY_SOURCE=1.
39500 (CPPFLAGS-tst-longjmp_chk.c): Define.
39501 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
39502 (CPPFLAGS-tst-longjmp_chk2.c): Define.
39503 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
39504 CFLAGS-tst-wchar-h.c.
39505
30917259
MP
395062012-05-31 Marek Polacek <polacek@redhat.com>
39507
39508 [BZ #14132]
39509 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
39510 __endmntent_internal): Remove declaration.
39511 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
39512 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
39513 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
39514
1c58d5dc
DM
395152012-05-30 David S. Miller <davem@davemloft.net>
39516
39517 * sysdeps/sparc/sparc32/soft-fp/q_util.c
39518 (___Q_simulate_exceptions): Use real FP ops rather than writing
39519 into the %fsr.
39520 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
39521 Likewise.
39522
7dc00e0d
L
395232012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39524
39525 [BZ #14117]
0bd53985
L
39526 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
39527 * sysdeps/x86/bits/xtitypes.h: This.
39528
3a257e66
L
39529 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
39530 * sysdeps/x86/bits/wordsize.h: This.
39531
62f62904
L
39532 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
39533 * sysdeps/x86/bits/huge_vall.h: This.
39534
404fe9d9
L
39535 * sysdeps/i386/bits/select.h: Removed.
39536 * sysdeps/x86_64/bits/select.h: Renamed to ...
39537 * sysdeps/x86/bits/select.h: This.
39538
d48d0446
L
39539 * sysdeps/i386/bits/setjmp.h: Removed.
39540 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
39541 * sysdeps/x86/bits/setjmp.h: This.
39542
7dc00e0d
L
39543 * sysdeps/i386/bits/mathdef.h: Removed.
39544 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
39545 * sysdeps/x86/bits/mathdef.h: This.
39546
03277f8f
AS
395472012-05-30 Andreas Schwab <schwab@linux-m68k.org>
39548
39549 [BZ #14132]
39550 * include/sys/socket.h (__connect_internal)
39551 (__libc_sa_len_internal): Remove declaration.
39552 (__connect, __libc_sa_len): Declare hidden_proto.
39553 (SA_LEN): Remove use of INTUSE.
39554 * socket/connect.c: Add libc_hidden_def.
39555 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
39556 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
39557 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
39558 alias.
39559 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
39560 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
39561 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
39562 of adding _internal alias.
39563
13764867
L
395642012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39565
39566 [BZ #14117]
6bd97696
L
39567 * sysdeps/i386/bits/link.h: Removed.
39568 * sysdeps/i386/bits/linkmap.h: Likewise.
39569 * sysdeps/x86_64/bits/link.h: Renamed to ...
39570 * sysdeps/x86/bits/link.h: This.
39571 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
39572 * sysdeps/x86/bits/linkmap.h: This.
39573
f726f0bb
L
39574 * sysdeps/i386/bits/endian.h: Removed.
39575 * sysdeps/x86_64/bits/endian.h: Renamed to ...
39576 * sysdeps/x86/bits/endian.h: This.
39577
13764867
L
39578 * sysdeps/i386/bits/byteswap.h: Removed.
39579 * sysdeps/i386/bits/byteswap-16.h: Likewise.
39580 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
39581 * sysdeps/x86/bits/byteswap.h: This.
39582 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
39583 * sysdeps/x86/bits/byteswap-16.h: This.
39584 * sysdeps/i386/Implies: Add x86.
39585 * sysdeps/x86_64/Implies: Likewise.
39586
ae251b0b
DM
395872012-05-30 David S. Miller <davem@davemloft.net>
39588
39589 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
39590 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
39591 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
39592 (FP_TRAPPING_EXCEPTIONS): Define.
39593 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
39594 (FP_TRAPPING_EXCEPTIONS): Define.
39595 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
39596 subnormals only when inexact has been signalled or underflow
39597 exceptions are enabled.
39598 (_FP_PACK_CANONICAL): Likewise.
39599
d5c90867
L
396002012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39601
39602 [BZ #14183]
39603 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
39604 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
39605
63f1549e
RH
396062012-05-30 Richard Henderson <rth@twiddle.net>
39607
8d8f2279
RH
39608 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
39609 with #ifndef NOT_IN_libc.
39610
63f1549e
RH
39611 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
39612 marked to avoid plt entry.
39613
0ab0291b
L
396142012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39615
39616 [BZ #14112]
39617 * Makeconfig (default-abi): New macro.
39618 (abi-includes): Likewise.
39619 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
39620 $(abi-$(default-abi)-lib-soname) for soname if defined.
39621 ($(common-objpfx)gnu/lib-names.stmp): Generate from
39622 abi-variants.
39623 * Makefile (installed-stubs): Likewise.
39624 * include/stubs-biarch.h: Removed.
39625 * scripts/lib-names.awk: Only handle one library at a time.
39626 * scripts/soversions.awk: Remove WORDSIZE support.
39627 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
39628 entries.
39629 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
39630 Removed.
39631 (syscall-list-default-condition): Likewise.
39632 (syscall-list-default-condition): Likewise.
39633 (syscall-list-includes): Likewise.
39634 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
39635 syscall-list-* with abi-*. Handle undefined abi-variants.
39636 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
39637 * sysdeps/unix/sysv/linux/i386/Implies: New file.
39638 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
39639 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
39640 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
39641 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
39642 Removed.
39643 (syscall-list-32-options): Likewise.
39644 (syscall-list-32-condition): Likewise.
39645 (syscall-list-64-options): Likewise.
39646 (syscall-list-64-condition): Likewise.
39647 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
39648 macro.
39649 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
39650 Renamed to ...
39651 (abi-*): This.
39652 (abi-64-ld-soname): New macro.
39653 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
39654 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
39655 Renamed to ...
39656 (abi-*): This.
39657 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
39658 * sysdeps/x86_64/x32/shlib-versions: Likewise.
39659
4da0431d
JM
396602012-05-30 Joseph Myers <joseph@codesourcery.com>
39661
3a85279c
JM
39662 * sysdeps/unix/sysv/linux/kernel-features.h
39663 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
39664 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
39665 include <kernel-features.h>.
39666 [!__NR_ftruncate64]: Remove conditional code.
39667 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39668 [__NR_ftruncate64]: Make code unconditional.
39669 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39670 * sysdeps/unix/sysv/linux/truncate64.c: Do not
39671 include <kernel-features.h>.
39672 [!__NR_ftruncate64]: Remove conditional code.
39673 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39674 [__NR_ftruncate64]: Make code unconditional.
39675 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
39677 include <kernel-features.h>.
39678 [!__NR_ftruncate64]: Remove conditional code.
39679 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39680 [__NR_ftruncate64]: Make code unconditional.
39681 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
39683 include <kernel-features.h>.
39684 [!__NR_ftruncate64]: Remove conditional code.
39685 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39686 [__NR_ftruncate64]: Make code unconditional.
39687 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39688
4da0431d
JM
39689 * configure.in (libc_cv_fpie): Weaken to a compile test using
39690 LIBC_TRY_CC_OPTION.
39691 * configure: Regenerated.
39692
11ef492c
AK
396932012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39694
39695 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
39696 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
39697 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
39698 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39699 Refreshed.
39700 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
39701 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
39702 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
39703 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
39704 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
39705 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39706 Refreshed.
39707
d66ef399
DM
397082012-05-27 David S. Miller <davem@davemloft.net>
39709
39710 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
39711 (___Q_zero): New.
39712 (__Q_simulate_exceptions): Return void. Change to simulate
39713 exceptions by writing into the %fsr.
39714 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
39715 (__Qp_handle_exceptions): Likewise.
39716 (numbers): Delete.
39717 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
39718 __Qp_handle_exceptions.
39719 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
39720 __Qp_handle_exceptions.
39721 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39722 as unused and give dummy FP_RND_NEAREST initializer.
39723 (FP_INHIBIT_RESULTS): Define.
39724 (___Q_simulate_exceptions): Update declaration.
39725 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
39726 formatting.
39727 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39728 as unused and give dummy FP_RND_NEAREST initializer.
39729 (__Qp_handle_exceptions): Update declaration.
39730 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
39731 formatting.
39732
04fb54b5
TS
397332012-05-27 Thomas Schwinge <thomas@codesourcery.com>
39734
39735 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
39736 the temporary FPU control word.
39737 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
39738 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
39739 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
39740 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
39741 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
39742 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
39743 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
39744 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39745 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
39746 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
39747 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39748
3f99608f
KK
397492012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39750
39751 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
39752 fields.
39753
65a4de4e
CLT
397542012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
39755
39756 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
39757 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
39758 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
39759 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
39760 Likewise.
39761 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
39762 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
39763 Likewise.
39764
15749d40
UD
397652012-05-27 Ulrich Drepper <drepper@gmail.com>
39766
39767 * po/h.po: Update from translation team.
39768
25dbcb27
AS
397692012-05-26 Andreas Schwab <schwab@linux-m68k.org>
39770
3d3f8e55
AS
39771 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
39772
25dbcb27
AS
39773 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
39774 handling of denormals.
39775 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39776 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
39777 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
39778 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
39779 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39780 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
39781 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
39782 Likewise.
39783
7ad47a80 397842012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
39785
39786 [BZ #14152]
39787 * math/libm-test.inc (fma_test): Don't always expect underflow
39788 exception.
39789
9c6ea9fa
SP
397902012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39791
39792 [BZ #12416]
39793 * elf/tst-execstack.c: Include stackinfo.h.
39794 (do_test): Adjust test case to ensure that pthread_getattr_np
39795 behaviour remains the same after marking stack executable.
39796
a8239222
JM
397972012-05-25 Joseph Myers <joseph@codesourcery.com>
39798
39799 * sysdeps/unix/sysv/linux/kernel-features.h
39800 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
39801 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
39802 kernel-features.h.
39803 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39804 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39805 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
39806 kernel-features.h.
39807 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39808 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39809
918b5606
L
398102012-05-25 H.J. Lu <hongjiu.lu@intel.com>
39811
39812 * configure.in: Define the default includes to being none.
39813 * configure: Regenerated.
39814
3a097cc7
RM
398152012-05-25 Roland McGrath <roland@hack.frob.com>
39816
8422c9a5
RM
39817 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
39818 * sysdeps/x86_64/setjmp.S: Likewise.
39819 * sysdeps/i386/bsd-setjmp.S: Likewise.
39820 * sysdeps/i386/bsd-_setjmp.S: Likewise.
39821 * sysdeps/i386/setjmp.S: Likewise.
39822 * sysdeps/i386/__longjmp.S: Likewise.
39823 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39824 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
39825
3a097cc7
RM
39826 * include/stap-probe.h: New file.
39827 * configure.in: Handle --enable-systemtap.
39828 * configure: Regenerated.
39829 * config.h.in (USE_STAP_PROBE): New #undef.
39830 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
39831 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
39832 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
39833
21708942
JM
398342012-05-25 Joseph Myers <joseph@codesourcery.com>
39835
39836 [BZ #13717]
39837 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
39838 to 2.4.0 where earlier.
39839 * sysdeps/unix/sysv/linux/configure: Regenerated.
39840 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
39841 <kernel-features.h>.
39842 [__ASSUME_32BITUIDS]: Make code unconditional.
39843 [!__ASSUME_32BITUIDS]: Remove conditional code.
39844 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
39845 <kernel-features.h>.
39846 [__ASSUME_32BITUIDS]: Make code unconditional.
39847 [!__ASSUME_32BITUIDS]: Remove conditional code.
39848 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
39849 [__ASSUME_32BITUIDS]: Make code unconditional.
39850 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
39851 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/i386/msgctl.c: Do not include
39884 <kernel-features.h>.
39885 [__ASSUME_32BITUIDS]: Make code unconditional.
39886 [!__ASSUME_32BITUIDS]: Remove conditional code.
39887 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
39888 <kernel-features.h>.
39889 [__ASSUME_32BITUIDS]: Make code unconditional.
39890 [!__ASSUME_32BITUIDS]: Remove conditional code.
39891 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
39892 <kernel-features.h>.
39893 [__NR_setresgid] (__setresgid): Do not declare.
39894 [__ASSUME_32BITUIDS]: Make code unconditional.
39895 [!__ASSUME_32BITUIDS]: Remove conditional code.
39896 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
39897 <kernel-features.h>.
39898 [__NR_setresuid] (__setresuid): Do not declare.
39899 [__ASSUME_32BITUIDS]: Make code unconditional.
39900 [!__ASSUME_32BITUIDS]: Remove conditional code.
39901 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
39902 <kernel-features.h>.
39903 [__ASSUME_32BITUIDS]: Make code unconditional.
39904 [!__ASSUME_32BITUIDS]: Remove conditional code.
39905 * sysdeps/unix/sysv/linux/i386/setfsuid.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/i386/setgid.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/i386/setgroups.c: Do not include
39914 <kernel-features.h>.
39915 [__ASSUME_32BITUIDS]: Make code unconditional.
39916 [!__ASSUME_32BITUIDS]: Remove conditional code.
39917 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
39918 <kernel-features.h>.
39919 [__ASSUME_32BITUIDS]: Make code unconditional.
39920 [!__ASSUME_32BITUIDS]: Remove conditional code.
39921 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
39922 <kernel-features.h>.
39923 [__ASSUME_32BITUIDS]: Make code unconditional.
39924 [!__ASSUME_32BITUIDS]: Remove conditional code.
39925 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
39926 <kernel-features.h>.
39927 [__ASSUME_32BITUIDS]: Make code unconditional.
39928 [!__ASSUME_32BITUIDS]: Remove conditional code.
39929 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
39930 <kernel-features.h>.
39931 [__ASSUME_32BITUIDS]: Make code unconditional.
39932 [!__ASSUME_32BITUIDS]: Remove conditional code.
39933 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
39934 <kernel-features.h>.
39935 [__ASSUME_32BITUIDS]: Make code unconditional.
39936 [!__ASSUME_32BITUIDS]: Remove conditional code.
39937 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
39938 <kernel-features.h>.
39939 [__ASSUME_32BITUIDS]: Make code unconditional.
39940 [!__ASSUME_32BITUIDS]: Remove conditional code.
39941 * sysdeps/unix/sysv/linux/kernel-features.h
39942 (__ASSUME_SETRESUID_SYSCALL): Remove.
39943 (__ASSUME_SETRESGID_SYSCALL): Likewise.
39944 (__ASSUME_32BITUIDS): Likewise.
39945 (__ASSUME_LDT_WORKS): Likewise.
39946 (__ASSUME_O_DIRECTORY): Likewise.
39947 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
39948 architecture but not kernel version.
39949 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
39950 (__ASSUME_MMAP2_SYSCALL): Likewise.
39951 (__ASSUME_STAT64_SYSCALL): Likewise.
39952 (__ASSUME_IPC64): Likewise.
39953 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
39954 <kernel-features.h>.
39955 [__ASSUME_32BITUIDS]: Make code unconditional.
39956 [!__ASSUME_32BITUIDS]: Remove conditional code.
39957 * sysdeps/unix/sysv/linux/opendir.c: Do not include
39958 <kernel-features.h>.
39959 [__ASSUME_O_DIRECTORY]: Make code unconditional.
39960 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
39961 132096]: Remove conditional code.
39962 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
39963 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
39964 <kernel-features.h>.
39965 [__ASSUME_32BITUIDS]: Make code unconditional.
39966 [!__ASSUME_32BITUIDS]: Remove conditional code.
39967 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
39968 <kernel-features.h>.
39969 [__ASSUME_32BITUIDS]: Make code unconditional.
39970 [!__ASSUME_32BITUIDS]: Remove conditional code.
39971 * sysdeps/unix/sysv/linux/setegid.c: Do not include
39972 <kernel-features.h>.
39973 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
39974 unconditional.
39975 (__setresgid): Do not declare.
39976 [__ASSUME_32BITUIDS]: Make code unconditional.
39977 [!__ASSUME_32BITUIDS]: Remove conditional code.
39978 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
39979 <kernel-features.h>.
39980 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
39981 unconditional.
39982 (__setresuid): Do not declare.
39983 [__ASSUME_32BITUIDS]: Make code unconditional.
39984 [!__ASSUME_32BITUIDS]: Remove conditional code.
39985 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
39986 <kernel-features.h>.
39987 [__ASSUME_32BITUIDS]: Make code unconditional.
39988 [!__ASSUME_32BITUIDS]: Remove conditional code.
39989 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
39990 <kernel-features.h>.
39991 [__ASSUME_32BITUIDS]: Make code unconditional.
39992 [!__ASSUME_32BITUIDS]: Remove conditional code.
39993
a386f1cc
RH
399942012-05-25 Richard Henderson <rth@twiddle.net>
39995
39996 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
39997 dl_hwcap to ifunc resolver.
39998 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
39999 elf_ifunc_invoke.
40000 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
40001 dl_hwcap to ifunc resolver.
40002 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
40003
b6550497
JM
400042012-05-24 Joseph Myers <joseph@codesourcery.com>
40005
40006 [BZ #14153]
40007 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
40008 for |x| <= 2**-26, not 2**-57.
40009 * math/libm-test.inc (acos_test): Do not allow spurious underflow
40010 exception.
40011
b0bc23a1
JL
400122012-05-24 Jeff Law <law@redhat.com>
40013
40014 * stdio-common/Makefile (tests): Add bug25.
40015 * stdio-common/bug25.c: New test.
40016
347c92e9
L
400172012-05-24 H.J. Lu <hongjiu.lu@intel.com>
40018
40019 [BZ #13576]
40020 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
40021 multiple of MALLOC_ALIGNMENT in size.
40022 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
40023
6bcc8b3f
JM
400242012-05-24 Joseph Myers <joseph@codesourcery.com>
40025
40026 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
40027 Require >= 256.
40028 (FILENAME_MAX): Use macro-int-constant.
40029 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
40030 (_IOFBF): Use macro-int-constant.
40031 (_IOLBF): Likewise.
40032 (_IONBF): Likewise.
40033 (SEEK_CUR): Likewise.
40034 (SEEK_END): Likewise.
40035 (SEEK_SET): Likewise.
40036 (TMP_MAX): Likewise.
40037 (EOF): Use macro-int-constant. Require < 0.
40038 (NULL): Use macro-constant. Require == 0.
40039 (stdin): Require type to be FILE *.
40040 (stdout): Likewise.
40041 (stderr): Likewise.
40042 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
40043 macro-int-constant.
40044 (EXIT_SUCCESS): Likewise.
40045 (NULL): Use macro-constant. Require == 0.
40046 (RAND_MAX): Use macro-int-constant.
40047 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
40048 [C99-based standards] (strtof): Require function.
40049 [C99-based standards] (strtold): Likewise.
40050 [C99-based standards] (strtoll): Likewise.
40051 [C99-based standards] (strtoull): Likewise.
40052 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
40053 [ISO || ISO99 || ISO11] (limits.h): Likewise.
40054 [ISO || ISO99 || ISO11] (math.h): Likewise.
40055 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
40056 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
40057 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40058
d18ea0c5
AS
400592012-05-24 Andreas Schwab <schwab@linux-m68k.org>
40060
40061 [BZ #14132]
56d25bb8
AS
40062 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
40063 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
40064 * intl/dgettext.c (DCGETTEXT): Likewise.
40065 * intl/gettext.c (DCGETTEXT): Likewise.
40066 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
40067 * posix/regex_internal.h (gettext): Likewise.
40068 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
40069 Remove declaration.
40070 * include/argz.h (__argz_count_internal)
40071 (__argz_stringify_internal): Remove declaration.
40072 (__argz_count, __argz_stringify): Declare hidden proto.
40073 * intl/dcgettext.c: Remove use of INTDEF.
40074 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
40075 * string/argz-stringify.c: Likewise.
40076 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
40077 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
40078 Declare hidden proto.
d18ea0c5
AS
40079 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
40080 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
40081 Declare hidden proto.
40082 * include/stdio.h (__asprintf_internal): Don't declare.
40083 (__asprintf): Don't define as macro. Declare hidden proto.
40084 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
40085 (__fsetlocking): Declare hidden proto.
40086 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
40087 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
40088 hidden proto.
40089 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
40090 (_IO_setlinebuf): Remove use of INTUSE.
40091 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
40092 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
40093 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
40094 Remove declaration.
40095 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
40096 (_IO_do_flush): Remove use of INTUSE.
40097 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
40098 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
40099 (_IO_adjust_column, _IO_least_wmarker)
40100 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
40101 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
40102 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
40103 (_IO_default_doallocate, _IO_wdefault_doallocate)
40104 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
40105 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
40106 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
40107 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
40108 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
40109 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
40110 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
40111 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
40112 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
40113 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
40114 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
40115 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
40116 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
40117 proto.
40118 (_IO_flush_all_internal, _IO_adjust_column_internal)
40119 (_IO_default_uflow_internal, _IO_default_finish_internal)
40120 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
40121 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
40122 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
40123 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
40124 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
40125 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
40126 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
40127 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
40128 (_IO_file_close_internal, _IO_file_close_it_internal)
40129 (_IO_file_underflow_internal, _IO_file_overflow_internal)
40130 (_IO_file_init_internal, _IO_file_attach_internal)
40131 (_IO_file_fopen_internal, _IO_file_read_internal)
40132 (_IO_file_sync_internal, _IO_file_seek_internal)
40133 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
40134 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
40135 (_IO_str_underflow_internal, _IO_str_overflow_internal)
40136 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
40137 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
40138 (_IO_list_all_internal, _IO_link_in_internal)
40139 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
40140 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
40141 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
40142 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
40143 (_IO_do_write_internal, _IO_padn_internal)
40144 (_IO_getline_info_internal, _IO_getline_internal)
40145 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
40146 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
40147 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
40148 (_IO_vfscanf_internal, _IO_vfprintf_internal)
40149 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
40150 (_IO_init_internal, _IO_un_link_internal): Don't declare.
40151 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
40152 with libc_hidden_ver, remove use of INTUSE.
40153 * libio/genops.c: Likewise.
40154 * libio/freopen.c: Likewise.
40155 * libio/freopen64.c: Likewise.
40156 * libio/iofclose.c: Likewise.
40157 * libio/iofdopen.c: Likewise.
40158 * libio/iofflush.c: Likewise.
40159 * libio/iofflush_u.c: Likewise.
40160 * libio/iofgets.c: Likewise.
40161 * libio/iofgets_u.c: Likewise.
40162 * libio/iofopen.c: Likewise.
40163 * libio/iofopncook.c: Likewise.
40164 * libio/iofread.c: Likewise.
40165 * libio/iofread_u.c: Likewise.
40166 * libio/ioftell.c: Likewise.
40167 * libio/iofwrite.c: Likewise.
40168 * libio/iogetline.c: Likewise.
40169 * libio/iogets.c: Likewise.
40170 * libio/iogetwline.c: Likewise.
40171 * libio/iopadn.c: Likewise.
40172 * libio/iopopen.c: Likewise.
40173 * libio/ioseekoff.c: Likewise.
40174 * libio/ioseekpos.c: Likewise.
40175 * libio/iosetbuffer.c: Likewise.
40176 * libio/iosetvbuf.c: Likewise.
40177 * libio/ioungetc.c: Likewise.
40178 * libio/ioungetwc.c: Likewise.
40179 * libio/iovdprintf.c: Likewise.
40180 * libio/iovsprintf.c: Likewise.
40181 * libio/iovsscanf.c: Likewise.
40182 * libio/memstream.c: Likewise.
40183 * libio/obprintf.c: Likewise.
40184 * libio/oldfileops.c: Likewise.
40185 * libio/oldiofclose.c: Likewise.
40186 * libio/oldiofdopen.c: Likewise.
40187 * libio/oldiofopen.c: Likewise.
40188 * libio/oldiopopen.c: Likewise.
40189 * libio/oldstdfiles.c: Likewise.
40190 * libio/putc.c: Likewise.
40191 * libio/setbuf.c: Likewise.
40192 * libio/setlinebuf.c: Likewise.
40193 * libio/stdfiles.c: Likewise.
40194 * libio/strops.c: Likewise.
40195 * libio/vasprintf.c: Likewise.
40196 * libio/vscanf.c: Likewise.
40197 * libio/vsnprintf.c: Likewise.
40198 * libio/vswprintf.c: Likewise.
40199 * libio/wfiledoalloc.c: Likewise.
40200 * libio/wfileops.c: Likewise.
40201 * libio/wgenops.c: Likewise.
40202 * libio/wmemstream.c: Likewise.
40203 * libio/wstrops.c: Likewise.
40204 * libio/__fpurge.c: Likewise.
40205 * libio/__fsetlocking.c: Likewise.
40206 * assert/assert.c: Likewise.
40207 * debug/fgets_chk.c: Likewise.
40208 * debug/fgets_u_chk.c: Likewise.
40209 * debug/fread_chk.c: Likewise.
40210 * debug/fread_u_chk.c: Likewise.
40211 * debug/gets_chk.c: Likewise.
40212 * debug/obprintf_chk.c: Likewise.
40213 * debug/vasprintf_chk.c: Likewise.
40214 * debug/vdprintf_chk.c: Likewise.
40215 * debug/vsnprintf_chk.c: Likewise.
40216 * debug/vsprintf_chk.c: Likewise.
40217 * malloc/mtrace.c: Likewise.
40218 * misc/error.c: Likewise.
40219 * misc/syslog.c: Likewise.
40220 * stdio-common/asprintf.c: Likewise.
40221 * stdio-common/fxprintf.c: Likewise.
40222 * stdio-common/getw.c: Likewise.
40223 * stdio-common/isoc99_fscanf.c: Likewise.
40224 * stdio-common/isoc99_scanf.c: Likewise.
40225 * stdio-common/isoc99_vfscanf.c: Likewise.
40226 * stdio-common/isoc99_vscanf.c: Likewise.
40227 * stdio-common/isoc99_vsscanf.c: Likewise.
40228 * stdio-common/printf-prs.c: Likewise.
40229 * stdio-common/printf_fp.c: Likewise.
40230 * stdio-common/printf_fphex.c: Likewise.
40231 * stdio-common/printf_size.c: Likewise.
40232 * stdio-common/putw.c: Likewise.
40233 * stdio-common/scanf.c: Likewise.
40234 * stdio-common/sprintf.c: Likewise.
40235 * stdio-common/tmpfile.c: Likewise.
40236 * stdio-common/vfprintf.c: Likewise.
40237 * stdio-common/vfscanf.c: Likewise.
40238 * stdlib/strfmon_l.c: Likewise.
40239 * sunrpc/openchild.c: Likewise.
40240 * sunrpc/xdr_stdio.c: Likewise.
40241 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
40242 * sysdeps/mach/hurd/tmpfile.c: Likewise.
40243
d6c33fda
RM
402442012-05-24 Roland McGrath <roland@hack.frob.com>
40245
c1487492
RM
40246 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40247
40248 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
40249 in the third column, to generate for the shared library an IFUNC
40250 that uses _dl_vdso_vsym.
40251 * Makerules (COMPILE.c, compile-stdin.c): New variables.
40252 * Makeconfig (object-suffixes-noshared): New variable.
40253
40254 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
40255 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
40256 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
40257 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
40258
d6c33fda
RM
40259 [BZ #14132]
40260 * include/sys/time.h (__gettimeofday): Remove macro.
40261 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
40262 * time/gettimeofday.c (__gettimeofday): Remove #undef.
40263 Remove INTDEF.
40264 (__gettimeofday): Add libc_hidden_def.
40265 (gettimeofday): Add libc_hidden_weak.
40266 * sysdeps/mach/gettimeofday.c: Likewise.
40267 * sysdeps/posix/gettimeofday.c: Likewise.
40268 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
40269 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
40270 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
40271 (__gettimeofday_internal): Remove strong_alias.
40272 (__gettimeofday): Add libc_hidden_def.
40273 (gettimeofday): Add libc_hidden_weak.
40274 * sysdeps/unix/syscalls.list (gettimeofday):
40275 Remove __gettimeofday_internal alias.
40276
b5a2bbe6
L
402772012-05-24 Daniel Jacobowitz <drow@false.org>
40278 H.J. Lu <hongjiu.lu@intel.com>
40279
40280 [BZ #12495]
40281 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
40282 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
40283 (largebin_index_32_big): New.
40284 (largebin_index): Use it for 16-byte alignment.
40285 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
40286 correction with front_misalign.
40287
cfba4fda
L
402882012-05-24 H.J. Lu <hongjiu.lu@intel.com>
40289
7f907421
L
40290 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
40291 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
40292 Likewise.
40293 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
40294 Likewise.
40295 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
40296 Likewise.
40297 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
40298 Likewise.
40299 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
40300 Likewise.
40301 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
40302 Likewise.
40303 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
40304 Likewise.
40305 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
40306 Likewise.
40307 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
40308 Likewise.
40309 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
40310 Likewise.
40311 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
40312 Likewise.
40313 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
40314 Likewise.
40315
cfba4fda
L
40316 * scripts/data/c++-types-x32-linux-gnu.data: New file.
40317 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
40318
80bad0cc
JM
403192012-05-24 Joseph Myers <joseph@codesourcery.com>
40320
7a25eb06
JM
40321 [BZ #10846]
40322 [BZ #14036]
40323 * math/libm-test.inc (exp_test): Add test from bug 14036.
40324 (pow_test): Add test from bug 10846.
40325
795405f9
JM
40326 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
40327 and other flags.
40328 (special_function): Do not include flags in test name.
40329 (parse_args): Likewise.
40330 * sysdeps/i386/fpu/libm-test-ulps: Update.
40331 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40332 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40333 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40335
80bad0cc
JM
40336 * math/gen-libm-test.pl (%beautify): Add entries for underflow
40337 exceptions.
40338 * math/libm-test.inc ("Philosophy"): Update comment about
40339 exception testing.
40340 (UNDERFLOW_EXCEPTION): New macro.
40341 (UNDERFLOW_EXCEPTION_OK): Likewise.
40342 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
40343 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
40344 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
40345 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
40346 (INVALID_EXCEPTION_OK): Update value.
40347 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
40348 (OVERFLOW_EXCEPTION_OK): Likewise.
40349 (IGNORE_ZERO_INF_SIGN): Likewise.
40350 (test_exceptions): Handle underflow exceptions.
40351 (acos_test): Update for underflow exception expectations.
40352 (cexp_test): Likewise.
40353 (clog_test): Likewise.
40354 (clog10_test): Likewise.
40355 (csqrt_test): Likewise.
40356 (ctan_test): Likewise.
40357 (ctanh_test): Likewise.
40358 (exp_test): Likewise.
40359 (exp10_test): Likewise.
40360 (exp2_test): Likewise.
40361 (expm1_test): Likewise.
40362 (fma_test): Likewise.
40363 (j0_test): Likewise.
40364 (jn_test): Likewise.
40365 (nexttoward_test): Likewise.
40366 (pow_test): Likewise.
40367 (scalbn_test): Likewise.
40368 (scalbln_test): Likewise.
40369 (tan_test): Likewise.
40370 (y1_test): Likewise.
40371 * sysdeps/i386/fpu/libm-test-ulps: Update.
40372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40373
9e0e3d0b
DM
403742012-05-23 David S. Miller <davem@davemloft.net>
40375
40376 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
40377 (__libc_sigaction): Remove unused local variables.
40378
ccd0a08f
L
403792012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40380
40381 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
40382
62bdf9a6
PE
403832012-05-23 Paul Eggert <eggert@cs.ucla.edu>
40384
f8591f80
PE
40385 mktime: avoid signed integer overflow
40386 * time/mktime.c (__mktime_internal): Do not mishandle the case
40387 where diff == INT_MIN.
40388
94c7d826
PE
40389 mktime: simplify computation of average
40390 * time/mktime.c (ranged_convert): Use new time_t_avg function
40391 instead of rolling our own (probably-slower) code.
40392
ce73d683
PE
40393 mktime: do not assume signed right shift propagates sign bit
40394 * time/mktime.c (isdst_differ): New static function.
40395 (__mktime_internal): No need to normalize tm_isdst now.
40396 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
40397 tm_isdst values.
40398
72a22e59
PE
40399 mktime: merge another wrapv change from gnulib
40400 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
40401 from some compilers.
40402
68605433
PE
40403 mktime: remove incorrect attempt at unusual arithmetics
40404 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
40405 The code didn't really work on such machines anyway.
40406 (TYPE_MINIMUM): Assume two's complement.
40407 (twos_complement_arithmetic): Verify that long_int and time_t
40408 are two's complement (or unsigned, in the latter case).
40409
03cf7fe3
PE
40410 mktime: check signed shifts on long_int and time_t, too
40411 * time/mktime.c (SHR): Check that shifts work as desired
40412 on the types long_int and time_t too, as SHR is used on
40413 such types.
40414
f04dfbc2
PE
40415 mktime: do not assume 'long' is wide enough
40416 * time/mktime.c (verify): Move decl up.
40417 (long_int): New type.
40418 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
40419 to remove assumption in the code that 'long' is wide enough to
40420 store year values. This assumption is not true on x32 and on
40421 some non-glibc platforms.
40422
62bdf9a6
PE
40423 mktime: merge wrapv change from gnulib
40424 * time/mktime.c (WRAPV): New macro.
40425 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
40426 (guess_time_tm, __mktime_internal): Do not assume that signed
40427 integer overflow wraps around; modern compilers generate code
40428 where this assumption is no longer valid.
40429
5e292e4f
L
404302012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40431
40432 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
40433 Replace "jmp L(pseudo_end)" with "ret".
40434 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
40435 Likewise.
40436
8caf8c87
AJ
404372012-05-23 Andreas Jaeger <aj@suse.de>
40438
40439 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
40440 * sysdeps/unix/sysv/linux/poll.c: Remove file.
40441
1a09dc56
AJ
404422012-05-23 Andreas Jaeger <aj@suse.de>
40443 Maximilian Attems <max@stro.at>
40444
40445 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
40446 New macros.
40447
1c87aba0
L
404482012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40449
40450 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
40451 code so that pseudo_end is just ret and the stack pointer is
40452 correct also for static library in error case.
40453
40e45bd5
JM
404542012-05-23 Joseph Myers <joseph@codesourcery.com>
40455
c2670533
JM
40456 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
40457 move to syscalls.list.
40458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
40459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
40460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
40461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
40462
40e45bd5
JM
40463 * manual/install.texi (Running make install): Do not mention Linux
40464 kernel version for which pt_chown is not needed.
40465 (Linux): Do not mention problems with nscd with 2.0 kernels.
40466 * INSTALL: Regenerated.
40467
be08eda5
AJ
404682012-05-23 Andreas Jaeger <aj@suse.de>
40469
40470 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
40471 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
40472 macro.
40473 * sysdeps/unix/sysv/linux/s390/bits/mman.h
40474 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40475 * sysdeps/unix/sysv/linux/sh/bits/mman.h
40476 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40477 * sysdeps/unix/sysv/linux/i386/bits/mman.h
40478 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40479 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
40480 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40481 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
40482 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40483 * sysdeps/unix/sysv/linux/bits/in.h
40484 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
40485
a6a056bb
RM
404862012-05-22 Roland McGrath <roland@hack.frob.com>
40487
40488 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
40489 (PREPARE_VERSION): Just use assert instead, it will be elided
40490 under [NDEBUG] anyway.
40491
c9009328
L
404922012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40493
40494 * sysdeps/unix/sysv/linux/Makefile: Include
40495 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 40496 (sysdep_routines): Remove sysctl.
c9009328
L
40497 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
40498 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
40499 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
40500 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
40501 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
40502
73338355
AJ
405032012-05-22 Andreas Jaeger <aj@suse.de>
40504
40505 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
40506 that pseudo_end is just ret and the stack pointer is correct also
40507 for static library in error case.
40508
d44638b0
PP
405092012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
40510
40511 [BZ #14122]
40512 * nss/nsswitch.c (defconfig_entries): New variable.
40513 (__nss_database_lookup): Don't leak defconfig entries.
40514 (nss_parse_service_list): Don't leak on error paths.
40515 (free_database_entries): New function.
40516 (free_defconfig): New function.
40517 (free_mem): Move common code to free_database_entries.
40518
31a39bd8
L
405192012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40520
da0331a8
L
40521 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
40522 Add arch_prctl.
40523 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
40524
31a39bd8
L
40525 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
40526 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
40527 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
40528 New macro.
40529 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
40530 (INTERNAL_SYSCALL_TYPES): Likewise.
40531 (LOAD_ARGS_TYPES_[1-6]): Likewise.
40532 (LOAD_REGS_TYPES_[1-6]): Likewise.
40533 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
40534 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
40535
45470df3
AZ
405362012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40537
40538 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
40539 copysignl for GLIBC_2_0.
40540 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
40541 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
40542 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
40543 logbl for GLIBC_2_0.
40544 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
40545 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
40546
98a61bcb
L
405472012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40548
a4f6e481
L
40549 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
40550 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
40551
f63d5db6
L
40552 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
40553 Use "neg %eax".
40554
98a61bcb
L
40555 * time/mktime.c: Update copyright years.
40556
95770f14
PE
405572012-05-22 Paul Eggert <eggert@cs.ucla.edu>
40558
6226efbd
PE
40559 mktime: merge comment-quoting-style change from gnulib
40560 * time/mktime.c: Quote 'like this' in comments.
40561 The GNU coding standards suggest that we no longer quote `like this',
40562 as "`" and "'" are typically rendered asymmetrically nowadays.
40563 The typical gnulib style is to quote 'like this' when quoting
40564 code, and "like this" when quoting English.
40565
b99e4f78
PE
40566 * time/mktime.c (compile-command): Add "-I.".
40567
643e01e6
PE
40568 mktime: merge mktime-internal.h change from gnulib
40569 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
40570
2554247d
PE
40571 mktime: merge time_r change from gnulib
40572 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
40573
826dd0ab
PE
40574 mktime: merge DEBUG change from gnulib
40575 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
40576 case system <time.h> has a #define.
40577
bd83aabe
PE
40578 mktime: merge <sys/types.h> change from gnulib
40579 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
40580 since <time.t> is now guaranteed to define time_t.
40581
95770f14
PE
40582 mktime: merge HAVE_CONFIG_H change from gnulib
40583 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
40584
5e1a27a9
L
405852012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40586
0e44a77e
L
40587 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
40588 Use "neg %eax".
40589
5e1a27a9
L
40590 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
40591 __rlim_t cast.
40592 (struct rusage): Use anonymous union to pad each field to
40593 __syscall_slong_t.
40594
46259bec
DM
405952012-05-21 David S. Miller <davem@davemloft.net>
40596
40597 * Makefules (o-iterator): Remove .s cases.
40598 (compile-command.s): Delete.
40599 (COMPILE.s): Delete.
40600 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
40601
59f0c22e
JM
406022012-05-21 Joseph Myers <joseph@codesourcery.com>
40603
40604 * configure.in (libc_cv_predef_stack_protector): Only consider
40605 "foobar" and "__stack_chk_fail" lines in libc_undefs.
40606 * configure: Regenerated.
40607
20c07380
L
406082012-05-21 H.J. Lu <hongjiu.lu@intel.com>
40609
bbb3154b
L
40610 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
40611 New macro. Use R*LP on int and pointer.
40612 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
40613 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
40614 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
40615 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
40616
20c07380
L
40617 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
40618 [__WORDSIZE_TIME64_COMPAT32] instead of
40619 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
40620 (struct utmp): Likewise.
40621 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
40622 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
40623 Renamed to ...
40624 (__WORDSIZE_TIME64_COMPAT32): This.
40625 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
40626 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
40627 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
40628 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
40629 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
40630 (__WORDSIZE_TIME64_COMPAT32): New macro.
40631
d8d1017e
AJ
406322012-05-21 Andreas Jaeger <aj@suse.de>
40633
40634 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
40635 only if [SHARED]. Add prototype for __wcschr_ia32.
40636
6c7fb145
RM
406372012-05-21 Roland McGrath <roland@hack.frob.com>
40638
40639 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
40640 of %rbp unmolested in the jmp_buf while mangling the low bits.
40641 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
40642 unmolested high bits of %rbp while demangling the low bits.
40643 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
40644
66274218
AJ
406452012-05-21 Andreas Jaeger <aj@suse.de>
40646
07c58f8f
AJ
40647 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
40648 * sunrpc/svc_simple.c: Use it for registerrpc.
40649 * sunrpc/xcrypt.c: Use it for passwd2des.
40650
66274218
AJ
40651 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
40652
61f65140
L
406532012-05-21 H.J. Lu <hongjiu.lu@intel.com>
40654
40655 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
40656 Don't define if [__SYSCALL_WORDSIZE != 32].
40657 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
40658 New macro.
40659
5fefb436
AJ
406602012-05-21 Bruno Haible <bruno@clisp.org>
40661 Andreas Jaeger <aj@suse.de>
40662
40663 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
40664 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
40665 inptr and inend for must_buffer_ch.
40666 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
40667 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
40668 * stdio-common/Makefile (tests): Remove bug15.
40669 (bug15-ENV): Remove macro.
40670 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
40671 anymore.
40672
d8e272ab
AJ
406732012-05-19 Andreas Jaeger <aj@suse.de>
40674 Roland McGrath <roland@hack.frob.com>
40675
40676 * manual/contrib.texi: Completely rewritten. It contains now an
40677 alphabetical list of contributors and their contributions.
40678
4a56a162
RH
406792012-05-21 Richard Henderson <rth@twiddle.net>
40680
40681 * misc/getauxval.c (__getauxval): Use unsigned long int.
40682 * misc/sys/auxv.h: Include <sys/cdefs.h>.
40683 (getauxval): Use unsigned long int.
40684
d024d23c
L
406852012-05-21 H.J. Lu <hongjiu.lu@intel.com>
40686
40687 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40688
cbc00a03
RM
406892012-05-21 Roland McGrath <roland@hack.frob.com>
40690
40691 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
40692 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
40693 __alignof__ (long double).
40694
478143fa
AZ
406952012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40696
40697 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40698
c7683a6d
RH
406992012-05-20 Richard Henderson <rth@twiddle.net>
40700
40701 * misc/getauxval.c: New file.
40702 * misc/sys/auxv.h: New file.
40703 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
40704 (routines): Add getauxval.
40705 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
40706 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
40707 * elf/dl-sysdep.c (_dl_auxv): Remove.
40708 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
40709 * elf/dl-support.c (_dl_auxv): New variable.
40710 (_dl_aux_init): Initialize it.
40711 * manual/startup.texi (Auxiliary Vector): New node.
40712 * sysdeps/generic/bits/hwcap.h: New file.
40713 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
40714 * sysdeps/powerpc/sysdep.h: ... here. Include it.
40715 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
40716 * sysdeps/sparc/sysdep.h: ... here. Include it.
40717 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
40718 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
40719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40720 Update.
c7683a6d
RH
40721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
40722 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
40723 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
40724 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
40725 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40726 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40727 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
40728 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
40729
a6f1845d
AZ
407302012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40731
40732 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40733
cbcbe830
DM
407342012-05-19 David S. Miller <davem@davemloft.net>
40735
40736 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40737
e0b16cc2
JM
407382012-05-19 Joseph Myers <joseph@codesourcery.com>
40739
40740 [BZ #14123]
40741 * math/s_ccosh.c: Include <float.h>
40742 (__ccosh): Avoid internal overflow calculating sinh and cosh
40743 values before multiplying by sin and cos values.
40744 * math/s_ccoshf.c: Likewise.
40745 * math/s_ccoshl.c: Likewise.
40746 * math/s_csin.c: Likewise.
40747 * math/s_csinf.c: Likewise.
40748 * math/s_csinl.c: Likewise.
40749 * math/s_csinh.c: Likewise.
40750 * math/s_csinhf.c: Likewise.
40751 * math/s_csinhl.c: Likewise.
40752 * math/libm-test.inc (ccos_test): Add more tests.
40753 (ccosh_test): Likewise.
40754 (csin_test): Likewise.
40755 (csinh_test): Likewise.
40756 * sysdeps/i386/fpu/libm-test-ulps: Update.
40757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40758
6ad13e08
L
407592012-05-19 H.J. Lu <hongjiu.lu@intel.com>
40760
f66f0ce8
L
40761 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
40762 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
40763
6ad13e08
L
40764 * sysdeps/x86_64/x32/_itoa.h: Add comment.
40765
b1d072a7
JM
407662012-05-19 Joseph Myers <joseph@codesourcery.com>
40767
40768 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
40769 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
40770 * sysdeps/powerpc/soft-fp/Versions: Likewise.
40771 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
40772 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
40773 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
40774 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
40775 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
40776 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
40777 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
40778 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
40779 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
40780 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
40781 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
40782 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
40783 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
40784 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
40785 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
40786 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
40787 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
40788 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
40789 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
40790 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
40791 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
40792 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
40793 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
40794 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
40795 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
40796 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
40797 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
40798 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
40799
9eae47cb
AJ
408002012-05-18 Andreas Jaeger <aj@suse.de>
40801
40802 * csu/.gitignore: Delete.
40803
bb07f69f
L
408042012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40805
40806 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
40807 (timex): Use __syscall_slong_t.
40808
e6bdb741
AJ
408092012-05-18 Andreas Jaeger <aj@suse.de>
40810 Carlos O'Donell <carlos_odonell@mentor.com>
40811
40812 * manual/install.texi (Configuring and compiling): Update
40813 description about files modified in the source directory.
d6c33fda 40814 * INSTALL: Regenerated.
e6bdb741 40815
1b74487e
L
408162012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40817
40818 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
40819 value. Use "or" to set return value to -1.
40820 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
40821 negate return value.
40822
a88b64b9
TMQMF
408232012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40824
57f41c40
AS
40825 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
40826 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
40827 failure if the compiler has Graphite support disabled.
40828 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
40829 Likewise.
57f41c40
AS
40830 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
40831 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
40832 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
40833 Likewise.
40834
3707636e
L
408352012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40836
610b8622
L
40837 * sysdeps/x86_64/x32/_itoa.h: New file.
40838
7cd195df
L
40839 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
40840 getdents system call only if kernel and user dirents have the
40841 same d_ino and d_off.
40842
94b07d20
L
40843 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
40844 LLONG_MAX != LONG_MAX.
40845 (_itoa_word): Use _ITOA_WORD_TYPE on value.
40846 (_fitoa_word): Likewise.
40847
18298070
L
40848 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
40849 years.
40850 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
40851 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
40852 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
40853
553c7ea4
L
40854 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
40855 include <bits/wordsize.h>. Check __x86_64__ instead of
40856 __WORDSIZE.
40857 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
40858 if __x86_64__ is defined. Use anonymous union on fpstate.
40859
3707636e
L
40860 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
40861 anonymous union.
40862
b53ef01a
AS
408632012-05-18 Andreas Schwab <schwab@linux-m68k.org>
40864
37fb1dc0
AS
40865 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
40866 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
40867 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
40868 Refer to _rtld_local_ro instead of _rtld_global_ro.
40869 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
40870 Likewise.
40871 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
40872 Likewise.
40873 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
40874 Likewise.
40875 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
40876 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
40877 of _rtld_global, and rtld_progname instead of _dl_argv[0].
40878
b53ef01a
AS
40879 * sysdeps/powerpc/powerpc32/dl-machine.c
40880 (__elf_machine_runtime_setup) [PROF]: Don't reference
40881 _dl_prof_resolve.
40882
7a185db2
AJ
408832012-05-18 Andreas Jaeger <aj@suse.de>
40884
40885 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
40886 function only available for GCCs before 3.4 since GCC 3.4
40887 introduced a builtin.
40888 (lrint): Likewise.
40889 (llrintf): Likewise.
40890 (llrint): Likewise.
40891 (fmaxf): Likewise.
40892 (fmax): Likewise.
40893 (fminf): Likewise.
40894 (fmin): Likewise.
40895 (rint): Likewise.
40896 (rintf): Likewise.
40897 (nearbyint): Likewise.
40898 (nearbyintf): Likewise.
40899 (ceil): Likewise.
40900 (ceilf): Likewise.
40901 (floor): Likewise.
40902 (floorf): Likewise.
40903
3e5aef87
L
409042012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40905
428bd707
L
40906 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
40907 on both fields and cast pointer to __syscall_ulong_t.
40908
3e5aef87
L
40909 * bits/types.h (__fsword_t): New type.
40910 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
40911 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
40912 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40913 (__FSWORD_T_TYPE): Likewise.
40914 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40915 (__FSWORD_T_TYPE): Likewise.
40916 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40917 (__FSWORD_T_TYPE): Likewise.
40918 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
40919 (__FSWORD_T_TYPE): Likewise.
40920 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
40921 __SWORD_TYPE with __fsword_t.
40922 (statfs64): Likewise.
40923
1ba7c3dc
DM
409242012-05-17 David S. Miller <davem@davemloft.net>
40925
40926 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
40927
59910343
AJ
409282012-05-17 Andreas Jaeger <aj@suse.de>
40929
40930 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
40931 warning.
40932
2e4c1e9e
L
409332012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40934
40935 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
40936
de7f5ce7
AJ
409372012-05-17 Andreas Jaeger <aj@suse.de>
40938
40939 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
40940 when it is used.
40941
286abc3d
CM
409422012-05-17 Chris Metcalf <cmetcalf@tilera.com>
40943
40944 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
40945
477cc68e
L
409462012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40947
40948 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
40949 * sysdeps/x86_64/tst-mallocalign1.c: New file.
40950
1a0994f5
CD
409512012-05-17 Andreas Jaeger <aj@suse.de>
40952 Carlos O'Donell <carlos_odonell@mentor.com>
40953
40954 [BZ #14059]
40955 * sysdeps/x86_64/multiarch/init-arch.h
40956 (bit_YMM_Usable): Rename to...
40957 (bit_AVX_Usable): ... this.
40958 (bit_FMA4_Usable): New macro.
40959 (bit_XMM_state): New macro.
40960 (bit_YMM_state): New macro.
40961 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
40962 [__ASSEMBLER__] (index_AVX_Usable): ... this.
40963 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
40964 (CPUID_OSXSAVE): New macro.
40965 (CPUID_AVX): New macro.
40966 (CPUID_FMA4): New macro.
40967 (index_YMM_Usable): Rename to...
40968 (index_AVX_Usable): ... this.
40969 (HAS_AVX): Use HAS_ARCH_FEATURE.
40970 (HAS_FMA4): Likewise.
40971 (HAS_YMM_USABLE): Remove.
40972 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40973 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
40974 are present.
40975 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
40976 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
40977 * sysdeps/x86_64/multiarch/Makefile: Likewise.
40978 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
40979 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
40980
0af797de
CM
409812012-05-17 Chris Metcalf <cmetcalf@tilera.com>
40982
40983 * math/libm-test.c: Support platforms without multiple rounding modes.
40984 * math/bug-nextafter.c: Support platforms without FP exceptions.
40985 * math/bug-nexttoward.c: Likewise.
40986 * math/test-fenv.c: Likewise.
40987 * math/test-misc.c: Likewise.
40988 * stdlib/bug-getcontext.c: Likewise.
40989
e39745ff
AJ
409902012-05-17 Andreas Jaeger <aj@suse.de>
40991
40992 * manual/examples/search.c (critter_cmp): Change signature to
40993 avoid warnings.
40994 * manual/string.texi (Collation Functions): Likewise.
40995
48970aba
L
409962012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40997
40998 * bits/types.h: Fold copyright years.
40999 * bits/typesizes.h: Likewise.
41000 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
41001 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
41002 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
41003 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
41004 * time/time.h: Likewise.
41005
bedee953
PP
410062012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
41007
41008 [BZ #208]
41009 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
41010 in instead of returning them. Return void.
41011 (__libc_mallinfo): Accumulate over all arenas.
41012 (__malloc_stats): Adjust for change in int_mallinfo interface.
41013
61653dfb
RM
410142012-05-16 Roland McGrath <roland@hack.frob.com>
41015
30b99d79
RM
41016 [BZ #10375]
41017 * configure.in (NM): Add AC_CHECK_TOOL for it.
41018 (libc_extra_cflags): New substituted variable.
41019 Check for -fstack-protector being used implicitly.
41020 * configure: Regenerated.
41021 * config.make.in (config-extra-cflags): New variable,
41022 gets @libc_extra_cflags@.
41023 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
41024
61653dfb
RM
41025 [BZ #10375]
41026 * configure.in: Check for _FORTIFY_SOURCE being predefined.
41027 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
41028 * configure: Regenerated.
41029 * config.make.in (CPPUNDEFS): New substituted variable.
41030 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
41031 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
41032 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
41033
661768bb
L
410342012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41035
41036 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
41037 (mq_attr): Use __syscall_slong_t.
41038
d4261567
L
410392012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41040
41041 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
41042 Check __x86_64__ instead of __WORDSIZE.
41043 (_STAT_VER_LINUX): Likewise.
41044 (stat): Check __x86_64__ instead of __WORDSIZE. Use
41045 __syscall_ulong_t and __syscall_slong_t.
41046 (stat64): Likewise.
41047
cf3ff365
L
410482012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41049
41050 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
41051
76cf3e4d
L
410522012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41053
41054 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
41055
a637753a
L
410562012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41057
41058 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
41059 __syscall_ulong_t.
41060
d5e05119
L
41061 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
41062 include <bits/wordsize.h>. Check __x86_64__ instead of
41063 __WORDSIZE.
41064 (greg_t): Use "__extension__ long long int" if __x86_64__ is
41065 defined.
41066 (mcontext_t): Replace "unsigned long" with "unsigned long long".
41067
f62ee380
L
41068 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
41069 include <bits/wordsize.h>. Check __x86_64__ instead of
41070 __WORDSIZE.
41071 (user_regs_struct): Use "__extension__ unsigned long long"
41072 instead of "unsigned long" if __x86_64__ is defined.
41073 (user): Likewise. Pad after pointer field if __ILP32__ is
41074 defined.
41075
4e124ced
JM
410762012-05-16 Joseph Myers <joseph@codesourcery.com>
41077
6a3951a0
JM
41078 * configure.in (makeinfo): Require version 4.5 or later. Allow
41079 versions 5 to 9.
41080 * configure: Regenerated.
41081 * manual/install.texi (texinfo): Increase version requirement to
41082 4.5 or later.
41083 * INSTALL: Regenerated.
41084
4e124ced
JM
41085 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
41086
953ca31a
L
410872012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41088
41089 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
41090
617aca05
L
41091 * sysdeps/x86_64/x32/ffs.c: New file.
41092
5762f7ae
L
41093 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
41094 __syscall_ulong_t.
41095 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
41096 defined. Use __syscall_ulong_t.
41097 (shminfo): Use __syscall_ulong_t.
41098 (shm_info): Likewise.
41099
a26b6856
L
41100 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
41101 __syscall_ulong_t.
41102
cb2b9ef7
L
41103 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
41104 <bits/wordsize.h>.
41105 (msgqnum_t): Use __syscall_ulong_t.
41106 (msglen_t): Likewise.
41107 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
41108 __syscall_ulong_t.
41109
34683bb0
L
41110 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
41111 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41112
84a68786
L
41113 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
41114
48baa5f1
L
41115 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
41116 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
41117
180be88b
L
41118 * sysvipc/sys/msg.h (msgbuf): Replace long int with
41119 __syscall_slong_t.
41120
5e90c8ad
L
41121 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
41122 include <bits/wordsize.h>. Check __x86_64__ instead of
41123 __WORDSIZE.
41124
23dfb58b
L
41125 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
41126 "unsigned long long int" if __x86_64__ is defined.
41127 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
41128
ce5d54b0
L
41129 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
41130 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41131 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
41132
13dc9eac
L
41133 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
41134 <stdint.h>.
41135 (GET_PC): Cast to uintptr_t first.
41136 (GET_FRAME): Likewise.
41137 (GET_STACK): Likewise.
41138
a7895d15
L
41139 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
41140 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
41141 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
41142 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
41143 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
41144 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
41145 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
41146 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
41147 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
41148 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
41149 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
41150 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
41151 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
41152 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
41153 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
41154 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
41155 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
41156 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
41157 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
41158 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
41159 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
41160 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
41161 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
41162 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
41163 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
41164 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
41165 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
41166 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
41167 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
41168
656416c9
AS
411692012-05-16 Andreas Schwab <schwab@linux-m68k.org>
41170
5bd66283
AS
41171 * Makerules (+depfiles): Also collect depfiles from .oS in
41172 $(extra-objs).
41173 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
41174 .oS, $(libnldbl-routines)).
41175
656416c9
AS
41176 * Makerules (native-compile-mkdep-flags): Define.
41177 * sunrpc/Makefile (extra-objs): Add $(addprefix
41178 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
41179 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
41180 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
41181 calling $(make-target-directory).
41182
a46f2169
L
411832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41184
41185 * bits/types.h (__snseconds_t): Removed.
41186 * time/time.h (struct timespec): Replace __snseconds_t with
41187 __syscall_slong_t.
41188 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
41189 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
41190 Likewise.
41191 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41192 (__SNSECONDS_T_TYPE): Likewise.
41193 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41194 (__SNSECONDS_T_TYPE): Likewise.
41195 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41196 (__SNSECONDS_T_TYPE): Likewise.
41197
6af6528b
L
411982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41199
41200 * sysdeps/mach/hurd/bits/typesizes.h
41201 (__SYSCALL_SLONG_TYPE): New macro.
41202 (__SYSCALL_ULONG_TYPE): Likewise.
41203
de986b56
L
412042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41205
41206 * bits/types.h (__syscall_slong_t): New type.
41207 (__syscall_ulong_t): Likewise.
41208
41209 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
41210 (__SYSCALL_ULONG_TYPE): Likewise.
41211 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41212 (__SYSCALL_SLONG_TYPE): Likewise.
41213 (__SYSCALL_ULONG_TYPE): Likewise.
41214 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41215 (__SYSCALL_SLONG_TYPE): Likewise.
41216 (__SYSCALL_ULONG_TYPE): Likewise.
41217 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41218 (__SYSCALL_SLONG_TYPE): Likewise.
41219 (__SYSCALL_ULONG_TYPE): Likewise.
41220
85736dc7
L
412212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41222
41223 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
41224 Add sigaltstack-offsets.sym.
41225 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
41226 <sigaltstack-offsets.h>.
41227 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
41228 longjmp_msg pointer.
41229 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
41230 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
41231 signal stack.
41232 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
41233
cc03b296
JM
412342012-05-15 Joseph Myers <joseph@codesourcery.com>
41235
a9538892
JM
41236 * elf/stackguard-macros.h: Remove file.
41237 * sysdeps/generic/stackguard-macros.h: New file.
41238 * sysdeps/i386/stackguard-macros.h: Likewise.
41239 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
41240 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
41241 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
41242 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
41243 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
41244 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
41245 * sysdeps/x86_64/stackguard-macros.h: Likewise.
41246 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
41247 <elf/stackguard-macros.h>.
41248
cc03b296
JM
41249 [BZ #14109]
41250 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
41251 __aligned__ in attribute.
41252 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
41253 (gregset_t): Likewise.
41254
93171016
L
412552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41256
41257 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
41258 * sysdeps/x86_64/64/Implies-after: Here. New file.
41259 * sysdeps/x86_64/x32/Implies-after: New file.
41260
d86813a0
L
412612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41262
41263 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
41264 and access return value for _dl_profile_fixup. Use R10_LP to
41265 load frame size.
41266
2953ec75
L
412672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41268
41269 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
41270
3b550e9e
L
412712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41272
41273 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
41274 * sysdeps/x86_64/x32/sysdep.h: New file.
41275
eda41706
L
412762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41277
41278 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
41279 * sysdeps/x86_64/setjmp.S: Likewise.
41280
9ea01d93
AZ
412812012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41282
41283 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
41284 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
41285 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
41286 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
41287 remove unused global constant.
41288
02a91938
CM
412892012-05-15 Chris Metcalf <cmetcalf@tilera.com>
41290
41291 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
41292 include of <not-cancel.h>.
41293
6540185f
RM
412942012-05-15 Roland McGrath <roland@hack.frob.com>
41295
41296 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
41297
509072a0
AJ
412982012-05-15 Jeff Law <law@redhat.com>
41299 Andreas Jaeger <aj@suse.de>
41300
41301 [BZ #13594]
41302 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
41303 out from...
41304 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
41305 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
41306 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
41307 code changing __hst_map_handle.map.
41308
ba75122d
RM
413092012-05-15 Roland McGrath <roland@hack.frob.com>
41310
41311 * configure.in (sysnames): Look for Implies-before and Implies-after
41312 files.
41313 * configure: Regenerated.
41314
890d8bd8
L
413152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41316
41317 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
41318 8-byte data alignment with LP_SIZE alignment.
41319
f6ee6623
L
413202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41321
41322 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
41323 into R10_LP.
41324
ea2626f6
L
413252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41326
41327 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
41328
085f715e
L
413292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41330
41331 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
41332 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
41333 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
41334 Likewise.
41335 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
41336
be8498fc
L
413372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41338
41339 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
41340 (stackinfo_sub_sp): Likewise.
41341
70bc83b9
L
413422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41343
41344 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
41345 RAX_LP.
41346
9bc0b730
L
413472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41348
41349 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
41350 into R*_LP.
41351
6d2850e7
L
413522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41353
41354 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
41355 sizes into R*_LP.
41356
3cb84561
L
413572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41358
41359 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
41360
54e2ed81
L
413612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41362
41363 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
41364 into R11_LP and load __x86_64_shared_cache_size_half into
41365 R8_LP.
41366
8a17f349
L
413672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41368
41369 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
41370 R8_LP.
41371
777b1eea
AZ
413722012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41373
41374 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
41375 logb for POWER7.
41376 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
41377 logbf for POWER7.
41378 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
41379 logbl for POWER7.
41380 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
41381 powerpc32/power7/fpu/s_logb.c via #include.
41382 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
41383 powerpc32/power7/fpu/s_logbf.c via #include.
41384 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
41385 powerpc32/power7/fpu/s_logbl.c via #include.
41386
d20d4ac2
JM
413872012-05-15 Joseph Myers <joseph@codesourcery.com>
41388
41389 * README.libm: Remove file.
41390
6cdef1ab
L
413912012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41392
41393 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
41394 count for x32. Use R*_LP and omit operand-size suffix.
41395
0b254d8f
L
413962012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41397
41398 * shlib-versions: Move x86_64-.*-linux.* entries to ...
41399 * sysdeps/x86_64/64/shlib-versions: Here. New file.
41400 * sysdeps/x86_64/x32/shlib-versions: New file.
41401
ceb809dc
RM
414022012-05-14 Roland McGrath <roland@hack.frob.com>
41403
41404 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
41405 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
41406 Use _dl_fatal_printf instead.
41407
37f1abd4
JM
414082012-05-14 Joseph Myers <joseph@codesourcery.com>
41409
41410 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
41411 set if not set by the user. Do not allow for being unset.
41412 * sysdeps/unix/sysv/linux/configure: Regenerated.
41413
11de3a33
L
414142012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41415
41416 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
41417 the `q' suffix from lea and replace .quad with ASM_ADDR.
41418
e02f153a
L
414192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41420
41421 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
41422 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
41423 instead of $17.
41424 (PTR_DEMANGLE): Likewise.
41425
520ae0fd
L
414262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41427
41428 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
41429 (LP_OP): Likewise.
41430 (ASM_ADDR): Likewise.
41431 (RAX_LP): Likewise.
41432 (RBP_LP): Likewise.
41433 (RBX_LP): Likewise.
41434 (RCX_LP): Likewise.
41435 (RDI_LP): Likewise.
41436 (RSI_LP): Likewise.
41437 (RSP_LP): Likewise.
41438 (R8_LP): Likewise.
41439 (R9_LP): Likewise.
41440 (R10_LP): Likewise.
41441 (R10_LP): Likewise.
41442 (R11_LP): Likewise.
41443 (R12_LP): Likewise.
41444 (R13_LP): Likewise.
41445 (R14_LP): Likewise.
41446 (R15_LP): Likewise.
41447
b985be81
L
414482012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41449
41450 * sysdeps/x86_64/x32/dl-machine.h: New file.
41451
6a4888ff
AJ
414522012-05-14 Andreas Jaeger <aj@suse.de>
41453
41454 * manual/Makefile (subdir): Remove export of subdir.
41455 (all): Remove target.
41456 (.PHONY): Remove all from list.
41457 (mkinstalldirs): Remove.
41458 (.PHONY): Remove installdirs from list.
41459 ($(inst_infodir)/libc.info): Use make-target-directory.
41460 (installdirs): Remove.
41461 (subdir_%): Remove.
41462 (glibc-targets): Remove.
41463 (lib): Remove.
41464 (stubs): Remove.
41465 ($(objpfx)stubs ../po/manual.pot): Remove.
41466 ($(objpfx)stamp%): Remove.
41467 (make-target-directory): Remove.
41468 (subdir_install): Remove.
41469 (routines): Remove.
41470 (aux): Remove.
41471 (sources): Remove.
41472 (objects): Remove.
41473 (headers): Remove.
41474
41475 [BZ #13750]
41476 * manual/.gitignore: Remove, it's not needed anymore.
41477 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
41478 all files in it.
41479 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
41480 directory.
41481 (texis): Renamed to $(objpfx)texis.
41482 (texis-path): New, contains path to generated files.
41483 (chapters.%): Use texis-path for complete path, add extra argument
41484 libc-texinfo.sh.
41485 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
41486 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
41487 (summary,texi, stamp-summary): Use complete path of
41488 files. Generate files in build dir.
41489 (dir-add.texi): Build in build dir.
41490 (libm-err.texi,stamp-libm-err): Likewise.
41491 (version.texi, stamp-version): Likewise.
41492 (.%c.texi): Likewise.
41493 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
41494 (mostlyclean): Remove target.
41495 (realclean): Remove target.
41496 (generated): Add new variable with contents from mostlyclean and
41497 realclean, remove entries duplicated in common-mostlyclean, add
41498 stamp-libm-err and stamp-version.
41499 (generated-dirs): Add libc directory.
41500 ($(inst_infodir)/libc.info): Install files from build dir.
41501
41502 * manual/install.texi (Configuring and compiling): Adjust since
41503 the info files are not part of the tar ball anymore.
41504
7ac77294
AJ
415052012-05-14 Andreas Jaeger <aj@suse.de>
41506
41507 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
41508 variable.
41509
ffb7875d
JM
415102012-05-14 Joseph Myers <joseph@codesourcery.com>
41511
41512 [BZ #13717]
41513 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
41514 to 2.2.0 where earlier.
41515 * sysdeps/unix/sysv/linux/configure: Regenerated.
41516 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
41517 Remove conditional code.
41518 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
41519 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
41520 Remove conditional code.
41521 [!__NR_lchown]: Likewise.
41522 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41523 [__NR_lchown]: Likewise.
41524 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
41525 comment referencing __ASSUME_LCHOWN_SYSCALL.
41526 * sysdeps/unix/sysv/linux/i386/sigaction.c
41527 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41528 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41529 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
41530 Remove conditional code.
41531 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
41532 (__protocol_available): Remove #if 0 code.
41533 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
41534 conditional code.
41535 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
41536 * sysdeps/unix/sysv/linux/kernel-features.h
41537 (__ASSUME_GETCWD_SYSCALL): Don't define.
41538 (__ASSUME_REALTIME_SIGNALS): Likewise.
41539 (__ASSUME_PREAD_SYSCALL): Likewise.
41540 (__ASSUME_PWRITE_SYSCALL): Likewise.
41541 (__ASSUME_POLL_SYSCALL): Likewise.
41542 (__ASSUME_LCHOWN_SYSCALL): Likewise.
41543 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
41544 non-SPARC.
41545 (__ASSUME_SIOCGIFNAME): Don't define.
41546 (__ASSUME_MSG_NOSIGNAL): Likewise.
41547 (__ASSUME_SENDFILE): Define unconditionally.
41548 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
41549 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
41550 conditional code.
41551 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
41552 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
41553 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
41554 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41555 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
41556 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
41557 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
41559 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41560 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
41562 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41563 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
41565 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41566 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
41568 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41569 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
41571 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41572 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
41574 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41575 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
41577 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41578 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
41580 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41581 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41582 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
41583 Remove conditional code.
41584 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41585 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
41586 Remove conditional code.
41587 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41588 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
41589 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
41590 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
41591 Remove conditional code.
41592 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41593 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
41594 Remove conditional code.
41595 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41596 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
41597 Remove conditional code.
41598 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41599 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
41600 Remove conditional code.
41601 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41602 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
41603 Remove conditional code.
41604 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41605 * sysdeps/unix/sysv/linux/sh/pwrite64.c
41606 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41607 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41608 * sysdeps/unix/sysv/linux/sigaction.c
41609 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41610 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41611 * sysdeps/unix/sysv/linux/sigpending.c
41612 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41613 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41614 * sysdeps/unix/sysv/linux/sigprocmask.c
41615 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41616 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41617 * sysdeps/unix/sysv/linux/sigsuspend.c
41618 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41619 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41620 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41621 (__libc_missing_rt_sigs): Remove.
41622 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
41623 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
41624 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
41625 Remove conditional code.
41626 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
41627 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
41628 return 1.
41629 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
41630 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
41631 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
41632 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
41633
1bfb7291
AJ
416342012-05-14 Andreas Jaeger <aj@suse.de>
41635
caae5a81
AJ
41636 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
41637 it's not used in glibc.
41638 (__coshm1): Likewise.
41639 (__acosh1p): Likewise.
41640 (__sgn): Likewise.
41641
1bfb7291
AJ
41642 * manual/string.texi (Copying and Concatenation): Add missing
41643 variable in concat example.
41644 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
41645
c044d724
L
416462012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41647
144c5467 41648 [BZ #14103]
c044d724
L
41649 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
41650 __builtin_clzl with __builtin_clzll.
41651
2523c62b
L
416522012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41653
41654 [BZ #14104]
41655 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
41656 libc_freeres_ptr.
41657
d7bb4c42
LD
416582012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41659
41660 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
41661 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
41662 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
41663 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
41664
9dc4e1fb
MF
416652012-05-14 Mike Frysinger <vapier@gentoo.org>
41666
41667 * NEWS: Update ia64 info.
41668
c7df0112
AS
416692012-05-12 Andreas Schwab <schwab@linux-m68k.org>
41670
41671 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
41672 used as bcopy.
41673
dc70356c
TS
416742012-05-12 Thomas Schwinge <thomas@codesourcery.com>
41675
41676 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
41677 * sysdeps/unix/syscalls.list (dup3): Likewise.
41678 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
41679 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
41680
9fb1a21f
L
416812012-05-11 H.J. Lu <hongjiu.lu@intel.com>
41682
41683 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
41684 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
41685
4822a2a5
L
416862012-05-11 H.J. Lu <hongjiu.lu@intel.com>
41687
41688 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
41689 thread pointer.
41690 (TLS_IE): Use mov/add instead of movq/addq to load thread
41691 pointer.
41692 (TLS_GD_PREFIX): New.
41693 (TLS_GD): Use it.
41694
842b81d6
DM
416952012-05-11 David S. Miller <davem@davemloft.net>
41696
41697 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
41698 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
41699 (_FPU_SETCW): Likewise.
41700
1cf463cd
L
417012012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41702
41703 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
41704 is 32-byte aligned.
41705
60cc4a18
AS
417062012-05-11 Andreas Schwab <schwab@linux-m68k.org>
41707
41708 [BZ #11837]
41709 * iconvdata/gb18030.c: Update tables.
41710 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
41711 characters specially.
41712 (BODY for TO_LOOP): Add encoding of missing ranges.
41713
febb44a4
TS
417142012-05-11 Thomas Schwinge <thomas@codesourcery.com>
41715
41716 [BZ #13673]
41717 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
41718 * sysdeps/mach/hurd/dup3.c: Likewise.
41719 * sysdeps/mach/hurd/readlinkat.c: Likewise.
41720 * sysdeps/powerpc/memmove.c:: Likewise.
41721
0a10fb9e
L
417222012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41723
41724 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
41725 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
41726
df8a552f
L
417272012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41728
41729 * elf/elf.h (R_X86_64_RELATIVE64): New.
41730 (R_X86_64_NUM): Updated.
41731 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
41732 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
41733 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
41734 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
41735 tst-quad1pie tst-quad2pie
41736 (modules-names): Add tst-quadmod1 tst-quadmod2.
41737 ($(objpfx)tst-quad1): New dependency.
41738 ($(objpfx)tst-quad2): Likewise.
41739 ($(objpfx)tst-quad1pie): Likewise.
41740 ($(objpfx)tst-quad2pie): Likewise.
41741 * sysdeps/x86_64/tst-quad1.c: New file.
41742 * sysdeps/x86_64/tst-quad1pie.c: New file.
41743 * sysdeps/x86_64/tst-quad2.c: Likewise.
41744 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
41745 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
41746 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
41747 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
41748 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
41749
f34d6f84
ST
417502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41751
f42d41d1
ST
41752 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
41753 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
41754 * streams/stropts.h (t_scalar_t): Define type.
41755
3c3571fc
ST
41756 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
41757 (_PATH_PRESERVE): Set to "/var/lib".
41758 (_PATH_RWHODIR): Set to "/var/spool/rwho".
41759
61f06bd3
ST
41760 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
41761 instead of int.
41762
918d4d71
ST
41763 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
41764 if __dir_mkfile succeeded.
41765
f34d6f84
ST
41766 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
41767 checking for _hurd_dtablesize. Unlock it right after having
41768 finished _hurd_dtable allocation.
41769
10589b4a
TS
417702012-05-10 Thomas Schwinge <thomas@schwinge.name>
41771
674cdbc7
TS
41772 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
41773 * sysdeps/mach/hurd/configure: Regenerated.
41774 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
41775 special-casing to...
41776 * sysdeps/gnu/configure.in: ... this new file.
41777 * sysdeps/unix/sysv/linux/configure: Regenerated.
41778 * sysdeps/gnu/configure: New generated file.
41779
8e41b99f
TS
41780 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
41781 for Linux: use nsec instead of usec, as well as:
41782 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
41783 members of type struct timespec.
41784 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
41785 New macros.
41786 (struct stat64): Likewise.
41787 (_STATBUF_ST_NSEC): New macro.
41788 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
41789
10589b4a
TS
41790 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
41791 __strtoul_internal rather than strtoul.
41792
63643c85
PT
417932012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41794
41795 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
41796 and reject them.
41797
3faebe6a
ST
417982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41799
41800 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
41801 which preserves existing values.
41802 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
41803
c6474b07
PT
418042012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41805
41806 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
41807 TIMEOUT values. Return EINVAL for NFDS values either negative or
41808 greater than FD_SETSIZE.
41809
1043890b
ST
418102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41811
41812 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
41813 allocated, call __vm_protect to finish enabling the existing space, and
41814 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
41815 allocate the remainder.
41816
37ed8b9b
PT
418172012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41818
41819 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
41820 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
41821
db653660
ST
418222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41823
37ed8b9b
PT
41824 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
41825 sysdeps/mach/hurd/readlink.c.
b29d4053 41826
db653660
ST
41827 * posix/tst-sysconf.c (posix_options): Only use
41828 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
41829 _POSIX_SYNCHRONIZED_IO when they are defined
41830 * sysdeps/mach/hurd/bits/posix_opt.h:
41831 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
41832 (_XOPEN_REALTIME): Undefine macro.
41833 (_XOPEN_REALTIME_THREADS): Undefine macro.
41834 (_XOPEN_SHM): Undefine macro.
41835 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
41836 macro to -1.
41837 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
41838 macro to -1.
41839 (_POSIX_ASYNC_IO): Undefine macro.
41840 (_POSIX_PRIORITIZED_IO): Undefine macro.
41841 (_POSIX_SPIN_LOCKS): Define macro to -1.
41842
ee16e894
ST
41843 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
41844 SA_NODEFER, SA_RESETHAND.
41845 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
41846 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
41847 F_DUPFD_CLOEXEC.
41848
6103ae3b
TS
418492012-05-10 Thomas Schwinge <thomas@schwinge.name>
41850
41851 * elf/Makefile (pldd-modules): Define unconditionally.
41852
80b4e5f3
TS
418532012-05-10 Thomas Schwinge <thomas@schwinge.name>
41854
41855 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
41856
edadcbd6
ST
418572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41858
41859 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
41860 Return ENOENT when name is empty.
41861 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
41862
80694780
TS
418632012-05-10 Thomas Schwinge <thomas@schwinge.name>
41864
1792c087
TS
41865 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
41866
80694780
TS
41867 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
41868
6b645f0d
ST
418692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41870
80694780
TS
41871 Fix mlock in all cases except non-readable pages.
41872 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
41873 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 41874
6b645f0d
ST
41875 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
41876 (__mkdir): When path is `/', just fail with EEXIST.
41877 * sysdeps/mach/hurd/mkdirat.c: Likewise.
41878
e468f8a3
TS
418792012-05-10 Thomas Schwinge <thomas@schwinge.name>
41880
41881 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
41882 <sys/uio.h> (for writev).
41883 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
41884 and <sys/param.h> (for MIN).
41885
a4186cff
PT
418862012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41887
41888 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
41889 REQUESTED_TIME. Properly set the remaining time and return EINTR
41890 if interrupted.
41891
510bbf14
TS
418922012-05-10 Thomas Schwinge <thomas@schwinge.name>
41893
41894 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
41895 Depend on against $(link-rpcuserlibs).
41896
5d5722e8
ST
418972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41898
a4186cff
PT
41899 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
41900 (__libc_stack_end): Do not use attribute_relro.
41901 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
41902 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 41903 to libthread-provided value.
a4186cff
PT
41904 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
41905 attribute_relro.
5d5722e8 41906
37233df9
TS
419072012-05-10 Thomas Schwinge <thomas@schwinge.name>
41908
be971a2b
TS
41909 [BZ #3748]
41910 * bits/libc-lock.h (__libc_once_get): New macro.
41911 * sysdeps/mach/bits/libc-lock.h: Likewise.
41912 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
41913 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
41914 instead of using implementation details.
41915
37233df9
TS
41916 * libio/fileops.c: Unconditionally include <kernel-features.h>.
41917 * libio/freopen.c: Likewise.
41918 * libio/freopen64.c: Likewise.
41919 * misc/syslog.c: Likewise.
41920 * nscd/connections.c: Likewise.
41921 * nscd/netgroupcache.c: Likewise.
41922 * sysdeps/posix/getcwd.c: Likewise.
41923
38de94a5
RM
419242012-05-10 Roland McGrath <roland@hack.frob.com>
41925
41926 * math/w_ilogbf.c: Add #include <limits.h>.
41927
67530489
ST
419282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41929
a4186cff 41930 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
41931 path instead of returning without unlocking.
41932
67530489
ST
41933 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
41934 immediate-write ioctls.
41935 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
41936
5aa3a74a
TS
419372012-05-10 Thomas Schwinge <thomas@schwinge.name>
41938
18bad2ae
TS
41939 * sysdeps/mach/hurd/i386/init-first.c (init): Use
41940 __builtin_frame_address instead of making assumptions about the
41941 location of the return address relative to DATA. Force early load of
41942 the return address.
41943 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
41944 __builtin_frame_address.
41945
5aa3a74a
TS
41946 dup3 for GNU Hurd.
41947 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
41948 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
41949 implement dup3 and do some further code clean-ups.
41950 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
41951 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
41952
ecd0de9a
ST
419532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41954
cd9fa985
ST
41955 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
41956
a4186cff
PT
41957 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
41958 HURD_CRITICAL_END around holding _hurd_dtable_lock.
41959 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
41960 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
41961 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
41962 d->port.lock.
802ca5a5 41963
a4186cff
PT
41964 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
41965 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
41966 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 41967
bcf55240
TS
419682012-05-10 Thomas Schwinge <thomas@schwinge.name>
41969
6960eb42
TS
41970 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
41971 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
41972 definitions.
41973
eb43375f
TS
41974 accept4 for GNU Hurd.
41975 * include/sys/socket.h (__libc_accept4): New prototype.
41976 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
41977 to implement __libc_accept4.
41978 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
41979 __libc_accept4.
41980 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
41981
bcf55240
TS
41982 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
41983 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
41984 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
41985 signal-defines.sym.
41986
6178c55b
ST
419872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41988
a4186cff 41989 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 41990
6f080c2f
TS
419912012-05-10 Thomas Schwinge <thomas@schwinge.name>
41992
41993 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
41994 assertion on O_CLOEXEC flag.
41995 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
41996 * hurd/intern-fd.c: Likewise.
41997 * hurd/port2fd.c: Likewise.
41998
bcfe3a54
ST
419992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42000
42001 [BZ #3906]
42002 * bits/in.h (IPV6_PKTINFO): Define new macro.
42003 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
42004
89c9aa49
AZ
420052012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42006
42007 [BZ #13954]
42008 [BZ #13955]
42009 [BZ #13956]
42010 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
42011 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42012 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
42013 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
42014 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42015 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
42016 * math/libm-test.inc (logb_test) : Additional logb tests.
42017
021db4be
AJ
420182012-05-09 Andreas Schwab <schwab@linux-m68k.org>
42019 Andreas Jaeger <aj@suse.de>
42020
42021 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
42022 * configure: Regenerated.
42023 * config.h.in (LINK_OBSOLETE_RPC): New macro.
42024 * config.make.in (link-obsolete-rpc): New substituted variable.
42025 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
42026 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
42027 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
42028 (shared-only-routines): Don't set it under [link-obsolete-rpc],
42029 so that libc.a contains the symbols.
42030 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
42031 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
42032 * sunrpc/auth_none.c: Likewise.
42033 * sunrpc/auth_unix.c: Likewise.
42034 * sunrpc/authdes_prot.c: Likewise.
42035 * sunrpc/authuxprot.c: Likewise.
42036 * sunrpc/clnt_gen.c: Likewise.
42037 * sunrpc/clnt_perr.c: Likewise.
42038 * sunrpc/clnt_raw.c: Likewise.
42039 * sunrpc/clnt_simp.c: Likewise.
42040 * sunrpc/clnt_tcp.c: Likewise.
42041 * sunrpc/clnt_udp.c: Likewise.
42042 * sunrpc/clnt_unix.c: Likewise.
42043 * sunrpc/des_crypt.c: Likewise.
42044 * sunrpc/des_soft.c: Likewise.
42045 * sunrpc/get_myaddr.c: Likewise.
42046 * sunrpc/key_call.c: Likewise.
42047 * sunrpc/key_prot.c: Likewise.
42048 * sunrpc/netname.c: Likewise.
42049 * sunrpc/pm_getmaps.c: Likewise.
42050 * sunrpc/pm_getport.c: Likewise.
42051 * sunrpc/pmap_clnt.c: Likewise.
42052 * sunrpc/pmap_prot.c: Likewise.
42053 * sunrpc/pmap_prot2.c: Likewise.
42054 * sunrpc/pmap_rmt.c: Likewise.
42055 * sunrpc/publickey.c: Likewise.
42056 * sunrpc/rpc_cmsg.c: Likewise.
42057 * sunrpc/rpc_common.c: Likewise.
42058 * sunrpc/rpc_dtable.c: Likewise.
42059 * sunrpc/rpc_prot.c: Likewise.
42060 * sunrpc/rpc_thread.c: Likewise.
42061 * sunrpc/rtime.c: Likewise.
42062 * sunrpc/svc.c: Likewise.
42063 * sunrpc/svc_auth.c: Likewise.
42064 * sunrpc/svc_raw.c: Likewise.
42065 * sunrpc/svc_run.c: Likewise.
42066 * sunrpc/svc_tcp.c: Likewise.
42067 * sunrpc/svc_udp.c: Likewise.
42068 * sunrpc/svc_unix.c: Likewise.
42069 * sunrpc/svcauth_des.c: Likewise.
42070 * sunrpc/xcrypt.c: Likewise.
42071 * sunrpc/xdr.c: Likewise.
42072 * sunrpc/xdr_array.c: Likewise.
42073 * sunrpc/xdr_float.c: Likewise.
42074 * sunrpc/xdr_intXX_t.c: Likewise.
42075 * sunrpc/xdr_mem.c: Likewise.
42076 * sunrpc/xdr_rec.c: Likewise.
42077 * sunrpc/xdr_ref.c: Likewise.
42078 * sunrpc/xdr_sizeof.c: Likewise.
42079 * sunrpc/xdr_stdio.c: Likewise.
42080
b5c086a2
RM
420812012-05-10 Roland McGrath <roland@hack.frob.com>
42082
42083 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
42084 change. Update copyright years.
42085
6d74dd09
JM
420862012-05-10 Joseph Myers <joseph@codesourcery.com>
42087
42088 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
42089
28e72501
MK
420902012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
42091 Joseph Myers <joseph@codesourcery.com>
42092 Paul Pluzhnikov <ppluzhnikov@google.com>
42093
42094 [BZ #14012]
42095 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
42096 requiring rpcgen.
42097 [cross-compiling] (extra-libs): Likewise.
42098 [cross-compiling] (extra-libs-others): Likewise.
42099 [cross-compiling] (librpcsvc-routines): Likewise.
42100 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
42101 [cross-compiling] (omit-deps): Likewise.
42102 (sunrpc-CPPFLAGS): New variable.
42103 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
42104 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
42105 (cross-rpcgen-objs): New variable.
42106 (extra-objs): Append $(cross-rpcgen-objs).
42107 ($(cross-rpcgen-objs)): New rule.
42108 ($(objpfx)cross-rpcgen): Likewise.
42109 (rpcgen-cmd): Define to use $(built-program-file). Expand
42110 comment.
42111 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
42112 ($(objpfx)x%.stmp): Likewise.
42113 * sunrpc/proto.h [IS_IN_build] (_): Define.
42114 [IS_IN_build] (_libc_intl_domainname): Likewise.
42115
c8c59454
L
421162012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42117
42118 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
42119 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
42120 and R_X86_64_TPOFF64.
42121
6f27cd16
JM
421222012-05-10 Joseph Myers <joseph@codesourcery.com>
42123
42124 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
42125 sysdeps/unix/sysv/syscalls.list.
42126 (stime): Likewise.
42127 (utime): Likewise.
42128 * sysdeps/unix/sysv/syscalls.list: Remove file.
42129
02467e1c
PE
421302012-05-10 Paul Eggert <eggert@cs.ucla.edu>
42131
42132 [BZ #3440]
42133 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
42134 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
42135 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
42136 (__LC_IDENTIFICATION): Make these macros useful in #if
42137 expressions, as required by C99.
42138
da392631
AS
421392012-05-10 Andreas Schwab <schwab@linux-m68k.org>
42140
42141 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
42142 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
42143 after this.
42144
8115f29b
L
421452012-05-09 H.J. Lu <hongjiu.lu@intel.com>
42146
42147 * stdlib/longlong.h: Updated from GCC.
42148
bdd74070
AJ
421492012-05-09 Andreas Jaeger <aj@suse.de>
42150
edfe0dbe
AJ
42151 * nscd/nscd.c (run_modes): Make named enum, reorder so that
42152 default is first entry.
42153 (run_mode): Set type.
42154 (main): Remove informal message about syslog.
42155 (options): Fix typo.
42156
bcfe3a54
ST
42157 [BZ #14053]
42158 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 42159 to asm.
bcfe3a54
ST
42160 (lrint): Likewise.
42161 (llrintf): Likewise.
42162 (llrint): Likewise.
42163 (rint): Likewise.
42164 (rintf): Likewise.
42165 (nearbyint): Likewise.
42166 (nearbyintf): Likewise.
bdd74070 42167
91d8d69e
AJ
421682012-05-09 Andreas Jaeger <aj@suse.de>
42169 Pedro Alves <palves@redhat.com>
42170
42171 * nscd/nscd.c (run_mode): Use enum.
42172 (main): Cleanup coding style issue.
42173
bb90b80b
AJ
421742012-05-09 Alexandre Oliva <aoliva@redhat.com>
42175 Andreas Jaeger <aj@suse.de>
42176
bcfe3a54
ST
42177 * nscd/nscd.c (go_background): Replaced with...
42178 (run_mode): ... this.
bb90b80b 42179 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
42180 (options): Add -F --foreground.
42181 (main): Implement it.
42182 (parse_opt): Parse it.
bb90b80b 42183
1a4b75a1
AJ
421842012-05-09 Andreas Jaeger <aj@suse.de>
42185
42186 [BZ #14083]
42187 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
42188 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
42189 -Wconversion warning.
42190 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
42191 Likewise.
42192
b1cc2472
JM
421932012-05-09 Joseph Myers <joseph@codesourcery.com>
42194
42195 * conform/data/locale.h-data (NULL): Use macro-constant. Require
42196 == 0.
42197 (LC_ALL): Use macro-int-constant.
42198 (LC_COLLATE): Likewise.
42199 (LC_CTYPE): Likewise.
42200 (LC_MESSAGES): Likewise.
42201 (LC_MONETARY): Likewise.
42202 (LC_NUMERIC): Likewise.
42203 (LC_TIME): Likewise.
42204 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
42205 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42206 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42207 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
42208 Specify type.
42209 [C99-based standards] (float_t): Expect type.
42210 [C99-based standards] (double_t): Expect type.
42211 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
42212 type.
42213 [C99-based standards] (HUGE_VALL): Likewise.
42214 [C99-based standards] (INFINITY): Likewise.
42215 [C99-based standards] (NAN): Likewise.
42216 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
42217 [C99-based standards] (FP_NAN): Likewise.
42218 [C99-based standards] (FP_NORMAL): Likewise.
42219 [C99-based standards] (FP_SUBNORMAL): Likewise.
42220 [C99-based standards] (FP_ZERO): Likewise.
42221 [C99-based standards] (FP_FAST_FMA): Use
42222 optional-macro-int-constant. Specify type. Require == 1.
42223 [C99-based standards] (FP_FAST_FMAF): Likewise.
42224 [C99-based standards] (FP_FAST_FMAL): Likewise.
42225 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
42226 [C99-based standards] (FP_ILOGBNAN): Likewise.
42227 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
42228 Specify type.
42229 [C99-based standards] (MATH_ERREXCEPT): Likewise.
42230 [C99-based standards] (math_errhandling): Specify type.
42231 [ISO99 || ISO11] (signgam): Do not allow.
42232 [non-C99-based standards] (copysignf): Do not allow.
42233 [non-C99-based standards] (exp2f): Likewise.
42234 [non-C99-based standards] (log2f): Likewise.
42235 [non-C99-based standards] (modff): Allow.
42236 [non-C99-based standards] (erff): Do not allow.
42237 [non-C99-based standards] (erfcf): Likewise.
42238 [non-C99-based standards] (gammaf): Likewise.
42239 [non-C99-based standards] (hypotf): Likewise.
42240 [non-C99-based standards] (j0f): Likewise.
42241 [non-C99-based standards] (j1f): Likewise.
42242 [non-C99-based standards] (jnf): Likewise.
42243 [non-C99-based standards] (lgammaf): Likewise.
42244 [non-C99-based standards] (tgammaf): Likewise.
42245 [non-C99-based standards] (y0f): Likewise.
42246 [non-C99-based standards] (y1f): Likewise.
42247 [non-C99-based standards] (ynf): Likewise.
42248 [non-C99-based standards] (isnanf): Likewise.
42249 [non-C99-based standards] (acoshf): Likewise.
42250 [non-C99-based standards] (asinhf): Likewise.
42251 [non-C99-based standards] (atanhf): Likewise.
42252 [non-C99-based standards] (cbrtf): Likewise.
42253 [non-C99-based standards] (expm1f): Likewise.
42254 [non-C99-based standards] (ilogbf): Likewise.
42255 [non-C99-based standards] (log1pf): Likewise.
42256 [non-C99-based standards] (logbf): Likewise.
42257 [non-C99-based standards] (nextafterf): Likewise.
42258 [non-C99-based standards] (remainderf): Likewise.
42259 [non-C99-based standards] (rintf): Likewise.
42260 [non-C99-based standards] (scalbf): Likewise.
42261 [non-C99-based standards] (copysignl): Likewise.
42262 [non-C99-based standards] (exp2l): Likewise.
42263 [non-C99-based standards] (log2l): Likewise.
42264 [non-C99-based standards] (modfl): Allow.
42265 [non-C99-based standards] (erfl): Do not allow.
42266 [non-C99-based standards] (erfcl): Likewise.
42267 [non-C99-based standards] (gammal): Likewise.
42268 [non-C99-based standards] (hypotl): Likewise.
42269 [non-C99-based standards] (j0l): Likewise.
42270 [non-C99-based standards] (j1l): Likewise.
42271 [non-C99-based standards] (jnl): Likewise.
42272 [non-C99-based standards] (lgammal): Likewise.
42273 [non-C99-based standards] (tgammal): Likewise.
42274 [non-C99-based standards] (y0l): Likewise.
42275 [non-C99-based standards] (y1l): Likewise.
42276 [non-C99-based standards] (ynl): Likewise.
42277 [non-C99-based standards] (isnanl): Likewise.
42278 [non-C99-based standards] (acoshl): Likewise.
42279 [non-C99-based standards] (asinhl): Likewise.
42280 [non-C99-based standards] (atanhl): Likewise.
42281 [non-C99-based standards] (cbrtl): Likewise.
42282 [non-C99-based standards] (expm1l): Likewise.
42283 [non-C99-based standards] (ilogbl): Likewise.
42284 [non-C99-based standards] (log1pl): Likewise.
42285 [non-C99-based standards] (logbl): Likewise.
42286 [non-C99-based standards] (nextafterl): Likewise.
42287 [non-C99-based standards] (remainderl): Likewise.
42288 [non-C99-based standards] (rintl): Likewise.
42289 [non-C99-based standards] (scalbl): Likewise.
42290 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42291 [non-C99-based standards] (FP_*): Do not allow.
42292 [C99-based standards] (FP_*): Change to
42293 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42294 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42295 allow.
42296 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
42297 (SIG_ERR): Likewise.
42298 [X/Open-based standards] (SIG_HOLD): Likewise.
42299 (SIG_IGN): Likewise.
42300 (SIGABRT): Use macro-int-constant. Specify type. Require
42301 positive value.
42302 (SIGFPE): Likewise.
42303 (SIGILL): Likewise.
42304 (SIGINT): Likewise.
42305 (SIGSEGV): Likewise.
42306 (SIGTER): Likewise.
42307 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
42308 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
42309 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
42310 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
42311 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
42312 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
42313 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
42314 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
42315 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
42316 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
42317 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
42318 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
42319 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
42320 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
42321 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
42322 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
42323 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
42324 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
42325 [X/Open-based standards] (SIGTRAP): Likewise.
42326 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
42327 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
42328 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
42329 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
42330 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42331 allow.
42332
b9f1922d
IW
423332012-05-08 Ian Wienand <ianw@vmware.com>
42334
42335 [BZ #14080]
42336 * time/tzset.c (__tzset_parse_tz): Update default rules for
42337 daylight time changes in the Energy Policy Act of 2005.
42338
1db86e88
AJ
423392012-05-09 Andreas Jaeger <aj@suse.de>
42340
42341 [BZ #13983]
42342 * elf/ldconfig.c (parse_conf): Change string to make clear that
42343 ldconfig only issued a warning if ld.so.conf does not exist.
42344
dee4a4e3
DM
423452012-05-08 David S. Miller <davem@davemloft.net>
42346
ee0db190
DM
42347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
42348 movxtod instead of popping the value on the stack.
42349
dee4a4e3
DM
42350 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42351
6a43ec98
CD
423522012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
42353
42354 * config.h.in: Add HAVE_ARM_PCS_VFP.
42355
05c2c961
RMG
423562012-05-08 Roland Mc Grath <roland@hack.frob.com>
42357
bcfe3a54
ST
42358 [BZ #13979]
42359 * include/features.h: Warn if user requests __FORTIFY_SOURCE
42360 checking but the checks are disabled for any reason.
05c2c961 42361
4b30f61a
L
423622012-05-08 H.J. Lu <hongjiu.lu@intel.com>
42363
42364 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
42365 and ELF64_R_TYPE with ELFW(R_TYPE).
42366
eee2bc67
JM
423672012-05-08 Joseph Myers <joseph@codesourcery.com>
42368
7ea5391a
JM
42369 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
42370 (ulimit): Likewise.
42371
eee2bc67
JM
42372 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
42373 (settimeofday): Likewise.
42374
abb66a67
MF
423752012-05-08 Mike Frysinger <vapier@gentoo.org>
42376
42377 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
42378 a struct th_u2 inside the union, and move tu_block/tu_code into
42379 a new th_u3 union of tu_block/tu_code inside of that. Move
42380 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
42381 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
42382 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
42383 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
42384 (th_stuff): Change to th_u1.tu_stuff.
42385 (th_data): Define.
42386 (th_msg): Change to th_u1.th_u2.tu_data.
42387
7f18b530
DM
423882012-05-07 David S. Miller <davem@davemloft.net>
42389
05760585
DM
42390 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42391
7f18b530
DM
42392 [BZ #14074]
42393 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
42394 (SETUP_PIC_REG): Use it.
42395 (SETUP_PIC_REG_LEAF): Use it.
42396
495fd99f
JM
423972012-05-07 Joseph Myers <joseph@codesourcery.com>
42398
42399 [BZ #13885]
42400 [BZ #13923]
42401 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42402 USE_AS_EXPM1L.
42403 (EXPL_FINITE): Likewise.
42404 (FLDLOG): Likewise.
42405 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
42406 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
42407 e_expl.S.
42408 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42409 USE_AS_EXPM1L.
42410 (EXPL_FINITE): Likewise.
42411 (FLDLOG): Likewise.
42412 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
42413 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
42414 e_expl.S.
42415 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
42416 test of -max_value argument for long double.
42417 * sysdeps/i386/fpu/libm-test-ulps: Update.
42418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42419
6693d694
DM
424202012-05-06 David S. Miller <davem@davemloft.net>
42421
42422 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
42423 quad soft-float symbols whose references which are compiler
42424 generated.
42425 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42426
6c23e11c
JM
424272012-05-06 Joseph Myers <joseph@codesourcery.com>
42428
d8b82cad
JM
42429 [BZ #13884]
42430 [BZ #13914]
42431 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42432 USE_AS_EXP10L.
42433 (EXPL_FINITE): Likewise.
42434 (FLDLOG): Likewise.
42435 (c0): Likewise.
42436 (c1): Likewise.
42437 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
42438 Adjust comments for base varying.
42439 (__expl_finite): Change alias to EXPL_FINITE.
42440 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
42441 e_expl.S.
42442 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
42443 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
42444 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
42445 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
42446 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42447 USE_AS_EXP10L.
42448 (EXPL_FINITE): Likewise.
42449 (FLDLOG): Likewise.
42450 (c0): Likewise.
42451 (c1): Likewise.
42452 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
42453 Adjust comments for base varying.
42454 (__expl_finite): Change alias to EXPL_FINITE.
42455 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
42456 tests for bugs.
42457 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42458
6c23e11c
JM
42459 [BZ #14064]
42460 * math/libm-test.inc (check_float_internal): Correct ulp
42461 calculation for subnormal expected results.
42462
29ba805c
AJ
424632012-05-06 Andreas Jaeger <aj@suse.de>
42464
42465 * Makeconfig (+math-flags): New, set to -frounding-math.
42466 (+cflags): Add +math-flags so that all of glibc gets compiled with
42467 it.
42468
42469 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
42470
7b17aeda
JM
424712012-05-05 Joseph Myers <joseph@codesourcery.com>
42472
5779f134
JM
42473 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
42474 Disable one test.
42475
41498f4d
JM
42476 [BZ #13787]
42477 [BZ #13922]
42478 [BZ #14036]
42479 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
42480 (__ieee754_expl): Allow for and saturate large arguments.
42481 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
42482 (u_threshold): Likewise.
42483 (__exp): Call __ieee754_exp before checking for overflow and
42484 underflow.
42485 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
42486 (u_threshold): Likewise.
42487 (__expf): Call __ieee754_expf before checking for overflow and
42488 underflow.
42489 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
42490 (u_threshold): Likewise.
42491 (__expl): Call __ieee754_expl before checking for overflow and
42492 underflow.
42493 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
42494 (__ieee754_expl): Allow for and saturate large arguments.
42495 * math/libm-test.inc (exp_test): Add another test. Do not allow
42496 missing overflow exception on overflow.
42497 (expm1_test): Do not allow missing overflow exception on overflow.
42498
6698b8bf
JM
42499 * sysdeps/i386/fpu/e_expl.c: Move to ...
42500 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
42501 rather than using inline asm.
42502 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
42503 * sysdeps/x86_64/fpu/e_expl.S: Copy from
42504 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
42505
7b17aeda
JM
42506 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
42507 (nice): Likewise.
42508 (poll): Likewise.
42509 (signal): Likewise.
42510 (time): Likewise.
42511 (times): Likewise.
42512
f7c85819
JM
425132012-05-04 Joseph Myers <joseph@codesourcery.com>
42514
42515 * sysdeps/unix/syscalls.list (adjtime): Add entry from
42516 sysdeps/unix/common/syscalls.list.
42517 (fchmod): Likewise.
42518 (fchown): Likewise.
42519 (ftruncate): Likewise.
42520 (getrusage): Likewise.
42521 (gettimeofday): Likewise.
42522 (setpgid): Likewise.
42523 (setregid): Likewise.
42524 (setreuid): Likewise.
42525 (sigaction): Likewise.
42526 (truncate): Likewise.
42527 (vhangup): Likewise.
42528 * sysdeps/unix/common/syscalls.list: Remove file.
42529 * sysdeps/unix/bsd/Implies: Don't include unix/common.
42530 * sysdeps/unix/sysv/linux/Implies: Likewise.
42531
336270d0
L
425322012-05-04 H.J. Lu <hongjiu.lu@intel.com>
42533
42534 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
42535 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
42536 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
42537 Moved to ...
42538 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
42539 Here.
42540 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
42541 to ...
42542 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
42543 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
42544 to ...
42545 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
42546 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
42547 to ...
42548 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
42549 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
42550 to ...
42551 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
42552 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
42553 to ...
42554 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
42555 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
42556 to ...
42557 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
42558 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
42559 to ...
42560 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
42561 Here.
42562 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
42563 to ...
42564 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
42565 Here.
42566 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
42567 to ...
42568 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
42569 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
42570 Moved to ...
42571 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
42572 Here.
42573 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
42574 to ...
42575 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
42576
d128e450
JM
425772012-05-04 Joseph Myers <joseph@codesourcery.com>
42578
fa8ee516
JM
42579 * sysdeps/unix/common/bits/dirent.h: Remove file.
42580 * sysdeps/unix/common/bits/fcntl.h: Likewise.
42581
d128e450
JM
42582 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
42583 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
42584 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
42585 * sysdeps/unix/bsd/isatty.c: Likewise.
42586 * sysdeps/unix/bsd/tcdrain.c: Likewise.
42587 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
42588 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
42589
ff8faaf0 425902012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 42591
62881be4 42592 [BZ #13563]
31dc8730
AZ
42593 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
42594 long double comparison inaccuracies.
42595 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
42596 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42597
6fef930c
AS
425982012-05-04 Andreas Schwab <schwab@linux-m68k.org>
42599
42600 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
42601 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
42602
8f203e6c
JM
426032012-05-04 Joseph Myers <joseph@codesourcery.com>
42604
42605 [BZ #14049]
42606 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
42607 nonzero digits before rounding a hex value.
42608 * stdlib/tst-strtod.c (tests): Add another test.
42609
5197d9c2
AK
426102012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42611
42612 * sysdeps/s390/fpu/libm-test-ulps: Update.
42613
f0c1dedf
AJ
426142012-05-03 Andreas Jaeger <aj@suse.de>
42615
42616 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
42617 does not get optimized out.
42618 (malloc_opt_barrier): New.
42619
a65ef2ae 426202012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 42621 Roland McGrath <roland@hack.frob.com>
a65ef2ae 42622
2b942cb7 42623 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 42624 intermediate file deletion.
2b942cb7 42625 (generated): Add .symlist files.
a65ef2ae 42626
54b71e02
JM
426272012-05-03 Joseph Myers <joseph@codesourcery.com>
42628
42629 [BZ #13775]
42630 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
42631 Redirect under this condition.
42632 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
42633 [__USE_GNU] (__dprintf_chk): Not under this condition.
42634 [__USE_GNU] (__vdprintf_chk): Likewise.
42635 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
42636 under this condition.
42637 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
42638 [__USE_XOPEN2K8] (dprintf): Define under this condition.
42639 [__USE_XOPEN2K8] (vdprintf): Likewise.
42640 [__USE_GNU] (__dprintf_chk): Not under this condition.
42641 [__USE_GNU] (__vdprintf_chk): Likewise.
42642 [__USE_GNU] (dprintf): Likewise.
42643 [__USE_GNU] (vdprintf): Likewise.
42644
d3dfcc41
RM
426452012-05-03 Roland McGrath <roland@hack.frob.com>
42646
42647 * elf/Makefile (common-generated): Set this instead of generated for
42648 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
42649 $(all-built-dso)-derived lists.
42650
7ac30cc5
AJ
426512012-05-03 Andreas Jaeger <aj@suse.de>
42652
0c51e550
AJ
42653 * sysdeps/i386/fpu/libm-test-ulps: Update.
42654
7ac30cc5
AJ
42655 * FAQ: Removed.
42656 * FAQ.in: Likewise.
42657 * scripts/gen-FAQ.pl: Likewise.
42658 * manual/install.texi (Installation): Point to online location of
42659 FAQ.
42660 * Makefile (files-for-dist): Remove FAQ.
42661 (FAQ): Remove.
42662
d4c2917f
AM
426632012-05-02 Allan McRae <allan@archlinux.org>
42664
42665 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
42666 (LDFLAGS-reldepmod5.so): Likewise.
42667 (LDFLAGS-reldep6mod1.so): Likewise.
42668 (LDFLAGS-reldep6mod4.so): Likewise.
42669 (LDFLAGS-reldep8mod3.so): Likewise.
42670 (LDFLAGS-unload4mod1.so): Likewise.
42671 (LDFLAGS-unload4mod2.so): Likewise.
42672 (LDFLAGS-tst-initorder): Likewise.
42673 (LDFLAGS-tst-initordera2.so): Likewise.
42674 (LDFLAGS-tst-initordera3.so): Likewise.
42675 (LDFLAGS-tst-initordera4.so): Likewise.
42676 (LDFLAGS-tst-initorderb2.so): Likewise.
42677 (LDFLAGS-noload): Likewise.
42678 (LDFLAGS-next): Likewise.
42679 (LDFLAGS-order2mod1.so): Likewise.
42680 (LDFLAGS-order2mod2.so): Likewise.
42681 (LDFLAGS-tst-initorder2): Likewise.
42682 (LDFLAGS-tst-initorder2a.so): Likewise.
42683 (LDFLAGS-tst-initorder2b.so): Likewise.
42684 (LDFLAGS-tst-initorder2c.so): Likewise.
42685 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
42686
d77f993f
DM
426872012-05-02 David S. Miller <davem@davemloft.net>
42688
42689 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42690
171a70b4
PP
426912012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
42692
42693 [BZ #14055]
42694 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
42695
0be196ad
AJ
426962012-05-02 Andreas Jaeger <aj@suse.de>
42697
42698 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
42699 since we manipulate rounding mode.
42700 (CPPFLAGS-test-idouble.c): Likewise.
42701 (CPPFLAGS-test-ifloat.c): Likewise.
42702 (CFLAGS-test-ldouble.c): Likewise.
42703 (CFLAGS-test-double.c): Likewise.
42704 (CFLAGS-test-float.c): Likewise.
42705 (CFLAGS-test-misc.c): Likewise.
42706 (CFLAGS-test-test-fenv.c): Likewise.
42707
4f9d04aa
AZ
427082012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42709
2b942cb7
RM
42710 [BZ #2550]
42711 [BZ #2570]
42712 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
42713 comparisons to determine direction to adjust input.
4f9d04aa 42714
82a79e7d
RM
427152012-05-01 Roland McGrath <roland@hack.frob.com>
42716
f5a01ca9
RM
42717 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
42718 output to the target.
42719
90fe4186
RM
42720 * scripts/localplt.awk: New file.
42721 * elf/Makefile ($(objpfx)check-localplt): Target removed.
42722 (check-localplt-CFLAGS): Variable removed.
42723 ($(all-built-dso:=.jmprel)): New static pattern rule.
42724 (generated): Add those targets.
42725 (localplt-built-dso): New variable.
42726 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
42727
42728 * elf/check-localplt.c: File removed.
42729
82397ed6
RM
42730 * scripts/check-execstack.awk: New file.
42731 * elf/Makefile ($(objpfx)check-execstack): Target removed.
42732 (check-execstack-CFLAGS): Variable removed.
42733 ($(objpfx)check-execstack.h): Target removed.
42734 ($(objpfx)execstack-default): New target.
42735 (generated): Add that instead of check-execstack.h.
42736 ($(all-built-dso:=.phdr)): New static pattern rule.
42737 (generated): Add those targets.
42738 * elf/check-execstack.c: File removed.
42739
82a79e7d
RM
42740 * scripts/check-textrel.awk: New file.
42741 * elf/Makefile ($(objpfx)check-textrel): Target removed.
42742 (check-textrel-CFLAGS): Variable removed.
42743 (all-built-dso): Use := to define.o
42744 ($(all-built-dso:=.dyn)): New static pattern rule.
42745 (generated): Add those targets.
42746 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
42747 * config.make.in (READELF): New substituted variable.
42748 * elf/check-textrel.c: File removed.
42749
62fde54f 427502012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 42751
615605c9
JM
42752 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42753 allow.
42754 * conform/data/ctype.h-data [C99-based standards] (isblank):
42755 Expect function.
42756 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
42757 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
42758 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42759 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
42760 Specify type. Require positive value.
42761 (EILSEQ): Likewise.
42762 (ERANGE): Likewise.
42763 [ISO || POSIX] (EILSEQ): Do not expect.
42764 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
42765 Specify type. Require positive value.
42766 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
42767 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
42768 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
42769 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
42770 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
42771 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
42772 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
42773 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
42774 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
42775 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
42776 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
42777 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
42778 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
42779 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
42780 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
42781 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
42782 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
42783 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
42784 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
42785 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
42786 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
42787 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
42788 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
42789 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
42790 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
42791 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
42792 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
42793 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
42794 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
42795 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
42796 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
42797 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
42798 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
42799 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
42800 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
42801 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
42802 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
42803 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
42804 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
42805 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
42806 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
42807 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
42808 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
42809 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
42810 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
42811 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
42812 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
42813 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
42814 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
42815 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
42816 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
42817 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
42818 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
42819 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
42820 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
42821 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
42822 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
42823 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
42824 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
42825 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
42826 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
42827 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
42828 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
42829 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
42830 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
42831 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
42832 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
42833 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
42834 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
42835 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
42836 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
42837 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
42838 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
42839 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
42840 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
42841 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
42842 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
42843 Require >= 2.
42844 (FLT_ROUNDS): Expect as macro, not constant.
42845 (FLT_MANT_DIG): Use macro-int-constant.
42846 (DBL_MANT_DIG): Likewise.
42847 (LDBL_MANT_DIG): Likewise.
42848 (FLT_DIG): Likewise.
42849 (DBL_DIG): Likewise.
42850 (LDBL_DIG): Likewise.
42851 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
42852 (DBL_MIN_EXP): Likewise.
42853 (LDBL_MIN_EXP): Likewise.
42854 (FLT_MAX_EXP): Use macro-int-constant.
42855 (DBL_MAX_EXP): Likewise.
42856 (LDBL_MAX_EXP): Likewise.
42857 (FLT_MAX_10_EXP): Likewise.
42858 (DBL_MAX_10_EXP): Likewise.
42859 (LDBL_MAX_10_EXP): Likewise.
42860 (FLT_MAX): Use macro-constant.
42861 (DBL_MAX): Likewise.
42862 (LDBL_MAX): Likewise.
42863 (FLT_EPSILON): Use macro-constant. Give upper bound.
42864 (DBL_EPSILON): Likewise.
42865 (LDBL_EPSILON): Likewise.
42866 (FLT_MIN): Likewise.
42867 (DBL_MIN): Likewise.
42868 (LDBL_MIN): Likewise.
42869 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
42870 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
42871 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
42872 [ISO11] (FLT_HAS_SUBNORM): Likewise.
42873 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
42874 [ISO11] (DBL_DECIMAL_DIG): Likewise.
42875 [ISO11] (FLT_DECIMAL_DIG): Likewise.
42876 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
42877 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
42878 [ISO11] (FLT_TRUE_MIN): Likewise.
42879 [ISO11] (LDBL_TRUE_MIN): Likewise.
42880 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42881 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
42882 (SCHAR_MIN): Use macro-int-constant. Specify type.
42883 (SCHAR_MAX): Likewise.
42884 (UCHAR_MAX): Likewise.
42885 (CHAR_MIN): Likewise.
42886 (CHAR_MAX): Likewise.
42887 (MB_LEN_MAX): Use macro-int-constant.
42888 (SHRT_MIN): Use macro-int-constant. Specify type.
42889 (SHRT_MAX): Likewise.
42890 (USHRT_MAX): Likewise.
42891 (INT_MAX): Likewise.
42892 (INT_MIN): Use macro-int-constant. Specify type. Make upper
42893 bound negative.
42894 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
42895 bound with "U".
42896 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
42897 bound with "L".
42898 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
42899 bound negative. Suffix upper bound with "L".
42900 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
42901 bound with "UL".
42902 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
42903 Specify type.
42904 [C99-based standards] (LLONG_MAX): Likewise.
42905 [C99-based standards] (ULLONG_MAX): Likewise.
42906 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
42907 == 0.
42908 [ISO11] (max_align_t): Require type.
42909 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42910
c9140a62
JM
42911 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
42912 from $CFLAGS, without defining away __attribute__ calls.
42913 (checknamespace): Use $CFLAGS_namespace.
42914
9af0bf29
JM
42915 * conform/conformtest.pl (@keywords): Only include C99 keywords
42916 for standards based on C99 or C11.
42917
343222a2
JM
42918 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
42919 Disable tests.
42920 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
42921 UNIX98]: Likewise.
42922
661f8cf0
JM
42923 * conform/conformtest.pl: Handle "macro-int-constant" and test for
42924 usability of symbols in #if.
42925
ee74b9cb
JM
42926 * conform/conformtest.pl: If macro or constant types start
42927 "promoted:", expect the symbol to be of the following type
42928 promoted by the integer promotions.
62fde54f 42929
aafc49b3
JM
42930 * conform/conformtest.pl: Parse all "constant" and "macro" lines
42931 in one place. Also handle "macro-constant".
42932
fefdf574
JM
42933 * conform/conformtest.pl: Only accept expected macro values with
42934 "==". Parse all "macro" lines in one place.
42935 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
42936
f2d922fe
JM
42937 * conform/conformtest.pl: Handle braced types on "constant" lines
42938 instead of handling "typed-constant".
42939 * conform/data/signal.h-data: Use "constant" instead of
42940 "typed-constant".
42941
d22956c9
JM
42942 * conform/conformtest.pl: Handle "optional-" at start of lines in
42943 one place rather than duplicating several cases. Handle each
42944 format of "macro" line with initial "optional-".
42945
028e2e38
JM
42946 * conform/conformtest.pl: Only accept expected constant or
42947 optional-constant values with "==". Parse all "constant" lines in
42948 one place. Parse all "optional-constant" lines in one place.
42949 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
42950 * conform/data/fmtmsg.h-data: Likewise.
42951 * conform/data/netinet/in.h-data: Likewise.
42952 * conform/data/tar.h-data: Likewise.
42953 * conform/data/limits.h-data: Use "==" form on "constant" and
42954 "optional-constant" lines.
42955
1b8f2850
JM
42956 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
42957 Use -std=c99 for XOPEN2K.
42958 (@knownproblems): Remove.
42959 (newtoken): Don't check %isknown.
42960
a05a144b
JM
42961 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
42962 Do not expect macro.
42963 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
42964 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
42965 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
42966 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
42967 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
42968 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
42969 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
42970 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
42971 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
42972 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
42973 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
42974 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
42975 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
42976 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
42977 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
42978 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
42979 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
42980 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
42981 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
42982 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
42983 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
42984 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
42985 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
42986 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
42987 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
42988 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
42989 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
42990 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
42991 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
42992 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
42993 [XPG3] (acosh): Likewise.
42994 [XPG3] (asinh): Likewise.
42995 [XPG3] (atanh): Likewise.
42996 [XPG3] (cbrt): Likewise.
42997 [XPG3] (expm1): Likewise.
42998 [XPG3] (ilogb): Likewise.
42999 [XPG3] (log1p): Likewise.
43000 [XPG3] (logb): Likewise.
43001 [XPG3] (nextafter): Likewise.
43002 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
43003 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
43004 [XPG3] (remainder): Likewise.
43005 [XPG3] (rint): Likewise.
43006 [XPG3 || XPG4 || UNIX98] (round): Likewise.
43007 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
43008 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
43009 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
43010 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
43011 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
43012 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
43013 [UNIX98 || XOPEN2K] (scalb): Expect.
43014 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
43015 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
43016 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
43017 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
43018 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
43019 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
43020 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
43021 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
43022 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
43023 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
43024 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
43025 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
43026 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
43027 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
43028 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
43029 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
43030 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
43031 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
43032 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
43033 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
43034 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
43035 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
43036 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
43037 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
43038 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
43039 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
43040 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
43041 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
43042 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
43043 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
43044 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
43045 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
43046 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
43047 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
43048 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
43049 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
43050 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
43051 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
43052 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
43053 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
43054 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
43055 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
43056 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
43057 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
43058 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
43059 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
43060 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
43061 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
43062 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
43063 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
43064 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
43065 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
43066 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
43067 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
43068 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
43069 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
43070 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
43071 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
43072 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
43073 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
43074 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
43075 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
43076 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
43077 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
43078 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
43079 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
43080 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
43081 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
43082 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
43083 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
43084 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
43085 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
43086 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
43087 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
43088 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
43089 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
43090 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
43091 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
43092 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
43093 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
43094 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
43095 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
43096 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
43097 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
43098 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
43099 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
43100 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
43101 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
43102 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
43103 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
43104 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
43105 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
43106 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
43107 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
43108 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
43109 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
43110 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
43111 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
43112 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
43113 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
43114 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
43115 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
43116 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
43117 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
43118 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
43119 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
43120 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
43121 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
43122 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
43123 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
43124 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
43125 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
43126 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
43127 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
43128 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
43129 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
43130 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
43131 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
43132 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
43133 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
43134 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
43135 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
43136 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
43137 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
43138 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
43139 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
43140 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
43141 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
43142 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
43143 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
43144 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
43145 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
43146 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
43147 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
43148 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
43149 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
43150 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
43151
73c5ebe3
JM
43152 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
43153 _XOPEN_SOURCE_EXTENDED for XPG4.
43154
39c33b6c
JM
43155 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
43156
62fde54f
JM
43157 * Makeconfig (localtime): Remove variable.
43158 (inst_localtime-file): Likewise.
43159
0741d64c
AS
431602012-05-01 Andreas Schwab <schwab@linux-m68k.org>
43161
43162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
43163 Update.
43164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43165 Update.
43166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
43167 Update.
43168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
43169 Update.
43170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
43171 Update.
43172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
43173 Update.
43174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43175 Update.
43176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
43177 Update.
43178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43179 Update.
43180
7cb029ee
JM
431812012-05-01 Joseph Myers <joseph@codesourcery.com>
43182
43183 [BZ #2550]
43184 [BZ #2570]
43185 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
43186 comparisons to determine direction to adjust input.
43187 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
43188 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
43189 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
43190 Likewise.
43191 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
43192 Likewise.
43193 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
43194 Likewise.
43195 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
43196 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
43197 Likewise.
43198 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
43199 Likewise.
43200 * math/libm-test.inc (nexttoward_test): Add more tests.
43201
412bd966
AS
432022012-05-01 Andreas Schwab <schwab@linux-m68k.org>
43203
43204 [BZ #14040]
43205 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
43206 in version GLIBC_2.1, not GLIBC_2.0.
43207 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
43208 Likewise.
43209
9568c0c2
JM
432102012-04-30 Joseph Myers <joseph@codesourcery.com>
43211
adfbc8ac
JM
43212 [BZ #13942]
43213 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
43214 (1 - x) * (1 + x).
43215 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43216 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
43217 * math/libm-test.inc (acos_test): Add more tests.
43218 (asin_test): Likewise.
43219 * sysdeps/i386/fpu/libm-test-ulps: Update.
43220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43221
5ba3cc69
JM
43222 [BZ #14034]
43223 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
43224 of square root.
43225 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
43226 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43227 * math/libm-test.inc (acos_test_tonearest): New function.
43228 (acos_test_towardzero): Likewise.
43229 (acos_test_downward): Likewise.
43230 (acos_test_upward): Likewise.
43231 (asin_test_tonearest): Likewise.
43232 (asin_test_towardzero): Likewise.
43233 (asin_test_downward): Likewise.
43234 (asin_test_upward): Likewise.
43235 (main): Call the new functions.
43236 * sysdeps/i386/fpu/libm-test-ulps: Update.
43237 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43238
9568c0c2
JM
43239 [BZ #13884]
43240 [BZ #13924]
43241 * math/e_exp10.c: Include <float.h>.
43242 (__ieee754_exp10): Handle underflow here rather than multiplying
43243 large negative argument by M_LN10.
43244 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
43245 of __ieee754_expf.
43246 * math/e_exp10l.c: Include <float.h>.
43247 (__ieee754_exp10l): Handle underflow here rather than multiplying
43248 large negative argument by M_LN10l.
43249 * math/libm-test.inc (exp10_test): Add another test. Do not allow
43250 spurious overflow exception on underflow.
43251
5ac3ea17
MP
432522012-04-29 Marek Polacek <polacek@redhat.com>
43253
43254 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
43255 (__fortify_function): New macro.
43256 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
43257 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
43258 __extern_always_inline.
43259 * libio/bits/stdio2.h: Likewise.
43260 * libio/bits/stdio.h: Likewise.
43261 * string/string.h: Likewise.
43262 * string/bits/string3.h: Likewise.
43263 * include/stdio.h: Likewise.
43264 * stdlib/bits/stdlib.h: Likewise.
43265 * stdlib/stdlib.h: Likewise.
43266 * rt/bits/mqueue2.h: Likewise.
43267 * rt/mqueue.h: Likewise.
43268 * posix/bits/unistd.h: Likewise.
43269 * posix/unistd.h: Likewise.
43270 * io/bits/poll2.h: Likewise.
43271 * io/bits/fcntl2.h: Likewise.
43272 * io/fcntl.h: Likewise.
43273 * io/sys/poll.h: Likewise.
43274 * misc/bits/syslog.h: Likewise.
43275 * misc/bits/syslog-ldbl.h: Likewise.
43276 * misc/sys/syslog.h: Likewise.
43277 * socket/bits/socket2.h: Likewise.
43278 * socket/sys/socket.h: Likewise.
43279 * debug/tst-chk1.c: Likewise.
43280 * wcsmbs/bits/wchar2.h: Likewise.
43281 * wcsmbs/bits/wchar-ldbl.h: Likewise.
43282 * wcsmbs/wchar.h: Likewise.
43283
ecf0ebfb
AJ
432842012-04-29 Andreas Jaeger <aj@suse.de>
43285
43286 * Makerules (tests): Remove enable-check-abi protection.
43287 (check-abi-warn): Remove.
43288 (check-abi-%): Remove check-abi-warn usage.
43289
43290 * configure.in: Remove check-abi configure option.
43291 * configure: Regenerated.
43292 * config.make.in (enable-check-abi): Remove.
43293
6d5c57fa
AS
432942012-04-28 Andreas Schwab <schwab@linux-m68k.org>
43295
24c5d07e 43296 [BZ #14033]
ded5180a
AS
43297 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
43298 double functions to double *_finite functions.
43299
7e0d315d
AS
43300 [BZ #13941]
43301 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
43302 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
43303 LDBL_MIN_EXP.
43304 * stdio-common/Makefile (tests): Add tst-sprintf3.
43305 * stdio-common/tst-sprintf3.c: New file.
43306
6d5c57fa
AS
43307 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
43308 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
43309
0749ff8b
JM
433102012-04-28 Joseph Myers <joseph@codesourcery.com>
43311
43312 * conform/conformtest.pl: Remove duplicate typed-constant
43313 handling.
43314
8dbd5d7b
DM
433152012-04-28 David S. Miller <davem@davemloft.net>
43316
43317 * Makerules (%.abilist): Add vpath on sysdep_dirs.
43318 (check-abi-%): Remove AWK script prerequisite and explicit
43319 abilist directory.
43320 (check-abi): Rewrite to just diff the symlist with the abilist.
43321 (config-tls, config-abi-config): Delete, no longer used.
43322 (update-abi-%): Remove AWK script and explicit abilist directory.
43323 (update-abi): Rewrite to simply compare and conditionally copy the
43324 symlist and the sysdep abilist file. Remove update-abi-config
43325 checks.
43326 * abilist/ld.abilist: Remove.
43327 * abilist/libBrokenLocale.abilist: Remove.
43328 * abilist/libanl.abilist: Remove.
43329 * abilist/libcrypt.abilist: Remove.
43330 * abilist/libdl.abilist: Remove.
43331 * abilist/librt.abilist: Remove.
43332 * abilist/libthread_db.abilist: Remove.
43333 * abilist/libutil.abilist: Remove.
43334 * scripts/extract-abilist.awk: Remove.
43335 * scripts/merge-abilist.awk: Remove.
43336 * sysdeps/generic/libcidn.abilist: New file.
43337 * sysdeps/generic/libnss_compat.abilist: New file.
43338 * sysdeps/generic/libnss_db.abilist: New file.
43339 * sysdeps/generic/libnss_dns.abilist: New file.
43340 * sysdeps/generic/libnss_files.abilist: New file.
43341 * sysdeps/generic/libnss_hesiod.abilist: New file.
43342 * sysdeps/generic/libnss_nis.abilist: New file.
43343 * sysdeps/generic/libnss_nisplus.abilist: New file.
43344 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
43345 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
43346 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
43347 file.
43348 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
43349 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
43350 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
43351 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
43352 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
43353 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
43354 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
43355 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
43356 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
43357 file.
43358 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
43359 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
43360 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
43361 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
43362 file.
43363 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
43364 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
43365 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
43366 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
43367 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
43368 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
43369 file.
43370 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
43371 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
43372 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
43373 file.
43374 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
43375 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
43376 New file.
43377 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
43378 New file.
43379 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
43380 New file.
43381 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
43382 New file.
43383 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
43384 New file.
43385 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
43386 New file.
43387 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
43388 New file.
43389 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
43390 New file.
43391 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
43392 New file.
43393 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
43394 New file.
43395 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
43396 New file.
43397 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
43398 New file.
43399 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
43400 New file.
43401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
43402 file.
43403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
43404 New file.
43405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
43406 New file.
43407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
43408 file.
43409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
43410 New file.
43411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
43412 New file.
43413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
43414 file.
43415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
43416 New file.
43417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43418 New file.
43419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
43420 New file.
43421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
43422 New file.
43423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
43424 New file.
43425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
43426 New file.
43427 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
43428 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
43429 file.
43430 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
43431 New file.
43432 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
43433 file.
43434 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
43435 file.
43436 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
43437 file.
43438 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
43439 file.
43440 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
43441 file.
43442 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43443 New file.
43444 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
43445 file.
43446 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
43447 file.
43448 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
43449 New file.
43450 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
43451 file.
43452 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
43453 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
43454 file.
43455 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
43456 New file.
43457 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
43458 file.
43459 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
43460 file.
43461 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
43462 file.
43463 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
43464 file.
43465 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
43466 file.
43467 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43468 New file.
43469 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
43470 file.
43471 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
43472 file.
43473 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
43474 New file.
43475 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
43476 file.
43477 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
43478 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
43479 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
43480 file.
43481 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
43482 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
43483 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
43484 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
43485 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
43486 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
43487 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
43488 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
43489 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
43490 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
43491 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
43492 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
43493 file.
43494 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
43495 New file.
43496 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
43497 file.
43498 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
43499 file.
43500 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
43501 file.
43502 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
43503 file.
43504 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
43505 file.
43506 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
43507 New file.
43508 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
43509 New file.
43510 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
43511 file.
43512 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
43513 New file.
43514 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
43515 file.
43516 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
43517 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
43518 file.
43519 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
43520 New file.
43521 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
43522 file.
43523 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
43524 file.
43525 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
43526 file.
43527 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
43528 file.
43529 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
43530 file.
43531 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
43532 New file.
43533 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
43534 New file.
43535 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
43536 file.
43537 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
43538 New file.
43539 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
43540 file.
43541
41d73a1b
JM
435422012-04-28 Joseph Myers <joseph@codesourcery.com>
43543
43544 * conform/conformtest.pl: Fix typo in handling typed-constant from
43545 allow-header.
43546
28aeeda4
JM
435472012-04-27 Joseph Myers <joseph@codesourcery.com>
43548
adae8f5e
JM
43549 * README: Cut down references to pre-2.6 Linux kernels and
43550 Linuxthreads. Update lists of configurations in libc and ports
43551 and sort alphabetically. Say "or newer" with Linux kernel version
43552 requirements.
43553
28aeeda4
JM
43554 * config.h.in [IS_IN_build]: Allow compiling without optimization.
43555
a462cb63
RA
435562012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
43557
43558 [BZ #887]
43559 * math/libm-test.inc (logb_test_downward): New test to expose
43560 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
43561 rounding mode.
43562
6ad3493e
JM
435632012-04-27 Joseph Myers <joseph@codesourcery.com>
43564
43565 [BZ #14027]
43566 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
43567 to be done.
43568 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
43569 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
43570
2ce4f015
JM
435712012-04-26 Joseph Myers <joseph@codesourcery.com>
43572
5aeb141a
JM
43573 * sysdeps/unix/i386/brk.S: Remove file.
43574 * sysdeps/unix/i386/dl-brk.S: Likewise.
43575 * sysdeps/unix/i386/pipe.S: Likewise.
43576 * sysdeps/unix/i386/sigreturn.S: Likewise.
43577 * sysdeps/unix/i386/syscall.S: Likewise.
43578 * sysdeps/unix/i386/vfork.S: Likewise.
43579 * sysdeps/unix/i386/wait.S: Likewise.
43580
7143acae
JM
43581 * sysdeps/unix/common/tcsendbrk.c: Move to ...
43582 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
43583
2ce4f015
JM
43584 * configure.in (arm*-none*): Do not allow without
43585 --enable-hacker-mode.
43586 (netbsd*): Remove case setting base_os.
43587 (386bsd*): Likewise.
43588 (freebsd*): Likewise.
43589 (bsdi*): Likewise.
43590 (osf*): Likewise.
43591 (sunos*): Likewise.
43592 (ultrix*): Likewise.
43593 (newsos*): Likewise.
43594 (dynix*): Likewise.
43595 (*bsd*): Likewise.
43596 (sysv*): Likewise.
43597 (isc*): Likewise.
43598 (esix*): Likewise.
43599 (sco*): Likewise.
43600 (minix*): Likewise.
43601 (irix4*): Likewise.
43602 (irix6*): Likewise.
43603 (solaris[2-9]*): Likewise.
43604 (none): Likewise.
43605 * configure: Regenerated.
43606
0ac229c8
AZ
436072012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43608
43609 [BZ #11521]
43610 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
43611 overflow or cancellation in calculating denominator.
43612 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
43613 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
43614 down expression to avoid unexpected rounding in newer GCCs.
43615 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
43616
33f244f4
DM
436172012-04-26 David S. Miller <davem@davemloft.net>
43618
43619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
43620 long-double compat symbols.
43621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
43622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
43623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
43624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
43625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
43626 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
43627 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
43628 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
43629 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
43630 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
43631 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
43632 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
43633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43634
cfa1f3e8
DM
436352012-04-25 David S. Miller <davem@davemloft.net>
43636
43637 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
43638 HWCAP_* values only after the memory barriers have been defined.
43639 (atomic_full_barrier): Define.
43640 (atomic_read_barrier): Define.
43641 (atomic_write_barrier): Define.
43642
6e236b92
SP
436432012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
43644
43645 * shlib-versions: Add libgcc_s version information.
43646 * sysdeps/generic/libgcc_s.h: Remove.
43647 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
43648 libgcc_s.h.
43649 * sysdeps/gnu/unwind-resume.c: Likewise.
43650 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
43651
aab39a09
DM
436522012-04-25 David S. Miller <davem@davemloft.net>
43653
43654 * sysdeps/unix/sparc/brk.S: Delete.
43655 * sysdeps/unix/sparc/dl-brk.S: Delete.
43656 * sysdeps/unix/sparc/pipe.S: Delete.
43657 * sysdeps/unix/sparc/sysdep.S: Delete.
43658 * sysdeps/unix/sparc/sysdep.h: Delete.
43659 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
43660 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
43661 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
43662 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
43663 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
43664 (JUMPTARGET): Remove.
43665 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
43666 sysdeps/unix/sparc/sysdep.h
43667 (ENTRY, END): Remove.
43668 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43669
a3cc4f48
JM
436702012-04-25 Joseph Myers <joseph@codesourcery.com>
43671
2ed8cda2
JM
43672 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
43673 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
43674 -DIS_IN_build.
43675
35d76d59
JM
43676 * timezone/README: Update upstream location and email address for
43677 tzcode and tzdata.
43678 * timezone/zdump.c: Update from tzcode 2012b.
43679 * timezone/zic.c: Likewise.
43680
a3cc4f48
JM
43681 * configure.in (libc_cv_as_needed): Remove test.
43682 * configure: Regenerated.
43683 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
43684 conditional definition.
43685 [$(have-as-needed) != yes] (no-as-needed): Likewise.
43686 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
43687 * config.make.in (have-as-needed): Remove variable.
43688
ceab42c3
SP
436892012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
43690 Paul Pluzhnikov <ppluzhnikov@google.com>
43691
43692 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
43693 strings correctly.
43694
3ce2865f
CLT
436952012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
43696
43697 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
43698 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
43699 * sysdeps/sh/strlen.S: Likewise.
43700
f37e0d68
JM
437012012-04-24 Joseph Myers <joseph@codesourcery.com>
43702
ae186e9a
JM
43703 * sysdeps/unix/fork.S: Remove file.
43704 * sysdeps/unix/i386/fork.S: Likewise.
43705 * sysdeps/unix/sparc/fork.S: Likewise.
43706
b96914af
JM
43707 * sysdeps/unix/system.c: Remove file.
43708 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
43709
f37e0d68
JM
43710 * sysdeps/unix/getegid.S: Remove file.
43711 * sysdeps/unix/geteuid.S: Likewise.
43712
87ef29ca
RM
437132012-04-24 Roland McGrath <roland@hack.frob.com>
43714
83bcd236
RM
43715 * scripts/check-localplt.awk: New file.
43716 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
43717 of diff.
43718 * scripts/data/localplt-generic.data: Add a comment.
43719
87ef29ca
RM
43720 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
43721 NODE when __dir_mkfile failed.
43722 * sysdeps/mach/hurd/symlinkat.c: Likewise.
43723 Reported by Ludovic Courtès <ludo@gnu.org>.
43724
e5a6e567
AJ
437252012-04-24 Andreas Jaeger <aj@suse.de>
43726
43727 * Makerules (common-clean): Also remove gen-as-const-headers
43728 files.
43729
c1820385
JM
437302012-04-24 Joseph Myers <joseph@codesourcery.com>
43731
43732 * Makerules (native-compile): Do not change working directory for
43733 build. Use $(OUTPUT_OPTION) in command.
43734 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
43735
94e02fc4
AZ
437362012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43737
43738 [BZ #13886]
43739 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
43740 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
43741 * math/libm-test.inc (floor_test): Add more tests.
43742 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
43743
3a533ca3
JM
437442012-04-24 Joseph Myers <joseph@codesourcery.com>
43745
940ab4b3
JM
43746 * sysdeps/unix/getdents.c: Remove file.
43747 * sysdeps/unix/sysv/getdents.c: Likewise.
43748 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
43749
90e037bd
JM
43750 * sysdeps/unix/syscalls.list (madvise): Add syscall from
43751 sysdeps/unix/mman/syscalls.list.
43752 (mmap): Likewise.
43753 (mprotect): Likewise.
43754 (msync): Likewise.
43755 (munmap): Likewise.
43756 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
43757 * sysdeps/unix/mman/syscalls.list: Remove.
43758 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
43759
3a533ca3
JM
43760 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
43761 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
43762 * configure: Regenerated.
43763 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
43764 $(libgcc_s_suffix).
43765 * config.make.in (libgcc_s_suffix): Remove variable.
43766
1ad743de
JM
437672012-04-23 Joseph Myers <joseph@codesourcery.com>
43768
4ad451e2
JM
43769 * sysdeps/unix/sysv/gethostname.c: Move to ...
43770 * sysdeps/posix/gethostname.c: ... here.
43771
5e37ce39
JM
43772 * sysdeps/unix/execve.S: Remove file.
43773
1ad743de
JM
43774 * sysdeps/unix/_exit.S: Remove file.
43775
4e681b5b
AJ
437762012-04-23 Andreas Jaeger <aj@suse.de>
43777
43778 [BZ #13739]
43779 * manual/Makefile: Remove make dist support, there's no
43780 need for a stand-alone documentation tar ball.
43781 (TEXI2DVI): Define always, it's not in Makeconfig.
43782 (dist): Removed.
43783 (tar-it): Removed.
43784 (edition): Removed.
43785 (glibc-doc-$(edition).tar): Removed
43786 (%.Z): Removed.
43787 (%.gz): Removed.
43788 (%.uu): Removed.
43789 (ETAGS): Remove, it's in Makeconfig.
43790 (move-if-change): Remove, it's in Makeconfig.
43791
38686a03 437922012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
43793
43794 [BZ #13970]
43795 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
43796 (strtod, strtof, strtold, strtol, strtoul, strtoq)
43797 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
43798 (strtod_l, strtof_l, strtold_l): Remove __wur.
43799 It is not necessarily an error to ignore strtol's return value.
43800 One can reliably look at the stored endptr to decide whether
43801 the number had valid syntax.
43802
7c0616fa
AJ
438032012-04-21 Andreas Jaeger <aj@suse.de>
43804
803cb6b7 43805 [BZ #13739]
7c0616fa
AJ
43806 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
43807
b0fe253f
JM
438082012-04-21 Joseph Myers <joseph@codesourcery.com>
43809
43810 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
43811 * sysdeps/unix/sysv/Versions: Remove file.
43812
8280f22d
MT
438132012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
43814
43815 [BZ #13927]
43816 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43817
75ce411f 438182012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
43819
43820 [BZ #7064]
43821 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
43822 version from __vm86.
43823
097d59fa
JM
438242012-04-20 Joseph Myers <joseph@codesourcery.com>
43825
a90f3bcb
JM
43826 * sysdeps/unix/common/lxstat.c: Remove file.
43827 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
43828
edc7ea78
JM
43829 * sysdeps/unix/sysv/Makefile: Remove file.
43830
cb78c221
JM
43831 * sysdeps/unix/sysv/direct.h: Remove file.
43832
efa6a45f
JM
43833 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
43834 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
43835 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
43836 * sysdeps/unix/sysv/bits/signum.h: Likewise.
43837 * sysdeps/unix/sysv/bits/stat.h: Likewise.
43838 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
43839 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
43840
9c9f2d0c
JM
43841 * sysdeps/unix/sysv/setrlimit.c: Remove file.
43842
4541c83b
JM
43843 * sysdeps/unix/xmknod.c: Remove file.
43844 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
43845
f5d153a0
JM
43846 * sysdeps/unix/sysv/settimeofday.c: Remove file.
43847
aa746595
JM
43848 * sysdeps/unix/sysv/i386/time.S: Remove file.
43849
cce5905e
JM
43850 * sysdeps/unix/fxstat.c: Remove file.
43851 * sysdeps/unix/xstat.c: Likewise.
43852 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
43853
37fa3841
JM
43854 * sysdeps/unix/sysv/sigaction.c: Remove file.
43855
ff1962a3
JM
43856 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
43857 (sysdep_headers): Remove variable.
43858 [termio.h not in sysdep_headers] (generated): Likewise.
43859 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
43860 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
43861 * sysdeps/unix/sysv/tcdrain.c: Likewise.
43862 * sysdeps/unix/sysv/tcflow.c: Likewise.
43863 * sysdeps/unix/sysv/tcflush.c: Likewise.
43864 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
43865 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
43866 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
43867 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
43868 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
43869
e7740d31
JM
43870 * sysdeps/unix/siglist.c: Remove file.
43871
ee06f18b
JM
43872 * sysdeps/unix/getppid.S: Remove file.
43873
097d59fa
JM
43874 * sysdeps/unix/mkdir.c: Remove file.
43875 * sysdeps/unix/rmdir.c: Likewise.
43876
ff3d51ec
AS
438772012-04-19 Andreas Schwab <schwab@linux-m68k.org>
43878
43879 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
43880 ERR_MAX value.
43881 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
43882 errlist-compat value.
43883
50f81fd7
DM
438842012-04-18 David S. Miller <davem@davemloft.net>
43885
43886 * sysdeps/generic/memcopy.h (reg_char): Delete.
43887 * debug/strcat_chk.c: Use char, not reg_char.
43888 * debug/strcpy_chk.c: Likewise.
43889 * debug/strncat_chk.c: Likewise.
43890 * debug/strncpy_chk.c: Likewise.
43891 * string/memchr.c: Likewise.
43892 * string/memrchr.c: Likewise.
43893 * string/rawmemchr.c: Likewise.
43894 * string/strcat.c: Likewise.
43895 * string/strchr.c: Likewise.
43896 * string/strchrnul.c: Likewise.
43897 * string/strcmp.c: Likewise.
43898 * string/strcpy.c: Likewise.
43899 * string/strncat.c: Likewise.
43900 * string/strncmp.c: Likewise.
43901 * string/strncpy.c: Likewise.
43902
8ff41c46
WS
439032012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43904
43905 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
43906 __builtin_memcopy is called when src and dest ranges are known to not
43907 overlap.
43908
6b652f46
WS
439092012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43910
43911 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
43912 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
43913 fwd_align_merge macro call.
43914 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
43915 bwd_align_merge macro call.
43916 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43917
b282631e
WS
439182012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43919
43920 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
43921 bwd_align_merge macros.
43922 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
43923 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
43924 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43925
95aa737c
DM
439262012-04-18 David S. Miller <davem@davemloft.net>
43927
43928 * sysdeps/sparc/sparc64/memcopy.h: Delete.
43929
7a99a614
AJ
439302012-04-18 Andreas Jaeger <aj@suse.de>
43931
43932 [BZ# 6794]
43933 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
43934 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
43935 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43936
43937 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
43938 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
43939 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43940
43941 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
43942 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
43943 Adjust for changed ldbl-128 files.
43944
43945 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
43946 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
43947 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43948
e5270c23
DM
439492012-04-17 David S. Miller <davem@davemloft.net>
43950
43951 * sysdeps/sparc/sparc32/memcopy.h: Delete.
43952
fb5e92c9
AS
439532012-04-17 Andreas Schwab <schwab@linux-m68k.org>
43954
43955 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
43956 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
43957 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
43958 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
43959 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
43960 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
43961
76da7265
AZ
439622012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43963
43964 [BZ #6794]
43965 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
43966 * math/libm-test.inc: Add ilogb errno and exception tests.
43967 * math/w_ilogb.c: New file: ilogb wrapper.
43968 * math/w_ilogbf.c: New file: ilogbf wrapper.
43969 * math/w_ilogbl.c: New file: ilogbl wrapper.
43970 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
43971 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
43972 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
43973 exception being thrown with 0.0 as argument.
43974 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
43975 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
43976 exception being thrown with 0.0 as argument.
43977 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
43978 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
43979 exception being thrown with 0.0 as argument.
43980 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
43981 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
43982 exception being thrown with 0.0 as argument.
43983 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
43984 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 43985 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
43986 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
43987 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
43988 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
43989 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
43990 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
43991 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
43992
0396e69d
PB
439932012-04-17 Petr Baudis <pasky@ucw.cz>
43994
43995 * include/sys/uio.h: Change __vector to __iovec to avoid clash
43996 with altivec.
43997
750b5926
MP
439982012-04-16 Marek Polacek <polacek@redhat.com>
43999
44000 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
44001
751728a1
MP
440022012-04-16 Marek Polacek <polacek@redhat.com>
44003
44004 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
44005 operands of fdivp instruction.
44006
34a27407
L
440072012-04-13 H.J. Lu <hongjiu.lu@intel.com>
44008
44009 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
44010 * elf/tst-auditmod3b.c: Likewise.
44011 * elf/tst-auditmod4b.c: Likewise.
44012 * elf/tst-auditmod5b.c: Likewise.
44013 * elf/tst-auditmod6b.c: Likewise.
44014 * elf/tst-auditmod6c.c: Likewise.
44015 * elf/tst-auditmod7b.c: Likewise.
44016 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
44017 * sysdeps/x86_64/preconfigure.in: Likewise.
44018 * sysdeps/x86_64/preconfigure: Regenerated.
44019
7e73e17d
L
440202012-04-13 H.J. Lu <hongjiu.lu@intel.com>
44021
44022 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
44023 __ILP32__.
44024
c7a6ab72
AB
440252012-04-13 Antoine Balestrat <merkil33@gmail.com>
44026
44027 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44028 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
44029
a9e8e0e0
CL
440302012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
44031
44032 [BZ #13973]
44033 * locale/iso-639.def: Fix gl language name. Spotted by
44034 Yaron Shahrabani.
44035
ec98af7d
RM
440362012-04-12 Roland McGrath <roland@hack.frob.com>
44037
44038 [BZ #2074]
44039 * libio/libio.h (__io_write_fn): Update comment.
44040
247c3ede
PB
440412012-04-12 Petr Baudis <pasky@ucw.cz>
44042
44043 [BZ #2074]
44044 * stdio.texi (Hook Functions): The user provided writer function
44045 is not allowed to return -1.
44046
55939d6d
DM
440472012-04-11 David S. Miller <davem@davemloft.net>
44048
44049 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44050
90020f5a
MF
440512012-04-11 Mike Frysinger <vapier@gentoo.org>
44052
44053 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
44054 Add a leading slash to rtkaio.
44055
288f9098
JM
440562012-04-11 Jim Meyering <meyering@redhat.com>
44057
90020f5a
MF
44058 [BZ #11959]
44059 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
44060 It is not necessarily an error to ignore fwrite's return
44061 value. One can reliably use ferror to test for errors after
44062 the fact.
288f9098 44063
4be2b570
L
440642012-04-10 H.J. Lu <hongjiu.lu@intel.com>
44065
44066 * bits/types.h (__snseconds_t): New type.
44067 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
44068
44069 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
44070 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44071 (__SNSECONDS_T_TYPE): Likewise.
44072 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44073 (__SNSECONDS_T_TYPE): Likewise.
44074 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44075 (__SNSECONDS_T_TYPE): Likewise.
44076
288f9098 440772012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
44078
44079 [BZ #2636]
44080 * manual/time.texi (Processor Time): Return type of times is
44081 elapsed real time since an arbitrary point in the past.
44082 (CPU Time): Move CLK_TCK from here...
44083 (Processor Time): ...to here. Correct description.
44084 * manual/conf.texi (Constants for Sysconf): Correct description of
44085 _SC_CLK_TCK.
44086
d7dd4413
DM
440872012-04-10 David S. Miller <davem@davemloft.net>
44088
44089 [BZ #13967]
44090 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
44091 where the is a gap between DT_REL(A) and DT_JMPREL.
44092
b46068fc
L
440932012-04-10 H.J. Lu <hongjiu.lu@intel.com>
44094
44095 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
44096 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
44097 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44098
73d65cc3
SP
440992012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
44100
44101 * elf/dl-support.c (_dl_inhibit_cache): New variable.
44102 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
44103 (dl_main): Handle --inhibit-cache.
44104 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
44105 _dl_inhibit_cache.
44106 * elf/dl-load.c (_dl_map_object): Use it.
44107 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
44108
bcc8d661
JM
441092012-04-09 Joseph Myers <joseph@codesourcery.com>
44110
8f9a2fae
JM
44111 [BZ #13872]
44112 * sysdeps/i386/fpu/e_powl.S (p78): New object.
44113 (__ieee754_powl): Saturate large exponents rather than testing for
44114 overflow of y*log2(x).
44115 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44116 * math/libm-test.inc (pow_test): Do not permit spurious overflow
44117 exceptions.
44118
bcc8d661
JM
44119 [BZ #11521]
44120 * math/s_ctan.c: Include <float.h>.
44121 (__ctan): Avoid internal overflow or cancellation in calculating
44122 denominator.
44123 * math/s_ctanf.c: Likewise.
44124 * math/s_ctanl.c: Likewise.
44125 * math/s_ctanh.c: Likewise.
44126 * math/s_ctanhf.c: Likewise.
44127 * math/s_ctanhl.c: Likewise.
44128 * math/libm-test.inc (ctan_test): Add more tests.
44129 (ctanh_test): Likewise.
44130 * sysdeps/i386/fpu/libm-test-ulps: Update.
44131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44132
823fbbb4
AJ
441332012-04-09 Andreas Jaeger <aj@suse.de>
44134
03879793
AJ
44135 [BZ #6894]
44136 * manual/filesys.texi (Directory Entries): Mention that d_namlen
44137 is an optional BSD extension.
44138
823fbbb4
AJ
44139 [BZ #10254]
44140 * manual/stdio.texi (Opening Streams): Document additional fopen
44141 parameters.
44142
8de131cb
RM
441432012-04-09 Roland McGrath <roland@hack.frob.com>
44144
44145 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
44146 %eax without telling the compiler.
44147
c0ed9d7d
CD
441482012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
44149
44150 [BZ # 13963]
44151 * manual/install.texi: Use sourceware.org.
44152
c483f6b4
JM
441532012-04-09 Joseph Myers <joseph@codesourcery.com>
44154
d7dd9453
JM
44155 [BZ #13873]
44156 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
44157 (__ieee754_pow): Generate overflow and underflow using huge*huge
44158 and tiny*tiny rather than just returning constant infinity or zero
44159 for large exponents.
44160 * math/libm-test.inc (pow_test): Require overflow exceptions for
44161 applicable cases of large exponents.
44162
c483f6b4
JM
44163 [BZ #706]
44164 * sysdeps/i386/fpu/e_pow.S (p10): New object.
44165 (__ieee754_pow): Use iterative multiplication algorithm only for
44166 integer exponents with absolute value below 1024. Check for odd
44167 integer exponents when using algorithm for real exponents.
44168 * math/libm-test.inc (pow_test): Add more tests.
44169 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44170
d2de7579
JM
441712012-04-08 Joseph Myers <joseph@codesourcery.com>
44172
44173 [BZ #13705]
44174 * math/libm-test.inc (exp_test): Do not allow overflow exception
44175 on underflow test.
44176
f77f1232
AJ
441772012-04-08 Aurelien Jarno <aurelien@aurel32.net>
44178
44179 [BZ #13705]
44180 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
44181 instead of __kernel_standard_f.
44182
3884932b
MF
441832012-04-08 Mike Frysinger <vapier@gentoo.org>
44184
44185 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
44186 * sysdeps/x86_64/memset_chk.S: Likewise.
44187
54472e9c
AJ
441882012-04-08 Andreas Jaeger <aj@suse.de>
44189
6ab0fbfc
AJ
44190 [BZ #10153]
44191 * manual/startup.texi (Environment Access): Describe return value
44192 for putenv and setenv.
44193
61efba8c
AJ
44194 [BZ #6895]
44195 * manual/filesys.texi (Directory Entries): Add description for
44196 DT_LNK.
44197
95c3f29a
AJ
44198 [BZ #6890]
44199 * manual/filesys.texi (Directory Entries): Clarify that it's file
44200 system not operating system in the description of DT_UNKNOWN.
44201
54472e9c
AJ
44202 [BZ #6578]
44203 * manual/syslog.texi (closelog): Fix reference, it's openlog.
44204
624254b1
SC
442052012-04-08 Stephen Compall <s11@member.fsf.org>
44206
44207 [BZ #6649]
44208 * manual/llio.texi (Opening and Closing Files): Add cross
44209 reference to explain mode argument.
44210
1e4920e0
MF
442112012-04-07 Mike Frysinger <vapier@gentoo.org>
44212
44213 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
44214 * sysdeps/x86_64/memset_chk.S: Likewise.
44215
5ed848f3
DM
442162012-04-07 David S. Miller <davem@davemloft.net>
44217
44218 * elf/elf.h (R_SPARC_WDISP10): Define.
44219 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
44220 R_SPARC_SIZE32.
44221 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
44222 R_SPARC_SIZE64 and R_SPARC_H34.
44223
96154cd8
CD
442242012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
44225
44226 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
44227 conditions and remove no longer applicable assertion.
44228
9904dc47
L
442292012-04-06 H.J. Lu <hongjiu.lu@intel.com>
44230
44231 * bits/byteswap.h: Include <features.h>.
44232 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
44233 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44234
f8887d0a
L
442352012-04-06 H.J. Lu <hongjiu.lu@intel.com>
44236
44237 * bits/byteswap.h (__bswap_16): Removed.
44238 Include <bits/byteswap-16.h> to get __bswap_16.
44239 * sysdeps/i386/bits/byteswap.h: Likewise.
44240 * sysdeps/s390/bits/byteswap.h: Likewise.
44241 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44242 * bits/byteswap-16.h: New file.
44243 * sysdeps/i386/bits/byteswap-16.h: Likewise.
44244 * sysdeps/s390/bits/byteswap-16.h: Likewise.
44245 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
44246 * string/Makefile (headers): Add bits/byteswap-16.h.
44247
62470f60
PP
442482012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
44249
44250 [BZ #13895]
44251 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
44252 extra indirection.
44253 * nss/Makefile (tests-static, tests): Add tst-nss-static.
44254 * nss/tst-nss-static.c: New.
44255
4dad7bab
RM
442562012-04-06 Robert Millan <rmh@gnu.org>
44257
44258 [BZ #6486]
44259 * manual/llio.texi (File Position Primitive): lseek
44260 refers to WHENCE when it really means OFFSET.
44261
e9142a17
AJ
442622012-04-06 Andreas Jaeger <aj@suse.de>
44263
2c040eff
AJ
44264 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
44265 strncmp declarations.
44266
e9142a17
AJ
44267 * abilist/libc.abilist: Add __poll and __ppoll.
44268
ff9f1c5f
DM
442692012-04-05 David S. Miller <davem@davemloft.net>
44270
dcd2ae90
DM
44271 * scripts/check-local-headers.sh: Accept a host triplet in the
44272 path matched by the exclude regexp.
44273
993eb054
DM
44274 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
44275 definition.
44276 * sysdeps/powerpc/powerpc32/dl-machine.h
44277 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
44278 * sysdeps/s390/s390-32/dl-machine.h
44279 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44280 * sysdeps/sparc/sparc32/dl-machine.h
44281 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44282 * sysdeps/sparc/sparc64/dl-machine.h
44283 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44284
ff9f1c5f
DM
44285 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
44286 lazy binding.
48e2e132 44287 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
44288 undefined symbol errors.
44289
48e2e132 44290 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
44291 DT_NEEDED entries.
44292
e80d6f94
MM
442932012-04-05 Michael Matz <matz@suse.de>
44294
44295 [BZ #13592]
44296 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
44297
349fa79f
AJ
442982012-04-05 Andreas Jaeger <aj@suse.de>
44299
44300 [BZ #13908]
44301 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
44302 comment.
44303
f402708f
KK
443042012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44305
44306 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
44307 which ROUND is no valid rounding mode.
44308
2ecccfc9
KK
443092012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44310
44311 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
44312 read again.
44313 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
44314
8a53f50f
KK
443152012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44316
44317 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
44318 an exception using FPU order intentionally.
44319
443202012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44321
44322 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
44323 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
44324 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
44325 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
44326
d653abb7
SJ
443272012-04-05 Simon Josefsson <simon@josefsson.org>
44328
44329 [BZ #12340]
44330 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
44331 EINVAL when BUFLEN is too smal.
44332
c3b1bf7d
TS
443332012-04-05 Thomas Schwinge <thomas@codesourcery.com>
44334
44335 [BZ #13553]
44336 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
44337 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
44338
b1aa60f3
AJ
443392012-04-03 Andreas Jaeger <aj@suse.de>
44340
c3b1bf7d 44341 [BZ #13938]
67f60a26
AJ
44342 * manual/setjmp.texi (System V contexts): Fix sentence.
44343
b1aa60f3
AJ
44344 [BZ #13926]
44345 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
44346 New macro for this case.
44347 [!__GNUC__] (__bswap_64): New inline function for this case.
44348 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44349 * bits/byteswap.h: Likewise.
44350 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
44351 ull, guard with __GLIBC_HAVE_LONG_LONG.
44352
44353 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
44354 __GLIBC_HAVE_LONG_LONG.
44355
44356 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
44357 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
44358
39c59c35
TMQMF
443592012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44360
44361 [BZ #13691]
44362 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
44363 inptr and inend, rather than using last_ch.
44364
135ffda8
DM
443652012-04-02 David S. Miller <davem@davemloft.net>
44366
44367 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
44368 * stdio-common/printf-parse.h (read_int): Change return type to
44369 'int', return -1 on INT_MAX overflow.
44370 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
44371 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
44372 overflows INT_MAX. Check for overflow of in-format-string precision
44373 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
44374 SIZE_MAX not INT_MAX for integer overflow test.
44375 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
44376 skip the construct in the format string but do not record anything.
44377 * stdio-common/bug22.c: Adjust to test both width/prevision
44378 INT_MAX overflow as well as total length INT_MAX overflow. Check
44379 explicitly for proper errno values.
44380
228c019e
TS
443812012-04-02 Thomas Schwinge <thomas@codesourcery.com>
44382
302cadd3
TS
44383 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
44384 CHAR_MAX.
44385 * string/test-strcmp.c [! WIDE]: Likewise.
44386 * time/tst-mktime2.c: Likewise for INT_MAX.
44387 * string/test-string.h: #include <sys/param.h> for MIN.
44388
228c019e
TS
44389 * csu/init-first.c (__libc_init_first): Call __ctype_init.
44390 * sysdeps/i386/init-first.c (init): Likewise.
44391 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
44392 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
44393 * sysdeps/sh/init-first.c (init): Likewise.
44394
cfa633f5
UD
443952012-04-01 Ulrich Drepper <drepper@gmail.com>
44396
44397 * po/ru.po: Update from translation team.
d1635ef8 44398 * po/vi.po: Likewise.
cfa633f5 44399
6cd0a5ea
SP
444002012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
44401
44402 * resolv/nss_dns/dns-host.c: Merge copyright years.
44403
4b43400f
LD
444042012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44405
44406 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44407 Optimize memcpy with prefetch if
44408 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
44409 src, dst pointers have unequal 16 byte alignments.
44410
48c41d04
SP
444112012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
44412
44413 [BZ #13928]
44414 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
44415 from a CNAME entry and return the minimum ttl for the query.
44416 (gaih_getanswer_slice): Likewise.
44417
b8dc394d
JL
444182012-03-30 Jeff Law <law@redhat.com>
44419
44420 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
44421 due to long keys.
44422 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
44423 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
44424
2f5a5ed0
JL
44425 * resolv/nss_dns/dns-host.c: Update copyright year.
44426
1d39e359
UD
444272012-03-30 Ulrich Drepper <drepper@gmail.com>
44428
c030f70c 44429 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 44430 requests to save a system call. Fix check that all bytes are sent.
c030f70c 44431
1d39e359
UD
44432 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
44433 comments for sendmmsg.
44434
444352012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
44436
44437 [BZ #13691]
44438 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
44439 with only 1 character between 0x0041 and 0x01b0.
44440 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
44441 * wcsmbs/tst-mbsnrtowcs.c: New file.
44442
20fde227
DM
444432012-03-29 David S. Miller <davem@davemloft.net>
44444
44445 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
44446 small copies by hand.
44447
984a4237
JL
444482012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
44449
44450 [BZ #13761]
57f41c40
AS
44451 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
44452 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
44453 group memberships.
984a4237 44454
18c9d62b
DM
444552012-03-28 David S. Miller <davem@davemloft.net>
44456
88d85d4f
DM
44457 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
44458 that branches into memcpy.
44459 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
44460 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
44461 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
44462 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
44463 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
44464 bits.
44465 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
44466 implementation too.
44467 * sysdeps/sparc/mempcpy.S: New file.
44468
e5aa83e1
DM
44469 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
44470 the IFUNC routine in the libc case.
44471 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
44472
88570753
DM
44473 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
44474 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
44475 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
44476 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
44477 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
44478 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
44479 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
44480 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
44481
249d7567
DM
44482 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
44483 loop to 256 bytes instead of 64 bytes and fix test signedness.
44484
18c9d62b
DM
44485 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
44486 * sysdeps/sparc/sparc32/Makefile: rather than here...
44487 * sysdeps/sparc/sparc64/Makefile: and here.
44488
05f3d1f6
UD
444892012-03-28 Ulrich Drepper <drepper@gmail.com>
44490
44491 * malloc/mallocbug.c: Avoid warnings about unused variables.
44492
86ae07a8
JL
444932012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
44494
44495 [BZ #13760]
44496 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
44497 in the right place. Discard and retry query if response is
44498 larger than input buffer size.
44499
41bf21a1
JM
445002012-03-28 Joseph Myers <joseph@codesourcery.com>
44501
d6270972
JM
44502 [BZ #369]
44503 [BZ #2678]
44504 [BZ #3866]
44505 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
44506 x for large integer exponent.
44507 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
44508 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
44509 sign of result as needed afterwards.
44510 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
44511 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
44512 result for underflowing pow the same as for overflow.
44513 (__kernel_standard_l): Handle powl overflow and underflow here
44514 rather than calling __kernel_standard.
44515 * math/libm-test.inc (pow_test): Add more tests.
44516
414fca03 44517 [BZ #3868]
41bf21a1
JM
44518 [BZ #13879]
44519 [BZ #13910]
44520 [BZ #13911]
44521 [BZ #13912]
44522 [BZ #13913]
44523 [BZ #13915]
44524 [BZ #13916]
44525 [BZ #13917]
44526 [BZ #13918]
44527 [BZ #13919]
44528 [BZ #13920]
44529 [BZ #13921]
44530 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
44531 * sysdeps/ieee754/k_standard.c: Include <float.h>.
44532 (__kernel_standard_l): New function.
44533 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
44534 __kernel_standard.
44535 * math/w_acosl.c (__acosl): Likewise.
44536 * math/w_asinl.c (__asinl): Likewise.
44537 * math/w_atan2l.c (__atan2l): Likewise.
44538 * math/w_atanhl.c (__atanhl): Likewise.
44539 * math/w_coshl.c (__coshl): Likewise.
44540 * math/w_exp10l.c (__exp10l): Likewise.
44541 * math/w_exp2l.c (__exp2l): Likewise.
44542 * math/w_fmodl.c (__fmodl): Likewise.
44543 * math/w_hypotl.c (__hypotl): Likewise.
44544 * math/w_j0l.c (__j0l, __y0l): Likewise.
44545 * math/w_j1l.c (__j1l, __y1l): Likewise.
44546 * math/w_jnl.c (__jnl, __ynl): Likewise.
44547 * math/w_lgammal.c (__lgammal): Likewise.
44548 * math/w_log10l.c (__log10l): Likewise.
44549 * math/w_log2l.c (__log2l): Likewise.
44550 * math/w_logl.c (__logl): Likewise.
44551 * math/w_powl.c (__powl): Likewise.
44552 * math/w_remainderl.c (__remainderl): Likewise.
44553 * math/w_scalbl.c (sysv_scalbl): Likewise.
44554 * math/w_sinhl.c (__sinhl): Likewise.
44555 * math/w_sqrtl.c (__sqrtl): Likewise.
44556 * math/w_tgammal.c (__tgammal): Likewise.
44557 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
44558 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
44559 * math/libm-test.inc (acos_test): Add more tests.
44560 (acosh_test): Likewise.
44561 (asin_test): Likewise.
44562 (atanh_test): Likewise.
44563 (exp_test): Likewise.
44564 (exp10_test): Likewise.
44565 (exp2_test): Likewise.
44566 (expm1_test): Likewise.
44567 (lgamma_test): Likewise.
44568 (log_test): Likewise.
44569 (log10_test): Likewise.
44570 (log1p_test): Likewise.
44571 (log2_test): Likewise.
44572 (pow_test): Do not allow some spurious overflow exceptions.
44573 (sqrt_test): Add more tests.
44574 (tgamma_test): Likewise.
44575 (y0_test): Likewise.
44576 (y1_test): Likewise.
44577 (yn_test): Likewise.
44578
dd62fda6
AB
445792012-03-27 Anton Blanchard <anton@samba.org>
44580
44581 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
44582 MAP_HUGETLB.
44583 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44584 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
44585 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44586
1e3cdfda
AJ
445872012-03-27 David S. Miller <davem@davemloft.net>
44588
b855ab85
DM
44589 * conform/Makefile: Run run-conformtest.sh using $(BASH).
44590
1e3cdfda
AJ
44591 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
44592 have-as-vis3 check.
44593
445942012-03-27 Andreas Jaeger <aj@suse.de>
44595
44596 * sysdeps/x86_64/elf/configure.in: Moved to ...
44597 * sysdeps/x86_64/configure.in: ... here.
44598 * sysdeps/x86_64/elf/start.S: Moved to ...
44599 * sysdeps/x86_64/start.S: ... here.
44600 * sysdeps/x86_64/elf/configure: Delete.
44601
44602 * sysdeps/x86_64/configure.in: Merge contents from
44603 sysdeps/i386/configure.in (without i686 check).
44604
44605 * sysdeps/i386/elf/Versions: Merge into ...
44606 * sysdeps/i386/Versions: ... this.
44607 * sysdeps/i386/elf/Versions: Delete file.
44608 * sysdeps/i386/elf/start.S: Moved to ...
44609 * sysdeps/i386/start.S: ...here.
44610 * sysdeps/i386/elf/configure.in: Merge into...
44611 * sysdeps/i386/configure.in: ...here.
44612 * sysdeps/i386/elf/configure.in: Delete file.
44613 * sysdeps/i386/elf/configure: Delete file.
44614
44615 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
44616 * debug/backtracesyms.c: ... here.
44617 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
44618 * debug/backtracesymsfd.c: ... here.
44619 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
44620 * sysdeps/generic/ifunc-sel.h: ... here.
44621
44622 * sysdeps/unix/i386/start.c: Delete file.
44623 * sysdeps/unix/sparc/start.c: Delete file.
44624 * sysdeps/unix/start.c: Delete file.
44625
44626 * sysdeps/sh/elf/configure.in: Moved to ...
44627 * sysdeps/sh/configure.in: ... here.
44628 * sysdeps/sh/elf/start.S: Moved to ...
44629 * sysdeps/sh/start.S: ... here.
44630 * sysdeps/sh/elf/configure: Delete file.
44631
44632 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
44633 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
44634 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
44635 * sysdeps/powerpc/powerpc64/entry.h: ... here.
44636 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
44637 * sysdeps/powerpc/powerpc64/start.S: here.
44638 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
44639 * sysdeps/powerpc/powerpc64/Makefile: ... this.
44640 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
44641 * sysdeps/powerpc/powerpc64/configure.in: ... this.
44642 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
44643
44644 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
44645 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
44646 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
44647 * sysdeps/powerpc/powerpc32/start.S: ... here.
44648 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
44649 * sysdeps/powerpc/powerpc32/configure.in: ... this.
44650 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
44651
44652 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
44653 * sysdeps/powerpc/ifunc-sel.h: ... here.
44654 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
44655 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
44656
44657 * sysdeps/sparc/elf/configure.in: Moved to ...
44658 * sysdeps/sparc/configure.in: ... here.
44659 * sysdeps/sparc/elf/configure: Delete file.
44660 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
44661 * sysdeps/sparc/sparc32/start.S: ... here.
44662 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
44663 * sysdeps/sparc/sparc64/start.S: ... here.
44664 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
44665 * sysdeps/sparc/sparc32/Makefile: ... this.
44666 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
44667 * sysdeps/sparc/sparc64/Makefile: ... this.
44668
44669 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
44670 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
44671 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
44672 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
44673 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
44674 * sysdeps/s390/s390-32/setjmp.S: ... here.
44675 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
44676 * sysdeps/s390/s390-32/configure.in: ... here.
44677 * sysdeps/s390/s390-32/elf/configure: Delete file.
44678 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
44679 * sysdeps/s390/s390-32/start.S: ... here.
44680
44681 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
44682 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
44683 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
44684 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
44685 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
44686 * sysdeps/s390/s390-64/setjmp.S: ... here.
44687 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
44688 * sysdeps/s390/s390-64/configure.in: ... here
44689 * sysdeps/s390/s390-64/elf/configure: Delete file.
44690 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
44691 * sysdeps/s390/s390-64/start.S: ... here.
44692 * sysdeps/s390/s390-64/elf/configure: Delete.
44693
44694 * configure.in: Remove support for elf directories in sysdeps.
44695
44696 * configure: Regenerated.
44697 * sysdeps/i386/configure: Regenerated.
44698 * sysdeps/powerpc/powerpc32/configure: Regenerated.
44699 * sysdeps/powerpc/powerpc64/configure: Regenerated.
44700 * sysdeps/s390/s390-32/configure: Regenerated.
44701 * sysdeps/s390/s390-64/configure: Regenerated.
44702 * sysdeps/sh/configure: Regenerated.
44703 * sysdeps/sparc/configure: Regenerated.
44704 * sysdeps/x86_64/configure: Regenerated.
44705
a3f61311
AS
447062012-03-26 Andreas Schwab <schwab@linux-m68k.org>
44707
c876e002
AS
44708 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44709
a3f61311
AS
44710 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
44711 denormal result into account.
44712
ac4c54f0
RM
447132012-03-25 Roland McGrath <roland@hack.frob.com>
44714
44715 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
44716 Reported by Allan McRae <allan@archlinux.org>.
44717
6a9b9c02
JL
447182012-03-23 Jeff Law <law@redhat.com>
44719
44720 * nss/getnssent.c (__nss_getent): Fix typo.
44721
4c42a0c1
DM
447222012-03-23 David S. Miller <davem@davemloft.net>
44723
44724 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44725
1532c7ac
L
447262012-03-23 H.J. Lu <hongjiu.lu@intel.com>
44727
44728 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
44729 to pad to uint64_t for each field.
44730 (dl_tls_index): Replace unsigned long with uint64_t.
44731
3ff42526
PP
447322012-03-23 Daniel Jacobowitz <dmj@google.com>
44733 Paul Pluzhnikov <ppluzhnikov@google.com>
44734
44735 [BZ #6528]
44736 * grp/Makefile (otherlibs): Don't set it.
44737 * inet/Makefile (otherlibs): Likewise.
44738 * login/Makefile (otherlibs): Likewise.
44739 * nscd/Makefile (otherlibs): Likewise.
44740 * posix/Makefile (otherlibs): Likewise.
44741 * pwd/Makefile (otherlibs): Likewise.
44742 * rt/Makefile (otherlibs): Likewise.
44743 * sunrpc/Makefile (otherlibs): Likewise.
44744 * nss/Makefile (otherlibs): Likewise.
44745 Add libnss_files to routines and static-only-routines.
44746 ($(objpfx)getent): Remove rule.
44747 * resolv/Makefile: Add libnss_dns and libresolv to routines and
44748 static-only-routines.
44749
7c69cd14
JM
447502012-03-22 Joseph Myers <joseph@codesourcery.com>
44751
44752 [BZ #13892]
44753 * math/s_cexp.c: Include <float.h>.
44754 (__cexp): Handle exp result overflowing not necessarily
44755 overflowing both real and imaginary parts of result.
44756 * math/s_cexpf.c: Likewise.
44757 * math/s_cexpl.c: Likewise.
44758 * math/libm-test.inc (cexp_test): Add more tests.
44759 * sysdeps/i386/fpu/libm-test-ulps: Update.
44760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44761
81b035fe
L
447622012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44763
44764 * include/link.h (ELFW): New macro.
44765 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
44766 Replace ELF64_R_TYPE with ELFW(R_TYPE).
44767
1da7940c
L
447682012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44769
44770 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
44771 with uint64_t.
44772
b749dbb9
L
447732012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44774
44775 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
44776 declaration.
44777 (struct La_x32_retval): Likewise.
44778
2ff87f3f
L
447792012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44780
44781 * sysdeps/x86_64/preconfigure.in: New file.
44782 * sysdeps/x86_64/preconfigure: New generated file.
44783
c0df8e69
JM
447842012-03-22 Joseph Myers <joseph@codesourcery.com>
44785
48e44791
JM
44786 [BZ #13824]
44787 * math/e_exp2l.c: Include <float.h>.
44788 (__ieee754_exp2l): Handle overflow and underflow cases
44789 separately. Only pass fractional part of argument to
44790 __ieee754_expl.
44791 * math/libm-test.inc (exp2_test): Add more tests.
44792
c0df8e69
JM
44793 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
44794 negating x to take absolute value.
44795 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
44796 Likewise.
44797 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
44798 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
44799 Likewise.
44800 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
44801 computing low part if x was negated.
44802 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
44803
c8e43ba7
L
448042012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44805
44806 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
44807 la_x32_gnu_pltexit.
44808 (pltexit): Cast int_retval to ptrdiff_t.
44809 * elf/tst-auditmod3b.c: Likewise.
44810 * elf/tst-auditmod4b.c: Likewise.
44811 * elf/tst-auditmod5b.c: Likewise.
44812 * elf/tst-auditmod6b.c: Likewise.
44813 * elf/tst-auditmod6c.c: Likewise.
44814 * elf/tst-auditmod7b.c: Likewise.
44815
44816 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
44817 and x32_gnu_pltexit.
44818
44819 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
44820 __ELF_NATIVE_CLASS.
44821 (La_x32_regs): New macro.
44822 (La_x32_retval): Likewise.
44823 (la_x32_gnu_pltenter): New function prototype.
44824 (la_x32_gnu_pltexit): Likewise.
44825
7998fa78
AS
448262012-03-21 Andreas Schwab <schwab@linux-m68k.org>
44827
dcb33988
AS
44828 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
44829 exponent.
44830
233fc563
AS
44831 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44832
7998fa78
AS
44833 * configure.in (libc_cv_cc_nofma): Check for option to disable
44834 generation of FMA instructions.
44835 * configure: Regenerate.
44836 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
44837 * sysdeps/ieee754/dbl-64/Makefile: New file.
44838 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
44839 Remove brandred-fma4.
44840 (CFLAGS-brandred-fma4.c): Remove.
44841 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
44842 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
44843 define.
44844 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
44845 define.
44846
8e95c99a
L
448472012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44848
44849 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
44850 LLONG_MAX != LONG_MAX.
44851 (_itoa_word): Use _ITOA_WORD_TYPE on value.
44852 (_fitoa_word): Likewise.
44853 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
44854 LLONG_MAX != LONG_MAX.
44855 * stdio-common/_itowa.h: Include <_itoa.h>.
44856 (_itowa_word): Use _ITOA_WORD_TYPE on value.
44857 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
44858 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
44859 only if not defined.
44860 (_ITOA_WORD_TYPE): Likewise.
44861 (_itoa_word): Use _ITOA_WORD_TYPE on value.
44862 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
44863
6f4db457
DM
448642012-03-21 David S. Miller <davem@davemloft.net>
44865
44866 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44867
7785fe5a
L
448682012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44869
44870 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
44871 of x86_64 when setting libc_cv_slibdir, libdir and
44872 libc_cv_localedir.
44873 * sysdeps/unix/sysv/linux/configure: Regenerated.
44874
4535cd55
JM
448752012-03-21 Joseph Myers <joseph@codesourcery.com>
44876
44877 * manual/lang.texi (Old Varargs): Remove section.
44878 (How Variadic): Update menu.
44879 (va_start): Do not mention varargs.h.
44880
17228132
TS
448812012-03-21 Thomas Schwinge <thomas@codesourcery.com>
44882 Joseph Myers <joseph@codesourcery.com>
44883
44884 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
44885 link test.
44886 * configure: Regenerated.
44887
8149f976
TS
448882012-03-21 Thomas Schwinge <thomas@codesourcery.com>
44889
05f3d1f6
UD
44890 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
44891 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
44892 conformtest.pl
8149f976 44893
1a4ac776
JM
448942012-03-21 Joseph Myers <joseph@codesourcery.com>
44895
be22ce65
JM
44896 * NOTES: Remove.
44897 * Makefile (files-for-dist): Remove NOTES.
44898 (NOTES): Remove rule.
44899 * README: Don't refer to NOTES.
44900 * manual/creature.texi: Don't include macros.texi.
44901 * manual/intro.texi (creature.texi): Remove comment referring to
44902 NOTES.
44903
40b601fb
JM
44904 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
44905 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
44906 * configure: Regenerated.
44907 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
44908 LIBC_TRY_CC_OPTION.
44909 (libc_cv_as_i686): Likewise.
44910 (libc_cv_cc_avx): Likewise.
44911 (libc_cv_cc_sse2avx): Likewise.
44912 (libc_cv_cc_fma4): Likewise.
44913 (libc_cv_cc_novzeroupper): Likewise.
44914 * sysdeps/i386/configure: Regenerated.
44915
1a4ac776
JM
44916 [BZ #13883]
44917 * sysdeps/i386/fpu/s_cexp.S: Remove.
44918 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44919 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44920 * math/libm-test.inc (cexp_test): Add more tests.
44921 * sysdeps/i386/fpu/libm-test-ulps: Update.
44922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44923
a458e7fe
AM
449242012-03-21 Allan McRae <allan@archlinux.org>
44925
44926 * timezone/Makefile: Do not install iso3166.tab and zone.tab
44927
0cb7efc5
JM
449282012-03-21 Joseph Myers <joseph@codesourcery.com>
44929
44930 [BZ #13871]
44931 * math/w_exp2.c: Do not include <float.h>.
44932 (o_threshold, u_threshold): Remove.
44933 (__exp2): Calculate result before checking finiteness and calling
44934 __kernel_standard.
44935 * math/w_exp2f.c: Likewise.
44936 * math/w_exp2l.c: Likewise.
44937 * math/libm-test.inc (exp2_test): Require overflow exception for
44938 1e6 input.
2460d3aa
JM
44939
44940 [BZ #3866]
44941 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
44942 range of signed 64-bit integers before using fistpll. Remove
44943 checks for whether integers fit in mantissa bits.
44944 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
44945 the range of signed 32-bit integers before using fistpl. Remove
44946 checks for whether integers fit in mantissa bits.
44947 * sysdeps/i386/fpu/e_powl.S (p64): New object.
44948 (__ieee754_powl): Test for y outside the range of signed 64-bit
44949 integers before using fistpll. Reduce 64-bit values to 63-bit
44950 ones as needed.
44951 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
44952 divide-by-zero is raised for zero to large negative powers.
44953 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
44954 (__ieee754_powl): Test for y outside the range of signed 64-bit
44955 integers before using fistpll. Reduce 64-bit values to 63-bit
44956 ones as needed.
44957 * math/libm-test.inc (pow_test): Add more tests.
44958
eb96ffb0
L
449592012-03-20 H.J. Lu <hongjiu.lu@intel.com>
44960
44961 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
44962 <stdio-common/_itoa.h>.
44963 * debug/segfault.c: Likewise.
44964 * elf/dl-cache.c: Likewise.
44965 * elf/dl-minimal.c: Likewise.
44966 * elf/dl-misc.c: Likewise.
44967 * elf/dl-sysdep.c: Likewise.
44968 * elf/dl-version.c: Likewise.
44969 * elf/rtld.c: Likewise.
44970 * hurd/hurdsock.c: Likewise.
44971 * hurd/lookup-retry.c: Likewise.
44972 * malloc/malloc.c: Likewise.
44973 * malloc/mtrace.c: Likewise.
44974 * nscd/nscd_getgr_r.c: Likewise.
44975 * nscd/nscd_getpw_r.c: Likewise.
44976 * nscd/nscd_getserv_r.c: Likewise.
44977 * posix/getopt_init.c: Likewise.
44978 * posix/wordexp.c: Likewise.
44979 * stdio-common/_itoa.c: Likewise.
44980 * stdio-common/printf_fphex.c: Likewise.
44981 * stdio-common/vfprintf.c: Likewise.
44982 * string/_strerror.c: Likewise.
44983 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
44984 * sysdeps/i386/i686/hp-timing.h: Likewise.
44985 * sysdeps/mach/_strerror.c: Likewise.
44986 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
44987 * sysdeps/mach/hurd/sethostid.c: Likewise.
44988 * sysdeps/mach/hurd/xmknodat.c: Likewise.
44989 * sysdeps/mach/xpg-strerror.c: Likewise.
44990 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
44991 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
44992 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
44993 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
44994 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
44995 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
44996 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
44997 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
44998 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
44999 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
45000 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
45001 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
45002 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
45003 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
45004 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
45005 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
45006 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
45007 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
45008 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
45009 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
45010 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
45011
45012 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
45013
45014 * stdio-common/_itoa.h: Moved to ...
45015 * sysdeps/generic/_itoa.h: Here.
45016
45017 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
45018
45019 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
45020 instead of "_itoa.h" and "_itowa.h".
45021 * stdio-common/vfprintf.: Likewise.
45022
d1af992d
L
450232012-03-20 H.J. Lu <hongjiu.lu@intel.com>
45024
45025 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
45026 <bits/wordsize.h>.
45027 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
45028 (__signbit): Likwise.
45029 (llrintf): Likwise.
45030 (llrint): Likwise.
45031
114883e0
L
450322012-03-20 H.J. Lu <hongjiu.lu@intel.com>
45033
45034 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
45035 __WORDSIZE != 64.
45036
c135cc1b
JM
450372012-03-20 Joseph Myers <joseph@codesourcery.com>
45038
45039 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
45040 OVERFLOW_EXCEPTION_OK.
45041 * math/libm-test.inc ("Philosophy"): Update comment about
45042 exception testing.
45043 (OVERFLOW_EXCEPTION): Define.
45044 (OVERFLOW_EXCEPTION_OK): Likewise.
45045 (INVALID_EXCEPTION_OK): Renumber.
45046 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
45047 (IGNORE_ZERO_INF_SIGN): Likewise.
45048 (test_exceptions): Handle FE_OVERFLOW.
45049 (exp10_test): Expect overflow exceptions.
45050 (exp2_test): Likewise.
45051 (expm1_test): Likewise.
45052 (nextafter_test): Likewise.
45053 (pow_test): Likewise.
45054 (scalbn_test): Likewise.
45055 (scalbln_test): Likewise.
45056
95443d88
L
450572012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45058
45059 * sysdeps/x86_64/bits/atomic.h
45060 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
45061 64bit integer.
45062 (atomic_exchange_acq): Likewise.
45063 (__arch_exchange_and_add_body): Likewise.
45064 (__arch_add_body): Likewise.
45065 (atomic_add_negative): Likewise.
45066 (atomic_add_zero): Likewise.
45067
490df6c4
L
450682012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45069
c2722551 45070 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
45071 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
45072
5e52b189
L
450732012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45074
45075 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
45076 Check __x86_64__ instead of __WORDSIZE.
45077
a9879d4c
L
450782012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45079
45080 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
45081
5df98260
DM
450822012-03-19 David S. Miller <davem@davemloft.net>
45083
e1497744
DM
45084 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45085
5df98260
DM
45086 * sysdeps/sparc/fpu/fenv_private.h: New file.
45087 * sysdeps/sparc/fpu/math_private.h: Use it.
45088 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
45089 Remove.
57f41c40 45090 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
45091 (libc_feholdexcept_setroundl): Remove.
45092 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
45093 Remove.
45094 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
45095 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
45096
b4c35121
L
450972012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45098
45099 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
45100 int64_t instead of long int.
45101 (INSERT_WORDS64): Likwise.
45102
56965fd7
L
451032012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45104
45105 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
45106 _Unwind_GetCFA return to _Unwind_Ptr first.
45107
83d1aec8
JM
451082012-03-19 Joseph Myers <joseph@codesourcery.com>
45109
1897ad44
JM
45110 [BZ #13629]
45111 * math/s_clog.c: Include <float.h>.
45112 (__clog): Scale large or subnormal inputs.
45113 * math/s_clogf.c: Likewise.
45114 * math/s_clogl.c: Likewise.
45115 * math/s_clog10.c: Include <float.h>.
45116 (M_LOG10_2): Define.
45117 (__clog10): Scale large or subnormal inputs.
45118 * math/s_clog10f.c: Likewise.
45119 * math/s_clog10l.c: Likewise.
45120 * math/libm-test.inc (clog_test): Add more tests.
45121 (clog10_test): Likewise.
45122 * sysdeps/i386/fpu/libm-test-ulps: Update.
45123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45124
7726d6a9
JM
45125 [BZ #11451]
45126 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
45127 x and y.
45128 * math/libm-test.inc (atan2_test): Add another test.
45129
83d1aec8
JM
45130 * Makerules (common-objdir-compile): Remove.
45131 * sysdeps/unix/Makefile (config-generated): Do not add
45132 $(unix-generated) to variable.
45133 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
45134 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
45135 Remove rule.
45136 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
45137 Likewise.
45138 [generic bits/local_lim.h] (before-compile): Do not append to
45139 variable.
45140 [generic bits/local_lim.h] (common-generated): Likewise.
45141 [generic sys/param.h] (before-compile): Do not append to variable.
45142 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
45143 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
45144 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
45145 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
45146 include.
45147 [generic sys/param.h] (sys/param.h-includes): Remove variable.
45148 [generic sys/param.h] (sys/param.h-includes): Remove rule.
45149 [generic sys/param.h] ($(addprefix
45150 $(common-objpfx),$(sys/param.h-includes))): Likewise.
45151 [generic sys/param.h] (common-generated): Do not append to
45152 variable.
45153 [generic sys/param.h] (sysdep_headers): Likewise.
45154 [generic bits/errno.h] (before-compile): Do not append to
45155 variable.
45156 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
45157 rule.
45158 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
45159 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
45160 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
45161 [generic bits/errno.h] (common-generated): Do not append to
45162 variable.
45163 [generic bits/ioctls.h] (before-compile): Do not append to
45164 variable.
45165 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
45166 rule.
45167 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
45168 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
45169 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
45170 rule.
45171 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
45172 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
45173 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
45174 [generic bits/ioctls.h] (common-generated): Do not append to
45175 variable.
45176 [generic sys/syscall.h] (syscall.h): Remove variable.
45177 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
45178 rule.
45179 [generic sys/syscall.h] (before-compile): Do not append to
45180 variable.
45181 [generic sys/syscall.h] (common-generated): Likewise.
45182 * sysdeps/unix/errnos-tmpl.c: Remove file.
45183 * sysdeps/unix/errnos.awk: Likewise.
45184 * sysdeps/unix/ioctls-tmpl.c: Likewise.
45185 * sysdeps/unix/ioctls.awk: Likewise.
45186 * sysdeps/unix/mk-local_lim.c: Likewise.
45187 * sysdeps/unix/snarf-ioctls: Likewise.
45188
4851a949
RH
451892012-03-19 Richard Henderson <rth@twiddle.net>
45190
bd37f2ee
RH
45191 * sysdeps/i386/fpu/fenv_private.h: New file.
45192 * sysdeps/i386/fpu/math_private.h: Use it.
45193 (math_opt_barrier, math_force_eval): Remove.
45194 (libc_feholdexcept_setround_53bit): Remove.
45195 (libc_feupdateenv_53bit): Remove.
45196 * sysdeps/x86_64/fpu/math_private.h: Likewise.
45197 (math_opt_barrier, math_force_eval): Remove.
45198 (libc_feholdexcept): Remove.
45199 (libc_feholdexcept_setround): Remove.
45200 (libc_fetestexcept, libc_fesetenv): Remove.
45201 (libc_feupdateenv_test): Remove.
45202 (libc_feupdateenv, libc_feholdsetround): Remove.
45203 (libc_feresetround): Remove.
45204
d0adc922
RH
45205 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
45206 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
45207
0fe0f1f8
RH
45208 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
45209 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
45210 (libc_feupdateenv_testl): New.
45211 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
45212 (libc_feupdateenv_testf): New.
45213 (libc_feupdateenv): Use libc_feupdateenv_test.
45214 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
45215 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
45216
eb92c487
RH
45217 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
45218 (libc_feholdsetroundf, libc_feholdsetroundl): New.
45219 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
45220 (libc_feresetround_noex): New.
45221 (libc_feresetround_noexf): New.
45222 (libc_feresetround_noexl): New.
45223 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
45224 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
45225 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
45226 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
45227 SET_RESTORE_ROUND.
45228 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
45229 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
45230 (__cos): Likewise.
45231 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
45232 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
45233 SET_RESTORE_ROUND_NOEX.
45234 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
45235 SET_RESTORE_ROUND_NOEXF.
45236 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
45237 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
45238 (libc_feholdsetroundf): New.
45239 (libc_feresetround, libc_feresetroundf): New.
45240
7d2e8012
RH
45241 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
45242 (libc_feholdexcept_setround_53bit): Convert from macro to function.
45243 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
45244
b4dabbb4
RH
45245 * sysdeps/generic/math_private.h: Include <fenv.h>.
45246 (default_libc_feholdexcept): New.
45247 (default_libc_feholdexcept_setround): New.
45248 (default_libc_fesetenv, default_libc_feupdateenv): New.
45249 (libc_feholdexcept): Only define if undefined.
45250 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
45251 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
45252 (libc_feholdexcept_setroundl): Likewise.
45253 (libc_feholdexcept_setround_53bit): Likewise.
45254 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
45255 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
45256 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
45257 (libc_feupdateenv_53bit): Likewise.
45258 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
45259 (libc_feholdexcept): Convert from macro to inline function.
45260 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
45261 (libc_fesetenv, libc_feupdateenv): Likewise.
45262
4851a949
RH
45263 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
45264 not previously defined.
45265 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
45266 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
45267 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
45268 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
45269 * sysdeps/ieee754/flt-32/math_private.h: New file.
45270 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
45271 math_private.h below SET_FLOAT_WORD.
45272 (__isnan, __isinf_ns, __finite): Remove.
45273 (__isnanf, __isinf_nsf, __finitef): Remove.
45274
e79d442e
AS
452752012-03-18 Andreas Schwab <schwab@linux-m68k.org>
45276
45277 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45278
90b80344
DM
452792012-03-17 David S. Miller <davem@davemloft.net>
45280
45281 [BZ #6471]
45282 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
45283 for 2.16.
45284
edc21804
DM
452852012-03-16 David S. Miller <davem@davemloft.net>
45286
77e927af
DM
45287 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
45288 warnings.
45289
374976dd
DM
45290 [BZ #6471]
45291 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
45292 properly.
45293 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
45294 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
45295 sysdep_routines when subdir is sysvipc.
45296 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
45297 __getshmlba helper.
45298
edc21804
DM
45299 * sysdeps/sparc/fpu/libm-test/ulps: Update.
45300
473c3ef3
L
453012012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45302
45303 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
45304 [__LP64__].
45305
eb0f39b6
L
453062012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45307
45308 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
45309 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
45310 (__lround): Renamed to ...
45311 (__llround): This. Replace long int with long long int.
45312 Define lround functions as aliases of llround functions.
45313 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
45314
6b6cd74b
L
453152012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45316
45317 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
45318 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
45319 adresses to uintptr_t. Replace "long int" and "unsigned long
45320 int" with "greg_t" on va_arg.
45321
f1a77b01
L
453222012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45323
45324 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
45325 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
45326
45327 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
45328 Move e_machine check before EI_CLASS check. Handle x32
45329 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
45330 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
45331 SKIP_EM_IA_64 and include
45332 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
45333
45334 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
45335 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
45336 (add_system_dir): New macro.
45337
45338 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
45339 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
45340
11b90b9f
JM
453412012-03-16 Joseph Myers <joseph@codesourcery.com>
45342
c36e1d23
JM
45343 [BZ #2551]
45344 [BZ #2552]
45345 [BZ #2553]
45346 [BZ #2554]
45347 [BZ #2562]
45348 [BZ #2563]
45349 [BZ #2565]
45350 [BZ #2566]
45351 [BZ #2576]
45352 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
45353 (y0): Likewise.
45354 * math/w_j0f.c (j0f): Likewise.
45355 (y0f): Likewise.
45356 * math/w_j0l.c (__j0l): Likewise.
45357 (__y0l): Likewise.
45358 * math/w_j1.c (j1): Likewise.
45359 (y1): Likewise.
45360 * math/w_j1f.c (j1f): Likewise.
45361 (y1f): Likewise.
45362 * math/w_j1l.c (__j1l): Likewise.
45363 (__y1l): Likewise.
45364 * math/w_jn.c (jn): Likewise.
45365 (yn): Likewise.
45366 * math/w_jnf.c (jnf): Likewise.
45367 (ynf): Likewise.
45368 * math/w_jnl.c (__jnl): Likewise.
45369 (__ynl): Likewise.
45370 * math/libm-test.inc (j0_test): Add more tests.
45371 (j1_test): Likewise.
45372 (jn_test): Likewise. Add trailing semicolon to existing test.
45373 (y0_test): Likewise.
45374 (y1_test): Likewise.
45375 * sysdeps/i386/fpu/libm-test-ulps: Update.
45376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45377
11b90b9f
JM
45378 [BZ #13851]
45379 [BZ #13854]
45380 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
45381 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
45382 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
45383 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
45384 (__tanl): Set errno for infinite argument.
45385 * sysdeps/i386/fpu/mptan.c: Remove.
45386 * sysdeps/i386/fpu/s_tan.S: Likewise.
45387 * sysdeps/i386/fpu/s_tanl.S: Likewise.
45388 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
45389 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
45390 * math/libm-test.inc (tan_test): Add more tests and enable more
45391 tests for double and long double.
45392 * sysdeps/i386/fpu/libm-test-ulps: Update.
45393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45394
6a1bd2a1
JK
453952012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
45396
45397 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
45398 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
45399
10a803e0
RM
454002012-03-16 Roland McGrath <roland@hack.frob.com>
45401
45402 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
45403 * configure.in: Use it for both main tree and add-ons.
45404 * configure: Regenerated.
45405
f196c7f7
L
454062012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45407
45408 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
45409
8848d99d
JM
454102012-03-16 Joseph Myers <joseph@codesourcery.com>
45411
96cbe7f4
JM
45412 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
45413 in comment.
45414
8848d99d
JM
45415 [BZ #13851]
45416 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
45417 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
45418 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
45419 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
45420 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
45421 infinite argument.
45422 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
45423 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
45424 != 0 for prec == 2.
45425 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
45426 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
45427 * sysdeps/i386/fpu/s_cosl.S: Likewise.
45428 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
45429 * sysdeps/i386/fpu/s_sinl.S: Likewise.
45430 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
45431 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
45432 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
45433 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
45434 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
45435 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
45436 * math/libm-test.inc (cos_test): Add more tests and enable more
45437 tests for long double.
45438 (sin_test): Likewise.
45439 (sincos_test): Likewise.
45440 * sysdeps/i386/fpu/libm-test-ulps: Update.
45441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45442
dd7f4703
DM
454432012-03-16 David S. Miller <davem@davemloft.net>
45444
45445 * sysdeps/sparc/fpu/math_private.h: New file.
45446
006f1daa
DM
454472012-03-15 David S. Miller <davem@davemloft.net>
45448
c0c83bc8
DM
45449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
45450 file.
e6a62e18 45451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
45452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
45453 file.
e6a62e18
DM
45454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
45455 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
45456 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
45457 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
45458 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
45459 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
45460 sysdep routines.
45461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
45462
88cb87d9
DM
45463 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
45464 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
45465
006f1daa 45466 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
45467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
45468 sparc-ifunc.h
006f1daa 45469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
45470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
45471 Likewise.
45472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
45473 Likewise.
006f1daa
DM
45474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
45475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
45476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
45477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
45478 Likewise.
006f1daa
DM
45479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
45480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
45481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
45482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
45483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
45484 Likewise.
45485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
45486 Likewise.
006f1daa
DM
45487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
45488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
45489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
45490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
45491 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
45492 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
45493 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
45494 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
45495 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
45496 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
45497 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
45498 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
45499 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
45500 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
45501 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
45502 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
45503 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
45504 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
45505 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
45506 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
45507 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
45508 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
45509 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
45510 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
45511
11e0098e
AS
455122012-03-15 Andreas Schwab <schwab@linux-m68k.org>
45513
45514 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
45515 scaling.
45516 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45517
e85b09d0
AJ
455182012-03-15 Andreas Jaeger <aj@suse.de>
45519
45520 [BZ #13852]
45521 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
45522 ieee754/flt-32 implementation for sin, cos and sincos.
45523 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
45524 * sysdeps/i386/fpu/s_cosf.S: Likewise.
45525 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
45526 * sysdeps/i386/fpu/s_sinf.S: Likewise.
45527 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
45528 ieee754/flt-32 implementation for tan.
45529
45530 * math/libm-test.inc (cos_test): Enable some large input tests for
45531 float as well
45532 (sin_test): Likewise.
45533 (sincos_test): Likewise.
45534 (tan_test): Add tests for large input.
45535
45536 * sysdeps/i386/fpu/libm-test-ulps: Update.
45537
81c64153
AJ
455382012-03-15 Andreas Jaeger <aj@suse.de>
45539
45540 [BZ #13658]
45541 * math/libm-test.inc (cos_test): Add more test cases.
45542 (sin_test): Likewise.
45543 (sincos_test): Likewise.
45544
7bbfa5c6
AJ
455452012-03-15 Andreas Jaeger <aj@suse.de>
45546
45547 [BZ #13837]
45548 * math/libm-test.inc (cos_test): Add a test case for large input
45549 value.
45550 (sin_test): Likewise.
45551 (sincos_test): Likewise.
45552
57f41c40
AS
455532012-03-15 Andreas Jaeger <aj@suse.de>
45554 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
45555
45556 [BZ #13658]
0671f479 45557 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
45558 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
45559 * sysdeps/i386/fpu/branred.c: Likewise.
45560 * sysdeps/i386/fpu/dosincos.c: Likewise.
45561 * sysdeps/i386/fpu/mpa.c: Likewise.
45562 * sysdeps/i386/fpu/s_cos.S: Likewise.
45563 * sysdeps/i386/fpu/s_sin.S: Likewise.
45564 * sysdeps/i386/fpu/s_sincos.S: Likewise.
45565 * sysdeps/i386/fpu/sincos32.c: Likewise.
45566
45567 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
45568 Define.
45569 (libc_feupdateenv_53bit): Define.
45570 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
45571 Define.
45572 (libc_feupdateenv_53bit): Define.
45573
45574 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
45575 53 bit (without extend i386 double precision).
45576
45577 * math/libm-test.inc (sincos_test): Add tests for large input.
45578 (sin): Likewise.
45579 (cos): Likewise.
45580
45581 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
45582
9cad04ea
AS
455832012-03-15 Andreas Schwab <schwab@linux-m68k.org>
45584
45585 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45586
f7062b9a
DM
455872012-03-15 David S. Miller <davem@davemloft.net>
45588
45589 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
45590 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
45591 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
45592 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
45593 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
45594 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
45595 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
45596 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
45597 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
45598 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
45599 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
45600 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
45601 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
45602 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
45603 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
45604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
45605 file.
f7062b9a 45606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
45607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
45608 file.
f7062b9a 45609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
45610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
45611 file.
f7062b9a 45612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
45613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
45614 file.
f7062b9a
DM
45615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
45616 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
45617 fmin/fmax sysdep routines.
45618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
45619
7bd951ff
DM
456202012-03-14 David S. Miller <davem@davemloft.net>
45621
559398ab
DM
45622 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
45623 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
45624 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
45625 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
45626 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
45627 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
45628 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
45629 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
45630 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
45631 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
45632 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
45633 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
45634 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
45635 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
45636 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
45637 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
45638 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
45639 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
45640 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
45641 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
45642 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
45643 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
45644 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
45645 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
45646 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
45647 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
45648 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
45649 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
45650 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
45651 routines.
45652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
45653 file.
559398ab 45654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
45655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
45656 file.
559398ab 45657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
45658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
45659 file.
559398ab 45660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
45661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
45662 file.
559398ab 45663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
45664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
45665 file.
559398ab 45666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
45667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
45668 file.
45669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
45670 file.
45671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
45672 file.
45673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
45674 file.
45675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
45676 New file.
45677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
45678 file.
45679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
45680 file.
559398ab 45681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
45682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
45683 file.
559398ab 45684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
45685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
45686 file.
559398ab 45687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
45688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
45689 file.
559398ab 45690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
45691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
45692 VIS3 routines.
559398ab
DM
45693
45694 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
45695 New file.
45696
5a1c1e32
DM
45697 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45698
eae47a36
DM
45699 * sysdeps/sparc/configure.in: New file.
45700 * sysdeps/sparc/configure: Generate.
45701 * configure.in (libc_cv_sparc_as_vis3): Substitute.
45702 * configure: Regenerate.
45703 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
45704 * config.make.in (have-as-vis3): New.
45705 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
45706 available use -Av9d instead of -Av9a.
45707 * sysdeps/sparc/sparc64/Makefile: Likewise.
45708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
45709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
45710 New file.
45711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
45712 file.
45713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
45714 New file.
45715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
45716 file.
eae47a36
DM
45717 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
45718 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
45719 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
45720 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
45721 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
45722
c0c83bc8
DM
45723 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
45724 fzeros/fnegs to load 0x80000000 into a float register instead of
45725 using the stack.
7bd951ff
DM
45726 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
45727
bd951ccb
JM
457282012-03-14 Joseph Myers <joseph@codesourcery.com>
45729
45730 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45731 bits/syscall.h.
45732 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
45733 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
45734 ($(inst_includedir)/bits/syscall.h): Remove rule.
45735 ($(objpfx)bits/syscall.d): Include instead of
45736 $(objpfx)syscall-list.d.
45737 (generated): Change syscall-list.h and syscall-list.d to
45738 bits/syscall.h and bits/syscall.d.
45739
bb4e6db2
RM
457402012-03-14 Roland McGrath <roland@hack.frob.com>
45741
45742 [BZ #13846]
45743 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
45744
aa4a2ae1
JM
457452012-03-14 Joseph Myers <joseph@codesourcery.com>
45746
e456826d
JM
45747 [BZ #13841]
45748 * math/s_csqrt.c: Include <float.h>.
45749 (__csqrt): Scale large or subnormal inputs.
45750 * math/s_csqrtf.c: Likewise.
45751 * math/s_csqrtl.c: Likewise.
45752 * math/libm-test.inc (csqrt_test): Add more tests.
45753 * sysdeps/i386/fpu/libm-test-ulps: Update.
45754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45755
aa4a2ae1
JM
45756 [BZ #13840]
45757 * math/libm-test.inc (hypot_test): Add more tests.
45758
7c10fd35
DM
457592012-03-13 David S. Miller <davem@davemloft.net>
45760
45761 [BZ #13840]
45762 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
45763 double-precision for the calculation instead of scaling.
45764
f453b98b
JM
457652012-03-13 Joseph Myers <joseph@codesourcery.com>
45766
45767 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
45768 manipulate bits before adding and subtracting TWO52[sx].
45769 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
45770 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
45771 Likewise.
45772 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
45773
09a3453f
DM
457742012-03-13 David S. Miller <davem@davemloft.net>
45775
8e59da90
DM
45776 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
45777 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
45778 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
45779 rtld-global-offsets.h
45780 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45781
2a8ab7f2
DM
45782 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
45783 large parameters.
45784
10f62770
DM
45785 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
45786
5f0bdb18
DM
45787 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
45788 'err' in the ifdef scope in which it is actually used.
45789
09a3453f
DM
45790 * nss/nss_db/db-init.c: Include string.h
45791
b4b2eb5e
DM
457922012-03-12 David S. Miller <davem@davemloft.net>
45793
98bb2f1c
DM
45794 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45795 masking out of the most significant byte of random value used.
45796 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45797 Fix coding style in previous change.
45798
b4b2eb5e
DM
45799 * sysdeps/unix/sysv/linux/kernel-features.h
45800 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
45801 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
45802 expression.
45803 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
45804 later.
45805
6e226b09
DM
458062012-03-11 David S. Miller <davem@davemloft.net>
45807
a1bcbd40
DM
45808 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
45809 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
45810 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
45811 for 'resultvar' otherwise things get truncated on 64-bit.
45812
cb9d6174
DM
45813 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45814 Fix masking out of the most significant byte of random value used.
45815
6e226b09
DM
45816 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45817
058c132d
AS
458182012-03-10 Andreas Schwab <schwab@linux-m68k.org>
45819
45820 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45821
2d2cd515
DM
458222012-03-09 David S. Miller <davem@davemloft.net>
45823
45824 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
45825 variables with appropriate CPP guards.
57f41c40
AS
45826 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
45827 from the frame pointer, not the stack pointer. Correct layout
45828 comments. Fix test on resulting framesize and the management of
45829 the outregs buffer for pltexit. Preserve floating point return
45830 values across _dl_call_pltexit call.
2d2cd515
DM
45831 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
45832 framesize and the management of the outregs buffer for pltexit.
45833 Preserve floating point return values across _dl_call_pltexit
45834 call.
57f41c40
AS
45835 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
45836 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
45837 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
45838 (print_exit): Fix format string for return register value.
45839
9a07f9d0
JM
458402012-03-10 Joseph Myers <joseph@codesourcery.com>
45841
45842 * sunrpc/Makefile (others): Add rpcgen.
45843 ($(objpfx)rpcgen): Remove special build rule and dependency on
45844 libc.
45845 * sunrpc/rpcgen.c: New file.
45846
547b5e30
PE
458472012-03-09 Paul Eggert <eggert@cs.ucla.edu>
45848
c524201a
PE
45849 [BZ #13673]
45850 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
45851 * stdio-common/bug-vfprintf-nargs.c: Likewise.
45852 * sysdeps/i386/crti.S: Likewise.
45853 * sysdeps/i386/crtn.S: Likewise.
45854 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
45855 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
45856 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
45857 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
45858 * sysdeps/sh/crti.S: Likewise.
45859 * sysdeps/sh/crtn.S: Likewise.
45860 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
45861
7b6235f2
PE
45862 [BZ #13673]
45863 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
45864 with URL.
45865 * locale/programs/locfile-kw.gperf: Likewise.
45866 * locale/programs/charmap-kw.h: Regenerated.
45867 * locale/programs/locfile-kw.h: Likewise.
45868
547b5e30
PE
45869 [BZ #13673]
45870 * intl/plural.y: Replace FSF snail mail address with URL.
45871 * intl/plural.c: Regenerated.
45872
5f0a5dae
RH
458732012-03-09 Richard Henderson <rth@twiddle.net>
45874
45875 * include/math_private.h: Remove file.
45876 * math/math_private.h: Move file ...
45877 * sysdeps/generic/math_private.h: ... here.
45878
b8c03620
RH
45879 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
45880 * sysdeps/powerpc/fpu/math_private.h: Likewise.
45881 * sysdeps/x86_64/fpu/math_private.h: Likewise.
45882
4e234f5d 45883 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
45884 and <math_private.h>.
45885 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
45886 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
45887 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
45888 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
45889 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
45890 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
45891 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
45892 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45893 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45894 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45895 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45896 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45897 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45898 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45899 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45900 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45901 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45902 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45903 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45904 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45905 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45906 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45907 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45908 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45909 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
45910 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45911 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45912 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45913 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45914 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45915 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45916 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45917 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
45918 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45919 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45920 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45921 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45922 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45923 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45924 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45925 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
45926 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45927 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
45928 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
45929 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
45930 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45931 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
45932 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
45933 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45934 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45935 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
45936 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
45937 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
45938 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45939 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
45940 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45941 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45942 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
45943 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
45944 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
45945 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45946 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
45947 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45948 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45949 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
45950 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
45951 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
45952 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
45953 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
45954 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
45955 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
45956 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45957 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
45958 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45959 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
45960 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
45961 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
45962 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45963 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
45964 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
45965 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
45966 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
45967 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
45968 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45969 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45970 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
45971 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
45972 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
45973 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45974 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45975 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45976 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45977 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45978 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45979 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45980 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45981 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45982 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45983 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45984 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45985 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45986 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45987 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45988 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45989 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45990 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45991 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45992 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45993 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45994 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45995 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45996 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45997 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45998 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45999 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
46000 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46001 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46002 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
46003 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46004 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46005 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46006 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
46007 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46008 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
46009 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46010 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
46011 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
46012 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
46013 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
46014 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
46015 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
46016 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46017 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46018 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
46019 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
46020 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
46021 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
46022 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
46023 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
46024 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
46025 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46026 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
46027 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
46028 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
46029 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
46030 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
46031 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
46032 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
46033 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
46034 * sysdeps/ieee754/k_standard.c: Likewise.
46035 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
46036 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
46037 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46038 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
46039 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
46040 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
46041 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
46042 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
46043 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
46044 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
46045 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46046 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
46047 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
46048 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
46049 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
46050 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
46051 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
46052 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
46053 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
46054 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
46055 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
46056 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
46057 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46058 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
46059 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
46060 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
46061 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
46062 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
46063 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
46064 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46065 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
46066 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
46067 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
46068 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
46069 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
46070 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
46071 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
46072 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
46073 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
46074 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
46075 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
46076 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
46077 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
46078 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
46079 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
46080 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
46081 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
46082 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
46083 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
46084 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46085 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46086 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
46087 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
46088 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
46089 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46090 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46091 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
46092 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
46093 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
46094 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
46095 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46096 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
46097 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
46098 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
46099 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46100 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46101 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
46102 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
46103 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
46104 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
46105 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
46106 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46107 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
46108 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
46109 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
46110 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
46111 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
46112 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
46113 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46114 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
46115 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
46116 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
46117 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
46118 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
46119 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
46120 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
46121 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
46122 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
46123 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
46124 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
46125 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
46126 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
46127 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
46128 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
46129 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
46130 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
46131 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
46132 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
46133 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
46134 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
46135 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
46136 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
46137 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46138 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
46139 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
46140 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46141 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46142 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
46143 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
46144 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
46145 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
46146 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
46147 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
46148 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46149 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
46150 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46151 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
46152 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46153 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46154 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
46155 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46156 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
46157 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46158 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
46159 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46160 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
46161 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46162 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
46163 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
46164 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46165 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46166 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46167 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46168 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
46169 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
46170 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
46171 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
46172 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
46173 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46174 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
46175 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
46176 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46177 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
46178 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
46179 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
46180 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46181 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46182 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
46183 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
46184 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
46185 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46186 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46187 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46188 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
46189 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
46190 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
46191 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
46192 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
46193 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
46194 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
46195 * sysdeps/ieee754/s_lib_version.c: Likewise.
46196 * sysdeps/ieee754/s_matherr.c: Likewise.
46197 * sysdeps/ieee754/s_signgam.c: Likewise.
46198 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46199 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46200 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
46201 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
46202 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
46203 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
46204 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
46205 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
46206 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
46207 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
46208 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
46209 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
46210 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
46211 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46212 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
46213 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
46214 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
46215 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
46216 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
46217 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46218 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 46219
1991fa03
JM
462202012-03-09 Joseph Myers <joseph@codesourcery.com>
46221
46222 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
46223 * sunrpc/rpc_main.c: Likewise.
46224 * sunrpc/rpc_svcout.c: Likewise.
46225
60d6f5a6
DM
462262012-03-09 David S. Miller <davem@davemloft.net>
46227
46228 * include/math_private.h: New file.
46229
4962050e
JM
462302012-03-09 Joseph Myers <joseph@codesourcery.com>
46231
02a6f887
JM
46232 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
46233 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
46234 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
46235 from <bits/socket_type.h>.
46236 (enum __socket_type): Don't define here.
46237 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
46238 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46239 bits/socket_type.h.
46240
c6e013c1
JM
46241 [BZ #13566]
46242 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
46243 checking __USE_GNU.
46244
4962050e
JM
46245 * Makerules ($(inst_includedir)/%.h): New rule.
46246 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
46247 (install-others): Remove variable setting.
46248 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
46249
38842f45
RH
462502012-03-08 Richard Henderson <rth@twiddle.net>
46251
67bb6da6
RH
46252 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
46253 from macro to inline function; merge with the
46254 !__LIBC_INTERNAL_MATH_INLINES version.
46255 (__ieee754_sqrtf): Likewise.
46256
15194b4b
RH
46257 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
46258 to inline function.
46259 (__rintf, __floor, __floorf): Likewise.
46260
64e21ede
RH
46261 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
46262 macro to inline function.
46263 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
46264
38842f45
RH
46265 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
46266 not <math/math_private.h>.
46267
c64bf5fe
DM
462682012-03-08 David S. Miller <davem@davemloft.net>
46269
46270 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
46271 copyright year.
46272 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
46273
82d86f28
TS
462742012-03-08 Thomas Schwinge <thomas@codesourcery.com>
46275
46276 * resolv/gai_misc.c (handle_requests): Fix struct timespec
46277 normalization.
46278 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
46279 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
46280
aea5d727
UD
462812012-03-08 Ulrich Drepper <drepper@gmail.com>
46282
46283 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
46284 be defined individually, they must be defined as a block. Define
46285 S for printing a string instead of hidint the different by using a
46286 macro for adding the 'l'.
46287 * stdio-common/tst-fphex-wide.c: Adjust.
46288
70bca0a3
MP
462892012-03-07 Marek Polacek <polacek@redhat.com>
46290
46291 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
46292
65b81130
MP
462932012-03-08 Marek Polacek <polacek@redhat.com>
46294
46295 [BZ #13806]
46296 * stdio-common/Makefile (tests): Add tst-fphex-wide.
46297 * stdio-common/tst-fphex.c: Define a few macros to make the
46298 test reusable. Use them.
46299 * stdio-common/tst-fphex-wide.c: New file.
46300
07037eeb
JM
463012012-03-08 Joseph Myers <joseph@codesourcery.com>
46302
a7a93d50
JM
46303 [BZ #6911]
46304 * manual/macros.texi (gnusystems): New macro.
46305 (nongnusystems): Likewise.
46306 (gnulinuxhurdsystems): Likewise.
46307 (gnuhurdsystems): Likewise..
46308 (gnulinuxsystems): Likewise.
46309 * manual/charset.texi: Use new macros or @theglibc{} to refer to
46310 variants of the GNU system, not "GNU system".
46311 * manual/conf.texi: Likewise.
46312 * manual/errno.texi: Likewise. Update example of errno macro
46313 expansion.
46314 * manual/filesys.texi: Likewise.
46315 (getumask): Document as specific to GNU/Hurd.
46316 * manual/install.texi: Likewise. Reword some references to
46317 GNU/Linux.
46318 * manual/intro.texi: Likewise.
46319 * manual/io.texi: Likewise.
46320 (File Name Portability): Detail which constraints are inapplicable
46321 to all GNU systems and which are only inapplicable to GNU/Hurd.
46322 * manual/job.texi: Likewise.
46323 * manual/llio.texi: Likewise.
46324 (O_NOCTTY): Document as present on GNU/Linux.
46325 * manual/maint.texi: Likewise.
46326 * manual/memory.texi: Likewise.
46327 * manual/pattern.texi: Likewise.
46328 * manual/pipe.texi: Likewise.
46329 * manual/process.texi: Likewise.
46330 * manual/resource.texi: Likewise.
46331 (RUSAGE_CHILDREN): Remove statement about specifying a particular
46332 child on GNU/Hurd.
46333 * manual/setjmp.texi: Likewise.
46334 * manual/signal.texi: Likewise.
46335 * manual/startup.texi: Likewise.
46336 * manual/stdio.texi: Likewise.
46337 * manual/terminal.texi: Likewise.
46338 (ONLCR): Document as POSIX.
46339 (OXTABS): Document availability on GNU/Linux as XTABS.
46340 (ONOEOT): Document availability separately from other bits.
46341 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
46342 * manual/time.texi: Likewise.
46343 * manual/users.texi: Likewise.
46344 * INSTALL: Regenerated.
46345 * sysdeps/gnu/errlist.c: Regenerated.
46346
07037eeb
JM
46347 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
46348 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
46349 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
46350 puts.
46351 * configure: Regenerated.
46352
d1d3431a
JM
463532012-03-07 Joseph Myers <joseph@codesourcery.com>
46354
af6a1e37
JM
46355 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
46356 default includes instead of AC_HEADER_CHECK.
46357 * sysdeps/i386/configure: Regenerated.
46358
d1d3431a
JM
46359 [BZ #10716]
46360 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
46361 * math/s_cacoshf.c (__cacoshf): Likewise.
46362 * math/s_cacoshl.c (__cacoshl): Likewise.
46363 * math/s_casinh.c (__casinh): Set signs of result from argument.
46364 * math/s_casinhf.c (__casinhf): Likewise.
46365 * math/s_casinhl.c (__casinhl): Likewise.
46366 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
46367 (casinh_test): Add more tests.
46368 * sysdeps/i386/fpu/libm-test-ulps: Update.
46369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46370
482ff4da
UD
463712012-03-07 Ulrich Drepper <drepper@gmail.com>
46372
872fda05
UD
46373 * po/zh_TW.po: Update from translation team.
46374
a4300c7a
UD
46375 * login/Makefile (distribute): Remove variable.
46376 * catgets/Makefile: Likewise.
46377 * mach/Makefile: Likewise.
46378 * malloc/Makefile: Likewise.
46379 * misc/Makefile: Likewise.
46380 * iconv/Makefile: Likewise.
46381 * nscd/Makefile: Likewise.
46382 * hurd/Makefile: Likewise.
46383 * manual/Makefile: Likewise.
46384 * locale/Makefile: Likewise.
46385 * intl/Makefile: Likewise.
46386 * conform/Makefile: Likewise.
46387 * nss/Makefile: Likewise.
46388 * time/Makefile: Likewise.
46389 * soft-fp/Makefile: Likewise.
46390 * dirent/Makefile: Likewise.
46391 * gmon/Makefile: Likewise.
46392 * po/Makefile: Likewise.
46393 * rt/Makefile: Likewise.
46394 * socket/Makefile: Likewise.
46395 * math/Makefile: Likewise.
46396 * signal/Makefile: Likewise.
46397 * debug/Makefile: Likewise.
46398 * elf/Makefile: Likewise.
46399 * timezone/Makefile: Likewise.
46400 * stdlib/Makefile: Likewise.
46401 * iconvdata/Makefile: Likewise.
46402 * sunrpc/Makefile: Likewise.
46403 * io/Makefile: Likewise.
46404 * argp/Makefile: Likewise.
46405 * inet/Makefile: Likewise.
46406 * hesiod/Makefile: Likewise.
46407 * grp/Makefile: Likewise.
46408 * csu/Makefile: Likewise.
46409 * wctype/Makefile: Likewise.
46410 * crypt/Makefile: Likewise.
46411 * libio/Makefile: Likewise.
46412 * string/Makefile: Likewise.
46413 * nis/Makefile: Likewise.
46414 * resolv/Makefile: Likewise.
46415 * stdio-common/Makefile: Likewise.
46416 * wcsmbs/Makefile: Likewise.
46417 * dlfcn/Makefile: Likewise.
46418 * posix/Makefile: Likewise.
46419
3b7c4e74 46420 [BZ #6959]
482ff4da
UD
46421 * timezone/Makefile: Don't install timezone files, just the programs
46422 and scripts.
46423
f72ed77d
UD
464242012-03-06 Ulrich Drepper <drepper@gmail.com>
46425
a000466f
UD
46426 * nss/databases.def: Add missing gshadow entry.
46427
f72ed77d
UD
46428 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
46429
a53b7a4e
MP
464302012-03-06 Marek Polacek <polacek@redhat.com>
46431
46432 [BZ #13726]
46433 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
46434 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
46435 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
46436 * stdio-common/tst-long-dbl-fphex.c: New file.
46437
e9258400
DM
464382012-03-06 David S. Miller <davem@davemloft.net>
46439
46440 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46441 (set_obp_int): New function.
46442 (get_obp_int): New function.
46443 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
46444 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
46445 Avoid unused variable warnings on 'val' and use builtin_expect.
46446 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
46447 __builtin_expect.
e9258400
DM
46448 (INLINE_CLONE_SYSCALL): Likewise.
46449
3bd2c723
DM
464502012-03-05 David S. Miller <davem@davemloft.net>
46451
46452 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46453
bbb78d03
AS
464542012-03-05 Andreas Schwab <schwab@linux-m68k.org>
46455
884c5db4
AS
46456 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46457
bbb78d03
AS
46458 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
46459 only for |x| >= 40.
46460 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46461
1c9f702a 464622012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
46463
46464 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
46465 Replace gettimeofday with __vdso_gettimeofday.
46466
7be16f82
RM
46467 * sysdeps/unix/sysv/linux/x86_64/init-first.c
46468 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
46469 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
46470
46471 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
46472 time with __vdso_time.
46473
ed58a00f
JM
464742012-03-05 Joseph Myers <joseph@codesourcery.com>
46475
46476 * manual/lang.texi (size_t): Note types to which size_t may be
46477 equivalent with the GNU C Library, but do not describe when
46478 differences between them are significant.
46479
30ee4ced
AJ
464802012-03-05 Andreas Jaeger <aj@suse.de>
46481
46482 * sysdeps/i386/fpu/libm-test-ulps: Update.
46483
b7cd39e8
JM
464842012-03-05 Joseph Myers <joseph@codesourcery.com>
46485
46486 [BZ #3976]
46487 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
46488 (__ieee754_pow): Save and restore rounding mode and use
46489 round-to-nearest for main computations.
46490 * math/libm-test.inc (pow_test_tonearest): New function.
46491 (pow_test_towardzero): Likewise.
46492 (pow_test_downward): Likewise.
46493 (pow_test_upward): Likewise.
46494 (main): Call the new functions.
46495 * sysdeps/i386/fpu/libm-test-ulps: Update.
46496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
46497
46498 [BZ #3976]
46499 * math/libm-test.inc (cosh_test_tonearest): New function.
46500 (cosh_test_towardzero): Likewise.
46501 (cosh_test_downward): Likewise.
46502 (cosh_test_upward): Likewise.
46503 (sinh_test_tonearest): Likewise.
46504 (sinh_test_towardzero): Likewise.
46505 (sinh_test_downward): Likewise.
46506 (sinh_test_upward): Likewise.
46507 (main): Call the new functions.
46508 * sysdeps/i386/fpu/libm-test-ulps: Update.
46509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46510
6c6a98c9
TV
465112012-03-05 Tom de Vries <tom@codesourcery.com>
46512
46513 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
46514 default stack guard is set in last bytes.
46515 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
46516
21bb2d2e 465172012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 46518
21bb2d2e 46519 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 46520
21bb2d2e
AJ
46521 [BZ #13656]
46522 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
46523 possibly allocate from heap instead of stack.
46524 * stdio-common/bug-vfprintf-nargs.c: New file.
46525 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 46526
c6922934
AS
465272012-03-03 Andreas Schwab <schwab@linux-m68k.org>
46528
46529 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46530
bc957d53
MP
465312012-03-03 Marek Polacek <polacek@redhat.com>
46532
46533 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
46534 * math/math_private.h: Likewise.
46535 * stdlib/tst-strtod.c: Likewise.
46536 * sysdeps/i386/i486/bits/atomic.h: Likewise.
46537 * sysdeps/x86_64/bits/atomic.h: Likewise.
46538
6358490d
DM
465392012-03-02 David S. Miller <davem@davemloft.net>
46540
46541 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
46542 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
46543 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
46544 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
46545 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
46546 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
46547 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
46548 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
46549
01ae168d
RM
465502012-03-02 Roland McGrath <roland@hack.frob.com>
46551
d9a17c07
RM
46552 [BZ #13792]
46553 * manual/examples/README: New file, says the example source files
46554 can be used under GPL>=2.
46555 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
46556 line containing just "*/".
46557 * manual/examples/add.c: Add copyright header (GPL>=2).
46558 * manual/examples/argp-ex1.c: Likewise.
46559 * manual/examples/argp-ex2.c: Likewise.
46560 * manual/examples/argp-ex3.c: Likewise.
46561 * manual/examples/argp-ex4.c: Likewise.
46562 * manual/examples/atexit.c: Likewise.
46563 * manual/examples/db.c: Likewise.
46564 * manual/examples/dir.c: Likewise.
46565 * manual/examples/dir2.c: Likewise.
46566 * manual/examples/execinfo.c: Likewise.
46567 * manual/examples/filecli.c: Likewise.
46568 * manual/examples/filesrv.c: Likewise.
46569 * manual/examples/fmtmsgexpl.c: Likewise.
46570 * manual/examples/genpass.c: Likewise.
46571 * manual/examples/inetcli.c: Likewise.
46572 * manual/examples/inetsrv.c: Likewise.
46573 * manual/examples/isockad.c: Likewise.
46574 * manual/examples/longopt.c: Likewise.
46575 * manual/examples/memopen.c: Likewise.
46576 * manual/examples/memstrm.c: Likewise.
46577 * manual/examples/mkfsock.c: Likewise.
46578 * manual/examples/mkisock.c: Likewise.
46579 * manual/examples/mygetpass.c: Likewise.
46580 * manual/examples/pipe.c: Likewise.
46581 * manual/examples/popen.c: Likewise.
46582 * manual/examples/rprintf.c: Likewise.
46583 * manual/examples/search.c: Likewise.
46584 * manual/examples/select.c: Likewise.
46585 * manual/examples/setjmp.c: Likewise.
46586 * manual/examples/sigh1.c: Likewise.
46587 * manual/examples/sigusr.c: Likewise.
46588 * manual/examples/stpcpy.c: Likewise.
46589 * manual/examples/strdupa.c: Likewise.
46590 * manual/examples/strftim.c: Likewise.
46591 * manual/examples/strncat.c: Likewise.
46592 * manual/examples/subopt.c: Likewise.
46593 * manual/examples/swapcontext.c: Likewise.
46594 * manual/examples/termios.c: Likewise.
46595 * manual/examples/testopt.c: Likewise.
46596 * manual/examples/testpass.c: Likewise.
46597 * manual/examples/timeval_subtract.c: Likewise.
46598
01ae168d
RM
46599 [BZ #13792]
46600 * manual/time.texi (Elapsed Time): Move timeval_subtract example
46601 function to ...
46602 * manual/timeval_subtract.c.texi: ... here, new file.
46603
49efa33d
DM
466042012-03-02 David S. Miller <davem@davemloft.net>
46605
46606 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
46607
28afd92d
JM
466082012-03-02 Joseph Myers <joseph@codesourcery.com>
46609
804360ed
JM
46610 [BZ #3976]
46611 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
46612 (__sin): Save and restore rounding mode and use round-to-nearest
46613 for all computations.
46614 (__cos): Save and restore rounding mode and use round-to-nearest
46615 for all computations.
46616 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
46617 <fenv.h>.
46618 (tan): Save and restore rounding mode and use round-to-nearest for
46619 all computations.
46620 * math/libm-test.inc (cos_test_tonearest): New function.
46621 (cos_test_towardzero): Likewise.
46622 (cos_test_downward): Likewise.
46623 (cos_test_upward): Likewise.
46624 (sin_test_tonearest): Likewise.
46625 (sin_test_towardzero): Likewise.
46626 (sin_test_downward): Likewise.
46627 (sin_test_upward): Likewise.
46628 (tan_test_tonearest): Likewise.
46629 (tan_test_towardzero): Likewise.
46630 (tan_test_downward): Likewise.
46631 (tan_test_upward): Likewise.
46632 (main): Call the new functions.
46633 * sysdeps/i386/fpu/libm-test-ulps: Update.
46634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46635
a6d06d7b
JM
46636 [BZ #10135]
46637 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
46638 small n, then large n, before computing and testing k+n.
46639 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
46640 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
46641 Likewise.
46642 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
46643 Likewise.
46644 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
46645 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
46646 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
46647 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
46648 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
46649 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
46650 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
46651 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
46652 * math/libm-test.inc (scalbn_test): Add more tests.
46653 (scalbln_test): Likewise.
46654
07e12bb3
JM
46655 * manual/filesys.texi (mode_t): Describe constraints on size and
46656 signedness, not exact equivalence to a particular type.
46657 (ino_t): Likewise.
46658 (ino64_t): Likewise.
46659 (dev_t): Likewise.
46660 (nlink_t): Likewise.
46661 (blkcnt_t): Likewise.
46662 (blkcnt64_t): Likewise.
46663 * manual/llio.texi (off_t): Likewise.
46664
28afd92d
JM
46665 [BZ #3976]
46666 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
46667 (__ieee754_exp): Save and restore rounding mode and use
46668 round-to-nearest for all computations.
46669 * math/libm-test.inc (exp_test_tonearest): New function.
46670 (exp_test_towardzero): Likewise.
46671 (exp_test_downward): Likewise.
46672 (exp_test_upward): Likewise.
46673 (main): Call the new functions.
46674 * sysdeps/i386/fpu/libm-test-ulps: Update.
46675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46676
b1eeb65d
CD
466772012-03-01 Chris Demetriou <cgd@google.com>
46678
46679 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
46680 have predictable order.
46681
53362a4b
DM
466822012-03-01 David S. Miller <davem@davemloft.net>
46683
3c969083
DM
46684 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
46685
759707de
DM
46686 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
46687 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
46688 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
46689 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
46690
dfdb8ff2
DM
46691 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
46692 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
46693 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
46694 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
46695 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
46696 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
46697 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
46698 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
46699 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
46700
ead89f96
DM
46701 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46702
7f66bd07
DM
46703 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
46704 * sysdeps/sparc/fpu/libm-test-ulps: to here.
46705 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
46706
53362a4b
DM
46707 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
46708 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46709 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
46710 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
46711 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
46712 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
46713 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
46714 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46715 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
46716 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
46717 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
46718 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46719 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46720 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
46721 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46722 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46723 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
46724 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
46725 * sysdeps/sparc/elf/configure: Regenerated.
46726
7b1902cb
JM
467272012-03-01 Joseph Myers <joseph@codesourcery.com>
46728
bec039bc
JM
46729 * configure.in (AS, LD): Require binutils 2.20 or later.
46730 * configure: Regenerated.
46731 * manual/install.texi (Tools for Compilation): Give binutils 2.20
46732 as required minimum version.
46733 * INSTALL: Regenerated.
46734
7b1902cb
JM
46735 [BZ #2541]
46736 [BZ #4108]
46737 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
46738 before squaring exponent.
46739 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
46740 bottom long double and 27 bits of top long double before squaring
46741 exponent.
46742 * math/libm-test.inc (erfc_test): Add more tests.
46743 * sysdeps/i386/fpu/libm-test-ulps: Update.
46744 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46746
f775c276
KT
467472012-03-01 Kai Tietz <ktietz@redhat.com>
46748
46749 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
46750 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
46751 containing bit-fields.
46752 * soft-fp/extended.h (_FP_UNION_E): Likewise.
46753 * soft-fp/single.h (_FP_UNION_S): Likewise.
46754 * soft-fp/double.h (_FP_UNION_D): Likewise.
46755
5b8a4d4a
JM
467562012-02-29 Joseph Myers <joseph@codesourcery.com>
46757
0bab47b6
JM
46758 [BZ #13786]
46759 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
46760 not include ../strcmp.S.
46761 [USE_AS_STRNCASECMP_L]: Likewise.
46762 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
46763 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
46764 * sysdeps/i386/i686/multiarch/strncase_l-c.c
46765 (__strncasecmp_l_ia32): Define as alias to
46766 __strncasecmp_l_nonascii.
46767
0fcad3e2
JM
46768 [BZ #5794]
46769 * math/libm-test.inc (expm1_test): Add test for bug 5794.
46770 * sysdeps/i386/fpu/libm-test-ulps: Update.
46771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46772
5b8a4d4a
JM
46773 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
46774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46775
8fdceb2e
JL
467762012-02-29 Jeff Law <law@redhat.com>
46777
46778 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
46779 out of bounds read.
46780
1f393a11
MP
467812012-02-29 Marek Polacek <polacek@redhat.com>
46782
46783 [BZ #13706]
46784 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
46785 * elf/Makefile: Add rules to run tst-unused-dep.out.
46786
8847f037
DM
467872012-02-28 David S. Miller <davem@davemloft.net>
46788
46789 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
46790 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
46791 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
46792 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
46793 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
46794 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
46795
169d7f11
JM
467962012-02-29 Joseph Myers <joseph@codesourcery.com>
46797
46798 * math/libm-test.inc (llround_test): Move one test from
46799 lround_test. Use TEST_f_L in moved test.
46800 (lround_test): Move misplaced test to llround_test. Add testcase
46801 from bug 2561.
46802
39adf059
UD
468032012-02-28 Ulrich Drepper <drepper@gmail.com>
46804
46805 * sysdeps/x86_64/fpu/e_expf.S: New file.
46806 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
46807
71b5d1c5
SB
468082012-02-28 Stanislav Brabec <sbrabec@suse.cz>
46809
46810 [BZ #13637]
46811 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
46812 of remain_len that may cause incomplete multi-byte character and
46813 false match.
46814 * posix/bug-regex33.c: New file.
46815 * posix/Makefile (tests): Add bug-regex33.
46816
1f77f049
JM
468172012-02-28 Joseph Myers <joseph@codesourcery.com>
46818
46819 * manual/macros.texi: New file.
46820 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
46821 * manual/libc.texinfo: Include macros.texi.
46822 * manual/creatute.texi: Likewise.
46823 * manual/install.texi: Likewise.
46824 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
46825 @glibcadj{} in references to the GNU C Library.
46826 * manual/charset.texi: Likewise.
46827 * manual/conf.texi: Likewise.
46828 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
46829 when not using those macros.
46830 * manual/creature.texi: Likewise.
46831 * manual/crypt.texi: Likewise.
46832 * manual/errno.texi: Likewise.
46833 * manual/filesys.texi: Likewise.
46834 * manual/header.texi: Likewise.
46835 * manual/install.texi: Likewise.
46836 * manual/intro.texi: Likewise.
46837 * manual/io.texi: Likewise.
46838 * manual/job.texi: Likewise.
46839 * manual/lang.texi: Likewise.
46840 * manual/libc.texiinfo: Likewise.
46841 * manual/llio.texi: Likewise.
46842 * manual/locale.texi: Likewise.
46843 * manual/maint.texi: Likewise.
46844 * manual/math.texi: Likewise.
46845 * manual/memory.texi: Likewise.
46846 * manual/message.texi: Likewise.
46847 * manual/nss.texi: Likewise.
46848 * manual/pattern.texi: Likewise.
46849 * manual/process.texi: Likewise.
46850 * manual/resource.texi: Likewise.
46851 * manual/search.texi: Likewise.
46852 * manual/setjmp.texi: Likewise.
46853 * manual/signal.texi: Likewise.
46854 * manual/socket.texi: Likewise.
46855 * manual/startup.texi: Likewise.
46856 * manual/stdio.texi: Likewise.
46857 * manual/string.texi: Likewise.
46858 * manual/sysinfo.texi: Likewise.
46859 * manual/syslog.texi: Likewise.
46860 * manual/terminal.texi: Likewise.
46861 * manual/time.texi: Likewise.
46862 * manual/users.texi: Likewise.
46863 * INSTALL: Regenerated.
46864 * NOTES: Regenerated.
d40c5d54 46865 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 46866
450bf206
AS
468672012-02-28 Andreas Schwab <schwab@linux-m68k.org>
46868
46869 * include/dirent.h: Include <dirstream.h> before
46870 <dirent/dirent.h>.
46871
741a235b
DM
468722012-02-28 David S. Miller <davem@davemloft.net>
46873
46874 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
46875 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
46876 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
46877 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
46878
d6b5aa58
DM
468792012-02-27 David S. Miller <davem@davemloft.net>
46880
1aff59a3
DM
46881 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
46882 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
46883 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
46884 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
46885
d6b5aa58
DM
46886 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
46887 frame pointer instead of stack pointer relative arg slot.
46888 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46889 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46890 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46891
433f48bf
CD
468922012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
46893
46894 [BZ #3992]
46895 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
46896
d674b76d
DM
468972012-02-27 David S. Miller <davem@davemloft.net>
46898
46899 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
46900 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
46902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
46903 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46904 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46905 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
46906 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
46907
0e7727f7
JM
469082012-02-27 Joseph Myers <joseph@codesourcery.com>
46909
46910 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
46911 later. Allow versions 5-9.
43be4ca2 46912 * configure: Regenerated.
0e7727f7
JM
46913 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
46914 required minimum version and 4.6 as recommended version. Do not
46915 mention bugs in GCC 2.7 and 2.8.
43be4ca2 46916 * INSTALL: Regenerated.
0e7727f7 46917
a78bc654
DM
469182012-02-27 David S. Miller <davem@davemloft.net>
46919
428d5830
DM
46920 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
46921 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
46922 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
46923 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
46924 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
46925 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
46926 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
46927 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
46928
a78bc654
DM
46929 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
46930 manipulate bits before adding and subtracting TWO112[sx].
46931 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
46932
4579f81c
RM
469332012-02-27 Roland McGrath <roland@hack.frob.com>
46934
36c8acb4
RM
46935 [BZ #13775]
46936 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
46937 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
46938 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
46939 being in POSIX, because they are in 1003.1-2008.
46940
84ad622b
RM
46941 * rt/tst-aio.c: Include <fcntl.h>.
46942 * rt/tst-aio7.c: Likewise.
46943 * rt/tst-aio64.c: Likewise.
46944
4579f81c
RM
46945 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
46946
abd923db
JM
469472012-02-27 Joseph Myers <joseph@codesourcery.com>
46948
46949 * manual/install.texi (--with-headers): Describe headers as
46950 interface headers, not private headers.
46951 (Specific advice for GNU/Linux systems): Describe use of headers
46952 from "make headers_install", not private headers from older
46953 kernels.
43be4ca2 46954 * INSTALL: Regenerated.
abd923db
JM
46955 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
46956 Change to 2.6.19.
46957 * sysdeps/unix/sysv/linux/configure: Regenerated.
46958
6664049b
JM
46959 * manual/llio.texi (fclean): Remove documentation.
46960
bb8b6697
JM
46961 * manual/Makefile (libc-texi-generated): New variable. Include
46962 version.texi.
46963 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
46964 $(libc-texi-generated), not duplicated list of files.
46965 (version.texi, stamp-version): New rules.
46966 (realclean): Remove $(libc-texi-generated), not individual files
46967 from that list. Do not remove dir-add.texinfo.
46968 * manual/libc.texinfo: Comment out uses of edition numbers and
46969 references to printed manual. Remove last-updated dates.
46970 (EDITION): Comment out.
46971 (ISBN): Likewise.
46972 (VERSION, UPDATED): Remove.
46973 (version.texi): Include.
46974
12e5c3b9
AS
469752012-02-27 Andreas Schwab <schwab@linux-m68k.org>
46976
46977 * sysdeps/posix/spawni.c: Include <signal.h>.
46978 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
46979 * sysdeps/pthread/aio_fsync.c: Likewise.
46980
4efeffc1 469812012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 46982
ba63ba08
UD
46983 * conform/Makefile (tests): Run only when not cross-compiling and
46984 when fast-check is not defined.
46985
d94a4670
UD
46986 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
46987 * conform/data/limits.h-data: Fixes for POSIX2008.
46988 * conform/run-conformtest.sh: Run all tests.
46989 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
46990 headers.
46991 * include/bits/dlfcn.h: Likewise.
46992 * include/langinfo.h: Likewise.
46993 * include/monetary.h: Likewise.
46994 * include/sys/poll.h: Likewise.
46995
46996 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
46997 for __USE_GNU.
46998 * posix/spawn.h: Define __need_sigset_t.
46999 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
47000 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
47001 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
47002 to get sigevent_t only.
47003 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
47004 only for __USE_GNU.
47005 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47006 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
47007 process_vm_writev only for __USE_GNU.
47008 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
47009
47010 * conform/Makefile: For now ignore errors from run-conformtest.
47011 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
47012 POSIX to avoid namespace pollution. Don't prepend headers.
47013 * conform/data/aio.h-data: Fixes for POSIX testing.
47014 * conform/data/fcntl.h-data: Likewise.
47015 * conform/data/glob.h-data: Likewise.
47016 * conform/data/grp.h-data: Likewise.
47017 * conform/data/pthread.h-data: Likewise.
47018 * conform/data/pwd.h-data: Likewise.
47019 * conform/data/signal.h-data: Likewise.
47020 * conform/data/spawn.h-data: Likewise.
47021 * conform/data/stdio.h-data: Likewise.
47022 * conform/data/stdlib.h-data: Likewise.
47023 * conform/data/stropts.h-data: Likewise.
47024 * conform/data/sys/mman.h-data: Likewise.
47025 * conform/data/sys/stat.h-data: Likewise.
47026 * conform/data/sys/types.h-data: Likewise.
47027 * conform/data/sys/wait.h-data: Likewise.
47028 * conform/data/time.h-data: Likewise.
47029 * conform/data/unistd.h-data: Likewise.
47030 * conform/data/utime.h-data: Likewise.
47031
47032 * io/sys/stat.h: fchmod was always in POSIX.
47033 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
47034 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
47035 * rt/aio.h: Define __need_timespec before including <time.h>.
47036 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
47037 struct. Add forward declaration of pthread_attr_t and use it in
47038 sigevent.
47039 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47040 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47041 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
47042 always remove CLK_TCK definition.
47043
c20105c3
AS
470442012-02-26 Andreas Schwab <schwab@linux-m68k.org>
47045
47046 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
47047
7a270350
UD
470482012-02-25 Ulrich Drepper <drepper@gmail.com>
47049
31341567
UD
47050 * conform/run-conformtest.sh: New file.
47051 * conform/Makefile: Run run-conformtest for tests.
47052 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
47053 support.
47054
47055 * conform/data/uchar.h-data: New file.
47056 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
47057 * conform/data/arpa/inet.h-data: Likewise.
47058 * conform/data/assert.h-data: Likewise.
47059 * conform/data/complex.h-data: Likewise.
47060 * conform/data/cpio.h-data: Likewise.
47061 * conform/data/ctype.h-data: Likewise.
47062 * conform/data/dirent.h-data: Likewise.
47063 * conform/data/dlfcn.h-data: Likewise.
47064 * conform/data/errno.h-data: Likewise.
47065 * conform/data/fcntl.h-data: Likewise.
47066 * conform/data/float.h-data: Likewise.
47067 * conform/data/fmtmsg.h-data: Likewise.
47068 * conform/data/fnmatch.h-data: Likewise.
47069 * conform/data/ftw.h-data: Likewise.
47070 * conform/data/glob.h-data: Likewise.
47071 * conform/data/grp.h-data: Likewise.
47072 * conform/data/iconv.h-data: Likewise.
47073 * conform/data/inttypes.h-data: Likewise.
47074 * conform/data/langinfo.h-data: Likewise.
47075 * conform/data/libgen.h-data: Likewise.
47076 * conform/data/limits.h-data: Likewise.
47077 * conform/data/locale.h-data: Likewise.
47078 * conform/data/math.h-data: Likewise.
47079 * conform/data/monetary.h-data: Likewise.
47080 * conform/data/mqueue.h-data: Likewise.
47081 * conform/data/ndbm.h-data: Likewise.
47082 * conform/data/net/if.h-data: Likewise.
47083 * conform/data/netdb.h-data: Likewise.
47084 * conform/data/netinet/in.h-data: Likewise.
47085 * conform/data/nl_types.h-data: Likewise.
47086 * conform/data/poll.h-data: Likewise.
47087 * conform/data/pthread.h-data: Likewise.
47088 * conform/data/pwd.h-data: Likewise.
47089 * conform/data/regex.h-data: Likewise.
47090 * conform/data/sched.h-data: Likewise.
47091 * conform/data/search.h-data: Likewise.
47092 * conform/data/semaphore.h-data: Likewise.
47093 * conform/data/setjmp.h-data: Likewise.
47094 * conform/data/signal.h-data: Likewise.
47095 * conform/data/spawn.h-data: Likewise.
47096 * conform/data/stdarg.h-data: Likewise.
47097 * conform/data/stdio.h-data: Likewise.
47098 * conform/data/stdlib.h-data: Likewise.
47099 * conform/data/string.h-data: Likewise.
47100 * conform/data/strings.h-data: Likewise.
47101 * conform/data/stropts.h-data: Likewise.
47102 * conform/data/sys/ipc.h-data: Likewise.
47103 * conform/data/sys/mman.h-data: Likewise.
47104 * conform/data/sys/msg.h-data: Likewise.
47105 * conform/data/sys/resource.h-data: Likewise.
47106 * conform/data/sys/select.h-data: Likewise.
47107 * conform/data/sys/sem.h-data: Likewise.
47108 * conform/data/sys/shm.h-data: Likewise.
47109 * conform/data/sys/socket.h-data: Likewise.
47110 * conform/data/sys/stat.h-data: Likewise.
47111 * conform/data/sys/statvfs.h-data: Likewise.
47112 * conform/data/sys/time.h-data: Likewise.
47113 * conform/data/sys/timeb.h-data: Likewise.
47114 * conform/data/sys/times.h-data: Likewise.
47115 * conform/data/sys/types.h-data: Likewise.
47116 * conform/data/sys/uio.h-data: Likewise.
47117 * conform/data/sys/un.h-data: Likewise.
47118 * conform/data/sys/utsname.h-data: Likewise.
47119 * conform/data/sys/wait.h-data: Likewise.
47120 * conform/data/syslog.h-data: Likewise.
47121 * conform/data/tar.h-data: Likewise.
47122 * conform/data/termios.h-data: Likewise.
47123 * conform/data/utime.h-data: Likewise.
47124 * conform/data/utmpx.h-data: Likewise.
47125 * conform/data/varargs.h-data: Likewise.
47126 * conform/data/wchar.h-data: Likewise.
47127 * conform/data/wctype.h-data: Likewise.
47128 * conform/data/wordexp.h-data: Likewise.
47129
47130 * include/stropts.h: New file.
47131 * include/uchar.h: New file.
47132 * include/aio.h: Changes to allow conformtest.pl to use the headers.
47133 * include/assert.h: Likewise.
47134 * include/ctype.h: Likewise.
47135 * include/dirent.h: Likewise.
47136 * include/dlfcn.h: Likewise.
47137 * include/fcntl.h: Likewise.
47138 * include/fnmatch.h: Likewise.
47139 * include/glob.h: Likewise.
47140 * include/grp.h: Likewise.
47141 * include/libio.h: Likewise.
47142 * include/locale.h: Likewise.
47143 * include/math.h: Likewise.
47144 * include/net/if.h: Likewise.
47145 * include/netdb.h: Likewise.
47146 * include/netinet/in.h: Likewise.
47147 * include/pthread.h: Likewise.
47148 * include/pwd.h: Likewise.
47149 * include/regex.h: Likewise.
47150 * include/sched.h: Likewise.
47151 * include/search.h: Likewise.
47152 * include/setjmp.h: Likewise.
47153 * include/signal.h: Likewise.
47154 * include/stdio.h: Likewise.
47155 * include/stdlib.h: Likewise.
47156 * include/string.h: Likewise.
47157 * include/sys/cdefs.h: Likewise.
47158 * include/sys/mman.h: Likewise.
47159 * include/sys/msg.h: Likewise.
47160 * include/sys/resource.h: Likewise.
47161 * include/sys/select.h: Likewise.
47162 * include/sys/socket.h: Likewise.
47163 * include/sys/stat.h: Likewise.
47164 * include/sys/statvfs.h: Likewise.
47165 * include/sys/time.h: Likewise.
47166 * include/sys/times.h: Likewise.
47167 * include/sys/uio.h: Likewise.
47168 * include/sys/utsname.h: Likewise.
47169 * include/sys/wait.h: Likewise.
47170 * include/termios.h: Likewise.
47171 * include/time.h: Likewise.
47172 * include/ulimit.h: Likewise.
47173 * include/unistd.h: Likewise.
47174 * include/utime.h: Likewise.
47175 * include/wchar.h: Likewise.
47176 * include/wctype.h: Likewise.
47177 * include/wordexp.h: Likewise.
47178
47179 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
47180
7a270350
UD
47181 * time/time.h: TIME_UTC must be a macro.
47182 Make timespec_get available for ISO C11 only as well.
47183
7724defc
UD
471842012-02-24 Ulrich Drepper <drepper@gmail.com>
47185
47186 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
47187 Reported by Peng Haitao <penght@cn.fujitsu.com>.
47188
6b1d1d46
JM
471892012-02-24 Joseph Myers <joseph@codesourcery.com>
47190
47191 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 47192
0f8bbd69
JM
471932012-02-24 Joseph Myers <joseph@codesourcery.com>
47194
47195 * manual/texinfo.tex: Update to version 2012-01-19.16.
47196
66ab80bc
JM
471972012-02-24 Joseph Myers <joseph@codesourcery.com>
47198
47199 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
47200
74981cc5
RM
472012012-02-24 Roland McGrath <roland@hack.frob.com>
47202
ee968201
RM
47203 [BZ #13738]
47204 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
47205 * manual/fdl-1.3.texi: New file.
47206 * manual/fdl-1.1.texi: File removed.
47207
74981cc5
RM
47208 [BZ #13738]
47209 * manual/libc.texinfo (FDL_VERSION): New @set.
47210 Use it for mention of FDL in cover text.
47211 (Documentation License): Use it in @include file name.
47212
7bb764bc
JM
472132012-02-22 Joseph Myers <joseph@codesourcery.com>
47214 Roland McGrath <roland@hack.frob.com>
47215
47216 [BZ #5461]
57f41c40
AS
47217 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
47218 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
47219 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
47220 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
47221 name.
47222 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
47223
6cbeae47
JM
472242012-02-22 Joseph Myers <joseph@codesourcery.com>
47225
47226 [BZ #2547]
47227 [BZ #11365]
47228 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
47229 manipulate bits before adding and subtracting TWO23[sx].
47230 * math/libm-test.inc (nearbyint_test): Add more tests.
47231
fe45ce09
JM
472322012-02-22 Joseph Myers <joseph@codesourcery.com>
47233
47234 [BZ #2548]
47235 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
47236 bits before adding and subtracting TWO23[sx].
47237 * math/libm-test.inc (rint_test): Add more tests.
47238 (rint_test_tonearest): Likewise.
47239 (rint_test_towardzero): Likewise.
47240 (rint_test_downward): Likewise.
47241 (rint_test_upward: Likewise.
47242
ff3b3d82
JM
472432012-02-22 Joseph Myers <joseph@codesourcery.com>
47244
47245 [BZ #10110]
47246 * include/stdc-predef.h: New file. Extracted from features.h.
47247 * include/features.h: Include stdc-predef.h.
47248 * Makefile (headers): Add stdc-predef.h.
47249 * CONFORMANCE (Compiler limitations): Update.
47250
ef0aab35
JM
472512012-02-22 Joseph Myers <joseph@codesourcery.com>
47252
47253 * manual/libc.texinfo (VERSION, UPDATED): Revert.
47254
58639409
DM
472552012-02-21 David S. Miller <davem@davemloft.net>
47256
47257 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
47258 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47259
c0e70b25
DM
472602012-02-20 David S. Miller <davem@davemloft.net>
47261
47262 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
47263 using a normal save/restore sequence, rather than allocating a
47264 dummy stack frame just to store a frame pointer and restore.
47265 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47266
fb06851d
JM
472672012-02-21 Joseph Myers <joseph@codesourcery.com>
47268
47269 * manual/install.texi: Fix stray word in line-wrapped comment.
47270
7a8b71c3
DM
472712012-02-20 David S. Miller <davem@davemloft.net>
47272
d510c123
DM
47273 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
47274 both binutils and gcc support GOTDATA.
47275
0722d7c2
DM
47276 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
47277 "rd %pc" in the PIC register setup sequences.
47278
3d2b3019
DM
47279 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
47280 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
47281 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47282 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
47283 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47284 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
47285 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47286 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47287 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
47288 (SYSCALL_ERROR_HANDLER): Likewise.
47289 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47290 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47291 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
47292 (SYSCALL_ERROR_HANDLER): Likewise.
47293
c80098a9
DM
47294 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
47295 (HAVE_GCC_GOTDATA): New.
47296 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
47297 relocation support in both binutils and gcc.
47298 * sysdeps/sparc/elf/configure: Regenerate.
47299
3a2545a0
DM
47300 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
47301 * sysdeps/sparc/sparc32/elf/configure: Delete.
47302 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
47303 * sysdeps/sparc/sparc64/elf/configure: Delete.
47304 * sysdeps/sparc/elf/configure.in: New file.
47305 * sysdeps/sparc/elf/configure: Generate.
47306
7a8b71c3
DM
47307 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
47308 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
47309 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47310 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
47311 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
47312
f1e86fca
JM
473132012-02-21 Joseph Myers <joseph@codesourcery.com>
47314
47315 * manual/install.texi: Do not mention specific glibc version
47316 numbers.
47317 * manual/libc.texinfo (VERSION, UPDATED): Update.
47318 (@copying): Use @copyright{} and range of years.
47319
0e7dfaef
JM
473202012-02-21 Joseph Myers <joseph@codesourcery.com>
47321
47322 [BZ #13695]
47323 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
47324 [crti.S not in sysdirs] (generated): Do not append.
47325 [crti.S not in sysdirs] (omit-deps): Likewise.
47326 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
47327 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
47328 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
47329 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
47330 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
47331 Likewise.
47332 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
47333 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
47334 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
47335 * csu/defs.awk: Remove file.
47336 * sysdeps/generic/initfini.c: Likewise.
47337 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
47338 variable.
47339 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
47340 Likewise.
47341
599af3ca
JM
473422012-02-20 Joseph Myers <joseph@codesourcery.com>
47343
47344 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
47345 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
47346 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
47347 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
47348 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47349 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
47350 <bits/epoll.h>.
47351 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
47352 (__EPOLL_PACKED): Define to empty if not defined by
47353 <bits/epoll.h>.
47354 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
47355 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47356 bits/epoll.h.
47357
0e499750
JM
473582012-02-20 Joseph Myers <joseph@codesourcery.com>
47359
47360 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
47361 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
47362 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
47363 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
47364 <bits/timerfd.h>.
47365 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
47366 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47367 bits/timerfd.h.
47368
5ad91f6e
JM
473692012-02-20 Joseph Myers <joseph@codesourcery.com>
47370
47371 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
47372 in C locale.
47373 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47374 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47375 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
47376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47377
06b99b02
AJ
473782012-02-20 Aurelien Jarno <aurelien@aurel32.net>
47379
47380 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47381 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47382
7638c0fd
AS
473832012-02-19 Andreas Schwab <schwab@linux-m68k.org>
47384
47385 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
47386 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
47387 defined.
47388 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
47389 Likewise.
47390 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
47391 entry for 2.16.
47392
92221550
AJ
473932012-02-19 Aurelien Jarno <aurelien@aurel32.net>
47394
47395 * math/w_acos.c: Use non-signaling floating-point comparisons.
47396 * math/w_acosf.c: Likewise.
47397 * math/w_acosh.c: Likewise.
47398 * math/w_acoshf.c: Likewise.
47399 * math/w_acoshl.c: Likewise.
47400 * math/w_acosl.c: Likewise.
47401 * math/w_asin.c: Likewise.
47402 * math/w_asinf.c: Likewise.
47403 * math/w_asinl.c: Likewise.
47404 * math/w_atanh.c: Likewise.
47405 * math/w_atanhf.c: Likewise.
47406 * math/w_atanhl.c: Likewise.
47407 * math/w_exp2.c: Likewise.
47408 * math/w_exp2f.c: Likewise.
47409 * math/w_exp2l.c: Likewise.
47410 * math/w_j0.c: Likewise.
47411 * math/w_j0f.c: Likewise.
47412 * math/w_j0l.c: Likewise.
47413 * math/w_j1.c: Likewise.
47414 * math/w_j1f.c: Likewise.
47415 * math/w_j1l.c: Likewise.
47416 * math/w_jn.c: Likewise.
47417 * math/w_jnf.c: Likewise.
47418 * math/w_log.c: Likewise.
47419 * math/w_log10.c: Likewise.
47420 * math/w_log10f.c: Likewise.
47421 * math/w_log10l.c: Likewise.
47422 * math/w_log2.c: Likewise.
47423 * math/w_log2f.c: Likewise.
47424 * math/w_log2l.c: Likewise.
47425 * math/w_logf.c: Likewise.
47426 * math/w_logl.c: Likewise.
47427 * math/w_sqrt.c: Likewise.
47428 * math/w_sqrtf.c: Likewise.
47429 * math/w_sqrtl.c: Likewise.
47430 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47431 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
47432 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47433 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
47434 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
47435
ebaf36eb
JM
474362012-02-19 Joseph Myers <joseph@codesourcery.com>
47437
47438 [BZ #9739]
47439 * manual/string.texi (strnlen): Use correct parameter name in
47440 equivalent expression.
47441
71c254a6
JM
474422012-02-19 Joseph Myers <joseph@codesourcery.com>
47443
47444 [BZ #11174]
47445 * manual/users.texi (seteuid): Consistently use neweuid for
47446 argument name.
47447
16d2c631
JM
474482012-02-19 Joseph Myers <joseph@codesourcery.com>
47449
47450 [BZ #13704]
47451 * manual/nss.texi (Services in the NSS configuration): Correct
47452 list of services in example configuration file.
47453
cd837b09
NB
474542012-02-19 Nick Bowler <nbowler@draconx.ca>
47455
47456 [BZ #11322]
47457 * manual/arith.texi: Remove statements about negative zero
47458 behaving identically to zero.
47459
02c4bbad
JM
474602012-02-18 Joseph Myers <joseph@codesourcery.com>
47461
47462 [BZ #5993]
47463 * manual/install.texi: Do not document upgrading from libc5.
47464
366842e7
JM
474652012-02-18 Joseph Myers <joseph@codesourcery.com>
47466
47467 [BZ #4596]
47468 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
47469
dd54084d
DM
474702012-02-18 David S. Miller <davem@davemloft.net>
47471
47472 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
47473 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
47474 %o7 across the call.
47475 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
47476 instead.
47477 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
47478 SETUP_PIC_REG_LEAF.
47479 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47480 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
47481 * sysdeps/sparc/crtn.S: Likewise.
47482
2bcc53a3
UD
474832012-02-17 Ulrich Drepper <drepper@gmail.com>
47484
47485 * aout/Makefile: Remove.
47486
09c093b5
RK
474872012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
47488
47489 [BZ #13058]
47490 * manual/examples/argp-ex1.c (main): Format definition in GNU
47491 style.
47492 * manual/examples/argp-ex2.c (main): Likewise.
47493 * manual/examples/argp-ex3.c (main): Likewise.
47494 * manual/examples/argp-ex4.c (main): Likewise.
47495 * manual/examples/longopt.c (main): Use new-style prototype
47496 definition.
47497 * manual/examples/strncat.c (main): Specify return type and use
47498 (void) for arguments.
47499 * manual/examples/subopt.c (main): Use char **argv argument.
47500
2ee633a2
JM
475012012-02-17 Joseph Myers <joseph@codesourcery.com>
47502
47503 [BZ #5077]
47504 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
47505 rounding modes.
47506
0520adde
FB
475072012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
47508
47509 [BZ #6907]
47510 * manual/string.texi (strchr): Change when strchrnul is
47511 recommended.
47512
3f4081cd
DGM
475132012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
47514
47515 [BZ #174]
47516 * manual/locale.texi (setlocale): Document LOCPATH.
47517
d1b10e78
JM
475182012-02-17 Joseph Myers <joseph@codesourcery.com>
47519
47520 [BZ #10210]
47521 * manual/process.texi (execle): Move @dots{} before last argument.
47522
79c6869c
PB
475232012-02-17 Paul Bolle <pebolle@tiscali.nl>
47524
47525 [BZ #12047]
47526 * manual/charset.texi (Generic Charset Conversion): Fix typo
47527 (LC_TYPE -> LC_CTYPE).
47528
cc6e48bc
NB
475292012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
47530
47531 [BZ #5805]
47532 * manual/arith.texi (scalbn): Use @var{} on parameter names.
47533 (scalbnf): Likewise.
47534 (scalbnl): Likewise.
47535 (scalbln): Likewise.
47536 (scalblnf): Likewise.
47537 (scalblnl): Likewise.
47538 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
47539 (vwarnx): Likewise.
47540 (verr): Likewise.
47541 (verrx): Likewise.
47542 * manual/filesys.texi (telldir): Use braces around return type.
47543 * manual/llio.texi (mmap): Add space after comma.
47544 (mmap64): Likewise.
47545 * manual/math.texi (jn): Use @var{} on parameter names.
47546 (jnf): Likewise.
47547 (jnl): Likewise.
47548 (yn): Likewise.
47549 (ynf): Likewise.
47550 (ynl): Likewise.
47551 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
47552 line.
47553 * manual/resource.texi (ulimit): Use @dots{} instead of literal
47554 "...".
47555 (sched_get_priority_min): Remove semicolon on @deftypefun line.
47556 (sched_get_priority_max): Likewise.
47557 * manual/signal.texi (sigvec): Add space after comma.
47558 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
47559 names.
47560 (if_indextoname): Likewise.
47561 (if_freenameindex): Likewise.
47562 (sendto): Use ',' instead of '.' in prototype.
47563 * manual/startup.texi (syscall): Use @dots{} instead of literal
47564 "...".
47565 * manual/stdio.texi (__fpending): Separate initial words of
47566 paragraph from @deftypefun line.
47567 * manual/syslog.texi (syslog): Use @dots{} instead of literal
47568 "...".
47569 (vsyslog): Use @var{} on parameter names.
47570 * manual/terminal.texi (stty): Use @var{} on parameter names.
47571 * manual/users.texi (getutmp): Use @var{} on parameter names.
47572 (getutmpx): Likewise.
47573
5b23062f
JM
475742012-02-17 Joseph Myers <joseph@codesourcery.com>
47575
47576 [BZ #6884]
47577 * manual/stdio.texi (fopen): Fix typos in description of
47578 ",ccs=STRING".
47579
8dee4833
AJ
475802012-02-17 Aurelien Jarno <aurelien@aurel32.net>
47581
47582 [BZ #4026]
47583 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
47584 get clock_id definition.
47585
9078ce93
TS
475862012-02-17 Thomas Schwinge <thomas@schwinge.name>
47587
47588 [BZ #4822]
47589 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
47590 (madvise): Cast every argument to void on its own.
47591
3835c55f
JM
475922012-02-17 Joseph Myers <joseph@codesourcery.com>
47593
47594 [BZ #9902]
47595 * manual/startup.texi (Exit Status): Fix typo.
47596
35c47e37
JM
475972012-02-17 Joseph Myers <joseph@codesourcery.com>
47598
47599 [BZ #10140]
47600 * manual/examples/argp-ex1.c: Include <stdlib.h>.
47601 * manual/examples/argp-ex2.c: Likewise.
47602 * manual/examples/argp-ex3.c: Likewise.
47603
e3b69ca7
RH
476042012-02-16 Richard Henderson <rth@redhat.com>
47605
47606 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
47607 * sysdeps/s390/s390-32/initfini.c: Remove.
47608 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
47609 * sysdeps/s390/s390-64/initfini.c: Remove.
47610
df83af67
KK
476112012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47612
47613 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
47614 compiler output for sysdeps/generic/initfini.c.
47615 * sysdeps/sh/elf/initfini.c: Remove file.
47616
f63f3380
DM
476172012-02-16 David S. Miller <davem@davemloft.net>
47618
fb59b3a4
DM
47619 [BZ #11494]
47620 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
47621
f63f3380
DM
47622 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
47623 * sysdeps/sparc/crti.S: New file.
47624 * sysdeps/sparc/crtn.S: New file.
47625 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
47626 * sysdeps/sparc/sparc64/Makefile: Likewise.
47627
df6a4a4a
MF
476282012-02-15 Mike Frysinger <vapier@gentoo.org>
47629
6dd8f3dc 47630 [BZ #3335]
df6a4a4a
MF
47631 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
47632
1cac7236
RM
476332012-02-15 Roland McGrath <roland@hack.frob.com>
47634
d2c736f8
RM
47635 [BZ #4822]
47636 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
47637
1cac7236
RM
47638 * mach/devstream.c (cookie_io_functions_t): Macro removed.
47639 (write, read, close): Likewise.
47640 Patch by Aurelien Jarno <aurelien@aurel32.net>.
47641
8e475601
JM
476422012-02-15 Joseph Myers <joseph@codesourcery.com>
47643
47644 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
47645 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
47646 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
47647 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
47648 <bits/signalfd.h>.
47649 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
47650 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47651 bits/signalfd.h.
47652
ed656b40
MP
476532012-02-14 Marek Polacek <polacek@redhat.com>
47654
47655 * sysdeps/x86_64/crti.S: New file.
47656 * sysdeps/x86_64/crtn.S: New file.
47657 * sysdeps/x86_64/elf/initfini.c: Remove file.
47658
2a979d3a
JM
476592012-02-13 Joseph Myers <joseph@codesourcery.com>
47660
47661 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
47662 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
47663 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
47664 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
47665 <bits/inotify.h>.
47666 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
47667 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47668 bits/inotify.h.
47669
2a418ac3
JM
476702012-02-13 Joseph Myers <joseph@codesourcery.com>
47671
47672 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
47673 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
47674 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
47675 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
47676 <bits/eventfd.h>.
47677 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
47678 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47679 bits/eventfd.h.
47680
fb779be7
TS
476812012-02-10 Thomas Schwinge <thomas@codesourcery.com>
47682
e19e83c5
RM
47683 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
47684 __feraiseexcept instead of feraiseexcept.
7c35ffed 47685
fb779be7
TS
47686 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
47687 nanosleep invocations.
47688 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
47689 strings, and add error checking for a nanosleep invocations.
47690
59ba27a6
PE
476912012-02-09 Paul Eggert <eggert@cs.ucla.edu>
47692
47693 Replace FSF snail mail address with URLs, as per GNU coding standards.
47694 Most of the snail mail addresses were wrong anyway, and omitting
47695 them makes the source code easier to maintain. Almost all of the
47696 changes are to license notices and to locale LC_IDENTIFICATION
47697 addresses, except for this one:
47698 * manual/libc.texinfo: In "Published by", give the FSF's URL,
47699 not its snail mail address.
47700
57b957eb
RH
477012012-02-09 Richard Henderson <rth@twiddle.net>
47702
af850b1c
RH
47703 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
47704 of kernel-features.h.
47705
57b957eb
RH
47706 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
47707
6b73181a
MP
477082012-02-08 Marek Polacek <polacek@redhat.com>
47709
47710 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
47711 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
47712 * sysdeps/gnu/_G_config.h: Likewise.
47713 * sysdeps/generic/_G_config.h: Likewise.
47714
26ecc33a
AS
477152012-02-08 Andreas Schwab <schwab@linux-m68k.org>
47716
6c6dbc63
AS
47717 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
47718 tests.
47719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47720
e216c012
AS
47721 * sysdeps/powerpc/powerpc32/crti.S: New file.
47722 * sysdeps/powerpc/powerpc32/crtn.S: New file.
47723 * sysdeps/powerpc/powerpc64/crti.S: New file.
47724 * sysdeps/powerpc/powerpc64/crtn.S: New file.
47725
26ecc33a
AS
47726 * Makeconfig (have-initfini): Don't set.
47727 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
47728 * configure.in (nopic_initfini): Don't substitute.
47729 * config.h.in (HAVE_INITFINI): Don't #undef.
47730 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
47731 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
47732
3add8e13
JM
477332012-02-08 Joseph Myers <joseph@codesourcery.com>
47734
47735 Support crti.S and crtn.S provided directly by architectures.
47736 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
47737 [crti.S in sysdirs] (omit-deps): Likewise.
47738 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
47739 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
47740 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
47741 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
47742 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
47743 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
47744 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
47745 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
47746 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
47747 compiler output for sysdeps/generic/initfini.c.
47748 * sysdeps/i386/elf/Makefile: Remove file.
47749 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
47750
a22f12b4
MP
477512012-02-07 Marek Polacek <polacek@redhat.com>
47752
47753 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
47754 * sysdeps/gnu/_G_config.h: Likewise.
47755 * sysdeps/mach/hurd/_G_config.h: Likewise.
47756
148cf100
MP
477572012-02-07 Marek Polacek <polacek@redhat.com>
47758
47759 * math/Makefile (tests): Add tst-CMPLX2.
47760 * math/tst-CMPLX2.c: New file.
47761
cfdc0dd7
AS
477622012-02-07 Andreas Schwab <schwab@linux-m68k.org>
47763
84ba42c4
AS
47764 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47765
cfdc0dd7
AS
47766 * math/libm-test.inc (jn_test): Add missing L suffix.
47767
622c86f4
MP
477682012-02-06 Marek Polacek <polacek@redhat.com>
47769
47770 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
47771 * sysdeps/i386/fpu/e_powf.S: Likewise.
47772 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47773 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47774 * sysdeps/i386/fpu/e_acosh.S: Likewise.
47775 * sysdeps/i386/fpu/e_pow.S: Likewise.
47776 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
47777 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47778 * sysdeps/i386/fpu/s_expm1.S: Likewise.
47779 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
47780 * sysdeps/i386/fpu/e_log2.S: Likewise.
47781 * sysdeps/i386/fpu/e_log2l.S: Likewise.
47782 * sysdeps/i386/fpu/e_scalb.S: Likewise.
47783 * sysdeps/i386/fpu/e_powl.S: Likewise.
47784 * sysdeps/i386/fpu/s_log1p.S: Likewise.
47785 * sysdeps/i386/fpu/e_log10f.S: Likewise.
47786 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
47787 * sysdeps/i386/fpu/e_logl.S: Likewise.
47788 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
47789 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
47790 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
47791 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
47792 * sysdeps/i386/fpu/e_log2f.S: Likewise.
47793 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47794 * sysdeps/i386/fpu/e_log.S: Likewise.
47795 * sysdeps/i386/fpu/s_cexp.S: Likewise.
47796 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47797 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
47798 * sysdeps/i386/fpu/e_logf.S: Likewise.
47799 * sysdeps/i386/fpu/e_log10l.S: Likewise.
47800 * sysdeps/i386/fpu/e_atanh.S: Likewise.
47801 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
47802 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
47803 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47804 * sysdeps/i386/fpu/e_log10.S: Likewise.
47805 * sysdeps/i386/fpu/s_frexp.S: Likewise.
47806 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47807 * sysdeps/i386/fpu/s_asinh.S: Likewise.
47808 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
47809 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47810 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
47811 * sysdeps/i386/asm-syntax.h: Likewise.
47812 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47813 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47814 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47815 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
47816 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
47817 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47818 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
47819 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
47820 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47821 * sysdeps/powerpc/sysdep.h: Likewise.
47822 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
47823 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47824
d4a54ac6
JM
478252012-02-06 Joseph Myers <joseph@codesourcery.com>
47826
47827 [BZ #411]
47828 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
47829
314054ea
JM
478302012-02-06 Joseph Myers <joseph@codesourcery.com>
47831
47832 * sysdeps/i386/sysdep.h: Include <features.h>.
47833 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
47834 version.
47835
d8e0ca50
JM
478362012-02-05 Joseph Myers <joseph@codesourcery.com>
47837
47838 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
47839 Define.
47840 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
47841 LOAD_PIC_REG_STR.
47842
b1da7dd9
JM
478432012-02-03 Joseph Myers <joseph@codesourcery.com>
47844
47845 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
47846 (SETUP_PIC_REG): Use GET_PC_THUNK.
47847 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
47848 macro.
47849
9a1d9254
JM
478502012-02-03 Joseph Myers <joseph@codesourcery.com>
47851
47852 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
47853 for non-PIC compilation.
47854 (SETUP_PIC_REG): Add .p2align directive.
47855 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
47856 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
47857 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
47858 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
47859 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
47860 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
47861 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
47862 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47863 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
47864 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
47865 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
47866 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
47867 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
47868 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
47869 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
47870 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
47871 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
47872 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
47873 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
47874 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
47875 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
47876 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
47877 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
47878 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
47879 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
47880 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
47881 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47882 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
47883 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
47884 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
47885 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
47886 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47887 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
47888 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
47889 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
47890 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
47891 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
47892 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
47893 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
47894 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
47895 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
47896
65dc3b75
JM
478972012-02-03 Joseph Myers <joseph@codesourcery.com>
47898
47899 * math/tst-CMPLX.c: Include <stdio.h>.
47900
d55bf177
JM
479012012-01-31 Joseph Myers <joseph@codesourcery.com>
47902
47903 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
47904 float.
47905 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
47906 * sysdeps/sparc/bits/mathdef.h: Likewise.
47907
69db4f8f
MP
479082012-01-31 Marek Polacek <polacek@redhat.com>
47909
47910 * libio/libio.h: Don't define _PARAMS.
47911 * locale/programs/config.h: Don't define PARAMS.
47912 * stdlib/strtol_l.c: Likewise.
47913 (__strtol_l): Remove PARAMS from the prototype.
47914
41b81892
UD
479152012-01-31 Ulrich Drepper <drepper@gmail.com>
47916
3b49edc0
UD
47917 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
47918 names. Just use the correct names. Remove unnecessary wrapper
47919 functions.
47920 * malloc/arena.c: Likewise.
47921 * malloc/hooks.c: Likewise.
47922
41b81892
UD
47923 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
47924 ARENA_TEST says not to. Simplify test for creation of a new arena.
47925 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
47926
27a25b6e
UD
479272012-01-30 Ulrich Drepper <drepper@gmail.com>
47928
47929 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
47930 into tail calls.
47931 (update_get_addr): New function.
47932 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
47933 GET_ADDR_MODULE parameter.
47934
c8a89e7d
JM
479352012-01-30 Joseph Myers <joseph@codesourcery.com>
47936
47937 * crypt/cert.c: Remove __STDC__ conditionals.
47938 * crypt/crypt-entry.c: Likewise.
47939 * crypt/crypt_util.c: Likewise.
47940 * libio/filedoalloc.c: Likewise.
47941 * libio/fileops.c: Likewise.
47942 * libio/genops.c: Likewise.
47943 * libio/iofclose.c: Likewise.
47944 * libio/iofdopen.c: Likewise.
47945 * libio/iofopen.c: Likewise.
47946 * libio/iofopen64.c: Likewise.
47947 * libio/iogetdelim.c: Likewise.
47948 * libio/iopopen.c: Likewise.
47949 * libio/obprintf.c: Likewise.
47950 * libio/oldfileops.c: Likewise.
47951 * libio/oldiofclose.c: Likewise.
47952 * libio/oldiofdopen.c: Likewise.
47953 * libio/oldiofopen.c: Likewise.
47954 * libio/oldiopopen.c: Likewise.
47955 * libio/wfiledoalloc.c: Likewise.
47956 * libio/wgenops.c: Likewise.
47957 * locale/programs/xmalloc.c: Likewise.
47958 * misc/syslog.c: Likewise.
47959 * stdio-common/xbug.c: Likewise.
47960 * string/memchr.c: Likewise.
47961 * string/memcmp.c: Likewise.
47962 * string/memrchr.c: Likewise.
47963 * string/rawmemchr.c: Likewise.
47964 * sysdeps/posix/getcwd.c: Likewise.
47965 * time/strftime_l.c: Likewise.
47966
3b100462
JM
479672012-01-30 Joseph Myers <joseph@codesourcery.com>
47968
47969 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
47970 * config.make.in (config-cflags-sse2avx): Define.
47971 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
47972 Fix typo.
47973
607998af
CM
479742012-01-29 Chris Metcalf <cmetcalf@tilera.com>
47975
47976 * scripts/config.guess: Update from upstream config git repository.
47977 * scripts/config.sub: Likewise.
47978
3601428f
CM
479792012-01-28 Chris Metcalf <cmetcalf@tilera.com>
47980
3ac8b282
CM
47981 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
47982 (EM_NUM): Update.
47983 (R_TILEPRO_*, R_TILEGX_*): New macros.
47984
e034841e
CM
47985 * scripts/firstversions.awk: Fix bug in version range handling.
47986
540d7568
CM
47987 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
47988
3601428f
CM
47989 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
47990
463de862
CM
47991 * include/sys/epoll.h: New file.
47992 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
47993 libc_hidden_def.
47994
73139a76
UD
479952012-01-28 Ulrich Drepper <drepper@gmail.com>
47996
96bc5b45
UD
47997 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
47998 Avoid unnecessary __WORDSIZE == 64 test.
47999 (fmaxf): Use VEX format if possible.
48000 (fmax): Likewise.
48001 (fminf): Likewise.
48002 (fmin): Likewise.
48003
56f6f6a2
UD
48004 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
48005 * math/math_private.h: Remove libc_fegetround* and
48006 libc_fesetround*.
48007 * sysdeps/i386/configure.in: Check for -msse2avx.
48008 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
48009 also if SSE2AVX is defined.
48010 Remove libc_fegetround* and libc_fesetround*.
48011 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
48012 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
48013 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
48014 of HAS_YMM_USABLE.
48015 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48016 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48017 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48018 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48019 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48020
73139a76
UD
48021 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
48022
d73f93a4
AZ
480232012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48024
48025 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
48026 size is not set.
48027 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48028
6ee65ed6
UD
480292012-01-27 Ulrich Drepper <drepper@gmail.com>
48030
48031 [BZ #13618]
48032 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
48033 relocation.
48034 * Makeconfig (libm): Define.
48035 * elf/Makefile: Add rules to build and run tst-relsort1.
48036 * elf/tst-relsort1.c: New file.
48037 * elf/tst-relsort1mod1.c: New file.
48038 * elf/tst-relsort1mod2.c: New file.
48039
8db21882
JM
480402012-01-27 Joseph Myers <joseph@codesourcery.com>
48041
48042 * math/s_ldexp.c: Remove __STDC__ conditionals.
48043 * math/s_ldexpf.c: Likewise.
48044 * math/s_ldexpl.c: Likewise.
48045 * math/s_nextafter.c: Likewise.
48046 * math/s_nexttowardf.c: Likewise.
48047 * math/s_significand.c: Likewise.
48048 * math/s_significandf.c: Likewise.
48049 * math/s_significandl.c: Likewise.
48050 * math/w_jnl.c: Likewise.
48051 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
48052 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48053 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
48054 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
48055 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
48056 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48057 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
48058 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48059 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48060 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48061 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48062 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48063 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48064 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48065 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48066 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48067 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48068 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48069 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48070 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48071 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48072 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48073 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48074 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48075 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48076 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48077 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48078 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48079 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48080 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48081 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48082 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48083 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48084 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48085 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48086 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48087 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48088 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48089 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48090 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48091 * sysdeps/ieee754/k_standard.c: Likewise.
48092 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48093 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48094 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48095 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48096 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48097 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48098 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48099 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48100 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48101 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48102 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48103 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48104 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48105 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48106 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48107 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48108 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48109 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48110 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48111 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48112 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48113 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48114 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48115 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48116 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48117 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48118 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48119 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48120 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48121 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48122 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48123 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
48124 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48125 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48126 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48127 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48128 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
48129 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48130 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48131 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
48132 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
48133 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48134 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
48135 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
48136 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48137 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
48138 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
48139 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48140 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48141 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
48142 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
48143 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48144 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48145 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48146 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48147 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48148 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
48149 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48150 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48151 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48152 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48153 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48154 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48155 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48156 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48157 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48158 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48159 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48160 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48161 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48162 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48163 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48164 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48165 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48166 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48167 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48168 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48169 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48170 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48171 * sysdeps/ieee754/s_matherr.c: Likewise.
48172 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48173 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48174 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48175 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48176
965a54a4
JM
481772012-01-26 Joseph Myers <joseph@codesourcery.com>
48178
48179 * crypt/md5.h: Remove __STDC__ conditionals.
48180 * libio/libioP.h: Likewise.
48181 * locale/programs/config.h: Likewise.
48182 * sysdeps/generic/sysdep.h: Likewise.
48183 * sysdeps/i386/asm-syntax.h: Likewise.
48184 * sysdeps/s390/asm-syntax.h: Likewise.
48185 * sysdeps/unix/sysdep.h: Likewise.
48186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
48187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
48188
7071ad79
JM
481892012-01-26 Joseph Myers <joseph@codesourcery.com>
48190
48191 * libio/libio.h: Remove __STDC__ conditionals.
48192 * malloc/obstack.h: Likewise.
48193 * math/complex.h: Likewise.
48194 * math/math.h: Likewise.
48195 * sysdeps/generic/_G_config.h: Likewise.
48196 * sysdeps/gnu/_G_config.h: Likewise.
48197 * sysdeps/mach/hurd/_G_config.h: Likewise.
48198 * sysdeps/powerpc/bits/mathdef.h: Likewise.
48199 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
48200 * sysdeps/sparc/bits/mathdef.h: Likewise.
48201
afc5ed09
UD
482022012-01-26 Ulrich Drepper <drepper@gmail.com>
48203
48204 [BZ #13583]
48205 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 48206 Clean up HAS_* macros.
afc5ed09 48207 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
48208 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
48209 possible.
48210 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
48211 HAS_AVX.
48212 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48213 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48214 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48215 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48216 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 48217
bdb6de1d
JM
482182012-01-25 Joseph Myers <joseph@codesourcery.com>
48219
48220 * elf/tst-unique3.cc (gets): Remove declaration.
48221 * elf/tst-unique3lib.cc (gets): Likewise.
48222 * elf/tst-unique3lib2.cc (gets): Likewise.
48223 * elf/tst-unique4.cc (gets): Likewise.
48224
b15549e6
UD
482252012-01-24 Ulrich Drepper <drepper@gmail.com>
48226
48227 * include/stdio.h: Add C++ protection. Add gets declarations and
48228 definitions.
48229 * debug/tst-chk1.c: Don't declare gets here.
48230 * stdio-common/tst-gets.c: Likewise.
48231
a037381f
JM
482322012-01-24 Joseph Myers <joseph@codesourcery.com>
48233
48234 * posix/glob: Remove directory.
48235
f1d4aa75
JM
482362012-01-24 Joseph Myers <joseph@codesourcery.com>
48237
48238 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
48239
81c0c964
PT
482402012-01-22 Pino Toscano <toscano.pino@tiscali.it>
48241
48242 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
48243 of the non-standard EPFNOSUPPORT.
48244
0ea698ae
ST
482452011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
48246
48247 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
48248 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
48249 ANYWHERE set to 1 only on KERN_NO_SPACE error.
48250
d220b117
UD
482512012-01-21 Ulrich Drepper <drepper@gmail.com>
48252
48253 * wcsmbs/uchar.h: Test __STDC_VERSION__.
48254
3e1aa84e
UD
482552012-01-20 Ulrich Drepper <drepper@gmail.com>
48256
48257 * nscd/aicache.c (addhstaiX): Do not cache negative results of
48258 transient errors.
48259 * nscd/grpcache.c (cache_addgr): Likewise.
48260 * nscd/hstcache.c (cache_addhst): Likewise.
48261 * nscd/initgrcache.c (addinitgroupsX): Likewise.
48262 * nscd/pwdcache.c (cache_addpw): Likewise.
48263 * nscd/servicescache.c (cache_addserv): Likewise.
48264
400aa020
UD
482652012-01-16 Ulrich Drepper <drepper@gmail.com>
48266
d77e7869
UD
48267 * malloc/malloc.c: Various cleanups.
48268 * malloc/hooks.c: Likewise.
48269
400aa020
UD
48270 * stdlib/Makefile (tests): Add bug-fmtmsg1.
48271 * stdlib/bug-fmtmsg1.c: New file.
48272
48273 * stdlib/fmtmsg.c (init): Add missing unlock.
48274 Patch by Peng Haitao <penght@cn.fujitsu.com>.
48275
e0a309cf
MP
482762012-01-12 Marek Polacek <polacek@redhat.com>
48277
48278 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
48279 and _GNU_SOURCE.
48280
929d11c7
WS
482812012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
48282
48283 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
48284 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
48285 macro to ensure uniqueness of label name.
48286 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
48287 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
48288
41d0e869
UD
482892012-01-11 Ulrich Drepper <drepper@gmail.com>
48290
0cc5ed3b
UD
48291 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
48292
41d0e869
UD
48293 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
48294 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48295 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48296 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
48297
a47a831a
UD
482982012-01-10 Ulrich Drepper <drepper@gmail.com>
48299
daa891c0
UD
48300 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
48301
48302 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
48303 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48304 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48305
e58ef0f2
UD
48306 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
48307
a47a831a 48308 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
48309 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48310 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 48311 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
48312
48313 * math/bits/math-finite.h: Add ldexp support.
48314
a0bfc9c7
MP
483152012-01-10 Marek Polacek <polacek@redhat.com>
48316
48317 * locale/programs/localedef.h (show_archive_content): Add noreturn
48318 attribute.
48319
d6e97a1d
UD
483202012-01-09 Ulrich Drepper <drepper@gmail.com>
48321
48322 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
48323
d5835c26
UD
483242012-01-08 Ulrich Drepper <drepper@gmail.com>
48325
e5f484c6
UD
48326 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
48327
d5835c26
UD
48328 * io/Makefile (headers): Add bits/poll2.h.
48329
d1f741e9
WS
483302011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
48331
48332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
48333 typo #include statement.
48334
ec09c1c4
UD
483352012-01-08 Ulrich Drepper <drepper@gmail.com>
48336
48337 * include/sys/cdefs.h: Define __attribute_alloc_size.
48338 * catgets/gencat.c: Add alloc_size attribute and apply consistently
48339 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
48340 * elf/pldd.c: Likewise.
48341 * iconv/iconv_charmap.c: Likewise.
48342 * iconv/iconvconfig.c: Likewise.
48343 * iconv/strtab.c: Likewise.
48344 * locale/programs/locale.c: Likewise.
48345 * locale/programs/localedef.h: Likewise.
48346 * locale/programs/simple-hash.c: Likewise.
48347 * nscd/nscd.h: Likewise.
48348 * nss/makedb.c: Likewise.
48349 * sysdeps/generic/ldconfig.h: Likewise.
48350 * locale/programs/localedef.c: Remove xmalloc prototype.
48351 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
48352
20b38e03
PP
483532012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
48354
48355 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
48356 appropriate.
48357
a0da5fe1
UD
483582012-01-08 Ulrich Drepper <drepper@gmail.com>
48359
1d5a644a 48360 * math/Makefile (tests): Add tst-CMPLX.
669704fd 48361 * math/tst-CMPLX.c: New file.
1d5a644a 48362
8784a6db
UD
48363 * math/complex.h (CMPLXL): Fix typo.
48364
d9a216c0
UD
48365 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
48366 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
48367 GLIBC_2.16.
48368 * debug/tst-chk1.c: Add poll and ppoll tests.
48369 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
48370 * include/sys/poll.h: Add hidden proto for ppoll.
48371 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
48372 * sysdeps/mach/hurd/ppoll.c: Likewise.
48373 * io/ppoll.c: Likewise.
48374 * debug/poll_chk.c: New file.
48375 * debug/ppoll_chk.c: New file.
48376 * include/bits/poll2.h: New file.
48377 * io/bits/poll2.h: New file.
48378
ac097f5c
UD
48379 [BZ #1350]
48380 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
48381
2119dcfa
UD
48382 * configure.in: static is always set to yes. Remove.
48383 * config.make.in: Don't set build-static.
48384 * Makeconfig: Remove use of build-static.
48385 * dlfcn/Makefile: Likewise.
48386 * elf/Makefile: Likewise.
48387 * math/Makefile: Likewise.
48388 * misc/Makefile: Likewise.
48389 * nptl/Makefile: Likewise.
48390 * sysdeps/mach/hurd/Makefile: Likewise.
48391
121766a9
UD
48392 * configure.in: PWD_P is not used anymore.
48393 * config.make.in: Remove PWD_P entry.
48394
51a1d39c 48395 * configure.in: Remove last remnants of RANLIB.
8720d066 48396 No need to check for signed size_t anymore.
215f4bdc
UD
48397 Don't set libc_commonpagesize and libc_relro_required here for Alpha
48398 and IA-64.
3857022a 48399 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
48400 * aclocal.m4: Likewise.
48401
d3ed7225
UD
48402 * wcsmbs/mbrtoc16.c: Implement using towc function.
48403 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
48404 * wcsmbs/wcsmbsload.c: Likewise.
48405 * iconv/gconv_simple.c: Likewise.
48406 * iconv/gconv_int.h: Likewise.
48407 * iconv/gconv_builtin.h: Likewise.
48408 * iconv/iconv_prog.c: Remove CHAR16 handling.
48409
48410 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
48411
48412 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
48413
a0da5fe1
UD
48414 * configure.in: Remove --with-elf and --enable-bounded options.
48415 Dont set base_machine for ia64. More non-ELF conditions removed.
48416 Remove testing and setting of leading underscore information.
48417 * config.make.in (build-bounded): Set to no.
48418 * config.h.in: Remove NO_UNDERSCORES entry.
48419 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
48420 them.
48421 * csu/start.c: Remove !NO_UNDERSCORE code.
48422 * locale/localeinfo.h: Likewise.
48423 * sysdeps/generic/machine-gmon.h: Likewise.
48424 * sysdeps/generic/sysdep.h: Likewise.
48425 * sysdeps/i386/sysdep.h: Likewise.
48426 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
48427 * sysdeps/mach/sysdep.h: Likewise.
48428 * sysdeps/s390/s390-32/sysdep.h: Likewise.
48429 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48430 * sysdeps/sh/sysdep.h: Likewise.
48431 * sysdeps/sparc/sparc32/alloca.S: Likewise.
48432 * sysdeps/unix/i386/sysdep.S: Likewise.
48433 * sysdeps/unix/sparc/start.c: Likewise.
48434 * sysdeps/unix/sparc/sysdep.S: Likewise.
48435 * sysdeps/unix/sparc/sysdep.h: Likewise.
48436 * sysdeps/unix/start.c: Likewise.
48437 * sysdeps/unix/x86_64/sysdep.S: Likewise.
48438 * sysdeps/x86_64/sysdep.h: Likewise.
48439
df78418a
UD
484402012-01-07 Ulrich Drepper <drepper@gmail.com>
48441
a784e502
UD
48442 [BZ #13553]
48443 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
48444 for non-gcc.
48445 * argp/argp-fmtstream.h: Use const instead __const.
48446 * argp/argp.h: Likewise.
48447 * assert/assert.h: Likewise.
48448 * bits/fenv.h: Likewise.
48449 * bits/sched.h: Likewise.
48450 * bits/sigset.h: Likewise.
48451 * bits/sigthread.h: Likewise.
48452 * catgets/nl_types.h: Likewise.
48453 * conform/data/pthread.h-data: Likewise.
48454 * crypt/crypt-private.h: Likewise.
48455 * crypt/crypt.h: Likewise.
48456 * crypt/crypt_util.c: Likewise.
48457 * ctype/ctype.h: Likewise.
48458 * debug/execinfo.h: Likewise.
48459 * debug/mbsnrtowcs_chk.c: Likewise.
48460 * debug/mbsrtowcs_chk.c: Likewise.
48461 * debug/wcsnrtombs_chk.c: Likewise.
48462 * debug/wcsrtombs_chk.c: Likewise.
48463 * debug/wcstombs_chk.c: Likewise.
48464 * dirent/dirent.h: Likewise.
48465 * dlfcn/dlfcn.h: Likewise.
48466 * elf/neededtest4.c: Likewise.
48467 * grp/grp.h: Likewise.
48468 * gshadow/gshadow.h: Likewise.
48469 * iconv/gconv.h: Likewise.
48470 * iconv/gconv_int.h: Likewise.
48471 * iconv/gconv_simple.c: Likewise.
48472 * iconv/iconv.h: Likewise.
48473 * iconv/loop.c: Likewise.
48474 * iconv/skeleton.c: Likewise.
48475 * include/aio.h: Likewise.
48476 * include/aliases.h: Likewise.
48477 * include/argz.h: Likewise.
48478 * include/arpa/inet.h: Likewise.
48479 * include/assert.h: Likewise.
48480 * include/dirent.h: Likewise.
48481 * include/dlfcn.h: Likewise.
48482 * include/execinfo.h: Likewise.
48483 * include/fcntl.h: Likewise.
48484 * include/fenv.h: Likewise.
48485 * include/glob.h: Likewise.
48486 * include/grp.h: Likewise.
48487 * include/libintl.h: Likewise.
48488 * include/mntent.h: Likewise.
48489 * include/netdb.h: Likewise.
48490 * include/pwd.h: Likewise.
48491 * include/rpc/netdb.h: Likewise.
48492 * include/sched.h: Likewise.
48493 * include/search.h: Likewise.
48494 * include/shadow.h: Likewise.
48495 * include/signal.h: Likewise.
48496 * include/stdio.h: Likewise.
48497 * include/stdlib.h: Likewise.
48498 * include/string.h: Likewise.
48499 * include/sys/socket.h: Likewise.
48500 * include/sys/stat.h: Likewise.
48501 * include/sys/statfs.h: Likewise.
48502 * include/sys/statvfs.h: Likewise.
48503 * include/sys/syslog.h: Likewise.
48504 * include/sys/time.h: Likewise.
48505 * include/sys/uio.h: Likewise.
48506 * include/time.h: Likewise.
48507 * include/unistd.h: Likewise.
48508 * include/utmp.h: Likewise.
48509 * include/wchar.h: Likewise.
48510 * include/wctype.h: Likewise.
48511 * inet/aliases.h: Likewise.
48512 * inet/arpa/inet.h: Likewise.
48513 * inet/netinet/ether.h: Likewise.
48514 * inet/netinet/in.h: Likewise.
48515 * intl/libintl.h: Likewise.
48516 * io/bits/fcntl2.h: Likewise.
48517 * io/fcntl.h: Likewise.
48518 * io/ftw.h: Likewise.
48519 * io/sys/poll.h: Likewise.
48520 * io/sys/stat.h: Likewise.
48521 * io/sys/statfs.h: Likewise.
48522 * io/sys/statvfs.h: Likewise.
48523 * io/utime.h: Likewise.
48524 * libio/bits/stdio.h: Likewise.
48525 * libio/bits/stdio2.h: Likewise.
48526 * libio/libio.h: Likewise.
48527 * libio/libioP.h: Likewise.
48528 * libio/stdio.h: Likewise.
48529 * locale/lc-ctype.c: Likewise.
48530 * locale/locale.h: Likewise.
48531 * login/utmp.h: Likewise.
48532 * malloc/arena.c: Likewise.
48533 * malloc/malloc.c: Likewise.
48534 * malloc/malloc.h: Likewise.
48535 * malloc/mcheck.c: Likewise.
48536 * malloc/mtrace.c: Likewise.
48537 * math/bits/mathcalls.h: Likewise.
48538 * math/fenv.h: Likewise.
48539 * math/math_private.h: Likewise.
48540 * misc/bits/error.h: Likewise.
48541 * misc/bits/syslog.h: Likewise.
48542 * misc/err.h: Likewise.
48543 * misc/error.h: Likewise.
48544 * misc/fstab.h: Likewise.
48545 * misc/mntent.h: Likewise.
48546 * misc/regexp.h: Likewise.
48547 * misc/search.h: Likewise.
48548 * misc/sgtty.h: Likewise.
48549 * misc/sys/mman.h: Likewise.
48550 * misc/sys/syslog.h: Likewise.
48551 * misc/sys/uio.h: Likewise.
48552 * misc/sys/xattr.h: Likewise.
48553 * misc/ttyent.h: Likewise.
48554 * nis/rpcsvc/ypclnt.h: Likewise.
48555 * nss/nss.h: Likewise.
48556 * posix/bits/unistd.h: Likewise.
48557 * posix/fnmatch.h: Likewise.
48558 * posix/glob.h: Likewise.
48559 * posix/sched.h: Likewise.
48560 * posix/spawn.h: Likewise.
48561 * posix/sys/wait.h: Likewise.
48562 * posix/unistd.h: Likewise.
48563 * posix/wordexp.h: Likewise.
48564 * pwd/pwd.h: Likewise.
48565 * resolv/netdb.h: Likewise.
48566 * resource/sys/resource.h: Likewise.
48567 * rt/aio.h: Likewise.
48568 * rt/bits/mqueue2.h: Likewise.
48569 * rt/mqueue.h: Likewise.
48570 * shadow/shadow.h: Likewise.
48571 * signal/signal.h: Likewise.
48572 * socket/send.c: Likewise.
48573 * socket/sendto.c: Likewise.
48574 * socket/sys/socket.h: Likewise.
48575 * stdio-common/printf.h: Likewise.
48576 * stdlib/bits/stdlib.h: Likewise.
48577 * stdlib/fmtmsg.h: Likewise.
48578 * stdlib/monetary.h: Likewise.
48579 * stdlib/stdlib.h: Likewise.
48580 * stdlib/ucontext.h: Likewise.
48581 * streams/stropts.h: Likewise.
48582 * string/argz.h: Likewise.
48583 * string/bits/string2.h: Likewise.
48584 * string/string.h: Likewise.
48585 * string/strings.h: Likewise.
48586 * sunrpc/rpc/auth.h: Likewise.
48587 * sunrpc/rpc/auth_des.h: Likewise.
48588 * sunrpc/rpc/clnt.h: Likewise.
48589 * sunrpc/rpc/netdb.h: Likewise.
48590 * sunrpc/rpc/pmap_clnt.h: Likewise.
48591 * sunrpc/rpc/xdr.h: Likewise.
48592 * sysdeps/generic/inttypes.h: Likewise.
48593 * sysdeps/generic/net/if.h: Likewise.
48594 * sysdeps/generic/sys/swap.h: Likewise.
48595 * sysdeps/gnu/net/if.h: Likewise.
48596 * sysdeps/gnu/utmpx.h: Likewise.
48597 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
48598 * sysdeps/i386/i486/bits/string.h: Likewise.
48599 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
48600 * sysdeps/s390/bits/string.h: Likewise.
48601 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
48602 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
48603 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
48604 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
48605 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
48606 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
48607 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
48608 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
48609 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
48610 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
48611 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
48612 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
48613 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
48614 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
48615 * sysdeps/unix/sysv/linux/readv.c: Likewise.
48616 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
48617 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
48618 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48619 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
48620 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
48621 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
48622 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
48623 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
48624 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
48625 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
48626 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
48627 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
48628 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48629 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
48630 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
48631 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
48632 * sysvipc/sys/ipc.h: Likewise.
48633 * sysvipc/sys/msg.h: Likewise.
48634 * sysvipc/sys/sem.h: Likewise.
48635 * sysvipc/sys/shm.h: Likewise.
48636 * termios/termios.h: Likewise.
48637 * time/sys/time.h: Likewise.
48638 * time/time.h: Likewise.
48639 * wcsmbs/bits/wchar2.h: Likewise.
48640 * wcsmbs/uchar.h: Likewise.
48641 * wcsmbs/wchar.h: Likewise.
48642 * wctype/wctype.h: Likewise.
48643
0269750c
UD
48644 [BZ #13551]
48645 * Makeconfig: Remove all but ELF support including AIX support.
48646 * Makerules: Likewise.
48647 * config.h.in: Likewise.
48648 * config.make.in: Likewise.
48649 * configure: Likewise.
48650 * configure.in: Likewise.
48651 * csu/Makefile: Likewise.
48652 * csu/version.c: Likewise.
48653 * debug/Makefile: Likewise.
48654 * dlfcn/Makefile: Likewise.
48655 * elf/Makefile: Likewise.
48656 * extra-lib.mk: Likewise.
48657 * iconv/Makefile: Likewise.
48658 * include/libc-symbols.h: Likewise.
48659 * include/shlib-compat.h: Likewise.
48660 * resolv/Makefile: Likewise.
48661 * resolv/res_libc.c: Likewise.
48662 * rt/Makefile: Likewise.
48663 * sysdeps/i386/asm-syntax.h: Likewise.
48664 * sysdeps/i386/sysdep.h: Likewise.
48665 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
48666 * sysdeps/mach/sysdep.h: Likewise.
48667 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
48668 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
48669 * sysdeps/s390/asm-syntax.h: Likewise.
48670 * sysdeps/s390/s390-32/sysdep.h: Likewise.
48671 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48672 * sysdeps/sh/sysdep.h: Likewise.
48673 * sysdeps/unix/sparc/sysdep.h: Likewise.
48674 * sysdeps/wordsize-32/divdi3.c: Likewise.
48675 * sysdeps/x86_64/sysdep.h: Likewise.
48676
00bbd29b
UD
48677 * argp/Versions: Remove _argp_unlock_xxx.
48678
48679 [BZ #13559]
48680 * abilist/ld.abilist: Update. Adjust for removal of tls option.
48681 * abilist/libBrokenLocale.abilist: Likewise.
48682 * abilist/libanl.abilist: Likewise.
48683 * abilist/libc.abilist: Likewise.
48684 * abilist/libcrypt.abilist: Likewise.
48685 * abilist/libdl.abilist: Likewise.
48686 * abilist/libm.abilist: Likewise.
48687 * abilist/libnsl.abilist: Likewise.
48688 * abilist/libpthread.abilist: Likewise.
48689 * abilist/libresolv.abilist: Likewise.
48690 * abilist/librt.abilist: Likewise.
48691 * abilist/libthread_db.abilist: Likewise.
48692 * abilist/libutil.abilist: Likewise.
48693 * abilist/libnss_db.abilist: New file.
48694
48695 * scripts/abilist.awk: Add support for indirect functions.
48696
a2693a0e
UD
48697 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
48698
3f05895f
UD
48699 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
48700
ecb6fb48
UD
48701 * shlib-versions: Remove entries for ports architectures.
48702
664f8cb9
UD
48703 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
48704 files in ports.
48705 * elf/stackguard-macros.h: Remove support for IA-64.
48706 * elf/tst-auditmod1.c: Likewise.
48707 * sysdeps/generic/ldsodefs.h: Likewise.
48708
7ae81d88
UD
48709 * sysdeps/unix/sysv/linux/configure.in: Ports should define
48710 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
48711 configure files.
48712
bdeba135
UD
48713 [BZ #13552]
48714 * configure.in: Remove --enable-omitfp support.
48715 * FAQ.in: Adjust.
48716 * config.make.in: Likewise.
48717 * Makeconfig: Likewise.
48718 * manual/install.texi: Likewise.
48719
d75a0a62
UD
48720 In case anyone cares, the IA-64 architecture could move to ports.
48721 * sysdeps/ia64/*: Removed.
48722 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 48723 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 48724
dcc9756b
UD
48725 [BZ #13555]
48726 * configure.in: Remove entries for unsupported architectures.
48727
d3761ebc 48728 [BZ #13533]
9954432e
UD
48729 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
48730 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
48731 routines.
48732 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
48733 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
48734 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
48735 fall back to using wcrtomb.
48736 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
48737 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
48738 renaming.
48739 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
48740 * wcsmbs/tst-c16c32-1.c: New file.
48741
48742 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
48743 local variable.
48744
c3a87236
UD
48745 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
48746
28926a1b
UD
48747 * elf/tst-unique3.cc: Add explicit declaration of gets.
48748 * elf/tst-unique3lib.cc: Likewise.
48749 * elf/tst-unique3lib2.cc: Likewise.
48750 * elf/tst-unique4.cc: Likewise.
48751
df78418a
UD
48752 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
48753
8ecd6b2a
JM
487542012-01-06 Joseph Myers <joseph@codesourcery.com>
48755
48756 [BZ #13566]
48757 * assert/assert.h (static_assert): Don't define for C++.
48758 * libio/stdio.h (gets): Do declare for C++ <= C++11.
48759 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
48760
9f115170
UD
487612012-01-03 Ulrich Drepper <drepper@gmail.com>
48762
5e0d0300
UD
48763 * iconv/loop.c (single loop): Fix assertion in storing of
48764 remaining bytes.
48765
9f115170
UD
48766 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
48767
81fb02b0
UD
487682012-01-01 Ulrich Drepper <drepper@gmail.com>
48769
48770 * posix/getconf.c: Update copyright year.
48771 * nss/getent.c: Likewise.
a316c1f6 48772 * nss/makedb.c: Likewise.
81fb02b0
UD
48773 * iconv/iconvconfig.c: Likewise.
48774 * iconv/iconv_prog.c: Likewise.
48775 * elf/ldconfig.c: Likewise.
a316c1f6
UD
48776 * elf/pldd.c: Likewise.
48777 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
48778 * catgets/gencat.c: Likewise.
48779 * csu/version.c: Likewise.
48780 * elf/ldd.bash.in: Likewise.
48781 * elf/sprof.c (print_version): Likewise.
48782 * locale/programs/locale.c: Likewise.
48783 * locale/programs/localedef.c: Likewise.
a316c1f6 48784 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
48785 * nscd/nscd.c (print_version): Likewise.
48786 * debug/xtrace.sh: Likewise.
48787 * malloc/memusage.sh: Likewise.
48788 * malloc/mtrace.pl: Likewise.
48789 * debug/catchsegv.sh: Likewise.
48790
2ba92745
JJ
487912011-12-30 Jakub Jelinek <jakub@redhat.com>
48792
48793 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
48794 pure attribute.
48795
dadebdae
UD
487962011-12-24 Ulrich Drepper <drepper@gmail.com>
48797
d3761ebc 48798 [BZ #13533]
db6af3eb
UD
48799 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
48800 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
48801 transformations.
48802 * iconv/gconv_int.h: Likewise.
48803 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
48804 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
48805 from libc for GLIBC_2.16.
48806 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
48807 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
48808 * wcsmbs/uchar.h: Really define mbstate_t.
48809 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
48810 * wcsmbs/c16rtomb.c: New file.
48811 * wcsmbs/mbrtoc16.c: New file.
48812 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
48813 for C/POSIX locale.
48814 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
48815 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
48816
dadebdae
UD
48817 * wcsmbs/wchar.h: Add missing __restrict.
48818
67371b56
UD
488192011-12-23 Ulrich Drepper <drepper@gmail.com>
48820
74033a25
UD
48821 [BZ #13532]
48822 * time/Makefile (routines): Add timespec_get.
48823 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
48824 * time/time.h: Define TIME_UTC and declare timespec_get. Define
48825 timespec for ISO C11.
48826 * time/timespec_get.c: New file.
48827 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
48828 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
48829
380d7e87
UD
48830 [BZ #13531]
48831 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
48832 * stdlib/stdlib.h: Declare aligned_alloc.
48833 * Versions.def: Add GLIBC_2.16 for libc.
48834 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
48835
4e9e7a35
UD
48836 [BZ 13527]
48837 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
48838 ISO C11.
48839
380d7e87 48840 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
48841 code.
48842
03a71829
UD
48843 [BZ #13528]
48844 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
48845
839e283e
UD
48846 [BZ #13529]
48847 * assert/assert.h (static_assert): Define.
48848
ce5294e2 48849 * version.h: Update for 2.16 development version.
90fa7312 48850
8d44e150 48851 [BZ #13526]
d7809905
UD
48852 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
48853 _ISOC11_SOURCE.
48854
c0da14cd
UD
48855 * version.h (RELEASE): Bump for 2.15 release.
48856 * include/features.h (__GLIBC_MINOR__): Bump to 15.
48857
530a3249
MP
48858 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
48859 Patch by Marek Polacek <mpolacek@redhat.com>.
48860
67371b56
UD
48861 * bits/byteswap.h: Protect long long constants with __extension__.
48862 * sysdeps/i386/bits/byteswap.h: Likewise.
48863 * sysdeps/ia64/bits/byteswap.h: Likewise.
48864 * sysdeps/s390/bits/byteswap.h: Likewise.
48865 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48866
15db4de1
LD
488672011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48868
48869 [BZ #13540]
bbe315ea
LD
48870 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
48871 destination buffer.
15db4de1
LD
48872 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
48873
2b2596b1
MP
488742011-12-23 Marek Polacek <polacek@redhat.com>
48875
48876 * elf/dl-addr.c (determine_info): Add inline keyword.
48877 * elf/tst-auditmod4b.c (check_avx): Likewise.
48878 * elf/tst-auditmod6b.c (check_avx): Likewise.
48879 * elf/tst-auditmod6c.c (check_avx): Likewise.
48880 * elf/tst-auditmod7b.c (check_avx): Likewise.
48881
70c6c246
UD
488822011-12-23 Ulrich Drepper <drepper@gmail.com>
48883
48884 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
48885 !__SSE_MATH__.
48886
c044cf14
LD
488872011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48888
15db4de1 48889 [BZ #13540]
c044cf14
LD
48890 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
48891 processing for last bytes.
48892
6b13d9d9
BH
488932011-08-06 Bruno Haible <bruno@clisp.org>
48894
d455f537
BH
48895 [BZ #13061]
48896 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
48897 U+0385, not to U+1FEE.
48898
6b13d9d9
BH
48899 [BZ #13062]
48900 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
48901 entry for U+00A5 U+0301.
48902
db910efd
UD
489032011-12-22 Ulrich Drepper <drepper@gmail.com>
48904
27deeafc
UD
48905 [BZ #13166]
48906 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
48907 buffer for the output is too small.
48908
aed9d171
UD
48909 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
48910 optimization.
48911
db910efd
UD
48912 [BZ #13185]
48913 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
48914 SSE flags if possible.
48915
2bd779ae
LD
489162011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48917
e7f9dac3 48918 [BZ #13540]
2bd779ae
LD
48919 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
48920 processing for last bytes.
48921
154bfc16
JM
489222011-12-22 Joseph Myers <joseph@codesourcery.com>
48923
48924 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
48925 (syscall-list-default-options, syscall-list-default-condition)
48926 (syscall-list-includes): Define.
48927 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
48928 list of ABIs and options and #if conditions for each ABI. Do not
48929 handle common syscalls between ABIs specially.
48930 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
48931 Remove.
48932 (syscall-list-variants, syscall-list-32bit-options)
48933 (syscall-list-32bit-condition, syscall-list-64bit-options)
48934 (syscall-list-64bit-condition): Define.
48935 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
48936 (syscall-list-variants, syscall-list-32bit-options)
48937 (syscall-list-32bit-condition, syscall-list-64bit-options)
48938 (syscall-list-64bit-condition): Define.
48939 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
48940 Remove.
48941 (syscall-list-variants, syscall-list-32bit-options)
48942 (syscall-list-32bit-condition, syscall-list-64bit-options)
48943 (syscall-list-64bit-condition): Define.
48944 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
48945 Remove.
48946 (syscall-list-variants, syscall-list-32bit-options)
48947 (syscall-list-32bit-condition, syscall-list-64bit-options)
48948 (syscall-list-64bit-condition): Define.
48949
21eaf3a5
UD
489502011-12-22 Ulrich Drepper <drepper@gmail.com>
48951
16c6f992
UD
48952 * locale/iso-639.def: Add brx entry.
48953
41043168
UD
48954 [BZ #13328]
48955 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
48956 Proposed by Mariusz_Cukr <marcukr@op.pl>.
48957
21eaf3a5
UD
48958 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
48959 __feraiseexcept_renamed.
48960
e3a851a2
UD
489612011-12-21 Ulrich Drepper <drepper@gmail.com>
48962
4920765e
UD
48963 [BZ #13538]
48964 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
48965 EPOLLET with unsigned values.
48966 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48967 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
48968
e3a851a2
UD
48969 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
48970 to large cancellation.
48971 * math/s_cacoshf.c: Likewise.
48972 * math/s_cacoshl.c: Likewise.
48973
b27e24b8
RK
489742011-11-18 Richard B. Kreckel <kreckel@ginac.de>
48975
48976 [BZ #13305]
aebefeee 48977 [BZ #12786]
b27e24b8
RK
48978 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
48979 * math/s_cacoshf.c: Likewise.
48980 * math/s_cacoshl.c: Likewise.
48981
ee190f67
UD
489822011-12-21 Ulrich Drepper <drepper@gmail.com>
48983
48984 [BZ #13439]
48985 * iconv/gconv.h: Define __GCONV_SWAP.
48986 * iconvdata/unicode.c: The swap bit must be stored in __flags.
48987 * iconvdata/utf-16.c: Likewise.
48988 * iconvdata/utf-32.c: Likewise.
48989
707f25df
AS
489902011-12-21 Andreas Schwab <schwab@linux-m68k.org>
48991
48992 [BZ #13524]
48993 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
48994 numerator after shifting it by one limb.
48995
d2daaa1e
RÁE
489962011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
48997
48998 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
48999 under [__USE_EXTERN_INLINES].
49000
a4647e72
UD
490012011-12-17 Ulrich Drepper <drepper@gmail.com>
49002
49003 [BZ #13446]
49004 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
49005
f0b264f1
AZ
490062011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49007
49008 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
49009 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
49010 optimized code.
49011 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
49012 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
49013 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
49014 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
49015 for strncasecmp/strncasecmp_l compilation.
49016 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
49017 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
49018
8ef4f244
MP
490192011-12-08 Marek Polacek <mpolacek@redhat.com>
49020
49021 [BZ #13484]
49022 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
49023 of __asm__.
49024
97ac2654
UD
490252011-12-17 Ulrich Drepper <drepper@gmail.com>
49026
49027 [BZ #13506]
49028 * time/tzfile.c (__tzfile_read): Check values from file header.
49029
91d2a845
WS
490302011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
49031
49032 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
49033 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
49034 * powerpc/powerpc32/dl-start.S: Likewise.
49035 * powerpc/powerpc32/elf/start.S: Likewise.
49036 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
49037 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
49038 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
49039 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
49040 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
49041 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
49042 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
49043 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
49044 * powerpc/powerpc32/fpu/s_round.S: Likewise.
49045 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
49046 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
49047 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
49048 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
49049 * powerpc/powerpc32/memset.S: Likewise.
49050 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
49051 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
49052 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
49053 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
49054 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
49055 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
49056 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
49057 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
49058 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
49059 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
49060 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
49061 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49062 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49063
a1267ba1
AZ
490642011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49065
49066 * math/libm-test.inc: Added more nearbyint tests.
49067 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
49068 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
49069 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
49070 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
49071
ad8ac1bd
RL
490722011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
49073
49074 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
49075 FD_CLOEXEC.
49076
1d3e4b61
UD
490772011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49078
49079 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
49080 Add wcscpy-ssse3 wcscpy-c.
49081 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
49082 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
49083 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
49084 * sysdeps/x86_64/wcschr.S: New file.
49085 * sysdeps/x86_64/wcsrchr.S: New file.
49086 * string/test-strcmp.c: Remove checking of wcscmp function for
49087 wrong alignments.
49088 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
49089 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
49090 wcsrchr-sse2 wcsrchr-c.
49091 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
49092 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
49093 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
49094 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
49095 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
49096 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
49097 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
49098 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
49099 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
49100 * wcsmbc/wcschr.c (WCSCHR): New macro.
49101
5b330a2d
UD
491022011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49103
49104 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
49105 * wcsmbs/test-wcsrchr.c: New file.
49106 * string/test-strrchr.c: Add wcsrchr support.
49107 (WIDE): New macro.
49108 * wcsmbs/test-wcscpy.c: New file.
49109 * string/test-strcpy.c: Add wcscpy support.
49110 (WIDE): New macro.
26428b7c 49111
f039c043
UD
491122011-12-10 Ulrich Drepper <drepper@gmail.com>
49113
49114 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
49115 the inner loop.
49116
850fb039
AS
491172011-12-06 Andreas Schwab <schwab@linux-m68k.org>
49118
49119 [BZ #13472]
49120 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
49121
4efbd5cb
UD
491222011-12-04 Ulrich Drepper <drepper@gmail.com>
49123
52ff5dd0 49124 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 49125 Minor optimizations.
52ff5dd0 49126
4efbd5cb
UD
49127 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
49128 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
49129 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
49130
8a426e12
UD
491312011-12-03 Ulrich Drepper <drepper@gmail.com>
49132
aff2453d
UD
49133 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
49134 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
49135 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
49136 for gcc to avoid warnings.
49137 * inet/Makefile (tests): Add tst-checks.
49138 * inet/tst-checks.c: New file.
49139
49140 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
49141 warning.
49142
49143 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
49144 __wmemcmp_sse2.
49145
49146 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
49147 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
49148
8a426e12
UD
49149 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
49150
9bea3473
UD
491512011-12-02 Ulrich Drepper <drepper@gmail.com>
49152
3a965496
UD
49153 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
49154 problem.
49155
9bea3473
UD
49156 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
49157
f101631b
UD
491582011-11-29 Joseph Myers <joseph@codesourcery.com>
49159
49160 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
49161 conditional on GCC version.
49162 (__arch_compare_and_exchange_val_8_acq)
49163 (__arch_compare_and_exchange_val_16_acq)
49164 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
49165 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
49166 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
49167
a98275aa
UD
491682011-12-02 Joseph Myers <joseph@codesourcery.com>
49169
49170 * sysdeps/sh/backtrace.c: New file.
49171
d4cc29a2
AS
491722011-12-02 Andreas Schwab <schwab@redhat.com>
49173
49174 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
49175 parenthesis.
49176
6257af2d
AS
491772011-12-01 Andreas Schwab <schwab@redhat.com>
49178
49179 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
49180 falling back to utime.
49181
b5f44c1a
AS
491822011-11-30 Andreas Schwab <schwab@redhat.com>
49183
49184 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
49185 expectations for float.
49186
f3a6cc0a
AS
491872011-11-29 Andreas Schwab <schwab@redhat.com>
49188
49189 * locale/weight.h (findidx): Add parameter len.
49190 * locale/weightwc.h (findidx): Likewise.
49191 * posix/fnmatch_loop.c (FCT): Adjust caller.
49192 * posix/regcomp.c (build_equiv_class): Likewise.
49193 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
49194 * posix/regexec.c (check_node_accept_bytes): Likewise.
49195 * string/strcoll_l.c (STRCOLL): Likewise.
49196 * string/strxfrm_l.c (STRXFRM): Likewise.
49197
9d65ea3a
UD
491982011-11-17 Ulrich Drepper <drepper@gmail.com>
49199
49200 * Makefile.in: Remove CVSOPT handling.
49201 * configure.in: Remove use of AC_REVISION.
49202 * iconvdata/Makefile (distribute): No need to filter out CVS.
49203 * scripts/list-sources.sh: Remove CVS, subversion and monotone
49204 handling.
49205
5583a086
AS
492062011-11-16 Andreas Schwab <schwab@redhat.com>
49207
49208 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
49209 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
49210 [USE_AS_STRNCASECMP_L]: Likewise.
49211 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
49212 NO_TLS_DIRECT_SEG_REFS.
49213 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
49214 Fix argument offsets for non-PIC.
49215 [USE_AS_STRNCASECMP_L]: Likewise.
49216 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
49217 NO_TLS_DIRECT_SEG_REFS.
49218
d62a8200
UD
492192011-11-15 Ulrich Drepper <drepper@gmail.com>
49220
9d65ea3a 49221 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
49222 O_CLOEXEC.
49223 * locale/loadlocale.c (_nl_load_locale): Likewise.
49224
09f93bd3
AS
492252011-11-15 Andreas Schwab <schwab@redhat.com>
49226
446514f9
AS
49227 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
49228 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
49229 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
49230 (SYSCALL_GETTIME): Set errno on error.
49231
09f93bd3
AS
49232 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
49233 count references to noai6ai_cached.
49234
312be3f9
UD
492352011-11-15 Ulrich Drepper <drepper@gmail.com>
49236
49237 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
49238
49239 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
49240 FD_CLOEXEC for /proc/self/maps.
49241
49242 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
49243 FD_CLOEXEC for /proc/meminfo.
49244
49245 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
49246 gai.conf.
49247
49248 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
49249 FD_CLOEXEC for given file.
49250
49251 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
49252
49253 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
49254 FD_CLOEXEC for /etc/hosts.
49255 (_gethtent): Likewise.
49256
49257 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
49258
49259 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
49260 cancellation and set FD_CLOEXEC for /etc/netgroup.
49261
49262 * nss/nss_files/files-key.c (search): Don't allow cancellation when
49263 reading /etc/publickey.
49264
49265 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
49266 allow cancellation when reading /etc/group.
49267
49268 * nss/nss_files/files-alias.c (internal_setent): Don't allow
49269 cancellation.
49270 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
49271
49272 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
49273 when using data file.
49274
49275 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
49276
49277 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
49278 (write_nis_obj): Use "c" and "e" in fopen.
49279
49280 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
49281
49282 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
49283
49284 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
49285
49286 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
49287
49288 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
49289 locale.alias.
49290
49291 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
49292
49293 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
49294
49295 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
49296
49297 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
49298 file parsing and set FD_CLOEXEC.
49299
82af0fa8
UD
493002011-11-14 Ulrich Drepper <drepper@gmail.com>
49301
49302 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
49303
a5fb313c
AS
493042011-11-14 Andreas Schwab <schwab@redhat.com>
49305
49306 * malloc/arena.c (arena_get2): Don't call reused_arena when
49307 _int_new_arena failed.
49308
6abf3465
UD
493092011-11-14 Ulrich Drepper <drepper@gmail.com>
49310
49311 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
49312 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
49313 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
49314 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49315 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49316 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
49317 to compile strcasecmp and strncasecmp.
49318 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
49319 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
49320
49321 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
49322
76e3966e
UD
493232011-11-13 Ulrich Drepper <drepper@gmail.com>
49324
49325 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
49326 locale-defines.sym to gen-as-const-headers.
49327 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
49328 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
49329 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
49330 to compile strcasecmp and strncasecmp.
49331 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
49332 strcasecmp_l and strncasecmp_l.
49333 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
49334 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
49335 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
49336 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
49337 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
49338 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
49339 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
49340 * sysdeps/i386/i686/multiarch/strncase.S: New file.
49341 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
49342 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
49343 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
49344
ab26144e
UD
493452011-11-12 Ulrich Drepper <drepper@gmail.com>
49346
7edb22ef
UD
49347 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
49348 result of SYSDEP_GETTIME_CPU to retval.
49349 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
49350 parameter list to macro. Remove trailing semicolon. Adjust users.
49351
9694fc44
UD
49352 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
49353 variable.
49354
8ad89ef8
UD
49355 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
49356 mantissa words.
49357 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
49358
0c822ef9
UD
49359 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
49360 from unused variable.
49361
874e0564
UD
49362 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
49363 DWARF definitions.
49364 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
49365 for assembling.
49366
3a2edc79
UD
49367 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
49368 over namespaces.
49369
f3c2577f
UD
49370 * sunrpc/rpc_prot.c (rejected): Fix case value.
49371
294ce126
UD
49372 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
49373 unsigned long long int to avoid warnings in shift.
49374
5e2b63c6
UD
49375 * posix/regex_internal.c (re_string_reconstruct): Actually use result
49376 of use of trans.
49377 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
49378 variable tmp.
49379
e7f4b08e
UD
49380 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
49381 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
49382 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
49383
ab26144e
UD
49384 * nis/nis_table.c (nis_list): Use variable of correct type for
49385 result of __follow_path call.
49386
8a6d5255
AZ
493872011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49388
49389 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
49390 of math functions ceil, trunc, floor, round, and sqrt, when
49391 avaliable on the platform.
49392 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
49393 name clash.
49394 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49395 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
49396 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
49397
aaddc98c
MP
493982011-10-30 Marek Polacek <mpolacek@redhat.com>
49399
49400 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
49401 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
49402
95b7042b
RM
494032011-11-11 Roland McGrath <roland@hack.frob.com>
49404
49405 * include/unistd.h: Fix __readlink return type.
49406 Reported by Chris Metcalf <cmetcalf@tilera.com>.
49407
57769839
UD
494082011-11-11 Ulrich Drepper <drepper@gmail.com>
49409
49410 * stdlib/ucontext.h: Undo last change for makecontext.
49411
edc5984d
AS
494122011-11-11 Andreas Schwab <schwab@redhat.com>
49413
98591e58
AS
49414 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
49415
edc5984d
AS
49416 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
49417 * setjmp/setjmp.h: Mark functions as non-leaf.
49418 * setjmp/bits/setjmp2.h: Likewise.
49419 * stdlib/ucontext.h: Likewise.
49420
77cdc054
AS
494212011-11-10 Andreas Schwab <schwab@redhat.com>
49422
49423 * malloc/arena.c (_int_new_arena): Don't increment narenas.
49424 (reused_arena): Don't check arena limit.
49425 (arena_get2): Atomically check arena limit.
49426
fe72eebd
UD
494272011-11-08 Ulrich Drepper <drepper@gmail.com>
49428
5f078c32
UD
49429 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
49430 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
49431
fe72eebd
UD
49432 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
49433 instructions.
49434
ae1bc2fa
AS
494352011-11-07 Andreas Schwab <schwab@redhat.com>
49436
7583a88d
AS
49437 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
49438 handler when locking.
49439
ae1bc2fa
AS
49440 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
49441 Fix size of allocated buffer.
49442
10fb0bfa
AS
494432011-11-04 Andreas Schwab <schwab@redhat.com>
49444
998832a4
AS
49445 [BZ #10103]
49446 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
49447 declarations for long double functions.
49448 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
49449
10fb0bfa
AS
49450 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
49451
3d7ba52b
AS
494522011-11-03 Andreas Schwab <schwab@redhat.com>
49453
a9ae54a1
AS
49454 * nscd/nscd.c (main): Don't start AVC thread until credentials are
49455 installed.
49456
3d7ba52b
AS
49457 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
49458 is disabled.
49459
bc8db248
ST
494602011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
49461
49462 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
49463
45b96dd6
AS
494642011-11-01 Andreas Schwab <schwab@linux-m68k.org>
49465
647776f6
AS
49466 * include/alloca.h (stackinfo_alloca_round): Define.
49467 (extend_alloca): Use it.
49468 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
49469 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
49470 here.
49471
d91a8b93
AS
49472 * scripts/check-local-headers.sh: Ignore libaudit.h.
49473
45b96dd6
AS
49474 * nscd/Makefile (extra-objs): Make recursively expanded.
49475
432d41ce
UD
494762011-11-01 Ulrich Drepper <drepper@gmail.com>
49477
34372fc6
UD
49478 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
49479 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
49480
fadb59f8
UD
49481 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
49482 * posix/tst-rfc3484-2.c: Likewise.
49483 * posix/tst-rfc3484-3.c: Likewise.
49484
78239589
UD
49485 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49486 process_vm_writev.
49487 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
49488 process_vm_writev.
49489 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
49490 process_vm_writev from libc using GLIBC_2.15 version.
49491
432d41ce
UD
49492 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
49493
02f9c6cf
PP
494942011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
49495
49496 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
49497 stack usage.
49498
3a2c0242
UD
494992011-10-31 Ulrich Drepper <drepper@gmail.com>
49500
f4ec4833
UD
49501 [BZ #13367]
49502 * nss/getent.c (initgroups_keys): Show error message in case no group
49503 names are given.
49504
3a2c0242
UD
49505 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
49506 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
49507 __bump_nl_timestamp.
49508 * nscd/connections (nscd_init): When host database is served open
49509 netlink socket and request notification about configuration changes.
49510 (main_loop_poll): Track netlink file descriptor and bump timestamp
49511 in case data becomes available.
49512 (main_loop_epoll): Likewise.
49513 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
49514 (database_pers_head): Add extra_data fileds.
49515 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
49516 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
49517 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
49518 Adjust caller.
49519 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
49520 in6ai data, call __free_in6ai.
49521 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
49522 Add -DHAVE_NETLINK.
49523 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
49524 interface information. Reuse previous data if netlink timestamp
49525 is not changed.
49526 (__bump_nl_timestamp): New function.
49527 (__free_in6ai): New function.
49528
636064eb
UD
495292011-10-30 Ulrich Drepper <drepper@gmail.com>
49530
49531 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
49532 close_not_cancel_no_status here.
49533 (__check_pf): Reorganize code a bit to not call close twice if OOM.
49534
9beb2334
UD
495352011-10-29 Ulrich Drepper <drepper@gmail.com>
49536
6ef76f3b
UD
49537 [BZ #13276]
49538 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
49539 return value.
49540
0ffc4f3e 49541 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
49542 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
49543 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
49544
cb95113e
UD
495452011-07-03 Andreas Jaeger <aj@suse.de>
49546
49547 [BZ #10709]
49548 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
49549 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
49550 * math/libm-test.inc (sin_test): Add test case.
49551
a1b560ff
UD
495522011-10-29 Ulrich Drepper <drepper@gmail.com>
49553
c9aaface
UD
49554 [BZ #13337]
49555 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
49556 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
49557
d272e7f1
UD
49558 * elf/chroot_canon.c (chroot_canon): Cleanups.
49559
1bc33071
UD
49560 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
49561
1760874d
TJ
49562 [BZ #13335]
49563 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
49564 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
49565
51d91b18
UD
49566 * string/test-strchr.c: Make usable for strchrnul testing.
49567 * string/test-strchrnul.c: New file.
49568 * string/Makefile (strop-tests): Add strchrnul.
49569
a1b560ff 49570 * po/it.po: Update from translation team.
b611fb81 49571 * po/es.po: Likewise.
a1b560ff 49572
a5b81e1f
UD
495732011-10-28 Ulrich Drepper <drepper@gmail.com>
49574
fd52bc6d
UD
49575 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
49576 the three constants needed as parameters. Drop the others.
49577 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
49578 __m128i_strloadu_tolower.
52e4b9eb
UD
49579 Create and initialize variable zero and use it in all the places
49580 where _mm_setzero_si128 was used.
fd52bc6d 49581
a5b81e1f
UD
49582 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
49583 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
49584 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
49585 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
49586 anymore.
49587 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
49588 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
49589 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
49590 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
49591 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
49592 __mpranred, __mptan.
49593 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
49594 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
49595 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
49596 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
49597 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
49598 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
49599 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
49600 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
49601 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
49602
b4343346
AS
496032011-10-28 Andreas Schwab <schwab@redhat.com>
49604
0c92d8a8
AS
49605 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
49606 redefine if SHARED.
49607 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
49608
b4343346
AS
49609 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
49610 wide char related routines to wcsmbs subdir.
49611
3871f58f
AS
496122011-10-27 Andreas Schwab <schwab@redhat.com>
49613
49614 [BZ #13344]
49615 * misc/sys/cdefs.h (__THROWNL): Define.
49616 * posix/unistd.h: Use __THREADNL instead of __THREAD
49617 for memory synchronization functions.
49618
94d44d9f
RM
496192011-10-26 Roland McGrath <roland@hack.frob.com>
49620
21b64b15 49621 [BZ #13349]
94d44d9f
RM
49622 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
49623 doesn't exist.
49624 * manual/stdio.texi (Obstack Streams): Node removed.
49625
f6ce9294
AS
496262011-10-26 Andreas Schwab <schwab@redhat.com>
49627
80479147
AS
49628 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
49629 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49630 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49631
f6ce9294
AS
49632 * math/math_private.h (math_force_eval): Allow non-addressable
49633 arguments.
49634 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
49635
618280a1
UD
496362011-10-25 Ulrich Drepper <drepper@gmail.com>
49637
e0016b11
UD
49638 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
49639 file is not needed.
49640
49641 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
49642 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
49643 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49644 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49645 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49646 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49647 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49648 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
49649 Add AVX variants.
49650 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
49651 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
49652 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
49653 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
49654 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
49655 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
49656 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
49657 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
49658 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
49659 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
49660 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
49661 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
49662 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
49663 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
49664 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
49665 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
49666 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
49667 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
49668 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
49669
49670 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
49671 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
49672
618280a1
UD
49673 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
49674 place. Use VEX encoding when compiling for AVX.
49675
37822576
AS
496762011-10-25 Andreas Schwab <schwab@redhat.com>
49677
1f1e1947
AS
49678 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
49679 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
49680
37822576
AS
49681 * string/test-strchr.c (do_test): Don't generate NUL bytes.
49682
31ea014d
UD
496832011-10-25 Ulrich Drepper <drepper@gmail.com>
49684
d7826aa1 49685 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 49686 useless if() expression.
d7826aa1
UD
49687 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49688 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
49689 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
49690 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49691 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
49692 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49693 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49694 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49695 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
49696 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49697 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49698 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49699 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
49700 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49701 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
49702 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49703 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49704 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49705 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
49706
31ea014d
UD
49707 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
49708
16437fec
AS
497092011-10-25 Andreas Schwab <schwab@redhat.com>
49710
49711 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
49712 condition.
49713 * elf/dl-fini.c (_dl_sort_fini): Likewise.
49714
31d3cc00
UD
497152011-10-25 Ulrich Drepper <drepper@gmail.com>
49716
49717 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
49718 .text section. Avoid duplicate constants.
49719 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
49720 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49721 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49722 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49723 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49724 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49725 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49726 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49727 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
49728 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
49729 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
49730 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
49731 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
49732 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
49733 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
49734 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
49735 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
49736 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
49737 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49738 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49739 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
49740 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
49741 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
49742 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
49743 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
49744 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
49745 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
49746 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
49747 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
49748 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
49749 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
49750 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
49751 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
49752 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
49753 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
49754 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
49755 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
49756 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
49757 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
49758 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
49759 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
49760 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
49761 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
49762 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
49763 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
49764
58985aa9
UD
497652011-10-24 Ulrich Drepper <drepper@gmail.com>
49766
202c9deb
UD
49767 * sysdeps/x86_64/dla.h: Move to ...
49768 * sysdeps/x86_64/fpu/dla.h: ...here.
49769 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
49770 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 49771
af968f62
UD
49772 * config.make.in: Add have-mfma4 entry.
49773 * configure.in: Substitute libc_cv_cc_fma4.
49774 * math/Makefile (dbl-only-routines): Add sincostab.
49775 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
49776 Use __sincostab not sincos.
49777 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
49778 name is a macro.
49779 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49780 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49781 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49782 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
49783 using __copysign.
49784 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
49785 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
49786 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
49787 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
49788 and __inv.
49789 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
49790 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
49791 __copysign.
49792 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
49793 define aliases when function name is a macro.
49794 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
49795 sysdeps/ieee754/dbl-64/sincos.tbl.
49796 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
49797 fma4-enabled routines.
49798 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
49799 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
49800 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
49801 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
49802 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
49803 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
49804 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
49805 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
49806 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
49807 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
49808 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
49809 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
49810 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
49811 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
49812 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
49813 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
49814 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
49815 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
49816 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
49817 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
49818 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
49819 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
49820 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
49821 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
49822 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
49823 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
49824 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
49825 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
49826 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
49827 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
49828
58985aa9
UD
49829 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
49830 rename.
49831 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49832 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49833 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49834 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49835 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49836 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49837 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49838 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49839
a201fbcf
AS
498402011-10-24 Andreas Schwab <schwab@redhat.com>
49841
49842 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
49843
fc2ee42a
LD
498442011-10-23 Ulrich Drepper <drepper@gmail.com>
49845
bb3129bd
UD
49846 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
49847
0275fff8
UD
49848 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
49849 prediction.
49850 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
49851
2fa2ae85
UD
49852 * string/strnlen.c: Don't define STRNLEN, reverse logic.
49853 Remove unused variable magic_bits.
49854 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
49855
fc2ee42a
LD
49856 * string/strnlen.c: Define and use STRNLEN macro.
49857 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
49858 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
49859 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
49860 * wcsmbs/wcslen.c: Define and use WCSLEN.
49861 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
49862 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
49863 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
49864 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
49865 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
49866 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
49867 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
49868
ce7dd29f
LD
498692011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49870
49871 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49872 strnlen-sse2-no-bsf.
49873 Rename strlen-no-bsf to strlen-sse2-no-bsf.
49874 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
49875 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
49876 Add strnlen support.
49877 (USE_AS_STRNLEN): New macro.
49878 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
49879 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
49880 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
49881 * sysdeps/x86_64/wcslen.S: New file.
49882
979c70a3
MZ
498832011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
49884
49885 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
49886 XMM-moves are used for copying on small sizes.
49887
2d09f82f
LD
498882011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49889
49890 * wcsmbs/Makefile (strop-tests): Add wcschr.
49891 * wcsmbs/test-wcschr.c: New file.
49892 * string/test-strchr.c: Update.
49893 Add wcschr support.
49894 (WIDE): New macro.
49895
619fccca
LD
498962011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49897
2d09f82f 49898 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
49899 * wcsmbs/test-wcslen.c: New file.
49900 * string/test-strlen.c: Update.
49901 Add wcslen support.
49902 (WIDE): New macro.
49903
09f699ea
UD
499042011-10-23 Ulrich Drepper <drepper@gmail.com>
49905
49906 * po/it.po: Update from translation team.
49907
95584d3b
LD
499082011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49909
49910 * sysdeps/x86_64/wcscmp.S: Update.
49911 Fix wrong comparison semantics.
49912 wcscmp shall use signed comparison not unsigned.
49913 Don't use substraction to avoid overflow bug.
49914 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
49915 * wcsmbc/wcscmp.c: Likewise.
49916 * string/test-strcmp.c: Likewise.
49917 Add new tests to check cases with negative values.
49918
c8b3296b
UD
499192011-10-23 Ulrich Drepper <drepper@gmail.com>
49920
49921 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
49922 * sysdeps/x86_64/dla.h: ...here. New file.
49923 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
49924 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49925 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49926 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49927 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49928 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49929 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49930 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49931 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49932
246ad57a
AS
499332011-10-23 Andreas Schwab <schwab@linux-m68k.org>
49934
49935 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
49936 __ynl_finite aliases.
49937
a1a87169
UD
499382011-10-22 Ulrich Drepper <drepper@gmail.com>
49939
0d355eb7
UD
49940 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49941
a1a87169
UD
49942 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
49943 define DLA_FMA.
49944 [DLA_FMA] (EMULV): Use DLA_FMA.
49945 [DLA_FMA] (MUL12): Use EMULV.
49946 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
49947 that are not needed.
49948 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49949 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49950 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49951 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49952 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49953 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49954 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49955
ee2aafe0
AS
499562011-10-22 Andreas Schwab <schwab@linux-m68k.org>
49957
49958 * math/s_nan.c: Undef __nan.
49959 * math/s_nanf.c: Undef __nanf.
49960 * math/s_nanl.c: Undef __nanl.
49961 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
49962 "math_private.h".
49963
bc62c2fb
UD
499642011-10-22 Ulrich Drepper <drepper@gmail.com>
49965
77425c63
UD
49966 * math/s_catan.c: Add branch predictions.
49967 * math/s_catanf.c: Likewise.
49968 * math/s_catanh.c: Likewise.
49969 * math/s_catanhf.c: Likewise.
49970 * math/s_catanhl.c: Likewise.
49971 * math/s_catanl.c: Likewise.
49972 * math/s_cexp.c: Likewise.
49973 * math/s_cexpf.c: Likewise.
49974 * math/s_cexpl.c: Likewise.
49975 * math/s_clog.c: Likewise.
49976 * math/s_clog10.c: Likewise.
49977 * math/s_clog10f.c: Likewise.
49978 * math/s_clog10l.c: Likewise.
49979 * math/s_clogf.c: Likewise.
49980 * math/s_clogl.c: Likewise.
49981 * math/s_csqrt.c: Likewise.
49982 * math/s_csqrtf.c: Likewise.
49983 * math/s_csqrtl.c: Likewise.
49984 * math/s_ctanf.c: Likewise.
49985 * math/s_ctanh.c: Likewise.
49986 * math/s_ctanhf.c: Likewise.
49987 * math/s_ctanhl.c: Likewise.
49988 * math/s_ctanl.c: Likewise.
49989
bc62c2fb
UD
49990 * math/math_private.h: Define __nan, __nanf, __nanl.
49991 * math/s_cacosh.c: Include <math_private.h>.
49992 * math/s_cacoshl.c: Likewise.
49993 * math/s_casinh.c: Likewise.
49994 * math/s_casinhf.c: Likewise.
49995 * math/s_casinhl.c: Likewise.
49996 * math/s_ccos.c: Rely entire on ccosh.
49997 * math/s_ccosf.c: Rely entire on ccoshf.
49998 * math/s_ccosl.c: Rely entirely on ccoshl.
49999 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
50000 Remove tests for FE_INVALID.
50001 * math/s_ccoshf.c: Likewise.
50002 * math/s_ccoshl.c: Likewise.
50003 * math/s_csin.c: Likewise.
50004 * math/s_csinf.c: Likewise.
50005 * math/s_csinh.c Likewise.
50006 * math/s_csinhf.c: Likewise.
50007 * math/s_csinhl.c: Likewise.
50008 * math/s_csinl.c: Likewise.
50009 * math/s_ctan.c: Likewise.
50010 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
50011 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
50012 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
50013
8ec250a4
UD
500142011-10-21 Ulrich Drepper <drepper@gmail.com>
50015
c196fed8
UD
50016 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
50017 compilation problems.
50018
8ec250a4
UD
50019 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
50020 __builtin_expect.
50021
8d4f46c6
UD
500222011-10-20 Ulrich Drepper <drepper@gmail.com>
50023
ed72b654
UD
50024 * sysdeps/i386/configure.in: Test for -mfma4 option.
50025 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
50026 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
50027 COMMON_CPUID_INDEX_80000001.
50028 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
50029 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
50030 use it if FMA3 is not supported.
50031 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
50032
8d4f46c6
UD
50033 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
50034 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
50035
d45c60c2
AS
500362011-10-20 Andreas Schwab <schwab@redhat.com>
50037
50038 [BZ #12892]
50039 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
50040 it would create a cycle with a link time dependency.
50041
d9a4d2ab
UD
500422011-10-19 Ulrich Drepper <drepper@gmail.com>
50043
855d1560
UD
50044 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
50045 instruction.
50046 * string/Makefile (strop-tests): Add rawmemchr.
50047 * string/test-rawmemchr.c: New file.
50048
d9a4d2ab
UD
50049 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
50050 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
50051 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
50052 when compiling str{,n}casecmp and when AVX is available. Hook up
50053 new optimized code in initializers.
50054
8f3b1ffe
AS
500552011-10-19 Andreas Schwab <schwab@redhat.com>
50056
50057 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
50058 __feraiseexcept instead of feraiseexcept.
50059
d38f1dba
UD
500602011-10-18 Ulrich Drepper <drepper@gmail.com>
50061
d9a8d0ab
UD
50062 * math/math_private.h: Define defaults for libc_fetestexcept and
50063 libc_feupdateenv.
50064 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
50065 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
50066 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
50067 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
50068 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
50069 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
50070 libc_fetestexcept and libc_feupdateenv.
50071
4855e3dd
UD
50072 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
50073 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
50074 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
50075 * sysdeps/x86_64/fpu/math_private.h: Define special version of
50076 libc_feholdexcept_setround.
50077
581d30e3
UD
50078 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
50079 Add s_nearbyint-c and s_nearbyintf-c.
50080 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
50081 nearbyintf inlines.
50082 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
50083 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
50084 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
50085 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
50086
d38f1dba
UD
50087 * math/math_private.h: Define defaults for libc_fegetround,
50088 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
50089 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
50090 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
50091 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
50092 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
50093 standard functions.
50094 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50095 Remove comments and hacks for old compiler versions.
50096 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
50097 libc_fegetround, libc_fesetround, libc_feholdexcept, and
50098 libc_feholdexceptl.
50099
caa6c9d8
AS
501002011-10-18 Andreas Schwab <schwab@redhat.com>
50101
50102 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
50103 (__feraiseexcept_renamed): Add __NTH.
50104 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
50105 namespace violations.
50106
97c066e6
UD
501072011-10-17 Ulrich Drepper <drepper@gmail.com>
50108
99ce7b04
UD
50109 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
50110
1004d182
UD
50111 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
50112
228a984d
UD
50113 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
50114 recently added interfaces.
50115 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
50116
c8553a6a
UD
50117 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
50118 about macro parameter expansion.
50119
ed22dcf6
UD
50120 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
50121 __NO_MATH_INLINES is defined. Cleanups.
50122
50123 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
50124 and __floorf is target has SSE4.1.
50125 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
50126 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
50127 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
50128 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
50129
b171c137
UD
50130 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
50131 name.
50132 (floorf): Likewise.
50133
97c066e6
UD
50134 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
50135
629f62ef
AS
501362011-10-17 Andreas Schwab <schwab@redhat.com>
50137
49a43d80
AS
50138 * misc/sys/cdefs.h: Fix last change.
50139
629f62ef
AS
50140 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
50141 database lookup.
50142
e453f6cd
UD
501432011-10-16 Ulrich Drepper <drepper@gmail.com>
50144
aa78043a
UD
50145 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
50146
ad0f5cad
UD
50147 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
50148 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50149 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
50150 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50151 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50152 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
50153 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50154 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50155 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
50156 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
50157 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
50158 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
50159 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
50160 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
50161 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
50162 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
50163 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
50164 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
50165 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
50166 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
50167 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
50168 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
50169
50170 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
50171 ceil, ceilf, floor, floorf.
50172
50173 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
50174 Perform IRELATIVE relocations last.
50175
e453f6cd
UD
50176 * elf/do-rel.h: Add another parameter nrelative, replacing the
50177 local variable with the same name. Change name of the function
50178 to end in Rel or Rela (uppercase).
50179 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
50180 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
50181 elf_dynamic_do_##reloc function.
50182
fd5bdc09
UD
501832011-10-15 Ulrich Drepper <drepper@gmail.com>
50184
79b195b5
UD
50185 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
50186 is sufficient, at least on modern CPUs.
50187
d4a28569
UD
50188 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
50189
b61099b5
UD
50190 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
50191 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
50192
bcf01e6d
UD
50193 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
50194 __expl_finite.
50195 * math/bits/math-finite.h: Add entries for exp.
50196 * math/e_expl.c: Add __*_finite alias.
50197 * sysdeps/i386/fpu/e_exp.S: Likewise.
50198 * sysdeps/i386/fpu/e_expf.S: Likewise.
50199 * sysdeps/i386/fpu/e_expl.c: Likewise.
50200 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50201 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
50202 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
50203 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50204 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
50205 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
50206 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
50207
ba1a0d59
UD
50208 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
50209 is sufficient, at least on modern CPUs.
50210
fd5bdc09
UD
50211 * ctype/ctype-info.c (__ctype_init): Define.
50212 * include/ctype.h (__ctype_init): Declare.
50213 (__ctype_b_loc): The variable is always initialized.
50214 (__ctype_toupper_loc): Likewise.
50215 (__ctype_tolower_loc): Likewise.
50216 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
50217 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
50218
7872cfb0
AS
502192011-10-15 Andreas Schwab <schwab@linux-m68k.org>
50220
b468825a
AS
50221 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
50222
7872cfb0
AS
50223 * configure.in: Also look in $cxxmachine/include for C++ system
50224 headers.
50225
be13f7bf
LD
502262011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50227
50228 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
50229 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
50230 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
50231 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
50232 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
50233 (USE_AS_WMEMCMP): New macro.
50234 Fixing indents.
50235 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
50236 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
50237 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
50238 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
50239 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50240 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
50241 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
50242 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
50243 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
50244 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
50245 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
50246 (USE_AS_WMEMCMP): New macro.
50247 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
50248 * sysdeps/string/test-memcmp.c: Update.
50249 Fix simple_wmemcmp.
50250 Add new tests.
50251 * wcsmbs/wmemcmp.c: Update.
50252 (WMEMCMP): New macro.
50253 Fix overflow bug.
50254
556a2007
AJ
502552011-10-12 Andreas Jaeger <aj@suse.de>
50256
50257 [BZ #13268]
50258 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
50259
538faaa7
UD
502602011-10-15 Ulrich Drepper <drepper@gmail.com>
50261
ab6737ff
UD
50262 * libio/iofwide.c (do_length): Avoid warning.
50263
538faaa7
UD
50264 * ctype/ctype.h (__isctype_f): Add missing __THROW.
50265
396a21b1
UD
502662011-10-14 Ulrich Drepper <drepper@gmail.com>
50267
cdf2901f
UD
50268 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
50269
38ad40ce
UD
50270 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
50271 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
50272 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
50273 * sysdeps/i386/i686/fpu/e_log.S: New file.
50274 * sysdeps/i386/i686/fpu/e_logf.S: New file.
50275 * sysdeps/i386/i686/fpu/e_logl.S: New file.
50276
396a21b1
UD
50277 * ctype/ctype.h: Add support for inlined isXXX functions when
50278 compiling C++ code.
50279
6b1f68c9
AS
502802011-10-14 Andreas Schwab <schwab@redhat.com>
50281
349290c0
AS
50282 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50283
6b1f68c9
AS
50284 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
50285
f2282d42
RM
502862011-10-13 Roland McGrath <roland@hack.frob.com>
50287
50288 [BZ #13291]
50289 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
50290
5298ffa8
AS
502912011-10-13 Andreas Schwab <schwab@redhat.com>
50292
714fad23
AS
50293 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
50294 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
50295 feraiseexcept.
50296
81dcc7fb
AS
50297 * sysdeps/x86_64/memrchr.S: Check for zero size.
50298
5298ffa8
AS
50299 * string/stratcliff.c: Add memrchr tests.
50300
951fbcec
LD
503012011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50302
50303 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50304 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
50305 rawmemchr-sse2 rawmemchr-sse2-bsf.
50306 * sysdeps/i386/i686/multiarch/memchr.S: New file.
50307 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
50308 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
50309 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
50310 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
50311 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
50312 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
50313 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
50314 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
50315 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
50316 * string/memrchr.c (MEMRCHR): New macro.
50317
0ac5ae23
UD
503182011-10-12 Ulrich Drepper <drepper@gmail.com>
50319
50320 Add integration with gcc's -ffinite-math-only and optimize wrapper
50321 functions in libm.
50322 * Versions.def: Define GLIBC_2.15 version for libm.
50323 * math/Makefile (headers): Add bits/math-finite.h.
50324 * math/bits/math-finite.h: New file.
50325 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
50326 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
50327 * math/e_acoshl.c: Add __*_finite alias.
50328 * math/e_acosl.c: Likewise.
50329 * math/e_asinl.c: Likewise.
50330 * math/e_atan2l.c: Likewise.
50331 * math/e_atanhl.c: Likewise.
50332 * math/e_coshl.c: Likewise.
50333 * math/e_exp10.c: Likewise.
50334 * math/e_exp10f.c: Likewise.
50335 * math/e_exp10l.c: Likewise.
50336 * math/e_exp2l.c: Likewise.
50337 * math/e_fmodl.c: Likewise.
50338 * math/e_gammal_r.c: Likewise.
50339 * math/e_hypotl.c: Likewise.
50340 * math/e_j0l.c: Likewise.
50341 * math/e_j1l.c: Likewise.
50342 * math/e_jnl.c: Likewise.
50343 * math/e_lgammal_r.c: Likewise.
50344 * math/e_log10l.c: Likewise.
50345 * math/e_log2l.c: Likewise.
50346 * math/e_logl.c: Likewise.
50347 * math/e_powl.c: Likewise.
50348 * math/e_sinhl.c: Likewise.
50349 * math/e_sqrtl.c: Likewise.
50350 * math/e_scalb.c: Completely rewritten and optimized.
50351 * math/e_scalbf.c: Likewise.
50352 * math/e_scalbl.c: Likewise.
50353 * math/w_acos.c: Likewise.
50354 * math/w_acosf.c: Likewise.
50355 * math/w_acosl.c: Likewise.
50356 * math/w_acosh.c: Likewise.
50357 * math/w_acoshf.c: Likewise.
50358 * math/w_acoshl.c: Likewise.
50359 * math/w_asin.c: Likewise.
50360 * math/w_asinf.c: Likewise.
50361 * math/w_asinl.c: Likewise.
50362 * math/w_atan2.c: Likewise.
50363 * math/w_atan2f.c: Likewise.
50364 * math/w_atan2l.c: Likewise.
50365 * math/w_atanh.c: Likewise.
50366 * math/w_atanhf.c: Likewise.
50367 * math/w_atanhl.c: Likewise.
50368 * math/w_exp10.c: Likewise.
50369 * math/w_exp10f.c: Likewise.
50370 * math/w_exp10l.c: Likewise.
50371 * math/w_fmod.c: Likewise.
50372 * math/w_fmodf.c: Likewise.
50373 * math/w_fmodl.c: Likewise.
50374 * math/w_j0.c: Likewise.
50375 * math/w_j0f.c: Likewise.
50376 * math/w_j0l.c: Likewise.
50377 * math/w_j1.c: Likewise.
50378 * math/w_j1f.c: Likewise.
50379 * math/w_j1l.c: Likewise.
50380 * math/w_jn.c: Likewise.
50381 * math/w_jnf.c: Likewise.
50382 * math/w_log.c: Likewise.
50383 * math/w_logf.c: Likewise.
50384 * math/w_logl.c: Likewise.
50385 * math/w_log10.c: Likewise.
50386 * math/w_log10f.c: Likewise.
50387 * math/w_log10l.c: Likewise.
50388 * math/w_log2.c: Likewise.
50389 * math/w_log2f.c: Likewise.
50390 * math/w_log2l.c: Likewise.
50391 * math/w_pow.c: Likewise.
50392 * math/w_powf.c: Likewise.
50393 * math/w_powl.c: Likewise.
50394 * math/w_remainder.c: Likewise.
50395 * math/w_remainderf.c: Likewise.
50396 * math/w_remainderl.c: Likewise.
50397 * math/w_scalb.c: Likewise.
50398 * math/w_scalbf.c: Likewise.
50399 * math/w_scalbl.c: Likewise.
50400 * math/w_sqrt.c: Likewise.
50401 * math/w_sqrtf.c: Likewise.
50402 * math/w_sqrtl.c: Likewise.
50403 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
50404 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
50405 used.
50406 * math/math_private.h: Declare __kernel_standard_f.
50407 * math/w_cosh.c: Remove cruft and optimize a bit.
50408 * math/w_coshf.c: Likewise.
50409 * math/w_coshl.c: Likewise.
50410 * math/w_exp2.c: Likewise.
50411 * math/w_exp2f.c: Likewise.
50412 * math/w_exp2l.c: Likewise.
50413 * math/w_hypot.c: Likewise.
50414 * math/w_hypotf.c: Likewise.
50415 * math/w_hypotl.c: Likewise.
50416 * math/w_lgamma.c: Likewise.
50417 * math/w_lgamma_r.c: Likewise.
50418 * math/w_lgammaf.c: Likewise.
50419 * math/w_lgammaf_r.c: Likewise.
50420 * math/w_lgammal.c: Likewise.
50421 * math/w_lgammal_r.c: Likewise.
50422 * math/w_sinh.c: Likewise.
50423 * math/w_sinhf.c: Likewise.
50424 * math/w_sinhl.c: Likewise.
50425 * math/w_tgamma.c: Likewise.
50426 * math/w_tgammaf.c: Likewise.
50427 * math/w_tgammal.c: Likewise.
50428 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50429 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50430 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
50431 Minor optimizations. Pretty printing. Remove cruft.
50432 * sysdeps/i386/fpu/e_acosf.S: Likewise.
50433 * sysdeps/i386/fpu/e_acosh.S: Likewise.
50434 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50435 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50436 * sysdeps/i386/fpu/e_acosl.c: Likewise.
50437 * sysdeps/i386/fpu/e_asin.S: Likewise.
50438 * sysdeps/i386/fpu/e_asinf.S: Likewise.
50439 * sysdeps/i386/fpu/e_atan2.S: Likewise.
50440 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
50441 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
50442 * sysdeps/i386/fpu/e_atanh.S: Likewise.
50443 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50444 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50445 * sysdeps/i386/fpu/e_exp10.S: Likewise.
50446 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
50447 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
50448 * sysdeps/i386/fpu/e_exp2.S: Likewise.
50449 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
50450 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
50451 * sysdeps/i386/fpu/e_fmod.S: Likewise.
50452 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
50453 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
50454 * sysdeps/i386/fpu/e_hypot.S: Likewise.
50455 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
50456 * sysdeps/i386/fpu/e_log.S: Likewise.
50457 * sysdeps/i386/fpu/e_log10.S: Likewise.
50458 * sysdeps/i386/fpu/e_log10f.S: Likewise.
50459 * sysdeps/i386/fpu/e_log10l.S: Likewise.
50460 * sysdeps/i386/fpu/e_log2.S: Likewise.
50461 * sysdeps/i386/fpu/e_log2f.S: Likewise.
50462 * sysdeps/i386/fpu/e_log2l.S: Likewise.
50463 * sysdeps/i386/fpu/e_logf.S: Likewise.
50464 * sysdeps/i386/fpu/e_logl.S: Likewise.
50465 * sysdeps/i386/fpu/e_pow.S: Likewise.
50466 * sysdeps/i386/fpu/e_powf.S: Likewise.
50467 * sysdeps/i386/fpu/e_powl.S: Likewise.
50468 * sysdeps/i386/fpu/e_remainder.S: Likewise.
50469 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
50470 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
50471 * sysdeps/i386/fpu/e_scalb.S: Likewise.
50472 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50473 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50474 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
50475 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
50476 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
50477 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
50478 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50479 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50480 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
50481 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50482 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
50483 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
50484 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
50485 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50486 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50487 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
50488 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
50489 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50490 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
50491 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
50492 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50493 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50494 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
50495 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50496 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50497 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
50498 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
50499 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50500 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50501 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
50502 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
50503 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
50504 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
50505 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
50506 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
50507 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50508 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
50509 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50510 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
50511 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
50512 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
50513 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
50514 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
50515 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
50516 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
50517 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
50518 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
50519 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
50520 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
50521 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50522 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
50523 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
50524 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
50525 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
50526 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
50527 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
50528 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
50529 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
50530 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50531 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
50532 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
50533 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
50534 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
50535 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
50536 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
50537 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
50538 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
50539 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50540 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50541 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
50542 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
50543 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
50544 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
50545 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
50546 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
50547 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
50548 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
50549 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
50550 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
50551 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
50552 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
50553 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
50554 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
50555 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50556 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
50557 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50558 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
50559 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
50560 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50561 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50562 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
50563 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50564 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
50565 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
50566 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
50567 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50568 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50569 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50570 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
50571 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50572 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50573 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50574 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
50575 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
50576 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
50577 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
50578 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
50579 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
50580 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
50581 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50582 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50583 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50584 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50585 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
50586 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50587 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
50588 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
50589 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
50590 (__isnanf): Likewise.
50591 (__isinf_ns): Likewise.
50592 (__isinf_nsf): Likewise.
50593 (__finite): Likewise.
50594 (__finitef): Likewise.
50595 (__ieee754_sqrt): Define as macro.
50596 (__ieee754_sqrtf): Define as macro.
50597 (__ieee754_sqrtl): Define as macro.
50598 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
50599 inlined copy.
50600 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
50601 __FINITE_MATH_ONLY__ consistent.
50602 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
50603
12cc2fcd
AS
506042011-10-10 Andreas Schwab <schwab@linux-m68k.org>
50605
a843a204
AS
50606 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
50607 of rawmemchr.
50608
12cc2fcd
AS
50609 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
50610
c853acd5
UD
506112011-10-09 Ulrich Drepper <drepper@gmail.com>
50612
50613 * po/ja.po: Update from translation team.
50614
c658d255
RM
506152011-10-08 Roland McGrath <roland@hack.frob.com>
50616
110946e4
RM
50617 * locale/programs/locarchive.c (prepare_address_space): New function.
50618 (create_archive, enlarge_archive, open_archive): Use it.
50619
50604220
RM
50620 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
50621 inside [SHARED], where it is used.
50622
c658d255
RM
50623 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
50624
50625 * nss/getent.c (netgroup_keys): Remove unused variable.
50626 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
50627
6a621eb7
UD
506282011-10-08 Ulrich Drepper <drepper@gmail.com>
50629
7edb55ce
UD
50630 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
50631 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
50632 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
50633 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
50634 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
50635 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
50636 * math/Makefile (libm-calls): Add s_isinf_ns.
50637 * math/divtc3.c: Use __isinf_nsl instead of isinf.
50638 * math/multc3.c: Likewise.
50639 * math/s_casin.c: Likewise.
50640 * math/s_casinf.c: Likewise.
50641 * math/s_casinl.c: Likewise.
50642 * math/s_ccos.c: Likewise.
50643 * math/s_ccosf.c: Likewise.
50644 * math/s_ccosl.c: Likewise.
50645 * math/s_ctan.c: Likewise.
50646 * math/s_ctanf.c: Likewise.
50647 * math/s_ctanh.c: Likewise.
50648 * math/s_ctanhf.c: Likewise.
50649 * math/s_ctanhl.c: Likewise.
50650 * math/s_ctanl.c: Likewise.
50651 * math/w_fmod.c: Likewise.
50652 * math/w_fmodf.c: Likewise.
50653 * math/w_fmodl.c: Likewise.
50654 * math/w_remainder.c: Likewise.
50655 * math/w_remainderf.c: Likewise.
50656 * math/w_remainderl.c: Likewise.
50657 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
50658 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
50659 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
50660 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
50661 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
50662 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
50663 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
50664 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
50665
187da0ae
UD
50666 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
50667 of the number.
50668 * stdio-common/printf_fphex.c: Likewise.
50669 * stdio-common/printf_size.c: Likewise.
50670
9277c064
UD
50671 * math/e_exp10.c: Include math_private.h using <...> not "...".
50672 * math/e_exp10f.c: Likewise.
50673 * math/e_exp10l.c: Likewise.
50674 * math/e_exp2l.c: Likewise.
50675 * math/e_j0l.c: Likewise.
50676 * math/e_j1l.c: Likewise.
50677 * math/e_jnl.c: Likewise.
50678 * math/e_lgammal_r.c: Likewise.
50679 * math/e_rem_pio2l.c: Likewise.
50680 * math/e_scalb.c: Likewise.
50681 * math/e_scalbf.c: Likewise.
50682 * math/e_scalbl.c: Likewise.
50683 * math/k_cosl.c: Likewise.
50684 * math/k_sinl.c: Likewise.
50685 * math/k_tanl.c: Likewise.
50686 * math/s_cacoshf.c: Likewise.
50687 * math/s_catan.c: Likewise.
50688 * math/s_catanf.c: Likewise.
50689 * math/s_catanh.c: Likewise.
50690 * math/s_catanhf.c: Likewise.
50691 * math/s_catanhl.c: Likewise.
50692 * math/s_catanl.c: Likewise.
50693 * math/s_ccosh.c: Likewise.
50694 * math/s_ccoshf.c: Likewise.
50695 * math/s_ccoshl.c: Likewise.
50696 * math/s_cexp.c: Likewise.
50697 * math/s_cexpf.c: Likewise.
50698 * math/s_cexpl.c: Likewise.
50699 * math/s_clog.c: Likewise.
50700 * math/s_clog10.c: Likewise.
50701 * math/s_clog10f.c: Likewise.
50702 * math/s_clog10l.c: Likewise.
50703 * math/s_clogf.c: Likewise.
50704 * math/s_clogl.c: Likewise.
50705 * math/s_csin.c: Likewise.
50706 * math/s_csinf.c: Likewise.
50707 * math/s_csinh.c: Likewise.
50708 * math/s_csinhf.c: Likewise.
50709 * math/s_csinhl.c: Likewise.
50710 * math/s_csinl.c: Likewise.
50711 * math/s_csqrt.c: Likewise.
50712 * math/s_csqrtf.c: Likewise.
50713 * math/s_csqrtl.c: Likewise.
50714 * math/s_ctan.c: Likewise.
50715 * math/s_ctanf.c: Likewise.
50716 * math/s_ctanh.c: Likewise.
50717 * math/s_ctanhf.c: Likewise.
50718 * math/s_ctanhl.c: Likewise.
50719 * math/s_ctanl.c: Likewise.
50720 * math/s_ldexp.c: Likewise.
50721 * math/s_ldexpf.c: Likewise.
50722 * math/s_ldexpl.c: Likewise.
50723 * math/s_significand.c: Likewise.
50724 * math/s_significandf.c: Likewise.
50725 * math/s_significandl.c: Likewise.
50726 * math/w_acos.c: Likewise.
50727 * math/w_acosf.c: Likewise.
50728 * math/w_acosh.c: Likewise.
50729 * math/w_acoshf.c: Likewise.
50730 * math/w_acoshl.c: Likewise.
50731 * math/w_acosl.c: Likewise.
50732 * math/w_asin.c: Likewise.
50733 * math/w_asinf.c: Likewise.
50734 * math/w_asinl.c: Likewise.
50735 * math/w_atan2.c: Likewise.
50736 * math/w_atan2f.c: Likewise.
50737 * math/w_atan2l.c: Likewise.
50738 * math/w_atanh.c: Likewise.
50739 * math/w_atanhf.c: Likewise.
50740 * math/w_atanhl.c: Likewise.
50741 * math/w_cosh.c: Likewise.
50742 * math/w_coshf.c: Likewise.
50743 * math/w_coshl.c: Likewise.
50744 * math/w_dremf.c: Likewise.
50745 * math/w_exp10.c: Likewise.
50746 * math/w_exp10f.c: Likewise.
50747 * math/w_exp10l.c: Likewise.
50748 * math/w_exp2.c: Likewise.
50749 * math/w_exp2f.c: Likewise.
50750 * math/w_fmod.c: Likewise.
50751 * math/w_fmodf.c: Likewise.
50752 * math/w_fmodl.c: Likewise.
50753 * math/w_hypot.c: Likewise.
50754 * math/w_hypotf.c: Likewise.
50755 * math/w_hypotl.c: Likewise.
50756 * math/w_j0.c: Likewise.
50757 * math/w_j0f.c: Likewise.
50758 * math/w_j0l.c: Likewise.
50759 * math/w_j1.c: Likewise.
50760 * math/w_j1f.c: Likewise.
50761 * math/w_j1l.c: Likewise.
50762 * math/w_jn.c: Likewise.
50763 * math/w_jnf.c: Likewise.
50764 * math/w_jnl.c: Likewise.
50765 * math/w_lgamma.c: Likewise.
50766 * math/w_lgamma_r.c: Likewise.
50767 * math/w_lgammaf.c: Likewise.
50768 * math/w_lgammaf_r.c: Likewise.
50769 * math/w_lgammal.c: Likewise.
50770 * math/w_lgammal_r.c: Likewise.
50771 * math/w_log.c: Likewise.
50772 * math/w_log10.c: Likewise.
50773 * math/w_log10f.c: Likewise.
50774 * math/w_log10l.c: Likewise.
50775 * math/w_log2.c: Likewise.
50776 * math/w_log2f.c: Likewise.
50777 * math/w_log2l.c: Likewise.
50778 * math/w_logf.c: Likewise.
50779 * math/w_logl.c: Likewise.
50780 * math/w_pow.c: Likewise.
50781 * math/w_powf.c: Likewise.
50782 * math/w_powl.c: Likewise.
50783 * math/w_remainder.c: Likewise.
50784 * math/w_remainderf.c: Likewise.
50785 * math/w_remainderl.c: Likewise.
50786 * math/w_scalb.c: Likewise.
50787 * math/w_scalbf.c: Likewise.
50788 * math/w_scalbl.c: Likewise.
50789 * math/w_sinh.c: Likewise.
50790 * math/w_sinhf.c: Likewise.
50791 * math/w_sinhl.c: Likewise.
50792 * math/w_sqrt.c: Likewise.
50793 * math/w_sqrtf.c: Likewise.
50794 * math/w_sqrtl.c: Likewise.
50795 * math/w_tgamma.c: Likewise.
50796 * math/w_tgammaf.c: Likewise.
50797 * math/w_tgammal.c: Likewise.
50798
6a621eb7
UD
50799 * po/ja.po: Update from translation team.
50800
bf582445
AJ
508012011-09-29 Andreas Jaeger <aj@suse.de>
50802
f9efbf3a
AJ
50803 [BZ #13179]
50804 * sunrpc/netname.c (netname2host): Fix logic.
50805
bf582445
AJ
50806 [BZ #6779]
50807 [BZ #6783]
50808 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
50809 correctly.
50810 * math/w_remainder.c (__remainder): Likewise.
50811 * math/w_remainderf.c (__remainderf): Likewise.
50812 * math/libm-test.inc (remainder_test): Add test cases.
50813
48693bea
AK
508142011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50815
50816 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
50817 sdiv_qrnnd.
50818
42622229
LD
508192011-10-07 Ulrich Drepper <drepper@gmail.com>
50820
50821 * string/test-memcmp.c: Avoid unncessary #defines.
50822 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50823
093ecf92
LD
508242011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50825
50826 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
50827 Use new sse2 version for core i3 - i7 as it's faster
50828 than sse42 version.
50829 (bit_Prefer_PMINUB_for_stringop): New.
50830 * sysdeps/x86_64/rawmemchr.S: Update.
50831 Replace with faster SSE2 version.
50832 * sysdeps/x86_64/memrchr.S: New file.
50833 * sysdeps/x86_64/memchr.S: Update.
50834 Replace with faster SSE2 version.
50835
fde56e5c
MP
508362011-09-12 Marek Polacek <mpolacek@redhat.com>
50837
50838 * elf/dl-load.c (lose): Add cast to avoid warning.
50839
21fd49a9
UD
508402011-10-07 Ulrich Drepper <drepper@gmail.com>
50841
5a06e643
UD
50842 * po/ca.po: Update from translation team.
50843
684ae515
UD
50844 * inet/getnetgrent_r.c: Hook up nscd.
50845 * nscd/Makefile (routines): Add nscd_netgroup.
50846 (nscd-modules): Add netgroupcache.
50847 (CFLAGS-netgroupcache.c): Define.
50848 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
50849 (cache_search): Add const to second parameter.
50850 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
50851 INNETGR.
50852 (dbs): Add netgrdb entry.
50853 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
50854 (verify_persistent_db): Handle netgrdb.
50855 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
50856 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
50857 GETFDNETGR.
50858 (netgroup_response_header): Define.
50859 (innetgroup_response_header): Define.
50860 (datahead): Add netgroup_response_header and innetgroup_response_header
50861 elements.
50862 * nscd/nscd.conf: Add entries for netgroup cache.
50863 * nscd/nscd.h (dbtype): Add netgrdb.
50864 (_PATH_NSCD_NETGROUP_DB): Define.
50865 (netgroup_iov_disabled): Declare.
50866 (xmalloc, xcalloc, xrealloc): Move declarations here.
50867 (cache_search): Adjust prototype.
50868 Add netgroup-related prototypes.
50869 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
50870 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
50871 (__nscd_innetgr): Declare.
50872 * nscd/selinux.c (perms): Use access_vector_t as element type and
50873 add netgroup-related initializers.
50874 * nscd/netgroupcache.c: New file.
50875 * nscd/nscd_netgroup.c: New file.
50876 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
50877 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
50878 For four parameters use innetgr.
50879 * nss/nss_files/files-init.c: Add definition and callback for netgr.
50880 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
50881 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
50882 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
50883
21fd49a9
UD
50884 * nscd/connections.c (register_traced_file): Don't register file
50885 for disabled databases.
50886
054c0457
UD
508872011-10-06 Ulrich Drepper <drepper@gmail.com>
50888
32b63198
UD
50889 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
50890
054c0457
UD
50891 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
50892 from tree and freeing node.
50893
64031225
JO
508942011-09-25 Jiri Olsa <jolsa@redhat.com>
50895
50896 * nss/nsswitch.c (__nss_database_lookup): Handle
50897 nss_parse_service_list out of memory case.
50898
0490345c
JO
508992011-09-15 Jiri Olsa <jolsa@redhat.com>
50900
50901 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
50902 out of memory case.
50903
3a62d00d
AS
509042011-10-04 Andreas Schwab <schwab@redhat.com>
50905
50906 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
50907 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
50908 pass it down.
50909 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
50910 elf_machine_rela, elf_machine_lazy_rel.
50911 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
50912 (ELF_DYNAMIC_DO_REL): Likewise.
50913 (ELF_DYNAMIC_DO_RELA): Likewise.
50914 (ELF_DYNAMIC_RELOCATE): Likewise.
50915 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
50916 to ELF_DYNAMIC_DO_REL.
50917 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
50918 (dl_main): In trace mode always set __RTLD_NOIFUNC.
50919 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
50920 elf_machine_rela.
50921 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
50922 skip_ifunc, don't call ifunc function if non-zero.
50923 (elf_machine_rela): Likewise.
50924 (elf_machine_lazy_rel): Likewise.
50925 (elf_machine_lazy_rela): Likewise.
50926 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
50927 (elf_machine_lazy_rel): Likewise.
50928 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
50929 Likewise.
50930 (elf_machine_lazy_rel): Likewise.
50931 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50932 Likewise.
50933 (elf_machine_lazy_rel): Likewise.
50934 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
50935 (elf_machine_lazy_rel): Likewise.
50936 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
50937 (elf_machine_lazy_rel): Likewise.
50938 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
50939 (elf_machine_lazy_rel): Likewise.
50940 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
50941 (elf_machine_lazy_rel): Likewise.
50942 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
50943 (elf_machine_lazy_rel): Likewise.
50944 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
50945 (elf_machine_lazy_rel): Likewise.
50946
68577918
UD
509472011-09-28 Ulrich Drepper <drepper@gmail.com>
50948
50949 * nss/nss_files/files-init.c (_nss_files_init): Use static
50950 initialization for all the *_traced_file variables.
50951
68822d74
AS
509522011-09-28 Andreas Schwab <schwab@redhat.com>
50953
50954 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50955
2056100b
RM
509562011-09-27 Roland McGrath <roland@hack.frob.com>
50957
50958 [BZ #13226]
50959 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
50960
32c76b63
AS
509612011-09-27 Andreas Schwab <schwab@redhat.com>
50962
50963 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50964 Reread the line before reparsing it.
50965
bf972c9d
AS
509662011-09-26 Andreas Schwab <schwab@redhat.com>
50967
50968 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
50969
e057a1b5
JM
509702011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
50971 Maxim Kuvyrkov <maxim@codesourcery.com>
50972 Joseph Myers <joseph@codesourcery.com>
50973
50974 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
50975 if needed for __stack_chk_guard.
50976
bc7e1c36
RM
509772011-09-19 Roland McGrath <roland@hack.frob.com>
50978
ecb1482f
RM
50979 * sysdeps/posix/spawni.c (script_execute): Always define it.
50980 It will be optimized away if unused.
50981 (maybe_script_execute): New function.
50982 (__spawni): Call it.
50983
bc7e1c36
RM
50984 * Makerules: Don't include tls.make.
50985 (config-tls): Always set to thread.
50986 * tls.make.c: File removed.
50987
1c3b002b
MF
509882011-09-19 Mike Frysinger <vapier@gentoo.org>
50989
50990 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
50991 * config.make.in (CPPFLAGS-config): New substituted variable.
50992
2840865d
UD
509932011-09-15 Ulrich Drepper <drepper@gmail.com>
50994
88738eb6
UD
50995 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
50996
cbf645a6 50997 [BZ #13192]
2840865d
UD
50998 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
50999 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
51000
b402e91a
RM
510012011-09-15 Roland McGrath <roland@hack.frob.com>
51002
51003 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
51004 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
51005 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51006 (CALL_FAIL): Likewise.
51007 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
51008 (CALL_FAIL): Macro removed.
51009 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
51010
4c1a1f71
UD
510112011-09-15 Ulrich Drepper <drepper@gmail.com>
51012
51013 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
51014 for __FINITE_MATH_ONLY__ == 1.
51015
edc121be
AS
510162011-09-15 Andreas Schwab <schwab@redhat.com>
51017
51018 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
51019 __ieee754_sqrt instead of sqrt.
51020 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
51021 __ieee754_sqrtf instead of sqrtf.
51022 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
51023 __floorf instead of floorf.
51024 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
51025 __floorf, __truncf instead of floorf, truncf.
51026
cd205654
UD
510272011-09-14 Ulrich Drepper <drepper@gmail.com>
51028
ee4d0315
UD
51029 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
51030
cd205654
UD
51031 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
51032 __extern_always_inline.
51033 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
51034 32-bit.
51035
48b67d71
AS
510362011-09-14 Andreas Schwab <schwab@redhat.com>
51037
51038 * elf/rtld.c (dl_main): Also relocate in dependency order when
51039 doing symbol dependency testing.
51040
1ae12c75
AS
510412011-09-13 Andreas Schwab <schwab@linux-m68k.org>
51042
51043 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51044 Always define `refsym'.
51045
995a80df
AS
510462011-09-13 Andreas Schwab <schwab@redhat.com>
51047
e529793b
AS
51048 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
51049 (__FD_ELT): Renamed from __FDELT.
51050 * misc/bits/select2.h (__FD_ELT): Likewise.
51051 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
51052 __FD_MASK instead of __FDELT, __FDMASK.
51053 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
51054 Likewise.
51055 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
51056 Likewise.
51057
52d4fef8
AS
51058 * elf/Makefile (gen-ldd): Fix pattern.
51059
995a80df
AS
51060 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
51061 (init_tls): Likewise.
51062
8682f8b0
UD
510632011-09-12 Ulrich Drepper <drepper@gmail.com>
51064
51065 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
51066
de82006d
AS
510672011-09-12 Andreas Schwab <schwab@redhat.com>
51068
a7c8e6a1
AS
51069 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
51070 `struct cmsghdr *' instead of `void *'.
51071 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
51072 Likewise.
51073
0f31fe77
AS
510742011-09-11 Andreas Schwab <schwab@linux-m68k.org>
51075
51076 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
51077 if non-absolute.
51078 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
51079 ldd_rewrite_script.
0f31fe77 51080
32b4c839
UD
510812011-09-11 Ulrich Drepper <drepper@gmail.com>
51082
83cd1420
UD
51083 * configure.in: Remove --with-tls option.
51084 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
51085 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
51086 out in case it is missing.
51087 * sysdeps/ia64/elf/configure.in: Likewise.
51088 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
51089 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
51090 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
51091 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
51092 * sysdeps/sh/elf/configure.in: Likewise.
51093 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
51094 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
51095 * sysdeps/x86_64/elf/configure.in: Likewise.
51096 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
51097 * sysdeps/mach/hurd/tls.h: Likewise.
51098
633f745d
UD
51099 [BZ #13067]
51100 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
51101
f318beb8
UD
51102 [BZ #13090]
51103 * configure.in: Fix use of AC_INIT.
51104
32b4c839
UD
51105 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
51106
3ce1f295
UD
511072011-09-10 Ulrich Drepper <drepper@gmail.com>
51108
bb016596
UD
51109 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
51110 __set_errno.
8e58439c
UD
51111 * malloc/hooks.c: Likewise.
51112
aebae053 51113 [BZ #11929]
02d46fc4
UD
51114 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
51115 variables statically.
51116 (narenas): Initialize.
51117 (list_lock): Initialize.
bb016596
UD
51118 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
51119 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
51120 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
51121 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
51122 Add initializers to main_arena and mp_.
51123 (malloc_state): Remove pagesize member. Change all users to use
51124 GLRO(dl_pagesize).
51125
51126 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
51127 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
51128 is always initialized.
51129
22a89187
UD
51130 * malloc/malloc.c: Removed unused configurations and dead code.
51131 * malloc/arena.c: Likewise.
51132 * malloc/hooks.c: Likewise.
02d46fc4 51133 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 51134
d063d164
UD
51135 * include/tls.h: Removed. USE___THREAD must always be defined.
51136 * bits/libc-tsd.h: Don't handle !USE___THREAD.
51137 * elf/dl-libc.c: Likewise.
51138 * elf/dl-tsd.c: Likewise.
51139 * include/errno.h: Likewise.
51140 * include/netdb.h: Likewise.
51141 * include/resolv.h: Likewise.
51142 * inet/herrno-loc.c: Likewise.
51143 * inet/herrno.c: Likewise.
51144 * malloc/arena.c: Likewise.
51145 * malloc/hooks.c: Likewise.
51146 * malloc/malloc.c: Likewise.
51147 * resolv/res-state.c: Likewise.
51148 * resolv/res_libc.c: Likewise.
51149 * sysdeps/i386/dl-machine.h: Likewise.
51150 * sysdeps/ia64/dl-machine.h: Likewise.
51151 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
51152 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
51153 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
51154 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
51155 * sysdeps/sh/dl-machine.h: Likewise.
51156 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
51157 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
51158 * sysdeps/unix/i386/sysdep.S: Likewise.
51159 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
51160 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
51161 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
51162 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
51163 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
51164 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
51165 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
51166 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
51167 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51168 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
51169 * sysdeps/unix/x86_64/sysdep.S: Likewise.
51170 * sysdeps/x86_64/dl-machine.h: Likewise.
51171 * tls.make.c: Likewise.
51172
3ce1f295
UD
51173 * configure.in: Remove --with-__thread option. Make tests for
51174 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
51175 tls_model attribute fail if no support is available. Remove
51176 USE_IN_LIBIO.
51177 * Makeconfig: Adjust for dropped configure option. All features are
51178 now mandatory.
51179 * Makerules: Likewise.
51180 * Versions.def: Likewise.
51181 * argp/argp-fmtstream.c: Likewise.
51182 * argp/argp-fmtstream.h: Likewise.
51183 * argp/argp-help.c: Likewise.
51184 * assert/assert.c: Likewise.
51185 * config.h.in: Likewise.
51186 * config.make.in: Likewise.
51187 * configure: Likewise.
51188 * configure.in: Likewise.
51189 * csu/Versions: Likewise.
51190 * csu/init.c: Likewise.
51191 * elf/tst-audit2.c: Likewise.
51192 * elf/tst-tls10.c: Likewise.
51193 * elf/tst-tls10.h: Likewise.
51194 * elf/tst-tls11.c: Likewise.
51195 * elf/tst-tls12.c: Likewise.
51196 * elf/tst-tls14.c: Likewise.
51197 * elf/tst-tlsmod11.c: Likewise.
51198 * elf/tst-tlsmod12.c: Likewise.
51199 * elf/tst-tlsmod13.c: Likewise.
51200 * elf/tst-tlsmod13a.c: Likewise.
51201 * elf/tst-tlsmod14a.c: Likewise.
51202 * elf/tst-tlsmod15b.c: Likewise.
51203 * elf/tst-tlsmod16a.c: Likewise.
51204 * elf/tst-tlsmod16b.c: Likewise.
51205 * elf/tst-tlsmod7.c: Likewise.
51206 * elf/tst-tlsmod8.c: Likewise.
51207 * elf/tst-tlsmod9.c: Likewise.
51208 * gmon/gmon.c: Likewise.
51209 * grp/fgetgrent_r.c: Likewise.
51210 * grp/putgrent.c: Likewise.
51211 * hurd/fopenport.c: Likewise.
51212 * include/libc-symbols.h: Likewise.
51213 * include/tls.h: Likewise.
51214 * intl/gettextP.h: Likewise.
51215 * intl/loadinfo.h: Likewise.
51216 * locale/global-locale.c: Likewise.
51217 * locale/localeinfo.h: Likewise.
51218 * mach/devstream.c: Likewise.
51219 * malloc/arena.c: Likewise.
51220 * malloc/set-freeres.c: Likewise.
51221 * misc/err.c: Likewise.
51222 * misc/getttyent.c: Likewise.
51223 * misc/mntent_r.c: Likewise.
51224 * posix/getopt.c: Likewise.
51225 * posix/wordexp.c: Likewise.
51226 * pwd/fgetpwent_r.c: Likewise.
51227 * resolv/Versions: Likewise.
51228 * resolv/res_hconf.c: Likewise.
51229 * shadow/fgetspent_r.c: Likewise.
51230 * shadow/putspent.c: Likewise.
51231 * stdio-common/printf_fphex.c: Likewise.
51232 * stdio-common/tmpfile.c: Likewise.
51233 * stdlib/abort.c: Likewise.
51234 * stdlib/fmtmsg.c: Likewise.
51235 * sunrpc/auth_unix.c: Likewise.
51236 * sunrpc/clnt_perr.c: Likewise.
51237 * sunrpc/clnt_tcp.c: Likewise.
51238 * sunrpc/clnt_udp.c: Likewise.
51239 * sunrpc/clnt_unix.c: Likewise.
51240 * sunrpc/openchild.c: Likewise.
51241 * sunrpc/svc_simple.c: Likewise.
51242 * sunrpc/svc_tcp.c: Likewise.
51243 * sunrpc/svc_udp.c: Likewise.
51244 * sunrpc/svc_unix.c: Likewise.
51245 * sunrpc/xdr.c: Likewise.
51246 * sunrpc/xdr_array.c: Likewise.
51247 * sunrpc/xdr_rec.c: Likewise.
51248 * sunrpc/xdr_ref.c: Likewise.
51249 * sunrpc/xdr_stdio.c: Likewise.
51250
1248c1c4
PB
512512011-09-09 Ulrich Drepper <drepper@gmail.com>
51252
51253 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51254
512552011-07-03 Andreas Jaeger <aj@suse.de>
51256
51257 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
51258 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
51259 regenerate with gen-libm-tests.pl.
51260
512612010-05-12 Petr Baudis <pasky@suse.cz>
51262
51263 [BZ #11589]
51264 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
51265 around j0() zero points by switching to j1().
51266 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51267 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51268 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
51269 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51270
f22e1074
UD
512712011-09-09 Ulrich Drepper <drepper@gmail.com>
51272
f19009c1
UD
51273 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
51274 instead of 0.
51275 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 51276 instead of 0.
f19009c1
UD
51277 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51278 Patch in part by Pavel Roskin <proski@gnu.org>.
51279
3f8cc204
UD
51280 [BZ #13138]
51281 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
51282 realloc.
51283 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
51284 Free memory block if necessary.
51285
f22e1074
UD
51286 [BZ #12847]
51287 * libio/genops.c (INTDEF): For string streams the _lock pointer can
51288 be NULL. Don't lock in this case.
51289
0a2349f9
RM
512902011-09-09 Roland McGrath <roland@hack.frob.com>
51291
51292 * elf/elf.h (ELFOSABI_GNU): New macro.
51293 (ELFOSABI_LINUX): Define to that.
51294
f3cdd467
DZ
512952011-07-29 Denis Zaitceff <zaitceff@gmail.com>
51296
51297 * string/strncat.c (strncat): Undef the symbol in case it has been
51298 defined in bits/string.h.
51299
74718d13
UD
513002011-09-09 Ulrich Drepper <drepper@gmail.com>
51301
633e9e0f
UD
51302 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
51303
0a2349f9 51304 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
51305 link map.
51306
f9924780
AJ
513072011-08-17 Andreas Jaeger <aj@suse.de>
51308
51309 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
51310
7f5517aa
PP
513112011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
51312 Ian Lance Taylor <iant@google.com>
51313
51314 * math/libm-test.inc (lround_test): New testcase.
51315 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
51316
762011fe
UD
513172011-09-08 Ulrich Drepper <drepper@gmail.com>
51318
92963737
UD
51319 * Makefile: Remove support for automatic cvs check-ins.
51320 * Makerules: Likewise.
51321 * config.make.in: Likewise.
51322 * configure.in: Likewise.
51323 * intl/Makefile: Likewise.
51324 * locale/Makefile: Likewise.
51325 * po/Makefile: Likewise.
51326 * posix/Makefile: Likewise.
51327 * sysdeps/gnu/Makefile: Likewise.
51328 * sysdeps/mach/hurd/Makefile: Likewise.
51329 * sysdeps/sparc/sparc32/Makefile: Likewise.
51330
b0727fd8
JS
51331 [BZ #13118]
51332 * posix/Makefile (bug-regex32-ENV): Define.
51333 Patch by John Stanley <jpsinthemix@verizon.net>.
51334
a0f33f99
UD
51335 * misc/Makefile (headers): Add bits/select2.h.
51336 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
51337 * misc/bits/select2.h: New file.
51338 * include/bits/select2.h: New file.
51339 * debug/Makefile (routines): Add fdelt_chk.
51340 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
51341 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
51342 FD_ISSET.
51343 * debug/fdelt_chk.c: New file.
51344
762011fe
UD
51345 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
51346 * wcsmbs/test-wmemcmp.c: Likewise.
51347 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 51348 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
51349
513502011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51351
51352 * string/Makefile (strop-tests): Add memcmp.
51353 * string/test-wmemcmp.c: New file.
51354 * string/test-memcmp.c: Add wmemcmp support.
51355
7f513ec8
RM
513562011-09-08 Roland McGrath <roland@hack.frob.com>
51357
0442afb4
RM
51358 [BZ #13153]
51359 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
51360 2011-07-19 change.
51361
7f513ec8
RM
51362 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
51363 garbage value in a __mach_port_mod_refs call in the cases of the
51364 task-self and thread-self ports.
51365
a12b2239
ST
513662011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
51367
51368 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
51369
610f9ab4
AS
513702011-09-08 Andreas Schwab <schwab@redhat.com>
51371
7f513ec8 51372 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 51373
48882a1a
LD
513742011-09-07 Ulrich Drepper <drepper@gmail.com>
51375
b49865be
UD
51376 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
51377
fdc86bc9
UD
51378 * elf/dl-libc.c (dlerror_run): Pass back error code from
51379 dl_catch_error.
51380
c966526a
UD
51381 [BZ #13123]
51382 * elf/dl-load.c (lose): Free l_origin if it is valid.
51383
48882a1a
LD
51384 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
51385 names.
51386 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
51387 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51388 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
51389 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
51390 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
51391 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
51392
77a2a8b4
AZ
513932011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51394
51395 * sysdeps/powerpc/fpu/e_hypot.c: New file.
51396 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
51397 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
51398 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
51399 * sysdeps/powerpc/fpu/k_cosf.c: New file.
51400 * sysdeps/powerpc/fpu/k_sinf.c: New file.
51401 * sysdeps/powerpc/fpu/s_cosf.c: New file.
51402 * sysdeps/powerpc/fpu/s_sinf.c: New file.
51403 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
51404 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
51405
24f579d8
AM
514062011-08-15 Alan Modra <amodra@gmail.com>
51407
51408 [BZ #13092]
51409 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
51410 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
51411 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
51412 ppc_mcount to static-only-routines.
51413 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
51414 __mcount_internal.
51415 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
51416 __mcount_internal with usual JUMPTARGET. Remove useless nop.
51417
3d4837df
UD
514182011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
51419
51420 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
51421 for finite and infinity parameters.
51422
22700377
WS
514232011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
51424
51425 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
51426 and add nop instructions for throughput optimization.
51427 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51428
5025581e
WS
514292011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
51430
51431 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
51432 aligned copy for power7 with vector-scalar instructions.
51433 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
51434
08a300c9
L
514352011-07-24 H.J. Lu <hongjiu.lu@intel.com>
51436
51437 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
51438 AVX check.
51439
59178ef9
AS
514402011-09-07 Andreas Schwab <schwab@redhat.com>
51441
51442 [BZ #13144]
51443 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
51444 last change.
51445
e38ba7ab
UD
514462011-09-07 Ulrich Drepper <drepper@gmail.com>
51447
51448 * sysdeps/unix/sysv/linux/x86_64/init-first.c
51449 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
51450 syscall wrapper around clock_gettime in __vdso_clock_gettime.
51451 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
51452 clock_gettime.
51453
d53a73ac
UD
514542011-09-06 Ulrich Drepper <drepper@gmail.com>
51455
fc8bffcc
UD
51456 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
51457 Forgot to demangle the pointer.
51458
ceaa0c5d
UD
51459 * sysdeps/i386/sysdep.h: Define atom_text_section.
51460 * sysdeps/x86_64/sysdep.h: Likewise.
51461 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
51462 section with atom_text_section.
51463 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51464 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
51465 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
51466 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
51467 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
51468
a77d3c17
UD
51469 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
51470 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
51471 already be defined. Change to take two parameters and don't assign
51472 result to variable. Adjust all users.
51473 Define INTERNAL_GETTIME if not already defined.
51474 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
51475 call.
51476 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
51477 HAVE_CLOCK_GETTIME_VSYSCALL.
51478 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
51479
d53a73ac
UD
51480 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
51481 gettimeofday vsyscall, just use time.
51482
a8f84144
AS
514832011-09-06 Andreas Schwab <schwab@redhat.com>
51484
51485 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
51486 <errno.h>.
51487
ef606249
UD
514882011-09-06 Ulrich Drepper <drepper@gmail.com>
51489
51490 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
51491 syscall on x86-64.
51492 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
51493 syscall.
51494 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
51495 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
51496 syscall if possible.
51497
6585cb60
UD
514982011-09-05 Ulrich Drepper <drepper@gmail.com>
51499
51500 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
51501 e_ident. Don't pass to find_mapsXX.
51502 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
51503
a5f524e4
LD
515042011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51505
51506 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51507 strchr-sse2-no-bsf strrchr-sse2-no-bsf
51508 * sysdeps/x86_64/multiarch/strchr.S: Update.
51509 Check bit_slow_BSF bit.
51510 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51511 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
51512 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
51513
554881ef
UD
515142011-09-05 Ulrich Drepper <drepper@gmail.com>
51515
d96de963
UD
51516 [BZ #13134]
51517 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
51518 before glibc 2.15.
51519 (tryshell): Define.
51520 (__spawni): Change last parameter to be flag. Test
51521 SPAWN_XFLAGS_USE_PATH flag to use path or not.
51522 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
51523 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
51524 * posix/spawni.c: Likewise.
51525 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
51526 * posix/spawnp.c: Likewise. Change normal version to use
51527 SPAWN_XFLAGS_USE_PATH.
51528 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
51529 SPAWN_XFLAGS_TRY_SHELL.
51530
d48e5868
UD
51531 [BZ #13150]
51532 * posix/glob.h: Remove gcc 1.x support.
51533
554881ef
UD
51534 [BZ #13068]
51535 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
51536
693fb948
LD
515372011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51538
51539 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51540 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
51541 strrchr-sse2-bsf
51542 * sysdeps/i386/i686/multiarch/strchr.S: New file.
51543 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
51544 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
51545 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
51546 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
51547 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
51548
1b48c537
UD
515492011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51550
49d42c37
UD
51551 * sysdeps/x86_64/wcscmp.S: New file.
51552
1b48c537
UD
51553 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
51554 wcscmp-c wcscmp-sse2
51555 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
51556 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
51557 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
51558 * wcsmbs/wcscmp.c: Allow renaming.
51559
15c95c5d
DM
515602011-09-05 David S. Miller <davem@davemloft.net>
51561
51562 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
51563 stack slot, rather than the struct return pointer slot.
51564 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
51565 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
51566 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
51567 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
51568
2f0ad8f3
UD
515692011-09-05 Ulrich Drepper <drepper@gmail.com>
51570
d88ae418
UD
51571 * po/ja.po: Update from translation team.
51572
2f0ad8f3
UD
51573 [BZ #13144]
51574 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
51575 kernel in 64-bit binaries.
51576
5f4318d1
DM
515772011-09-01 David S. Miller <davem@davemloft.net>
51578
51579 * elf/elf.h (HWCAP_SPARC_*): Move to..
51580 * sysdeps/sparc/sysdep.h: this new file and add new values.
51581 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
51582 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
51583 _DL_HWCAP_COUNT to 24.
51584 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
51585 entries.
51586 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
51587 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
51588 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
51589 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
51590 instead of magic constants.
51591 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51592
3ba57516
DM
515932011-08-31 David S. Miller <davem@davemloft.net>
51594
51595 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
51596 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
51597 Reimplement to do errno handling inline.
51598 (SYSCALL_ERROR_HANDLER): New macro.
51599 (__SYSCALL_STRING): Do not do errno handling in asm.
51600 (__CLONE_SYSCALL_STRING): Delete.
51601 (__INTERNAL_SYSCALL_STRING): Delete.
51602 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
51603 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
51604 (PSEUDO): Reimplement to do errno handling inline.
51605 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
51606 (SYSCALL_ERROR_HANDLER): New macro.
51607 (__SYSCALL_STRING): Do not do errno handling in asm.
51608 (__CLONE_SYSCALL_STRING): Delete.
51609 (__INTERNAL_SYSCALL_STRING): Delete.
51610 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
51611 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
51612 i386.
51613 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
51614 (inline_syscall*): Add 'err' argument.
51615 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
51616 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
51617 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
51618 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
51619
51620 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
51621 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
51622
2bc17433
AS
516232011-08-30 Andreas Schwab <schwab@redhat.com>
51624
51625 * elf/rtld.c (dl_main): Relocate objects in dependency order.
51626
fbeb5f4d
JO
516272011-08-29 Jiri Olsa <jolsa@redhat.com>
51628
51629 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
51630 directive.
51631
ad69cc26
DM
516322011-08-24 David S. Miller <davem@davemloft.net>
51633
51634 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
51635
39dd69df
AS
516362011-08-24 Andreas Schwab <schwab@redhat.com>
51637
51638 * elf/Makefile: Add rules to build and run unload8 test.
51639 * elf/unload8.c: New file.
51640 * elf/unload8mod1.c: New file.
51641 * elf/unload8mod1x.c: New file.
51642 * elf/unload8mod2.c: New file.
51643 * elf/unload8mod3.c: New file.
51644
51645 * elf/dl-close.c (_dl_close_worker): Reset private search list if
51646 it wasn't used.
51647
2c0b250a
DM
516482011-08-23 David S. Miller <davem@davemloft.net>
51649
51650 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
51651 subtract stack bias.
51652 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
51653 %sp not %fp in calculations.
51654 (_JMPBUF_UNWINDS_ADJ): Likewise.
51655
22044b48
DM
51656 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
51657 (aio_suspend): Call it to force an exception region around the
51658 AIO_MISC_WAIT() invocation.
51659
2cae4995
AS
516602011-08-23 Andreas Schwab <schwab@redhat.com>
51661
51662 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
51663 backslash.
51664
873a772e
AJ
516652011-07-04 Aurelien Jarno <aurelien@aurel32.net>
51666
51667 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
51668 protection macro.
51669 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
51670 and <dl-machine.h>.
51671 (Elf64_FuncDesc): Remove.
51672
25ad0df1
DM
516732011-08-22 David S. Miller <davem@davemloft.net>
51674
51675 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
51676 sigaltstack check, add missing cfi directives.
51677 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
51678 missing cfi directives, and sigaltstack handling.
51679
e888bcbe
AS
516802011-08-16 Andreas Schwab <schwab@redhat.com>
51681
51682 [BZ #11724]
51683 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
51684 object is seen twice.
51685 * elf/dl-fini.c (_dl_sort_fini): Likewise.
51686
51687 * elf/Makefile (distribute): Add tst-initorder2.c.
51688 (tests): Add tst-initorder2.
51689 (modules-names): Add tst-initorder2a tst-initorder2b
51690 tst-initorder2c tst-initorder2d. Add rules to build them.
51691 ($(objpfx)tst-initorder2.out): New rule.
51692 * elf/tst-initorder2.c: New file.
51693 * elf/tst-initorder2.exp: New file.
51694
87162f46
AS
516952011-08-22 Andreas Schwab <schwab@redhat.com>
51696
70538b7f
AS
51697 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
51698
f55ffe58
AS
51699 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
51700 dependencies back to end of function.
51701
87162f46
AS
51702 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
51703 $(elfobjdir)/ld.so.
51704
91b392a4
UD
517052011-08-21 Ulrich Drepper <drepper@gmail.com>
51706
51707 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
51708 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
51709 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
51710 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
51711 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
51712 of __vdso_gettimeofday.
51713 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
51714 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
51715 attribute_hidden.
51716 (_libc_vdso_platform_setup): Remove initialization of
51717 __vdso_gettimeofday and __vdso_time.
51718
5c43483f
UD
517192011-08-20 Ulrich Drepper <drepper@gmail.com>
51720
775a77e7
UD
51721 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
51722 and fgetc_unlocked.
51723 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
51724 getc_unlocked.
89f447ed 51725
49c74ba9
UD
51726 * elf/dl-open.c (add_to_global): Report additions to the global scope
51727 for LD_DEBUG=scopes.
51728 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 51729 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 51730
5c43483f
UD
51731 [BZ #13114]
51732 * stdio-common/Makefile (tests): Add bug24.
51733 * stdio-common/bug24.c: New file.
51734
a101b025
AJ
517352011-08-19 Andreas Jaeger <aj@suse.de>
51736
51737 [BZ #13114]
51738 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
51739 non-existant file when using close-on-exec mode.
51740
c88f1766
UD
517412011-08-20 Ulrich Drepper <drepper@gmail.com>
51742
0276a718
UD
51743 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
51744 the very first instruction.
51745
c88f1766
UD
51746 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
51747 the CFI state in the end.
51748 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
51749 inclusion of dl-trampoline.h.
51750 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
51751
51ccffa0
AS
517522011-08-19 Andreas Schwab <schwab@redhat.com>
51753
94d7165f
AS
51754 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
51755 expectations for long double.
51756
51ccffa0
AS
51757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
51758 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
51759
fd708658 517602011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
51761
51762 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
51763 artificual limit depends upon the system page size.
51764
44f0a71e
UD
517652011-08-17 Ulrich Drepper <drepper@gmail.com>
51766
51767 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
51768 * resolv/Makefile: Define CFLAGS-libresolv.
51769
8de79a24
AS
517702011-08-17 Andreas Schwab <schwab@redhat.com>
51771
51772 * nss/makedb.c (compute_tables): Make variables used in nested
51773 function static.
51774
27724598
UD
517752011-08-17 Ulrich Drepper <drepper@gmail.com>
51776
c5305d88
UD
51777 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
51778 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
51779 if buffer was too small.
51780
27724598
UD
51781 * elf/pldd.c (main): Attach to all threads in the process.
51782 Rewrite /proc handling to use *at functions.
51783
076fe015
UD
517842011-08-16 Ulrich Drepper <drepper@gmail.com>
51785
174baab3
UD
51786 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
51787 specifies first scope to show.
51788 (dl_open_worker): Update callers. Move printing scope of new
51789 object to before the relocation.
44f0a71e 51790 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
51791 * sysdeps/generic/ldsodefs.h: Update declaration.
51792
076fe015
UD
51793 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
51794 string for the scope number.
51795
a60df2c3
UD
517962011-08-14 Ulrich Drepper <drepper@gmail.com>
51797
51798 * nscd/servicescache.c (cache_addserv): Make sure written is always
51799 initialized.
51800
5e4287d1
RM
518012011-08-14 Roland McGrath <roland@hack.frob.com>
51802
85ae0589
RM
51803 * sysdeps/i386/i486/bits/atomic.h
51804 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
51805 statement expression, so as to suppress "set but not used" warning.
51806 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
51807
69f63097
RM
51808 * string/strncat.c (STRNCAT): Use prototype definition.
51809
675456ef
RM
51810 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
51811 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
51812 -Iprograms here.
51813 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
51814 (localedef-modules): Add localedef.
51815 (locale-modules): Add locale.
51816
5e4287d1
RM
51817 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
51818 * elf/rtld.c (dl_main): Invert order of assignment in last change,
51819 to avoid a warning.
51820
9c96ff23
DM
518212011-08-14 David S. Miller <davem@davemloft.net>
51822
51823 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
51824 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
51825
f9ddf089
UD
518262011-08-13 Ulrich Drepper <drepper@gmail.com>
51827
44f0a71e 51828 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
51829 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
51830 * elf/rtld.c (dl_main): Set l_name of vDSO.
51831 Call _dl_show_scope when DL_DEBUG_SCOPES.
51832 (process_dl_debug): Recognize scopes flag and also set it for all.
51833 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
51834 Declare _dl_show_scope.
51835
1dc27704
UD
51836 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
51837 (do_dlopen): Pass caller_dlopen to dl_open.
51838 (__libc_dlopen_mode): Initialize caller_dlopen.
51839
f9ddf089
UD
51840 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
51841 of libc. Make tolower call locale-independent. Optimize a bit by
51842 using isdigit instead of isalnum.
51843 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
51844
9ac533d3
UD
518452011-08-12 Ulrich Drepper <drepper@gmail.com>
51846
51847 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
51848 was a dependency or dynamically loaded.
51849
89edf2e9
UD
518502011-08-11 Ulrich Drepper <drepper@gmail.com>
51851
8e999d29
UD
51852 * intl/l10nflist.c: Allow architecture-specific pop function.
51853 * sysdeps/x86_64/l10nflist.c: New file.
51854
89edf2e9
UD
51855 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
51856 classification.
51857
14d96785
AS
518582011-08-10 Andreas Schwab <schwab@redhat.com>
51859
51860 * include/dirent.h: Add libc_hidden_proto for scandirat and
51861 scandirat64. Don't declare __scandirat64.
51862 * dirent/scandirat.c: Add libc_hidden_def.
51863 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
51864 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
51865
6761ac04
DM
518662011-08-10 David S. Miller <davem@davemloft.net>
51867
51868 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
51869 enum.
51870 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51871 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51872 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51873
c55fbd1e
UD
518742011-08-09 Ulrich Drepper <drepper@gmail.com>
51875
51876 * Versions.def [libc]: Add GLIBC_2.15.
51877 * dirent/Makefile (routines): Add scandirat and scandirat64.
51878 * dirent/Versions [libc]: Export scandirat and scandirat64 for
51879 GLIBC_2.15.
51880 * dirent/dirent.h: Declare scandirat and scandirat64.
51881 * dirent/scandirat.c: New file.
51882 * dirent/scandirat64.c: New file.
51883 * sysdeps/wordsize-64/scandirat.c: New file.
51884 * sysdeps/wordsize-64/scandirat64.c: New file.
51885 * dirent/opendir.c: Define opendirat.
51886 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
51887 using scandirat.
51888 * dirent/scandir64.c: Adjust for scandir.c change.
51889 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
51890 __scandirat64, and __scandir_cancel_handler.
51891 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
51892 additional parameter and use openat instead of open (outside of ld.so).
51893 Add new __opendir as wrapper around __opendirat.
51894 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
51895 here without requiring old scandirat implementation.
51896
879165f2
UD
518972011-08-08 Ulrich Drepper <drepper@gmail.com>
51898
51899 * dirent/scandir.c (cancel_handler): Renamed to
51900 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
51901 defined. Adjust users.
51902 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
51903 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
51904
cb7e923b
UD
519052011-08-04 Ulrich Drepper <drepper@gmail.com>
51906
16292edd
UD
51907 * string/test-string.h (IMPL): Use __STRING to expand name and then
51908 stringify it.
51909
cb7e923b
UD
51910 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
51911 of cleanups.
51912
cff82933
LD
519132011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51914
51915 * string/Makefile: Update.
51916 (strop-tests): Append strncat.
51917 * string/test-wcscmp.c: New file.
51918 New comprehensive test for wcscmp.
51919 * string/test-strcmp.c: Update.
51920 (WIDE): New define.
51921
9be9bfcc
AS
519222011-07-22 Andreas Schwab <schwab@redhat.com>
51923
51924 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
51925 line.
51926
2e96f1c7
AS
519272011-07-26 Andreas Schwab <schwab@redhat.com>
51928
51929 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
51930 encoding to ACE if AI_IDN.
51931
85188888
JJ
519322011-08-01 Jakub Jelinek <jakub@redhat.com>
51933
51934 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
51935 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
51936
5fa16e9b
LD
519372011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51938
51939 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
51940 Fix overflow bug in strncat.
51941 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
51942
51943 * string/test-strncat.c: Update.
51944 Add new tests for checking overflow bugs.
51945
519462011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51947
51948 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51949 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
51950 * sysdeps/i386/i686/multiarch/strcat.S: New file.
51951 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
51952 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
51953 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
51954 * sysdeps/i386/i686/multiarch/strncat.S: New file.
51955 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
51956 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
51957
51958 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
51959 (USE_AS_STRCAT): Define.
51960 Add strcat and strncat support.
51961 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
51962
8c1a459f
AS
519632011-07-25 Andreas Schwab <schwab@redhat.com>
51964
51965 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
51966 __n bigger than INT_MAX+1.
51967 (__strncmp_g): Likewise.
51968
bba33c28
UD
519692011-07-23 Ulrich Drepper <drepper@gmail.com>
51970
798be72d
UD
51971 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
51972 * libio/stido.h: Likewise.
51973
8accd4dc
UD
51974 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
51975 (AF_NFC): Define.
51976 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
51977 (AF_NFC): Define.
51978
cbff0d96
UD
51979 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
51980 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51981 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51982 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
51983 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51984
9191c04a
UD
51985 [BZ #13021]
51986 * scripts/test-installation.pl: Don't expect libnss_test1 to be
51987 installed.
51988
bba33c28
UD
51989 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
51990 typo.
51991 (_dl_x86_64_save_sse): Likewise.
51992
90f139dd
UD
519932011-07-22 Ulrich Drepper <drepper@gmail.com>
51994
1aae088a
UD
51995 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
51996 OSXSAVE.
51997 (_dl_x86_64_save_sse): Likewise.
51998
8e2045f5
UD
51999 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
52000
90f139dd
UD
52001 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
52002
1d002f25
AS
520032011-07-21 Andreas Schwab <schwab@redhat.com>
52004
52005 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
52006 change.
52007 (_dl_x86_64_save_sse): Use correct AVX check.
52008
21137f89
UD
520092011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52010
52011 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
52012 bug in strncpy/strncat.
52013 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
52014
a65c0b7a
UD
520152011-07-21 Ulrich Drepper <drepper@gmail.com>
52016
52017 * string/tester.c (test_strcat): Add tests for different alignments
52018 of source and destination.
52019 (test_strncat): Likewise.
52020
6986b98a
UD
520212011-07-20 Ulrich Drepper <drepper@gmail.com>
52022
90bb2039
UD
52023 [BZ #12852]
52024 * posix/glob.c (glob): Check passed in values before using them in
52025 expressions to avoid some overflows.
52026 (glob_in_dir): Likewise.
52027
5644ef54
UD
52028 [BZ #13007]
52029 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
52030 check for AVX enablement so that we don't crash with old kernels and
52031 new hardware.
52032 * elf/tst-audit4.c: Add same checks here.
52033 * elf/tst-audit6.c: Likewise.
52034
52035 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 52036
bfc9dc9b
AS
520372011-07-09 Andreas Schwab <schwab@linux-m68k.org>
52038
52039 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
52040
702e64bb
UD
520412011-07-20 Ulrich Drepper <drepper@gmail.com>
52042
52043 * po/cs.po: Update from translation team.
52044 * po/bg.po: Likewise.
52045
295e904f
MP
520462011-07-12 Marek Polacek <mpolacek@redhat.com>
52047
52048 * misc/sys/cdefs.h: Add support for const attribute.
52049 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
52050 to gnu_dev_{major,minor,makedev} functions.
52051
3ff94596
MP
520522011-07-20 Marek Polacek <mpolacek@redhat.com>
52053
52054 * intl/dcigettext.c (get_output_charset): Add missing bracket.
52055
28b59fca
AS
520562011-07-20 Andreas Schwab <schwab@redhat.com>
52057
52058 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
52059 strlen results.
52060
19df733e
AK
520612011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52062
52063 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
52064 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
52065 register in order to avoid conflicts with the soft frame pointer
52066 being held in r11 when necessary.
52067 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
52068 (INTERNAL_VSYSCALL_NCS): Likewise.
52069
c8835729
MP
520702011-07-14 Marek Polacek <mpolacek@redhat.com>
52071
52072 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
52073 * elf/dl-fini.c (_dl_fini): Adjust caller.
52074 * elf/dl-close.c (_dl_close_worker): Likewise.
52075 * sysdeps/generic/ldsodefs.h: Adjust declaration.
52076
b902330c
MP
520772011-07-15 Marek Polacek <mpolacek@redhat.com>
52078
8991e135
MP
52079 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
52080 "aux_cache->nlibs < 0".
52081
b902330c
MP
52082 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
52083 in the reload-count case.
52084
99710781
LD
520852011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52086
52087 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52088 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
52089 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
52090 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
52091 * sysdeps/x86_64/multiarch/strcat.S: New file.
52092 * sysdeps/x86_64/multiarch/strncat.S: New file.
52093 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
52094 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
52095 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
52096 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
52097 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
52098 (USE_AS_STRCAT): Define.
52099 Add strcat and strncat support.
52100 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52101 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
52102 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
52103 * string/strncat.c: Update.
52104 (USE_AS_STRNCAT): Define.
52105 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52106 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
52107 and i7.
52108 * sysdeps/x86_64/multiarch/init-arch.h
52109 (bit_Prefer_PMINUB_for_stringop): New.
52110 (index_Prefer_PMINUB_for_stringop): Likewise.
52111 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
52112 bit_Prefer_PMINUB_for_stringop.
52113
7dc6bd90
UD
521142011-07-19 Ulrich Drepper <drepper@gmail.com>
52115
52116 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
52117 buffer64.
52118 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
52119 of casting of buffer.
52120 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
52121 buffer32 and buffer64.
52122 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
52123 writes instead of casting of buffer.
52124 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
52125 buffer32.
52126 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
52127 casting of buffer.
52128
e0e72284
AS
521292011-07-19 Andreas Schwab <schwab@redhat.com>
52130
52131 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
52132
feb1eb0b
UD
521332011-07-19 Ulrich Drepper <drepper@gmail.com>
52134
52135 * nscd/nscd.c (termination_handler): Don't do anything for a database
52136 if it has not yet been initialized.
52137
298711ff
UD
521382011-07-18 Ulrich Drepper <drepper@gmail.com>
52139
52140 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
52141
521422011-07-15 Marek Polacek <mpolacek@redhat.com>
52143
52144 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
52145
f9d68389
UD
521462011-07-18 Ulrich Drepper <drepper@gmail.com>
52147
52148 * po/nl.po: Update from translation team.
52149 * po/sv.po: Likewise.
52150
db290cf5
RM
521512011-07-16 Roland McGrath <roland@hack.frob.com>
52152
52153 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
52154 now disallowed by GCC.
5c550700 52155
fd5e21c7
RM
52156 * configure.in (use-default-link): Default to yes if a test -shared
52157 link meets our qualifications.
52158 * configure: Regenerated.
52159
5c550700
RM
52160 * config.make.in (output-format): New variable.
52161 * configure.in: Check for ld --print-output-format support.
52162 * configure: Regenerated.
52163 * Makerules ($(common-objpfx)format.lds)
52164 [$(output-format) != unknown]: Just use $(output-format),
52165 instead of the linker-script munging.
52166
9fa2c032
RM
521672011-07-14 Roland McGrath <roland@hack.frob.com>
52168
a6928d51
RM
52169 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
52170 of $(common-objpfx)shlib.lds.
52171 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
52172
661607b3
RM
52173 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
52174 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
52175
9fa2c032
RM
52176 * configure.in (-z relro check): Adjust test code to add a large
52177 writable data section after it.
52178 * configure: Regenerated.
52179
defe9061
RM
521802011-07-11 Roland McGrath <roland@hack.frob.com>
52181
52182 * configure.in (-z relro check): Fix test code to make the variable
52183 truly const.
52184 * configure: Regenerated.
52185
319b9ad4
UD
521862011-07-11 Ulrich Drepper <drepper@gmail.com>
52187
52188 * nscd/nscd.h (struct traced_file): Define.
52189 (struct database_dyn): Remove inotify_descr, reset_res, and filename
52190 elements. Add traced_files.
52191 (inotify_fd): Declare.
52192 (register_traced_file): Declare.
52193 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
52194 (inotify_fd): Export.
52195 (resolv_conf_descr): Remove.
52196 (nscd_init): Move inotify descriptor creation to main.
52197 Don't register files for notification here.
52198 (register_traced_file): New function.
52199 (invalidate_cache): Don't use reset_res to determine whether to call
52200 res_init, go through the list of registered files.
52201 (main_loop_poll): The inotify descriptors are now stored in the
52202 structures for the traced files.
52203 (main_loop_epoll): Likewise
52204 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
52205 to __nss_disable_nscd.
52206 * nscd/cache.c (prune_cache): There is no single inotify descriptor
52207 for a database anymore. Check the records for all the registered
52208 files instead.
52209 * nss/Makefile (libnss_files-routines): Add files-init.
52210 (libnss_db-routines): Add db-init.
52211 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
52212 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
52213 * nss/nss_db/db-init.c: New file.
52214 * nss/nss_files/files-init.c: New file.
52215 * nss/nsswitch.c (nss_load_library): New function. Broken out of
52216 __nss_lookup_function.
52217 (__nss_lookup_function): Call nss_load_library.
52218 (nss_load_all_libraries): New function.
52219 (__nss_disable_nscd): Take parameter with callback function for files
52220 to register. Set is_nscd. Load all the DSOs for the NSS modules
52221 used for the cached services.
52222 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
52223 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
52224 options for features to all the files in nscd.
52225
52226 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
52227
23bee3e8
RM
522282011-07-10 Roland McGrath <roland@hack.frob.com>
52229
52230 * csu/elf-init.c (__libc_csu_init): Comment typo.
52231
46a5b7f0
UD
522322011-07-09 Ulrich Drepper <drepper@gmail.com>
52233
52234 * po/pl.po: Update from translation team.
52235 * po/ja.po: Likewise.
52236 * po/ru.po: Likewise.
52237 * po/ko.po: Likewise.
52238 * po/fr.po: Likewise.
52239
d30cf5bb
RM
522402011-07-09 Roland McGrath <roland@hack.frob.com>
52241
113ddea4
RM
52242 * configure.in (.ctors/.dtors header and trailer check):
52243 Use an empirical test on a built program.
52244 * configure: Regenerated.
52245
574920b4
RM
52246 * configure.in (-z relro check): Use an empirical test on a built DSO.
52247 Detect, but do not require, on ia64.
52248 * configure: Regenerated.
52249
d30cf5bb
RM
52250 * configure.in (READELF): Find it with AC_CHECK_TOOL.
52251 Update tests that use readelf to use $READELF instead.
52252 * configure: Regenerated.
52253
8538fdb3
UD
522542011-07-08 Ulrich Drepper <drepper@gmail.com>
52255
52256 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
52257 if the result is not used.
52258
04d08991
AJ
522592011-07-05 Andreas Jaeger <aj@suse.de>
52260
52261 [BZ#9696]
52262 * stdlib/tst-strtod.c: Add testcase.
52263
de283087
AD
522642011-07-07 Ulrich Drepper <drepper@gmail.com>
52265
4e5f31c8 52266 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 52267 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
52268 The latter has a higher limit. Take additional parameter to pass to
52269 the new function.
52270 (__pathconf): Pass file to __statfs_link_max.
52271 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
52272 __statfs_link_max.
52273 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
52274 __statfs_link_max.
52275
de283087
AD
52276 [BZ #12868]
52277 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
52278 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52279 Handle Lustre.
52280 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
52281 (__statfs_filesize_max): Likewise.
52282 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
52283
c75fa153
AJ
522842011-07-05 Andreas Jaeger <aj@suse.de>
52285
52286 * resolv/res_comp.c (dn_skipname): Remove unused variable.
52287
1a544854
UD
522882011-07-06 Marek Polacek <mpolacek@redhat.com>
52289
52290 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
52291 `status' variable.
52292 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
52293 Likewise.
52294
6f0eec67
UD
522952011-07-04 H.J. Lu <hongjiu.lu@intel.com>
52296
52297 * Makefile (strop-tests): Add strncat.
52298 * string/test-strncat.c: New file.
52299
aae30307
UD
523002011-06-30 Marek Polacek <mpolacek@redhat.com>
52301
52302 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
52303
c0cfb5eb
UD
523042011-06-21 Andreas Jaeger <aj@suse.de>
52305
52306 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
52307 Copy rule from iconvdata/Makefile.
52308
01636b21
UD
523092011-07-06 Ulrich Drepper <drepper@gmail.com>
52310
52311 [BZ #12922]
52312 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
52313 but no long options are defined, just return 'W'.
52314
9895c8bc
UD
523152011-06-22 Marek Polacek <mpolacek@redhat.com>
52316
52317 [BZ #9696]
52318 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
52319
5d4cf042
UD
523202011-07-06 Ulrich Drepper <drepper@gmail.com>
52321
52322 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
52323 netgroups to read.
960e5535 52324 (innetgr): Likewise.
5d4cf042 52325
751eb97e
RM
523262011-07-05 Roland McGrath <roland@hack.frob.com>
52327
52328 * config.make.in (install_root): Default to $(DESTDIR).
52329
f15f1e45
UD
523302011-07-05 Ulrich Drepper <drepper@gmail.com>
52331
52332 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
52333
4e34ac6a
RM
523342011-07-02 Roland McGrath <roland@hack.frob.com>
52335
5e9b6af4
RM
52336 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
52337
84f9ea0f
RM
52338 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
52339 containing directory rather than embedding absolute directory names.
52340
ea5ee9f7
RM
52341 * scripts/check-local-headers.sh: Rewritten using awk.
52342 Match by word, not by line. Print error messages for matches.
52343 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
52344
1b74661a
RM
52345 * Makerules [shlib-lds-flags empty]:
52346 ($(common-objpfx)libc_pic.opts): New target.
52347 ($(common-objpfx)libc_pic.os.clean): New target.
52348 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
52349
52350 * config.make.in (OBJCOPY): New variable.
52351 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
52352 * configure: Regenerated.
52353
f781ef40
RM
52354 * config.make.in (use-default-link): New variable.
52355 * configure.in (use_default_link): Grok --with-default-link to set it.
52356 * configure: Regenerated.
52357 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
52358 (shlib-lds, shlib-lds-flags): Define to empty.
52359
2d4fa81e
RM
52360 * Makerules (shlib-lds): New variable.
52361 (shlib-lds-flags): New variable.
52362 (build-shlib, build-moduile, build-module-asneeded): Use it.
52363 ($(common-objpfx)libc.so): Use $(shlib-lds).
52364 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
52365 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
52366
31fffa6b
RM
52367 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
52368 DT_FLAGS/DT_FLAGS_1 with zero flags.
52369
4e34ac6a
RM
52370 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
52371 linker script munging.
52372
fcfc776b
UD
523732011-07-02 Ulrich Drepper <drepper@gmail.com>
52374
52375 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
52376 as 128-bit value.
52377 * crypt/sha512.c (sha512_process_block): Perform total addition using
52378 128-bit if possible.
52379 (__sha512_finish_ctx): Likewise.
52380 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
52381 as 64-bit value.
52382 * crypt/sha256.c (SWAP64): Define.
52383 (sha256_process_block): Perform total addition using 64-bit if
52384 possible.
52385 (__sha256_finish_ctx): Likewise.
52386
99231d9a
UD
523872011-07-01 Ulrich Drepper <drepper@gmail.com>
52388
52389 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
52390 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52391 * nscd/hstcache.c (cache_addhst): Likewise.
52392 * nscd/grpcache.c (cache_addgr): Likewise.
52393 * nscd/aicache.c (addhstaiX): Likewise
52394 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
52395
445b4a53
TK
523962011-07-01 Thorsten Kukuk <kukuk@suse.de>
52397
52398 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
52399 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52400 * nscd/hstcache.c (cache_addhst): Likewise.
52401 * nscd/grpcache.c (cache_addgr): Likewise.
52402 * nscd/aicache.c (addhstaiX): Likewise
52403
6d4d8e8e
AS
524042011-07-01 Andreas Schwab <schwab@redhat.com>
52405
52406 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
52407 domain only when needed.
52408
89f654c5
AS
524092011-06-30 Andreas Schwab <schwab@redhat.com>
52410
52411 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
52412 is always restored.
52413
cf3b23ff
UD
524142011-06-29 Ulrich Drepper <drepper@gmail.com>
52415
52416 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
52417 are re-adding the entry.
52418 * nscd/servicescache.c (cache_addserv): Likewise.
52419
751626f9
AJ
524202011-06-30 Aurelien Jarno <aurelien@aurel32.net>
52421
52422 * sysdeps/generic/dl-irel.h: fix protection against multiple
52423 inclusions.
52424 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
52425
9113ea1f
UD
524262011-06-28 Ulrich Drepper <drepper@gmail.com>
52427
5c0b8d90
UD
52428 [BZ #12935]
52429 * malloc/memusage.sh: Fix quoting in message.
52430 * debug/xtrace.sh: Likewise.
52431
9113ea1f
UD
52432 * configure.in: Remove support for --experimental-malloc option, make
52433 it the default.
52434 * config.make.in: Likewise.
52435 * malloc/Makefile: Likewise.
52436
a4172181
AS
524372011-06-27 Andreas Schwab <schwab@redhat.com>
52438
52439 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
52440 two-byte characters.
52441
78a7eee7
RM
524422011-06-27 Roland McGrath <roland@hack.frob.com>
52443
62bede13
RM
52444 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
52445 AC_CACHE_CHECK invocation.
52446 * configure: Regenerated.
52447
78a7eee7
RM
52448 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
52449
5ce33a62
UD
524502011-06-27 Ulrich Drepper <drepper@gmail.com>
52451
034807a9
UD
52452 [BZ #12350]
52453 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
52454 bit from old_res_options.
52455
4902da17
UD
52456 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
52457
5ce33a62
UD
52458 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
52459 value type for setfct.
52460
c2344f56
L
524612011-06-23 H.J. Lu <hongjiu.lu@intel.com>
52462
52463 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
52464 __gettimeofday instead of gettimeofday.
52465
68468076
UD
524662011-06-26 Ulrich Drepper <drepper@gmail.com>
52467
52468 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
52469
acb0d739
L
524702011-06-24 H.J. Lu <hongjiu.lu@intel.com>
52471
52472 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
52473
52474 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
52475 info.
52476
8912479f
L
524772011-06-22 H.J. Lu <hongjiu.lu@intel.com>
52478
52479 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52480 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
52481 strcpy-sse2-unaligned strncpy-sse2-unaligned
52482 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
52483 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
52484 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
52485 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
52486 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
52487 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
52488 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
52489 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
52490 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
52491 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
52492 (STRCPY): Support SSE2 and SSSE3 versions.
52493
d5495a11
UD
524942011-06-24 Ulrich Drepper <drepper@gmail.com>
52495
52496 [BZ #12874]
52497 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
52498 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
52499 kernels which artificially limit size of requests.
52500
0b1cbaae
L
525012011-06-22 H.J. Lu <hongjiu.lu@intel.com>
52502
52503 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52504 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
52505 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
52506 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
52507 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
52508 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
52509 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
52510 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
52511 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
52512 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
52513 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
52514 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
52515 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
52516 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
52517 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
52518 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52519 Enable unaligned load optimization for Intel Core i3, i5 and i7
52520 processors.
52521 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
52522 Define.
52523 (index_Fast_Unaligned_Load): Define.
52524 (HAS_FAST_UNALIGNED_LOAD): Define.
52525
07f494a0
MP
525262011-06-23 Marek Polacek <mpolacek@redhat.com>
52527
52528 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
52529
fa3fc0fe
UD
525302011-06-22 Ulrich Drepper <drepper@gmail.com>
52531
52532 [BZ #12907]
52533 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
52534 until it is clear that the information is realy needed.
52535 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
52536
e12df166
AS
525372011-06-22 Andreas Schwab <schwab@redhat.com>
52538
52539 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
52540
852eb34d
UD
525412011-06-22 Ulrich Drepper <drepper@gmail.com>
52542
84e2a551
UD
52543 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
52544 /sys/devices/system/cpu/online if it is usable.
52545
852eb34d
UD
52546 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
52547 reading the information from the /proc filesystem to once a second.
52548
6e502e19
UD
525492011-06-21 Andreas Jaeger <aj@suse.de>
52550
52551 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
52552 NULL after inclusion of kernel headers.
52553
75d39ff2
UD
525542011-06-21 Ulrich Drepper <drepper@gmail.com>
52555
51f9aa6a
UD
52556 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
52557 calls to internal_setent.
52558
c0244a9d
UD
52559 [BZ #12885]
52560 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
52561 addresses using gethostbyname4_r ignore IPv4 addresses.
52562
c5e3c2ae
UD
52563 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
52564 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
52565
75d39ff2
UD
52566 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
52567
42675c6f
DM
525682011-06-20 David S. Miller <davem@davemloft.net>
52569
52570 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
52571 inclusions.
52572 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
52573
52574 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
52575 (elf_irel): Use it.
52576 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
52577 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
52578 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
52579 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
52580 * sysdeps/x86_64/dl-irel.h: Likewise.
52581
52582 * elf/dl-runtime.c: Use elf_ifunc_invoke.
52583 * elf/dl-sym.c: Likewise.
52584
57912a71
UD
525852011-06-15 Ulrich Drepper <drepper@gmail.com>
52586
52587 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
52588 need to dereference resplen2.
52589
ee22793d
AS
525902011-06-14 Andreas Schwab <schwab@redhat.com>
52591
52592 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
52593
a9e836b0
UD
525942011-06-15 Ulrich Drepper <drepper@gmail.com>
52595
77fb9117
UD
52596 * Makeconfig: Define vardbdir and inst_vardbdir.
52597 * nss/Makefile: Add rules to install db-Makefile.
52598
40c1b22c
UD
52599 * nss/nss_db/db-XXX.c: Cleanup.
52600
9f2da732
UD
52601 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
52602 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
52603 GLIBC_PRIVATE.
52604 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
52605 * nss/makedb.c: Implement -g option to specify that value strings
52606 are generated and should not be added to table iterated over for
52607 get*ent calls.
52608 * nss/nss_db/db-initgroups.c: New file.
52609
82e9a1f7
UD
52610 * nss/getent.c: Add support for initgroups lookups through getgrouplist
52611 interface.
52612
c41af17e
UD
52613 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
52614 (internal_getgrouplist): Adjust to name change.
52615 Update use_initgroups_entry if this is not the first call.
52616 * nss/databases.def: Add initgroups entry.
52617
a9e836b0
UD
52618 * nss/makedb.c (compute_tables): Check result of multiple hash table
52619 sizes to minimize maximum chain length.
52620
2666d441
UD
526212011-06-14 Ulrich Drepper <drepper@gmail.com>
52622
52623 * Versions.def: Add entry for libnss_db.
52624 * shlib-versions: Likewise.
52625 * nss/Makefile: Add rules to build libnss_db.
52626 * nss/Versions: Add libnss_db information. Organize libnss_files
52627 entries better.
52628 * nss/db-Makefile: Add gshadow support. Change rules for the new
52629 makedb progra. Some minor improvements to generate smaller files.
52630 * nss/nss_db/nss_db.h: Move NSS database header data structures to
52631 here from...
52632 * nss/makedb.c: ...here.
52633 Improve database format to be smaller and require less memory at
52634 runtime.
52635 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
52636 db anymore.
52637 * nss/nss_db/db-netgrp.c: Likewise.
52638 * nss/nss_db/db-open.c: Likewise.
52639 * nss/nss_files/flies-XXX.x: Adjust comments.
52640 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
52641 * nss/nss_files/files-grp.c: Likewise.
52642 * nss/nss_files/files-hosts.c: Likewise.
52643 * nss/nss_files/files-network.c: Likewise.
52644 * nss/nss_files/files-proto.c: Likewise.
52645 * nss/nss_files/files-pwd.c: Likewise.
52646 * nss/nss_files/files-rpc.c: Likewise.
52647 * nss/nss_files/files-service.c: Likewise.
52648 * nss/nss_files/files-sgrp.c: Likewise.
52649 * nss/nss_files/files-spwd.c: Likewise.
52650 * nss/nss_db/db-alias.c: Removed.
52651 * nss/nss_db/dummy-db.h: Removed.
52652
9ee76b5a
UD
526532011-06-02 Ulrich Drepper <drepper@gmail.com>
52654
52655 * nss/makedb.c: Rewritten to not use database library.
52656 * nss/Makefile: Update to build new makedb program.
52657
c71ca1f8
AJ
526582011-06-14 Andreas Jaeger <aj@suse.de>
52659
52660 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
52661 memset declaration.
52662
3154bfb8
UD
526632011-06-10 Andreas Schwab <schwab@redhat.com>
52664
52665 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
52666 tmpbuf.
52667
b350afab
RM
526682011-06-10 Roland McGrath <roland@hack.frob.com>
52669
decd4e50
RM
52670 * Makerules (shlib.lds): Fail if the linker script comes out empty.
52671 * elf/Makefile ($(objpfx)ld.so): Likewise.
52672
5615eaf2
RM
52673 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
52674 Don't list ld.so twice in dependencies.
52675
52676 * posix/bug-regex31.c: Include <stdlib.h>.
52677
52678 * nscd/hstcache.c (cache_addhst): Remove unused variable.
52679
52680 * nis/nss_compat/compat-spwd.c
52681 (getspent_next_nss_netgr): Remove unused variable.
52682 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
52683
52684 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
52685 nonmembers" output to use the right array.
52686
52687 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
52688
52689 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
52690
52691 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
52692 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
52693 * catgets/gencat.c (read_input_file): Likewise.
52694 * locale/programs/locarchive.c (enlarge_archive): Likewise.
52695
52696 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
52697 variable definition inside #if's controlling its use.
52698
52699 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
52700
52701 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
52702
52703 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
52704
52705 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
52706 unreachable code.
52707
52708 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
52709
b68e08db
RM
52710 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
52711 * configure: Regenerated.
52712
b350afab
RM
52713 * Makerules: Revert last change.
52714 * elf/Makefile: Likewise.
52715
28368601
RM
527162011-06-09 Roland McGrath <roland@hack.frob.com>
52717
52718 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
52719 * elf/Makefile ($(objpfx)librtld.os): Likewise.
52720 (reloc-link): Likewise.
52721
11988f8f
UD
527222011-06-09 Ulrich Drepper <drepper@gmail.com>
52723
52724 * elf/Makefile: Add rules to build pldd.
52725 * elf/pldd.c: New file.
52726 * elf/pldd-xx.c: New file.
52727
e80fab37
UD
527282011-06-07 Ulrich Drepper <drepper@gmail.com>
52729
52730 * version.h: Update for 2.15 development version.
52731
9b849836
DM
527322011-06-07 David S. Miller <davem@davemloft.net>
52733
52734 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
52735 ifuncs.
52736 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
52737 elf_machine_lazy_rel): Likewise.
52738 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
52739 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
52740 elf_machine_lazy_rel): Likewise.
52741 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
52742 dl_hwcap via passed in argument.
52743 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
52744 Likewise.
52745
5a31b283
AK
527462011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52747
52748 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
52749
069e52f8
RM
527502011-06-06 Roland McGrath <roland@hack.frob.com>
52751
52752 [BZ #12849]
52753 * manual/fdl-1.1.texi: New file, verbatim from:
52754 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
52755 * manual/lgpl-2.1.texi: New file, verbatim from:
52756 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
52757 * manual/Makefile (licenses): New variable, list those new file names.
52758 (texis): Use it.
52759 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
52760
52761 * manual/fdl.texi: File removed.
52762 * manual/lesser.texi: File removed.
52763 * manual/libc.texinfo (Copying, Documentation License):
52764 Use new @include file names, put @appendix directive before @include.
52765
f16846a5
JJ
527662011-06-04 Jakub Jelinek <jakub@redhat.com>
52767
52768 [BZ #12841]
52769 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
52770 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
52771 (mq_open): Add __NTH.
52772
3d29045b
L
527732011-06-02 H.J. Lu <hongjiu.lu@intel.com>
52774
52775 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52776 Assume Intel Core i3/i5/i7 processor if AVX is available.
52777
8c297311
UD
527782011-05-31 Ulrich Drepper <drepper@gmail.com>
52779
52780 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
52781 typo.
52782
c8fc0c91
UD
527832011-05-31 Andreas Schwab <schwab@redhat.com>
52784
52785 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
52786 memory. Use alloca_account. Fix memory leak when retrying.
52787
5b27a807
UD
527882011-05-31 Ulrich Drepper <drepper@gmail.com>
52789
356f8bc6
UD
52790 * version.h (RELEASE): Bump for 2.14 release.
52791 * include/features.h (__GLIBC_MINOR__): Bump to 14.
52792
5b27a807
UD
52793 * config.make.in (RANLIB): Remove entry.
52794
01f16ab0
UD
527952011-05-30 Ulrich Drepper <drepper@gmail.com>
52796
41fce8bd
UD
52797 * po/Makefile (po-sed-cmd): Add ksh to extensions.
52798 (libc.pot): Work around missing support for .ksh extension in xgettext.
52799
4769ae77
UD
52800 [BZ #12684]
52801 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
52802 if both request failed.
52803 (send_dg): In case of server errors clear resplen or *resplen2.
52804
6b1e7d19
UD
52805 [BZ #12454]
52806 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
52807 when there are multiple maps.
52808 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
52809 (_dl_fini): Remove test here.
52810
01f16ab0
UD
52811 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
52812
b1ebd700
UD
528132011-05-29 Ulrich Drepper <drepper@gmail.com>
52814
7ae22829
UD
52815 [BZ #12350]
52816 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
52817 bit from old_res_options.
52818 (gaih_inet): Likewise.
52819
553149f6 52820 [BZ #11099]
18a84741 52821 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
52822 as signed.
52823
652ffab1
UD
52824 * resolv/res_init.c (res_setoptions): Make the code more compact.
52825
16985fd0
UD
52826 [BZ #11558]
52827 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
52828 set RES_USEVC.
52829
0464f746
UD
52830 [BZ #11634]
52831 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
52832
7d17596c
UD
52833 * malloc/malloc.h: Mark malloc hook variables as deprecated.
52834
cf6bbbd7
UD
52835 [BZ #11781]
52836 * malloc/malloc.h: Declare malloc hook variables as volatile.
52837
13f1ab36
UD
52838 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
52839 in last patch.
52840
b1ebd700
UD
52841 [BZ #11799]
52842 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 52843 raise in the comment.
80e2212d
UD
52844 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
52845 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
52846 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 52847
ce67228d
UD
528482011-05-28 Ulrich Drepper <drepper@gmail.com>
52849
8887a920
UD
52850 [BZ #12811]
52851 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
52852 grow the buffers more if it already has to be sufficient.
52853 (build_wcs_upper_buffer): Likewise.
52854 * posix/regexec.c (check_matching): Likewise.
52855 (clean_state_log_if_needed): Likewise.
52856 (extend_buffers): Don't enlarge buffers beyond size of the input
52857 buffer.
52858 Patches mostly by Emil Wojak <emil@wojak.eu>.
52859 * posix/bug-regex32.c: New file.
52860 * posix/Makefile (tests): Add bug-regex32.
52861
4f031072
UD
52862 * locale/findlocale.c (_nl_find_locale): Return right away if
52863 _nl_explode_name failed.
52864 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
52865
d0478f0c
UD
52866 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
52867
de81b246
UD
52868 * debug/xtrace.sh: Unify messages.
52869 * malloc/memusage.sh: Likewise.
52870
c738465a
UD
52871 [BZ #12813]
52872 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
52873 time symbol from vDSO. Substitute with vsyscall if not available.
52874 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
52875 __vdso_time.
52876
f1f929d7
UD
52877 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
52878 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
52879 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
52880 Add sendmmsg and internal_sendmmsg.
52881 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
52882 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
52883 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
52884
ce67228d
UD
52885 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
52886 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
52887 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
52888
e57420c6
UD
528892011-05-27 Ulrich Drepper <drepper@gmail.com>
52890
a8509ca5
UD
52891 [BZ #12813]
52892 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
52893 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
52894 available.
52895 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
52896 __vdso_getcpu.
52897
e57420c6
UD
52898 [BZ #12814]
52899 * iconvdata/Makefile (tests): Add bug-iconv9.
52900 * iconvdata/bug-iconv9.c: New file.
52901
4d07db15
AS
529022011-05-27 Andreas Schwab <schwab@redhat.com>
52903
52904 [BZ #12814]
52905 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
52906
ea486f69
JJ
529072011-05-25 Jakub Jelinek <jakub@redhat.com>
52908
52909 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
52910 (struct user_regs_struct): Change intcs field back to cs.
52911
6f038433
UD
529122011-05-25 Ulrich Drepper <drepper@gmail.com>
52913
52914 * po/ja.po: Update from translation team.
52915
67f86a25
UD
529162011-05-23 Ulrich Drepper <drepper@gmail.com>
52917
52918 [BZ #12795]
52919 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
52920 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
52921
def7fbd6
AS
529222011-05-20 Andreas Schwab <schwab@redhat.com>
52923
52924 * stdlib/longlong.h: Update from GCC.
52925
f50ef8f1
AS
529262011-05-23 Andreas Schwab <schwab@redhat.com>
52927
52928 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
52929 parameter name.
52930 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
52931 Add parameter name.
52932 (__sysconf): Pass it down.
52933
de7ce8f1
UD
529342011-05-22 Ulrich Drepper <drepper@gmail.com>
52935
f2962a71
UD
52936 [BZ #12671]
52937 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
52938 some situations.
52939 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
52940 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
52941 add in in __libc_use_alloca calls. Adjust callers.
52942 (glob): Use malloc in some situations.
52943
de7ce8f1
UD
52944 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
52945 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
52946 pltexit.
52947
aec84f53
UD
529482011-05-21 Ulrich Drepper <drepper@gmail.com>
52949
05bb4a68
UD
52950 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
52951 and CLOCK_BOOTTIME_ALARM.
52952
7ea72f99
UD
52953 [BZ #12782]
52954 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
52955 is returned.
52956
7e4afad5
UD
52957 * string/_strerror.c (__strerror_r): Print negative errors as signed
52958 numbers.
52959
8e211fec
UD
52960 [BZ #12777]
52961 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
52962 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
52963 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
52964
f7d82dc9
UD
52965 * configure.in: Fix typo in redirection and correct removal of test
52966 files in two cases.
52967
cc9e536d
UD
52968 [BZ #12788]
52969 * locale/setlocale.c (new_composite_name): Fix test to check for
52970 identical name of all categories.
52971
aec84f53
UD
52972 [BZ #12792]
52973 * libio/filedoalloc.c (local_isatty): New function.
52974 (_IO_file_doallocate): Use local_isatty.
52975 * stdio-common/perror.c (perror): In case a new stream is used
52976 forward the stream error.
52977 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
52978 error flag.
52979
78e64fdc
RT
529802011-05-20 Ulrich Drepper <drepper@gmail.com>
52981
34a9094f
UD
52982 [BZ #11869]
52983 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
52984 alloca.
52985 * include/alloca.h (extend_alloca_account): Define.
52986
78e64fdc
RT
52987 [BZ #11857]
52988 * posix/regex.h: Fix comments with documentation of user-accessible
52989 fields after compilation and describe correct free'ing of pattern
52990 after re_compile_pattern.
52991 Patch by Reuben Thomas <rrt@sc3d.org>.
52992
457bddfc
RA
529932011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
52994
52995 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
52996 and -mno-altivec to prevent the compiler from using Altivec and/or
52997 VSX instructions when the corresponding registers are not available.
52998
a4527b51
AS
529992011-05-19 Andreas Schwab <schwab@redhat.com>
53000
53001 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
53002
ed690b2f
UD
530032011-05-19 Ulrich Drepper <drepper@gmail.com>
53004
53005 * libio/freopen.c (freopen): Use __dup2, not dup2.
53006 * libio/freopen64.c (freopen64): Likewise.
53007
8db73634
L
530082011-05-17 H.J. Lu <hongjiu.lu@intel.com>
53009
53010 [BZ #12775]
53011 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
53012 * math/Makefile (tests): Add test-powl.
53013 (CFLAGS-test-powl.c): Define.
53014 * math/test-powl.c: New file.
53015
0a197a9d
L
530162011-05-16 H.J. Lu <hongjiu.lu@intel.com>
53017
53018 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
53019
ee30c380
UD
530202011-05-17 Ulrich Drepper <drepper@gmail.com>
53021
53022 [BZ #11837]
53023 * iconvdata/gb18030.c: Update to GB18020-2005.
53024
6ce75379
UD
530252011-05-16 Ulrich Drepper <drepper@gmail.com>
53026
a4b89fd8
AR
53027 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
53028 RE_SYNTAX_POSIX_AWK): Update to match recent development.
53029 Patch by Aharon Robbins <arnold@skeeve.com>.
53030
ea389b12
UD
53031 [BZ #11892]
53032 * stdlib/putenv.c (putenv): Don't always create copy of the variable
53033 on the stack.
53034
68a3f91f
UD
53035 [BZ #11895]
53036 * misc/pselect.c (__pselect): Handle timeout value errors hidden
53037 through underflows.
53038
15cc7dd1
UD
53039 [BZ #12766]
53040 * misc/error.c (error_at_line): Ensure file_name and old_file_name
53041 point to strings before performing equality test for error_one_per_line
53042 mode.
53043
f3799213
UD
53044 [BZ #11697]
53045 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
53046
d79a9c94
UD
53047 [BZ #11820]
53048 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
53049 (struct user_fpregs_struct): Avoid __uint*_t types.
53050
56e5eb46
UD
53051 [BZ #6420]
53052 * malloc/mtrace.c (tr_where): Add additional parameter to point to
53053 symbol info. Use it instead of calling _dl_addr locally.
53054 (lock_and_info): New function.
53055 (tr_freehook): Call lock_and_info and pass symbol info as additional
53056 parameter to tr_where.
53057 (tr_mallochook): Likewise.
53058 (tr_reallochook): Likewise.
53059 (tr_memalignhook): Likewise.
53060
6ce75379
UD
53061 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
53062 used and couldn't be at all thread-safe.
53063
f8a3b5bf
UD
530642011-05-15 Ulrich Drepper <drepper@gmail.com>
53065
94b7cc37
UD
53066 * libio/freopen.c (freopen): Don't close old file descriptor
53067 before the new one is opened. Instead dup the new file descriptor
53068 to the old one after the new stream is created.
53069 * libio/freopen64.c (freopen64): Likewise.
53070 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
53071 * libio/fileops.c (_IO_new_file_close_it): Handle new
53072 _IO_FLAGS2_NOCLOSE flag.
53073 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
53074 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
53075 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
53076 _IO_FLAGS2_NOCLOSE flag.
53077 * include/unistd.h: Add hidden_proto for dup3.
53078 Define __have_dup3.
53079 * io/dup3.c: Define hidden symbol.
53080 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
53081
bd25564e
UD
53082 [BZ #7101]
53083 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
53084 when an incomplete long option is used.
53085 * posix/tst-getopt_long1.c: New file.
53086 * posix/Makefile (tests): Add tst-getopt_long1.
53087
c84cfef4
UD
53088 [BZ #10138]
53089 * scripts/config.guess: Update from autoconf-2.68.
53090 * scripts/config.sub: Likewise.
53091
3b85df27
UD
53092 [BZ #10157]
53093 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
53094 tests into ...
53095 (has_cpuclock): ...this. New function.
53096 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
53097 macro here based on has_cpuclock code.
53098
15a856b1
UD
53099 [BZ #10149]
53100 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53101 First byte (not low byte) is now always NUL.
53102 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
53103
05f399e6
UD
53104 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53105 Use non-cancelable interfaces.
53106
10a52685 53107 [BZ #9809]
94ecc67d
UD
53108 * locale/iso-639.def: Add entry for Sorani.
53109
f8a3b5bf
UD
53110 [BZ #11901]
53111 * include/stdlib.h: Move include protection to the right place.
53112 Define abort_msg_s. Declare __abort_msg with it.
53113 * stdlib/abort.c (__abort_msg): Adjust type.
53114 * assert/assert.c (__assert_fail_base): New function. Majority
53115 of code from __assert_fail. Allocate memory for __abort_msg with
53116 mmap.
53117 (__assert_fail): Now call __assert_fail_base.
53118 * assert/assert-perr.c: Remove bulk of implementation. Use
53119 __assert_fail_base.
53120 * include/assert.hL Declare __assert_fail_base.
53121 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
53122 mmap.
53123 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
53124
1af4e298
UD
531252011-05-14 Ulrich Drepper <drepper@gmail.com>
53126
f8a3b5bf 53127 [BZ #11952]
d26dfc60
MG
53128 [BZ #12453]
53129 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
53130 until all modules are registered in the DTV.
53131 * elf/Makefile: Add rules to build and run tst-tls19.
53132 * elf/tst-tls19.c: New file.
53133 * elf/tst-tls19mod1.c: New file.
53134 * elf/tst-tls19mod2.c: New file.
53135 * elf/tst-tls19mod3.c: New file.
53136 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
53137
2fc54d6f
UD
53138 [BZ #12083]
53139 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
53140 correctly.
53141
98d76b46
UD
53142 [BZ #12601]
53143 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
53144 two-byte sequence errors.
53145 * iconvdata/Makefile (tests): Add bug-iconv8.
53146 * iconvdata/bug-iconv8.c: New file.
53147
da3c19ef
UD
53148 [BZ #12626]
53149 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
53150 buf2 definition.
53151
ca408c15
UD
53152 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
53153
d6f67f7d
UD
53154 [BZ #12432]
53155 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
53156 (dummy_getcfa): New function.
53157 (init): Get _Unwind_GetCFA address, use dummy if not found.
53158 (backtrace_helper): In recursion check, also check whether CFA changes.
53159 (__backtrace): Completely initialize arg.
53160
1af4e298 53161 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
53162 storing incomplete byte sequence in state object. Avoid testing for
53163 guaranteed too small input if we know there is enough data available.
1af4e298 53164
da62f81b
AS
531652011-05-11 Andreas Schwab <schwab@redhat.com>
53166
53167 * Makeconfig (+link-pie): Indent.
53168 * Rules (binaries-pie): Define if $(have-fpie) and
53169 $(build-shared).
53170 (binaries-shared): Also filter out $(binaries-pie).
53171 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
53172 * nscd/Makefile (others-pie): Add nscd.
53173 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
53174 ($(objpfx)nscd): Remove command override.
53175 * login/Makefile (others-pie): Add pt_chown.
53176 ($(objpfx)pt_chown): Remove command override.
53177 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
53178 remove command overrides.
53179
fcabc0f8
UD
531802011-05-13 Ulrich Drepper <drepper@gmail.com>
53181
20030ae6
UD
53182 * libio/tst_putwc.c: Fix error messages.
53183
fcabc0f8
UD
53184 [BZ #12724]
53185 * libio/fileops.c (_IO_new_file_close_it): Always flush when
53186 currently writing and seek to current position when not.
53187 * libio/Makefile (tests): Add bug-fclose1.
53188 * libio/bug-fclose1.c: New file.
53189
320a5dc0
PB
531902011-05-12 Ulrich Drepper <drepper@gmail.com>
53191
53192 [BZ #12511]
53193 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
53194 don't set DF_1_NODELETE here.
53195 (do_lookup_x): When entering new entry test for copy relocation
53196 and if necessary set DF_1_NODELETE flag.
53197 * elf/tst-unique4.cc: New file.
53198 * elf/tst-unique4.h: New file.
53199 * elf/tst-unique4lib.cc: New file.
53200 * elf/Makefile: Add rules to build and run tst-unique4.
53201 Patch by Piotr Bury <pbury@goahead.com>.
53202
22836f52
UD
532032011-05-11 Ulrich Drepper <drepper@gmail.com>
53204
f574184a
UD
53205 [BZ #12052]
53206 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
53207
e1fb097f
UD
53208 [BZ #12625]
53209 * misc/mntent_r.c (addmntent): Flush the stream after the output
53210
22836f52
UD
53211 [BZ #12393]
53212 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
53213 (is_trusted_path_normalize): Skip initial colon. Append slash
53214 to empty buffer. Duplicate is_trusted_path code but allow
53215 constructed patch to be prefix.
53216 (is_dst): Allow $ORIGIN followed by /.
53217 (_dl_dst_substitute): Correct clearing of check_for_trusted.
53218 Correct testing of result of is_trusted_path_normalize
53219 (decompose_rpath): Fix warning.
53220
7b3b0b2a
UD
532212011-05-10 Ulrich Drepper <drepper@gmail.com>
53222
53223 [BZ #11257]
53224 * grp/initgroups.c (internal_getgrouplist): When we found the service
53225 list through the initgroups entry in nsswitch.conf do not always
53226 continue on a successful lookup. Don't always use the
eac80ce2 53227 __nss_group_database value if it is set.
7b3b0b2a
UD
53228 * nss/nsswitch.conf (initgroups): Change action for successful db
53229 lookup to continue for compatibility.
53230
2a81eaa5
UD
532312011-05-09 Ulrich Drepper <drepper@gmail.com>
53232
be97a69e
UD
53233 [BZ #11532]
53234 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
53235 and CP774 modules.
53236 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
53237 and CP774 modules.
53238 * iconvdata/tst-tables.sh: Likewise.
53239 * iconvdata/cp770.c: New file.
53240 * iconvdata/cp771.c: New file.
53241 * iconvdata/cp772.c: New file.
53242 * iconvdata/cp773.c: New file.
53243 * iconvdata/cp774.c: New file.
53244 * iconvdata/testdata/CP770: New file.
53245 * iconvdata/testdata/CP770..UTF8: New file.
53246 * iconvdata/testdata/CP771: New file.
53247 * iconvdata/testdata/CP771..UTF8: New file.
53248 * iconvdata/testdata/CP772: New file.
53249 * iconvdata/testdata/CP772..UTF8: New file.
53250 * iconvdata/testdata/CP773: New file.
53251 * iconvdata/testdata/CP773..UTF8: New file.
53252 * iconvdata/testdata/CP774: New file.
53253 * iconvdata/testdata/CP774..UTF8: New file.
53254
53255 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
53256 END CHARMAP line.
53257 * iconvdata/gen-8bit-gap.sh: Likewise.
53258 * iconvdata/gen-8bit.sh: Likewise.
53259
c1e9e399
UD
53260 * locale/iso-639.def: Add ary entry.
53261
24c55fb3 53262 [BZ #11258]
96b4b1b0
UD
53263 * locale/C-translit.h.in: Add U20A1 transliteration.
53264
bdc2f971
KB
53265 [BZ #12178]
53266 * locale/iso-639.def: Add wae entry.
53267 Patch by Kevin Bortis <bortis@translate-wae.ch>.
53268
2952b117
UD
53269 [BZ #12545]
53270 * locale/programs/localedef.c (construct_output_path): Use ssize_t
53271 for n.
53272
2a81eaa5
UD
53273 [BZ #12711]
53274 * locale/C-translit.h.in: Add entry for U20B9.
53275 Patch by pravin.d.s@gmail.com.
53276
28377d1b
UD
532772011-05-08 Ulrich Drepper <drepper@gmail.com>
53278
7fb90fb8
UD
53279 [BZ #12713]
53280 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
53281 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
53282 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
53283 in rtld. Use *stat64.
7fb90fb8 53284 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 53285 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 53286 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
53287 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
53288 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
53289 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
53290 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
53291 __fstatat64 macros.
7fb90fb8
UD
53292 * include/dirent.h: Add libc_hidden_proto for rewinddir.
53293 * dirent/rewinddir.c: Add libc_hidden_def.
53294 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 53295 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 53296
28377d1b
UD
53297 * include/dirent.h (__alloc_dir): Add flags parameter.
53298 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
53299 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
53300 __alloc_dir.
53301 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
53302 from fdopendir if O_CLOEXEC is already set.
53303
66bdbaa4
AM
533042011-03-15 Alan Modra <amodra@gmail.com>
53305
53306 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
53307 l_tls_firstbyte_offset non-zero. Save padding offset in
53308 l_tls_firstbyte_offset for later use.
53309 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
53310 freeing static tls block.
53311
95721191
JN
533122011-03-05 Jonathan Nieder <jrnieder@gmail.com>
53313
53314 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
53315 where #ifdef was intended. The intent is to prevent ARG_MAX from
53316 being defined by the kernel headers.
53317
f87dfb1f
UD
533182011-05-07 Ulrich Drepper <drepper@gmail.com>
53319
53320 [BZ #12734]
53321 * resolv/resolv.h: Define RES_NOTLDQUERY.
53322 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
53323 no-tld-query and set RES_NOTLDQUERY.
53324 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
53325 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
53326 modern BIND to search name as TLD unless forbidden.
53327
47c3cd7a
UD
533282011-05-07 Petr Baudis <pasky@suse.cz>
53329 Ulrich Drepper <drepper@gmail.com>
53330
53331 [BZ #12393]
53332 * elf/dl-load.c (fillin_rpath): Move trusted path check...
53333 (is_trusted_path): ...to here.
c1e9ea35 53334 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 53335 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 53336 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 53337
8a35c912
PP
533382011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
53339
53340 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
53341 __BEGIN/__END_DECLS.
53342
acd41f47
UD
533432011-05-06 Ulrich Drepper <drepper@gmail.com>
53344
53345 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
53346 NSS_STATUS_NOTFOUND if no record was found.
53347
597df647
AS
533482011-05-05 Andreas Schwab <schwab@redhat.com>
53349
53350 * sunrpc/Makefile (headers): Add rpc/netdb.h.
53351 (headers-not-in-tirpc): Remove rpc/netdb.h
53352 * resolv/netdb.h: Revert last change.
53353
b9af1301
PP
533542011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
53355
53356 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
53357 circular dependency between libgcc.a and libc.a.
53358
4e34d5f5
AS
533592011-05-05 Andreas Schwab <schwab@redhat.com>
53360
53361 * resolv/netdb.h: Don't include <rpc/netdb.h>.
53362 * nis/Makefile: Don't install rpcsvc/*.
53363 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
53364 instead of <rpc/types.h>.
53365 (MAXHOSTNAMELEN): Define.
53366
00ee369c
AS
533672011-05-03 Andreas Schwab <schwab@redhat.com>
53368
53369 * elf/ldconfig.c (add_dir): Don't crash on empty path.
53370
0b592a30
MB
533712011-04-28 Maciej Babinski <mbabinski@google.com>
53372
53373 [BZ #12714]
53374 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
53375 gethostbyname4_r when IPv6 results are possible.
53376
6e04cbbe
UD
533772011-05-02 Ulrich Drepper <drepper@gmail.com>
53378
53379 [BZ #12723]
53380 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
53381 _PC_PIPE_BUF handling.
53382
e4ecafe0
BH
533832011-04-30 Bruno Haible <bruno@clisp.org>
53384
53385 [BZ #12717]
53386 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
53387 * resolv/netdb.h (getnameinfo): Change type of flags parameter
53388 to 'int'.
53389 * inet/getnameinfo.c (getnameinfo): Likewise.
53390
125ee683
UD
533912011-04-29 Ulrich Drepper <drepper@gmail.com>
53392
53393 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
53394 to groups setting in database lookup.
53395 * nss/nsswitch.conf: Add initgroups entry.
53396
b722481a
EB
533972011-04-22 Ulrich Drepper <drepper@gmail.com>
53398
53399 [BZ #12685]
53400 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
53401 mode string.
53402 Patch by Eric Blake <eblake@redhat.com>.
53403
4df46dbd
L
534042011-04-20 H.J. Lu <hongjiu.lu@intel.com>
53405
53406 * sunrpc/Makefile (need-export-routines): Add svc_run.
53407 (routines): Remove svc_run.
53408 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
53409 * sunrpc/clnt_perr.c (clnt_perrno): Export.
53410 * sunrpc/svc_run.c (svc_run): Likewise.
53411 * sunrpc/svc_udp.c (svcudp_create): Likewise.
53412
e84142d2
UD
534132011-04-21 Ulrich Drepper <drepper@gmail.com>
53414
53415 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
53416 problem in reallocation in last patch.
53417
877175d8
UD
534182011-04-20 Ulrich Drepper <drepper@gmail.com>
53419
53420 * sunrpc/Makefile: Move inclusion of Rules.
53421
ab8eed78
UD
534222011-04-19 Ulrich Drepper <drepper@gmail.com>
53423
53424 * nss/nss_files/files-initgroups.c: New file.
53425 * nss/Makefile (libnss_files-routines): Add files-initgroups.
53426 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
53427 _nss_files_initgroups_dyn.
53428
e3d8f584
RS
534292011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
53430
53431 * elf/elf.h (R_ARM_IRELATIVE): Define.
53432
af190f45
UD
534332011-04-19 Ulrich Drepper <drepper@gmail.com>
53434
53435 * po/ru.po: Update from translation team.
53436
53cf59ef
UD
534372011-04-17 Ulrich Drepper <drepper@gmail.com>
53438
53439 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
53440 dependencies.
53441
4c559bcd
MF
534422011-02-06 Mike Frysinger <vapier@gentoo.org>
53443
53444 [BZ #12653]
53445 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
53446 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
53447 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
53448 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
53449 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
53450
4420675c
AS
534512011-03-28 Andreas Schwab <schwab@linux-m68k.org>
53452
53453 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
53454 differing bytes.
53455 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
53456 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
53457 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53458
75ea32ab
UD
534592011-04-17 Ulrich Drepper <drepper@gmail.com>
53460
53461 [BZ #12420]
53462 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
53463 storing it.
53464 * stdlib/bug-getcontext.c: New file.
53465 * stdlib/Makefile: Add rules to build and run bug-getcontext.
53466
27390476
AK
534672011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53468
53469 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
53470 instructions into .machine "z9-109".
53471 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
53472 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
53473
10442705
AK
534742011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53475
53476 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
53477 between environment variables and auxiliary vector.
53478
7b57bfe5
UD
534792011-04-16 Ulrich Drepper <drepper@gmail.com>
53480
53481 * Makefile: Add rules to build linkobj/libc.so.
53482 * include/libc-symbols.h: Define libc_hidden_nolink.
53483 * include/rpc/auth.h: Mark functions which are to be hidden.
53484 * include/rpc/auth_des.h: Likewise.
53485 * include/rpc/auth_unix.h: Likewise.
53486 * include/rpc/clnt.h: Likewise.
53487 * include/rpc/des_crypt.h: Likewise.
53488 * include/rpc/key_prot.h: Likewise.
53489 * include/rpc/pmap_clnt.h: Likewise.
53490 * include/rpc/pmap_prot.h: Likewise.
53491 * include/rpc/pmap_rmt.h: Likewise.
53492 * include/rpc/rpc_msg.h: Likewise.
53493 * include/rpc/svc.h: Likewise.
53494 * include/rpc/svc_auth.h: Likewise.
53495 * include/rpc/xdr.h: Likewise.
53496 * nis/Makefile: Link all DSOs against linkobj/libc.so.
53497 * nss/Makefile: Likewise.
53498 * sunrpc/Makefile: Don't install headers. Build library with normal
53499 entry points. Don't build rpcinfo. Link RPC tests appropriately.
53500 * sunrpc/auth_des.c: Hide exported symbols by default, export some
53501 for the compat linking library. Remove use of INTDEF/INTUSE.
53502 * sunrpc/auth_none.c: Likewise.
53503 * sunrpc/auth_unix.c: Likewise.
53504 * sunrpc/authdes_prot.c: Likewise.
53505 * sunrpc/authuxprot.c: Likewise.
53506 * sunrpc/clnt_gen.c: Likewise.
53507 * sunrpc/clnt_perr.c: Likewise.
53508 * sunrpc/clnt_raw.c: Likewise.
53509 * sunrpc/clnt_simp.c: Likewise.
53510 * sunrpc/clnt_tcp.c: Likewise.
53511 * sunrpc/clnt_udp.c: Likewise.
53512 * sunrpc/clnt_unix.c: Likewise.
53513 * sunrpc/des_crypt.c: Likewise.
53514 * sunrpc/des_soft.c: Likewise.
53515 * sunrpc/get_myaddr.c: Likewise.
53516 * sunrpc/key_call.c: Likewise.
53517 * sunrpc/key_prot.c: Likewise.
53518 * sunrpc/netname.c: Likewise.
53519 * sunrpc/pm_getmaps.c: Likewise.
53520 * sunrpc/pm_getport.c: Likewise.
53521 * sunrpc/pmap_clnt.c: Likewise.
53522 * sunrpc/pmap_prot.c: Likewise.
53523 * sunrpc/pmap_prot2.c: Likewise.
53524 * sunrpc/pmap_rmt.c: Likewise.
53525 * sunrpc/publickey.c: Likewise.
53526 * sunrpc/rpc_cmsg.c: Likewise.
53527 * sunrpc/rpc_common.c: Likewise.
53528 * sunrpc/rpc_dtable.c: Likewise.
53529 * sunrpc/rpc_prot.c: Likewise.
53530 * sunrpc/rpc_thread.c: Likewise.
53531 * sunrpc/rtime.c: Likewise.
53532 * sunrpc/svc.c: Likewise.
53533 * sunrpc/svc_auth.c: Likewise.
53534 * sunrpc/svc_authux.c: Likewise.
53535 * sunrpc/svc_raw.c: Likewise.
53536 * sunrpc/svc_run.c: Likewise.
53537 * sunrpc/svc_simple.c: Likewise.
53538 * sunrpc/svc_tcp.c: Likewise.
53539 * sunrpc/svc_udp.c: Likewise.
53540 * sunrpc/svc_unix.c: Likewise.
53541 * sunrpc/svcauth_des.c: Likewise.
53542 * sunrpc/xcrypt.c: Likewise.
53543 * sunrpc/xdr.c: Likewise.
53544 * sunrpc/xdr_array.c: Likewise.
53545 * sunrpc/xdr_float.c: Likewise.
53546 * sunrpc/xdr_intXX_t.c: Likewise.
53547 * sunrpc/xdr_mem.c: Likewise.
53548 * sunrpc/xdr_rec.c: Likewise.
53549 * sunrpc/xdr_ref.c: Likewise.
53550 * sunrpc/xdr_sizeof.c: Likewise.
53551 * sunrpc/xdr_stdio.c: Likewise.
53552
e6c61494
UD
535532011-04-10 Ulrich Drepper <drepper@gmail.com>
53554
53555 [BZ #12650]
53556 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
53557 * sysdeps/ia64/dl-tls.h: Likewise.
53558 * sysdeps/powerpc/dl-tls.h: Likewise.
53559 * sysdeps/s390/dl-tls.h: Likewise.
53560 * sysdeps/sh/dl-tls.h: Likewise.
53561 * sysdeps/sparc/dl-tls.h: Likewise.
53562 * sysdeps/x86_64/dl-tls.h: Likewise.
53563 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
53564
34fe483e
AS
535652011-03-14 Andreas Schwab <schwab@redhat.com>
53566
53567 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
53568 rpath element also skip the following colon.
53569 (expand_dynamic_string_token): Add is_path parameter and pass
53570 down to DL_DST_REQUIRED and _dl_dst_substitute.
53571 (decompose_rpath): Call expand_dynamic_string_token with
53572 non-zero is_path. Ignore empty rpaths.
53573 (_dl_map_object_from_fd): Call expand_dynamic_string_token
53574 with zero is_path.
53575
f12a32e6
AS
535762011-04-08 Andreas Schwab <schwab@linux-m68k.org>
53577
53578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
53579 Make cancelable.
53580
38a7d692
UD
535812011-04-09 Ulrich Drepper <drepper@gmail.com>
53582
53583 [BZ #12655]
53584 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
53585 Patch by Filipe David Manana <fdmanana@apache.org>.
53586
e451d22b
AS
535872011-04-07 Andreas Schwab <schwab@redhat.com>
53588
53589 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
53590 Maintain aligned stack.
53591 (CHECK_RSP): Remove unused macro.
53592
dedc7c7b
UD
535932011-04-03 Ulrich Drepper <drepper@gmail.com>
53594
53595 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
53596 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
53597
94521213
UD
535982011-04-02 Ulrich Drepper <drepper@gmail.com>
53599
53600 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
53601
8cb700c0 53602 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 53603
0354e355
L
536042011-03-26 H.J. Lu <hongjiu.lu@intel.com>
53605
53606 [BZ #12518]
53607 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
53608 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
53609 * sysdeps/x86_64/memmove.c: New file.
53610 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
53611 (memcpy): Renamed to ...
53612 (__new_memcpy): This.
53613 (memcpy): Provide GLIBC_2_14 memcpy.
53614 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
53615 (memcpy): Provide GLIBC_2_2_5 memcpy.
53616
8593482f
UD
536172011-04-01 Ulrich Drepper <drepper@gmail.com>
53618
53619 [BZ #12631]
53620 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
53621
81a5726b
AS
536222011-03-30 Andreas Schwab <schwab@redhat.com>
53623
53624 * misc/syncfs.c: New file.
53625 * misc/Makefile (routines): Add syncfs.
53626 * posix/unistd.h: Declare syncfs.
53627 * sysdeps/unix/syscalls.list: Add syncfs.
53628
00e5419f
AS
536292011-04-01 Andreas Schwab <schwab@redhat.com>
53630
53631 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
53632 open_by_handle_at.
53633 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
53634 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53635 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53636 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53637 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53638 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
53639 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53640
748876bf
UD
536412011-04-01 Ulrich Drepper <drepper@gmail.com>
53642
658e451d
UD
53643 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
53644 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53645 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
53646 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53647 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53648 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53649 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53650
748876bf
UD
53651 * io/Makefile: Compile fallocate.c, fallocate64.c, and
53652 sync_file_range.c with -fexceptions.
53653 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
53654 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
53655 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
53656 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
53657 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
53658 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
53659 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
53660 sync_file_range as cancellation point
53661 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
53662 now a wrapper around __call_sync_file_range with cancellation handling.
53663 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
53664 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
53665 function name to __call_sync_file_range.
53666 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
53667 Add call_sync_file_range.
748876bf 53668
6e63d5e1
AS
536692011-04-01 Andreas Schwab <schwab@redhat.com>
53670
53671 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 53672 bits/timex.h.
6e63d5e1 53673
46998f74
UD
536742011-04-01 Ulrich Drepper <drepper@gmail.com>
53675
4c1423ed
UD
53676 * iconv/iconv.h: Fix typo in comment.
53677 * io/fcntl.h: Likewise.
53678 * libio/stdio.h: Likewise.
53679 * posix/spawn.h: Likewise.
53680 * posix/unistd.h: Likewise.
53681 * stdlib/stdlib.h: Likewise.
53682 * time/time.h: Likewise.
53683 * wcsmbs/wchar.h: Likewise.
53684
158648c0
UD
53685 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
53686 open_by_handle): Add.
53687 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
53688 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
53689 Augment a few comments.
53690 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53691 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53692 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53693 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53694 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53695 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
53696 open_by_handle.
53697
46998f74
UD
53698 * io/fcntl.h (AT_EMPTY_PATH): Define.
53699
83fe108b
UD
537002011-03-30 Ulrich Drepper <drepper@gmail.com>
53701
53702 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
53703 * sysdeps/unix/sysv/linux/bits/time.h: New file.
53704 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
53705 to...
53706 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
53707 * Versions.def: Add GLIBC_2.14.
53708 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
53709 Export.
83fe108b 53710
bb242059
UD
537112011-03-22 Ulrich Drepper <drepper@gmail.com>
53712
53713 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
53714 round counter.
53715 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53716
c97a1282
L
537172011-03-20 H.J. Lu <hongjiu.lu@intel.com>
53718
53719 [BZ #12597]
53720 * string/test-strncmp.c (do_page_test): New function.
53721 (check2): Likewise.
53722 (test_main): Call check2.
53723 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
53724
2a115601
UD
537252011-03-20 Ulrich Drepper <drepper@gmail.com>
53726
53727 [BZ #12587]
53728 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
53729 Handle cache information in CPU leaf 4.
53730 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53731
8126d904
UD
537322011-03-18 Ulrich Drepper <drepper@gmail.com>
53733
042c49c6 53734 [BZ #12583]
8126d904
UD
53735 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
53736 character representation.
53737 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
53738
ccfe366e
RA
537392011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
53740
53741 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
53742 END(__isnan) to END(__isnanf) to match function entry point/label
53743 EALIGN(__isnanf,...).
53744
c6e13027
JJ
537452011-03-10 Jakub Jelinek <jakub@redhat.com>
53746
53747 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
53748
33f85a3f
UD
537492011-03-10 Ulrich Drepper <drepper@gmail.com>
53750
028478fa
UD
53751 [BZ #12510]
53752 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
53753 copy from the symbol referenced in the relocation to initialize the
53754 used variable.
53755 Patch by Piotr Bury <pbury@goahead.com>.
53756 * elf/Makefile: Add rules to build and tst-unique3.
53757 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
53758 * elf/tst-unique3.cc: New file.
53759 * elf/tst-unique3.h: New file.
53760 * elf/tst-unique3lib.cc: New file.
53761 * elf/tst-unique3lib2.cc: New file.
53762
33f85a3f
UD
53763 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
53764
03592fc7
MF
537652011-03-10 Mike Frysinger <vapier@gentoo.org>
53766
53767 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
53768 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
53769 to _start.
03592fc7 53770
6a5ee102
UD
537712011-03-06 Ulrich Drepper <drepper@gmail.com>
53772
53773 * elf/dl-load.c (_dl_map_object): If we are looking for the first
53774 to-be-loaded object along a path to loader is ld.so.
53775
7e4ba49c
HJ
537762011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
53777 Ulrich Drepper <drepper@gmail.com>
53778
53779 * sysdeps/x86_64/memset.S: After aligning destination, code
53780 branches to different locations depending on the value of
53781 misalignment, when multiarch is enabled. Fix this.
53782
537832011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
53784
53785 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
53786 Set _x86_64_preferred_memory_instruction for AMD processsors.
53787 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53788 Set bit_Prefer_SSE_for_memop for AMD processors.
53789
13a804de
UD
537902011-03-04 Ulrich Drepper <drepper@gmail.com>
53791
53792 * libio/fmemopen.c (fmemopen): Optimize a bit.
53793
9d25c392
AS
537942011-03-03 Andreas Schwab <schwab@redhat.com>
53795
53796 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
53797
a5543c6a
RM
537982011-03-03 Roland McGrath <roland@redhat.com>
53799
53800 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
53801
012d35f7
DM
538022011-02-28 Aurelien Jarno <aurelien@aurel32.net>
53803
7e4ba49c 53804 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
53805 __bzero_ultra1 instead of __memset_ultra1.
53806
4bff6e01
AS
538072011-02-23 Andreas Schwab <schwab@redhat.com>
53808 Ulrich Drepper <drepper@gmail.com>
53809
53810 [BZ #12509]
53811 * include/link.h (struct link_map): Add l_orig_initfini.
53812 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
53813 returning unsuccessfully.
53814 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
53815 close of a file loaded at startup, restore the original l_initfini
53816 list.
53817 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
53818 list, store the pointer.
53819 * elf/Makefile ($(objpfx)noload-mem): New rule.
53820 (noload-ENV): Define.
53821 (tests): Add $(objpfx)noload-mem.
53822 * elf/noload.c: Include <memcheck.h>.
53823 (main): Call mtrace. Close all opened handles.
53824
f2092faf
AS
538252011-02-17 Andreas Schwab <schwab@redhat.com>
53826
53827 [BZ #12454]
53828 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
53829 dependencies are missing.
53830
6c8a2e88
ST
538312011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
53832
f2092faf 53833 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
53834 Hurd needs munmap.
53835 * sysdeps/mach/hurd/ifreq.h: New file.
53836
84a42118
PB
538372011-01-27 Petr Baudis <pasky@suse.cz>
53838 Ulrich Drepper <drepper@gmail.com>
53839
071f805e 53840 [BZ 12445]#
84a42118
PB
53841 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
53842 to extend_alloca().
53843 * stdio-common/bug23.c: New file.
53844 * stdio-common/Makefile (tests): Add bug23.
53845
e23fe25b
AS
538462010-09-28 Andreas Schwab <schwab@redhat.com>
53847 Ulrich Drepper <drepper@gmail.com>
53848
53849 [BZ #12489]
53850 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
53851 before performing relro protection. At old place add assertion
53852 to make sure nothing changed.
53853
d3f02e10
NS
538542011-02-17 Nathan Sidwell <nathan@codesourcery.com>
53855 Glauber de Oliveira Costa <glommer@gmail.com>
53856
53857 * elf/elf.h: Add new ARM TLS relocs.
53858
d55fd7a5
RA
538592011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
53860
53861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
53862 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
53863 cast from r3.
53864 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
53865 'tests' variable.
53866 * sysdeps/wordsize-64/tst-writev.c: New file.
53867
2206397e
RA
538682011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
53869
53870 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
53871 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
53872 insns in _dl_start to prevent a TOC reference before relocs are
53873 resolved.
53874
e9433893
UD
538752011-02-15 Ulrich Drepper <drepper@gmail.com>
53876
53877 [BZ #12469]
53878 * Makeconfig: Remove RANLIB definition.
53879 * Makerules: Don't use RANLIB.
53880 * aclocal.m4: Remove ranlib test.
53881 * configure.in: No need to check for ranlib.
53882 * elf/rtld-Rules: Don't use RANLIB.
53883
f75286c6
ST
538842011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
53885
8e31c82d
ST
53886 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
53887 protection macro.
53888 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
53889 inclusion protection macro.
53890
f75286c6
ST
53891 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
53892 SIGRTMIN and SIGRTMAX and print information in that case only when
53893 SIGRTMIN is defined.
53894
c1d0e639
JJ
538952011-02-11 Jakub Jelinek <jakub@redhat.com>
53896
53897 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
53898 arginfo fn returning -1.
53899
53900 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
53901 and thousands string is zero terminated.
53902
edf9294e
AS
539032011-02-03 Andreas Schwab <schwab@redhat.com>
53904
53905 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
53906 sysdeps/unix/sysv/linux/bits/socket.h.
53907
2b7e92df
ST
539082011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
53909
edf9294e
AS
53910 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
53911 (__CPU_COUNT): Remove old macros.
53912 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
53913 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
53914 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
53915 (__sched_cpualloc, __sched_cpufree): Add declarations.
53916
a4c7ea7b
UD
539172011-02-05 Ulrich Drepper <drepper@gmail.com>
53918
53919 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
53920 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
53921 * nscd/aicache.c (addhstaiX): Return timeout of added value.
53922 (readdhstai): Return value of addhstaiX call.
53923 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
53924 (addgrbyX): Return value returned by cache_addgr.
53925 (readdgrbyname): Return value returned by addgrbyX.
53926 (readdgrbygid): Likewise.
53927 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
53928 (addpwbyX): Return value returned by cache_addpw.
53929 (readdpwbyname): Return value returned by addhstbyX.
53930 (readdpwbyuid): Likewise.
53931 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
53932 (addservbyX): Return value returned by cache_addserv.
53933 (readdservbyname): Return value returned by addservbyX:
53934 (readdservbyport): Likewise.
53935 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
53936 (addhstbyX): Return value returned by cache_addhst.
53937 (readdhstbyname): Return value returned by addhstbyX.
53938 (readdhstbyaddr): Likewise.
53939 (readdhstbynamev6): Likewise.
53940 (readdhstbyaddrv6): Likewise.
53941 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
53942 (readdinitgroups): Return value returned by addinitgroupsX.
53943 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
53944 (prune_cache): Keep track of timeout value of re-added entries.
53945 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
53946 * nscd/nscd.h: Adjust prototypes of readd* functions.
53947
a0bf67cc
RM
539482011-02-04 Roland McGrath <roland@redhat.com>
53949
53950 * nis/nis_server.c (nis_servstate): Use the right name for 0.
53951 (nis_stats): Likewise.
53952 * nis/nis_modify.c (nis_modify): Likewise.
53953 * nis/nis_remove.c (nis_remove): Likewise.
53954 * nis/nis_add.c (nis_add): Likewise.
53955
53956 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
53957
53958 * posix/fnmatch_loop.c: Add some consts.
53959
53960 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
53961
435b95eb
L
539622011-02-02 H.J. Lu <hongjiu.lu@intel.com>
53963
53964 [BZ #12460]
53965 * config.make.in (config-cflags-novzeroupper): Define.
53966 * configure.in: Substitute libc_cv_cc_novzeroupper.
53967 * elf/Makefile (AVX-CFLAGS): Define.
53968 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
53969 (CFLAGS-tst-auditmod4a.c): Likewise.
53970 (CFLAGS-tst-auditmod4b.c): Likewise.
53971 (CFLAGS-tst-auditmod6b.c): Likewise.
53972 (CFLAGS-tst-auditmod6c.c): Likewise.
53973 (CFLAGS-tst-auditmod7b.c): Likewise.
53974 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
53975
8517b15e
UD
539762011-02-02 Ulrich Drepper <drepper@gmail.com>
53977
53978 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
53979 function to the callback.
53980 Patch partly by Jiri Olsa <jolsa@redhat.com>.
53981
10a656fe
AS
539822011-02-02 Andreas Schwab <schwab@redhat.com>
53983
53984 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
53985 of errno.
53986
968dad0a
UD
539872011-01-19 Ulrich Drepper <drepper@gmail.com>
53988
9f94d2ea 53989 [BZ #11724]
968dad0a
UD
53990 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
53991 of constructors.
53992 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
53993 of destructors.
53994 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
53995
53996 [BZ #11724]
53997 * elf/Makefile: Add rules to build and run new test.
53998 * elf/tst-initorder.c: New file.
53999 * elf/tst-initorder.exp: New file.
54000 * elf/tst-initordera1.c: New file.
54001 * elf/tst-initordera2.c: New file.
54002 * elf/tst-initordera3.c: New file.
54003 * elf/tst-initordera4.c: New file.
54004 * elf/tst-initorderb1.c: New file.
54005 * elf/tst-initorderb2.c: New file.
54006 * elf/tst-order-a1.c: New file.
54007 * elf/tst-order-a2.c: New file.
54008 * elf/tst-order-a3.c: New file.
54009 * elf/tst-order-a4.c: New file.
54010 * elf/tst-order-b1.c: New file.
54011 * elf/tst-order-b2.c: New file.
54012 * elf/tst-order-main.c: New file.
54013 New test case by George Gensure <werkt0@gmail.com>.
54014
86e92359
UD
540152010-10-01 Andreas Schwab <schwab@redhat.com>
54016
54017 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
54018 decoding ACE if AI_CANONIDN.
54019
5d5732b0
UD
540202011-01-18 Ulrich Drepper <drepper@gmail.com>
54021
54022 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
54023
a77e8cbc
UD
540242011-01-17 Ulrich Drepper <drepper@gmail.com>
54025
6392473f
UD
54026 * version.h (RELEASE): Bump for 2.13 release.
54027 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
54028
620a0529
UD
54029 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
54030
18ba70a5
UD
54031 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
54032 MADV_NOHUGEPAGE.
32465c3e
UD
54033 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
54034 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
54035 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
54036 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
54037 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
54038 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
54039
c0dafcf1
UD
54040 * posix/getconf.c: Update copyright year.
54041 * catgets/gencat.c: Likewise.
54042 * csu/version.c: Likewise.
54043 * debug/catchsegv.sh: Likewise.
54044 * debug/xtrace.sh: Likewise.
54045 * elf/ldconfig.c: Likewise.
54046 * elf/ldd.bash.in: Likewise.
54047 * elf/sprof.c (print_version): Likewise.
54048 * iconv/iconv_prog.c: Likewise.
54049 * iconv/iconvconfig.c: Likewise.
54050 * locale/programs/locale.c: Likewise.
54051 * locale/programs/localedef.c: Likewise.
54052 * malloc/memusage.sh: Likewise.
54053 * malloc/mtrace.pl: Likewise.
54054 * nscd/nscd.c (print_version): Likewise.
54055 * nss/getent.c: Likewise.
54056
a77e8cbc
UD
54057 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
54058 PF_CAIF, and PF_ALG.
54059 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54060
77e8bddf
AS
540612011-01-16 Andreas Schwab <schwab@linux-m68k.org>
54062
1f20b93a
AS
54063 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
54064 (modules-names): Use them.
54065 (ifunc-test-modules, ifunc-pie-tests): Define.
54066 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
54067 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
54068 (test-extras): Likewise.
54069 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
54070 $(compile-command.c).
54071 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
54072 (all-built-dso): Define.
54073 (check-textrel.out, check-execstack.out): Depend on it.
54074
77e8bddf
AS
54075 * configure.in: Don't override --enable-multi-arch.
54076
bc425b33
UD
540772011-01-15 Ulrich Drepper <drepper@gmail.com>
54078
54079 [BZ #6812]
54080 * nscd/hstcache.c (tryagain): Define.
54081 (cache_addhst): Return tryagain not notfound for temporary errors.
54082 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
54083 failed.
54084
794c3ad3
UD
540852011-01-14 Ulrich Drepper <drepper@gmail.com>
54086
70181fdd
UD
54087 [BZ #10563]
54088 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
54089 to make the syscall.
54090 * sysdeps/unix/sysv/linux/setgroups.c: New file.
54091
794c3ad3
UD
54092 [BZ #12378]
54093 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
54094 and fall back to matching as normal character if the string ends before
54095 the matching ']' is found. This is what POSIX requires.
54096 * posix/testfnm.c: Adjust test result.
54097 * posix/globtest.sh: Adjust test result. Add new test.
54098 * posix/tst-fnmatch.input: Likewise.
54099 * posix/tst-fnmatch2.c: Add new test.
54100
68dc9497
AS
541012010-12-28 Andreas Schwab <schwab@linux-m68k.org>
54102
54103 * elf/Makefile (check-execstack): Revert last change. Depend on
54104 check-execstack.h.
54105 (check-execstack.h): New target.
54106 (generated): Add check-execstack.h.
54107 * elf/check-execstack.c: Include "check-execstack.h".
54108 (main): Revert last change.
54109 (handle_file): Return zero if GNU_STACK is absent and
54110 DEFAULT_STACK_PERMS doesn't include PF_X.
54111
451f001b
UD
541122011-01-13 Ulrich Drepper <drepper@gmail.com>
54113
cfa28e56
UD
54114 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
54115 in child fails because the descriptor is already closed.
8cf8ce17
UD
54116 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
54117 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
54118 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 54119
1086d70d
UD
54120 [BZ #12397]
54121 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
54122 syscall.
54123
451f001b
UD
54124 [BZ #10484]
54125 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
54126 temporary buffer used to handle multi lookups locally.
a85b5cb4 54127 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 54128
08769175
UD
541292011-01-12 Ulrich Drepper <drepper@gmail.com>
54130
54131 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
54132 loader is ld.so.
54133
5e49c52e
UD
541342011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
54135
54136 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
54137 alignment for SSE2.
54138
60522a5f
UD
541392011-01-12 Ulrich Drepper <drepper@gmail.com>
54140
54141 [BZ #12394]
54142 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
54143 characters. When rounding increased number of integer digits recompute
54144 number of groups.
54145 * stdio-common/tst-grouping.c: New file.
54146 * stdio-common/Makefile: Add rules to build and run tst-grouping.
54147
f257bbd7
UD
541482011-01-09 Ulrich Drepper <drepper@gmail.com>
54149
54150 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
54151 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
54152
54153 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
54154 void.
54155 * bits/select.h: Likewise.
54156
fa9c15cb
UD
541572011-01-08 Ulrich Drepper <drepper@gmail.com>
54158
54159 * po/ja.po: Update from translation team.
54160
16c2895f
DM
541612011-01-04 David S. Miller <davem@sunset.davemloft.net>
54162
54163 [BZ #11155]
54164 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
54165 implementation just like for lxstat, fxstatat, et al.
54166
2543fef2
JM
541672010-12-27 Jim Meyering <meyering@redhat.com>
54168
54169 [BZ #12348]
54170 * posix/regexec.c (build_trtable): Return failure indication upon
54171 calloc failure. Otherwise, re_search_internal could infloop on OOM.
54172
98727dbe
UD
541732010-12-25 Ulrich Drepper <drepper@gmail.com>
54174
5bd6dc5c
UD
54175 [BZ #12201]
54176 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
54177 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
54178 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
54179 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
54180
97983464
UD
54181 [BZ #12207]
54182 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
54183
98727dbe
UD
54184 [BZ #12204]
54185 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
54186 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
54187
4a531bb0
L
541882010-12-15 H.J. Lu <hongjiu.lu@intel.com>
54189
54190 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
54191 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
54192 script has SORT_BY_INIT_PRIORITY.
54193 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
54194 NO_CTORS_DTORS_SECTIONS is defined.
54195 * elf/soinit.c: Likewise.
54196 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
54197 NO_CTORS_DTORS_SECTIONS is defined.
54198 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
54199 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
54200 * sysdeps/sh/init-first.c: Likewise.
54201 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
54202
07eb4b71
UD
542032010-12-24 Ulrich Drepper <drepper@gmail.com>
54204
54205 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
54206 always use the slow path.
54207
30950a5f
RA
542082010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
54209
54210 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
54211 similar rule which adds the sysdep directories to the header search in
54212 order to pick up the correct platform stackinfo.h.
54213 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
54214 perform test if it is, otherwise return successfully without testing.
54215 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
54216 DEFAULT_STACK_PERMS define in stackinfo.h.
54217 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
54218 defined in stackinfo.h.
54219 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
54220 DEFAULT_STACK_PERMS defined in stackinfo.h.
54221 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
54222 * sysdeps/ia64/stackinfo.h: Likewise.
54223 * sysdeps/s390/stackinfo.h: Likewise.
54224 * sysdeps/sh/stackinfo.h: Likewise.
54225 * sysdeps/sparc/stackinfo.h: Likewise.
54226 * sysdeps/x86_64/stackinfo.h: Likewise.
54227 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
54228 PF_X for powerpc64. Retain PF_X for powerpc32.
54229
db753e2c
UD
542302010-12-19 Ulrich Drepper <drepper@gmail.com>
54231
14b697f7
UD
54232 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
54233 accurately.
db753e2c
UD
54234 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
54235 GETDENTS_64BIT_ALIGNED.
54236
28300719
UD
542372010-12-14 Ulrich Drepper <dreper@gmail.com>
54238
14b697f7 54239 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 54240
4f197237
AS
542412010-12-10 Andreas Schwab <schwab@redhat.com>
54242
dbb0472f
AS
54243 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
54244 _GNU_SOURCE.
54245
4f197237
AS
54246 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
54247 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
54248 Remove __restrict.
54249 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
54250 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
54251
fb88ac72
UD
542522010-12-09 Ulrich Drepper <drepper@gmail.com>
54253
54254 [BZ #11655]
54255 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
54256 are initialized.
54257
42acbb92
JJ
542582010-12-09 Jakub Jelinek <jakub@redhat.com>
54259
54260 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
54261
c038d98d
UD
542622010-12-03 Ulrich Drepper <drepper@gmail.com>
54263
54264 * po/it.po: Update from translation team.
54265
3a4a2499
L
542662010-12-01 H.J. Lu <hongjiu.lu@intel.com>
54267
54268 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
54269 unused codes.
54270
1e24cf6e
UD
542712010-11-30 Ulrich Drepper <drepper@gmail.com>
54272
54273 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
54274
a7690819
AS
542752010-11-24 Andreas Schwab <schwab@redhat.com>
54276
54277 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
54278 specially.
54279 (gaih_getanswer_slice): Likewise.
54280
3bf8d1b1
JJ
542812010-10-20 Jakub Jelinek <jakub@redhat.com>
54282
54283 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
54284
6db52fbb
PB
542852010-05-31 Petr Baudis <pasky@suse.cz>
54286
54287 [BZ #11149]
54288 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
54289 silently even in the chroot mode.
54290
eaca7569
UD
542912010-11-22 Ulrich Drepper <drepper@gmail.com>
54292
54293 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
54294 last patch a bit. Pretty printing
54295
3056dcdb
UD
542962010-05-31 Petr Baudis <pasky@suse.cz>
54297
54298 [BZ #10085]
54299 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
54300 initialization of skip_initgroups_dyn.
54301
cf7c9078
UD
543022010-11-19 Ulrich Drepper <drepper@gmail.com>
54303
54304 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
54305 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
54306
a1fb5e3e
UD
543072010-11-16 Ulrich Drepper <drepper@gmail.com>
54308
54309 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
54310
3540d66b
AS
543112010-11-11 Andreas Schwab <schwab@redhat.com>
54312
54313 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
54314 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
54315 (tst-fnmatch-ENV): Set MALLOC_TRACE.
54316 ($(objpfx)tst-fnmatch-mem): New rule.
54317 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
54318 * posix/tst-fnmatch.c (main): Call mtrace.
54319
13b69574
L
543202010-11-11 H.J. Lu <hongjiu.lu@intel.com>
54321
54322 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54323 Support Intel processor model 6 and model 0x2c.
54324
da93d214
LM
543252010-11-10 Luis Machado <luisgpm@br.ibm.com>
54326
54327 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
54328 signed comparison.
54329
8ca52c6e
L
543302010-11-09 H.J. Lu <hongjiu.lu@intel.com>
54331
54332 [BZ #12205]
54333 * string/test-strncasecmp.c (check_result): New function.
54334 (do_one_test): Use it.
54335 (check1): New function.
54336 (test_main): Use it.
54337 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
54338 Support strcasecmp and strncasecmp.
54339
69da074d
UD
543402010-11-08 Ulrich Drepper <drepper@gmail.com>
54341
54342 [BZ #12194]
54343 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
54344 * sysdeps/x86_64/bits/byteswap.h: Likewise.
54345
ff02d528
L
543462010-11-07 H.J. Lu <hongjiu.lu@intel.com>
54347
54348 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
54349 IFUNC support.
54350 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54351 memset-x86-64.
54352 * sysdeps/x86_64/multiarch/bzero.S: New file.
54353 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
54354 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
54355 * sysdeps/x86_64/multiarch/memset.S: New file.
54356 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
54357 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54358 Set bit_Prefer_SSE_for_memop for Intel processors.
54359 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
54360 Define.
54361 (index_Prefer_SSE_for_memop): Define.
54362 (HAS_PREFER_SSE_FOR_MEMOP): Define.
54363
344d0b54
LM
543642010-11-04 Luis Machado <luisgpm@br.ibm.com>
54365
54366 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
54367 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
54368
c0dde15b
UD
543692010-11-03 H.J. Lu <hongjiu.lu@intel.com>
54370
54371 [BZ #12191]
54372 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54373 (__x86_64_raw_data_cache_size_half): Likewise.
54374 (__x86_64_raw_shared_cache_size): Likewise.
54375 (__x86_64_raw_shared_cache_size_half): Likewise.
54376
54377 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54378 (__x86_64_raw_data_cache_size_half): Likewise.
54379 (__x86_64_raw_shared_cache_size): Likewise.
54380 (__x86_64_raw_shared_cache_size_half): Likewise.
54381 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
54382 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
54383 and __x86_64_raw_shared_cache_size_half. Round
54384 __x86_64_data_cache_size_half, __x86_64_data_cache_size
54385 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
54386 to multiple of 256 bytes.
54387
0e516e0e
MS
543882010-11-03 Ulrich Drepper <drepper@gmail.com>
54389
54390 [BZ #12167]
54391 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
54392 of inacessible symlinks. Verify result of symlink before returning it.
54393 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
54394 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
54395
0e012e87
ER
543962010-10-28 Erich Ritz <erichritz@gmail.com>
54397
54398 * math/math.h (isinf): Fix typo in comment.
54399
de0ff7bc
UD
544002010-11-01 Ulrich Drepper <drepper@gmail.com>
54401
54402 * po/da.po: Update from translation team.
54403
fa41c84d
UD
544042010-10-26 Ulrich Drepper <drepper@gmail.com>
54405
54406 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
54407 is added to the list.
54408
f0967738
AK
544092010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54410 Ulrich Drepper <drepper@gmail.com>
54411
54412 * elf/dl-object.c (_dl_new_object): Don't append the new object to
54413 the global list here. Move code to...
54414 (_dl_add_to_namespace_list): ...here. New function.
54415 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
54416 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
54417 * elf/dl-load.c (lose): Don't remove the element from the list.
54418 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
54419 (_dl_map_object): Likewise.
54420
544212010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
54422
54423 [BZ #12159]
54424 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
54425 into all bytes of SSE register.
54426 Patch by Richard Li <richardpku@gmail.com>.
54427
f0967738 544282010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
54429
54430 [BZ #12140]
54431 * malloc/malloc.c (_int_free): Fill correct number of bytes when
54432 perturbing.
54433
d0b9e94f
MB
544342010-10-20 Michael B. Brutman <brutman@us.ibm.com>
54435
54436 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
54437 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
54438 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
54439 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
54440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
54441 submachine.
54442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
54443
8e9f92e9
AS
544442010-10-22 Andreas Schwab <schwab@redhat.com>
54445
54446 * include/dlfcn.h (__RTLD_SECURE): Define.
54447 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
54448 mode & __RTLD_SECURE instead.
54449 (open_path): Rename preloaded parameter to secure.
54450 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
54451 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
54452 * elf/dl-deps.c (openaux): Likewise.
54453 * elf/rtld.c (struct map_args): Remove is_preloaded.
54454 (map_doit): Don't use it.
54455 (dl_main): Likewise.
54456 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
54457 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
54458
bc96fbda
AS
544592010-09-09 Andreas Schwab <schwab@redhat.com>
54460
54461 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
54462 (sysd-rules-targets): Remove duplicates.
54463 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
54464 rtld-%.$o dependency.
54465
22cd1c9b
AS
544662010-10-18 Andreas Schwab <schwab@redhat.com>
54467
54468 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
54469 _dl_map_object do it.
54470
18edac48
UD
544712010-10-19 Ulrich Drepper <drepper@gmail.com>
54472
54473 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
54474 fast fma builtins, define the macros in the C99 standard.
54475 (FP_FAST_FMAF): Likewise.
54476 (FP_FAST_FMAL): Likewise.
54477 * sysdeps/x86_64/bits/mathdef.h: Likewise.
54478
54479 * bits/mathdef.h: Update copyright year.
54480 * sysdeps/powerpc/bits/mathdef.h: Likewise.
54481
d2050124
MM
544822010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
54483
54484 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
54485 builtins, define the macros in the C99 standard.
54486 (FP_FAST_FMAF): Likewise.
54487 (FP_FAST_FMAL): Likewise.
54488 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
54489 multiply/add.
54490 (FP_FAST_FMAF): Likewise.
54491
475facd1
JJ
544922010-10-15 Jakub Jelinek <jakub@redhat.com>
54493
54494 [BZ #3268]
54495 * math/libm-test.inc (fma_test): Some new testcases.
54496 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
54497 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
54498 y and infinite z. Do multiplication by C already in long double.
54499 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
54500 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
54501 y and infinite z. Do bitwise or of inexact bit into u.d.
54502 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
54503 * sysdeps/i386/fpu/s_fmaf.S: Removed.
54504 * sysdeps/i386/fpu/s_fma.S: Removed.
54505 * sysdeps/i386/fpu/s_fmal.S: Removed.
54506
7c08a05c
JJ
545072010-10-16 Jakub Jelinek <jakub@redhat.com>
54508
54509 [BZ #3268]
54510 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
54511 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
54512 computation is not scheduled after fetestexcept. Fix value
54513 of minimum denormal long double.
54514
f3f7372d
JJ
545152010-10-14 Jakub Jelinek <jakub@redhat.com>
54516
54517 [BZ #3268]
54518 * math/libm-test.inc (fma_test): Add some more tests.
54519 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
54520 correctly.
54521
14d43591
AS
545222010-10-15 Andreas Schwab <schwab@redhat.com>
54523
54524 * scripts/data/localplt-s390-linux-gnu.data: New file.
54525 * scripts/data/localplt-s390x-linux-gnu.data: New file.
54526
5e908464
JJ
545272010-10-13 Jakub Jelinek <jakub@redhat.com>
54528
54529 [BZ #3268]
54530 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
54531 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
54532 instead of dbl-64.
54533 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
54534 inlines.
54535 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
54536 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
54537 if one of x and y is very large and the other is subnormal.
54538 * sysdeps/s390/fpu/s_fmaf.c: New file.
54539 * sysdeps/s390/fpu/s_fma.c: New file.
54540 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
54541 * sysdeps/powerpc/fpu/s_fma.S: New file.
54542 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
54543 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
54544 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
54545
545462010-10-12 Jakub Jelinek <jakub@redhat.com>
54547
54548 [BZ #3268]
54549 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
54550 fma tests.
54551 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
54552 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
54553 * sysdeps/i386/i686/multiarch/s_fma.c: Include
54554 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
54555 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
54556 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
54557 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
54558
b833d51f
UD
545592010-10-12 Ulrich Drepper <drepper@redhat.com>
54560
54561 [BZ #12078]
54562 * posix/regcomp.c (parse_branch): One more memory leak plugged.
54563 * posix/bug-regex31.input: Add test case.
54564
1751705d
UD
545652010-10-11 Ulrich Drepper <drepper@gmail.com>
54566
e9b9cbf5
UD
54567 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
54568 * posix/bug-regex31.input: New file.
54569
54570 [BZ #12078]
54571 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
54572 (parse_sub_exp): Fix last change, use postorder.
54573
ef06edbe
UD
54574 * posix/bug-regex31.c: New file.
54575 * posix/Makefile: Add rules to build and run bug-regex31.
54576
a129c80d
UD
54577 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
54578
54579 [BZ #12078]
54580 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
54581
b76b818e
UD
54582 [BZ #12108]
54583 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
54584 to have entries in sys_siglist.
54585
1751705d
UD
54586 [BZ #12093]
54587 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
54588 be NULL.
54589
9ff8d36f
JJ
545902010-10-07 Jakub Jelinek <jakub@redhat.com>
54591
54592 [BZ #3268]
54593 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
54594 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
54595 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
54596 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
54597 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
54598 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
54599 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
54600 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
54601 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
54602 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
54603 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
54604 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
54605 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
54606 * math/ftestexcept.c (fetestexcept): Likewise.
54607 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
54608 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
54609 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
54610 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
54611 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
54612 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
54613 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
54614
af325969
UD
546152010-10-11 Ulrich Drepper <drepper@gmail.com>
54616
c579b202 54617 [BZ #12107]
af325969
UD
54618 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
54619 newline.
54620
67a67b95
UD
546212010-10-06 Ulrich Drepper <drepper@gmail.com>
54622
54623 * string/bug-strstr1.c: New file.
54624 * string/Makefile: Add rules to build and run bug-strstr1.
54625
5fb308bc
EB
546262010-10-05 Eric Blake <eblake@redhat.com>
54627
54628 [BZ #12092]
54629 * string/str-two-way.h (two_way_long_needle): Always clear memory
54630 when skipping input due to the shift table.
54631
45db99c7
UD
546322010-10-03 Ulrich Drepper <drepper@gmail.com>
54633
3b111893
UD
54634 [BZ #12005]
54635 * malloc/mcheck.c: Handle large requests.
54636
45db99c7
UD
54637 [BZ #12077]
54638 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
54639 for strncmp and strncasecmp.
54640 * string/stratcliff.c: Add tests for strcmp and strncmp.
54641 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
54642
cf7a1eb8
NI
546432010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54644
54645 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
54646 __set_fpscr.
54647
6484ba5e
AJ
546482010-09-30 Andreas Jaeger <aj@suse.de>
54649
54650 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
54651 (CGROUP_SUPER_MAGIC): Define.
54652 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54653 Handle btrfs and cgroup file systems.
54654 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
54655 Likewise.
54656
91c42559
LM
546572010-09-27 Luis Machado <luisgpm@br.ibm.com>
54658
54659 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
54660 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
54661
87a97932
AK
546622010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54663
54664 [BZ #12067]
54665 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
54666 trying to locate the ELF header.
54667
c21cc9bc
AS
546682010-09-27 Andreas Schwab <schwab@redhat.com>
54669
54670 [BZ #11611]
54671 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
54672 Mask out sign-bit copies when constructing f_fsid.
54673
315970f6
PB
546742010-09-24 Petr Baudis <pasky@suse.cz>
54675
54676 * debug/stack_chk_fail_local.c: Add missing licence exception.
54677 * debug/warning-nop.c: Likewise.
54678
1ac7a2c7
JM
546792010-09-15 Joseph Myers <joseph@codesourcery.com>
54680
54681 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
54682 implementing getdents64 using getdents syscall, set d_type if
54683 __ASSUME_GETDENTS32_D_TYPE.
54684
56801c50
AS
546852010-09-16 Andreas Schwab <schwab@redhat.com>
54686
54687 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
54688 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
54689
dda51327
UD
546902010-09-21 Ulrich Drepper <drepper@redhat.com>
54691
54692 [BZ #12037]
54693 * posix/unistd.h: Undo change of feature selection for ftruncate from
54694 2010-01-11.
54695
8ffcee4a
UD
546962010-09-20 Ulrich Drepper <drepper@redhat.com>
54697
a545ecd9 54698 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
54699 detection.
54700
e24f0a8b
AS
547012010-09-20 Andreas Schwab <schwab@redhat.com>
54702
54703 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
54704 fanotify_mark.
54705 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
54706
7291c56f
AS
547072010-09-14 Andreas Schwab <schwab@redhat.com>
54708
54709 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
54710 variables after CHECK_SP call.
54711 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
54712
bc5fb037
AS
547132010-09-13 Andreas Schwab <schwab@redhat.com>
54714 Ulrich Drepper <drepper@redhat.com>
54715
54716 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
54717 re-relocationg ld.so.
54718 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
54719 _dl_init_paths call.
54720 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
54721 here anymore.
54722
e66e7419
UD
547232010-09-14 Ulrich Drepper <drepper@redhat.com>
54724
54725 * resolv/res_init.c (__res_vinit): Count the default server we added.
54726
c044aa75
CLT
547272010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
54728 Ulrich Drepper <drepper@redhat.com>
54729
54730 [BZ #11968]
54731 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
54732 (____longjmp_chk): Use %ebx for saving value across system call.
54733 Add unwind info.
54734
32cf4069
AS
547352010-09-06 Andreas Schwab <schwab@redhat.com>
54736
54737 * manual/Makefile: Don't mix pattern rules with normal rules.
54738
817328ee
AS
547392010-09-05 Andreas Schwab <schwab@linux-m68k.org>
54740
54741 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
54742 operation.
54743 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
54744 * libio/iofopncook.c (_IO_cookie_init): Likewise.
54745 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
54746 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
54747 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54748 Likewise.
54749
29fddf61
UD
547502010-09-04 Ulrich Drepper <drepper@redhat.com>
54751
54752 [BZ #11979]
54753 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
54754 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
54755
0959ffc9
UD
547562010-09-02 Ulrich Drepper <drepper@redhat.com>
54757
54758 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
54759 * sysdeps/x86_64/addmul_1.S: Likewise.
54760 * sysdeps/x86_64/lshift.S: Likewise.
54761 * sysdeps/x86_64/mul_1.S: Likewise.
54762 * sysdeps/x86_64/rshift.S: Likewise.
54763 * sysdeps/x86_64/sub_n.S: Likewise.
54764 * sysdeps/x86_64/submul_1.S: Likewise.
54765
ece29840
ST
547662010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
54767
0959ffc9
UD
54768 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
54769 Define __sched_param instead of SCHED_* and sched_param when
ece29840 54770 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 54771 * bits/sched.h [__need_schedparam]
ece29840 54772 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
54773 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
54774 (__defined_schedparam): Define to 1.
ece29840
ST
54775 (__sched_param): New structure, identical to sched_param.
54776 (__need_schedparam): Undefine.
54777
e53a31fe
MF
547782010-08-31 Mike Frysinger <vapier@gentoo.org>
54779
fdc0c10d
MF
54780 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
54781 (epoll_create1): Declare.
54782
e53a31fe
MF
54783 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
54784
a726d796
AS
547852010-08-31 Andreas Schwab <schwab@redhat.com>
54786
54787 [BZ #7066]
54788 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
54789 shifting retval into place.
54790
2f3e3dc7
UD
547912010-09-01 Ulrich Drepper <drepper@redhat.com>
54792
f2933da9
UD
54793 * nis/rpcsvc/nis.h: Update copyright notice.
54794 * nis/rpcsvc/nis.x: Likewise.
54795 * nis/rpcsvc/nis_callback.h: Likewise.
54796 * nis/rpcsvc/nis_callback.x: Likewise.
54797 * nis/rpcsvc/nis_object.x: Likewise.
54798 * nis/rpcsvc/nis_tags.h: Likewise.
54799 * nis/rpcsvc/yp.h: Likewise.
54800 * nis/rpcsvc/yp.x: Likewise.
54801 * nis/rpcsvc/ypupd.h: Likewise.
54802 * nis/yp_xdr.c: Likewise.
54803 * nis/ypupdate_xdr.c: Likewise.
54804
2f3e3dc7
UD
54805 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
54806 mainly the body of pmap_getport. Add parameters to specify timeouts.
54807 (pmap_getport): Use __libc_rpc_getport.
54808 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
54809 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
54810 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
54811
f3dcc2f9
AS
548122010-08-31 Andreas Schwab <schwab@linux-m68k.org>
54813
54814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
54815 fanotify_mark.
54816
6d34eb5b
RM
548172010-08-27 Roland McGrath <roland@redhat.com>
54818
54819 * sysdeps/i386/i686/multiarch/Makefile
54820 (CFLAGS-varshift.c): New variable.
54821
9ea3de11
UD
548222010-08-27 Ulrich Drepper <drepper@redhat.com>
54823
c96d23fc
UD
54824 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
54825 * sysdeps/i386/i686/multiarch/varshift.c: New file.
54826
9ea3de11
UD
54827 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
54828
54829 * sysdeps/x86_64/strlen.S: Minimal code improvement.
54830
623aac7f
L
548312010-08-26 H.J. Lu <hongjiu.lu@intel.com>
54832
54833 * sysdeps/x86_64/strlen.S: Unroll the loop.
54834 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54835 strlen-sse2 strlen-sse2-bsf.
54836 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
54837 __strlen_no_bsf if bit_Slow_BSF is set.
54838 (__strlen_sse42): Removed.
54839 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
54840 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
54841
8b2b7715
RM
548422010-08-25 Roland McGrath <roland@redhat.com>
54843
54844 * sysdeps/x86_64/multiarch/varshift.S: File removed.
54845 * sysdeps/x86_64/multiarch/varshift.c: New file.
54846 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
54847 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
54848 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
54849 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
54850
e73015f2
L
548512010-08-25 H.J. Lu <hongjiu.lu@intel.com>
54852
54853 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54854 strlen-sse2 strlen-sse2-bsf.
54855 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
54856 __strlen_sse2_bsf if bit_Slow_BSF is unset.
54857 (__strlen_sse2): Removed.
54858 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
54859 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
54860 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
54861 bit_Slow_BSF for Atom.
54862 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
54863 (index_Slow_BSF): Define.
54864 (HAS_SLOW_BSF): Define.
54865
df24a73e
UD
548662010-08-25 Ulrich Drepper <drepper@redhat.com>
54867
54868 [BZ #10851]
54869 * resolv/res_init.c (__res_vinit): When no server address at all
54870 is given default to loopback.
54871
f2ac4868
RM
548722010-08-24 Roland McGrath <roland@redhat.com>
54873
09055553
RM
54874 * configure.in: Remove config-name.h generation.
54875 * configure: Regenerated.
54876 * config-name.in: File removed.
54877 * scripts/config-uname.sh: New file.
54878 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
54879 ($(objdir)config-name.h): New target.
54880
f2ac4868
RM
54881 * sunrpc/rpc_parse.h: Avoid nested comment.
54882
73f27d5e
RH
548832010-08-24 Richard Henderson <rth@redhat.com>
54884 Ulrich Drepper <drepper@redhat.com>
54885 H.J. Lu <hongjiu.lu@intel.com>
54886
54887 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
54888 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
54889 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
54890 Replace _mm_srli_si128 with __m128i_shift_right. Replace
54891 _mm_alignr_epi8 with _mm_loadu_si128.
54892 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
54893 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
54894 (__m128i_shift_right): Removed.
54895 * sysdeps/i386/i686/multiarch/varshift.h: New file.
54896 * sysdeps/i386/i686/multiarch/varshift.S: New file.
54897 * sysdeps/x86_64/multiarch/varshift.h: New file.
54898 * sysdeps/x86_64/multiarch/varshift.S: New file.
54899
84b9230c
MF
549002010-08-21 Mike Frysinger <vapier@gentoo.org>
54901
54902 * configure.in: Move assembler checks to before sysdep dir checking.
54903
9bbd0ddc
PB
549042010-08-20 Petr Baudis <pasky@suse.cz>
54905
54906 * LICENSES: Sync the sunrpc license.
54907
9da4bb31
UD
549082010-08-19 Ulrich Drepper <drepper@redhat.com>
54909
a7ab6ec8
UD
54910 * sunrpc/auth_des.c: Update copyright notice once again.
54911 * sunrpc/auth_none.c: Likewise.
54912 * sunrpc/auth_unix.c: Likewise.
54913 * sunrpc/authdes_prot.c: Likewise.
54914 * sunrpc/authuxprot.c: Likewise.
54915 * sunrpc/bindrsvprt.c: Likewise.
54916 * sunrpc/clnt_gen.c: Likewise.
54917 * sunrpc/clnt_perr.c: Likewise.
54918 * sunrpc/clnt_raw.c: Likewise.
54919 * sunrpc/clnt_simp.c: Likewise.
54920 * sunrpc/clnt_tcp.c: Likewise.
54921 * sunrpc/clnt_udp.c: Likewise.
54922 * sunrpc/clnt_unix.c: Likewise.
54923 * sunrpc/des_crypt.c: Likewise.
54924 * sunrpc/des_soft.c: Likewise.
54925 * sunrpc/get_myaddr.c: Likewise.
54926 * sunrpc/getrpcport.c: Likewise.
54927 * sunrpc/key_call.c: Likewise.
54928 * sunrpc/key_prot.c: Likewise.
54929 * sunrpc/openchild.c: Likewise.
54930 * sunrpc/pm_getmaps.c: Likewise.
54931 * sunrpc/pm_getport.c: Likewise.
54932 * sunrpc/pmap_clnt.c: Likewise.
54933 * sunrpc/pmap_prot.c: Likewise.
54934 * sunrpc/pmap_prot2.c: Likewise.
54935 * sunrpc/pmap_rmt.c: Likewise.
54936 * sunrpc/rpc/auth.h: Likewise.
54937 * sunrpc/rpc/auth_unix.h: Likewise.
54938 * sunrpc/rpc/clnt.h: Likewise.
54939 * sunrpc/rpc/des_crypt.h: Likewise.
54940 * sunrpc/rpc/key_prot.h: Likewise.
54941 * sunrpc/rpc/netdb.h: Likewise.
54942 * sunrpc/rpc/pmap_clnt.h: Likewise.
54943 * sunrpc/rpc/pmap_prot.h: Likewise.
54944 * sunrpc/rpc/pmap_rmt.h: Likewise.
54945 * sunrpc/rpc/rpc.h: Likewise.
54946 * sunrpc/rpc/rpc_des.h: Likewise.
54947 * sunrpc/rpc/rpc_msg.h: Likewise.
54948 * sunrpc/rpc/svc.h: Likewise.
54949 * sunrpc/rpc/svc_auth.h: Likewise.
54950 * sunrpc/rpc/types.h: Likewise.
54951 * sunrpc/rpc/xdr.h: Likewise.
54952 * sunrpc/rpc_clntout.c: Likewise.
54953 * sunrpc/rpc_cmsg.c: Likewise.
54954 * sunrpc/rpc_common.c: Likewise.
54955 * sunrpc/rpc_cout.c: Likewise.
54956 * sunrpc/rpc_dtable.c: Likewise.
54957 * sunrpc/rpc_hout.c: Likewise.
54958 * sunrpc/rpc_main.c: Likewise.
54959 * sunrpc/rpc_parse.c: Likewise.
54960 * sunrpc/rpc_parse.h: Likewise.
54961 * sunrpc/rpc_prot.c: Likewise.
54962 * sunrpc/rpc_sample.c: Likewise.
54963 * sunrpc/rpc_scan.c: Likewise.
54964 * sunrpc/rpc_scan.h: Likewise.
54965 * sunrpc/rpc_svcout.c: Likewise.
54966 * sunrpc/rpc_tblout.c: Likewise.
54967 * sunrpc/rpc_util.c: Likewise.
54968 * sunrpc/rpc_util.h: Likewise.
54969 * sunrpc/rpcinfo.c: Likewise.
54970 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
54971 * sunrpc/rpcsvc/key_prot.x: Likewise.
54972 * sunrpc/rpcsvc/klm_prot.x: Likewise.
54973 * sunrpc/rpcsvc/mount.x: Likewise.
54974 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
54975 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
54976 * sunrpc/rpcsvc/rex.x: Likewise.
54977 * sunrpc/rpcsvc/rstat.x: Likewise.
54978 * sunrpc/rpcsvc/rusers.x: Likewise.
54979 * sunrpc/rpcsvc/sm_inter.x: Likewise.
54980 * sunrpc/rpcsvc/spray.x: Likewise.
54981 * sunrpc/rpcsvc/yppasswd.x: Likewise.
54982 * sunrpc/rtime.c: Likewise.
54983 * sunrpc/svc.c: Likewise.
54984 * sunrpc/svc_auth.c: Likewise.
54985 * sunrpc/svc_authux.c: Likewise.
54986 * sunrpc/svc_raw.c: Likewise.
54987 * sunrpc/svc_run.c: Likewise.
54988 * sunrpc/svc_simple.c: Likewise.
54989 * sunrpc/svc_tcp.c: Likewise.
54990 * sunrpc/svc_udp.c: Likewise.
54991 * sunrpc/svc_unix.c: Likewise.
54992 * sunrpc/svcauth_des.c: Likewise.
54993 * sunrpc/xcrypt.c: Likewise.
54994 * sunrpc/xdr.c: Likewise.
54995 * sunrpc/xdr_array.c: Likewise.
54996 * sunrpc/xdr_float.c: Likewise.
54997 * sunrpc/xdr_mem.c: Likewise.
54998 * sunrpc/xdr_rec.c: Likewise.
54999 * sunrpc/xdr_ref.c: Likewise.
55000 * sunrpc/xdr_sizeof.c: Likewise.
55001 * sunrpc/xdr_stdio.c: Likewise.
55002
9da4bb31
UD
55003 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
55004 handling.
55005
bdaa77bc
AS
550062010-08-19 Andreas Schwab <schwab@redhat.com>
55007
55008 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
55009
fe2f79db
LM
550102010-08-19 Luis Machado <luisgpm@br.ibm.com>
55011
55012 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
55013 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
55014 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
55015 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
55016 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
55017 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
55018 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
55019 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
55020 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
55021 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
55022 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
55023 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
55024 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
55025 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
55026
b9b42ee0
AB
550272010-07-26 Anton Blanchard <anton@samba.org>
55028
55029 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
55030 * malloc/arena.c (heap_trim): Likewise.
55031
1c06ba31
UD
550322010-08-16 Ulrich Drepper <drepper@redhat.com>
55033
55034 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
55035 here. Not...
55036 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
55037 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
55038
f8392f40
L
550392010-08-12 H.J. Lu <hongjiu.lu@intel.com>
55040
55041 * sysdeps/i386/elf/Makefile: New file.
55042
3162f12e
AS
550432010-08-14 Andreas Schwab <schwab@linux-m68k.org>
55044
55045 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
55046 from fanotify_init.
55047 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
55048 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
55049
28c90b2c
UD
550502010-08-15 Ulrich Drepper <drepper@redhat.com>
55051
55052 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
55053 of strncasecmp_l.
1feccb6c 55054 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 55055
ca6bb004
UD
550562010-08-14 Ulrich Drepper <drepper@redhat.com>
55057
e9f82e0d
UD
55058 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
55059 strncase_l-nonascii.
55060 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
55061 Add strncase_l-ssse3.
55062 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
55063 * sysdeps/x86_64/strcmp.S: Likewise.
55064 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
55065 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
55066 * sysdeps/x86_64/strncase.S: New file.
55067 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
55068 * sysdeps/x86_64/strncase_l.S: New file.
55069 * string/Makefile (strop-tests): Add strncasecmp.
55070 * string/test-strncasecmp.c: New file.
55071
55072 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
55073 warning.
55074
ca6bb004
UD
55075 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
55076 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
55077
052fa7b3
AS
550782010-08-14 Andreas Schwab <schwab@linux-m68k.org>
55079
55080 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
55081
962dba78
UD
550822010-08-12 Ulrich Drepper <drepper@redhat.com>
55083
55084 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
55085 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
55086 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
55087
bebff237
AM
550882010-05-01 Alan Modra <amodra@gmail.com>
55089
55090 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
55091 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
55092 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
55093 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
55094 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
55095 tidying. Don't tail-call __sigjmp_save for static lib.
55096 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
55097 save location.
55098 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
55099 (CALL_MCOUNT): Add eh info, and nop after bl.
55100 (TAIL_CALL_SYSCALL_ERROR): New macro.
55101 (PSEUDO_RET): Use it.
55102 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
55103 Correct save location of integer regs and cr.
55104 (_dl_profile_resolve): Correct cr save location. Delete nops
55105 after bl when SHARED. Reduce cfi size a little by better
55106 placement of cfi directives.
55107 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
55108 make a stack frame. Instead use parm save area as a temp.
55109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
55110 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
55111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
55112 Don't make a stack frame for parent, use parm save area.
55113 Increase child stack frame to 112 bytes. Don't save unused reg,
55114 and adjust reg usage. Set up cfi on error recovery and
55115 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
55116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
55117 (__makecontext): Add dummy nop after jump to exit.
55118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
55119 Use correct parm save area and cr save, reduce stack frame.
55120 Correct cfi for possible PSEUDO_RET frame setup.
55121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
55122 Branch to local label emitted by PSEUDO_RET rather than
55123 __syscall_error.
55124
02637374
AS
551252010-08-12 Andreas Schwab <schwab@redhat.com>
55126
55127 [BZ #11904]
55128 * locale/programs/locale.c (print_assignment): New function.
55129 (show_locale_vars): Use it.
55130
c3e2f19b
UD
551312010-08-11 Ulrich Drepper <drepper@redhat.com>
55132
3cdaa6ad
UD
55133 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
55134 field.
55135 (struct statfs64): Likewise.
55136 (_STATFS_F_FLAGS): Define.
55137 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
55138 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55139 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
55140 (ST_VALID): Define locally.
55141 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
55142 __statvfs_getflags, use the provided value.
55143 * sysdeps/unix/sysv/linux/kernel-features.h: Define
55144 __ASSUME_STATFS_F_FLAGS.
55145
754f7da3
UD
55146 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
55147
10b3bedc
UD
55148 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
55149 Add sys/fanotify.h.
55150 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
55151 fanotify_mask for GLIBC_2.13.
55152 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
55153 fanotify_init and fanotify_mark.
55154 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
55155 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
55156
c08fb0d7
UD
55157 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
55158 Add prlimit.
55159 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
55160 prlimit64 for GLIBC_2.13.
55161 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
55162 prlimit64.
55163 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
55164 syscall.
55165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
55166 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55167 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
55168 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
55169 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
55170 add prlimit alias.
55171 * sysdeps/unix/sysv/linux/prlimit.c: New file.
55172
15bac72b
UD
55173 [BZ #11903]
55174 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
55175 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
55176
c3e2f19b
UD
55177 * nss/Makefile: Add rules to build and run tst-nss-test1.
55178 * shlib-versions: Add entry for libnss_test1.
55179 * nss/nss_test1.c: New file.
55180 * nss/tst-nss-test1.c: New file.
55181
55182 * nss/nsswitch.c (__nss_database_custom): Define new variable.
55183 (__nss_configure_lookup): Set appropriate entry in
55184 __nss_configure_lookup to true.
55185 * nss/nsswitch.h: Define enum with indeces of databases in
55186 databases and __nss_database_custom arrays. Declare
55187 __nss_database_custom.
55188 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
55189 to avoid using nscd when custom rules are installed.
55190 * nss/getXXbyYY_r.c: Likewise.
55191 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
55192
55193 * nss/nss_files/files-parse.c: Whitespace fixes.
55194
f15ce4d8
UD
551952010-08-09 Ulrich Drepper <drepper@redhat.com>
55196
55197 [BZ #11883]
55198 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
55199 * posix/fnmatch_loop.c: Likewise.
55200
d22e4cc9
AK
552012010-07-17 Andi Kleen <ak@linux.intel.com>
55202
55203 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
55204 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
55205 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
55206 * Versions.def [GLIBC_2.13]: Add.
55207
805bc17d
UD
552082010-08-06 Ulrich Drepper <drepper@redhat.com>
55209
55210 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55211 Also fail if tpwd after pwuid call is NULL.
55212
5a42321d
ST
552132010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
55214
55215 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
55216 when converting to ms.
55217
fd3ebeda
ST
552182010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
55219
55220 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
55221 EOPNOTSUPP errors with ENOTTY.
55222 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
55223 EOPNOTSUPP errors with ENOTTY.
55224
73507d3a
UD
552252010-07-31 Ulrich Drepper <drepper@redhat.com>
55226
55227 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
55228 Add strcasecmp_l-ssse3.
55229 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
55230 strcasecmp.
55231 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
55232 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
55233 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
55234
fe36dd02
UD
552352010-07-30 Ulrich Drepper <drepper@redhat.com>
55236
66f6765a
UD
55237 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
55238
42e08a54
UD
55239 * string/Makefile (strop-tests): Add strcasecmp.
55240 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
55241 strcasecmp_l-nonascii.
55242 (gen-as-const-headers): Add locale-defines.sym.
55243 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
55244 * sysdeps/x86_64/strcasecmp.S: New file.
55245 * sysdeps/x86_64/strcasecmp_l.S: New file.
55246 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
55247 * sysdeps/x86_64/locale-defines.sym: New file.
55248 * string/test-strcasecmp.c: New file.
55249
fe36dd02
UD
55250 * string/test-strcasestr.c: Test both ends of the range of characters.
55251 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
55252
48cbc0d6
RM
552532010-07-29 Roland McGrath <roland@redhat.com>
55254
76e6d6bc 55255 [BZ #11856]
48cbc0d6
RM
55256 * manual/locale.texi (Yes-or-No Questions): Fix example code.
55257
880113d9
UD
552582010-07-27 Ulrich Drepper <drepper@redhat.com>
55259
55260 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
55261 for ld.so.
55262
deb9cabb
AS
552632010-07-27 Andreas Schwab <schwab@redhat.com>
55264
55265 * manual/memory.texi (Malloc Tunable Parameters): Document
55266 M_PERTURB.
55267
1c7570ff
RM
552682010-07-26 Roland McGrath <roland@redhat.com>
55269
55270 [BZ #11840]
55271 * configure.in (-fgnu89-inline check): Set and substitute
55272 gnu89_inline, not libc_cv_gnu89_inline.
55273 * configure: Regenerated.
55274 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
55275
24fb0f88
UD
552762010-07-26 Ulrich Drepper <drepper@redhat.com>
55277
55278 * string/test-strnlen.c: New file.
55279 * string/Makefile (strop-tests): Add strnlen.
55280 * string/tester.c (test_strnlen): Add a few more test cases.
55281 * string/tst-strlen.c: Better error reporting.
55282
55283 * sysdeps/x86_64/strnlen.S: New file.
55284
8e96b93a
UD
552852010-07-24 Ulrich Drepper <drepper@redhat.com>
55286
55287 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
55288 lower-latency instructions.
55289
dbc676d4
UD
552902010-07-23 Ulrich Drepper <drepper@redhat.com>
55291
55292 * string/test-strcasestr.c: New file.
55293 * string/test-strstr.c: New file.
55294 * string/Makefile (strop-tests): Add strstr and strcasestr.
55295 * string/str-two-way.h: Don't undefine MAX.
55296 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
55297
f6a31e0e
AS
552982010-07-21 Andreas Schwab <schwab@redhat.com>
55299
55300 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55301 strcasestr-nonascii.
55302 (CFLAGS-strcasestr-nonascii.c): Define.
55303 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
55304 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
55305 Remove unused attribute.
55306
5dbc3b6c
RM
553072010-07-20 Roland McGrath <roland@redhat.com>
55308
55309 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
55310 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
55311 ld.so.cache was broken. With it, there is no way to disable dsocaps
55312 like LD_HWCAP_MASK can disable hwcaps.
55313
23d101d8
EPM
553142010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
55315
55316 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
55317
cc9f2e47
UD
553182010-07-16 Ulrich Drepper <drepper@redhat.com>
55319
55320 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
55321 call in strcasestr.
55322 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
55323 __strcasestr_sse42_nonascii.
55324 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
55325 strcasestr-nonascii.c.
55326 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
55327
77c1b069
LM
553282010-06-15 Luis Machado <luisgpm@br.ibm.com>
55329
55330 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
55331 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
55332 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
55333 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
55334
440566c3
UD
553352010-07-09 Ulrich Drepper <drepper@redhat.com>
55336
55337 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
55338 fcntl.
55339
5be9d05d
AS
553402010-07-06 Andreas Schwab <schwab@redhat.com>
55341
c30b7ee2 55342 [BZ #11577]
5be9d05d
AS
55343 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
55344 dl_signal_cerror.
55345
8a492a67
UD
553462010-07-06 Ulrich Drepper <drepper@redhat.com>
55347
55348 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
55349 _PC_PIPE_BUF using F_GETPIPE_SZ.
55350
713df3d5
RM
553512010-07-05 Roland McGrath <roland@redhat.com>
55352
55353 * manual/arith.texi (Rounding Functions): Fix rint description
55354 implicit in round description.
55355
702e8f14
UD
553562010-07-02 Ulrich Drepper <drepper@redhat.com>
55357
55358 * elf/Makefile: Fix linking for a few tests to make recent linker
55359 happy.
55360
52ed8be9
AS
553612010-06-30 Andreas Schwab <schwab@redhat.com>
55362
55363 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
55364 $(common-objpfx)libc_nonshared.a.
55365
f47c9a11
LM
553662010-06-21 Luis Machado <luisgpm@br.ibm.com>
55367
55368 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
55369 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
55370 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55371 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55372 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
55373 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
55374 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55375 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
55376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
55377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
55378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
55379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
55381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
55383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
55384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
55385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
55386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
55388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
55389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
55390 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
55391 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
55392 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
55393 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
55394 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
55395 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
55396 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
55397 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
55398 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
55399 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
55400 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
55401 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
55402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
55403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
55404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
55405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
55406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
55407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
55408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
55409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
55410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
55411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
55412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
55413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
55414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
55415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
55416
6fb8cbcb
L
554172010-06-25 H.J. Lu <hongjiu.lu@intel.com>
55418
55419 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
55420 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
55421 * string/memmove.c (memmove): Renamed to ...
55422 (MEMMOVE): ...this. Default to memmove.
55423 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
55424 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
55425 (END_CHK): Define.
55426 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55427 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
55428 mempcpy-ssse3-back memmove-ssse3-back.
55429 * sysdeps/x86_64/multiarch/bcopy.S: New file .
55430 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
55431 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
55432 * sysdeps/x86_64/multiarch/memcpy.S: New file.
55433 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
55434 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
55435 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
55436 * sysdeps/x86_64/multiarch/memmove.c: New file.
55437 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
55438 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
55439 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
55440 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
55441 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
55442 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
55443 Define.
55444 (index_Fast_Copy_Backward): Define.
55445 (HAS_ARCH_FEATURE): Define.
55446 (HAS_FAST_REP_STRING): Define.
55447 (HAS_FAST_COPY_BACKWARD): Define.
55448
4e733bac 554492010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
55450
55451 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55452 Restore proper fallback handling.
55453
63c4ed22
UD
554542010-06-19 Ulrich Drepper <drepper@redhat.com>
55455
ac2b484c
UD
55456 [BZ #11701]
55457 * posix/group_member.c (__group_member): Correct checking loop.
55458
63c4ed22
UD
55459 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
55460 OOM in getpwuid_r correctly. Return error number when the caller
55461 should return, otherwise -1.
55462 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
55463 call returning > 0 value.
55464 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
55465
765ade4b
AS
554662010-06-07 Andreas Schwab <schwab@redhat.com>
55467
55468 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
55469 libc_nonshared.a from targets in modules-names.
55470
80da2e09
KS
554712010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
55472
55473 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
55474 requires it.
55475
158db122
LM
554762010-06-10 Luis Machado <luisgpm@br.ibm.com>
55477
55478 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
55479 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
55480 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
55481 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
55482
caa78cf8
AS
554832010-06-02 Andreas Schwab <schwab@redhat.com>
55484
55485 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
55486
b2ef2c01
UD
554872010-06-14 Ulrich Drepper <drepper@redhat.com>
55488
55489 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
55490 and F_GETPIPE_SZ.
55491 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
55492 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55493 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55494 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55495 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55496 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
55497
fbd643b6
RM
554982010-06-14 Roland McGrath <roland@redhat.com>
55499
55500 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
55501
f32f2869
JJ
555022010-06-07 Jakub Jelinek <jakub@redhat.com>
55503
55504 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
55505 __REDIRECT followed by __THROW.
55506 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
55507 * posix/getopt.h (getopt): Likewise.
55508
2a50c078
EPM
555092010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
55510
55511 * hurd/lookup-at.c (__file_name_lookup_at): Accept
55512 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
55513 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
55514 in AT_FLAGS.
55515 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
55516 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
55517
eb5ad2eb
LM
555182010-05-28 Luis Machado <luisgpm@br.ibm.com>
55519
55520 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
55521
3c88fe1e
L
555222010-05-26 H.J. Lu <hongjiu.lu@intel.com>
55523
55524 [BZ #11640]
55525 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55526 Properly check family and model.
55527
d2f73151
TY
555282010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
55529
55530 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
55531
ebd2e13d
LM
555322010-05-24 Luis Machado <luisgpm@br.ibm.com>
55533
55534 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
55535
b32b8b45
UD
555362010-05-21 Ulrich Drepper <drepper@redhat.com>
55537
55538 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
55539 symbol reference.
55540
9acbe24d
AS
555412010-05-19 Andreas Schwab <schwab@redhat.com>
55542
55543 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
55544 symbol reference.
55545
f0ccf6ea
AS
555462010-05-21 Andreas Schwab <schwab@redhat.com>
55547
3d04ff3a
AS
55548 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
55549 and internal_recvmmsg.
55550 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
55551 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
55552 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
55553 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
55554
f0ccf6ea
AS
55555 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
55556 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
55557 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
55558
5b08ac57
AS
555592010-05-20 Andreas Schwab <schwab@redhat.com>
55560
55561 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
55562
4828935d
LM
555632010-05-17 Luis Machado <luisgpm@br.ibm.com>
55564
55565 POWER7 optimizations.
55566 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
55567 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
55568
373d545e
UD
555692010-05-19 Ulrich Drepper <drepper@redhat.com>
55570
55571 * version.h: Update for 2.13 development version.
55572
21a2b1ae
AS
555732010-05-12 Andrew Stubbs <ams@codesourcery.com>
55574
55575 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
55576 exceptions. Return 0.
55577
3f7dcb2b
RM
555782010-05-07 Roland McGrath <roland@redhat.com>
55579
55580 * elf/ldconfig.c (main): Add a const.
55581
5f24d53a 555822010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 55583
a160f8d8
UD
55584 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
55585 (args_options): Add no-idn option.
55586 (ahosts_keys_int): Add idn_flags to ai_flags.
55587 (parse_option): Handle 'i' option to clear idn_flags.
55588
5f24d53a
UD
55589 * malloc/malloc.c (_int_free): Possible race in the most recently
55590 added check. Only act on the data if no current modification
55591 happened.
265bb1ce
UD
55592
55593See ChangeLog.17 for earlier changes.